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

:root {
  --red:       #c0392b;
  --red-light: #e74c3c;
  --red-dark:  #922b21;
  --red-glow:  rgba(192, 57, 43, 0.35);
  --bg:        #0d0d0d;
  --card:      #161616;
  --border:    rgba(255,255,255,0.07);
  --text:      #f0f0f0;
  --muted:     #888;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAVBAR ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 64px;
  background: rgba(13,13,13,0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all .3s;
}
.nav.stuck {
  padding: 12px 64px;
  background: rgba(13,13,13,0.95);
  border-bottom-color: var(--border);
}
.nav-brand { font-size: 18px; font-weight: 800; letter-spacing: -.5px; }
.nav-brand em { color: var(--red-light); font-style: normal; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--muted); font-size: 14px; font-weight: 500;
  text-decoration: none; transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.btn-login {
  background: var(--red); color: #fff;
  padding: 9px 22px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.btn-login:hover { background: var(--red-light); transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; top: 10%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(192,57,43,.22) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(192,57,43,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192,57,43,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 0%, transparent 100%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(192,57,43,.12);
  border: 1px solid rgba(192,57,43,.35);
  color: #f1948a;
  padding: 6px 18px; border-radius: 100px;
  font-size: 13px; font-weight: 500;
  margin-bottom: 28px;
  opacity: 0; animation: up .6s .2s forwards;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red-light);
  animation: blink 2s infinite;
}
@keyframes blink {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.4; transform:scale(1.4); }
}
.hero h1 {
  font-size: clamp(40px, 7vw, 82px);
  font-weight: 900; letter-spacing: -2.5px; line-height: 1.04;
  margin-bottom: 24px;
  opacity: 0; animation: up .6s .4s forwards;
}
.hero h1 .grad {
  background: linear-gradient(135deg, var(--red-light), var(--red-dark));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px; color: var(--muted); line-height: 1.7;
  max-width: 520px; margin: 0 auto 44px;
  opacity: 0; animation: up .6s .6s forwards;
}
.hero-btns {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: up .6s .8s forwards;
}
.btn-main {
  background: linear-gradient(135deg, var(--red-light), var(--red-dark));
  color: #fff; padding: 14px 34px; border-radius: 10px;
  font-size: 15px; font-weight: 700; text-decoration: none;
  box-shadow: 0 4px 28px var(--red-glow);
  transition: transform .2s, box-shadow .2s;
}
.btn-main:hover { transform: translateY(-3px); box-shadow: 0 8px 36px var(--red-glow); }
.btn-ghost {
  background: rgba(255,255,255,.05); color: var(--text);
  padding: 14px 34px; border-radius: 10px;
  font-size: 15px; font-weight: 700; text-decoration: none;
  border: 1px solid rgba(255,255,255,.1);
  transition: background .2s, transform .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); }
.scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase;
  opacity: 0; animation: up .6s 1.2s forwards;
}
.chevron {
  width: 20px; height: 20px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  animation: bounce 1.6s infinite;
}
@keyframes bounce {
  0%,100% { transform: rotate(45deg) translateY(0); }
  50%      { transform: rotate(45deg) translateY(7px); }
}

/* ── STATS ── */
.stats {
  display: flex; justify-content: center; flex-wrap: wrap;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat {
  flex: 1; min-width: 160px; padding: 48px 32px; text-align: center;
  border-right: 1px solid var(--border);
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s, transform .5s;
}
.stat:last-child { border-right: none; }
.stat.vis { opacity: 1; transform: translateY(0); }
.stat-n { font-size: 40px; font-weight: 900; color: var(--red-light); letter-spacing: -1px; }
.stat-l { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ── FEATURES ── */
.features { padding: 100px 64px; max-width: 1200px; margin: 0 auto; }
.sec-tag {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2.5px; color: var(--red-light); margin-bottom: 14px;
}
.sec-title {
  font-size: clamp(28px, 4vw, 46px); font-weight: 800;
  letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 16px;
}
.sec-sub {
  font-size: 16px; color: var(--muted); max-width: 480px;
  line-height: 1.7; margin-bottom: 56px;
}
.grid-6 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.fcard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 32px;
  transition: border-color .3s, transform .3s;
  opacity: 0; transform: translateY(28px);
}
.fcard.vis { opacity: 1; transform: translateY(0); }
.fcard:hover { border-color: rgba(192,57,43,.45); transform: translateY(-4px); }
.ficon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(192,57,43,.14);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.ficon svg { width: 22px; height: 22px; color: var(--red-light); }
.fcard h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.fcard p  { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── HOW IT WORKS ── */
.hiw {
  background: rgba(192,57,43,.04);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 64px;
}
.hiw-inner { max-width: 1200px; margin: 0 auto; }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px; margin-top: 56px;
}
.step {
  text-align: center;
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s, transform .5s;
}
.step.vis { opacity: 1; transform: translateY(0); }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red-light), var(--red-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900;
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px var(--red-glow);
}
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.step p  { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── ROLES ── */
.roles { padding: 100px 64px; max-width: 1200px; margin: 0 auto; }
.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px; margin-top: 56px;
}
.rcard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 28px 24px; text-align: center;
  transition: border-color .3s, transform .3s;
  opacity: 0; transform: translateY(20px);
}
.rcard.vis { opacity: 1; transform: translateY(0); }
.rcard:hover { border-color: rgba(192,57,43,.4); transform: translateY(-4px); }
.ric  { display: flex; justify-content: center; margin-bottom: 14px; }
.ric svg { width: 28px; height: 28px; color: var(--red-light); }
.rcard h4 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.rcard p  { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ── CTA ── */
.cta { padding: 100px 64px; text-align: center; position: relative; overflow: hidden; }
.cta-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(192,57,43,.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; max-width: 580px; margin: 0 auto; }
.cta h2 { font-size: clamp(28px,4vw,46px); font-weight: 800; letter-spacing: -1.5px; margin-bottom: 16px; }
.cta p  { font-size: 16px; color: var(--muted); margin-bottom: 40px; line-height: 1.7; }

/* ── FOOTER ── */
footer {
  padding: 28px 64px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.ft-brand { font-size: 15px; font-weight: 800; }
.ft-brand em { color: var(--red-light); font-style: normal; }
.ft-copy { font-size: 12px; color: var(--muted); }

/* ── ANIMATIONS ── */
@keyframes up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .nav.stuck { padding: 10px 20px; }
  .nav-links { display: none; }
  .hero { padding: 110px 20px 70px; }
  .stats .stat { padding: 32px 16px; }
  .features, .roles, .cta { padding: 60px 20px; }
  .hiw { padding: 60px 20px; }
  footer { padding: 24px 20px; flex-direction: column; text-align: center; }
}
