/* herovale.app. Renkler uygulamanın src/lib/theme.ts dosyasından; yazı tipi Nunito (site/fonts, yerel). */
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url('/fonts/Nunito_700Bold.ttf') format('truetype'); }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url('/fonts/Nunito_800ExtraBold.ttf') format('truetype'); }
@font-face { font-family: 'Nunito'; font-weight: 900; font-display: swap; src: url('/fonts/Nunito_900Black.ttf') format('truetype'); }

:root {
  --ink: #2a2840;
  --muted: #5e5c72;
  --line: #e4ddcc;
  --cream: #faf6ec;
  --white: #ffffff;
  --tomato: #e8705f;
  --sunflower: #f4da8c;
  --butter: #fff1bf;
  --mint: #9adbc3;
  --grape: #e7e3f8;
  --sky: #cfe6f7;
  --blush: #fad4cc;
  --leaf: #e1f3ea;
  --radius: 24px;
  --shadow: 0 4px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700; font-size: 17px; line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Üst bar */
.top { position: sticky; top: 0; z-index: 10; background: rgba(250, 246, 236, 0.92); backdrop-filter: blur(8px); border-bottom: 1.5px solid transparent; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 22px; }
.brand img { width: 40px; height: 40px; border-radius: 12px; border: 1.5px solid var(--ink); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; font-weight: 800; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.nav a.lang { color: var(--ink); padding: 4px 12px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white); }

/* Mağaza rozeti. Yayına girince <span class="store"> yerine <a class="store" href="..."> olur. */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 20px 8px 16px;
  border: 2px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow);
  background: var(--ink); color: var(--white); text-decoration: none; font-weight: 900; font-size: 18px; line-height: 1.1;
}
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 12px; font-weight: 800; opacity: 0.75; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px;
  border: 2px solid var(--ink); border-radius: 999px; box-shadow: var(--shadow); background: var(--white); color: var(--ink);
  font: inherit; font-weight: 900; text-decoration: none;
}

/* Giriş */
.hero { padding: 36px 0 60px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 40px; }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--butter); border: 1.5px solid var(--ink); font-size: 14px; font-weight: 900; }
h1 { font-size: clamp(38px, 6vw, 62px); line-height: 1.06; font-weight: 900; margin: 18px 0 16px; letter-spacing: -0.02em; text-wrap: balance; }
h1 em { font-style: normal; color: var(--tomato); }
.lead { font-size: 19px; color: var(--muted); max-width: 33em; margin: 0 0 28px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; font-weight: 800; }
.facts li::before { content: '✓'; color: #3c9b78; font-weight: 900; margin-right: 6px; }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art .bg { position: absolute; inset: 8% -4% 8% -4%; border-radius: 40px; border: 2px solid var(--ink); background: var(--leaf) center / cover no-repeat; }
.phone { position: relative; width: 300px; border-radius: 34px; border: 2.5px solid var(--ink); box-shadow: 0 6px 0 var(--ink); overflow: hidden; background: var(--cream); }

/* Bölümler */
section { padding: 72px 0; }
.band { background: var(--white); border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); }
h2 { font-size: clamp(29px, 4.2vw, 42px); line-height: 1.12; font-weight: 900; margin: 0 0 12px; letter-spacing: -0.01em; text-wrap: balance; }
.sub { color: var(--muted); margin: 0 0 34px; max-width: 42em; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

/* Ekran görüntüleri şeridi */
.shots { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 20px 18px; margin: 0 -20px; scrollbar-width: thin; }
.shots figure { flex: none; width: 230px; margin: 0; scroll-snap-align: start; }
.shots img { border-radius: 22px; border: 1.5px solid var(--ink); background: var(--cream); }
.shots figcaption { margin-top: 10px; font-size: 15px; font-weight: 800; line-height: 1.35; }

/* Nasıl çalışır */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: adim; }
.step { background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: relative; }
.step::before { counter-increment: adim; content: counter(adim); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; border: 1.5px solid var(--ink); background: var(--sunflower); font-weight: 900; font-size: 22px; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 20px; font-weight: 900; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* Büyük özellik blokları: bir yanda ekran, öbür yanda metin */
.feature { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; padding: 36px 0; }
.feature.flip { grid-template-columns: 1fr 300px; }
.feature.flip .shot { order: 2; }
.feature .shot img { border-radius: 30px; border: 2px solid var(--ink); box-shadow: 0 6px 0 var(--ink); background: var(--cream); }
.feature h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; margin: 0 0 12px; font-weight: 900; }
.feature p { color: var(--muted); margin: 0 0 14px; }
.feature ul { margin: 0; padding: 0; list-style: none; }
.feature li { position: relative; padding: 6px 0 6px 32px; }
.feature li::before { content: ''; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--ink); background: var(--mint); }
.tag { display: inline-block; margin-bottom: 12px; padding: 3px 12px; border-radius: 999px; border: 1.5px solid var(--ink); font-size: 13px; font-weight: 900; background: var(--grape); }
.strip { display: flex; gap: 10px; margin-top: 18px; }
.strip figure { margin: 0; flex: 1; }
.strip img { border-radius: 14px; border: 1.5px solid var(--ink); }
.strip figcaption { font-size: 13px; color: var(--muted); margin-top: 4px; text-align: center; }
.cast { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; align-items: flex-end; }
.cast img { height: 96px; width: auto; }
.cast.small img { height: 64px; }

/* Özellik kartları */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--cream); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card .ico { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; border: 1.5px solid var(--ink); margin-bottom: 14px; }
.card h3 { margin: 0 0 6px; font-size: 19px; font-weight: 900; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* Ücretsiz / Premium */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plan { border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 28px; background: var(--white); box-shadow: var(--shadow); }
.plan.pro { background: var(--sunflower); }
.plan h3 { margin: 0 0 4px; font-size: 25px; font-weight: 900; }
.plan .note { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.plan.pro .note { color: #5c5236; }
.price { display: inline-flex; align-items: baseline; gap: 10px; background: var(--white); border: 1.5px solid var(--ink); border-radius: 16px; padding: 10px 18px; margin: 10px 0 16px; box-shadow: 0 3px 0 var(--ink); }
.price b { font-size: 28px; font-weight: 900; }
.price span { font-size: 14px; color: var(--muted); }
.plan ul { margin: 0; padding: 0; list-style: none; }
.plan li { padding: 8px 0 8px 30px; position: relative; border-top: 1.5px dashed rgba(42, 40, 64, 0.15); }
.plan li:first-child { border-top: 0; }
.plan li::before { content: ''; position: absolute; left: 0; top: 13px; width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--ink); background: var(--mint); }

/* Gizlilik vurgusu */
.private { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: var(--leaf); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.private .big { font-size: 64px; line-height: 1; }
.private h2 { font-size: clamp(24px, 3.4vw, 32px); }
.private p { margin: 0; color: #46605a; }

/* SSS */
.faq { max-width: 780px; }
.faq details { border: 1.5px solid var(--ink); border-radius: 18px; background: var(--white); margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-weight: 900; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 900; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

.support { text-align: center; }
.support .sub { margin-left: auto; margin-right: auto; }
.mail { font-weight: 900; font-size: 20px; word-break: break-all; }

footer { padding: 36px 0 48px; border-top: 1.5px solid var(--line); color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { text-decoration: none; font-weight: 800; }
footer a:hover { color: var(--ink); }
.disclaimer { flex-basis: 100%; font-size: 13px; margin: 0; }

/* Yasal metin sayfaları */
.doc { max-width: 740px; padding: 36px 20px 72px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin-top: 8px; }
.doc .meta { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font-size: 22px; margin: 34px 0 8px; }
.doc p, .doc li { color: #403e56; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }

:focus-visible { outline: 3px solid var(--tomato); outline-offset: 3px; }

@media (max-width: 900px) {
  .hero { padding-top: 16px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .phone { width: 240px; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 26px; }
  .feature .shot { max-width: 280px; margin: 0 auto; }
  .feature.flip .shot { order: 0; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .nav a:not(.lang) { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  section { padding: 52px 0; }
  .grid, .plans, .steps { grid-template-columns: 1fr; }
  .private { grid-template-columns: 1fr; text-align: center; padding: 24px; }
  .shots figure { width: 190px; }
  .cast img { height: 72px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
