/* ============================================================
   LL BERK — berk-tech.com
   Dark, technical, deterministic. © 2026 LL BERK YAZILIM TEKNOLOJİLERİ A.Ş.
   ============================================================ */

:root {
  --bg: #0a0e1a;
  --bg-2: #0c111f;
  --panel: #101728;
  --panel-2: #131b30;
  --line: rgba(148, 180, 255, 0.12);
  --line-strong: rgba(148, 180, 255, 0.25);
  --text: #e7ecf6;
  --muted: #9aa7c0;
  --dim: #6b7893;
  --accent: #3aa0ff;
  --accent-2: #7cc4ff;
  --accent-deep: #1e6fe0;
  --glow: rgba(58, 160, 255, 0.35);
  --ok: #34d399;
  --warn: #fbbf24;
  --radius: 10px;
  --radius-lg: 16px;
  --font: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Space Grotesk", "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "JetBrains Mono", Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(58, 160, 255, 0.35); }

a { color: var(--accent-2); text-decoration: none; }
a:hover { color: #a8d4ff; }

img { max-width: 100%; display: block; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- background decor ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 160, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 40%, transparent 100%);
}
.bg-glow {
  position: fixed; z-index: -1; pointer-events: none;
  width: 900px; height: 900px; border-radius: 50%;
  top: -420px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(38, 108, 220, 0.22) 0%, transparent 60%);
}

/* animated vector globe backdrop */
.bg-globe {
  position: fixed; z-index: -1; pointer-events: none;
  top: -120px; right: -200px; width: 800px; height: 800px;
  opacity: 0.5;
  mask-image: radial-gradient(circle at 45% 42%, #000 52%, transparent 76%);
  -webkit-mask-image: radial-gradient(circle at 45% 42%, #000 52%, transparent 76%);
}
.bg-globe svg { width: 100%; height: 100%; }
.bgg-node { animation: bggPulse 4.5s ease-in-out infinite; }
.bgg-n2 { animation-delay: 1.4s; }
.bgg-n3 { animation-delay: 2.6s; }
.bgg-n4 { animation-delay: 3.4s; }
@keyframes bggPulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
.bgg-arc {
  stroke-dasharray: 260; stroke-dashoffset: 260;
  animation: bggArc 8s linear infinite;
}
.bgg-a2 { animation-delay: 2.6s; }
.bgg-a3 { animation-delay: 5.2s; }
@keyframes bggArc {
  0% { stroke-dashoffset: 260; opacity: 0; }
  12% { opacity: 1; }
  55% { stroke-dashoffset: 0; opacity: 1; }
  75% { stroke-dashoffset: 0; opacity: 0; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
@media (max-width: 900px) { .bg-globe { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .bg-globe .bgg-node, .bg-globe .bgg-arc { animation: none; }
  .bgg-arc { stroke-dashoffset: 0; opacity: 0.5; }
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 14, 26, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 28px;
  height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 1.1rem; color: var(--text);
  letter-spacing: 0.02em; white-space: nowrap;
}
.brand img { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 0 6px rgba(58,160,255,.35)); }
.brand .ll { color: var(--accent-2); }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links > a, .nav-drop > button {
  color: var(--muted); font-size: 0.94rem; font-weight: 500;
  padding: 8px 13px; border-radius: 9px; background: none; border: none;
  cursor: pointer; font-family: var(--font); display: flex; align-items: center; gap: 5px;
}
.nav-links > a:hover, .nav-drop > button:hover,
.nav-links > a.active { color: var(--text); background: rgba(120, 160, 255, 0.08); }

.nav-drop { position: relative; }
.nav-drop .caret { font-size: 0.7em; opacity: 0.7; transition: transform 0.2s; }
.nav-drop.open .caret { transform: rotate(180deg); }
.drop-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 280px;
  background: var(--panel); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: none;
}
.nav-drop.open .drop-menu { display: block; }
.drop-menu a {
  display: block; padding: 10px 12px; border-radius: 9px; color: var(--text);
  font-size: 0.92rem;
}
.drop-menu a:hover { background: rgba(120, 160, 255, 0.09); }
.drop-menu a span { display: block; color: var(--dim); font-size: 0.8rem; margin-top: 1px; }

.lang-switch {
  display: flex; align-items: center; gap: 2px;
  border: 1px solid var(--line-strong); border-radius: 9px; padding: 3px;
  margin-left: 8px;
}
.lang-switch a {
  font-size: 0.8rem; font-weight: 600; padding: 3px 9px; border-radius: 6px;
  color: var(--muted);
}
.lang-switch a.on { background: var(--accent-deep); color: #fff; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 11px;
  font-weight: 600; font-size: 0.95rem; font-family: var(--font);
  cursor: pointer; border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn-primary {
  background: linear-gradient(135deg, #2f8fff, #1c5fd6);
  color: #fff; box-shadow: 0 8px 28px rgba(35, 110, 230, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(35, 110, 230, 0.5); color: #fff; }
.btn-ghost {
  background: rgba(120, 160, 255, 0.07); color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(120, 160, 255, 0.13); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 0.88rem; border-radius: 9px; }
.nav .btn { margin-left: 10px; }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong);
  border-radius: 9px; color: var(--text); font-size: 1.3rem; padding: 4px 12px; cursor: pointer;
}

/* ---------- hero ---------- */
.hero { padding: 96px 0 60px; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; color: var(--accent-2);
  border: 1px solid rgba(58, 160, 255, 0.35); border-radius: 999px;
  padding: 6px 16px; margin-bottom: 26px;
  background: rgba(58, 160, 255, 0.07);
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 10px var(--ok);
}
h1, h2, h3, .brand, .stat .num, .metric .v {
  font-family: var(--display);
}

.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
  line-height: 1.12; font-weight: 700; letter-spacing: -0.02em;
  max-width: 850px;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #6db8ff 0%, #3aa0ff 45%, #9fd2ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead {
  margin-top: 24px; font-size: 1.16rem; color: var(--muted);
  max-width: 720px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.stat-band {
  margin-top: 64px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(19, 27, 48, 0.7), rgba(13, 18, 33, 0.7));
  overflow: hidden;
}
.stat { padding: 26px 22px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat .num {
  font-size: 1.75rem; font-weight: 800; letter-spacing: -0.01em;
  background: linear-gradient(120deg, #8ec9ff, #3aa0ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat .lbl { color: var(--dim); font-size: 0.84rem; margin-top: 4px; }

/* ---------- sections ---------- */
section { padding: 76px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(16, 24, 44, 0.55), transparent); }

.kicker {
  font-family: var(--mono);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.kicker::before {
  content: ""; width: 34px; height: 1px; background: var(--accent);
  opacity: 0.6; flex: none;
}

/* signature: cross-platform hash verification ribbon */
.hash-ribbon {
  margin-top: 26px;
  font-family: var(--mono); font-size: 0.76rem; color: var(--dim);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  border: 1px dashed var(--line-strong); border-radius: 8px;
  padding: 12px 18px;
  background: rgba(10, 15, 29, 0.6);
}
.hash-ribbon .h { color: var(--accent-2); }
.hash-ribbon .p { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.hash-ribbon .p b { color: var(--ok); font-weight: 600; }
h2.title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800;
  letter-spacing: -0.015em; line-height: 1.2; max-width: 760px;
}
.section-lead { color: var(--muted); font-size: 1.05rem; max-width: 740px; margin-top: 16px; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 20px; margin-top: 44px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px; position: relative; overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(120, 180, 255, 0.4), transparent);
  opacity: 0; transition: opacity 0.25s;
}
.card:hover {
  transform: translateY(-4px); border-color: var(--line-strong);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(58, 160, 255, 0.12);
}
.card:hover::before { opacity: 1; }

.card .icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700; color: var(--accent-2);
  font-family: var(--mono);
  background: linear-gradient(135deg, rgba(58, 160, 255, 0.18), rgba(30, 111, 224, 0.1));
  border: 1px solid rgba(58, 160, 255, 0.3);
  margin-bottom: 18px;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.16rem; font-weight: 700; margin-bottom: 8px; }
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--accent-2); }
.card p { color: var(--muted); font-size: 0.94rem; }
.card .tagline { color: var(--accent-2); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 0.9rem; font-weight: 600; }

.chiplist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  font-size: 0.78rem; font-weight: 600; color: var(--accent-2);
  background: rgba(58, 160, 255, 0.08); border: 1px solid rgba(58, 160, 255, 0.22);
  border-radius: 999px; padding: 4px 12px; white-space: nowrap;
}
.chip.ok { color: var(--ok); background: rgba(52, 211, 153, 0.07); border-color: rgba(52, 211, 153, 0.25); }

/* ---------- code block ---------- */
.codebox {
  background: #0a0f1d; border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.codebox .bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-bottom: 1px solid var(--line);
  background: rgba(19, 27, 48, 0.6);
}
.codebox .bar .d { width: 11px; height: 11px; border-radius: 50%; }
.codebox .bar .d1 { background: #ff5f57; } .codebox .bar .d2 { background: #febc2e; } .codebox .bar .d3 { background: #28c840; }
.codebox .bar .fname { margin-left: 10px; color: var(--dim); font-family: var(--mono); font-size: 0.8rem; }
.codebox pre {
  padding: 22px 24px; overflow-x: auto;
  font-family: var(--mono); font-size: 0.86rem; line-height: 1.7;
  color: #c9d6ee;
}
.codebox .kw { color: #7cc4ff; font-weight: 600; }
.codebox .st { color: #9ce8b1; }
.codebox .cm { color: #5b6b8c; font-style: italic; }
.codebox .fn { color: #ffd479; }
.codebox .ty { color: #6bd8d0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 44px; }

/* ---------- feature rows / lists ---------- */
.featlist { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.featlist li { display: flex; gap: 13px; color: var(--muted); font-size: 0.97rem; }
.featlist li strong { color: var(--text); }
.featlist .tick {
  flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.35);
  color: var(--ok); font-size: 0.75rem; font-weight: 800;
}

/* ---------- tables ---------- */
.tablewrap { overflow-x: auto; margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
table.cmp { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 640px; }
table.cmp th, table.cmp td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.cmp thead th {
  background: rgba(19, 27, 48, 0.8); color: var(--accent-2);
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em;
}
table.cmp tbody tr:last-child td { border-bottom: none; }
table.cmp td { color: var(--muted); }
table.cmp td:first-child { color: var(--text); font-weight: 600; }
table.cmp .y { color: var(--ok); font-weight: 700; }
table.cmp .n { color: #f87171; }
table.cmp .hl { background: rgba(58, 160, 255, 0.06); }

/* ---------- page hero (subpages) ---------- */
.page-hero { padding: 80px 0 40px; }
.page-hero .crumbs { color: var(--dim); font-size: 0.85rem; margin-bottom: 18px; }
.page-hero .crumbs a { color: var(--dim); }
.page-hero .crumbs a:hover { color: var(--accent-2); }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; max-width: 860px; }
.page-hero .lead { margin-top: 18px; color: var(--muted); font-size: 1.12rem; max-width: 760px; }

/* ---------- metrics strip ---------- */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-top: 40px; }
.metric {
  border: 1px solid var(--line); border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px; background: rgba(16, 23, 40, 0.6);
}
.metric .v { font-size: 1.45rem; font-weight: 800; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.metric .k { color: var(--dim); font-size: 0.83rem; margin-top: 3px; }
/* Urun-bazli metrik kartlari (ana sayfa 04 - her metrik sahibi urunle etiketli) */
.metrics-products { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
a.metric-product { display: block; text-decoration: none; }
a.metric-product:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.metric .pm { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 7px; }

/* ---------- notice ---------- */
.notice {
  margin-top: 48px; border: 1px solid rgba(251, 191, 36, 0.25);
  background: rgba(251, 191, 36, 0.05); border-radius: var(--radius);
  padding: 20px 24px; color: var(--muted); font-size: 0.9rem;
}
.notice strong { color: var(--warn); }

/* ---------- CTA banner ---------- */
.cta-banner {
  margin: 20px 0 0; border-radius: var(--radius-lg); padding: 52px 44px;
  background:
    radial-gradient(ellipse 70% 120% at 20% 0%, rgba(58, 160, 255, 0.2), transparent 55%),
    linear-gradient(180deg, #101a33, #0d1526);
  border: 1px solid var(--line-strong);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.cta-banner h2 { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.01em; }
.cta-banner p { color: var(--muted); margin-top: 8px; max-width: 520px; }

/* ---------- contact form ---------- */
.form-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: 36px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  background: #0a0f1d; border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 13px 15px; color: var(--text); font-family: var(--font); font-size: 0.95rem;
  outline: none; transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(58, 160, 255, 0.18);
}
.field textarea { min-height: 150px; resize: vertical; }
.form-note { color: var(--dim); font-size: 0.83rem; margin-top: 16px; }
.form-status { margin-top: 16px; font-size: 0.92rem; font-weight: 600; display: none; }
.form-status.ok { display: block; color: var(--ok); }
.form-status.err { display: block; color: #f87171; }
.form-status.bekliyor { display: block; color: var(--accent-2); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; box-shadow: none; }

.contact-side .card { margin-bottom: 18px; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line); margin-top: 40px;
  background: rgba(9, 12, 22, 0.8); padding: 56px 0 34px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--dim); margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer ul a { color: var(--muted); font-size: 0.92rem; }
.site-footer ul a:hover { color: var(--accent-2); }
.footer-brand { display: flex; align-items: center; gap: 12px; font-weight: 700; margin-bottom: 14px; }
.footer-brand img { width: 34px; height: 34px; object-fit: contain; }
.footer-desc { color: var(--dim); font-size: 0.88rem; max-width: 320px; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  color: var(--dim); font-size: 0.82rem;
}
.footer-bottom .mono { font-family: var(--mono); font-size: 0.76rem; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(.2,.7,.3,1), transform 0.7s cubic-bezier(.2,.7,.3,1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- prose ---------- */
.prose { max-width: 800px; color: var(--muted); }
.prose p { margin-bottom: 18px; font-size: 1.02rem; }
.prose strong { color: var(--text); }
.prose h3 { color: var(--text); font-size: 1.3rem; margin: 34px 0 12px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg-2); border-bottom: 1px solid var(--line-strong);
    padding: 14px 20px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links > a, .nav-drop > button { padding: 12px 14px; width: 100%; text-align: left; }
  .nav-drop .drop-menu { position: static; display: block; box-shadow: none; border: none; background: transparent; padding: 0 0 0 14px; }
  .nav-drop .caret { display: none; }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
  .lang-switch { margin: 12px 0 0; align-self: flex-start; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .hero { padding: 64px 0 40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px 26px; }
}

/* ---------- mağaza: fiyat planları / sepet / ödeme / yasal (gen_magaza.py) ---------- */
.plan-toggle { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(16, 23, 40, 0.7); margin-top: 8px; }
.plan-toggle button { border: none; background: transparent; color: var(--muted); font: inherit; font-weight: 600; padding: 8px 18px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.plan-toggle button.on { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.plan {
  position: relative; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 6px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.plan:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4); }
.plan.featured { border-color: rgba(58, 160, 255, 0.55); box-shadow: 0 0 0 1px rgba(58, 160, 255, 0.25), 0 24px 60px rgba(0, 0, 0, 0.45); }
.plan.selected { border-color: var(--ok); box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.35); }
.plan-badge { position: absolute; top: -12px; left: 22px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); border-radius: 999px; padding: 5px 12px; }
.plan-name { font-family: var(--display); font-weight: 700; font-size: 1.22rem; }
.plan-inc { color: var(--accent-2); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.plan-price { margin-top: 14px; display: flex; align-items: baseline; gap: 4px; }
.plan-price .amt { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan-price .per { color: var(--dim); font-size: 0.95rem; }
.plan-sub { color: var(--dim); font-size: 0.82rem; min-height: 1.2em; }
.plan-desc { color: var(--muted); font-size: 0.93rem; margin-top: 10px; flex: 1; }
.plan-btn { margin-top: 18px; justify-content: center; }
.plan.selected .plan-btn { background: rgba(52, 211, 153, 0.15); color: var(--ok); box-shadow: none; }

.cart { margin-top: 28px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: rgba(16, 23, 40, 0.75); padding: 24px 26px; }
.cart-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; }
.cart-head h3 { font-size: 1.05rem; font-weight: 700; }
.cart-empty { color: var(--dim); font-size: 0.9rem; }
.cart-row { display: grid; grid-template-columns: 1.6fr auto auto; gap: 24px; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.cart-name { font-weight: 700; font-size: 1.05rem; }
.cart-meta { color: var(--muted); font-size: 0.88rem; margin-top: 3px; }
.seat { display: inline-flex; align-items: center; gap: 6px; }
.seat label { color: var(--dim); font-size: 0.82rem; margin-right: 6px; }
.seat button { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line-strong); background: #0a0f1d; color: var(--text); font-size: 1.1rem; cursor: pointer; }
.seat button:hover { border-color: var(--accent); }
.seat input { width: 58px; text-align: center; background: #0a0f1d; border: 1px solid var(--line-strong); border-radius: 9px; padding: 7px; color: var(--text); font: inherit; font-weight: 600; }
.cart-total { text-align: right; }
.cart-total-lbl { color: var(--dim); font-size: 0.8rem; }
.cart-total-amt { font-size: 1.6rem; font-weight: 800; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.cart-kdv { color: var(--dim); font-size: 0.75rem; }
.cart-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.cart-actions .form-note { margin-top: 0; }

.faq-list { margin-top: 32px; display: grid; gap: 10px; max-width: 860px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(16, 23, 40, 0.6); padding: 0 20px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; color: var(--accent-2); font-weight: 700; }
.faq[open] summary::after { content: "−"; }
.faq p { color: var(--muted); padding: 0 0 16px; font-size: 0.95rem; }
.legal-links { color: var(--dim); font-size: 0.85rem; text-align: center; padding: 8px 0 24px; }
.legal-links a { color: var(--muted); }
.legal-links a:hover { color: var(--accent-2); }

.pay-methods { display: grid; gap: 12px; margin-top: 14px; }
.pay { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line-strong); border-radius: 10px; padding: 14px 16px; background: #0a0f1d; cursor: pointer; }
.pay:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(58, 160, 255, 0.15); }
.pay input { margin-top: 4px; accent-color: var(--accent); }
.pay span { display: flex; flex-direction: column; gap: 3px; }
.pay small { color: var(--dim); font-size: 0.83rem; }
.consents { display: grid; gap: 10px; margin-top: 14px; }
.consents label { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 0.9rem; }
.consents input { margin-top: 3px; accent-color: var(--accent); }
.field label small { color: var(--dim); font-weight: 400; }
.order-side .card { margin-bottom: 18px; }
.order-lines { display: grid; gap: 8px; margin: 16px 0 12px; }
.order-lines div { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.92rem; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.order-lines div b { color: var(--text); font-variant-numeric: tabular-nums; }
.order-lines .tot { border-bottom: none; font-size: 1.05rem; }
.order-lines .tot b { color: var(--accent-2); font-size: 1.25rem; }

.prose.legal { max-width: 860px; }
.prose.legal h2 { font-family: var(--display); font-size: 1.6rem; color: var(--text); margin-bottom: 18px; }
.prose.legal h3 { font-size: 1.12rem; margin: 30px 0 10px; }
.prose.legal p { font-size: 0.98rem; line-height: 1.7; }
.prose.legal .tablewrap { margin: 18px 0 22px; }
.legal-foot { color: var(--dim); font-size: 0.82rem; margin-top: 36px; }

@media (max-width: 980px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } .cart-row { grid-template-columns: 1fr; } .cart-total { text-align: left; } }

/* ---------- ürün alt sayfaları: galeri + lightbox (gen_studio.py) ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.g-item { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: rgba(16, 23, 40, 0.7); transition: border-color 0.2s, transform 0.2s; }
.g-item:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.g-item.g-main { grid-column: span 4; }
.g-item img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #0a0f1d; }
.g-item figcaption { padding: 12px 14px; display: grid; gap: 3px; }
.g-item figcaption b { font-size: 0.92rem; }
.g-item figcaption span { color: var(--dim); font-size: 0.82rem; }
.g-main figcaption b { font-size: 1.02rem; }
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(6, 9, 18, 0.92); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px; cursor: zoom-out; }
.lb[hidden] { display: none; }
.lb img { max-width: 96vw; max-height: 82vh; border-radius: 10px; border: 1px solid var(--line-strong); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.lb-cap { margin-top: 14px; color: var(--muted); font-size: 0.95rem; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(16, 23, 40, 0.8); color: var(--text); font-size: 1.9rem; line-height: 1; cursor: pointer; z-index: 201; }
.lb-nav:hover { background: rgba(30, 42, 70, 0.9); }
.lb-prev { left: 22px; }
.lb-next { right: 22px; }
@media (max-width: 720px) { .lb-nav { width: 40px; height: 40px; font-size: 1.5rem; } }
.lb-x { position: absolute; top: 18px; right: 22px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(16, 23, 40, 0.8); color: var(--text); font-size: 1.4rem; cursor: pointer; }
@media (max-width: 980px) { .gallery { grid-template-columns: repeat(2, 1fr); } .g-item.g-main { grid-column: span 2; } }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr; } .g-item.g-main { grid-column: span 1; } }

/* ---------- kanit tablosu (olculmus deger tablolari) ---------- */
.ktablo-sar { margin-top: 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.ktablo { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.ktablo thead th {
  text-align: left; padding: 13px 16px; background: rgba(16, 23, 40, 0.75);
  color: var(--accent-2); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase; white-space: nowrap;
  border-bottom: 1px solid var(--line-strong);
}
.ktablo tbody th { text-align: left; padding: 12px 16px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.ktablo td { padding: 12px 16px; color: var(--ink); }
.ktablo td.num { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ktablo td.ok { color: #52d18a; font-weight: 800; text-align: center; }
.ktablo td.no { color: #ff7a7a; font-weight: 800; text-align: center; }
.ktablo tbody tr + tr { border-top: 1px solid var(--line); }
.ktablo tbody tr:hover { background: rgba(58, 160, 255, 0.045); }
.ktablo tbody tr.vurgu { background: rgba(58, 160, 255, 0.075); }
.ktablo tbody tr.vurgu th, .ktablo tbody tr.vurgu td { font-weight: 800; color: var(--ink); }
.ktablo-not { margin-top: 12px; color: var(--dim); font-size: 0.83rem; line-height: 1.6; }
@media (max-width: 720px) { .ktablo { font-size: 0.8rem; } .ktablo thead th, .ktablo tbody th, .ktablo td { padding: 10px 11px; } }

/* #A20 (2026-10-12) · üst menü 8 bağlantı (Sosyal Sorumluluk eklendi): bağlantılar satır kırmasın; 1320px altında sıkılaşsın;
   1060px altında menü düğmesine geçilsin (720px kuralıyla aynı açılır menü). Ölçüt: olcut_form.py A20-20 · 760–1440px'te yatay taşma yok. */
.nav-links > a, .nav-drop > button { white-space: nowrap; }
@media (max-width: 1320px) { .nav-links > a, .nav-drop > button { padding: 8px 9px; font-size: 0.9rem; } }
@media (max-width: 1060px) {
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg-2); border-bottom: 1px solid var(--line-strong);
    padding: 14px 20px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links > a, .nav-drop > button { padding: 12px 14px; width: 100%; text-align: left; font-size: 0.94rem; }
  .nav-drop .drop-menu { position: static; display: block; box-shadow: none; border: none; background: transparent; padding: 0 0 0 14px; }
  .nav-drop .caret { display: none; }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
  .lang-switch { margin: 12px 0 0; align-self: flex-start; }
  .nav-toggle { display: block; }
}

/* #A20b (2026-10-12) · İngilizce menü etiketleri daha uzun (Social Responsibility, Technology, Education…): TR'nin sığdığı 1160px
   kapta EN taşıyor, marka sıkışıyordu. Marka hiç küçülmez; EN'de bağlantılar sıkı aralıklı; EN menü düğmesine 1140px altında geçer.
   TR görünümü değişmez. Ölçüt: olcut_form.py A20-21 · 1100–1920px'te marka ile menü arası ≥ 24px, yatay taşma yok. */
.brand { flex-shrink: 0; }
html[lang="en"] .nav-links > a, html[lang="en"] .nav-drop > button { padding: 8px 9px; font-size: 0.9rem; }
@media (max-width: 1140px) {
  html[lang="en"] .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg-2); border-bottom: 1px solid var(--line-strong);
    padding: 14px 20px 20px;
  }
  html[lang="en"] .nav-links.open { display: flex; }
  html[lang="en"] .nav-links > a, html[lang="en"] .nav-drop > button { padding: 12px 14px; width: 100%; text-align: left; font-size: 0.94rem; }
  html[lang="en"] .nav-drop .drop-menu { position: static; display: block; box-shadow: none; border: none; background: transparent; padding: 0 0 0 14px; }
  html[lang="en"] .nav-drop .caret { display: none; }
  html[lang="en"] .nav .btn { margin: 10px 0 0; justify-content: center; }
  html[lang="en"] .lang-switch { margin: 12px 0 0; align-self: flex-start; }
  html[lang="en"] .nav-toggle { display: block; }
}
