/* =====================================================================
   ÜÇGEN BULUT — ORTAK SİTE STİLİ
   index.html / iletisim.html / bayi-basvuru.html tarafından paylaşılır.
   ===================================================================== */

:root {
  --bg: #f3f7fb;
  --bg-soft: #e9f1f8;
  --surface: #ffffff;
  --surface-2: #f7fafc;
  --ink: #0e1a2b;
  --ink-soft: #4c5f75;
  --ink-faint: #8296ab;
  --line: #d9e4ee;
  --accent: #0284c7;
  --accent-2: #0369a1;
  --accent-glow: #38bdf8;
  --good: #0d9488;
  --warn: #c2740c;
  --danger: #dc2626;
  --shadow: 0 1px 2px rgba(15, 40, 70, 0.04), 0 12px 32px -12px rgba(15, 40, 70, 0.14);
  --radius: 18px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070c14;
    --bg-soft: #0b1220;
    --surface: #0e1626;
    --surface-2: #0b1220;
    --ink: #eef4fb;
    --ink-soft: #9db0c6;
    --ink-faint: #607289;
    --line: #1c2a3d;
    --accent: #38bdf8;
    --accent-2: #7dd3fc;
    --accent-glow: #38bdf8;
    --good: #2dd4bf;
    --warn: #fbbf6d;
    --danger: #f87171;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 20px 40px -16px rgba(0, 0, 0, 0.55);
  }
}
:root[data-theme="dark"] {
  --bg: #070c14;
  --bg-soft: #0b1220;
  --surface: #0e1626;
  --surface-2: #0b1220;
  --ink: #eef4fb;
  --ink-soft: #9db0c6;
  --ink-faint: #607289;
  --line: #1c2a3d;
  --accent: #38bdf8;
  --accent-2: #7dd3fc;
  --accent-glow: #38bdf8;
  --good: #2dd4bf;
  --warn: #fbbf6d;
  --danger: #f87171;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 20px 40px -16px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.mono { font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace; }

h1, h2, h3, h4 { text-wrap: balance; margin: 0; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
section { position: relative; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 17px; letter-spacing: -0.01em; flex-shrink: 0; }
.brand .tag { font-family: "JetBrains Mono", monospace; font-size: 10px; font-weight: 700; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); background: color-mix(in srgb, var(--accent) 10%, transparent); border-radius: 6px; padding: 2px 6px; letter-spacing: 0.03em; margin-left: 2px; }
.brand img.logo { width: 30px; height: 30px; border-radius: 8px; display: block; box-shadow: 0 2px 6px -2px rgba(15, 40, 70, 0.35); }
.footer-brand .brand img.logo { width: 26px; height: 26px; border-radius: 7px; }
.navlinks { display: flex; align-items: center; gap: 30px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); }
.navlinks a { transition: color 0.15s ease; white-space: nowrap; }
.navlinks a:hover, .navlinks a:focus-visible { color: var(--accent); }
.navlinks a.navlink-cta { color: var(--accent); font-weight: 700; }
.nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.theme-btn {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface);
  display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink-soft); flex-shrink: 0;
}
.theme-btn:hover { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: "Inter", sans-serif; font-weight: 700; font-size: 14.5px;
  padding: 12px 22px; border-radius: 11px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -6px color-mix(in srgb, var(--accent) 75%, transparent); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); color: var(--accent); }
.btn-lg { padding: 15px 28px; font-size: 15.5px; border-radius: 13px; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }
.btn svg { width: 16px; height: 16px; }

/* ---------- mobile nav ---------- */
.nav-mobile-toggle {
  display: none; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface);
  align-items: center; justify-content: center; cursor: pointer; color: var(--ink); flex-shrink: 0;
}
.mobile-menu {
  display: none; position: fixed; inset: 74px 0 0 0; z-index: 49; background: var(--bg);
  overflow-y: auto; padding: 8px 28px 32px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 2px; font-size: 16.5px; font-weight: 600;
  color: var(--ink); border-bottom: 1px solid var(--line);
}
.mobile-menu a.navlink-cta { color: var(--accent); }
.mobile-menu .mobile-menu-ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
body.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { padding: 92px 0 64px; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.06; margin: 20px 0 22px; }
.hero h1 .accent { color: var(--accent); }
.hero-sub { font-size: 18px; color: var(--ink-soft); max-width: 46ch; margin-bottom: 34px; }
.hero-ctas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-fineprint { font-size: 13px; color: var(--ink-faint); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-fineprint svg { width: 14px; height: 14px; color: var(--good); flex-shrink: 0; }

.hero-panel {
  position: relative; border-radius: 22px; overflow: hidden;
  background: radial-gradient(120% 140% at 20% 0%, #0c2338 0%, #071527 55%, #050d18 100%);
  border: 1px solid #16324a; box-shadow: var(--shadow);
  aspect-ratio: 1 / 0.92;
}
.hero-panel canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-panel-hud {
  position: absolute; inset: 0; padding: 20px 22px; display: flex; flex-direction: column; justify-content: space-between;
  pointer-events: none;
}
.hud-top { display: flex; justify-content: space-between; align-items: flex-start; font-family: "JetBrains Mono", monospace; }
.hud-tag { font-size: 10.5px; letter-spacing: 0.1em; color: #6fb8e8; background: rgba(56,189,248,0.09); border: 1px solid rgba(56,189,248,0.28); padding: 5px 9px; border-radius: 7px; }
.hud-nodes { display: flex; flex-direction: column; gap: 8px; align-self: flex-end; }
.hud-node { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: #b9d4ec; background: rgba(7,20,35,0.55); border: 1px solid rgba(56,189,248,0.18); padding: 5px 10px; border-radius: 8px; }
.hud-dot { width: 6px; height: 6px; border-radius: 50%; background: #2dd4bf; box-shadow: 0 0 0 3px rgba(45,212,191,0.18); }
.hud-dot.off { background: #64748b; box-shadow: 0 0 0 3px rgba(100,116,139,0.18); }
.hud-bottom { display: flex; justify-content: space-between; align-items: flex-end; font-family: "JetBrains Mono", monospace; }
.hud-stat-label { font-size: 10px; letter-spacing: 0.08em; color: #6a86a3; text-transform: uppercase; }
.hud-stat-value { font-size: 20px; font-weight: 700; color: #eaf6ff; font-variant-numeric: tabular-nums; }

/* ---------- page hero (subpages: İletişim / Bayi Ol) ---------- */
.page-hero { padding: 64px 0 20px; }
.page-hero h1 { font-size: clamp(30px, 3.6vw, 44px); margin: 16px 0 14px; }
.page-hero p { font-size: 17px; color: var(--ink-soft); max-width: 56ch; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-faint); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- stat strip ---------- */
.statstrip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-2); }
.statstrip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-cell { padding: 26px 20px; text-align: center; border-left: 1px solid var(--line); }
.stat-cell:first-child { border-left: none; }
.stat-value { font-family: "JetBrains Mono", monospace; font-size: 26px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 12.5px; color: var(--ink-soft); margin-top: 5px; }

/* ---------- section heading ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(28px, 3vw, 38px); margin-top: 14px; }
.section-head p { font-size: 16.5px; color: var(--ink-soft); margin-top: 14px; }
.section-alt { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  display: flex; flex-direction: column; gap: 14px; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.feature-card:hover { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); transform: translateY(-2px); box-shadow: var(--shadow); }
.feature-icon { width: 42px; height: 42px; border-radius: 11px; background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.feature-icon svg { width: 21px; height: 21px; }
.feature-card h3 { font-size: 16.5px; font-weight: 700; }
.feature-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }
.feature-tag { font-family: "JetBrains Mono", monospace; font-size: 10.5px; color: var(--ink-faint); letter-spacing: 0.06em; }

/* ---------- pipeline ---------- */
.pipeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; position: relative; }
.pipeline::before { content: ""; position: absolute; top: 23px; left: 6%; right: 6%; height: 1px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); z-index: 0; }
.step { position: relative; z-index: 1; padding: 0 14px; text-align: left; }
.step-num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--accent);
  color: var(--accent); font-family: "JetBrains Mono", monospace; font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-variant-numeric: tabular-nums;
}
.step h4 { font-size: 15px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }

/* ---------- security split ---------- */
.security-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 60px; align-items: center; }
.security-diagram {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow);
}
.diag-row { display: flex; align-items: center; gap: 12px; }
.diag-box { flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 14px 14px; text-align: center; background: var(--surface-2); }
.diag-box.locked { border-color: color-mix(in srgb, var(--good) 45%, var(--line)); background: color-mix(in srgb, var(--good) 7%, var(--surface-2)); }
.diag-box .diag-label { font-family: "JetBrains Mono", monospace; font-size: 10.5px; color: var(--ink-faint); letter-spacing: 0.06em; text-transform: uppercase; }
.diag-box .diag-title { font-size: 13.5px; font-weight: 700; margin-top: 4px; }
.diag-arrow { color: var(--ink-faint); flex-shrink: 0; }
.diag-arrow svg { width: 22px; height: 14px; }
.diag-note { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--ink-soft); display: flex; gap: 9px; }
.diag-note svg { width: 15px; height: 15px; color: var(--warn); flex-shrink: 0; margin-top: 1px; }

.security-list { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.security-item { display: flex; gap: 16px; }
.security-item .num { font-family: "JetBrains Mono", monospace; font-weight: 700; color: var(--accent); font-size: 14px; flex-shrink: 0; width: 26px; }
.security-item h4 { font-size: 15.5px; margin-bottom: 6px; }
.security-item p { font-size: 14px; color: var(--ink-soft); }

/* ---------- trust badges ---------- */
.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px;
}
.trust-badge svg { width: 14px; height: 14px; color: var(--good); flex-shrink: 0; }

/* ---------- bayi / partner promo band ---------- */
.bayi-band {
  border-radius: 26px; padding: 56px 48px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, var(--surface)) 0%, var(--surface) 60%);
  border: 1px solid var(--line);
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center;
}
.bayi-band-copy h2 { font-size: clamp(24px, 2.8vw, 32px); }
.bayi-band-copy p { font-size: 15.5px; color: var(--ink-soft); margin-top: 14px; max-width: 50ch; }
.bayi-band-actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.bayi-band-perks { display: flex; flex-direction: column; gap: 16px; }
.bayi-perk { display: flex; gap: 12px; align-items: flex-start; }
.bayi-perk svg { width: 18px; height: 18px; color: var(--good); flex-shrink: 0; margin-top: 2px; }
.bayi-perk span { font-size: 14px; color: var(--ink); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  margin: 0 28px 0; border-radius: 26px; padding: 64px 48px;
  background: radial-gradient(120% 160% at 15% 0%, #0c2338 0%, #071527 60%, #050d18 100%);
  border: 1px solid #16324a; color: #eaf6ff; text-align: center; overflow: clip; position: relative;
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.2vw, 34px); }
.cta-band p { color: #a9c6de; font-size: 16px; margin: 14px auto 30px; max-width: 52ch; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-band .btn-ghost { border-color: rgba(148,197,232,0.35); color: #dbeeff; }
.cta-band .btn-ghost:hover { border-color: var(--accent-glow); color: #fff; }

/* ---------- forms (İletişim / Bayi Başvurusu) ---------- */
.form-shell { display: grid; grid-template-columns: 1fr 0.85fr; gap: 48px; align-items: start; }
.form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-field label { font-size: 13px; font-weight: 700; color: var(--ink); }
.form-field label .opt { font-weight: 500; color: var(--ink-faint); }
.form-field input, .form-field textarea {
  font-family: inherit; font-size: 14.5px; color: var(--ink); background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit-row { display: flex; align-items: center; gap: 14px; margin-top: 4px; flex-wrap: wrap; }
.form-status { font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.form-status.ok { color: var(--good); }
.form-status.err { color: var(--danger); }
.form-status svg { width: 16px; height: 16px; flex-shrink: 0; }
.form-privacy-note { display: flex; gap: 9px; margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--ink-faint); }
.form-privacy-note svg { width: 15px; height: 15px; color: var(--ink-faint); flex-shrink: 0; margin-top: 1px; }

.side-info { display: flex; flex-direction: column; gap: 18px; }
.side-info-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px; }
.side-info-card h4 { font-size: 14.5px; margin-bottom: 8px; }
.side-info-card p, .side-info-card a { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }
.side-info-card a.side-info-link { color: var(--accent); font-weight: 600; display: inline-block; margin-top: 4px; }

/* ---------- footer ---------- */
footer { padding: 64px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-brand p { font-size: 13.5px; color: var(--ink-soft); margin-top: 14px; max-width: 32ch; }
.footer-col h5 { font-family: "JetBrains Mono", monospace; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px; font-weight: 700; }
.footer-col a, .footer-col span { display: block; font-size: 14px; color: var(--ink-soft); margin-bottom: 11px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 12.5px; color: var(--ink-faint); flex-wrap: wrap; gap: 12px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { aspect-ratio: 16/10; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .pipeline::before { display: none; }
  .security-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .statstrip-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(3) { border-left: none; }
  .bayi-band { grid-template-columns: 1fr; padding: 40px 32px; }
  .form-shell { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .navlinks { display: none; }
  /* Header'daki "Panele Giriş Yap" birincil butonu dar ekranda kaldırılır — aynı CTA zaten
     hamburger menüsü açıldığında (.mobile-menu-ctas) tam boyutlu olarak duruyor. Metni gizleyip
     butonu ikon-only bırakmak yerine tamamen kaldırmak tercih edildi: yoksa buton çok az yatay
     alanda kalıp içindeki SVG ikonu sıkışıp genişliği 0'a inebiliyordu. */
  .nav-right > a.btn-primary { display: none; }
  .nav-mobile-toggle { display: flex; }
  .feature-grid { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 46px 26px; margin: 0 16px; }
  .hero { padding: 56px 0 48px; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 26px 22px; }
  .bayi-band-perks { order: -1; }
}
