:root {
  --black: #050608;
  --navy: #0c1524;
  --navy-mid: #12203a;
  --navy-light: #1b3055;
  --gold: #c9a84c;
  --gold-muted: #a08838;
  --cream: #f7f5f0;
  --warm-white: #fdfcf9;
  --sand: #e9e4db;
  --text: #1a1a2e;
  --muted: #5f6577;
  --light: #8e93a4;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-snap-type: y mandatory; overflow-y: scroll; }
body { font-family: 'Outfit', sans-serif; background: var(--black); color: #fff; overflow-x: hidden; }
::selection { background: var(--gold); color: var(--navy); }
a { text-decoration: none; transition: opacity 0.3s; }
a:hover { opacity: 0.85; }
img { max-width: 100%; }

/* Snap sections */
.snap-section { scroll-snap-align: start; min-height: 50vh; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.snap-section-auto { scroll-snap-align: start; }

/* Fade-in animation */
.fade-in { opacity: 0; transform: translateY(36px); transition: opacity 0.8s cubic-bezier(.23,1,.32,1), transform 0.8s cubic-bezier(.23,1,.32,1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-d1 { transition-delay: 0.1s; }
.fade-d2 { transition-delay: 0.2s; }
.fade-d3 { transition-delay: 0.3s; }
.fade-d4 { transition-delay: 0.4s; }
.fade-d5 { transition-delay: 0.5s; }

/* Section label */
.sec-label { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.sec-label::before { content: ''; width: 40px; height: 1px; background: var(--gold); }
.sec-label span { font-family: 'Outfit', sans-serif; font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); font-weight: 500; }

/* Typography */
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; }
h1 { font-size: clamp(44px, 7vw, 80px); font-weight: 300; line-height: 1.1; }
h2 { font-size: clamp(32px, 4.5vw, 56px); font-weight: 300; line-height: 1.15; }
.gold { color: var(--gold); font-weight: 600; }
.gold-i { color: var(--gold); font-weight: 600; font-style: italic; }
.body-text { font-family: 'Outfit', sans-serif; font-size: 16px; color: rgba(255,255,255,0.45); line-height: 1.8; font-weight: 300; max-width: 720px; }
.body-dark { font-family: 'Outfit', sans-serif; font-size: 16px; color: var(--muted); line-height: 1.8; font-weight: 300; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 max(24px, 5vw); }
.section { padding: 40px 0; }
.grid-2 { display: grid; grid-template-columns: 70% 50%; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0 max(34px, 5vw); transition: all 0.5s; }
.nav.scrolled { background: rgba(5,6,8,0.92); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(201,168,76,0.1); }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { height: 70px; cursor: pointer; }
.nav-links { display: flex; align-items: center; gap: 42px; padding-left: 350px;}
.nav-links a { font-family: 'Outfit', sans-serif; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.5); font-weight: 400; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.btn-gold { background: var(--gold); color: var(--navy); padding: 10px 28px; font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; border: none; cursor: pointer; display: inline-block; }
.btn-gold-lg { background: var(--gold); color: var(--navy); padding: 16px 40px; font-family: 'Cormorant Garamond', serif; font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; display: inline-block; }
.btn-outline { border: 1px solid rgba(255,255,255,0.25); color: #fff; padding: 16px 40px; font-family: 'Cormorant Garamond', serif; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; display: inline-block; background: none; cursor: pointer; }
.mobile-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }
.mobile-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; background: rgba(5,6,8,0.97); backdrop-filter: blur(16px); padding: 24px max(24px, 5vw); z-index: 1001; border-bottom: 1px solid rgba(201,168,76,0.1); }
.mobile-menu a { display: block; font-family: 'Outfit', sans-serif; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.6); padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu.open { display: block; }
@media (max-width: 900px) {
  .nav-links { display: none !important; }
  .mobile-toggle { display: block !important; }
}

/* Cards */
.card-dark { background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.05); padding: 28px 20px; text-align: center; }
.card-white { background: #fff; padding: 28px 20px; border-top: 3px solid var(--gold); box-shadow: 0 2px 20px rgba(0,0,0,0.04); height: 100%; }
.testi-dark { border-left: 2px solid var(--gold); padding-left: 24px; padding-top: 8px; padding-bottom: 8px; }
.testi-white { background: #fff; padding: 32px 28px; border-left: 3px solid var(--gold); }

/* Stat row */
.stat-row { display: flex; gap: 0; }
.stat-item { flex: 1; padding: 15px 32px; text-align: center; }
.stat-item + .stat-item { border-left: 1px solid rgba(255,255,255,0.06); }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px, 3.5vw, 48px); color: var(--gold); font-weight: 600; }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 2px; text-transform: uppercase; margin-top: 8px; }
.stat-sub { font-size: 11px; color: rgba(255,255,255,0.25); margin-top: 4px; }

/* Pain grid */
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: rgba(255,255,255,0.04); }
.pain-item { background: var(--black); padding: 40px 32px; }

/* Board tiers */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tier-card { background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.06); padding: 32px 20px; text-align: center; transition: border-color 0.3s; }
.tier-card:hover { border-color: rgba(201,168,76,0.3); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--sand); padding: 24px 0; }

/* Guarantee */
.guarantee-bar { background: var(--navy); padding: 60px 0; text-align: center; border-top: 1px solid rgba(201,168,76,0.1); border-bottom: 1px solid rgba(201,168,76,0.1); }

/* Responsive */
@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
  .stat-row { flex-direction: column; }
  .stat-item + .stat-item { border-left: none; border-top: 1px solid rgba(255,255,255,0.06); }
  .tier-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .impact-split { grid-template-columns: 1fr !important; min-height: auto !important; }
  .snap-section { min-height: auto; padding-top: 100px; padding-bottom: 80px; }
  html { scroll-snap-type: y proximity !important; }
  #library [style*="grid-template-columns: 1fr 1fr 1fr"] { grid-template-columns: 1fr !important; }
  #library [style*="grid-template-columns:1fr 1fr 1fr"] { grid-template-columns: 1fr !important; }
}

/* Bounce animation */
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* Center layout for Trusted Worldwide (#about) */
#about .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
#about .stat-row {
  justify-content: center;
}
#about .grid-2 {
  justify-items: center;
}
