@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --primary: #7C6FF7;
  --primary-light: #A78BFA;
  --primary-dark: #5B21B6;
  --accent: #F472B6;
  --accent2: #34D399;
  --gold: #F59E0B;
  --bg: #070E1F;
  --bg2: #0C1528;
  --bg3: #111C35;
  --card: rgba(255,255,255,0.03);
  --card-hover: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.07);
  --border-glow: rgba(124,111,247,0.4);
  --text-primary: #EEF2FF;
  --text-secondary: #8B96B0;
  --text-muted: #536070;
  --radius: 18px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── MESH GRADIENT BG ── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% -10%, rgba(124,111,247,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 110%, rgba(244,114,182,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(52,211,153,0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* ── PARTICLE DOTS ── */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background-image: radial-gradient(rgba(124,111,247,0.25) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, black 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.4;
}

/* ── CONTAINER ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }

/* ── HEADER ── */
header { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); width: calc(100% - 48px); max-width: 1100px; z-index: 1000; }

.nav-pill {
  display: flex; justify-content: space-between; align-items: center;
  height: 52px; padding: 0 20px;
  background: rgba(12, 21, 40, 0.7);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
}

.logo { font-size: 19px; font-weight: 800; color: var(--text-primary); text-decoration: none; display: flex; align-items: center; gap: 9px; letter-spacing: -0.4px; }
.logo svg { flex-shrink: 0; }
.logo-highlight { color: var(--primary-light); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { text-decoration: none; color: var(--text-secondary); font-weight: 500; font-size: 13.5px; padding: 7px 12px; border-radius: 9px; transition: all 0.2s; }
.nav-links a:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); }

.nav-dl {
  background: linear-gradient(135deg, #6366F1 0%, #7C3AED 100%) !important;
  color: white !important; font-weight: 700 !important;
  padding: 8px 18px !important; border-radius: 10px !important;
  font-size: 13px !important;
  box-shadow: 0 4px 14px rgba(99,102,241,0.4);
  transition: all 0.3s !important;
}
.nav-dl:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(99,102,241,0.55) !important; background: rgba(255,255,255,0.06) !important; }

/* ── HERO ── */
.hero {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 160px 0 60px;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 6px 5px 14px;
  background: rgba(124,111,247,0.1); border: 1px solid rgba(124,111,247,0.25);
  color: var(--primary-light); border-radius: 50px; font-size: 13px; font-weight: 700;
  margin-bottom: 36px; animation: fadeUp 0.6s ease both;
}
.hero-eyebrow-pill {
  background: var(--primary); color: white; padding: 3px 10px;
  border-radius: 30px; font-size: 11px; font-weight: 800; letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(44px, 7.5vw, 82px); font-weight: 800;
  letter-spacing: -3px; line-height: 1.02;
  margin-bottom: 28px;
  animation: fadeUp 0.7s ease 0.1s both;
}
.gradient-word {
  background: linear-gradient(135deg, #A78BFA 0%, #818CF8 40%, #F472B6 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; color: transparent;
}

.hero-desc {
  font-size: 19px; color: var(--text-secondary); max-width: 560px;
  margin: 0 auto 44px; font-weight: 400; line-height: 1.7;
  animation: fadeUp 0.7s ease 0.2s both;
}

/* ── BUTTONS ── */
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; animation: fadeUp 0.7s ease 0.3s both; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 15px 28px; font-size: 15px; font-weight: 700; text-decoration: none; border-radius: 14px; border: none; cursor: pointer; transition: all 0.3s; white-space: nowrap; }

.btn-cta {
  background: linear-gradient(135deg, #6366F1 0%, #7C3AED 100%);
  color: white;
  box-shadow: 0 0 0 1px rgba(99,102,241,0.3), 0 14px 30px rgba(99,102,241,0.4);
  position: relative; overflow: hidden;
}
.btn-cta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.13) 0%, transparent 50%); pointer-events: none; }
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(99,102,241,0.5), 0 20px 40px rgba(99,102,241,0.5); }

.btn-outline { background: rgba(255,255,255,0.04); color: var(--text-secondary); border: 1px solid var(--border); }
.btn-outline:hover { background: rgba(255,255,255,0.08); color: var(--text-primary); border-color: rgba(255,255,255,0.15); transform: translateY(-2px); }

/* ── SPINNER ── */
.spinner { width: 17px; height: 17px; border: 2px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%; animation: spin 0.7s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── TRUST ── */
.trust-row { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 52px; animation: fadeUp 0.7s ease 0.45s both; }
.trust-pill { display: flex; align-items: center; gap: 7px; color: var(--text-muted); font-size: 13px; font-weight: 600; }
.trust-pill svg { color: var(--accent2); }
.trust-divider { width: 1px; height: 14px; background: var(--border); }


/* ── SECTION HEADER ── */
.sec-header { text-align: center; margin-bottom: 56px; }
.sec-tag { display: inline-block; padding: 4px 14px; background: rgba(124,111,247,0.1); border: 1px solid rgba(124,111,247,0.2); color: var(--primary-light); border-radius: 50px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 16px; }
.sec-title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 14px; }
.sec-sub { color: var(--text-secondary); font-size: 16.5px; max-width: 500px; margin: 0 auto; }

/* ── FEATURES ── */
.features-wrap { padding: 50px 0 80px; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.feat-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; position: relative; overflow: hidden;
  transition: all 0.35s ease;
  backdrop-filter: blur(6px);
}
.feat-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(124,111,247,0.5), transparent); opacity: 0; transition: opacity 0.3s; }
.feat-card:hover { transform: translateY(-5px); border-color: rgba(124,111,247,0.3); background: var(--card-hover); box-shadow: 0 24px 48px rgba(0,0,0,0.25); }
.feat-card:hover::after { opacity: 1; }

.feat-icon { width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feat-icon svg { width: 22px; height: 22px; }
.c-violet { background: rgba(124,111,247,0.12); color: #A78BFA; }
.c-pink   { background: rgba(244,114,182,0.12); color: #F472B6; }
.c-green  { background: rgba(52,211,153,0.12);  color: #34D399; }
.c-amber  { background: rgba(245,158,11,0.12);  color: #FBBF24; }
.c-sky    { background: rgba(56,189,248,0.12);   color: #38BDF8; }
.c-rose   { background: rgba(251,113,133,0.12);  color: #FB7185; }

.feat-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 9px; }
.feat-card p  { color: var(--text-secondary); font-size: 14px; line-height: 1.65; }

/* ── APP SHOWCASE / CTA ── */
.cta-band { padding: 0 0 100px; }
.cta-inner {
  background: linear-gradient(135deg, rgba(99,102,241,0.13) 0%, rgba(124,58,237,0.09) 50%, rgba(244,114,182,0.07) 100%);
  border: 1px solid rgba(124,111,247,0.2); border-radius: 28px;
  padding: 80px 48px; text-align: center; position: relative; overflow: hidden;
}
.cta-inner::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(167,139,250,0.6), transparent); }
.cta-inner::after  { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(124,111,247,0.1) 0%, transparent 70%); pointer-events: none; }
.cta-inner h2 { font-size: clamp(26px, 4vw, 42px); font-weight: 800; letter-spacing: -1.5px; margin-bottom: 14px; }
.cta-inner p  { color: var(--text-secondary); font-size: 17px; margin-bottom: 36px; }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border); padding: 40px 0; position: relative; z-index: 1; }
.foot-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.foot-copy { color: var(--text-muted); font-size: 13px; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { color: var(--text-muted); font-size: 13px; text-decoration: none; transition: color 0.2s; }
.foot-links a:hover { color: var(--text-primary); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.on { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } .stats-inner { grid-template-columns: 1fr; } .stat-box + .stat-box::before { display: none; } }
@media (max-width: 640px) { .nav-links { display: none; } header { width: calc(100% - 24px); } .feat-grid { grid-template-columns: 1fr; } .btn-row { flex-direction: column; align-items: center; } .cta-inner { padding: 48px 24px; } .foot-row { flex-direction: column; text-align: center; } .foot-links { justify-content: center; } .trust-divider { display: none; } }
