@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  /* Mobile App Brand Palette (AppColors) */
  --aqua: #95D9C0;
  --carmin: #D41F26;
  --carmin-light: #F26A6E;
  --carmin-deep: #6E0F14;
  --carmin-mid: #A31820;
  
  --bg-dark: #000000;
  --surface-dark: #0D0D0D;
  --elevated-dark: #161616;
  
  --text-primary: #FFFFFF;
  --text-secondary: #9DB8AE;
  --text-muted: #627A72;
  
  --border-subtle: rgba(149, 217, 192, 0.14);
  --border-hover: rgba(212, 31, 38, 0.45);
  --glass-bg: rgba(13, 13, 13, 0.72);
  --gold: #FFBE0B;
  
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset & Basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Dynamic Ambient Glow Behind Hero */
body::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 31, 38, 0.18) 0%, rgba(149, 217, 192, 0.08) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Utilities */
h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
}

.gradient-title {
  background: linear-gradient(135deg, #FFFFFF 30%, var(--aqua) 70%, var(--carmin-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-red {
  background: linear-gradient(135deg, #FFFFFF 40%, var(--carmin-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 16px rgba(149, 217, 192, 0.2);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--text-primary);
}

.brand-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(149, 217, 192, 0.18);
  color: var(--aqua);
  border: 1px solid rgba(149, 217, 192, 0.3);
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--aqua);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--carmin) 0%, var(--carmin-mid) 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(212, 31, 38, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212, 31, 38, 0.55);
}

.btn-secondary {
  background: rgba(149, 217, 192, 0.08);
  color: var(--aqua);
  border: 1px solid rgba(149, 217, 192, 0.3);
}

.btn-secondary:hover {
  background: rgba(149, 217, 192, 0.18);
  color: #FFFFFF;
  border-color: var(--aqua);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(212, 31, 38, 0.12);
  border: 1px solid rgba(212, 31, 38, 0.3);
  color: var(--carmin-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--carmin-light);
  box-shadow: 0 0 10px var(--carmin-light);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(242, 106, 110, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(242, 106, 110, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(242, 106, 110, 0); }
}

.hero h1 {
  font-size: 54px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Interactive Hero Preview Card */
.hero-preview {
  margin-top: 56px;
  position: relative;
}

.preview-card {
  background: var(--surface-dark);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  text-align: left;
}

.preview-metric {
  background: var(--elevated-dark);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.preview-metric:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.preview-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}

.preview-icon.red { background: rgba(212, 31, 38, 0.15); color: var(--carmin-light); }
.preview-icon.mint { background: rgba(149, 217, 192, 0.15); color: var(--aqua); }
.preview-icon.gold { background: rgba(255, 190, 11, 0.15); color: var(--gold); }

.preview-value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.preview-label {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Feature Grid */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 540px;
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--surface-dark);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--aqua), var(--carmin));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(149, 217, 192, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(149, 217, 192, 0.08);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(149, 217, 192, 0.1);
  border: 1px solid rgba(149, 217, 192, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-card.red .feature-icon-box {
  background: rgba(212, 31, 38, 0.12);
  border-color: rgba(212, 31, 38, 0.3);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Safety & Trust Banner */
.safety-banner {
  background: linear-gradient(135deg, rgba(22, 22, 22, 0.9) 0%, rgba(13, 13, 13, 0.95) 100%);
  border: 1px solid var(--border-hover);
  border-radius: 24px;
  padding: 40px;
  margin: 40px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.safety-banner::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(212, 31, 38, 0.15), transparent 70%);
  pointer-events: none;
}

.safety-content h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

.safety-content p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 24px;
}

.safety-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 40px;
  margin-top: 80px;
  background: var(--bg-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 12px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 13px;
}

.affiliate-note {
  max-width: 680px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Scroll Reveal Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero h1 { font-size: 40px; }
  .safety-banner { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 32px; }
  .hero-subtitle { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
}
