@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ── Design Tokens ─────────────────────────────────────── */
:root {
  --bg:         #030712;
  --bg2:        #0c0a1e;
  --bg3:        #110d2a;
  --p1:         #1e1b4b;
  --p2:         #4c1d95;
  --p3:         #6d28d9;
  --p4:         #7c3aed;
  --p5:         #8b5cf6;
  --p6:         #a78bfa;
  --p7:         #c4b5fd;
  --p8:         #ede9fe;
  --cyan:       #06b6d4;
  --pink:       #ec4899;
  --gold:       #f59e0b;
  --white:      #f8fafc;
  --muted:      #94a3b8;
  --muted2:     #64748b;

  --glass:        rgba(139,92,246,0.07);
  --glass-hover:  rgba(139,92,246,0.13);
  --glass-border: rgba(139,92,246,0.22);
  --glass-glow:   rgba(139,92,246,0.08);

  --glow-xs: 0 0 10px rgba(139,92,246,0.25);
  --glow-sm: 0 0 20px rgba(139,92,246,0.30);
  --glow-md: 0 0 40px rgba(139,92,246,0.40);
  --glow-lg: 0 0 80px rgba(139,92,246,0.50);
  --glow-xl: 0 0 120px rgba(139,92,246,0.35);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;

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

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }

/* ── Animations ─────────────────────────────────────────── */
@keyframes aurora1 {
  0%,100% { transform: translate(0,0) scale(1); opacity: .65; }
  33%      { transform: translate(60px,-80px) scale(1.15); opacity: .45; }
  66%      { transform: translate(-40px,40px) scale(.9); opacity: .75; }
}
@keyframes aurora2 {
  0%,100% { transform: translate(0,0) scale(1); opacity: .55; }
  40%      { transform: translate(-80px,60px) scale(1.2); opacity: .35; }
  70%      { transform: translate(50px,-30px) scale(.85); opacity: .7; }
}
@keyframes aurora3 {
  0%,100% { transform: translate(0,0) scale(1); opacity: .4; }
  50%      { transform: translate(30px,60px) scale(1.1); opacity: .65; }
}
@keyframes shimmer {
  0%   { background-position: -400% center; }
  100% { background-position:  400% center; }
}
@keyframes pulseGlow {
  0%,100% { box-shadow: var(--glow-sm); }
  50%     { box-shadow: var(--glow-md), 0 0 60px rgba(6,182,212,.15); }
}
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-12px); }
}
@keyframes fadeUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes fadeIn {
  from { opacity:0; } to { opacity:1; }
}
@keyframes rotate360 {
  to { transform: rotate(360deg); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes borderGlow {
  0%,100% { border-color: rgba(139,92,246,.3); }
  50%     { border-color: rgba(167,139,250,.7); }
}
@keyframes starTwinkle {
  0%,100% { opacity:.2; transform:scale(.8); }
  50%     { opacity:1;  transform:scale(1.2); }
}
@keyframes countUp {
  from { opacity:0; transform:scale(.8); }
  to   { opacity:1; transform:scale(1); }
}

/* ── Aurora Background ──────────────────────────────────── */
.aurora-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.aurora-bg::before,
.aurora-bg::after,
.aurora-bg .orb3 {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.aurora-bg::before {
  width: 700px; height: 700px;
  top: -200px; left: -200px;
  background: radial-gradient(circle, rgba(109,40,217,.6) 0%, rgba(76,29,149,.3) 50%, transparent 70%);
  animation: aurora1 18s ease-in-out infinite;
}
.aurora-bg::after {
  width: 600px; height: 600px;
  bottom: -150px; right: -150px;
  background: radial-gradient(circle, rgba(6,182,212,.45) 0%, rgba(124,58,237,.3) 50%, transparent 70%);
  animation: aurora2 22s ease-in-out infinite;
}
.aurora-bg .orb3 {
  width: 500px; height: 500px;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(236,72,153,.25) 0%, rgba(139,92,246,.2) 50%, transparent 70%);
  animation: aurora3 15s ease-in-out infinite;
}

/* ── Noise texture overlay ──────────────────────────────── */
.aurora-bg .noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: .4;
}

/* ── Grid dot pattern ───────────────────────────────────── */
.grid-dots {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(139,92,246,.12) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* ── Navbar ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(3,7,18,.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
}
.nav-logo .bolt { color: var(--p6); font-size: 1.3rem; }
.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: .875rem; font-weight: 500; color: var(--muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--p4), var(--p5));
  border-radius: 8px;
  font-size: .875rem; font-weight: 600; color: var(--white);
  box-shadow: var(--glow-xs);
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--glow-sm); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r-sm);
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  cursor: pointer; border: none; transition: all .25s;
  position: relative; overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15), transparent);
  opacity: 0; transition: opacity .25s;
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--p3), var(--p5), var(--cyan));
  background-size: 200% 200%; background-position: left;
  color: var(--white);
  box-shadow: var(--glow-sm), inset 0 1px 0 rgba(255,255,255,.15);
  animation: pulseGlow 3s ease-in-out infinite;
}
.btn-primary:hover {
  background-position: right;
  transform: translateY(-2px);
  box-shadow: var(--glow-md), 0 8px 30px rgba(0,0,0,.3);
}

.btn-secondary {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--p7);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: var(--glass-hover);
  border-color: var(--p6);
  color: var(--white);
  box-shadow: var(--glow-xs);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--muted);
}
.btn-ghost:hover { border-color: var(--p6); color: var(--white); }

.btn-lg { padding: 18px 40px; font-size: 1.05rem; border-radius: var(--r-md); }
.btn-sm { padding: 8px 18px; font-size: .82rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-loading { pointer-events: none; }
.btn-loading::after {
  content: '';
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

/* ── Glass Cards ────────────────────────────────────────── */
.card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px);
  padding: 28px;
  transition: all .3s;
  position: relative; overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167,139,250,.5), transparent);
}
.card:hover {
  border-color: rgba(139,92,246,.4);
  box-shadow: var(--glow-sm), 0 20px 60px rgba(0,0,0,.3);
  transform: translateY(-3px);
}

.card-glow {
  box-shadow: var(--glow-xs);
  animation: borderGlow 4s ease-in-out infinite;
}

/* ── Gradient Text ──────────────────────────────────────── */
.grad-text {
  background: linear-gradient(135deg, var(--p7) 0%, var(--white) 40%, var(--cyan) 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s linear infinite;
}
.grad-text-purple {
  background: linear-gradient(135deg, var(--p6), var(--p7), var(--pink));
  background-size: 200% 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s linear infinite;
}

/* ── Section layout ─────────────────────────────────────── */
.section { position: relative; z-index: 1; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 60px 0; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 100px;
  background: rgba(139,92,246,.12); border: 1px solid rgba(139,92,246,.25);
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--p6);
  margin-bottom: 20px;
}
.section-label .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--p5);
  box-shadow: 0 0 6px var(--p5);
  animation: starTwinkle 2s ease-in-out infinite;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  position: relative; z-index: 1;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 100px;
  background: linear-gradient(135deg, rgba(109,40,217,.2), rgba(6,182,212,.1));
  border: 1px solid rgba(139,92,246,.3);
  font-size: .8rem; font-weight: 600; color: var(--p7);
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeIn .6s ease both;
}
.hero-eyebrow .lightning { color: var(--gold); }
.hero-h1 {
  font-family: var(--font-head); font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.02em;
  margin-bottom: 20px;
  animation: fadeUp .7s ease .1s both;
}
.hero-sub {
  font-size: 1.1rem; line-height: 1.7; color: var(--muted);
  max-width: 480px; margin-bottom: 36px;
  animation: fadeUp .7s ease .2s both;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeUp .7s ease .3s both;
}
.hero-trust {
  margin-top: 36px; display: flex; align-items: center; gap: 16px;
  font-size: .82rem; color: var(--muted);
  animation: fadeUp .7s ease .4s both;
}
.hero-trust .avatars { display: flex; }
.hero-trust .avatar {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--bg);
  background: linear-gradient(135deg, var(--p3), var(--cyan));
  margin-left: -8px; display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 700; color: white;
}
.hero-trust .avatar:first-child { margin-left: 0; }

/* Hero visual panel */
.hero-visual {
  animation: fadeIn .8s ease .2s both;
}
.hero-card-main {
  border-radius: var(--r-xl);
  overflow: hidden; position: relative;
  box-shadow: var(--glow-lg), 0 40px 80px rgba(0,0,0,.5);
  animation: floatY 6s ease-in-out infinite;
}
.hero-card-main .card-image {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  background: linear-gradient(135deg, var(--p2) 0%, var(--p3) 40%, var(--bg2) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
}
.hero-card-main .card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px;
  background: linear-gradient(0deg, rgba(3,7,18,.95) 0%, transparent 100%);
}
.hero-card-main .card-overlay h3 {
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 700;
  margin-bottom: 4px;
}
.hero-card-main .card-overlay p { font-size: .82rem; color: var(--muted); }

/* Floating mini-cards */
.hero-badge {
  position: absolute;
  padding: 12px 16px; border-radius: var(--r-md);
  background: rgba(3,7,18,.85); border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  box-shadow: var(--glow-sm);
  font-size: .8rem; display: flex; align-items: center; gap: 10px;
}
.hero-badge.badge-tl { top: -20px; left: -30px; animation: floatY 5s ease-in-out infinite 1s; }
.hero-badge.badge-br { bottom: 60px; right: -30px; animation: floatY 7s ease-in-out infinite .5s; }
.hero-badge .badge-icon { font-size: 1.4rem; }
.hero-badge .badge-text strong { display: block; font-weight: 600; font-size: .85rem; }
.hero-badge .badge-text span { color: var(--muted); font-size: .75rem; }

/* ── Lightning divider ──────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), rgba(6,182,212,.3), var(--glass-border), transparent);
  position: relative; margin: 0;
}
.divider::after {
  content: '⚡';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: var(--bg); padding: 0 12px;
  font-size: 1rem; color: var(--p5);
  text-shadow: 0 0 10px var(--p5);
}

/* ── Stats bar ──────────────────────────────────────────── */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--glass-border);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat-item {
  padding: 28px 24px; text-align: center;
  background: var(--glass);
  backdrop-filter: blur(20px);
}
.stat-num {
  font-family: var(--font-head); font-size: 2.2rem; font-weight: 800;
  background: linear-gradient(135deg, var(--p6), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label { font-size: .8rem; color: var(--muted); margin-top: 6px; }

/* ── Feature grid ───────────────────────────────────────── */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 32px 28px;
}
.feature-icon {
  width: 52px; height: 52px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(109,40,217,.3), rgba(6,182,212,.15));
  border: 1px solid rgba(139,92,246,.25);
  box-shadow: var(--glow-xs);
}
.feature-card h3 {
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; margin-bottom: 10px;
}
.feature-card p { font-size: .88rem; line-height: 1.7; color: var(--muted); }

/* ── About section ──────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 60px; align-items: center;
}
.about-photo {
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--glow-md), 0 30px 60px rgba(0,0,0,.4);
  aspect-ratio: 3/4; position: relative;
  background: linear-gradient(135deg, var(--p2), var(--p3));
  display: flex; align-items: center; justify-content: center; font-size: 5rem;
  animation: floatY 8s ease-in-out infinite;
}
.about-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(109,40,217,.2), transparent, rgba(6,182,212,.15));
}
.about-content h2 {
  font-family: var(--font-head); font-size: clamp(1.8rem,3vw,2.6rem);
  font-weight: 800; line-height: 1.2; margin-bottom: 20px;
}
.about-content p { font-size: .95rem; line-height: 1.8; color: var(--muted); margin-bottom: 16px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag {
  padding: 6px 14px; border-radius: 100px;
  background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.2);
  font-size: .78rem; color: var(--p7);
}

/* ── Steps ──────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.steps::before {
  content: '';
  position: absolute; top: 38px; left: calc(16.67% + 24px); right: calc(16.67% + 24px);
  height: 1px;
  background: linear-gradient(90deg, var(--p4), var(--cyan), var(--p4));
  box-shadow: 0 0 8px rgba(139,92,246,.5);
}
.step { text-align: center; padding: 32px 20px; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
  background: linear-gradient(135deg, var(--p3), var(--p5));
  box-shadow: var(--glow-sm);
  position: relative; z-index: 1;
}
.step h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: .85rem; color: var(--muted); line-height: 1.6; }

/* ── CTA band ───────────────────────────────────────────── */
.cta-band {
  text-align: center; padding: 80px 40px;
  background: linear-gradient(135deg, rgba(76,29,149,.2), rgba(6,182,212,.1));
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(139,92,246,.15), transparent);
}
.cta-band h2 {
  font-family: var(--font-head); font-size: clamp(1.8rem,3vw,2.8rem);
  font-weight: 800; margin-bottom: 16px; position: relative;
}
.cta-band p { color: var(--muted); font-size: 1rem; margin-bottom: 36px; position: relative; }
.cta-band .actions { display: flex; justify-content: center; gap: 14px; position: relative; }

/* ── Footer ─────────────────────────────────────────────── */
footer {
  position: relative; z-index: 1;
}
footer .footer-logo {
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
  margin-bottom: 12px;
}
footer p { font-size: .82rem; color: var(--muted2); }
@media (max-width: 768px) {
  footer .container > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

/* ── Form styles ────────────────────────────────────────── */
.form-wrapper {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 100px 24px 60px;
  position: relative; z-index: 1;
}
.form-card {
  width: 100%; max-width: 640px;
  background: rgba(12,10,30,.8);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: 48px 40px;
  backdrop-filter: blur(30px);
  box-shadow: var(--glow-md), 0 40px 80px rgba(0,0,0,.5);
  animation: fadeUp .6s ease both;
}
.form-header { text-align: center; margin-bottom: 40px; }
.form-header h1 { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }
.form-header p { color: var(--muted); font-size: .9rem; }

.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: .8rem; font-weight: 600; color: var(--p7);
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 13px 16px;
  background: rgba(139,92,246,.06);
  border: 1px solid rgba(139,92,246,.2);
  border-radius: var(--r-sm); color: var(--white);
  font-size: .95rem; transition: all .2s;
  outline: none;
}
.form-input::placeholder { color: var(--muted2); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--p5);
  background: rgba(139,92,246,.1);
  box-shadow: 0 0 0 3px rgba(139,92,246,.15);
}
.form-select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 40px;
}
.form-select option { background: var(--bg2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* package cards */
.pkg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pkg-card {
  padding: 16px; border-radius: var(--r-md);
  border: 1.5px solid rgba(139,92,246,.2);
  cursor: pointer; transition: all .2s;
  background: rgba(139,92,246,.04);
  position: relative;
}
.pkg-card:hover { border-color: var(--p5); background: rgba(139,92,246,.1); }
.pkg-card.selected {
  border-color: var(--p5);
  background: rgba(139,92,246,.15);
  box-shadow: var(--glow-xs);
}
.pkg-card.selected::after {
  content: '✓';
  position: absolute; top: 10px; right: 12px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--p5); color: white;
  font-size: .7rem; display: flex; align-items: center; justify-content: center;
}
.pkg-name { font-weight: 700; font-size: .9rem; margin-bottom: 4px; }
.pkg-desc { font-size: .75rem; color: var(--muted); }
.pkg-score { font-size: .8rem; color: var(--p6); margin-top: 6px; font-weight: 600; }

.form-msg { text-align: center; padding: 20px; border-radius: var(--r-md); margin-top: 16px; }
.form-msg.success { background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.3); color: #6ee7b7; }
.form-msg.error   { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3); color: #fca5a5; }

/* ── Dashboard ──────────────────────────────────────────── */
.dash-wrapper {
  min-height: 100vh; padding: 90px 0 60px;
  position: relative; z-index: 1;
}
.dash-header {
  margin-bottom: 32px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.dash-header h1 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; }
.dash-live {
  display: flex; align-items: center; gap: 6px;
  font-size: .78rem; color: var(--muted);
}
.dash-live .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #10b981; box-shadow: 0 0 6px #10b981;
  animation: starTwinkle 1.5s ease-in-out infinite;
}

.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px;
}
.stat-card {
  padding: 22px 20px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--r-md); backdrop-filter: blur(10px);
}
.stat-card .num {
  font-family: var(--font-head); font-size: 2rem; font-weight: 800;
  background: linear-gradient(135deg, var(--p6), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-card .lbl { font-size: .78rem; color: var(--muted); margin-top: 4px; }

.table-wrap {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--r-lg); overflow: hidden; backdrop-filter: blur(10px);
}
table { width: 100%; border-collapse: collapse; }
thead { background: rgba(139,92,246,.1); }
thead th {
  padding: 14px 16px; text-align: left;
  font-size: .75rem; font-weight: 600; color: var(--p7);
  letter-spacing: .06em; text-transform: uppercase;
  border-bottom: 1px solid var(--glass-border);
}
tbody tr {
  border-bottom: 1px solid rgba(139,92,246,.08);
  transition: background .15s;
}
tbody tr:hover { background: rgba(139,92,246,.05); }
tbody td { padding: 13px 16px; font-size: .87rem; }
tbody td:first-child { font-weight: 500; }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 100px; font-size: .72rem; font-weight: 600;
}
.badge-paid    { background: rgba(16,185,129,.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,.3); }
.badge-pending { background: rgba(245,158,11,.12); color: #fcd34d; border: 1px solid rgba(245,158,11,.25); }
.badge-new     { background: rgba(139,92,246,.15); color: var(--p7); border: 1px solid rgba(139,92,246,.3); }

.action-btn {
  padding: 5px 12px; border-radius: 6px; font-size: .75rem; font-weight: 600;
  border: 1px solid; cursor: pointer; transition: all .15s; background: transparent;
}
.action-pay  { border-color: rgba(6,182,212,.4); color: var(--cyan); }
.action-pay:hover  { background: rgba(6,182,212,.1); }
.action-del  { border-color: rgba(239,68,68,.3); color: #f87171; }
.action-del:hover  { background: rgba(239,68,68,.08); }

/* ── Pay page ───────────────────────────────────────────── */
.pay-wrapper {
  min-height: 100vh; padding: 100px 24px 60px;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.pay-card { width: 100%; max-width: 520px; }
.pay-card .form-card { max-width: 100%; }

.order-summary {
  background: rgba(139,92,246,.06);
  border: 1px solid rgba(139,92,246,.18);
  border-radius: var(--r-md); padding: 20px; margin-bottom: 20px;
}
.order-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; font-size: .88rem;
}
.order-row:not(:last-child) { border-bottom: 1px solid rgba(139,92,246,.1); }
.order-row.total { font-weight: 700; font-size: 1.05rem; padding-top: 12px; }
.order-row.total .price { color: var(--p6); font-size: 1.2rem; }

.result-screen { display: none; text-align: center; padding: 40px 20px; }
.result-screen.active { display: block; animation: fadeUp .5s ease both; }
.result-icon { font-size: 3.5rem; margin-bottom: 16px; }
.result-screen h2 { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.result-screen p { color: var(--muted); font-size: .9rem; margin-bottom: 24px; }

/* ── Scroll reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { aspect-ratio: 4/3; max-width: 400px; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .form-card { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .pkg-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-band .actions { flex-direction: column; }
  .btn-lg { padding: 14px 28px; }
}
