:root {
  --bg-0: #07091a;
  --bg-1: #0b1220;
  --bg-2: #11192b;
  --bg-3: #1a2336;
  --line: #1f2940;
  --text: #e8ecf6;
  --text-dim: #a3aac0;
  --text-mute: #6b7290;
  --accent: #6366f1;
  --accent-hi: #818cf8;
  --accent-2: #14b8a6;
  --warn: #f59e0b;
  --bad: #ef4444;
  --good: #10b981;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 60px -20px rgba(99, 102, 241, 0.25);
  --max: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Roboto", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg-0);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* Layout helpers */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; position: relative; }
@media (max-width: 720px) { section { padding: 64px 0; } }

/* === Top nav === */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 9, 26, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(31, 41, 64, 0.6);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: var(--max); margin: 0 auto;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px; letter-spacing: -0.01em;
}
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 6px 20px -6px var(--accent);
  display: grid; place-items: center;
}
.brand-mark svg { width: 16px; height: 16px; color: white; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 14px; color: var(--text-dim); transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 8px 16px; border-radius: 999px;
  background: var(--accent); color: white !important;
  font-weight: 600; font-size: 14px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px var(--accent); }
.lang-switch {
  font-size: 13px; color: var(--text-mute); letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 6px;
}
.lang-switch a { color: var(--text-mute); transition: color 0.15s; }
.lang-switch a:hover { color: var(--text); }
.lang-switch a.lang-active { color: var(--text); font-weight: 700; }
@media (max-width: 720px) { .nav-links a:not(.nav-cta) { display: none; } .lang-switch { display: none; } }

/* === Hero === */
.hero {
  padding: 120px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(99, 102, 241, 0.22), transparent 60%),
    radial-gradient(50% 40% at 80% 0%, rgba(20, 184, 166, 0.18), transparent 60%),
    radial-gradient(40% 50% at 50% 100%, rgba(99, 102, 241, 0.14), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent 70%);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.28);
  color: var(--accent-hi);
  font-size: 13px; font-weight: 500; letter-spacing: 0.01em;
  margin-bottom: 24px;
}
.hero-eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(20, 184, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); }
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 920px;
  margin-bottom: 24px;
}
.hero h1 .grad {
  background: linear-gradient(135deg, var(--accent-hi) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--text-dim);
  max-width: 720px;
  margin-bottom: 40px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 12px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.005em;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary {
  background: var(--accent); color: white;
  box-shadow: 0 10px 30px -12px var(--accent);
}
.btn-primary:hover { background: var(--accent-hi); transform: translateY(-1px); box-shadow: 0 14px 36px -10px var(--accent); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); }
.btn-arrow { width: 16px; height: 16px; transition: transform 0.15s; }
.btn:hover .btn-arrow { transform: translateX(3px); }
.micro-trust {
  margin-top: 36px;
  color: var(--text-mute); font-size: 14px;
  display: flex; gap: 24px; flex-wrap: wrap;
}
.micro-trust span { display: inline-flex; gap: 6px; align-items: center; }
.micro-trust svg { width: 14px; height: 14px; color: var(--accent-2); }

/* === Stats === */
.stats {
  padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-1);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px;
  text-align: center;
}
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.stat-num {
  font-size: clamp(28px, 3vw, 40px); font-weight: 800;
  color: var(--text);
  background: linear-gradient(135deg, var(--accent-hi), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}
.stat-label { font-size: 13px; color: var(--text-mute); margin-top: 4px; letter-spacing: 0.04em; text-transform: uppercase; }

/* === Section heading === */
.section-head { text-align: center; margin-bottom: 64px; }
.section-head .kicker {
  color: var(--accent-hi);
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.15;
  max-width: 780px; margin: 0 auto 16px;
}
.section-head p {
  color: var(--text-dim); font-size: 17px;
  max-width: 640px; margin: 0 auto;
}

/* === Audience grid === */
.audience-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
@media (max-width: 980px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .audience-grid { grid-template-columns: 1fr; } }
.audience-card {
  padding: 28px 24px; border-radius: var(--radius);
  background: var(--bg-1); border: 1px solid var(--line);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.audience-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  background: var(--bg-2);
}
.audience-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-hi);
  margin-bottom: 16px;
}
.audience-icon svg { width: 22px; height: 22px; }
.audience-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
.audience-card p { font-size: 14px; color: var(--text-dim); line-height: 1.5; }

/* === Features alternating === */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; padding: 80px 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row.flip .feature-text { order: 2; }
@media (max-width: 880px) {
  .feature-row { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .feature-row.flip .feature-text { order: 0; }
}
.feature-text .tag {
  display: inline-block; padding: 4px 10px; border-radius: 6px;
  background: rgba(99, 102, 241, 0.14); color: var(--accent-hi);
  font-size: 12px; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 14px;
}
.feature-text h3 {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.2;
  margin-bottom: 16px;
}
.feature-text p { color: var(--text-dim); font-size: 16px; margin-bottom: 20px; }
.feature-text ul { list-style: none; }
.feature-text li {
  padding: 10px 0; padding-left: 28px; position: relative;
  color: var(--text); font-size: 15px;
}
.feature-text li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-2);
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M6.5 11.6L3.4 8.5l1.4-1.4 1.7 1.7L11.2 4l1.4 1.4z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M6.5 11.6L3.4 8.5l1.4-1.4 1.7 1.7L11.2 4l1.4 1.4z'/></svg>");
}
.feature-visual {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.feature-visual::before {
  content: ""; position: absolute; inset: 0;
  border-radius: var(--radius); pointer-events: none;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), transparent 60%);
}

/* === Mock UI panels === */
.mock-window {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden;
}
.mock-titlebar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; background: var(--bg-3); border-bottom: 1px solid var(--line);
}
.mock-titlebar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-1); }
.mock-titlebar .title { margin-left: 12px; font-size: 12px; color: var(--text-mute); font-family: var(--mono); }
.mock-body { padding: 16px; font-size: 13px; }
.mock-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px dashed var(--line);
}
.mock-row:last-child { border-bottom: none; }
.mock-row .label { color: var(--text-dim); }
.mock-row .badge {
  padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600;
  font-family: var(--mono);
}
.badge-good { background: rgba(16, 185, 129, 0.14); color: var(--good); }
.badge-warn { background: rgba(245, 158, 11, 0.14); color: var(--warn); }
.badge-bad { background: rgba(239, 68, 68, 0.14); color: var(--bad); }

/* === LLM showcase === */
.llm-showcase {
  background: var(--bg-1);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.llm-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px;
  align-items: center;
}
@media (max-width: 880px) { .llm-grid { grid-template-columns: 1fr; gap: 32px; } }
.llm-text .badge-tr {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.14), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px; font-weight: 600; color: var(--text);
  margin-bottom: 20px;
}
.llm-prompt-card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow);
}
.prompt-line { font-family: var(--mono); font-size: 13px; color: var(--text-dim); margin-bottom: 14px; }
.prompt-line .you { color: var(--accent-hi); font-weight: 600; }
.citation {
  display: flex; gap: 10px; padding: 10px 12px;
  background: var(--bg-3); border-radius: 8px;
  margin-bottom: 6px;
  font-size: 13px;
}
.citation .rank {
  flex: none; width: 22px; height: 22px; border-radius: 6px;
  display: grid; place-items: center;
  background: var(--accent); color: white; font-weight: 700; font-size: 12px;
}
.citation .name { color: var(--text); font-weight: 600; }
.citation .src { color: var(--text-mute); margin-left: auto; font-family: var(--mono); font-size: 11px; }
.llm-providers {
  display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap;
}
.llm-pill {
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  font-size: 12px; color: var(--text-dim);
  font-family: var(--mono);
}

/* === Pricing === */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (min-width: 1100px) { .pricing-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 880px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  padding: 32px 28px; border-radius: var(--radius);
  background: var(--bg-1); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  position: relative;
}
.price-card.featured {
  border: 1px solid var(--accent);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.08), var(--bg-1));
  box-shadow: 0 30px 80px -30px rgba(99, 102, 241, 0.3);
}
.price-card.featured::before {
  content: "En popüler";
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: white;
  padding: 4px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.price-tier { font-size: 14px; color: var(--text-mute); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.price-amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price-amount .num { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; }
.price-amount .per { color: var(--text-mute); font-size: 14px; }
.price-tagline { color: var(--text-dim); font-size: 14px; margin-bottom: 24px; min-height: 42px; }
.price-card ul { list-style: none; margin-bottom: 24px; flex-grow: 1; }
.price-card li {
  padding: 8px 0 8px 26px; position: relative;
  color: var(--text); font-size: 14px;
}
.price-card li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(16, 185, 129, 0.14); color: var(--good);
  font-size: 11px; font-weight: 700;
}
.price-card li.muted { color: var(--text-mute); }
.price-card li.muted::before { content: "—"; background: rgba(255,255,255,0.04); color: var(--text-mute); }
.price-card .btn { width: 100%; justify-content: center; }

/* === Comparison === */
.compare {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td {
  padding: 16px 20px; text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.compare th {
  font-weight: 700; color: var(--text);
  background: var(--bg-2); border-bottom: 1px solid var(--line);
}
.compare th.us { color: var(--accent-hi); }
.compare td:first-child { color: var(--text-dim); }
.compare td.check {
  text-align: center;
  color: var(--good); font-weight: 700;
}
.compare td.cross { text-align: center; color: var(--text-mute); }
.compare tr:last-child td { border-bottom: none; }

/* === Plugin map === */
.plugin-map {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px;
}
@media (max-width: 980px) { .plugin-map { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .plugin-map { grid-template-columns: repeat(2, 1fr); } }
.plugin-pill {
  padding: 12px 14px; border-radius: 10px;
  background: var(--bg-1); border: 1px solid var(--line);
  font-size: 13px; color: var(--text-dim);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.plugin-pill:hover { border-color: rgba(99, 102, 241, 0.4); color: var(--text); background: var(--bg-2); }
.plugin-pill .cat {
  display: block; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-hi); margin-bottom: 2px; font-weight: 700;
}

/* === Final CTA === */
.final-cta {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(99, 102, 241, 0.25), transparent 60%),
    var(--bg-1);
  text-align: center; padding: 120px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.final-cta h2 {
  font-size: clamp(32px, 4vw, 48px); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 16px;
}
.final-cta p {
  color: var(--text-dim); font-size: 18px; margin-bottom: 32px;
  max-width: 560px; margin-inline: auto;
}

/* === Footer === */
footer {
  padding: 56px 24px 40px;
  background: var(--bg-0);
}
.footer-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 14px; color: var(--text-dim); }
.footer-col a:hover { color: var(--text); }
.footer-meta {
  max-width: var(--max); margin: 0 auto; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--text-mute); font-size: 13px;
}

/* Animation utility */
.reveal { animation: rise 0.6s ease-out backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
