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

:root {
  --bg: #0d0d10;
  --bg2: #131317;
  --bg3: #1a1a20;
  --bg4: #1f1f26;
  --text: #f0ede8;
  --text2: #9a97a2;
  --text3: #5a5766;
  --gold: #c8b89a;
  --gold2: #e8d5b7;
  --gold3: #a89070;
  --border: rgba(200,184,154,0.12);
  --border2: rgba(200,184,154,0.22);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Film grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.2;
  mix-blend-mode: overlay;
  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)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

/* ═══ SCROLL PROGRESS BAR ═══ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold3), var(--gold), var(--gold2));
  z-index: 10000;
  transform-origin: left;
  transform: scaleX(0);
  transition: none;
  will-change: transform;
}

/* ═══ NAVIGATION ═══ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(13,13,16,0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
nav.scrolled {
  padding: 14px 48px;
  background: rgba(13,13,16,0.88);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom-color: var(--border);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--gold2);
}
.nav-logo span {
  color: var(--text3);
  font-style: italic;
  font-size: 14px;
  margin-left: 6px;
  opacity: 0.7;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: var(--text2);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--gold);
  color: var(--bg);
  border: none;
  padding: 10px 22px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 2px;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.nav-cta::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}
.nav-cta:hover { background: var(--gold2); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(200,184,154,0.3); }
.nav-cta:hover::before { left: 100%; }

/* ═══ 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;
  background-image: linear-gradient(rgba(13, 13, 16, 0.65), rgba(13, 13, 16, 0.75)), url('erqerimage.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Layered radial glows for depth */
.hero::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px; height: 600px;
  background: radial-gradient(ellipse, rgba(200,184,154,0.08) 0%, transparent 60%);
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite alternate;
}
.hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg), transparent);
  z-index: 2;
  pointer-events: none;
}

@keyframes heroGlow {
  0% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

/* Ambient floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.hero-particle {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: floatParticle 12s ease-in-out infinite;
}
.hero-particle:nth-child(1) { left: 15%; top: 25%; animation-delay: 0s; animation-duration: 14s; }
.hero-particle:nth-child(2) { left: 75%; top: 35%; animation-delay: 2s; animation-duration: 11s; }
.hero-particle:nth-child(3) { left: 40%; top: 65%; animation-delay: 4s; animation-duration: 16s; }
.hero-particle:nth-child(4) { left: 85%; top: 55%; animation-delay: 6s; animation-duration: 13s; }
.hero-particle:nth-child(5) { left: 25%; top: 80%; animation-delay: 1s; animation-duration: 15s; }
.hero-particle:nth-child(6) { left: 60%; top: 15%; animation-delay: 3s; animation-duration: 12s; }

@keyframes floatParticle {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.5); }
  20% { opacity: 0.4; }
  50% { opacity: 0.15; transform: translateY(-60px) scale(1); }
  80% { opacity: 0.3; }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border2);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  position: relative;
  z-index: 3;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(200,184,154,0.4); }
  50% { opacity: 0.6; transform: scale(0.7); box-shadow: 0 0 0 8px rgba(200,184,154,0); }
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--text);
  max-width: 900px;
  margin-bottom: 32px;
  position: relative;
  z-index: 3;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

/* Word-by-word reveal */
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotateX(15deg);
  animation: wordReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero h1 .word:nth-child(1) { animation-delay: 0.4s; }
.hero h1 .word:nth-child(2) { animation-delay: 0.5s; }
.hero h1 .word:nth-child(3) { animation-delay: 0.6s; }
.hero h1 .word:nth-child(4) { animation-delay: 0.7s; }
.hero h1 .word:nth-child(5) { animation-delay: 0.8s; }
.hero h1 .word:nth-child(6) { animation-delay: 0.9s; }

@keyframes wordReveal {
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

.hero p {
  font-size: 18px;
  color: var(--text2);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 56px;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.9s 1.0s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  position: relative;
  z-index: 3;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.9s 1.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  position: relative;
  z-index: 3;
}

.btn-primary {
  background: var(--gold);
  color: #0d0d10;
  border: none;
  padding: 16px 36px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 2px;
  letter-spacing: 0.02em;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 200%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.25) 50%, transparent 100%);
  transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary:hover {
  background: var(--gold2);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(200,184,154,0.3);
}
.btn-primary:hover::after { left: 100%; }
.btn-primary:active { transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border2);
  padding: 16px 36px;
  font-family: var(--sans);
  font-size: 15px;
  cursor: pointer;
  border-radius: 2px;
  letter-spacing: 0.02em;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-secondary:hover {
  color: var(--text);
  border-color: var(--gold3);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(200,184,154,0.1);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text3);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  z-index: 3;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold3), transparent);
  animation: scrollBreathe 3s ease-in-out infinite;
}
@keyframes scrollBreathe {
  0%,100% { transform: scaleY(1); opacity: 0.8; }
  50% { transform: scaleY(0.5); opacity: 0.3; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══ LIVE TICKER ═══ */
.ticker-wrap {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 16px 0;
  white-space: nowrap;
  position: relative;
}
/* Fade edges */
.ticker-wrap::before,
.ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg2), transparent);
}
.ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg2), transparent);
}
.ticker {
  display: inline-flex;
  gap: 64px;
  animation: ticker 32s linear infinite;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text2);
}
.ticker-item .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(200,184,154,0.3);
}
.ticker-item strong { color: var(--gold); font-weight: 500; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══ SECTION UTILITIES ═══ */
section { padding: 120px 24px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold3);
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}
.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 1px;
  background: var(--gold3);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-sub {
  font-size: 17px;
  color: var(--text2);
  max-width: 520px;
  font-weight: 300;
  line-height: 1.7;
}

/* ═══ COMPARISON SECTION ═══ */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.compare-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.compare-card:hover {
  transform: translateY(-4px);
}
.compare-today {
  background: linear-gradient(135deg, var(--bg2), rgba(30, 15, 15, 0.4));
}
.compare-today::after {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(200, 50, 50, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.compare-pact {
  background: linear-gradient(135deg, var(--bg2), rgba(200,184,154,0.04));
  border-color: var(--border2);
}
.compare-pact::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -30%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(200,184,154,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.compare-title {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--text);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.compare-title em {
  font-style: italic;
  color: var(--gold);
}
.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex-grow: 1;
  margin-bottom: 40px;
}
.compare-list li {
  font-size: 15px;
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}
.list-chaos li::before {
  content: '✕';
  font-size: 10px;
  color: rgba(200, 50, 50, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(200, 50, 50, 0.1);
  flex-shrink: 0;
}
.list-clear li::before {
  content: '✓';
  font-size: 11px;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(200,184,154,0.12);
  flex-shrink: 0;
}
.list-chaos li:not(:last-child)::after {
  content: '↓';
  position: absolute;
  left: 8px;
  top: 28px;
  font-size: 12px;
  color: rgba(255,255,255,0.06);
}
.list-clear li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 11.5px;
  top: 26px;
  width: 1px;
  height: 18px;
  background: rgba(200,184,154,0.15);
}
.compare-footer {
  font-size: 14px;
  font-weight: 500;
  color: var(--text3);
  padding-top: 24px;
  border-top: 1px solid var(--border);
  letter-spacing: 0.02em;
}
.compare-footer.highlight {
  color: var(--gold2);
}

/* ═══ HOW IT WORKS ═══ */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 64px;
  border-radius: 4px;
  overflow: hidden;
}
.how-card {
  background: var(--bg2);
  padding: 48px 40px;
  position: relative;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.how-card:hover {
  background: var(--bg3);
}
.how-num {
  font-family: var(--serif);
  font-size: 64px;
  color: rgba(200,184,154,0.06);
  line-height: 1;
  margin-bottom: 24px;
  position: absolute;
  top: 32px; right: 32px;
  transition: color 0.5s;
}
.how-card:hover .how-num {
  color: rgba(200,184,154,0.12);
}
.how-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--border2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 20px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.how-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(200,184,154,0.06);
  opacity: 0;
  transition: opacity 0.4s;
}
.how-card:hover .how-icon {
  border-color: var(--gold3);
  box-shadow: 0 0 20px rgba(200,184,154,0.1);
}
.how-card:hover .how-icon::before { opacity: 1; }
.how-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.how-card p { font-size: 14px; color: var(--text2); line-height: 1.7; }

/* Step connector line (drawn via JS) */
.how-connector {
  position: absolute;
  top: 50%;
  right: -1px;
  width: 2px;
  height: 0;
  background: var(--gold3);
  transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(-50%);
  opacity: 0.3;
}
.how-card:not(:last-child) .how-connector.drawn {
  height: 40px;
}

/* ═══ STATS ═══ */
.stats-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
/* Subtle gradient mesh behind stats */
.stats-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(200,184,154,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  position: relative;
}
.stat-card {
  background: var(--bg2);
  padding: 48px 40px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.stat-card:hover {
  background: var(--bg3);
}
.stat-num {
  font-family: var(--serif);
  font-size: 52px;
  color: var(--gold);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
  transition: all 0.3s;
  position: relative;
}
/* Glow behind counted number */
.stat-num.counted::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100px; height: 60px;
  background: radial-gradient(ellipse, rgba(200,184,154,0.12), transparent);
  pointer-events: none;
  animation: statGlow 0.8s ease-out forwards;
  z-index: -1;
}
@keyframes statGlow {
  from { opacity: 1; transform: translate(-50%, -50%) scale(0.5); }
  to { opacity: 0; transform: translate(-50%, -50%) scale(2); }
}
.stat-label { font-size: 13px; color: var(--text3); letter-spacing: 0.04em; }

/* ═══ OPPORTUNITIES ═══ */
.opps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.opp-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 28px 32px;
  border-radius: 4px;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.opp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(to bottom, var(--gold), var(--gold3));
  transition: height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.opp-card:hover {
  background: var(--bg3);
  border-color: var(--border2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.opp-card:hover::before { height: 100%; }
.opp-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.opp-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.opp-avatar {
  width: 40px; height: 40px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--serif);
  background: rgba(200,184,154,0.12);
  color: var(--gold);
  flex-shrink: 0;
  overflow: hidden;
}
.opp-brand-name { font-size: 14px; font-weight: 500; color: var(--text); }
.opp-industry { font-size: 12px; color: var(--text3); }
.opp-badge {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(200,184,154,0.1);
  color: var(--gold3);
  border: 1px solid rgba(200,184,154,0.2);
  white-space: nowrap;
}
.opp-badge.new {
  background: rgba(100,200,140,0.08);
  color: #7dcfa0;
  border-color: rgba(100,200,140,0.2);
  animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(100,200,140,0.2); }
  50% { box-shadow: 0 0 0 4px rgba(100,200,140,0); }
}
.opp-title { font-family: var(--serif); font-size: 20px; color: var(--text); margin-bottom: 10px; letter-spacing: -0.01em; }
.opp-desc { font-size: 13px; color: var(--text2); line-height: 1.6; margin-bottom: 20px; }
.opp-meta { display: flex; gap: 24px; }
.opp-meta-item { display: flex; flex-direction: column; gap: 2px; }
.opp-meta-label { font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text3); }
.opp-meta-value { font-size: 13px; color: var(--gold); font-weight: 500; }
.opp-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.opp-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.opp-tag {
  font-size: 11px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text3);
  transition: all 0.3s;
}
.opp-card:hover .opp-tag {
  border-color: rgba(200,184,154,0.18);
  color: var(--text2);
}
.opp-apply {
  font-size: 12px;
  color: var(--gold3);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.3s;
  background: none;
  border: none;
  font-family: var(--sans);
  position: relative;
}
.opp-apply::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold2);
  transition: width 0.3s;
}
.opp-apply:hover { color: var(--gold2); }
.opp-apply:hover::after { width: 100%; }

/* ═══ TWO SIDES ═══ */
.two-sides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 64px;
  border-radius: 4px;
  overflow: hidden;
}
.side-card {
  background: var(--bg2);
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: background 0.5s;
}
.side-card:hover {
  background: rgba(19,19,23,0.9);
}
.side-card-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
}
.side-card h3 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}
.side-card h3 em { font-style: italic; color: var(--gold); }
.side-card p { font-size: 15px; color: var(--text2); line-height: 1.7; font-weight: 300; }
.side-features { display: flex; flex-direction: column; gap: 12px; }
.side-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text2);
  transition: all 0.3s;
}
.side-feature:hover {
  color: var(--text);
}
.side-feature::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold3);
  flex-shrink: 0;
  margin-top: 8px;
  transition: all 0.3s;
}
.side-feature:hover::before {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(200,184,154,0.3);
}

/* ═══ WAITLIST / SIGNUP FORM ═══ */
.signup-section {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.signup-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(200,184,154,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.signup-inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}
.signup-tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 40px;
  width: fit-content;
  position: relative;
}
.signup-tab {
  padding: 12px 32px;
  font-size: 14px;
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--text3);
  font-family: var(--sans);
  letter-spacing: 0.02em;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
}
.signup-tab.active {
  background: var(--gold);
  color: #0d0d10;
  font-weight: 500;
}
.signup-tab:not(.active):hover { background: rgba(200,184,154,0.06); color: var(--text2); }

.form-panel { display: none; }
.form-panel.active { display: block; animation: formFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1); }

@keyframes formFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group.full { grid-column: 1 / -1; }
label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text3);
}
input, select, textarea {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 15px;
  border-radius: 4px;
  outline: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  appearance: none;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(200,184,154,0.5);
  background: var(--bg4);
  box-shadow: 0 0 0 4px rgba(200,184,154,0.06), 0 4px 16px rgba(0,0,0,0.2);
}
input::placeholder, textarea::placeholder { color: var(--text3); }
select option { background: var(--bg3); }
textarea { resize: vertical; min-height: 90px; line-height: 1.6; }

/* Email Help Popup Animation */
.email-help {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  color: var(--text3);
  font-size: 12px;
  line-height: 1.4;
  margin-top: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
input[type="email"]:focus ~ .email-help {
  max-height: 60px;
  opacity: 1;
  margin-top: 6px;
}
.form-submit {
  width: 100%;
  margin-top: 8px;
  padding: 18px;
  background: var(--gold);
  color: #0d0d10;
  border: none;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.form-submit::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
}
.form-submit:hover {
  background: var(--gold2);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(200,184,154,0.3);
}
.form-submit:hover::before { left: 100%; }
.form-submit:active { transform: translateY(0); }

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--text3);
  margin-top: 16px;
  line-height: 1.6;
}

/* ═══ FORM ERROR STATES ═══ */
@keyframes formShake {
  0%,100% { transform: translateX(0); }
  15%      { transform: translateX(-10px); }
  30%      { transform: translateX(10px); }
  45%      { transform: translateX(-8px); }
  60%      { transform: translateX(8px); }
  75%      { transform: translateX(-4px); }
  90%      { transform: translateX(4px); }
}
.form-error-shake {
  animation: formShake 0.55s cubic-bezier(0.36,0.07,0.19,0.97);
}
.input-error {
  border-color: #e07070 !important;
  box-shadow: 0 0 0 3px rgba(224,112,112,0.15) !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}
.form-error-banner {
  background: rgba(224,112,112,0.1);
  border: 1px solid rgba(224,112,112,0.3);
  border-radius: 4px;
  color: #e09090;
  font-size: 13px;
  padding: 12px 16px;
  text-align: center;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.form-error-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ═══ PLATFORM PILLS (multi-select) ═══ */
.platform-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.platform-pill {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--bg3);
  color: var(--text2);
  font-family: var(--sans);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}
.platform-pill:hover {
  border-color: var(--gold3);
  color: var(--text);
}
.platform-pill.selected {
  background: rgba(200,184,154,0.12);
  border-color: var(--gold);
  color: var(--gold);
}

/* ═══ LEGAL CHECKBOX ═══ */
.legal-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0 16px;
}
.legal-check input[type="checkbox"] {
  appearance: auto !important;
  -webkit-appearance: auto !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  padding: 0 !important;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
  border-radius: 2px !important;
}
.legal-label {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
  text-transform: none;
  letter-spacing: 0;
  cursor: default;
}
.legal-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--gold3);
  font-family: var(--sans);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.legal-link:hover { color: var(--gold2); }

/* ═══ MODAL ═══ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,13,16,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-card {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 8px;
  width: 100%;
  max-width: 560px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.modal-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.01em;
}
.modal-close {
  background: none;
  border: none;
  color: var(--text3);
  font-size: 18px;
  cursor: pointer;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
  padding: 0;
  font-family: var(--sans);
}
.modal-close:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.modal-body {
  padding: 28px;
  overflow-y: auto;
  flex: 1;
}

/* ═══ OTP VERIFICATION SCREEN ═══ */
.otp-state {
  display: none;
  animation: formFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.otp-state.show { display: block; }
.otp-inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 24px;
}
.otp-icon {
  font-size: 32px;
  margin-bottom: 20px;
  display: block;
  filter: grayscale(0.3);
}
.otp-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.otp-sub {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 36px;
  line-height: 1.6;
}
.otp-sub strong { color: var(--gold); font-weight: 500; }
.otp-inputs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}
.otp-box {
  width: 52px !important;
  height: 60px !important;
  padding: 0 !important;
  text-align: center;
  font-size: 22px !important;
  font-family: var(--serif) !important;
  letter-spacing: 0;
  border-radius: 4px !important;
  border: 1px solid var(--border) !important;
  background: var(--bg3) !important;
  color: var(--gold) !important;
  caret-color: var(--gold);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.otp-box:focus {
  border-color: rgba(200,184,154,0.5) !important;
  background: var(--bg4) !important;
  box-shadow: 0 0 0 4px rgba(200,184,154,0.08) !important;
  outline: none;
}
.otp-box.filled {
  border-color: rgba(200,184,154,0.3) !important;
  background: var(--bg4) !important;
}
.otp-box.shake {
  animation: shake 0.4s cubic-bezier(0.36,0.07,0.19,0.97);
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
.otp-sep {
  color: var(--text3);
  font-size: 18px;
  margin: 0 2px;
  user-select: none;
}
.otp-error {
  color: #e07070;
  font-size: 13px;
  min-height: 18px;
  margin-bottom: 16px;
  transition: opacity 0.3s;
}
.resend-btn {
  background: none;
  border: none;
  color: var(--gold3);
  font-family: var(--sans);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
  padding: 0;
}
.resend-btn:hover { color: var(--gold2); }
.resend-btn:disabled { color: var(--text3); cursor: default; text-decoration: none; }

/* SUCCESS STATE */
.success-state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  text-align: center;
  gap: 16px;
}
.success-state.show { display: flex; }
.success-icon {
  width: 60px; height: 60px;
  border: 1px solid rgba(100,200,140,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 8px;
  animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
.success-icon::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(100,200,140,0.15);
  animation: successRing 1s ease-out 0.3s forwards;
  opacity: 0;
}
@keyframes successPop {
  from { transform: scale(0.3); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes successRing {
  from { transform: scale(0.8); opacity: 1; }
  to { transform: scale(1.5); opacity: 0; }
}
.success-state h3 { font-family: var(--serif); font-size: 28px; color: var(--text); letter-spacing: -0.01em; }
.success-state p { font-size: 15px; color: var(--text2); max-width: 400px; font-weight: 300; }

/* ═══ FOOTER ═══ */
footer {
  background: var(--bg);
  border-top: 1px solid transparent;
  padding: 56px 48px 36px;
  position: relative;
  overflow: hidden;
}
/* Gradient border at top instead of plain line */
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold3), var(--gold), var(--gold3), transparent);
  opacity: 0.4;
}
.footer-ghost {
  position: absolute;
  bottom: -32px; right: -16px;
  font-family: 'Instrument Serif', serif;
  font-size: 180px;
  color: rgba(200,184,154,0.025);
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: -0.04em;
  user-select: none;
  animation: ghostDrift 20s ease-in-out infinite alternate;
}
@keyframes ghostDrift {
  from { transform: translateX(0); }
  to { transform: translateX(-30px); }
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(200,184,154,0.06);
  margin-bottom: 28px;
  position: relative;
}
.footer-wordmark {
  font-family: 'Instrument Serif', serif;
  font-size: 36px;
  color: #e8d5b7;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 14px;
  text-decoration: none;
  display: block;
}
.footer-tagline {
  font-size: 13px;
  color: #5a5766;
  line-height: 1.7;
  max-width: 210px;
  font-weight: 300;
}
.footer-col-title {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a89070;
  margin-bottom: 18px;
}
.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col-links a {
  font-size: 14px;
  color: #5a5766;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  width: fit-content;
}
.footer-col-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold3);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.footer-col-links a:hover { color: var(--gold); }
.footer-col-links a:hover::after { width: 100%; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.footer-copy { font-size: 12px; color: rgba(90,87,102,0.7); }
.footer-badge {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border: 1px solid rgba(200,184,154,0.15);
  border-radius: 100px;
  color: #a89070;
  display: flex;
}

/* ═══ SCROLL REVEAL — PER-SECTION CUSTOM ═══ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale in */
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.19s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.26s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.33s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.40s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.47s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.54s; }
.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* COUNTER ANIMATION */
.count-up { display: inline-block; }

/* ═══ MOBILE ═══ */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  nav.scrolled { padding: 12px 20px; }
  .nav-links { display: none; }
  .hero h1 { font-size: 44px; }
  .hero h1 .word { animation-delay: 0.3s !important; }
  .comparison-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .opps-grid { grid-template-columns: 1fr; }
  .two-sides { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  footer { padding: 40px 20px 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-ghost { display: none; }
  section { padding: 80px 20px; }
  .side-card { padding: 48px 32px; }
  .how-card { padding: 40px 32px; }
}
