/* OtoKapsül landing — renkler ve tipografi packages/design-tokens'tan birebir alındı.
   Uydurma değer yok; uygulama ile aynı paleti kullanır. */

:root {
  color-scheme: dark;

  --app-bg: #151916;
  --bg: #181D1A;
  --surface: #1B211E;
  --surface-raised: #222925;
  --surface-container: #242C27;
  --surface-interactive: #29322D;
  --deep-black: #090C0A;

  --mint: #00E5AE;
  --on-accent: #07110D;
  --accent-soft: rgba(0, 229, 174, 0.11);

  --on-surface: #F2F6F4;
  --on-surface-variant: #C6D0CB;
  --on-surface-muted: #9EAAA4;

  --border: #343C37;
  --border-subtle: rgba(235, 242, 238, 0.09);
  --shadow: rgba(0, 0, 0, 0.34);

  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1120px;
}

:root[data-theme='light'] {
  color-scheme: light;

  --app-bg: #F3F6F3;
  --bg: #EEF2EF;
  --surface: #F9FBF9;
  --surface-raised: #FFFFFF;
  --surface-container: #EDF2EE;
  --surface-interactive: #E7EEE9;
  --deep-black: #101713;

  --mint: #008F6C;
  --on-accent: #FFFFFF;
  --accent-soft: rgba(0, 143, 108, 0.10);

  --on-surface: #17201B;
  --on-surface-variant: #4E5C54;
  --on-surface-muted: #6D7B73;

  --border: #D4DDD7;
  --border-subtle: rgba(24, 40, 32, 0.09);
  --shadow: rgba(24, 40, 32, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--app-bg);
  color: var(--on-surface);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .25s ease;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--sans); letter-spacing: -0.02em; margin: 0; line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mint);
}

/* ---------------------------------------------------------------- başlık */

header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--app-bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; margin-right: auto; }
.brand img { width: 32px; height: 32px; display: block; }
.brand span { font-family: var(--sans); font-weight: 800; font-size: 1.12rem; color: var(--mint); letter-spacing: -0.02em; }

.nav-links { display: flex; gap: 22px; }
.nav-links a {
  color: var(--on-surface-variant); text-decoration: none; font-size: .93rem; font-weight: 500;
  padding: 6px 0; border-bottom: 2px solid transparent; transition: color .18s, border-color .18s;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--on-surface); border-bottom-color: var(--mint); }
@media (max-width: 860px) { .nav-links { display: none; } }

.controls { display: flex; gap: 8px; }
.icon-btn, .lang-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; min-width: 38px; padding: 0 12px;
  background: var(--surface-container); color: var(--on-surface);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .06em;
  cursor: pointer; transition: background-color .18s, border-color .18s, transform .12s;
}
.icon-btn:hover, .lang-btn:hover { background: var(--surface-interactive); border-color: var(--mint); }
.icon-btn:active, .lang-btn:active { transform: translateY(1px); }
.icon-btn svg { width: 17px; height: 17px; }
.lang-btn[aria-pressed='true'] { background: var(--accent-soft); border-color: var(--mint); color: var(--mint); }

/* ------------------------------------------------------------------ hero */

.hero { position: relative; padding: 84px 0 72px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(560px 420px at 22% 18%, var(--accent-soft), transparent 68%),
    radial-gradient(460px 360px at 82% 8%, var(--accent-soft), transparent 66%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; } }

.hero h1 { margin: 14px 0 18px; }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero-sub { color: var(--on-surface-variant); font-size: 1.08rem; max-width: 52ch; margin-bottom: 30px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 24px; border-radius: 12px; font-family: var(--sans);
  font-weight: 700; font-size: .97rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .14s, box-shadow .2s, background-color .2s;
}
.btn-primary { background: var(--mint); color: var(--on-accent); box-shadow: 0 8px 24px -10px var(--mint); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px var(--mint); }
.btn-ghost { background: transparent; color: var(--mint); border-color: var(--mint); }
.btn-ghost:hover { background: var(--accent-soft); transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; }

.hero-note { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .87rem; color: var(--on-surface-muted); }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); flex: none; }

/* telefon maketi */
.phone-stage { display: flex; justify-content: center; }
.phone {
  width: 292px; aspect-ratio: 292 / 600;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 38px; padding: 12px;
  box-shadow: 0 40px 80px -34px var(--shadow), 0 0 0 8px color-mix(in srgb, var(--surface) 60%, transparent);
}
.phone-inner {
  height: 100%; background: var(--surface); border-radius: 27px;
  padding: 22px 18px; display: flex; flex-direction: column; gap: 14px; overflow: hidden;
}
.notch { width: 84px; height: 20px; background: var(--deep-black); border-radius: 12px; margin: 0 auto 4px; }
.phone-brand { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 4px; }
.phone-brand img { width: 24px; height: 24px; }
.phone-brand b { font-family: var(--sans); color: var(--mint); font-size: .95rem; }
.phone-title { font-family: var(--sans); font-weight: 800; font-size: 1.22rem; line-height: 1.2; }
.phone-sub { font-size: .78rem; color: var(--on-surface-muted); }
.seg { display: flex; gap: 4px; padding: 4px; background: var(--surface-container); border-radius: 12px; }
/* Etiket dili değişince uzayabilir; segment tek satır kalır, taşmaz. */
.seg div { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seg div {
  flex: 1; text-align: center; padding: 9px 0; border-radius: 9px;
  font-size: .78rem; font-weight: 600; color: var(--on-surface-muted);
}
.seg div.on { background: var(--accent-soft); color: var(--mint); border: 1px solid var(--mint); }
.pill {
  padding: 13px 15px; border-radius: 12px; background: var(--surface-container);
  border: 1px solid var(--border-subtle); font-size: .82rem;
}
.pill b { display: block; font-family: var(--sans); font-size: .92rem; margin-bottom: 2px; }
.pill small { color: var(--on-surface-muted); font-family: var(--mono); font-size: .7rem; letter-spacing: .04em; }
.pill.accent { background: var(--mint); color: var(--on-accent); border-color: var(--mint); text-align: center; font-weight: 700; }
.pill.accent b { margin: 0; }

/* -------------------------------------------------------------- bölümler */

section { padding: 76px 0; }
section.alt { background: var(--bg); border-block: 1px solid var(--border-subtle); }
.sec-head { max-width: 60ch; margin-bottom: 40px; }
.sec-head h2 { margin: 12px 0 12px; }
.sec-head p { color: var(--on-surface-variant); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 940px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover { border-color: var(--mint); transform: translateY(-3px); box-shadow: 0 18px 38px -24px var(--shadow); }
.card h3 { margin: 14px 0 8px; }
.card p { color: var(--on-surface-variant); font-size: .95rem; }

.card-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); color: var(--mint);
  display: flex; align-items: center; justify-content: center;
}
.card-ico svg { width: 22px; height: 22px; }

/* sektör kartı */
.sector { position: relative; overflow: hidden; }
.sector .modes { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.mode {
  flex: 1 1 160px; padding: 14px 15px; border-radius: 12px;
  background: var(--surface-container); border: 1px solid var(--border-subtle);
}
.mode b { display: block; font-family: var(--sans); font-size: .9rem; margin-bottom: 3px; }
.mode span { font-size: .82rem; color: var(--on-surface-muted); }
.badge {
  position: absolute; top: 22px; right: 22px;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .1em;
  color: var(--mint); background: var(--accent-soft);
  padding: 5px 9px; border-radius: 6px;
}

/* adımlar */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 940px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 46px; }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--mono); font-size: 1.5rem; font-weight: 500; color: var(--mint);
}
.step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.step p { color: var(--on-surface-variant); font-size: .92rem; }

/* iki kitle */
.aud { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 860px) { .aud { grid-template-columns: 1fr; } }
.aud-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.aud-card.hi { background: var(--surface-raised); border-color: var(--mint); }
.aud-card ul { list-style: none; padding: 0; margin: 18px 0 0; }
.aud-card li { display: flex; gap: 11px; padding: 9px 0; font-size: .95rem; color: var(--on-surface-variant); }
.aud-card li svg { width: 17px; height: 17px; color: var(--mint); flex: none; margin-top: 3px; }

/* SSS */
details {
  border: 1px solid var(--border); border-radius: 12px;
  padding: 0 20px; margin-bottom: 12px; background: var(--surface);
}
details[open] { border-color: var(--mint); }
summary {
  cursor: pointer; padding: 18px 0; font-family: var(--sans); font-weight: 700; font-size: 1rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--mint); font-size: 1.4rem; font-weight: 400; line-height: 1; }
details[open] summary::after { content: '−'; }
details p { padding-bottom: 20px; color: var(--on-surface-variant); font-size: .95rem; }

/* kapanış */
.final {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; padding: 54px 40px; text-align: center;
  position: relative; overflow: hidden;
}
.final::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px 300px at 50% 0%, var(--accent-soft), transparent 70%);
}
.final > * { position: relative; }
.final h2 { margin: 12px 0 14px; }
.final p { color: var(--on-surface-variant); max-width: 54ch; margin: 0 auto 28px; }
.final .cta-row { justify-content: center; margin-bottom: 0; }

/* alt bilgi */
footer { border-top: 1px solid var(--border-subtle); padding: 44px 0 34px; background: var(--bg); }
.foot { display: flex; flex-wrap: wrap; gap: 26px; align-items: flex-start; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-links a { color: var(--on-surface-muted); text-decoration: none; font-size: .89rem; }
.foot-links a:hover { color: var(--mint); }
.copy { width: 100%; padding-top: 22px; border-top: 1px solid var(--border-subtle); color: var(--on-surface-muted); font-size: .82rem; }

/* erişilebilirlik */
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }
.skip {
  position: absolute; left: -9999px; top: 12px;
  background: var(--mint); color: var(--on-accent); padding: 10px 18px; border-radius: 8px;
  font-weight: 700; z-index: 100;
}
.skip:focus { left: 24px; }

/* "çok yakında" duyuru şeridi — header'ın ÜSTÜNDE durur ve onunla birlikte
   yapışmaz; ziyaretçi bir kez okusun, sonra yoldan çekilsin. */
.soon {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 9px 16px;
  background: var(--accent-soft);
  border-bottom: 1px solid var(--border-subtle);
  color: var(--mint);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-align: center;
}
.ping { position: relative; width: 7px; height: 7px; flex: none; }
.ping::before, .ping::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--mint);
}
.ping::after { animation: ping 1.9s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 70%, 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ping::after { animation: none; } }

/* giriş animasyonu */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
