:root {
  --navy: #0c2340;
  --navy-deep: #081a31;
  --navy-soft: #14305a;
  --accent: #f15a29;
  --accent-dark: #d8431a;
  --accent-soft: #ff7a4d;
  --blue: #1c9fd8;
  --ink: #1d2733;
  --muted: #5a6877;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --bg-tint: #eef3f8;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(12, 35, 64, 0.06);
  --shadow-md: 0 12px 34px rgba(12, 35, 64, 0.12);
  --maxw: 1140px;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin-bottom: .4rem; }

/* Scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 4px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  z-index: 1000; transition: width .1s linear;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(12, 35, 64, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(0,0,0,.18);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-fallback { display: none; flex-direction: column; line-height: 1; }
.brand-mark {
  font-family: var(--font-head); font-weight: 800; font-size: 1.5rem;
  color: #fff; letter-spacing: -.5px;
}
.brand-mark-accent { color: var(--accent); }
.brand-sub { font-size: .62rem; letter-spacing: 4px; color: #b9c6d6; font-weight: 600; margin-top: 2px; }
.brand-mark.light { color: #fff; }
.brand-sub.light { color: #9fb1c6; }

.nav-links { display: flex; gap: 4px; flex-wrap: wrap; }
.nav-links a {
  color: #d7e0ea; font-weight: 500; font-size: .92rem; padding: 8px 12px;
  border-radius: 8px; transition: all .18s ease;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.1); text-decoration: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: #fff; border-radius: 3px; transition: .25s; }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; padding: 96px 24px 110px; min-height: 92vh; display: flex; align-items: center; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(241,90,41,.35), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(28,159,216,.30), transparent 55%),
    linear-gradient(135deg, var(--navy-deep), var(--navy) 55%, var(--navy-soft));
}
.hero-zoom-wrap {
  position: absolute;
  inset: -3%;
  z-index: 0;
  transform-origin: center center;
  will-change: transform;
}
.hero-neural {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  display: block; opacity: .9;
}
.hero-content { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; width: 100%; }

/* Scroll cue */
.scroll-cue {
  position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: #cdd9e6; text-decoration: none; animation: cueBreath 3s ease-in-out infinite;
}
.scroll-cue:hover { color: #fff; text-decoration: none; }
.scroll-cue-text {
  font-family: var(--font-head); font-weight: 600; font-size: .72rem;
  letter-spacing: 2px; text-transform: uppercase;
}
.scroll-cue-mouse {
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6);
  border-radius: 14px; display: flex; justify-content: center; padding-top: 7px;
}
.scroll-cue-wheel {
  width: 4px; height: 8px; background: var(--accent); border-radius: 3px;
  animation: cueWheel 1.6s ease-in-out infinite;
}
.scroll-cue-chevrons { display: block; color: var(--accent-soft); line-height: 0; animation: cueBounce 1.6s ease-in-out infinite; }
@keyframes cueWheel { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(10px); } 100% { opacity: 0; } }
@keyframes cueBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes cueBreath { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .scroll-cue, .scroll-cue-wheel, .scroll-cue-chevrons { animation: none; }
}
.eyebrow {
  display: inline-block; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  font-size: .72rem; color: var(--accent-soft); background: rgba(241,90,41,.12);
  border: 1px solid rgba(241,90,41,.4); padding: 6px 14px; border-radius: 50px; margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; max-width: 16ch; }
.hero h1 .accent { color: var(--accent); }
.hero-lede { font-size: 1.15rem; color: #cdd9e6; max-width: 60ch; margin: 18px 0 34px; }

.hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 720px; margin-bottom: 34px; }
.meta-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px;
}
.meta-label { font-size: .7rem; text-transform: uppercase; letter-spacing: 1.5px; color: #9fb1c6; }
.meta-value { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: #fff; }
.meta-sub { font-size: .82rem; color: #b9c6d6; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: 13px 26px; border-radius: 50px; cursor: pointer; transition: all .2s ease;
  border: 2px solid transparent; text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(241,90,41,.4); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.btn-lg { padding: 16px 38px; font-size: 1.05rem; }

/* Strip */
.strip { background: var(--navy-deep); color: #cdd9e6; }
.strip p { max-width: var(--maxw); margin: 0 auto; padding: 22px 24px; font-size: 1.02rem; }
.strip strong { color: #fff; }

/* Sections */
.section { max-width: var(--maxw); margin: 0 auto; padding: 72px 24px; }
.section.alt { max-width: none; background: var(--bg-alt); }
.section.alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.section-head.center { justify-content: center; text-align: center; }
.section-num {
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--accent);
  background: rgba(241,90,41,.1); border: 1px solid rgba(241,90,41,.25);
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
}
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.section-intro { color: var(--muted); font-size: 1.05rem; margin: -10px 0 28px; max-width: 70ch; }

/* Cards */
.cards-3, .cards-4 { display: grid; gap: 20px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { font-size: 1.1rem; }
.card p { color: var(--muted); margin: 0; }
.icon-card { border-top: 3px solid var(--accent); }

/* Feature lists */
.feature-list { list-style: none; padding: 0; }
.feature-list li { position: relative; padding-left: 28px; margin-bottom: 12px; color: var(--ink); }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 14px;
  background: var(--accent); border-radius: 4px; transform: rotate(45deg);
}

/* Tabs */
.flow-tabs { margin-top: 34px; }
.tab-buttons { display: flex; gap: 8px; border-bottom: 2px solid var(--line); margin-bottom: 22px; flex-wrap: wrap; }
.tab-btn {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--muted);
  background: none; border: 0; padding: 12px 20px; cursor: pointer; border-radius: 10px 10px 0 0;
  border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all .2s ease;
}
.tab-btn:hover { color: var(--navy); background: var(--bg-tint); }
.tab-btn.active { color: var(--accent-dark); border-bottom-color: var(--accent); }
.tab-panel { animation: fade .3s ease; }
.tab-panel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.flow-list { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 10px; }
.flow-list li { position: relative; padding: 12px 16px 12px 52px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.section.alt .flow-list li, .flow-list li { background: var(--bg); }
.flow-list li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; background: var(--navy); color: #fff; font-family: var(--font-head);
  font-weight: 700; font-size: .85rem; border-radius: 8px; display: grid; place-items: center;
}
.panel-note { background: var(--bg-tint); border-left: 4px solid var(--blue); padding: 12px 16px; border-radius: 8px; margin-bottom: 18px; }
.impact-box { margin-top: 22px; background: var(--navy); color: #cdd9e6; border-radius: var(--radius); padding: 22px 26px; }
.impact-box h4 { color: #fff; }
.impact-box ul { margin: 0; }

/* Accordion */
.accordion { display: flex; flex-direction: column; gap: 14px; }
.acc-item { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); box-shadow: var(--shadow-sm); }
.acc-header {
  width: 100%; display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  background: var(--bg); border: 0; cursor: pointer; text-align: left; transition: background .2s ease;
}
.acc-header:hover { background: var(--bg-tint); }
.acc-item.open .acc-header { background: var(--navy); }
.acc-item.open .acc-title { color: #fff; }
.stage-tag {
  font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: #fff;
  background: var(--accent); padding: 6px 14px; border-radius: 50px; flex-shrink: 0;
}
.acc-title { font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--navy); flex: 1; }
.acc-icon { font-size: 1.6rem; color: var(--accent); font-weight: 400; transition: transform .25s ease; flex-shrink: 0; }
.acc-item.open .acc-icon { transform: rotate(45deg); color: #fff; }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; padding: 0 22px; }
.acc-item.open .acc-body { max-height: 4000px; padding: 4px 22px 26px; }
.acc-body h4 { color: var(--accent-dark); font-size: .95rem; text-transform: uppercase; letter-spacing: 1px; margin-top: 22px; }
.acc-body > p { color: var(--ink); margin-top: 0; }

.wp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 12px; }
.wp { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.wp h5 { font-size: .98rem; color: var(--navy); margin-bottom: 10px; }
.wp ul { padding-left: 1.1rem; margin: 0; }
.wp li { font-size: .92rem; color: var(--muted); }
.wp li strong { color: var(--accent-dark); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.split-col h3 { font-size: 1.2rem; margin-bottom: 16px; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.price-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.price-card.highlight { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: var(--shadow-md); }
.price-card.highlight h3 { color: #fff; }
.price-card h3 { font-size: 1.15rem; margin-bottom: 18px; }
.rate-list { list-style: none; padding: 0; margin: 0; }
.rate-list li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.price-card.highlight .rate-list li { border-bottom-color: rgba(255,255,255,.15); }
.rate-list li:last-child { border-bottom: 0; }
.rate { font-family: var(--font-head); font-weight: 700; color: var(--accent); white-space: nowrap; }
.price-card.highlight .rate { color: var(--accent-soft); }
.fine { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }

.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.term { background: var(--bg-alt); border-left: 4px solid var(--accent); border-radius: 10px; padding: 18px 20px; }
.term h4 { font-size: 1rem; margin-bottom: 6px; }
.term p { color: var(--muted); margin: 0; font-size: .92rem; }

/* CTA / Steps */
.cta-section { text-align: center; background: var(--bg-alt); max-width: none; }
.cta-section > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 auto 34px; text-align: left; max-width: 640px; }
.steps li { counter-increment: s; position: relative; padding: 16px 16px 16px 60px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.steps li::before {
  content: counter(s); position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; background: var(--accent); color: #fff; font-family: var(--font-head);
  font-weight: 700; border-radius: 10px; display: grid; place-items: center;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #aebccd;
  position: relative;
  overflow: hidden;
}
.footer-neural {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: .45;
  pointer-events: none;
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 30px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-inner { position: relative; z-index: 1; }
.footer-brand p { margin-top: 14px; max-width: 36ch; font-size: .92rem; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-col p { margin: 0 0 8px; font-size: .92rem; }
.footer-col a { color: var(--accent-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 24px;
  text-align: center;
  font-size: .85rem;
  color: #7d8ea1;
  position: relative;
  z-index: 1;
}

/* Back to top */
.back-to-top {
  position: fixed; bottom: 26px; right: 26px; width: 48px; height: 48px;
  background: var(--accent); color: #fff; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.3rem; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease; z-index: 800;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--accent-dark); text-decoration: none; transform: translateY(-3px); }

/* Reveal animation */
.section, .strip { opacity: 1; }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 940px) {
  .cards-3, .cards-4, .price-grid, .terms { grid-template-columns: 1fr 1fr; }
  .wp-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--navy); padding: 10px 16px 18px; max-height: 0; overflow: hidden;
    transition: max-height .3s ease; box-shadow: 0 16px 24px rgba(0,0,0,.25);
  }
  .nav-links.open { max-height: 420px; }
  .nav-links a { padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .hero-meta { grid-template-columns: 1fr; }
  .cards-3, .cards-4, .price-grid, .terms, .split { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .acc-header { flex-wrap: wrap; }
}
