/* =========================================================
   Brandok AI — Landing
   Premium dark theme · brand violet #6b5ce7 + electric cyan
   ========================================================= */

:root {
  /* Brand */
  --violet: #7c6cff;
  --violet-strong: #5645da;
  --violet-soft: #a99fff;
  --cyan: #19e3ff;
  --pink: #ff5ca8;

  /* Surfaces */
  --bg: #070611;
  --bg-2: #0b0a18;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.05);
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke-strong: rgba(255, 255, 255, 0.14);

  /* Text */
  --ink: #f4f5fb;
  --ink-soft: #c5c8e0;
  --muted: #8c90ac;
  --muted-dim: #6b6f8c;

  /* Signals */
  --green: #34d399;
  --amber: #fbbf24;
  --red: #f87171;

  /* Gradients */
  --grad: linear-gradient(120deg, var(--violet-soft) 0%, var(--violet) 38%, var(--cyan) 100%);
  --grad-btn: linear-gradient(120deg, var(--violet) 0%, var(--violet-strong) 100%);

  /* Layout */
  --container: 1200px;
  --radius: 18px;
  --radius-lg: 26px;
  /* Tum bolumlerin (section/stats/hero alti) ayni dikey araligi — tek kaynak.
     Bolumler arasi bosluk = 2x bu deger; degistir, hepsi uniform degisir. */
  --section-pad: clamp(40px, 6vw, 72px);
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 0 1px var(--stroke), 0 30px 80px -28px rgba(124, 108, 255, 0.45);

  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--violet); color: #fff; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--violet); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }
.section { padding: var(--section-pad) 0; position: relative; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Ambient background ---------- */
.bg-layer { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.bg-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.bg-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; }
.bg-orb--1 { width: 620px; height: 620px; top: -180px; left: -120px; background: radial-gradient(circle, rgba(124,108,255,0.6), transparent 65%); animation: float1 22s ease-in-out infinite; }
.bg-orb--2 { width: 520px; height: 520px; top: 18%; right: -160px; background: radial-gradient(circle, rgba(25,227,255,0.36), transparent 65%); animation: float2 26s ease-in-out infinite; }
.bg-orb--3 { width: 460px; height: 460px; bottom: -120px; left: 30%; background: radial-gradient(circle, rgba(255,92,168,0.28), transparent 65%); animation: float1 30s ease-in-out infinite reverse; }
.bg-noise { position: absolute; inset: 0; opacity: 0.4; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E"); mix-blend-mode: overlay; }

@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,30px) scale(1.08); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-50px,40px) scale(1.12); } }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad); z-index: 1200; border-radius: 0 3px 3px 0;
  box-shadow: 0 0 12px rgba(124,108,255,0.7);
  transition: width 0.1s linear;
}

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(7, 6, 17, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--stroke);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { display: grid; place-items: center; filter: drop-shadow(0 8px 18px rgba(124,108,255,0.4)); transition: transform 0.3s ease; }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.05); }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: -0.02em; }
.brand__ai { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-left: 1px; }

/* === Brandok logo — gercek wordmark (PNG, seffaf). Light: renkli (navy+mor),
   koyu tema: beyaz varyant otomatik gosterilir. Hemen yaninda "AI". === */
.logo { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; flex-shrink: 0; transition: opacity 0.2s ease; }
.logo__img { height: 27px; width: auto; display: block; flex-shrink: 0; max-width: none; }
.logo__img--dark { display: none; }
[data-theme="dark"] .logo__img:not(.logo__img--dark) { display: none; }
[data-theme="dark"] .logo__img--dark { display: block; }
.logo__ai { font-family: "Poppins", var(--font-display); font-weight: 700; font-size: 0.95rem; line-height: 1; color: var(--violet); }
.brand:hover .logo { opacity: 0.82; }
.brand--footer .logo__img { height: 27px; }
.brand--footer .logo__ai { font-size: 0.95rem; }
.qo__brandrow .logo__img { height: 22px; }
.qo__brandrow .logo__ai { font-size: 0.8rem; }
.qo__brandtag { font-family: var(--font-display); font-weight: 600; font-size: 0.94rem; color: var(--ink-soft); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  padding: 9px 14px; border-radius: 10px; font-size: 0.93rem; font-weight: 500; color: var(--ink-soft);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav__link:hover { color: #fff; background: var(--surface); }
.nav__cta { margin-left: 10px; }

.nav-toggle { display: none; background: var(--surface); border: 1px solid var(--stroke); border-radius: 11px; width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 13px; border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 0.97rem;
  cursor: pointer; transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn svg { transition: transform 0.2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { padding: 9px 16px; font-size: 0.9rem; border-radius: 11px; }
.btn--lg { padding: 16px 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--grad-btn); color: #fff;
  box-shadow: 0 14px 34px -12px rgba(124,108,255,0.7), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -12px rgba(124,108,255,0.85), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--stroke-strong); backdrop-filter: blur(6px); }
.btn--ghost:hover { transform: translateY(-2px); background: var(--surface-2); border-color: var(--violet-soft); }

/* ---------- Badges / eyebrow ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 12px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--stroke-strong);
  font-size: 0.86rem; font-weight: 500; color: var(--ink-soft); backdrop-filter: blur(6px);
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px rgba(124,108,255,0.22); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet-soft); margin-bottom: 16px;
}

/* ---------- Section heads ---------- */
.section__head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section__title { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.section__sub { margin-top: 18px; font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--muted); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding: 150px 0 var(--section-pad); overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.6; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; }
.hero__title { font-size: clamp(2.5rem, 5.6vw, 4.3rem); margin: 22px 0 0; }
.hero__lead { margin-top: 24px; font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: var(--ink-soft); max-width: 560px; }
.hero__lead strong { color: #fff; font-weight: 600; }
.hero__actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust { margin-top: 30px; display: flex; align-items: center; gap: 14px; }
.hero__trust p { font-size: 0.9rem; color: var(--muted); }
.hero__trust strong { color: var(--ink-soft); }
.trust-avatars { display: flex; }
.trust-avatars span {
  width: 32px; height: 32px; border-radius: 50%; margin-left: -10px; border: 2px solid var(--bg);
  background: var(--grad); box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
.trust-avatars span:first-child { margin-left: 0; }
.trust-avatars span:nth-child(2) { background: linear-gradient(120deg, var(--cyan), var(--violet)); }
.trust-avatars span:nth-child(3) { background: linear-gradient(120deg, var(--pink), var(--violet)); }
.trust-avatars span:nth-child(4) { background: linear-gradient(120deg, var(--violet-soft), var(--cyan)); }

.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 1; width: 26px; height: 42px; border: 2px solid var(--stroke-strong); border-radius: 14px; display: grid; place-items: start center; padding-top: 7px; }
.hero__scroll span { width: 4px; height: 8px; border-radius: 2px; background: var(--violet-soft); animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(-2px); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(10px); } 100% { opacity: 0; } }

/* ---------- Glass card / mockup ---------- */
.glass-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid var(--stroke-strong); border-radius: var(--radius-lg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glow);
}
.hero__visual { position: relative; }
.mockup { padding: 6px; transform: perspective(1600px) rotateY(-9deg) rotateX(3deg); transition: transform 0.5s ease; }
.hero__visual:hover .mockup { transform: perspective(1600px) rotateY(-4deg) rotateX(1deg); }
.mockup__top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--stroke); }
.mockup__dots { display: flex; gap: 6px; }
.mockup__dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--stroke-strong); }
.mockup__dots span:first-child { background: #ff5f57; }
.mockup__dots span:nth-child(2) { background: #febc2e; }
.mockup__dots span:nth-child(3) { background: #28c840; }
.mockup__title { font-size: 0.85rem; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; font-weight: 500; }
.mockup__tag { margin-left: auto; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; padding: 3px 9px; border-radius: 7px; background: var(--grad-btn); color: #fff; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52,211,153,0.2); animation: pulse 1.6s infinite; }

.mockup__body { padding: 16px; display: grid; gap: 14px; }
.mockup__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric-tile { background: var(--surface); border: 1px solid var(--stroke); border-radius: 14px; padding: 13px 15px; display: grid; gap: 4px; }
.metric-tile__label { font-size: 0.74rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.metric-tile__value { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: #fff; }
.metric-tile__value span { font-size: 0.95rem; color: var(--violet-soft); margin-left: 2px; }
.metric-tile__delta { font-size: 0.78rem; font-weight: 600; }
.metric-tile__delta--up { color: var(--green); }

.mockup__chart { background: var(--surface); border: 1px solid var(--stroke); border-radius: 14px; padding: 14px; }
.chart-head { display: flex; align-items: center; justify-content: space-between; font-size: 0.78rem; color: var(--muted); margin-bottom: 12px; }
.chart-head__pill { font-size: 0.68rem; color: var(--green); padding: 3px 8px; border-radius: 6px; background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.32); }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 78px; }
.bars .bar { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--violet), var(--violet-strong)); transition: height 0.6s cubic-bezier(0.22,1,0.36,1); min-height: 6px; }
.bars .bar--hi { background: linear-gradient(180deg, var(--cyan), var(--violet)); box-shadow: 0 0 14px rgba(25,227,255,0.4); }

.mockup__feed { background: var(--surface); border: 1px solid var(--stroke); border-radius: 14px; padding: 13px 14px; }
.feed-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.feed-head__title { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); }
.feed-head__live { font-size: 0.68rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.feed { display: grid; gap: 8px; }
.feed li {
  display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--ink-soft);
  padding: 8px 10px; border-radius: 9px; background: rgba(255,255,255,0.025); border: 1px solid var(--stroke);
  animation: feedIn 0.5s ease both;
}
.feed li .fd { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.feed li .fd--v { background: var(--violet-soft); box-shadow: 0 0 8px var(--violet); }
.feed li .fd--c { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.feed li .fd--g { background: var(--green); box-shadow: 0 0 8px var(--green); }
.feed li time { margin-left: auto; font-size: 0.68rem; color: var(--muted-dim); flex-shrink: 0; }
@keyframes feedIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }

.floating-pill {
  position: absolute; display: flex; align-items: center; gap: 8px;
  padding: 10px 15px; border-radius: 12px; font-size: 0.8rem; font-weight: 500; color: var(--ink);
  background: rgba(13,12,28,0.85); border: 1px solid var(--stroke-strong);
  backdrop-filter: blur(12px); box-shadow: var(--shadow); white-space: nowrap;
}
.floating-pill .dot { width: 8px; height: 8px; border-radius: 50%; }
.dot--green { background: var(--green); box-shadow: 0 0 8px var(--green); }
.dot--violet { background: var(--violet-soft); box-shadow: 0 0 8px var(--violet); }
.dot--cyan { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
/* Desktop: pill funnel grafigi hizasinda, mockup kartinin SOL kenarindan
   disari tasarak yuzer (kullanici istegi 2026-06-19 [spec-iter] — onceki
   right:30px sag konumu istenmedi, sola alindi). top:39% hero BASLIGININ
   ALTINDAKI bosluga denk gelir -> baslik ortulmez (eski problemli sol konum
   top:8% idi ve basligi ortuyordu; bu yuzden funnel hizasinda tutuldu).
   top:41% — "Funnel performansi" chart basligini ORTMESIN diye bir satir boyu
   asagi alindi (kullanici 2026-06-19); label'in hemen altinda + ust barlarin
   uzerinde durur, stat kartlarini da ortmez. Dusuk genlikli floatPillA (-7px).
   Tablet/mobilde override asagida orijinal kose konumuna doner. */
.floating-pill--a { top: 41%; left: -38px; animation: floatPillA 5s ease-in-out infinite; }
.floating-pill--b { bottom: 12%; right: -28px; animation: floatPill 6s ease-in-out infinite 0.6s; }
@keyframes floatPill { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes floatPillA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* =========================================================
   PLATFORMS / MARQUEE
   ========================================================= */
.platforms { padding: 35px 0; border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); background: rgba(255,255,255,0.012); }
.platforms__caption { text-align: center; color: var(--muted); font-size: 0.92rem; margin-bottom: 26px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 54px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.plat { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--muted); opacity: 0.7; white-space: nowrap; transition: color 0.2s, opacity 0.2s; }
.plat:hover { color: var(--ink); opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   STATS
   ========================================================= */
.stats { padding: var(--section-pad) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 30px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--stroke); }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 4vw, 3rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.stat__label { margin-top: 12px; font-size: 0.92rem; color: var(--muted); }

/* =========================================================
   PROBLEM / COMPARE
   ========================================================= */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1000px; margin: 0 auto; }
.compare-col { position: relative; padding: 32px 30px; border-radius: var(--radius-lg); border: 1px solid var(--stroke); }
.compare-col--old { background: rgba(255,255,255,0.02); }
.compare-col--new { background: linear-gradient(160deg, rgba(124,108,255,0.14), rgba(25,227,255,0.05)); border-color: rgba(124,108,255,0.4); box-shadow: var(--shadow-glow); }
.compare-col h3 { font-size: 1.3rem; margin-bottom: 20px; }
.compare-col--old h3 { color: var(--muted); }
.compare-col__badge { position: absolute; top: -13px; left: 30px; background: var(--grad-btn); color: #fff; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; padding: 5px 13px; border-radius: 100px; box-shadow: 0 8px 20px -6px rgba(124,108,255,0.7); }
.check-list { display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 32px; font-size: 0.96rem; color: var(--ink-soft); }
.check-list li strong { color: #fff; }
.check-list li::before { position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; font-size: 0.72rem; font-weight: 700; }
.check-list--bad li { color: var(--muted); }
.check-list--bad li::before { content: "✕"; background: rgba(248,113,113,0.14); color: var(--red); }
.check-list--good li::before { content: "✓"; background: rgba(52,211,153,0.16); color: var(--green); }

/* =========================================================
   CAPABILITIES
   ========================================================= */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card {
  grid-column: span 1; padding: 26px 24px; border-radius: var(--radius); position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--stroke);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.feature-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.3s ease; }
.feature-card:hover { transform: translateY(-5px); background: var(--surface-2); }
.feature-card:hover::before { opacity: 1; }
.feature-card:first-child, .feature-card:nth-child(2) { grid-column: span 2; }
.feature-card__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: linear-gradient(150deg, rgba(124,108,255,0.25), rgba(25,227,255,0.12)); border: 1px solid var(--stroke-strong); color: var(--violet-soft); }
.feature-card__icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 1.16rem; margin-bottom: 9px; }
.feature-card p { font-size: 0.94rem; color: var(--muted); }

/* =========================================================
   TECHNOLOGY
   ========================================================= */
.tech { background: linear-gradient(180deg, transparent, rgba(124,108,255,0.04), transparent); }
.tech-flow { display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 56px; }
.tech-step { flex: 1; min-width: 200px; padding: 26px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--stroke); position: relative; transition: transform 0.3s, border-color 0.3s; }
.tech-step:hover { transform: translateY(-4px); border-color: var(--violet-soft); }
.tech-step__no { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tech-step h3 { font-size: 1.08rem; margin: 10px 0 8px; }
.tech-step p { font-size: 0.9rem; color: var(--muted); }
.tech-arrow { display: grid; place-items: center; color: var(--violet-soft); font-size: 1.6rem; font-weight: 300; flex-shrink: 0; }

.tech-principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tech-principle { padding: 24px 22px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)); border: 1px solid var(--stroke); }
.tech-principle h4 { font-size: 1.02rem; display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.tech-principle__icon { font-size: 1.1rem; }
.tech-principle p { font-size: 0.9rem; color: var(--muted); }

/* =========================================================
   HOW IT WORKS — steps
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 30px 24px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--stroke); transition: transform 0.3s, border-color 0.3s; }
.step:hover { transform: translateY(-5px); border-color: var(--violet-soft); }
.step__num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: #fff; background: var(--grad-btn); box-shadow: 0 12px 26px -10px rgba(124,108,255,0.7); margin-bottom: 18px; }
.step h3 { font-size: 1.12rem; margin-bottom: 9px; }
.step p { font-size: 0.92rem; color: var(--muted); }
.step::after { content: ""; position: absolute; top: 52px; right: -12px; width: 24px; height: 2px; background: linear-gradient(90deg, var(--violet-soft), transparent); display: none; }

/* =========================================================
   WHY
   ========================================================= */
.why__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: center; }
.why__head { text-align: left; }
.why__head .section__sub { margin-bottom: 28px; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-card { padding: 26px 24px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(124,108,255,0.1), rgba(255,255,255,0.015)); border: 1px solid var(--stroke); transition: transform 0.3s, box-shadow 0.3s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.why-card__k { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 10px; }
.why-card p { font-size: 0.93rem; color: var(--muted); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial { padding: 28px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--stroke); display: flex; flex-direction: column; gap: 16px; }
.testimonial__stars { color: var(--amber); letter-spacing: 2px; font-size: 0.95rem; }
.testimonial blockquote { margin: 0; font-size: 1rem; color: var(--ink-soft); line-height: 1.6; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial__avatar { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; background: var(--grad-btn); flex-shrink: 0; }
.testimonial figcaption strong { display: block; font-size: 0.92rem; }
.testimonial figcaption small { color: var(--muted); font-size: 0.82rem; }

/* =========================================================
   PLANS
   ========================================================= */
.plans__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan { position: relative; padding: 34px 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--stroke); transition: transform 0.3s, border-color 0.3s; }
.plan:hover { transform: translateY(-5px); }
.plan--featured { background: linear-gradient(170deg, rgba(124,108,255,0.18), rgba(25,227,255,0.05)); border-color: rgba(124,108,255,0.45); box-shadow: var(--shadow-glow); transform: scale(1.03); }
.plan--featured:hover { transform: scale(1.03) translateY(-5px); }
.plan__ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad-btn); color: #fff; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.05em; padding: 5px 15px; border-radius: 100px; box-shadow: 0 8px 20px -6px rgba(124,108,255,0.7); }
.plan__name { font-size: 1.4rem; }
.plan__for { color: var(--muted); font-size: 0.9rem; margin: 6px 0 18px; }
.plan__price { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: #fff; margin-bottom: 20px; line-height: 1; }
.plan__price span { display: block; font-size: 0.82rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 6px; }
.plan__list { display: grid; gap: 12px; margin-bottom: 26px; }
.plan__list li { position: relative; padding-left: 28px; font-size: 0.93rem; color: var(--ink-soft); }
.plan__list li strong { color: #fff; }
.plan__list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; font-size: 0.66rem; font-weight: 700; background: rgba(52,211,153,0.16); color: var(--green); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--stroke); border-radius: 14px; background: var(--surface); overflow: hidden; transition: border-color 0.25s, background 0.25s; }
.faq__item[open] { border-color: var(--violet-soft); background: var(--surface-2); }
.faq__item summary { list-style: none; cursor: pointer; padding: 19px 22px; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.5rem; font-weight: 300; color: var(--violet-soft); transition: transform 0.3s ease; flex-shrink: 0; line-height: 1; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 22px 20px; }
.faq__body p { color: var(--muted); font-size: 0.96rem; }

/* =========================================================
   CTA / DEMO
   ========================================================= */
.cta__card {
  display: grid; grid-template-columns: 1fr 0.95fr; gap: 48px; align-items: center;
  padding: clamp(34px, 5vw, 60px); border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(124,108,255,0.18), rgba(25,227,255,0.06), rgba(255,92,168,0.08));
  border: 1px solid rgba(124,108,255,0.35); box-shadow: var(--shadow-glow); position: relative; overflow: hidden;
}
.cta__card::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(124,108,255,0.4), transparent 65%); top: -140px; right: -80px; filter: blur(40px); pointer-events: none; }
.cta__copy { position: relative; }
.cta__title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.cta__copy > p { margin-top: 16px; color: var(--ink-soft); font-size: 1.04rem; }
.cta__points { display: grid; gap: 9px; margin-top: 22px; }
.cta__points li { color: var(--ink-soft); font-size: 0.96rem; }

.cta__form { position: relative; background: rgba(7,6,17,0.55); border: 1px solid var(--stroke-strong); border-radius: var(--radius); padding: 26px; backdrop-filter: blur(10px); display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field select {
  width: 100%; padding: 12px 14px; border-radius: 11px; font-family: inherit; font-size: 0.95rem;
  background: var(--surface); border: 1px solid var(--stroke-strong); color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder { color: var(--muted-dim); }
.field input:focus, .field select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,108,255,0.22); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%238c90ac' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field select option { background: var(--bg-2); color: var(--ink); }
.cta__formnote { font-size: 0.78rem; color: var(--muted-dim); text-align: center; margin-top: 2px; }
.form-success { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 12px; background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.35); }
.form-success[hidden] { display: none; }
.form-success__icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #06231a; font-weight: 800; flex-shrink: 0; }
.form-success p { font-size: 0.9rem; color: var(--ink-soft); }
.form-success strong { color: #fff; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 1px solid var(--stroke); padding: 60px 0 30px; background: rgba(255,255,255,0.012); }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; }
.brand--footer { margin-bottom: 16px; }
.footer__tag { color: var(--muted); font-size: 0.92rem; max-width: 320px; }
.footer__col h4 { font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); margin-bottom: 16px; }
.footer__col a { display: block; color: var(--muted); font-size: 0.93rem; padding: 5px 0; transition: color 0.2s; }
.footer__col a:hover { color: var(--violet-soft); }
.footer__social { display: flex; gap: 10px; margin-top: 14px; }
.soc { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--stroke); color: var(--ink-soft); font-size: 0.82rem; font-weight: 600; transition: transform 0.2s, border-color 0.2s, color 0.2s; }
.soc:hover { transform: translateY(-3px); border-color: var(--violet-soft); color: #fff; }
.footer__social .soc { display: grid; place-items: center; padding: 0; }
.soc svg { display: block; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--stroke); }
.footer__made { display: inline-flex; align-items: center; gap: 6px; }
.footer__bottom p { color: var(--muted-dim); font-size: 0.86rem; }

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 520px; }
  /* Stacked layout'ta pill'i orijinal kose konumuna dondur. Base'deki
     right:30px'i sifirla (right:auto) ki left ile cakisip gerilmesin. */
  .floating-pill--a { top: 8%; right: auto; left: -38px; }
  .why__inner { grid-template-columns: 1fr; gap: 36px; }
  .why__head { text-align: center; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card:first-child, .feature-card:nth-child(2) { grid-column: span 1; }
  .tech-principles { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .cta__card { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

/* Hamburger nav esigi: tam yatay nav (6 link + CTA + toggle) ~950px'e kadar
   brand'e dayaniyor; ≤760 yerine hero'nun stack oldugu ≤1024'te drawer'a gec
   (tam nav sadece 2-kolon hero ile >1024'te bol bosluk birakir) — yoksa
   761-1024 arasi sagdaki "Hizli Teklif Al" CTA + tema toggle kirpiliyordu. */
@media (max-width: 1024px) {
  .nav { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 18px 24px 26px; background: rgba(7,6,17,0.96); backdrop-filter: blur(18px); border-bottom: 1px solid var(--stroke); transform: translateY(-130%); transition: transform 0.35s cubic-bezier(0.22,1,0.36,1); }
  .nav.is-open { transform: translateY(0); }
  .nav__link { padding: 13px 14px; border-radius: 12px; }
  .nav__cta { margin: 8px 0 0; }
  .nav-toggle { display: flex; }
}

@media (max-width: 760px) {
  .hero { padding-top: 120px; }
  .compare-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .tech-principles { grid-template-columns: 1fr; }
  /* tech-flow adimlari (min-width:200px flex item'lar) mobilde daralmayip
     ~58px yatay scroll (overflow:visible) yapiyordu — tek sutuna in. */
  .tech-flow { flex-direction: column; }
  .tech-step { min-width: 0; width: 100%; }
  .tech-arrow { transform: rotate(90deg); }
  .steps { grid-template-columns: 1fr; }
  .plans__grid { grid-template-columns: 1fr; }
  .plan--featured { transform: scale(1); }
  .plan--featured:hover { transform: translateY(-5px); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .floating-pill--a { left: 0; }
  .floating-pill--b { right: 0; }
  .hero__scroll { display: none; }
}

@media (max-width: 420px) {
  .stats__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   THEME TOGGLE  (acik/koyu anahtar — her iki temada token'la stillenir)
   ========================================================= */
.header__right { display: flex; align-items: center; gap: 8px; }

.theme-toggle {
  display: inline-grid; place-items: center; position: relative;
  width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--stroke); color: var(--ink-soft);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.theme-toggle:hover { background: var(--surface-2); border-color: var(--violet-soft); color: var(--ink); transform: translateY(-1px); }
.theme-toggle:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle__sun, .theme-toggle__moon { display: none; }
[data-theme="dark"] .theme-toggle__sun { display: block; }
[data-theme="light"] .theme-toggle__moon { display: block; }

/* =========================================================
   LIGHT THEME  (data-theme="light")
   Tum kurallar ADDITIVE — dark kurallari degismez, sadece
   light'ta token + bilesen bazli override eklenir (PR: dark/light toggle).
   ========================================================= */
html[data-theme="dark"] { color-scheme: dark; }

:root[data-theme="light"] {
  /* Surfaces — beyaza yakin, hafif lavanta.
     Surface/stroke degerleri 0.04/0.10'dan yukseltildi: duz --surface
     kartlar (stat, feature-card, tech-step, step, testimonial, faq, plan)
     beyaz zeminde kenarsiz/havada kalmasin diye (PR: light tema derinlik). */
  --bg: #f6f7fb;
  --bg-2: #eceef6;
  --surface: rgba(23, 21, 56, 0.05);
  --surface-2: rgba(23, 21, 56, 0.08);
  --stroke: rgba(23, 21, 56, 0.12);
  --stroke-strong: rgba(23, 21, 56, 0.20);

  /* Text — koyu */
  --ink: #15132a;
  --ink-soft: #3c3a57;
  --muted: #63627e;
  --muted-dim: #6d6c85;   /* 0x8e8da6 (3.0:1) -> 4.6:1 AA: fine-print/placeholder okunurlugu */
  --ink-strong: #0b0a18;   /* dark'taki #fff vurgu metninin light karsiligi */

  /* Brand — light zeminde okunur kalmasi icin koyulastirilmis gradient.
     Cyan ucu #0bb6d6 (2.3:1) -> #0a8ba6: gradient basliklarin cyan tarafi
     beyaz zeminde siliklesmesin (buyuk metin 3:1 hedefi). */
  --violet-soft: #6b5ce7;
  --grad: linear-gradient(120deg, #6b5ce7 0%, #5645da 42%, #0a8ba6 100%);

  /* Shadows — yumusak */
  --shadow: 0 24px 60px -22px rgba(23, 21, 56, 0.22);
  --shadow-glow: 0 0 0 1px var(--stroke), 0 30px 70px -30px rgba(124, 108, 255, 0.32);

  color-scheme: light;
}

/* Ambient background */
[data-theme="light"] body { background: var(--bg); }
[data-theme="light"] .bg-grid {
  background-image:
    linear-gradient(rgba(23,21,56,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,21,56,0.05) 1px, transparent 1px);
}
[data-theme="light"] .bg-orb { opacity: 0.28; }
[data-theme="light"] .bg-noise { opacity: 0.22; }

/* Header (scroll cami) */
[data-theme="light"] .header.is-scrolled { background: rgba(246, 247, 251, 0.78); border-bottom-color: var(--stroke); }

/* Koyu zemine yazilmis #fff vurgu metinleri -> light'ta koyu.
   .plan__price dahil: dark'ta beyaz fiyat ("Demoda") light'ta acik kart
   uzerinde kaybolyordu (1.15:1) — override listesinden atlanmisti. */
[data-theme="light"] .nav__link:hover,
[data-theme="light"] .hero__lead strong,
[data-theme="light"] .metric-tile__value,
[data-theme="light"] .check-list li strong,
[data-theme="light"] .plan__price,
[data-theme="light"] .plan__list li strong,
[data-theme="light"] .form-success strong,
[data-theme="light"] .soc:hover { color: var(--ink-strong); }

/* Cam yuzeyler / mockup / floating pill -> beyaz cam */
[data-theme="light"] .glass-card { background: linear-gradient(160deg, rgba(255,255,255,0.92), rgba(255,255,255,0.68)); }
[data-theme="light"] .feed li { background: rgba(23,21,56,0.03); }
[data-theme="light"] .floating-pill { background: rgba(255,255,255,0.92); }

/* Bolum zeminleri (beyaz overlay'ler light'ta gorunmez kalir) */
[data-theme="light"] .platforms,
[data-theme="light"] .footer { background: rgba(23,21,56,0.02); }
[data-theme="light"] .compare-col--old { background: rgba(23,21,56,0.025); }
[data-theme="light"] .tech-principle { background: linear-gradient(160deg, rgba(124,108,255,0.10), rgba(124,108,255,0.03)); }
[data-theme="light"] .why-card { background: linear-gradient(160deg, rgba(124,108,255,0.12), rgba(124,108,255,0.03)); }

/* Duz --surface kartlara hafif elevation — beyaz zeminde kenarsiz/havada
   kalmasinlar. Renkli-tint kartlar (why-card, compare--new, plan--featured)
   zaten zeminleriyle ayrisiyor; onlara dokunma. */
[data-theme="light"] .stat,
[data-theme="light"] .feature-card,
[data-theme="light"] .tech-step,
[data-theme="light"] .step,
[data-theme="light"] .testimonial,
[data-theme="light"] .faq__item,
[data-theme="light"] .plan:not(.plan--featured) {
  box-shadow: 0 1px 2px rgba(23,21,56,0.05), 0 14px 30px -20px rgba(23,21,56,0.22);
}

/* CTA formu (koyu panel) -> beyaz */
[data-theme="light"] .cta__form { background: rgba(255,255,255,0.72); }

/* CTA kartinin sag-ust mor orb'u light'ta cok yogun/dikkat cekiciydi —
   opakligi dusur + blur arttir: yumusak, dagilmis bir parilti kalsin. */
[data-theme="light"] .cta__card::before {
  background: radial-gradient(circle, rgba(124,108,255,0.15), transparent 72%);
  filter: blur(60px);
  top: -170px; right: -120px;
}

/* Mobil nav paneli (koyu) -> light. Drawer ≤1024'te aciliyor (yukari bkz),
   o yuzden light arka plan override'i da ≤1024. */
@media (max-width: 1024px) {
  [data-theme="light"] .nav { background: rgba(246, 247, 251, 0.97); }
}

/* =========================================================
   HIZLI TEKLIF AL — onboarding overlay (L6 modal: z-index 1000+)
   ========================================================= */
.cta__card--center { grid-template-columns: 1fr; text-align: center; max-width: 760px; margin: 0 auto; }
.cta__card--center .cta__title { margin: 14px 0; }
.cta__lead { color: var(--ink-soft); max-width: 620px; margin: 0 auto 22px; line-height: 1.6; }
.cta__action { display: flex; justify-content: center; }
.field input.is-bad { border-color: var(--red); box-shadow: 0 0 0 3px rgba(248,113,113,0.18); }

html.qo-lock { overflow: hidden; }

/* Overlay'in kendisi scroll eder + dialog margin:auto ile ortalanir; boylece
   icerik viewport'tan uzun olsa bile (kisa ekran) "Devam" butonu her zaman
   scroll ile erisilebilir kalir (merkezli-modal clipping bug'ina karsi). */
.qo { position: fixed; inset: 0; z-index: 1000; display: none; align-items: flex-start; justify-content: center; padding: 20px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.qo.is-open { display: flex; }
.qo__scrim { position: fixed; inset: 0; background: rgba(4,3,12,0.72); backdrop-filter: blur(6px); animation: qoFade 0.2s ease; }
.qo__dialog {
  position: relative; width: 100%; max-width: 560px; margin: auto;
  background: var(--bg-2); border: 1px solid var(--stroke-strong); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 24px 24px 28px; animation: qoPop 0.26s cubic-bezier(0.2,0.8,0.3,1);
}
.qo__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--stroke); color: var(--ink-soft); cursor: pointer; transition: 0.16s; z-index: 2; }
.qo__close:hover { color: var(--ink); border-color: var(--stroke-strong); }
@keyframes qoFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes qoPop { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }

.qo__head { margin-bottom: 14px; }
.qo__brandrow { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.qo__brandrow .brand__name { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; color: var(--ink); }
.qo__brandrow .brand__ai { color: var(--violet-soft); }
.qo__steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0; }
.qo__step { flex: 1; display: flex; align-items: center; gap: 7px; font-size: 0.74rem; color: var(--muted); min-width: 0; }
.qo__step-no { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-size: 0.72rem; font-weight: 700; background: var(--surface-2); border: 1px solid var(--stroke); color: var(--muted); }
.qo__step-lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qo__step.is-active .qo__step-no { background: var(--grad-btn); border-color: transparent; color: #fff; }
.qo__step.is-active { color: var(--ink); font-weight: 600; }
.qo__step.is-done .qo__step-no { background: var(--green); border-color: transparent; color: #06231a; }
.qo__bar { margin-top: 12px; height: 4px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.qo__bar-fill { height: 100%; width: 25%; border-radius: 4px; background: var(--grad-btn); transition: width 0.35s ease; }
/* Turnstile: varsayilan gizli; Cloudflare interaktif dogrulama isterse
   .qo--challenge ile modal altinda gorunur olur (kutucuk cozulebilmeli). */
.qo__turnstile { display: none; }
.qo--challenge .qo__turnstile { display: flex; justify-content: center; padding: 0 24px 18px; }

.qo-form { display: grid; gap: 12px; min-width: 0; }
.qo-h { font-family: var(--font-display); font-size: 1.32rem; font-weight: 700; color: var(--ink); margin: 0; }
.qo-sub { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; margin: -4px 0 4px; }
.qo-fine { font-size: 0.76rem; color: var(--muted-dim); text-align: center; margin: 2px 0 0; }
.qo-req { color: var(--violet-soft); }
.qo-err { font-size: 0.84rem; color: var(--red); background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.3); border-radius: 10px; padding: 9px 12px; }
.qo-err[hidden] { display: none; }
.qo-status { font-size: 0.84rem; color: var(--muted); padding: 4px 0; }
.qo-status.ok { color: var(--green); }
.qo-status.bad { color: var(--red); }
.qo-link { background: none; border: none; color: var(--violet-soft); font: inherit; font-size: 0.84rem; cursor: pointer; text-decoration: underline; padding: 6px; justify-self: center; }
.qo-link:hover { color: var(--violet); }

.qo-q { display: grid; gap: 9px; }
.qo-q__label { font-size: 0.92rem; font-weight: 600; color: var(--ink); margin: 0; }
.qo-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qo-choice, .qo-pill {
  border: 1px solid var(--stroke-strong); background: var(--surface); color: var(--ink-soft);
  border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: 0.16s; text-align: center;
}
.qo-choice:hover, .qo-pill:hover { border-color: var(--violet-soft); color: var(--ink); }
.qo-choice.is-sel, .qo-pill.is-sel { border-color: var(--violet); background: rgba(124,108,255,0.16); color: var(--ink); box-shadow: 0 0 0 2px rgba(124,108,255,0.25); }
.qo-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.qo-pills .qo-pill { flex: 1 1 calc(50% - 5px); }
.qo-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; }
.qo-nav .btn { flex: 0 0 auto; }
.qo-nav .btn--primary { flex: 1; }

/* Hazırlanıyor */
.qo-prep { text-align: center; padding: 30px 10px 24px; display: grid; gap: 14px; justify-items: center; }
.qo-spinner { width: 52px; height: 52px; border-radius: 50%; border: 4px solid var(--surface-2); border-top-color: var(--violet); animation: qoSpin 0.9s linear infinite; }
@keyframes qoSpin { to { transform: rotate(360deg); } }

/* Teklif — açık yeşil panel */
.qo-offer { text-align: center; padding: 22px; border-radius: var(--radius); background: linear-gradient(160deg, #e9fff5, #cdf6e1); border: 1px solid #9be6c4; display: grid; gap: 4px; }
.qo-offer__approx { justify-self: center; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #0f5132; background: rgba(255,255,255,0.7); border: 1px solid #9be6c4; border-radius: 999px; padding: 5px 14px; margin-bottom: 6px; }
.qo-offer__label { font-size: 0.98rem; font-weight: 600; color: #14663f; margin: 0; }
.qo-offer__amount { font-family: var(--font-display); font-size: clamp(2.5rem, 9vw, 3.6rem); font-weight: 800; line-height: 1.05; color: #0b7a4b; }
.qo-offer__cur { font-size: 0.45em; font-weight: 700; }
.qo-offer__period { font-size: 0.92rem; font-weight: 600; color: #2f8f63; margin: 0 0 6px; }
.qo-offer__note { font-size: 0.82rem; line-height: 1.55; color: #2c6048; margin: 8px auto 16px; max-width: 420px; }
.qo-offer .btn { justify-self: center; }

/* Takvim — gun cipleri yatay kaydirilabilir (min-width:0 grid-blowout fix:
   grid item default min-width:auto, overflow-x'i bastiriyordu) */
.qo-cal { display: grid; gap: 14px; min-width: 0; }
.qo-dayswrap, .qo-slotswrap { display: flex; align-items: center; gap: 6px; min-width: 0; }
.qo-days { display: flex; flex: 1 1 0; gap: 8px; overflow-x: auto; padding-bottom: 6px; min-width: 0; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
/* Tarih satiri sag/sol kaydirma oklari — funnel toplanti adimi. Oklar tarih
   satirinin YANINDA durur (uzerine BINMEZ; flex item) — kullanici istegi.
   Fare/dokunmatik yatay scroll sezgisel olmadigi icin gorunur ‹ › butonlari.
   is-hidden = visibility:hidden (yer korunur, ok belirip kaybolurken satir
   kaymaz). */
.qo-daynav { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--stroke-strong); color: var(--ink-soft); cursor: pointer; box-shadow: var(--shadow); transition: color 0.16s, border-color 0.16s; }
.qo-daynav:hover { color: var(--ink); border-color: var(--violet-soft); }
.qo-daynav.is-hidden { visibility: hidden; }
.qo-day { flex: 0 0 auto; scroll-snap-align: start; border: 1px solid var(--stroke-strong); background: var(--surface); color: var(--ink-soft); border-radius: 12px; padding: 10px 14px; font: inherit; font-size: 0.84rem; font-weight: 600; cursor: pointer; white-space: nowrap; transition: 0.16s; }
.qo-day.is-sel { border-color: var(--violet); background: rgba(124,108,255,0.16); color: var(--ink); }
.qo-slots { display: flex; flex: 1 1 0; gap: 8px; overflow-x: auto; padding-bottom: 6px; min-width: 0; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.qo-slot { flex: 0 0 auto; scroll-snap-align: start; white-space: nowrap; border: 1px solid var(--stroke-strong); background: var(--surface); color: var(--ink-soft); border-radius: 10px; padding: 10px 18px; font: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: 0.16s; }
.qo-slot:hover { border-color: var(--violet-soft); color: var(--ink); }
.qo-slot.is-sel { border-color: var(--violet); background: rgba(124,108,255,0.2); color: var(--ink); box-shadow: 0 0 0 2px rgba(124,108,255,0.25); }

/* Bitti */
.qo-done { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 16px 6px; }
.qo-done__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #06231a; font-size: 1.6rem; font-weight: 800; }

@media (max-width: 560px) {
  .qo { padding: 0; }
  .qo__dialog { max-width: none; min-height: 100vh; margin: 0; border-radius: 0; border: none; padding: 20px 18px 28px; }
  .qo__step-lbl { display: none; }
  .qo__step { flex: 0 0 auto; }
  .qo__steps { justify-content: flex-start; gap: 10px; }
}

/* Light tema: yeşil teklif paneli kendi açık tonunu taşır; dialog ve chip'ler
   var(--bg-2)/--surface ile otomatik uyum sağlar. Scrim'i hafiflet. */
[data-theme="light"] .qo__scrim { background: rgba(23,21,56,0.45); }
