/* BİLSEM HAZIRLIK — storefront. Native CSS, no build.
   Design read: trust-first consumer storefront for a children's-education product.
   Dials: VARIANCE 7 / MOTION 4 / DENSITY 3.
   - Display: Outfit (sans, friendly-geometric). Body: Hanken Grotesk. Emphasis =
     same-family weight/colour, never a serif (skill: serif banned as default).
   - One locked accent: violet (owner's "zekâ" choice), executed warmly — warm
     off-white neutrals, tinted shadows, no AI-purple gradient slop.
   - Shape system: buttons full-pill, cards/panels/images 18px, chips full-pill.
   - Imagery: real rendered sample-question figures (monochrome) — no fake UI. */

:root {
  --accent: #6d28d9;          /* violet 700 */
  --accent-hi: #7c3aed;       /* hover/bright */
  --accent-ink: #4c1d95;      /* deep violet for text on tint */
  --accent-tint: #f1ecfb;     /* soft violet wash (chips, panels) */
  --ink: #211c2e;             /* warm near-black, faint violet cast */
  --muted: #6c6578;           /* warm grey body */
  --bg: #faf8f6;              /* warm off-white page */
  --surface: #ffffff;
  --rule: #ece7f1;
  --shadow: 0 18px 44px -18px rgba(76, 29, 149, .28);  /* violet-tinted */
  --shadow-sm: 0 6px 18px -10px rgba(76, 29, 149, .22);
  --radius: 18px;
  --maxw: 1120px;
  --font-display: "Outfit", -apple-system, "Segoe UI", sans-serif;
  --font-body: "Hanken Grotesk", -apple-system, "Segoe UI", Roboto, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, .brand { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.08; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* header */
header.site { position: sticky; top: 0; z-index: 20; background: rgba(250,248,246,.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-weight: 700; font-size: 1.18rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand b { color: var(--accent); font-weight: 800; }
nav.site { display: flex; align-items: center; gap: 26px; }
nav.site a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; opacity: .82; }
nav.site a:hover { opacity: 1; color: var(--accent); }
/* The nav CTA is a filled violet pill — keep its label white in both states
   (otherwise `nav.site a` above wins on specificity and the text goes dark). */
nav.site a.btn-primary, nav.site a.btn-primary:hover { color: #fff; opacity: 1; }

/* buttons — full pill */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-family: var(--font-body); font-weight: 700; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-hi); box-shadow: var(--shadow); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--accent-ink); border-color: var(--rule); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }

/* hero — asymmetric split */
.hero { position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
/* soft, contained violet glow behind the sample card — atmosphere, not a full-bleed gradient */
.hero::before { content: ""; position: absolute; top: -10%; right: -6%; width: 46%; height: 120%; background: radial-gradient(closest-side, var(--accent-tint), transparent 72%); z-index: 0; pointer-events: none; }
.hero .wrap > * { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 700; margin: 0 0 18px; }
.hero h1 .em { color: var(--accent); }
.hero .lead { font-size: 1.18rem; color: var(--muted); max-width: 30ch; margin: 0 0 26px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; color: var(--muted); font-size: .92rem; font-weight: 600; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 17px; height: 17px; color: var(--accent); flex: none; }

/* the sample-question card (hero asset) */
.qcard { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; transform: rotate(-1.4deg); }
.qcard .qhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.qcard .qtag { font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-tint); padding: 5px 11px; border-radius: 999px; }
.qcard .qno { font-family: var(--font-display); font-weight: 700; color: var(--muted); font-size: .9rem; }
.qcard img { border-radius: 12px; background: #fff; aspect-ratio: 1; object-fit: contain; padding: 6px; }
.qcard .qopts { display: flex; gap: 8px; margin-top: 14px; }
.qcard .qopts i { flex: 1; text-align: center; font-style: normal; font-weight: 700; font-family: var(--font-display); color: var(--muted); border: 1.5px solid var(--rule); border-radius: 10px; padding: 9px 0; font-size: .95rem; }

/* sections */
section { padding: 76px 0; }
.section-head { max-width: 56ch; margin: 0 0 40px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; margin: 0 0 10px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* "Neden farklıyız" — asymmetric: a lead claim + supporting points (no 3 equal cards) */
.why { background: var(--surface); border-block: 1px solid var(--rule); }
.why .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.claim { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.16; letter-spacing: -0.02em; }
.claim .em { color: var(--accent); }
.claim + p { color: var(--muted); margin-top: 16px; font-size: 1.05rem; max-width: 42ch; }
.points { display: grid; gap: 4px; }
.point { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--rule); }
.point:first-child { border-top: none; }
.point .ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-tint); color: var(--accent); }
.point .ico svg { width: 23px; height: 23px; }
.point h3 { font-size: 1.1rem; font-weight: 700; margin: 2px 0 4px; letter-spacing: -0.01em; }
.point p { margin: 0; color: var(--muted); font-size: .98rem; }

/* sample gallery — real figures, varied tile sizes (bento rhythm) */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .2s ease; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile.wide { grid-column: span 2; }
.tile img { border-radius: 12px; aspect-ratio: 1; object-fit: contain; padding: 8px; }
.tile .cap { margin-top: 12px; font-weight: 700; font-family: var(--font-display); font-size: .98rem; letter-spacing: -0.01em; }
.tile .cap small { display: block; font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: .86rem; letter-spacing: 0; }

/* pricing */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.pack { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.pack.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); position: relative; }
.pack .tag { position: absolute; top: -13px; left: 26px; background: var(--accent); color: #fff; font-size: .76rem; font-weight: 700; letter-spacing: .03em; padding: 5px 13px; border-radius: 999px; }
.pack h3 { font-size: 1.35rem; font-weight: 700; margin: 0; }
.pack .price { font-family: var(--font-display); font-size: 2.3rem; font-weight: 700; letter-spacing: -0.02em; margin: 10px 0 0; }
.pack .price small { font-family: var(--font-body); font-size: .92rem; font-weight: 600; color: var(--muted); }
.pack ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 11px; }
.pack li { padding-left: 28px; position: relative; color: var(--ink); }
.pack li svg { position: absolute; left: 0; top: 3px; width: 18px; height: 18px; color: var(--accent); }
.pack .btn { margin-top: auto; justify-content: center; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.step { padding-top: 8px; }
.step .n { counter-increment: s; font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: #fff; background: var(--accent); width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; }
.step .n::before { content: counter(s); }
.step h3 { font-size: 1.12rem; margin: 0 0 6px; font-weight: 700; }
.step p { margin: 0; color: var(--muted); }

/* free taster band */
.taster { background: var(--accent-tint); border-block: 1px solid var(--rule); }
.taster .row { display: flex; flex-wrap: wrap; gap: 12px; }

/* faq */
.faq details { border-bottom: 1px solid var(--rule); padding: 18px 0; }
.faq summary { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; letter-spacing: -0.01em; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 12px 0 0; max-width: 70ch; }

/* footer */
footer.site { background: var(--ink); color: #cfc9d8; padding: 44px 0; font-size: .94rem; }
footer.site .brand { color: #fff; }
footer.site .brand b { color: #c4b5fd; }
footer.site a { color: #fff; }
footer.site .disc { color: #918aa3; margin-top: 12px; font-size: .85rem; }

/* motion — restrained entry, honored reduced-motion */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); animation: rise .7s cubic-bezier(.16,1,.3,1) forwards; }
  .reveal.d1 { animation-delay: .08s; } .reveal.d2 { animation-delay: .16s; } .reveal.d3 { animation-delay: .24s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; }
  .hero .lead { max-width: none; }
  .qcard { transform: none; }
  .why .grid2 { grid-template-columns: 1fr; gap: 32px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .tile.wide { grid-column: span 2; }
  .packs, .steps { grid-template-columns: 1fr; }
  nav.site a:not(.btn) { display: none; }
}
