/* ============================================================
   EDGE AI CONSULTING — DESIGN SYSTEM
   Legacy Leap — flame & steel (from brand logo palette)
   ============================================================ */

:root {
  --bg: #04101e;
  --bg-2: #071628;
  --bg-3: #0b1d33;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(96, 150, 220, 0.16);
  --border-bright: rgba(255, 122, 26, 0.35);

  --flame: #ff7a1a;
  --steel: #3b8fd4;
  --danger: #f04438;
  --success: #a3e635;
  --amber: #fbbf24;

  --grad-main: linear-gradient(135deg, #ff9a3d 0%, #ff4d00 100%);
  --grad-hot: linear-gradient(135deg, #ff4d00 0%, #d81f1f 100%);
  --grad-text: linear-gradient(90deg, #ffb35c, #ff6a1f 55%, #3b8fd4);

  --text: #e6ecff;
  --text-dim: #9aa7c7;
  --text-faint: #6b7799;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --nav-h: 72px;
  --max-w: 1200px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }

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

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: rgba(255, 122, 26, 0.25); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1e2a4d; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #2a3a66; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

.section { padding: 110px 0; position: relative; overflow: hidden; }
.section-sm { padding: 70px 0; overflow: hidden; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.center { text-align: center; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; }

.display {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 700;
  line-height: 1.08;
}

.h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
.h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; }
.h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); font-weight: 600; }

.grad-text {
  background: var(--grad-text);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: grad-shimmer 5s linear infinite;
}
@keyframes grad-shimmer {
  to { background-position: 200% 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--flame);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--grad-main);
}
.eyebrow.center-eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--grad-main);
}

.lead { font-size: 1.15rem; color: var(--text-dim); max-width: 680px; }
.lead.center { margin-left: auto; margin-right: auto; }
.muted { color: var(--text-dim); }
.faint { color: var(--text-faint); }

.section-head { margin-bottom: 56px; }
.section-head .h2 { margin-bottom: 14px; }

/* ---------- Backgrounds ---------- */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 160, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 75%);
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  pointer-events: none;
}
.glow-flame { background: var(--flame); }
.glow-steel { background: var(--steel); }
.glow-danger { background: var(--danger); }

/* ---------- Global animated background (every page) ---------- */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.site-bg .bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.aurora {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--aur, 255, 122, 26), 0.30) 0%, rgba(var(--aur, 255, 122, 26), 0) 70%);
  opacity: 0.65;
  animation: aurora-drift 16s ease-in-out infinite alternate;
  will-change: transform;
}
.aurora-2 { animation-duration: 22s; animation-delay: -8s; }
.aurora-3 { animation-duration: 28s; animation-delay: -14s; opacity: 0.45; }
@keyframes aurora-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(70px, -50px) scale(1.18); }
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 200;
  background: var(--grad-main);
  box-shadow: 0 0 14px rgba(255, 122, 26, 0.65);
  transition: width 0.1s linear;
}

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(4, 16, 30, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}
.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.logo-mark {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(255, 122, 26, 0.4));
}
.logo span.accent { color: var(--flame); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dim);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.25s, background 0.25s;
  position: relative;
}
.nav-links a:not(.btn):hover { color: var(--text); background: var(--surface); }
.nav-links a:not(.btn).active { color: var(--flame); }
.nav-links a:not(.btn).active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-main);
}

.nav-cta { margin-left: 10px; }
.nav-links a.btn-primary { color: #061018; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 110;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 12px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s, border-color 0.25s;
  will-change: transform;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s var(--ease-out);
  pointer-events: none;
}
.btn:hover::after { left: 130%; }

.btn-primary {
  background: var(--grad-main);
  color: #061018;
  box-shadow: 0 4px 24px rgba(255, 122, 26, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(255, 122, 26, 0.45);
}
.btn-ghost {
  border: 1px solid var(--border-bright);
  color: var(--text);
  background: rgba(255, 122, 26, 0.04);
}
.btn-ghost:hover {
  background: rgba(255, 122, 26, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 122, 26, 0.18);
}
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }

.btn svg { transition: transform 0.25s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s, background 0.35s;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 26, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-bright);
  background: var(--surface-2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 122, 26, 0.06);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: rgba(255, 122, 26, 0.08);
  border: 1px solid rgba(255, 122, 26, 0.25);
  color: var(--flame);
  box-shadow: 0 0 20px rgba(255, 122, 26, 0.12) inset;
}
.card-icon.steel { background: rgba(59, 143, 212, 0.1); border-color: rgba(59, 143, 212, 0.3); color: var(--steel); box-shadow: 0 0 20px rgba(59, 143, 212, 0.12) inset; }
.card-icon.danger { background: rgba(240, 68, 56, 0.1); border-color: rgba(240, 68, 56, 0.3); color: var(--danger); box-shadow: 0 0 20px rgba(240, 68, 56, 0.12) inset; }
.card-icon.success { background: rgba(163, 230, 53, 0.08); border-color: rgba(163, 230, 53, 0.28); color: var(--success); box-shadow: 0 0 20px rgba(163, 230, 53, 0.1) inset; }

.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-dim); font-size: 0.97rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--flame);
}
.card-link svg { transition: transform 0.25s var(--ease-out); }
.card-link:hover svg { transform: translateX(5px); }

/* ---------- Chips / badges ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-display);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); }

.badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
}
.badge-flame { background: rgba(255, 122, 26, 0.12); color: var(--flame); border: 1px solid rgba(255, 122, 26, 0.3); }
.badge-steel { background: rgba(59, 143, 212, 0.12); color: #7db8e8; border: 1px solid rgba(59, 143, 212, 0.35); }
.badge-danger { background: rgba(240, 68, 56, 0.12); color: #ff8ec0; border: 1px solid rgba(240, 68, 56, 0.35); }
.badge-success { background: rgba(163, 230, 53, 0.1); color: var(--success); border: 1px solid rgba(163, 230, 53, 0.3); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero .container { position: relative; z-index: 2; }

.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 90px) 0 70px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .lead { margin-top: 16px; }

/* ---------- Hero logo ---------- */
.hero-logo {
  width: 150px;
  margin-bottom: 26px;
  filter: drop-shadow(0 0 45px rgba(255, 122, 26, 0.4)) drop-shadow(0 0 12px rgba(59, 143, 212, 0.25));
  animation: logo-float 5s ease-in-out infinite;
}
.page-hero .hero-logo { width: 92px; margin-bottom: 22px; }
@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Ticker ---------- */
.ticker-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(7, 22, 40, 0.6);
  overflow: hidden;
  padding: 18px 0;
  position: relative;
}
.ticker {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: ticker-scroll 36s linear infinite;
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--text-dim);
  white-space: nowrap;
}
.ticker-wrap:hover .ticker { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 12px; }
.ticker-item strong { color: var(--flame); font-weight: 700; }
.ticker-item .sep { color: var(--steel); }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Stats ---------- */
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { color: var(--text-dim); font-size: 0.92rem; margin-top: 6px; }

/* ---------- Comparison / vs ---------- */
.vs-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; }
.vs-divider {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--text-faint);
  font-size: 1.1rem;
}
.vs-card { border-radius: var(--radius); padding: 36px; border: 1px solid var(--border); }
.vs-card.bad { background: rgba(240, 68, 56, 0.04); border-color: rgba(240, 68, 56, 0.2); }
.vs-card.good { background: rgba(255, 122, 26, 0.05); border-color: rgba(255, 122, 26, 0.28); box-shadow: 0 0 50px rgba(255, 122, 26, 0.07); }
.vs-card li { display: flex; gap: 12px; padding: 10px 0; color: var(--text-dim); border-bottom: 1px dashed rgba(120, 160, 255, 0.1); font-size: 0.95rem; }
.vs-card li:last-child { border-bottom: none; }
.vs-card li .ic { flex-shrink: 0; margin-top: 3px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 11px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--flame), var(--steel), var(--danger));
  border-radius: 2px;
  opacity: 0.5;
}
.tl-item { position: relative; padding-bottom: 44px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute;
  left: -40px; top: 4px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--flame);
  box-shadow: 0 0 14px rgba(255, 122, 26, 0.4);
  display: grid; place-items: center;
}
.tl-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--flame); }
.tl-step { font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.2em; color: var(--flame); text-transform: uppercase; }
.tl-item h3 { margin: 6px 0 8px; }
.tl-item p { color: var(--text-dim); max-width: 640px; }

/* ---------- Feature rows ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
}
.feature-row.flip .feature-visual { order: -1; }
.feature-copy .h2 { margin-bottom: 16px; }
.feature-copy p { color: var(--text-dim); margin-bottom: 14px; }
.feature-list { margin-top: 20px; }
.feature-list li {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  color: var(--text-dim);
  font-size: 0.97rem;
}
.feature-list li svg { flex-shrink: 0; margin-top: 4px; color: var(--flame); }

/* ---------- Terminal mock ---------- */
.terminal {
  background: #070b16;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 122, 26, 0.05);
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.85rem;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border);
}
.terminal-bar .tdot { width: 11px; height: 11px; border-radius: 50%; }
.terminal-bar .tdot:nth-child(1) { background: #ff5f57; }
.terminal-bar .tdot:nth-child(2) { background: #febc2e; }
.terminal-bar .tdot:nth-child(3) { background: #28c840; }
.terminal-title { margin-left: 10px; color: var(--text-faint); font-size: 0.78rem; }
.terminal-body { padding: 20px 22px; line-height: 1.9; overflow-x: auto; }
.terminal-body .ln { white-space: pre; }
.c-prompt { color: var(--success); }
.c-cmd { color: var(--text); }
.c-flag { color: var(--flame); }
.c-out { color: var(--text-dim); }
.c-ok { color: var(--success); }
.c-warn { color: var(--amber); }
.c-accent { color: var(--steel); }
.cursor-blink { display: inline-block; width: 8px; height: 1em; background: var(--flame); vertical-align: text-bottom; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Calculator ---------- */
.calc-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.calc-controls label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: var(--text);
}
.calc-controls .value { color: var(--flame); }
.calc-group { margin-bottom: 28px; }
input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--flame) var(--fill, 50%), rgba(120, 160, 255, 0.15) var(--fill, 50%));
  outline: none;
}
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--flame);
  box-shadow: 0 0 12px rgba(255, 122, 26, 0.6);
  cursor: grab;
}
input[type='range']::-moz-range-thumb {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--flame);
  box-shadow: 0 0 12px rgba(255, 122, 26, 0.6);
  cursor: grab;
}
.calc-results { display: grid; gap: 18px; }
.calc-result-card {
  border-radius: 12px;
  padding: 22px 26px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.calc-result-card .label { font-size: 0.82rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-display); font-weight: 600; }
.calc-result-card .amount { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; margin-top: 4px; }
.calc-result-card.cloud .amount { color: var(--danger); }
.calc-result-card.local .amount { color: var(--success); }
.calc-result-card.savings { background: rgba(255, 122, 26, 0.06); border-color: var(--border-bright); }
.calc-result-card.savings .amount { color: var(--flame); }
.calc-note { font-size: 0.8rem; color: var(--text-faint); margin-top: 16px; }
#calcChart { width: 100%; height: 220px; }

/* ---------- Accordion / FAQ ---------- */
.accordion { max-width: 780px; margin: 0 auto; }
.acc-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 14px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s;
}
.acc-item.open { border-color: var(--border-bright); }
.acc-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  text-align: left;
  color: var(--text);
}
.acc-head .acc-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-bright);
  display: grid; place-items: center;
  color: var(--flame);
  transition: transform 0.3s var(--ease-out);
}
.acc-item.open .acc-icon { transform: rotate(45deg); }
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.acc-body-inner { padding: 0 24px 22px; color: var(--text-dim); font-size: 0.96rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: 24px;
  padding: 72px 48px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 122, 26, 0.08), rgba(59, 143, 212, 0.1));
  border: 1px solid var(--border-bright);
  animation: cta-pulse 4.5s ease-in-out infinite;
}
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 40px rgba(255, 122, 26, 0.08); }
  50% { box-shadow: 0 0 80px rgba(255, 122, 26, 0.2); }
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--grad-main);
  z-index: -1;
  opacity: 0.12;
}
.cta-band .h2 { margin-bottom: 14px; }
.cta-band p { color: var(--text-dim); max-width: 560px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; }
.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  outline: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--flame);
  box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.12);
  background: rgba(255, 255, 255, 0.06);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field select option { background: var(--bg-2); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

.contact-info-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  margin-bottom: 16px;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.contact-info-card:hover { border-color: var(--border-bright); transform: translateX(4px); }
.contact-info-card .card-icon { width: 46px; height: 46px; margin-bottom: 0; border-radius: 12px; }
.contact-info-card h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-info-card p { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 72px 0 32px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer .logo-mark { width: 68px; height: 68px; }

.footer-brand p { color: var(--text-dim); font-size: 0.93rem; margin-top: 16px; max-width: 320px; }
.footer h4 {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-dim); font-size: 0.93rem; transition: color 0.25s, padding-left 0.25s; }
.footer-links a:hover { color: var(--flame); padding-left: 4px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 0.85rem;
  flex-wrap: wrap;
}
.footer-status { display: inline-flex; align-items: center; gap: 8px; }
.footer-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px var(--success); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Logo strip ---------- */
.logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
  opacity: 0.55;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.logo-strip span { transition: opacity 0.3s, color 0.3s; }
.logo-strip span:hover { opacity: 1; color: var(--flame); }

/* ---------- Pricing / packages ---------- */
.pkg { display: flex; flex-direction: column; }
.pkg .price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; margin: 14px 0 4px; }
.pkg .price small { font-size: 0.95rem; color: var(--text-faint); font-weight: 500; }
.pkg .pkg-feats { margin: 22px 0; flex: 1; }
.pkg .pkg-feats li { display: flex; gap: 10px; padding: 8px 0; color: var(--text-dim); font-size: 0.93rem; }
.pkg .pkg-feats li svg { flex-shrink: 0; margin-top: 4px; color: var(--flame); }
.pkg.featured {
  border-color: var(--border-bright);
  background: linear-gradient(180deg, rgba(255, 122, 26, 0.07), rgba(59, 143, 212, 0.05));
  box-shadow: 0 0 60px rgba(255, 122, 26, 0.08);
}
.pkg-tag {
  position: absolute;
  top: 18px; right: 18px;
}

/* ---------- Diagram (SVG flow) ---------- */
.diagram-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.diagram-card svg text { font-family: var(--font-display); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.flip .feature-visual { order: 0; }
  .calc-panel { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .vs-grid { grid-template-columns: 1fr; }
  .vs-divider { padding: 8px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cta-band { padding: 56px 28px; }

  .aurora { opacity: 0.38; }
  .aurora-3 { display: none; }

  .nav {
    background: rgba(4, 16, 30, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
  }
  .hamburger {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    border: 1px solid var(--border-bright);
    border-radius: 10px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100vh;
    height: 100dvh;
    background: rgba(4, 16, 30, 0.98);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: calc(var(--nav-h) + 6px) 20px 14px;
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease-out);
    will-change: transform;
    z-index: 105;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a {
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.95rem, 3.6vh, 1.2rem);
    line-height: 1.2;
    padding: 0 16px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-cta { flex: 0 0 auto; margin: 12px 0 0; justify-content: center; }
}

@media (max-width: 480px) {
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 70px); }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .btn { padding: 13px 22px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
