:root {
  --bg: #07080c;               /* deep space */
  --bg-2: #0b0f18;             /* panels */
  --card: rgba(255,255,255,0.05);
  --line: rgba(255,255,255,0.08);
  --text: #eaf2ff;
  --muted: #a8b3c7;
  --accent-1: #00c6ff;         /* cyan */
  --accent-2: #00ff9d;         /* neon green */
  --accent-3: #7c5cff;         /* violet */
  --shadow: 0 10px 30px rgba(0, 198, 255, 0.15), 0 10px 30px rgba(0, 255, 157, 0.12);
  --radius: 16px;
}

/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text); background: radial-gradient(1200px 800px at 20% -10%, #0f1730 0%, transparent 60%), var(--bg);
}
img { max-width: 100%; display: block; }
.container { width: min(1200px, 92vw); margin: 0 auto; }
.muted { color: var(--muted); }

/* Fancy global background */
.bg-grid { position: fixed; inset: 0; pointer-events: none; background:
  linear-gradient(transparent 95%, rgba(124,92,255,0.15) 95%) 0 0/100% 32px,
  linear-gradient(90deg, transparent 95%, rgba(0,198,255,0.15) 95%) 0 0/32px 100%;
  mask-image: radial-gradient(60% 60% at 50% 10%, #000 40%, transparent 70%);
  z-index: 0; opacity: 0.35; }
.bg-orb { position: fixed; width: 520px; height: 520px; border-radius: 50%; filter: blur(70px); opacity: .35; pointer-events:none; z-index: 0; }
.orb-a { background: radial-gradient(circle at 30% 30%, var(--accent-1), transparent 60%); top: -120px; left: -80px; animation: drift 24s linear infinite; }
.orb-b { background: radial-gradient(circle at 70% 70%, var(--accent-2), transparent 60%); bottom: -120px; right: -80px; animation: drift 30s linear infinite reverse; }
@keyframes drift { to { transform: translate3d(30px, 40px, 0) rotate(1turn); } }

/* Header */
.header { position: sticky; top: 0; z-index: 20; background: rgba(7,8,12,0.6); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.logo { font-weight: 800; letter-spacing: .2px; text-decoration: none; color: var(--text); font-size: 1.15rem; }
.logo span { background: linear-gradient(90deg, var(--accent-1), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 18px rgba(0,255,157,0.35); }
.nav { display: flex; gap: 20px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; opacity: .9; padding: 8px 10px; border-radius: 10px; transition: 180ms ease; }
.nav a:hover { background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px var(--line); }

/* Buttons */
.btn { --g: linear-gradient(100deg, var(--accent-1), var(--accent-2));
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; color: #031015; font-weight: 700;
  background: var(--g); border: 0; border-radius: 999px; box-shadow: 0 0 0 2px rgba(255,255,255,0.06), 0 12px 24px rgba(0,198,255,.22), 0 12px 24px rgba(0,255,157,.18);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px rgba(255,255,255,0.08), 0 16px 34px rgba(0,198,255,.28), 0 16px 34px rgba(0,255,157,.22); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid rgba(0,255,157,.5); box-shadow: 0 0 20px rgba(0,255,157,.15) inset; }
.btn-ghost:hover { background: linear-gradient(100deg, rgba(0,198,255,.12), rgba(0,255,157,.12)); }
.btn-lg { padding: 12px 22px; font-size: 1rem; }
.btn-xl { padding: 16px 28px; font-size: 1.05rem; }
.btn-xxl { padding: 18px 36px; font-size: 1.15rem; }

/* Typography */
.eyebrow { font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.3vw + .7rem, 1.25rem); max-width: 56ch; }
.mega { font-size: clamp(2.2rem, 5vw + 1rem, 4rem); line-height: 1.05; margin: 0 0 28px; } /* increased from 18px */
.h2 { font-size: clamp(1.6rem, 1.6vw + 1rem, 2.2rem); margin: 0 0 16px; } /* increased from 10px */
.sub { color: var(--muted); margin-top: 12px; } /* increased from 8px */
.title-glow { text-shadow: 0 0 24px rgba(0,198,255,.25), 0 0 34px rgba(0,255,157,.18); }
.glow { text-shadow: 0 0 14px rgba(0,255,157,.35); }

/* Sections */
.section { position: relative; padding: clamp(72px, 9vw, 120px) 0; z-index: 1; }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)); }
.section-pad { padding-top: clamp(64px, 7vw, 96px); }

/* Hero */
.hero { isolation: isolate; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(24px, 5vw, 56px); }
.hero-copy { padding-right: 8px; }
.hero-ctas { display: flex; gap: 18px; margin: 28px 0 16px; flex-wrap: wrap; } /* increased margins and gap */
.hero-badges { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: .95rem; } /* increased gap */
.hero-visual { position: relative; }

/* Simulated app screen */
.screen { position: relative; background: linear-gradient(180deg, #0f1526, #0b1220); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; max-width: 520px; margin-inline: auto; }
.screen::after { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0turn, transparent 0 60%, rgba(0,198,255,.12) 60% 65%, transparent 65% 100%); filter: blur(20px); animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.screen-header { display: flex; gap: 8px; padding: 12px; background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--line); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, #ff5f57); }
.dot:nth-child(2){ background: radial-gradient(circle at 30% 30%, #fff, #ffbd2e); }
.dot:nth-child(3){ background: radial-gradient(circle at 30% 30%, #fff, #28c840); }
.screen-body { position: relative; padding: 28px; }
.meter { height: 10px; background: rgba(255,255,255,0.06); border-radius: 20px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 28px; } /* increased from 24px */
.meter span { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, var(--accent-1), var(--accent-2)); box-shadow: 0 0 18px rgba(0,255,157,.35); animation: grow 1.9s cubic-bezier(.2,.7,.2,1) both; }
@keyframes grow { from { width: 0; } }
.lines { display: grid; gap: 14px; } /* increased from 10px */
.lines i { height: 12px; border-radius: 8px; background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.12)); animation: shimmer 2.2s ease-in-out infinite; animation-delay: calc(var(--d) * .12s); }
@keyframes shimmer { 50% { transform: translateX(2%); filter: brightness(1.25); } }

/* Hero tags */
.tag { position: absolute; font-weight: 700; letter-spacing: .3px; color: var(--text); background: rgba(0,255,157,0.12); border: 1px solid rgba(0,255,157,.45); padding: 10px 14px; border-radius: 12px; box-shadow: 0 8px 26px rgba(0,255,157,.15); backdrop-filter: blur(8px); text-align:center; }
.tag small { display:block; font-weight: 600; color: var(--muted); }
.tag-tr { top: 10px; right: 10px; }
.tag-bl { bottom: 10px; left: 10px; }

/* Cards */
.cards { display: grid; gap: 24px; margin-top: 32px; } /* increased gap and margin */
.cards.trio { grid-template-columns: repeat(3, 1fr); }
.cards.quad { grid-template-columns: repeat(4, 1fr); }
.cards.pricing { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
.card { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03)); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2.8vw, 28px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: -200% -200% auto auto; height: 200%; width: 200%; background: radial-gradient(650px 200px at 10% 10%, rgba(0,198,255,.18), transparent 40%); transform: rotate(8deg); opacity: .4; }
.card.lift { transition: transform .22s ease, box-shadow .22s ease; }
.card.lift:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(0,198,255,.18), 0 14px 40px rgba(0,255,157,.16); }

/* Steps */
.step { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; margin-bottom: 16px; font-weight: 800; color: #061319; background: linear-gradient(90deg, var(--accent-1), var(--accent-2)); box-shadow: 0 0 20px rgba(0,255,157,.25); } /* increased margin-bottom */

/* Glow line paragraph */
.glow-line { border-left: 3px solid rgba(0,255,157,.65); padding: 14px 0 14px 16px; margin-top: 22px; color: var(--muted); background: linear-gradient(90deg, rgba(0,255,157,.08), transparent); } /* increased padding and margin */

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 32px; } /* increased gap and margin */
.stat { text-align: center; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); box-shadow: var(--shadow); } /* increased padding */
.kpi { font-size: clamp(1.8rem, 4.5vw, 3rem); font-weight: 800; background: linear-gradient(90deg, var(--accent-1), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 30px rgba(0,255,157,.25); }

/* Comparison */
.compare-wrap { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: center; } /* increased padding */
.compare th { background: linear-gradient(90deg, var(--accent-1), var(--accent-2)); color: #031015; font-weight: 800; letter-spacing: .2px; }
.compare tr:last-child td { border-bottom: 0; }

/* Pricing */
.price { font-weight: 800; font-size: clamp(1.3rem, 2.7vw, 1.8rem); margin: 12px 0 14px; } /* increased margins */
.per { color: var(--muted); font-weight: 600; }
.popular { outline: 2px solid rgba(0,255,157,.45); box-shadow: 0 0 0 6px rgba(0,255,157,.07), var(--shadow); }
.badge { position: absolute; top: 14px; right: 14px; font-size: .75rem; font-weight: 800; color: #061319; padding: 6px 10px; border-radius: 999px; background: linear-gradient(90deg, var(--accent-2), var(--accent-1)); box-shadow: 0 8px 22px rgba(0,255,157,.25); }
.bullet { list-style: none; padding: 0; margin: 18px 0 22px; } /* increased margins */
.bullet li { padding: 10px 0; border-bottom: 1px dashed var(--line); color: var(--muted); } /* increased padding */
.bullet li:last-child { border-bottom: 0; }

/* Quotes */
.quote { font-style: normal; }
.quote cite { display: block; margin-top: 14px; color: var(--muted); font-weight: 600; } /* increased margin */

/* CTA */
.cta { text-align: center; background: radial-gradient(600px 200px at 50% 0%, rgba(0,198,255,.18), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)); }
.cta-inner { display: grid; place-items: center; gap: 18px; } /* increased gap */
.cta .btn { margin-top: 10px; } /* increased margin */
.cta-badges { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 12px; color: var(--muted); } /* increased gap and margin */

/* Footer */
.footer { border-top: 1px solid var(--line); background: rgba(7,8,12,.7); }
.foot { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; padding: 32px 0; align-items: start; } /* increased gap and padding */
.foot-left { display: grid; gap: 12px; } /* increased gap */
.foot-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 28px; } /* increased gap */
.foot-nav h4 { margin: 0 0 12px; font-size: .95rem; color: var(--text); } /* increased margin */
.foot-nav a { color: var(--muted); text-decoration: none; padding: 6px 0; } /* increased padding */
.foot-copy { grid-column: 1 / -1; color: var(--muted); font-size: .9rem; opacity: .85; }

/* Motion — entrance animations */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .hero-visual, .card, .stat, .compare-wrap, details, .cta-inner { 
    animation: rise .8s ease both; 
  }
  .hero-visual { animation-delay: .08s; }
  .cards.trio .card:nth-child(2) { animation-delay: .05s; }
  .cards.trio .card:nth-child(3) { animation-delay: .1s; }
  .stats-grid .stat:nth-child(2) { animation-delay: .05s; }
  .stats-grid .stat:nth-child(3) { animation-delay: .1s; }
  .stats-grid .stat:nth-child(4) { animation-delay: .15s; }
  .cards.quad .card:nth-child(2) { animation-delay: .05s; }
  .cards.quad .card:nth-child(3) { animation-delay: .1s; }
  .cards.quad .card:nth-child(4) { animation-delay: .15s; }
  details:nth-of-type(2) { animation-delay: .05s; }
  details:nth-of-type(3) { animation-delay: .1s; }
  details:nth-of-type(4) { animation-delay: .15s; }
  details:nth-of-type(5) { animation-delay: .2s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* Responsive */
@media (max-width: 1100px) {
  .cards.quad { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-badges { justify-content: center; }
  .nav { display: none; }
  .foot { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .cards.trio, .cards.pricing { grid-template-columns: 1fr; }
}