/* ============================================================
   CAWFA – Register WHY Section Styles
   File: assets/css/register-whycawfa.css
   Namespace: regwhy-*
============================================================ */

/* Dış kap: ARKAPLAN YOK – sayfanın kendi arka planını kullanır */
.regwhy-wrap {
  background: transparent;
  border-radius: 0;
  border: none;
  box-shadow: none;
  padding: 20px 0;
  margin-bottom: 24px;
  color: #ffffff;
}

.regwhy-inner {
  max-width: 1120px;
  margin: 0 auto;
}

/* Layout */
.regwhy-layout {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 24px;
  align-items: flex-start;
}

/* Left block */
.regwhy-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.regwhy-kicker {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 2px;
}

.regwhy-title {
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.regwhy-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1.4em;
  border-radius: 999px;
  margin-right: .4rem;
  background: linear-gradient(180deg, #d90404 0%, #730707 100%);
}

.regwhy-createdby {
  margin: 4px 0 0;
  font-size: .95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .90);
}

/* İsim rengi – kurumsal kırmızı, danger değil */
.regwhy-author-link {
  color: #ff4545;
  font-weight: 700;
  text-decoration: none;
}

.regwhy-author-link:hover {
  text-decoration: underline;
}

/* Body copy */
.regwhy-copy {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.regwhy-copy p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .85);
}

/* Highlight strip – kırmızı yuvarlak YOK */
.regwhy-highlight {
  margin-top: 10px;
  background: linear-gradient(90deg, rgba(217, 4, 4, .12), rgba(115, 7, 7, .08));
  border-radius: 10px;
  border: 1px solid rgba(217, 4, 4, .4);
  padding: 10px 12px;
}

.regwhy-highlight-text {
  font-size: .9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .9);
}

/* Eskiden kullanılan ikon için güvenli kapatma (artık HTML’de yok ama olursa görünmesin) */
.regwhy-highlight-icon {
  display: none;
}

/* CTA – kurumsal kırmızı */
.regwhy-cta {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

/* .btn / .btn-danger gelse bile override etsin diye !important kullandım */
.regwhy-btn,
.regwhy-btn.btn,
.btn.regwhy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #d90404 0%, #730707 100%) !important;
  border: 1px solid #730707 !important;
  color: #ffffff !important;
  box-shadow: 0 0 18px rgba(0, 0, 0, .6);
  transition: transform .15s ease-out,
              box-shadow .15s ease-out,
              background .15s ease-out;
}

.regwhy-btn:hover,
.regwhy-btn.btn:hover,
.btn.regwhy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(0, 0, 0, .9);
  background: linear-gradient(135deg, #ff2525 0%, #910707 100%) !important;
}

.regwhy-btn:active,
.regwhy-btn.btn:active,
.btn.regwhy-btn:active {
  transform: translateY(0);
  box-shadow: 0 0 12px rgba(0, 0, 0, .7);
}

.regwhy-note {
  margin: 0;
  font-size: .8rem;
  color: rgba(255, 255, 255, .65);
}

/* Right side – badges (interaktif kartlar) */
.regwhy-side {
  border-left: 1px solid rgba(255, 255, 255, .06);
  padding-left: 18px;
}

.regwhy-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.regwhy-badge {
  display: flex;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 12px;
  background: radial-gradient(circle at 0 0, rgba(255, 255, 255, .06), transparent 45%);
  border: 1px solid rgba(255, 255, 255, .10);
  cursor: pointer;
  transition: transform .12s ease-out,
              box-shadow .12s ease-out,
              border-color .12s ease-out,
              background .12s ease-out;
}

.regwhy-badge:hover,
.regwhy-badge:focus-visible {
  transform: translateY(-1px);
  background: radial-gradient(circle at 0 0, rgba(217, 4, 4, .20), transparent 55%);
  border-color: rgba(217, 4, 4, .6);
  box-shadow: 0 0 18px rgba(0, 0, 0, .7);
  outline: none;
}

.regwhy-badge-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #232323, #101010);
}

.regwhy-badge-icon i {
  font-size: .88rem;
  color: #d90404;
}

.regwhy-badge-text h3 {
  margin: 0 0 2px;
  font-size: .88rem;
  font-weight: 600;
  color: #ffffff;
}

.regwhy-badge-text p {
  margin: 0;
  font-size: .8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .75);
}

/* Fade-in on scroll */
.regwhy-wrap {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s ease-out, transform .35s ease-out;
}

.regwhy-wrap.regwhy-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 991.98px) {
  .regwhy-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .regwhy-side {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding-left: 0;
    padding-top: 14px;
  }
}

@media (max-width: 575.98px) {
  .regwhy-wrap {
    padding: 16px 0;
  }

  .regwhy-title {
    font-size: 1.25rem;
  }

  .regwhy-btn,
  .regwhy-btn.btn,
  .btn.regwhy-btn {
    width: 100%;
  }
}
