:root {
  --bg: #0a0c10;
  --bg2: #10131a;
  --card: #151a24;
  --ink: #f2f4f7;
  --muted: #a0a8b8;
  --primary: #2e7ff2;
  --primary-dim: rgba(46, 127, 242, 0.1);
  --neon: #00f0ff;
  --neon-glow: rgba(0, 240, 255, 0.35);
  --gold: #c9a227;
  --gold-dim: rgba(201, 162, 39, 0.08);
  --line: rgba(255, 255, 255, 0.07);
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Sora', 'Inter', sans-serif; line-height: 1.15; letter-spacing: -0.02em; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 720px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 8, 12, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  font-weight: 800; font-size: 1.3rem; color: var(--ink); text-decoration: none;
  font-family: 'Sora', sans-serif; letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 10px;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), #0077ff);
  display: inline-flex; align-items: center; justify-content: center;
}
.brand-mark svg { width: 20px; height: 20px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.15s; }
.nav a:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: none; color: var(--ink); font-size: 1.5rem; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 8px;
  font-weight: 700; text-decoration: none; cursor: pointer; border: none;
  font-size: 1rem; transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #1a5fd0);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25), 0 2px 12px rgba(46, 127, 242, 0.3);
  position: relative;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(0, 240, 255, 0.45), 0 4px 20px rgba(46, 127, 242, 0.4);
}
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline { border: 1px solid var(--gold); color: var(--gold); width: 100%; text-align: center; background: transparent; }
.btn-outline:hover { background: var(--gold-dim); }
.btn-small { padding: 10px 22px; font-size: 0.9rem; background: var(--primary); color: #ffffff; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  padding: 130px 0 100px;
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(46, 127, 242, 0.08), transparent),
    radial-gradient(ellipse 40% 30% at 85% 80%, rgba(212, 175, 55, 0.05), transparent);
  border-bottom: 1px solid var(--line);
}
.hero-copy { max-width: 860px; }
.eyebrow {
  color: var(--neon); font-weight: 700; text-transform: uppercase;
  letter-spacing: 2.5px; font-size: 0.8rem; margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
  text-shadow: 0 0 16px var(--neon-glow);
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--neon); display: inline-block; box-shadow: 0 0 12px var(--neon-glow); }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; margin-bottom: 28px; }
.accent-e { color: var(--neon); text-shadow: 0 0 24px var(--neon-glow); }
.accent-g { color: var(--gold); }
.lede { font-size: 1.2rem; color: var(--muted); margin-bottom: 40px; max-width: 660px; line-height: 1.7; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-note { font-size: 0.88rem; color: var(--muted); letter-spacing: 0.02em; }
.hero-note strong { color: var(--gold); font-weight: 700; }

/* Sections */
section { padding: 100px 0; }
.section-label {
  text-align: center; color: var(--neon); font-weight: 700;
  text-transform: uppercase; letter-spacing: 2.5px; font-size: 0.8rem; margin-bottom: 16px;
  text-shadow: 0 0 16px var(--neon-glow);
}
.section-title { font-size: clamp(1.9rem, 3.8vw, 2.8rem); font-weight: 800; text-align: center; margin-bottom: 16px; }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 60px; font-size: 1.05rem; line-height: 1.7; }

/* Trust bar */
.trust-bar { padding: 0; border-bottom: 1px solid var(--line); background: var(--bg2); }
.trust-inner {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0; max-width: 1120px; margin: 0 auto; padding: 0 24px;
}
.trust-item { padding: 28px 24px; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: none; }
.trust-item strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.trust-item span { color: var(--muted); font-size: 0.9rem; }

/* Pillars */
.pillars { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.pillar {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 30px; transition: border-color 0.2s, transform 0.2s;
}
.pillar:hover { border-color: rgba(46, 127, 242, 0.35); transform: translateY(-4px); }
.pillar-icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 22px;
  background: var(--electric-dim); display: flex; align-items: center; justify-content: center;
}
.pillar-icon svg { width: 26px; height: 26px; stroke: var(--primary); }
.pillar h3 { font-size: 1.2rem; margin-bottom: 12px; font-weight: 700; }
.pillar p { color: var(--muted); font-size: 0.96rem; line-height: 1.7; }

/* Pricing */
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; align-items: stretch; }
.tier {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 32px; display: flex; flex-direction: column; position: relative;
  transition: transform 0.2s, border-color 0.2s;
}
.tier:hover { transform: translateY(-4px); }
.tier.featured {
  border: 1px solid var(--neon);
  box-shadow: 0 0 32px rgba(0, 240, 255, 0.12), inset 0 0 32px rgba(0, 240, 255, 0.03);
  background: linear-gradient(180deg, rgba(0,240,255,0.04), var(--card) 40%);
}
.tier-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--neon); color: #03252b;
  box-shadow: 0 0 20px var(--neon-glow);
  font-size: 0.75rem; font-weight: 800; padding: 5px 18px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 1.5px; white-space: nowrap;
}
.tier h3 { font-size: 1.35rem; margin-bottom: 6px; font-weight: 700; letter-spacing: 0.02em; }
.tier-price { font-size: 2.8rem; font-weight: 800; font-family: 'Sora', sans-serif; letter-spacing: -0.03em; }
.tier-price span { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.tier-first { color: var(--muted); font-size: 0.88rem; margin: 8px 0 28px; }
.tier-first strong { color: var(--gold); }
.tier ul { list-style: none; margin-bottom: 32px; flex-grow: 1; }
.tier li {
  padding: 10px 0; color: var(--muted); font-size: 0.95rem;
  border-bottom: 1px solid var(--line); display: flex; gap: 10px; align-items: flex-start;
}
.tier li:last-child { border-bottom: none; }
.tier li svg { width: 16px; height: 16px; stroke: var(--primary); flex-shrink: 0; margin-top: 4px; }

/* Calculator */
.calculator { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calc-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 44px 40px; margin-top: 40px;
}
.calc-card label { display: grid; gap: 12px; font-weight: 600; margin-bottom: 28px; font-size: 0.95rem; }
.calc-card input[type="range"] {
  width: 100%; appearance: none; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, var(--neon) var(--fill, 20%), var(--line) var(--fill, 20%));
  outline: none; cursor: pointer;
}
.calc-card input[type="range"]::-webkit-slider-thumb {
  appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--neon); box-shadow: 0 0 16px var(--neon-glow); cursor: pointer;
}
.calc-val { color: var(--neon); font-weight: 800; font-size: 1.1rem; text-shadow: 0 0 12px var(--neon-glow); }
.calc-result {
  text-align: center; padding: 32px 0; border-top: 1px solid var(--line); margin: 8px 0 28px;
}
.calc-result p { color: var(--muted); }
.calc-number {
  font-family: 'Sora', sans-serif; font-size: 3.2rem; font-weight: 800; color: var(--neon);
  text-shadow: 0 0 32px var(--neon-glow); margin: 8px 0; letter-spacing: -0.03em;
}
.calc-compare { margin-top: 16px !important; }
.calc-compare strong { color: var(--ink); }

/* Portfolio */
.work-grid { display: grid; gap: 24px; margin-top: 48px; }
.work-card {
  display: grid; grid-template-columns: 200px 1fr; gap: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; transition: border-color 0.2s, transform 0.2s;
}
.work-card:hover { border-color: rgba(0, 240, 255, 0.35); transform: translateY(-4px); }
.work-thumb {
  background: linear-gradient(135deg, #1a2340, #0e1420);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.6rem; text-align: center;
  color: var(--neon); text-shadow: 0 0 20px var(--neon-glow); min-height: 180px; line-height: 1.3;
}
.work-info { padding: 32px; }
.work-info h3 { font-size: 1.3rem; margin-bottom: 8px; }
.work-info p { color: var(--muted); margin-bottom: 16px; }
.work-link { color: var(--neon); font-weight: 700; }

/* Comparison */
.compare { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.compare-table-wrap { overflow-x: auto; margin-top: 48px; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare-table thead th { font-family: 'Sora', sans-serif; font-size: 1.05rem; }
.compare-table td:first-child { color: var(--muted); font-weight: 500; }
.highlight-col { background: rgba(0, 240, 255, 0.04); }
thead .highlight-col {
  color: var(--neon); text-shadow: 0 0 12px var(--neon-glow);
  border-bottom: 2px solid var(--neon) !important;
}

/* How */
.how { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.step { position: relative; padding-left: 4px; }
.step-num {
  font-family: 'Sora', sans-serif; font-size: 3.4rem; font-weight: 800;
  color: transparent; -webkit-text-stroke: 1.5px var(--primary);
  line-height: 1; margin-bottom: 18px; opacity: 0.9;
}
.step h3 { margin-bottom: 10px; font-size: 1.2rem; font-weight: 700; }
.step p { color: var(--muted); font-size: 0.97rem; line-height: 1.7; }

/* FAQ */
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; margin-bottom: 12px; cursor: pointer; transition: border-color 0.15s;
}
.faq details:hover { border-color: rgba(46, 127, 242, 0.25); }
.faq summary { font-weight: 600; font-size: 1.05rem; list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 10px; height: 10px; flex-shrink: 0;
  border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary);
  transform: rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(225deg); }
.faq details p { color: var(--muted); margin-top: 14px; line-height: 1.7; }

/* Contact */
.contact { background: var(--bg2); border-top: 1px solid var(--line); }
#brief-form { display: grid; gap: 20px; margin-top: 44px; }
#brief-form label { display: grid; gap: 8px; font-weight: 600; font-size: 0.92rem; letter-spacing: 0.01em; }
#brief-form input, #brief-form select, #brief-form textarea {
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  padding: 15px 18px; color: var(--ink); font-size: 1rem; font-family: inherit; width: 100%;
  transition: border-color 0.15s;
}
#brief-form input:focus, #brief-form select:focus, #brief-form textarea:focus {
  outline: none; border-color: var(--primary);
}
#brief-form select option { background: var(--bg); }
.form-note { color: var(--primary); font-weight: 600; text-align: center; }
.contact-alt { text-align: center; margin-top: 28px; color: var(--muted); }
.contact-alt a { color: var(--primary); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(0,229,255,0.4); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0; }
.footer-inner { text-align: center; display: grid; gap: 10px; justify-items: center; }
.footer-brand { font-weight: 800; font-family: 'Sora', sans-serif; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.footer-small { color: var(--muted); font-size: 0.88rem; }

/* Responsive */
@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; background: var(--bg2); flex-direction: column; padding: 24px; gap: 18px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .hero { padding: 80px 0 70px; }
  section { padding: 70px 0; }
  .step-num { font-size: 2.6rem; }
}
