/* /sel sayfası — Duygusal Öğrenme teması (koyu mor)
   base.css bileşenlerinin okuduğu tema değişkenleri burada. */

:root {
  --accent: #9b59f5;
  --accent-soft: rgba(155,89,245,0.22);
  --sel-gold: #f4b942;
  --text: #e8deff;
  --muted: rgba(232,222,255,0.62);
  --card-bg: rgba(255,255,255,0.04);
  --card-border: rgba(155,89,245,0.22);
  --danger: #f87171;
  --header-bg: rgba(26,10,46,0.9);
  --sel-coral: hsl(350 80% 55%);
  --font-display: 'Quicksand', 'Nunito', sans-serif;
  --slider-track: linear-gradient(90deg, #9b59f5, #f4b942);

  --radius: 12px;
  --radius-lg: 20px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #1a0a2e;
  color: var(--text);
  min-height: 100vh;
}

/* içeriği doodle katmanının üstünde tut */
.product-header, .hero-v2, .why-section, .form-wrapper, .page-footer { position: relative; z-index: 1; }

/* ════════ DOODLE ARKA PLAN (çizgi desenler) ════════ */
.doodle-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-repeat: repeat;
  background-size: 900px 600px;
  opacity: 0.9;
}

/* ════════ HERO v2 ════════ */
.hero-v2 { max-width: 1120px; margin: 0 auto; padding: 44px 24px 24px; overflow: hidden; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.hero-glow i {
  position: absolute; border-radius: 50%; display: block; filter: blur(90px);
}
.hero-glow .g1 { top: 0; left: 5%; width: 320px; height: 320px; background: rgba(210,150,255,0.22); }
.hero-glow .g2 { bottom: 0; right: 6%; width: 360px; height: 360px; background: rgba(255,180,150,0.16); }
.hero-glow .g3 { top: 50%; left: 50%; transform: translate(-50%,-50%); width: 520px; height: 520px; background: rgba(120,160,255,0.10); }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }

.hero-left { text-align: center; }
@media (min-width: 1000px) { .hero-left { text-align: left; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: hsl(350 80% 55% / 0.16);
  border: 1px solid hsl(350 80% 55% / 0.35);
  color: #f7d6e0;
  padding: 8px 18px; border-radius: 999px;
  font-weight: 700; font-size: 14px; margin-bottom: 22px;
}

.hero-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5.2vw, 3rem);
  line-height: 1.14;
  margin-bottom: 22px;
  display: flex; flex-direction: column; gap: 4px;
}
.hero-h1 .type-line { min-height: 1.25em; }
.hero-h1 .type-word { color: hsl(350 80% 64%); }
.hero-h1 .type-caret { color: hsl(350 80% 64%); font-weight: 400; animation: sel-blink 1.1s step-end infinite; }
@keyframes sel-blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-desc { font-size: 16px; color: rgba(232,222,255,0.85); max-width: 520px; margin: 0 auto 26px; line-height: 1.6; }
@media (min-width: 1000px) { .hero-desc { margin-left: 0; } }

.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: hsl(350 80% 52%); color: #fff; border: none;
  border-radius: 16px; padding: 15px 32px; font-size: 16px; font-weight: 700;
  cursor: pointer; text-decoration: none;
  box-shadow: 0 8px 22px hsl(350 80% 40% / 0.42);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.hero-cta:hover { transform: translateY(-2px); background: hsl(350 80% 46%); box-shadow: 0 12px 28px hsl(350 80% 40% / 0.5); }

.hero-trust { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
@media (min-width: 1000px) { .hero-trust { justify-content: flex-start; } }
.hero-trust .chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px; padding: 7px 14px; font-size: 13px;
}
.hero-trust .chk { color: hsl(350 80% 64%); font-weight: 800; }

.hero-right { position: relative; display: none; }
@media (min-width: 1000px) { .hero-right { display: block; } }
.hero-img-frame {
  position: relative; border-radius: 24px; overflow: hidden;
  border: 4px solid rgba(255,255,255,0.5);
  box-shadow: 0 24px 60px rgba(0,0,0,0.42);
}
.hero-img-frame img { width: 100%; height: auto; display: block; }
.hero-float-card {
  position: absolute; bottom: -22px; left: -22px;
  background: #fff; color: #2a1245; border-radius: 18px; padding: 14px 16px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.32);
  display: flex; align-items: center; gap: 12px;
  border: 2px solid hsl(350 80% 55% / 0.15);
}
.hero-float-card .hf-emoji {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, hsl(350 80% 55% / 0.2), rgba(155,89,245,0.2));
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.hero-float-card .hf-title { font-weight: 700; font-size: 15px; }
.hero-float-card .hf-sub { font-size: 13px; opacity: 0.82; }

/* ════════ WHY THIS MATTERS ════════ */
.why-section { max-width: 960px; margin: 0 auto; padding: 30px 24px 10px; text-align: center; }
.why-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 4vw, 2.1rem); margin-bottom: 10px; }
.why-subtitle { color: hsl(350 80% 64%); font-weight: 700; font-size: clamp(1.05rem, 2.4vw, 1.35rem); margin-bottom: 18px; }
.why-desc { color: var(--muted); max-width: 620px; margin: 0 auto 34px; line-height: 1.65; font-size: 16px; }
.why-cards { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 820px; margin: 0 auto; }
@media (min-width: 640px) { .why-cards { grid-template-columns: repeat(3, 1fr); } }
.why-card {
  background: #fff; color: #2a1245; border-radius: 20px; padding: 26px 20px; text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.why-card .wc-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: hsl(350 80% 55% / 0.12);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.why-card .wc-icon svg { width: 28px; height: 28px; stroke: hsl(350 80% 52%); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.why-card .wc-title { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.3; }

@media (prefers-reduced-motion: reduce) {
  .hero-h1 .type-caret { animation: none; }
}

/* ════════ STICKY HEADER ════════ */
.product-header .brand {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 21px;
  color: #fff;            /* "Gentle" — koyu başlıkta beyaz */
  text-decoration: none;
}
.product-header .brand b { color: #D95F01; font-weight: 600; }  /* "Stories" — logo turuncusu */
.product-header-inner { justify-content: space-between; }

.lang-switcher { display: flex; gap: 6px; }
.lang-btn {
  background: rgba(155,89,245,0.15);
  border: 1px solid rgba(155,89,245,0.3);
  color: var(--muted);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
}
.lang-btn.active, .lang-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ════════ HERO ════════ */
.product-hero {
  text-align: center;
  padding: 54px 24px 30px;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(155,89,245,0.18) 0%, transparent 70%);
}
.product-hero .emoji { font-size: 52px; display: block; margin-bottom: 12px; }
.product-hero h1 {
  font-family: 'Abril Fatface', Georgia, serif;
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 14px;
  font-weight: 400;
}
.product-hero h1 span { color: var(--sel-gold); }
.product-hero p {
  color: var(--muted);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto 18px;
  line-height: 1.6;
}
.product-hero .price-badge {
  display: inline-block;
  background: rgba(244,185,66,0.12);
  border: 1px solid rgba(244,185,66,0.3);
  color: var(--sel-gold);
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 500;
}

/* ════════ FORM ════════ */
.form-wrapper { max-width: 720px; margin: 0 auto; padding-bottom: 40px; }

#form-error {
  max-width: 620px;
  margin: 0 auto 8px;
  background: rgba(248,113,113,0.1);
  border-color: rgba(248,113,113,0.3);
  color: #f87171;
}

/* light-on-dark input override */
.form-group input[type=text],
.form-group input[type=email] {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(155,89,245,0.3);
  color: var(--text);
  text-align: center;
  font-size: 16px;
}
.form-group input::placeholder { color: rgba(232,222,255,0.4); }
.form-group input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-group label { color: var(--muted); opacity: 1; }
.field-narrow { max-width: 420px; margin: 0 auto; }

/* ════════ TOPIC GRID (5 dönen ton) ════════ */
#topic-grid {
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
}
@media (max-width: 560px) {
  #topic-grid { grid-template-columns: repeat(2, 1fr); }
}
.topic-card {
  min-height: 64px;
  display: flex;
  align-items: center;
  text-align: left;
}
.topic-card .oc-title { font-size: 13px; line-height: 1.3; }

.topic-card.tone-1 { background: rgba(56,217,169,0.09); }
.topic-card.tone-2 { background: rgba(77,171,247,0.09); }
.topic-card.tone-3 { background: rgba(244,185,66,0.10); }
.topic-card.tone-4 { background: rgba(247,131,172,0.10); }
.topic-card.tone-5 { background: rgba(155,89,245,0.12); }

/* ════════ STYLE GRID ════════ */
#style-grid {
  grid-template-columns: repeat(3, 1fr);
  max-width: 560px;
  margin: 0 auto;
}
@media (max-width: 480px) {
  #style-grid { grid-template-columns: repeat(2, 1fr); }
}
#style-grid .option-card { text-align: center; padding: 8px 6px 10px; }
#style-grid .oc-title { font-size: 12px; }

/* ════════ PHOTO ════════ */
.photo-drop {
  background: rgba(155,89,245,0.05);
  border: 2px dashed rgba(155,89,245,0.35);
  max-width: 420px;
  margin: 0 auto;
}
.photo-drop:hover { border-color: var(--accent); }
.photo-drop #photo-placeholder { color: var(--muted); }
.photo-drop #photo-preview { border-color: var(--sel-gold); }
.photo-error {
  display: none;
  color: #f87171;
  font-size: 13px;
  margin: 8px auto 0;
  max-width: 420px;
  padding: 8px 12px;
  background: rgba(248,113,113,0.08);
  border-radius: 8px;
  border: 1px solid rgba(248,113,113,0.2);
}

/* ════════ AGE SLIDER ════════ */
.age-slider-value { color: var(--sel-gold); }

/* ════════ CONSENT (koyu tema) ════════ */
.consent-row { background: rgba(255,255,255,0.04); border-color: rgba(155,89,245,0.25); }
.consent-row a { color: var(--sel-gold); }

/* ════════ SUBMIT + TRUST ════════ */
.submit-wrap { max-width: 460px; margin: 26px auto 0; }
.submit-btn {
  background: linear-gradient(135deg, #9b59f5 0%, #f4b942 100%);
}
.submit-btn:not(:disabled):hover { box-shadow: 0 4px 24px rgba(155,89,245,0.4); }

.trust-strip {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 24px 0;
  max-width: 640px;
  margin: 0 auto;
}
.trust-item {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ════════ FOOTER ════════ */
.page-footer {
  text-align: center;
  padding: 30px 24px 44px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid rgba(155,89,245,0.1);
}
.page-footer a { color: var(--muted); }
.page-footer a:hover { color: var(--text); }
