:root {
  --bg: #05071A;
  --bg-elev: #0A0E28;
  --bg-card: #111935;
  --line: #2E3554;
  --text: #ffffff;
  --text-dim: #D6DBEC;
  --text-muted: #A6ADC9;
  --accent: #3A6EF2;
  --accent-2: #155eef;
  --green: #45B36B;
  --grad: linear-gradient(135deg, #3A6EF2 0%, #155eef 100%);
  --grad-cta: linear-gradient(90deg, #9a14c9 0%, #5a58d5 50%, #2e71c7 100%);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --max: 1200px;
  --gap: 24px;
  --font: 'Sora', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #fff; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* === NAV === */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5,7,26,.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: var(--max); margin: 0 auto; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; color: #fff; font-size: 18px; letter-spacing: .2px; }
.brand-mark {
  width: 88px; height: 88px; display: block;
  filter: drop-shadow(0 4px 14px rgba(58,110,242,.35));
}
@media (max-width: 640px) {
  .brand-mark { width: 64px; height: 64px; }
}
.nav-menu { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav-menu a {
  color: var(--text-muted); padding: 8px 14px; border-radius: 8px;
  font-weight: 500; transition: color .2s, background .2s;
}
.nav-menu a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-cta { margin-left: 8px; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
  text-align: center; line-height: 1;
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--line); }
.btn-primary:hover { background: var(--accent-2); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(58,110,242,.35); }
.btn-grad { background-image: var(--grad-cta); color: #fff; }
.btn-grad:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(122,66,210,.35); }
.btn-ghost { background: transparent; color: #fff; border-color: var(--line); }
.btn-ghost:hover { background: rgba(255,255,255,.06); color: #fff; }
.btn-block { width: 100%; }

/* === SECTIONS === */
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--bg-elev); }
.eyebrow {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: rgba(58,110,242,.12); color: #9DB7FF; font-size: 13px;
  font-weight: 600; letter-spacing: .3px; margin-bottom: 14px;
}
h1, h2, h3, h4 { font-family: var(--font); margin: 0 0 14px; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.8vw, 40px); font-weight: 700; }
h3 { font-size: 22px; font-weight: 600; }
.lead { color: var(--text-dim); font-size: 18px; max-width: 720px; }

/* === HERO === */
.hero {
  position: relative; padding: 96px 0 80px;
  background:
    radial-gradient(1100px 500px at 70% 0%, rgba(58,110,242,.18), transparent 60%),
    radial-gradient(700px 400px at 10% 80%, rgba(154,20,201,.15), transparent 60%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 strong { background: linear-gradient(120deg, #6FA3FF, #9a14c9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-call {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow);
}
.hero-call .badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .8px; color: var(--green);
  background: rgba(69,179,107,.1); padding: 6px 10px; border-radius: 999px;
}
.hero-call h3 { margin-top: 14px; }
.phone-number {
  font-size: 28px; font-weight: 700; letter-spacing: .5px;
  display: inline-block; margin: 8px 0 6px; color: #fff;
}
.phone-hint { color: var(--text-muted); font-size: 13px; margin-bottom: 16px; }
.call-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 16px; }
.call-form input {
  background: #0A0E28; border: 1px solid var(--line); color: #fff;
  padding: 12px 14px; border-radius: 10px; font: inherit; font-size: 15px;
}
.call-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

/* === FEATURE CARDS === */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 36px; }
.feature {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; transition: transform .2s, border-color .2s;
}
.feature:hover { transform: translateY(-3px); border-color: rgba(58,110,242,.5); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--grad);
  display: grid; place-items: center; margin-bottom: 16px; font-size: 22px;
}
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--text-dim); font-size: 15px; margin: 0; }

/* === BULLETS === */
.bullet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; margin-top: 28px; }
.bullet { display: flex; gap: 14px; color: var(--text-dim); font-size: 16px; }
.bullet::before {
  content: ""; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad); display: inline-block;
  background-image: linear-gradient(135deg,#3A6EF2,#9a14c9), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: cover, 14px 14px; background-position: center; background-repeat: no-repeat;
  margin-top: 2px;
}

/* === TEAM === */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 32px; }
.team-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; text-align: center;
}
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--grad); display: grid; place-items: center;
  color: #fff; font-size: 28px;
}
.team-card h4 { margin: 6px 0 4px; font-size: 18px; }
.team-card p { color: var(--text-dim); font-size: 14px; margin: 0; }

/* === PRICING === */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 36px; }
.plan {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; display: flex; flex-direction: column; position: relative;
}
.plan.featured { border-color: var(--accent); box-shadow: 0 12px 36px rgba(58,110,242,.18); transform: translateY(-6px); }
.plan-tag { position: absolute; top: -12px; right: 24px; background: var(--accent); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .5px; }
.plan h3 { font-size: 14px; font-weight: 700; letter-spacing: 1.5px; color: #9DB7FF; text-transform: uppercase; margin-bottom: 8px; }
.plan-tagline { color: var(--text-muted); font-size: 14px; margin: 0 0 20px; }
.plan-price { font-size: 48px; font-weight: 700; line-height: 1; margin: 4px 0 6px; }
.plan-price small { font-size: 16px; font-weight: 500; color: var(--text-muted); }
.plan-setup { color: var(--text-muted); font-size: 14px; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex-grow: 1; }
.plan ul li { padding: 8px 0; color: var(--text-dim); font-size: 15px; display: flex; gap: 10px; }
.plan ul li::before { content: "✓"; color: var(--green); font-weight: 700; flex: 0 0 auto; }
.plan-foot { color: var(--text-muted); font-size: 14px; text-align: center; margin-top: 28px; }

/* === STEPS === */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: 36px; }
.step { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; text-align: center; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; display: grid; place-items: center; margin: 0 auto 14px; font-size: 18px; }
.step h4 { margin-bottom: 6px; }
.step p { color: var(--text-dim); font-size: 14px; margin: 0; }

/* === TESTIMONIALS === */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 36px; }
.testi { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.testi p { color: var(--text-dim); font-size: 15px; margin: 0 0 18px; line-height: 1.6; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); }
.testi-name { font-weight: 600; color: #fff; font-size: 14px; }
.testi-role { color: var(--text-muted); font-size: 13px; }

/* === FAQ === */
.faq { max-width: 820px; margin: 32px auto 0; }
.faq details {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 12px; padding: 18px 22px; cursor: pointer; transition: border-color .2s;
}
.faq details[open] { border-color: rgba(58,110,242,.5); }
.faq summary {
  font-weight: 600; font-size: 17px; color: #fff; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 24px; font-weight: 400; color: var(--accent); transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--text-dim); margin: 12px 0 0; line-height: 1.65; }

/* === CTA BIG === */
.cta-big {
  background: linear-gradient(135deg, rgba(58,110,242,.15), rgba(154,20,201,.10));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 64px 32px; text-align: center; margin-top: 48px;
}
.cta-big .btn { margin: 6px; }

/* === FOOTER === */
.footer { background: #04061A; border-top: 1px solid var(--line); padding: 40px 0 32px; color: var(--text-muted); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; gap: 14px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--line); display: grid; place-items: center; color: var(--text-muted); }
.footer-social a:hover { border-color: var(--accent); color: #fff; }

/* === SUB-PAGE / LEGAL === */
.legal-shell { max-width: 840px; margin: 0 auto; padding: 64px 24px; }
.legal-shell h2 { margin-top: 32px; }
.legal-shell p, .legal-shell li { color: var(--text-dim); }
.legal-shell ul { padding-left: 22px; }

/* === RESPONSIVE === */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .feature-grid, .price-grid, .testi-grid, .steps, .team-grid { grid-template-columns: 1fr 1fr; }
  .bullet-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .feature-grid, .price-grid, .testi-grid, .steps, .team-grid { grid-template-columns: 1fr; }
  .nav-menu a { padding: 6px 10px; font-size: 14px; }
  .nav-menu .nav-cta { display: none; }
  .plan.featured { transform: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
