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

:root {
  --purple: #7800fa;
  --purple-dim: #5500b5;
  --purple-glow: rgba(120, 0, 250, 0.15);
  --cream: #f2ebe3;
  --black: #08060d;
  --dark: #0f0c18;
  --dark2: #161221;
  --dark3: #1e1930;
  --gray: #4a4460;
  --gray-light: #8a80a0;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--black);
  color: var(--cream);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(120,0,250,0.15);
  background: rgba(8,6,13,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 32px; height: 32px;
  border-radius: 7px; overflow: hidden;
  background: var(--purple);
  flex-shrink: 0;
}

.nav-logo-icon svg { width: 100%; height: 100%; display: block; }

.nav-logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--cream);
}

.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 13px; font-weight: 400;
  color: var(--gray-light);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--cream); }

.nav-links a.active {
  color: var(--purple);
}

.nav-cta {
  background: var(--purple) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--purple-dim) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--cream); border-radius: 2px;
  transition: all 0.25s;
}

/* ── PAGE WRAPPER ── */
.page-content { padding-top: 72px; }

/* ── SECTION BASE ── */
.section {
  padding: 100px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple);
  font-weight: 500;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--cream);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray-light);
  max-width: 560px;
  margin-bottom: 64px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--purple); color: var(--white);
  text-decoration: none;
  padding: 14px 28px; border-radius: 8px;
  font-size: 15px; font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.15s;
  border: none; cursor: pointer;
}

.btn-primary:hover { background: var(--purple-dim); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--cream);
  text-decoration: none;
  padding: 14px 28px; border-radius: 8px;
  font-size: 15px; font-weight: 400;
  border: 1px solid rgba(242,235,227,0.15);
  transition: border-color 0.2s, transform 0.15s;
}

.btn-ghost:hover { border-color: rgba(242,235,227,0.35); transform: translateY(-1px); }

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(120,0,250,0.3), transparent);
  margin: 0 48px;
}

/* ── STATS SECTION ── */
.stats-section {
  padding: 80px 48px;
  background: var(--dark2);
  border-top: 1px solid rgba(120,0,250,0.1);
  border-bottom: 1px solid rgba(120,0,250,0.1);
}

.stats-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 48px; text-align: center;
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px; line-height: 1;
  color: var(--purple);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px; font-weight: 300;
  color: var(--gray-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── TEAM PILLS ── */
.team-pill { padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.pill-csk  { background: #F9CD1C22; color: #c9a500; border: 1px solid #c9a50055; }
.pill-srh  { background: #F2652222; color: #F26522; border: 1px solid #F2652255; }
.pill-pbks { background: #ED1F2722; color: #ED1F27; border: 1px solid #ED1F2755; }
.pill-dc   { background: #0078BC22; color: #4da8d4; border: 1px solid #0078BC55; }
.pill-rr   { background: #2D4AA822; color: #6b85d4; border: 1px solid #2D4AA855; }

/* ── STEPS ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
  background: rgba(120,0,250,0.1);
  border: 1px solid rgba(120,0,250,0.15);
  border-radius: 16px;
  overflow: hidden;
}

.step { background: var(--dark); padding: 36px 32px; transition: background 0.2s; }
.step:hover { background: var(--dark2); }
.step-num { font-family: 'Bebas Neue', sans-serif; font-size: 48px; line-height: 1; color: rgba(120,0,250,0.25); margin-bottom: 16px; }
.step-title { font-size: 16px; font-weight: 500; color: var(--cream); margin-bottom: 10px; }
.step-desc { font-size: 14px; font-weight: 300; line-height: 1.6; color: var(--gray-light); }

/* ── FEATURE CARDS ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }

.feature-card {
  background: var(--dark2);
  border: 1px solid rgba(120,0,250,0.12);
  border-radius: 12px; padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover { border-color: rgba(120,0,250,0.35); transform: translateY(-2px); }

.feature-icon {
  width: 40px; height: 40px;
  background: rgba(120,0,250,0.12);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 16px;
}

.feature-title { font-size: 15px; font-weight: 500; color: var(--cream); margin-bottom: 8px; }
.feature-desc { font-size: 13px; font-weight: 300; line-height: 1.6; color: var(--gray-light); }

/* ── FAQ ── */
.faq-list {
  display: flex; flex-direction: column; gap: 2px;
  border: 1px solid rgba(120,0,250,0.12);
  border-radius: 12px; overflow: hidden;
}

.faq-item { background: var(--dark2); border-bottom: 1px solid rgba(120,0,250,0.08); }
.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%; background: none; border: none;
  padding: 22px 28px; text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 500; color: var(--cream);
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: background 0.15s;
}

.faq-q:hover { background: rgba(120,0,250,0.06); }
.faq-arrow { font-size: 18px; color: var(--purple); transition: transform 0.25s; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(45deg); }

.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 14px; font-weight: 300; line-height: 1.7;
  color: var(--gray-light); padding: 0 28px;
}

.faq-item.open .faq-a { max-height: 200px; padding: 0 28px 22px; }

/* ── CTA BANNER ── */
.cta-banner {
  padding: 100px 48px; text-align: center;
  position: relative; overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(120,0,250,0.15) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-banner .section-title { margin-bottom: 20px; }
.cta-banner .section-desc { margin: 0 auto 40px; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 120px 48px 80px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120,0,250,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,0,250,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 80% at 20% 50%, black 0%, transparent 100%);
  pointer-events: none;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(120,0,250,0.1);
  padding: 48px;
}

.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 13px; font-weight: 300; line-height: 1.7; color: var(--gray); max-width: 220px; }

.footer-col h4 {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--purple);
  font-weight: 500; margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: 13px; color: var(--gray-light);
  text-decoration: none; font-weight: 300;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  max-width: 1100px; margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(120,0,250,0.08);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}

.footer-bottom p { font-size: 12px; color: var(--gray); }
.footer-bottom a { color: var(--gray); text-decoration: none; }
.footer-bottom a:hover { color: var(--cream); }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(8,6,13,0.98);
    padding: 20px; gap: 16px;
    border-bottom: 1px solid rgba(120,0,250,0.15);
  }
  .nav-hamburger { display: flex; }
  .section { padding: 64px 20px; }
  .page-hero { padding: 100px 20px 60px; }
  .stats-section { padding: 60px 20px; }
  .cta-banner { padding: 64px 20px; }
  .divider { margin: 0 20px; }
  footer { padding: 40px 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
