/* ============================================================================
   tide. — veltrix stili: Space Grotesk + DM Mono, koyu oklch zemin, teal vurgu
   Işık teması toggle ile; emoji yok; marka hep küçük harf.
   ========================================================================== */

/* Varsayılan: açık, yumuşak, temiz — QR ile telefondan gelen doğrudan bunu görür */
:root {
  --bg:  oklch(0.988 0.003 210);
  --bg2: oklch(0.966 0.005 210);
  --bg3: oklch(0.938 0.007 210);
  --text: #16333B;
  --text-dim: #648088;
  --line: rgba(14,42,50,0.08);
  --accent: #0E7C86;
  --accent-rgb: 14,124,134;
  --accent-ink: #0A5A62;
  --good: #2E9E6B;
  --danger: #D14545;
  --radius: 18px;
}
:root[data-theme="dark"] {
  --bg:  oklch(0.08 0.014 220);
  --bg2: oklch(0.11 0.013 220);
  --bg3: oklch(0.14 0.012 220);
  --text: #E9F3F4;
  --text-dim: #93ABAF;
  --line: rgba(233,243,244,0.09);
  --accent: #1FC3CF;
  --accent-rgb: 31,195,207;
  --good: #3ECF8E;
  --danger: #F26D6D;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.mono { font-family: 'DM Mono', monospace; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(var(--accent-rgb), .30); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* ------------------------------- nav ------------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 26px;
  padding: 16px 26px;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { font-size: 24px; font-weight: 700; letter-spacing: -0.04em; }
.brand .dot { color: var(--accent); }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { font-size: 14.5px; color: var(--text-dim); transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  color: var(--bg) !important; background: var(--accent);
  padding: 9px 18px; border-radius: 12px; font-weight: 600;
}
.nav-cta:hover { filter: brightness(1.08); }
.theme-toggle {
  background: none; border: 1px solid var(--line); color: var(--text-dim);
  width: 36px; height: 36px; border-radius: 10px; cursor: pointer; font-size: 15px;
}
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .2s; }

@media (max-width: 780px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; padding: 18px 26px; gap: 16px;
    background: var(--bg2); border-bottom: 1px solid var(--line);
  }
  body.nav-open .nav-links { display: flex; }
  .nav-burger { display: block; margin-left: auto; }
  .theme-toggle { position: absolute; right: 70px; }
}

/* ------------------------------- hero ----------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: 110px 22px 90px; text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto;  height: 130%;
  background:
    radial-gradient(50% 60% at 30% 30%, rgba(var(--accent-rgb), .16), transparent 70%),
    radial-gradient(45% 55% at 72% 20%, rgba(var(--accent-rgb), .10), transparent 70%);
  pointer-events: none;
  animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translateX(4%) translateY(3%); } }
@media (prefers-reduced-motion: reduce) { .hero::before { animation: none; } }

.eyebrow {
  font-family: 'DM Mono', monospace; font-size: 12.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 72px); font-weight: 700;
  letter-spacing: -0.045em; line-height: 1.04; margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.lede { font-size: 18px; color: var(--text-dim); max-width: 560px; margin: 0 auto 34px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 30px; border-radius: 999px; font-weight: 600; font-size: 15.5px;
  border: 0; cursor: pointer; font-family: inherit; transition: .18s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(var(--accent-rgb), .22); }
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 12px 30px rgba(var(--accent-rgb), .3); }
.btn-ghost { background: none; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: rgba(var(--accent-rgb), .5); }

/* lansman indirimi — üstü çizili eski fiyat + rozet */
.cfg-price s { opacity: .45; font-size: 12px; margin-right: 7px; font-weight: 400; }
.save-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'DM Mono', monospace; font-size: 11.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), .35); border-radius: 999px;
  padding: 6px 14px; margin-bottom: 10px;
}
.old-total { font-size: 14px; color: var(--text-dim); text-decoration: line-through; opacity: .7; }
.scarcity { font-size: 12.5px; color: var(--text-dim); margin-top: 6px; }

/* SSS */
.faq { max-width: 680px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line); padding: 4px 0;
}
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 16px; padding: 16px 4px;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 4px 18px; font-size: 14.5px; color: var(--text-dim); max-width: 60ch; }

/* ---------------------------- trust strip -------------------------------- */
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  max-width: 900px; margin: 0 auto; padding: 34px 22px 10px;
}
.trust-item { text-align: center; padding: 18px 8px; border-radius: var(--radius); background: var(--bg2); border: 1px solid var(--line); }
.trust-item strong { display: block; font-size: 30px; font-weight: 700; letter-spacing: -0.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.trust-item span { font-size: 13px; color: var(--text-dim); }
@media (max-width: 700px) { .trust { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------ sections --------------------------------- */
section { padding: 104px 22px; }
.section-eyebrow {
  font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent); text-align: center; margin-bottom: 12px;
}
section h2 {
  font-size: clamp(30px, 4.5vw, 44px); font-weight: 700; letter-spacing: -0.04em;
  text-align: center; margin-bottom: 52px; line-height: 1.1;
}
section h2 em { font-style: normal; color: var(--accent); }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1040px; margin: 0 auto; }
.feature {
  background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: border-color .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 1px 2px rgba(14,42,50,.03);
}
.feature:hover { box-shadow: 0 10px 30px rgba(14,42,50,.07); }
.feature:hover { border-color: rgba(var(--accent-rgb), .35); transform: translateY(-2px); }
.feature h3 { font-size: 17px; margin: 14px 0 8px; letter-spacing: -0.01em; }
.feature p { font-size: 14px; color: var(--text-dim); }
.feature-ico {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(var(--accent-rgb), .12);
  display: flex; align-items: center; justify-content: center;
}
.feature-ico svg { width: 22px; height: 22px; stroke: var(--accent); }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* how */
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 980px; margin: 0 auto; counter-reset: step; }
.how-step { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.how-step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: 'DM Mono', monospace; font-size: 13px; color: var(--accent); letter-spacing: .15em;
}
.how-step h3 { font-size: 17px; margin: 12px 0 8px; }
.how-step p { font-size: 14px; color: var(--text-dim); }
@media (max-width: 700px) { .how-steps { grid-template-columns: 1fr; } }

/* ---------------------------- configurator ------------------------------- */
.cfg-wrap { max-width: 880px; margin: 0 auto; }
.cfg-note {
  font-size: 13.5px; color: var(--text-dim); text-align: center; max-width: 620px;
  margin: -30px auto 40px;
}
.cfg-group { margin-bottom: 34px; }
.cfg-group > h3 {
  font-size: 13px; font-family: 'DM Mono', monospace; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px;
}
.cfg-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 20px; margin-bottom: 10px; cursor: pointer; transition: border-color .15s;
}
.cfg-item:hover { border-color: rgba(var(--accent-rgb), .35); }
.cfg-item.locked { cursor: default; }
.cfg-item.on { border-color: rgba(var(--accent-rgb), .55); background: color-mix(in oklab, var(--bg2) 88%, rgb(var(--accent-rgb))); }
.cfg-info { flex: 1; min-width: 0; }
.cfg-info b { font-size: 15.5px; }
.cfg-info small { display: block; font-size: 13px; color: var(--text-dim); margin-top: 2px; }
.cfg-price { font-family: 'DM Mono', monospace; font-size: 14.5px; white-space: nowrap; color: var(--text-dim); }
.cfg-item.on .cfg-price { color: var(--accent); }
.cfg-check {
  width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.cfg-item.on .cfg-check { background: var(--accent); border-color: var(--accent); }
.cfg-check svg { width: 14px; height: 14px; stroke: var(--bg); opacity: 0; }
.cfg-item.on .cfg-check svg { opacity: 1; }
.cfg-stepper { display: flex; align-items: center; gap: 12px; }
.cfg-stepper button {
  width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line);
  background: none; color: var(--text); font-size: 17px; cursor: pointer;
}
.cfg-stepper b { min-width: 20px; text-align: center; font-variant-numeric: tabular-nums; }

.cfg-total {
  position: sticky; bottom: 14px; z-index: 10;
  display: flex; align-items: center; gap: 18px;
  background: var(--bg3); border: 1px solid rgba(var(--accent-rgb), .35);
  border-radius: 16px; padding: 18px 24px; margin-top: 26px;
  backdrop-filter: blur(10px);
}
.cfg-total .t-label { font-size: 13px; color: var(--text-dim); }
.cfg-total .t-val { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cfg-total .btn { margin-left: auto; }

.cfg-excluded {
  margin-top: 26px; padding: 16px 20px; border-radius: 14px;
  border: 1px dashed var(--line); font-size: 13px; color: var(--text-dim); line-height: 1.7;
}

/* ------------------------------- form ------------------------------------ */
.order-form { max-width: 560px; margin: 40px auto 0; display: grid; gap: 14px; }
.order-form label { font-size: 12.5px; font-family: 'DM Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); }
.order-form input, .order-form textarea {
  width: 100%; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; color: var(--text); font: inherit; font-size: 15px;
}
.order-form input:focus, .order-form textarea:focus { outline: 2px solid rgba(var(--accent-rgb), .5); border-color: transparent; }
.form-note { font-size: 13.5px; text-align: center; min-height: 20px; color: var(--text-dim); }

/* ------------------------------ CTA / footer ----------------------------- */
.cta { text-align: center; background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.notify-form { display: flex; gap: 10px; justify-content: center; max-width: 460px; margin: 26px auto 10px; flex-wrap: wrap; }
.notify-form input {
  flex: 1; min-width: 220px; background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px; color: var(--text); font: inherit;
}
.footer { padding: 44px 26px; text-align: center; color: var(--text-dim); font-size: 13.5px; }
.footer .brand { font-size: 18px; }
.footer p { margin-top: 10px; }

/* ------------------------------ reveal ----------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
