:root {
  /* Dew Brand Colors */
  --color-glass-black: #121316;
  --color-obsidian: #1F2125;
  --color-smoke-glass: #26282D;
  --color-frost-white: #FFFFFF;
  --color-mist-gray: #98989D;
  
  /* Accent Colors - Hyperliquid Green Theme */
  --color-primary-green: #00D4AA;
  --color-primary-green-dark: #00B899;
  --color-very-dark-green: #008F7A;
  --color-accent-cyan: #00FFB3;

  /* Subtle gradient variations */
  --gradient-green-subtle: linear-gradient(135deg, #00D4AA 0%, #00E5BA 100%);
  --gradient-green-text: linear-gradient(135deg, #00D4AA 0%, #00FFB3 100%);
  --gradient-green-dark: linear-gradient(135deg, #008F7A 0%, #00A68F 100%);
  --gradient-green-text-dark: linear-gradient(135deg, #00B899 0%, #008F7A 100%);
  --color-success-green: #00D4AA;
  --color-warning-amber: #F5A623;
  --color-error-red: #E85A4F;

  /* Utility Colors */
  --color-white: #FFFFFF;
  --color-text-light: #FFFFFF;
  --color-text-dark: #121316;
  
  /* Glassmorphism Effects */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-blur: 20px;
  --glass-blur-subtle: 12px;
  
  /* Shadow System */
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-subtle: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.1);

  /* Dark theme variables (now default and only) */
  --bg-primary: #121316;
  --bg-secondary: #1F2125;
  --bg-card: rgba(255, 255, 255, 0.05);
  --text-primary: #FFFFFF;
  --text-secondary: #98989D;
  --text-muted: #6E6E73;
  --border-color: rgba(255, 255, 255, 0.05);
  --navbar-bg: rgba(18, 19, 22, 0.8);
  --navbar-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --card-shadow: var(--shadow-glass);
  --card-shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.3);
  
  /* Responsive spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Veil System - Translucent overlay gradients */
  /* Base colors for veiled sections */
  --bg-dark-base: #0f172a;        /* slate-900 - slightly lighter than primary for depth */
  --bg-white-base: #FFFFFF;
  --bg-emerald-base: #008F7A;     /* very-dark-green - deepened for WCAG AA compliance (4.5:1 with white) */

  /* Veil overlays (applied via ::before pseudo-elements) */
  --veil-green-on-white: linear-gradient(
    to bottom right,
    rgba(0, 212, 170, 0.05),
    transparent,
    rgba(0, 212, 170, 0.10)
  );

  --veil-dark-on-green: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.20),
    rgba(0, 0, 0, 0.10),
    transparent
  );

  /* Text colors for veiled sections (WCAG AA compliant) */
  --text-on-white-veiled: #0f172a;   /* slate-900 - high contrast on white */
  --text-on-green-veiled: #FFFFFF;   /* white on emerald */
}


html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-x: hidden;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2 {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
  margin: 0 0 12px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

h3 {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
  margin: 0 0 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Responsive typography with clamp() */
h1 {
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1.1;
}

h2 {
  font-size: clamp(24px, 5vw, 32px);
  line-height: 1.2;
}

h3 {
  font-size: clamp(16px, 3vw, 20px);
  line-height: 1.3;
}

/* Hero title with modern typography */
.hero-title {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
}

p {
  font-size: clamp(14px, 2.5vw, 16px);
  margin: 0 0 16px;
  font-weight: 400;
  line-height: 1.6;
}

a {
  text-decoration: none;
}

/* ==========================
   GLASSMORPHISM UTILITIES
========================== */

.glass {
  background: var(--bg-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-glass);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-subtle {
  backdrop-filter: blur(var(--glass-blur-subtle));
  -webkit-backdrop-filter: blur(var(--glass-blur-subtle));
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-subtle);
}

/* ==========================
   NAVBAR STYLES
========================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--navbar-bg);
  backdrop-filter: blur(var(--glass-blur-subtle));
  -webkit-backdrop-filter: blur(var(--glass-blur-subtle));
  box-shadow: var(--navbar-shadow);
  z-index: 100;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid var(--border-color);
}

.navbar-container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  gap: 16px;
  position: relative;
}

@media (min-width: 768px) {
  .navbar-container {
    padding: 16px 0;
    gap: 20px;
  }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--text-primary);
  transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-toggle:hover {
  color: var(--color-primary-green);
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile menu styles */
@media (max-width: 768px) {
  .navbar-container {
    padding: 10px 0;
  }
  
  .mobile-menu-toggle {
    display: block;
    order: 1;
    padding: 6px;
  }
  
  .navbar-left {
    order: 2;
    flex: 1;
    justify-content: center;
  }
  
  .navbar-right {
    order: 3;
  }
  
  /* Hide desktop elements on mobile */
  .navbar-right .theme-toggle,
  .navbar-right .navbar-button {
    display: none !important;
  }
  
  /* Hide desktop navigation on mobile */
  .navbar-menu {
    display: none !important;
  }
}

/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: #121316;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  border-right: 1px solid rgba(0, 212, 170, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 0;
  gap: 0;
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 101;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 0 12px 12px 0;
}

.mobile-menu.active {
  transform: translateX(0);
}

/* Hide mobile menu on desktop */
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Mobile Menu Header */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px;
  position: sticky;
  top: 0;
  background: #121316;
  border-bottom: 1px solid rgba(0, 212, 170, 0.1);
  z-index: 10;
}

.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu-logo img {
  height: 36px;
  width: auto;
}

.mobile-menu-logo span {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.mobile-menu-close {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #FFFFFF;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.mobile-menu-close:hover {
  background: rgba(0, 212, 170, 0.15);
  color: #00D4AA;
}

.mobile-menu-close svg {
  width: 24px;
  height: 24px;
}

/* Navigation Links */
.mobile-menu-nav {
  padding: 20px 0;
  flex: 1;
}

.mobile-menu-nav a {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 500;
  color: #FFFFFF;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.mobile-menu-nav a:hover {
  background: rgba(0, 212, 170, 0.1);
  color: #00D4AA;
}
  
/* Mobile menu overlay using pseudo-element */
body.menu-open {
  overflow: hidden;
}

body.menu-open::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 100;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
  
/* Mobile theme toggle section */
.mobile-menu-footer {
  padding: 30px 24px;
  background: #121316;
  border-top: 1px solid rgba(0, 212, 170, 0.1);
  position: sticky;
  bottom: 0;
}

  
  /* Mobile CTA Button */
  .mobile-menu-cta {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #00D4AA 0%, #008F7A 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 212, 170, 0.25);
    box-sizing: border-box;
  }

  .mobile-menu-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 212, 170, 0.4);
    background: linear-gradient(135deg, #00E5BB 0%, #009688 100%);
  }
  
/* Animations for menu items */
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mobile-menu.active .mobile-menu-nav a {
  animation: slideInFromLeft 0.4s ease forwards;
  opacity: 0;
}

.mobile-menu.active .mobile-menu-nav a:nth-child(1) { animation-delay: 0.05s; }
.mobile-menu.active .mobile-menu-nav a:nth-child(2) { animation-delay: 0.1s; }
.mobile-menu.active .mobile-menu-nav a:nth-child(3) { animation-delay: 0.15s; }
.mobile-menu.active .mobile-menu-nav a:nth-child(4) { animation-delay: 0.2s; }
.mobile-menu.active .mobile-menu-nav a:nth-child(5) { animation-delay: 0.25s; }
.mobile-menu.active .mobile-menu-nav a:nth-child(6) { animation-delay: 0.3s; }

.mobile-menu.active .mobile-menu-footer {
  animation: slideInFromLeft 0.4s ease forwards;
  animation-delay: 0.35s;
  opacity: 0;
}


.navbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.navbar-left:hover {
  opacity: 0.8;
}

.navbar-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .navbar-logo {
    height: 36px;
  }
}

.navbar-wordmark {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
  font-size: clamp(18px, 4vw, 24px);
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-menu {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex: 1;
  flex-wrap: wrap;
  min-width: 0;
}

.navbar-menu a {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--text-primary);
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.6s, color 0.6s;
}

.navbar-menu a:hover {
  background: var(--color-primary-green);
  color: #ffffff;
}

.navbar-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (min-width: 768px) {
  .navbar-right {
    gap: 16px;
  }
}

.navbar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-green);
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(14px, 2.5vw, 16px);
  padding: 10px 20px;
  border-radius: 24px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  line-height: 1;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .navbar-button {
    padding: 8px 16px;
  }
}

.navbar-button:hover {
  background: var(--color-primary-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 212, 170, 0.3);
}

/* Theme Toggle Button */

/* -----------------------------
   HERO SECTION
----------------------------- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video Background */
.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Dark Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(18, 19, 22, 0.7) 0%,
    rgba(18, 19, 22, 0.85) 50%,
    rgba(18, 19, 22, 0.95) 100%
  );
  z-index: 1;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-content-inner {
  max-width: 600px;
  text-align: left;
}

/* Hero Typography */
.hero-headline {
  font-size: clamp(5rem, 14vw, 12rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
  letter-spacing: -0.05em;
  line-height: 1.05;
  max-width: 1600px;
}

.hero-large {
  font-size: 1.8em;
  display: block;
  letter-spacing: 0.03em;
}

.hero-tagline {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  display: block;
  font-weight: 400;
  color: #FFFFFF;
  margin-top: -2rem;
  margin-bottom: 0;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* Desktop-only line break */
.desktop-only-br {
  display: inline;
}

@media (max-width: 768px) {
  .desktop-only-br {
    display: none;
  }
}

.hero-trust {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  display: block;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin-top: -1.5rem;
  letter-spacing: 0.01em;
}

.hero-accent {
  background: var(--gradient-green-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  display: inline-block;
  line-height: 1;
  vertical-align: baseline;
}

/* Rotating Words Container */
.hero-rotating {
  display: inline-block;
  position: relative;
  min-width: 170px;
  height: 1.2em;
  vertical-align: middle;
  overflow: visible;
  margin-right: 0;
}

.rotating-word {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  color: var(--color-primary-green);
  font-weight: 600;
  white-space: nowrap;
  line-height: 1;
}

.rotating-word span {
  display: inline-block;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.rotating-word.active span {
  opacity: 1;
  transform: translateY(0);
}

.rotating-word.exit span {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Subtle stagger animation for each character */
.rotating-word span:nth-child(1) { transition-delay: 0.03s; }
.rotating-word span:nth-child(2) { transition-delay: 0.06s; }
.rotating-word span:nth-child(3) { transition-delay: 0.09s; }
.rotating-word span:nth-child(4) { transition-delay: 0.12s; }
.rotating-word span:nth-child(5) { transition-delay: 0.15s; }
.rotating-word span:nth-child(6) { transition-delay: 0.18s; }
.rotating-word span:nth-child(7) { transition-delay: 0.21s; }

.rotating-word.exit span:nth-child(1) { transition-delay: 0s; }
.rotating-word.exit span:nth-child(2) { transition-delay: 0.01s; }
.rotating-word.exit span:nth-child(3) { transition-delay: 0.02s; }
.rotating-word.exit span:nth-child(4) { transition-delay: 0.03s; }
.rotating-word.exit span:nth-child(5) { transition-delay: 0.04s; }
.rotating-word.exit span:nth-child(6) { transition-delay: 0.05s; }
.rotating-word.exit span:nth-child(7) { transition-delay: 0.06s; }

.rotating-word.active {
  opacity: 1;
}

/* Hero Subtitle */
.hero-subtitle {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
  max-width: 1000px;
}

/* Hero Subtitle Secondary (Trust Builder) */
.hero-subtitle-secondary {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 4rem 0;
  letter-spacing: 0.01em;
  line-height: 1.5;
  max-width: 900px;
}

/* Hero CTA Button */
.hero-cta {
  display: inline-block;
  padding: 12px 32px;
  background: var(--gradient-green-subtle);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
  letter-spacing: -0.01em;
}

.hero-cta:hover {
  opacity: 0.9;
  box-shadow: 0 4px 12px rgba(0, 212, 170, 0.15);
  background: #00D4AA;
}

.hero-cta:active {
  opacity: 0.8;
}

/* ==========================
   EXPLAINER SECTION
========================== */

.explainer-section {
  min-height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-primary);
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

/* Decorative dot mesh fading from left to center */
.explainer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 50%;
  bottom: 0;
  background:
    radial-gradient(circle, rgba(0, 212, 170, 0.35) 2.5px, transparent 2.5px);
  background-size: 40px 40px;
  background-position: left center;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
  animation: pulse-dots 4s ease-in-out infinite;
}

.explainer-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.explainer-text {
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.02em;
  text-align: center;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity 3s cubic-bezier(0.16, 1, 0.3, 1), transform 3s cubic-bezier(0.16, 1, 0.3, 1);
}

.explainer-text.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.explainer-btn {
  display: inline-block;
  margin-top: 32px;
  padding: 12px 32px;
  background: var(--gradient-green-subtle);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
  letter-spacing: -0.01em;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, transform 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, box-shadow 0.2s ease;
}

.explainer-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

.explainer-btn:hover {
  opacity: 0.9;
  box-shadow: 0 4px 12px rgba(0, 212, 170, 0.15);
  background: #00D4AA;
}

.explainer-btn:active {
  opacity: 0.8;
}

/* Sentence hierarchy for visual emphasis */
.explainer-sentence-1 {
  display: block;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 500;
  margin-bottom: 4px;
}

.explainer-sentence-2 {
  display: block;
}

.explainer-marketplace {
  display: block;
  font-size: clamp(36px, 5.5vw, 54px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #FFFFFF 0%, #B8B8B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.explainer-subtext {
  display: block;
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 400;
  opacity: 0.7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .explainer-section {
    padding: 30px 20px 40px;
  }

  .explainer-text {
    white-space: normal;
    font-size: clamp(24px, 7vw, 32px);
    line-height: 1.3;
    text-align: center;
  }

  .explainer-sentence-1 {
    font-size: clamp(20px, 5vw, 24px);
    margin-bottom: 16px;
  }

  .explainer-marketplace {
    font-size: clamp(28px, 7vw, 36px);
    margin-bottom: 8px;
    line-height: 1.1;
  }

  .explainer-subtext {
    font-size: clamp(15px, 4vw, 18px);
    margin-top: 4px;
  }
}

/* ==========================
   SECTION 2: LIFESTYLE EARNINGS SHOWCASE
========================== */

.earnings-showcase-animated {
  min-height: 70vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 20px 0;
}

/* Decorative dot mesh fading from right to center */
.earnings-showcase-animated::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle, rgba(0, 212, 170, 0.35) 2.5px, transparent 2.5px);
  background-size: 40px 40px;
  background-position: right center;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
  animation: pulse-dots 4s ease-in-out infinite;
}

.earnings-scroll-container {
  position: sticky;
  top: 20px;
  display: grid;
  grid-template-columns: 25% 75%;
  gap: 40px;
  align-items: center;
  min-height: 60vh;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.earnings-text-container {
  position: relative;
  min-height: 200px;
}

.earnings-text-slide {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: all 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  will-change: opacity, transform;
}

.earnings-text-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.earnings-scroll-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.earnings-scroll-title .highlight-green {
  background: var(--gradient-green-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.earnings-scroll-subtitle {
  font-size: clamp(16px, 2.5vw, 18px);
  color: var(--text-secondary);
  line-height: 1.5;
}

.earnings-images-grid {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  justify-content: flex-start;
}

.earnings-image-card {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  overflow: hidden;
  transition: all 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
  transform: translateX(-50px);
  will-change: opacity, transform, width;
}

/* Hide card text overlay on desktop - only show on mobile */
.earnings-card-text-overlay {
  display: none;
}

.earnings-image-card[data-stage="1"] {
  width: 100%;
  max-width: none;
  opacity: 1;
  transform: translateX(0);
}

.earnings-showcase-animated.stage-2 .earnings-image-card[data-stage="1"] {
  width: 58%;
  transform: translateX(0);
}

.earnings-showcase-animated.stage-2 .earnings-image-card[data-stage="2"] {
  width: 58%;
  opacity: 1;
  transform: translateX(0);
}

.earnings-showcase-animated.stage-3 .earnings-image-card[data-stage="1"],
.earnings-showcase-animated.stage-3 .earnings-image-card[data-stage="2"],
.earnings-showcase-animated.stage-3 .earnings-image-card[data-stage="3"] {
  width: 42%;
  opacity: 1;
  transform: translateX(0);
}

.earnings-persona {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: clamp(15px, 2.2vw, 17px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  max-width: 80%;
  z-index: 2;
}

.persona-name {
  font-size: clamp(18px, 2.8vw, 22px);
  font-weight: 600;
  display: block;
  line-height: 0.85;
  margin-bottom: 0;
}

.persona-title {
  font-size: clamp(13px, 1.8vw, 15px);
  font-weight: 400;
  opacity: 0.85;
  display: block;
  line-height: 1;
  margin-top: -4px;
}

.earnings-strategy {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 8px;
  display: inline-block;
  width: fit-content;
}

/* Persona name and job now combined in single .earnings-persona element */

.earnings-withdrawal-box {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.earnings-amount {
  font-size: clamp(26px, 4vw, 32px);
  font-weight: 700;
  color: var(--color-frost-white);
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1;
}

.earnings-period {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
}

/* Mobile: show strategy, Desktop: hide strategy */
.earnings-period-mobile {
  display: block;
}

.earnings-period-desktop {
  display: none;
}

@media (min-width: 769px) {
  .earnings-period-mobile {
    display: none;
  }

  .earnings-period-desktop {
    display: block;
  }
}

/* Base styles for stage dots - hidden on desktop, visible on mobile */
.earnings-stage-dots {
  display: none;
}

.earnings-dot {
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Navigation arrows - desktop only */
.earnings-stage-arrows {
  display: none;
}

@media (min-width: 769px) {
  .earnings-stage-arrows {
    display: flex;
    align-items: center;
    gap: 16px;
    position: absolute;
    bottom: -80px;
    left: 0;
  }

  .earnings-arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  /* Active arrow - green color */
  .earnings-arrow-btn.arrow-active {
    border: 2px solid var(--color-primary-green);
    color: var(--color-primary-green);
    cursor: pointer;
  }

  .earnings-arrow-btn.arrow-active:hover {
    background: rgba(0, 212, 170, 0.1);
    transform: scale(1.05);
  }

  /* Inactive arrow - grey color */
  .earnings-arrow-btn.arrow-inactive {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    opacity: 0.6;
  }

  .earnings-arrow-btn.arrow-inactive:hover {
    background: transparent;
    transform: scale(1);
  }

  .earnings-arrow-btn svg {
    stroke: currentColor;
  }
}

/* Mobile Earning Cards - Horizontal Swipe Carousel */
@media (max-width: 768px) {
  .earnings-showcase-animated {
    min-height: auto;
    padding: 60px 0 60px 0;
  }

  .earnings-scroll-container {
    position: relative;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 36px;
    min-height: auto;
    padding: 0;
  }

  /* Keep text container for dots but hide the text slides */
  .earnings-text-container {
    min-height: auto;
    padding: 0;
    order: 3;
    margin-top: 8px;
  }

  .earnings-text-slide {
    display: none !important;
  }

  /* Horizontal swipe container */
  .earnings-images-grid {
    order: 2;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pan-x;
    user-select: none;
    gap: 16px;
    padding: 0;
    padding-left: 20px;
    margin: 0;
    width: 100%;
  }

  /* Hide scrollbar */
  .earnings-images-grid::-webkit-scrollbar {
    display: none;
  }

  .earnings-images-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  /* All cards visible but snap to position */
  .earnings-image-card {
    flex: 0 0 calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    scroll-snap-align: start;
    opacity: 1 !important;
    transform: translateX(0) !important;
    width: calc(100vw - 40px) !important;
    min-height: 520px;
    margin-right: 0;
    touch-action: pan-y pan-x;
    user-select: none;
  }

  /* Add gradient overlay for text readability using pseudo-element */
  .earnings-image-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.2) 35%,
      rgba(0, 0, 0, 0.1) 50%,
      rgba(0, 0, 0, 0.3) 100%);
    border-radius: 20px;
    pointer-events: none;
    z-index: 1;
  }

  /* Show and style card text overlay on mobile */
  .earnings-card-text-overlay {
    display: block;
    position: absolute;
    top: 24px;
    left: 24px;
    right: 24px;
    z-index: 2;
    padding: 0;
  }

  .earnings-card-title {
    font-size: clamp(24px, 6vw, 32px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 8px 0;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  }

  .earnings-card-subtitle {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  }

  /* Reposition persona on mobile to avoid overlap with text overlay - no box */
  .earnings-persona {
    position: absolute;
    top: auto;
    bottom: 100px;
    left: 24px;
    right: auto;
    z-index: 2;
    padding-left: 8px;
  }

  .earnings-persona br {
    display: none;
  }

  .persona-name {
    display: inline;
    font-size: clamp(15px, 2.2vw, 17px);
    font-weight: 500;
  }

  .persona-name::after {
    content: ", ";
  }

  .persona-title {
    display: inline;
    font-size: clamp(15px, 2.2vw, 17px);
    font-weight: 500;
    opacity: 1;
  }

  /* Ensure withdrawal box stays on top of gradient */
  .earnings-withdrawal-box {
    position: relative;
    z-index: 2;
  }

  /* Hide strategy badge on mobile for cleaner look */
  .earnings-strategy {
    display: none;
  }

  /* Default order on mobile (same as desktop: 1, 2, 3) */

  /* Last card needs right padding */
  .earnings-image-card:last-child {
    margin-right: 20px;
  }

  /* Disable desktop stage-based sizing on mobile */
  .earnings-showcase-animated.stage-2 .earnings-image-card[data-stage="1"],
  .earnings-showcase-animated.stage-2 .earnings-image-card[data-stage="2"],
  .earnings-showcase-animated.stage-3 .earnings-image-card[data-stage="1"],
  .earnings-showcase-animated.stage-3 .earnings-image-card[data-stage="2"],
  .earnings-showcase-animated.stage-3 .earnings-image-card[data-stage="3"] {
    width: calc(100vw - 40px) !important;
    flex: 0 0 calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }

  /* Stage dots indicator */
  .earnings-stage-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    order: 3;
  }

  .earnings-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .earnings-dot.active {
    background: var(--gradient-green-subtle);
    width: 24px;
    border-radius: 4px;
  }
}

/* ==========================
   SIMPLE. FAST. SECTION
========================== */

.how-section {
  padding: 100px 0;
  background: var(--bg-primary);
  position: relative;
}

.how-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

.how-section .section-title {
  text-align: center;
  margin-bottom: 60px;
  font-size: clamp(32px, 5vw, 48px);
}

.how-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 0;
}

.how-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 450px;
  flex-shrink: 0;
}

.how-mockup {
  position: relative;
  width: 750px;
  aspect-ratio: 16 / 10;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.4));
  margin-left: 40px;
}

.how-tabs {
  display: flex;
  gap: 16px;
}

.how-tab {
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.5;
}

.how-tab:hover {
  opacity: 0.7;
}

.how-tab.active {
  color: var(--text-primary);
  opacity: 1;
}

.how-step-content {
  display: none;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.how-step-content.active {
  display: block;
}

.how-step-title {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.how-step-description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.mockup-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.mockup-image.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================
   SECTION 3: ECOSYSTEM CAROUSEL
========================== */

.ecosystem-section {
  padding: 100px 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.ecosystem-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

.ecosystem-header {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 0 40px;
}

.ecosystem-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.carousel-track {
  display: flex;
  gap: 24px;
  animation: scroll 40s linear infinite;
  width: max-content;
}

.carousel-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ecosystem-card {
  flex-shrink: 0;
  width: 380px;
  background: var(--color-glass-black);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s ease;
}

.ecosystem-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.ecosystem-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ecosystem-card-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.ecosystem-card-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  font-size: 15px;
}

.ecosystem-tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ==========================
   SECTION 4: LIVE VAULTS BENTO GRID
========================== */

.live-vaults-section {
  padding: 100px 40px;
  background: #F3F9F5 !important;
  position: relative;
  --dot-size: 32px;
}

.live-vaults-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    /* Visible dot grid pattern - dynamic size based on scroll */
    radial-gradient(circle, rgba(0, 212, 170, 0.25) 2px, transparent 2px),
    /* Organic curved waves - top left */
    radial-gradient(ellipse 800px 600px at top left, rgba(0, 212, 170, 0.15), transparent 60%),
    /* Organic curved waves - bottom right */
    radial-gradient(ellipse 700px 500px at bottom right, rgba(0, 212, 170, 0.18), transparent 60%),
    /* Base green gradient veil */
    linear-gradient(135deg, rgba(0, 212, 170, 0.08), rgba(0, 212, 170, 0.15));
  background-size: var(--dot-size) var(--dot-size), 100% 100%, 100% 100%, 100% 100%;
  background-position: center, 0 0, 0 0, 0 0;
  pointer-events: none;
  transition: background-size 0.3s ease-out;
}

/* Radial vignette - dots darker at edges, lighter in center */
.live-vaults-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    transparent 0%,
    transparent 30%,
    rgba(0, 212, 170, 0.05) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Vaults Intro Statement */
.vaults-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 80px;
  padding: 40px 0;
  position: relative;
  z-index: 2;
}

/* Decorative line above text */
.vaults-intro::before {
  content: '';
  display: block;
  width: 100px;
  height: 2px;
  background: var(--text-muted); /* Matches normal text color - stays same on hover */
  margin: 0 auto 32px;
  border-radius: 2px;
}

.vaults-intro-statement {
  font-size: 42px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-muted); /* Slightly darker gray (#6E6E73) */
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
  cursor: default;
}

.vaults-intro-statement .highlight {
  font-weight: 700;
  color: var(--color-obsidian); /* Slightly lighter gray (#1F2125) */
  font-size: 1.15em; /* Significantly larger to dominate */
  transition: all 0.3s ease;
}

.vaults-intro-statement:hover {
  color: var(--color-obsidian); /* All text becomes highlight color */
}

.vaults-intro-statement:hover .highlight {
  color: var(--color-obsidian); /* Same as rest - unified */
}

.vaults-intro-subline {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-very-dark-green); /* Darker green for better readability (#008F7A) */
  margin: 0;
  cursor: default;
}

/* Responsive Typography */
@media (max-width: 768px) {
  .vaults-intro {
    margin-bottom: 48px;
    max-width: 100%;
    padding: 0 20px;
  }

  .vaults-intro-statement {
    font-size: 28px;
    line-height: 1.4;
  }

  .vaults-intro-subline {
    font-size: 16px;
  }
}

.live-vaults-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.live-vaults-header {
  margin-bottom: 48px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(8, 80px);
  gap: 16px;
  position: relative;
}

.bento-item {
  background: var(--color-glass-black);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.bento-item.large {
  grid-column: span 8;
  grid-row: span 4;
}

.bento-item.medium {
  grid-column: span 4;
  grid-row: span 4;
}

.bento-item.small-wide {
  grid-column: span 6;
  grid-row: span 4;
}

.bento-item.small-tall {
  grid-column: span 6;
  grid-row: span 4;
}

.vault-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.vault-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.vault-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 6px;
  font-size: 11px;
  color: #22c55e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.vault-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  position: relative;
  z-index: 2;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.stat-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-value.positive {
  color: #22c55e;
}

.vault-visual {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  height: 60%;
  opacity: 0.08;
  pointer-events: none;
  background: linear-gradient(135deg, var(--color-frost-white) 0%, transparent 100%);
  border-radius: 50%;
  filter: blur(40px);
}

/* ==========================
   VAULTS BENTO GRID (APR PREVIEW)
========================== */

.vaults-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.vault-bento-card {
  background: var(--color-glass-black);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2),
              0 0 0 1px rgba(0, 212, 170, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Abstract geometric patterns - brighter for dark cards */
.vault-bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity, background-position;
}

/* USDC - Diagonal lines pattern with slide */
.vault-bento-card[data-pool="aave-usdc"]::before {
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(0, 212, 170, 0.15) 20px,
    rgba(0, 212, 170, 0.15) 22px
  );
  animation: slidePattern 6s linear infinite;
}

/* WETH/USDC - Grid pattern with shift */
.vault-bento-card[data-pool="arbitrum-weth-usdc"]::before {
  background:
    linear-gradient(rgba(0, 212, 170, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 170, 0.12) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: slidePattern 8s linear infinite;
}

/* WETH/cbBTC - Curved waves with breathing */
.vault-bento-card[data-pool="base-weth-cbbtc"]::before {
  background: radial-gradient(
    ellipse at top left,
    rgba(0, 212, 170, 0.2) 0%,
    transparent 50%
  ),
  radial-gradient(
    ellipse at bottom right,
    rgba(0, 212, 170, 0.15) 0%,
    transparent 50%
  );
  animation: breatheScale 3s ease-in-out infinite;
}

/* WBTC/USDC - Dot mesh pattern with shimmer */
.vault-bento-card[data-pool="ethereum-wbtc-usdc"]::before {
  background-image: radial-gradient(
    circle at center,
    rgba(0, 212, 170, 0.18) 1.5px,
    transparent 1.5px
  );
  background-size: 30px 30px;
  animation: pulseOpacity 4s ease-in-out infinite;
}

/* Ensure content is above patterns */
.vault-bento-card > * {
  position: relative;
  z-index: 1;
}

.vault-bento-large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  min-height: 420px;
  padding: 40px 32px;
}

.vault-bento-wide {
  grid-column: 2 / 4;
  grid-row: 2 / 3;
}

.vault-bento-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3),
              0 0 0 1px rgba(0, 212, 170, 0.3),
              0 0 20px rgba(0, 212, 170, 0.15);
  border-color: rgba(0, 212, 170, 0.4);
}

/* Speed up animations on hover */
.vault-bento-card[data-pool="aave-usdc"]:hover::before {
  animation-duration: 4s;
}

.vault-bento-card[data-pool="arbitrum-weth-usdc"]:hover::before {
  animation-duration: 5s;
}

.vault-bento-card[data-pool="base-weth-cbbtc"]:hover::before {
  animation-duration: 2s;
}

.vault-bento-card[data-pool="ethereum-wbtc-usdc"]:hover::before {
  animation-duration: 3s;
}

/* Accessibility: Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  .vault-bento-card::before {
    animation: none !important;
  }
}

.vault-logo {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  object-fit: contain;
}

.vault-name {
  font-size: 14px;
  font-weight: 500;
  color: #FFFFFF;
  margin: 0 0 16px 0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.vault-earn-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.vault-earn-value {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 700;
  background: var(--gradient-green-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Hide vaults dots on desktop */
.vaults-stage-dots {
  display: none;
}

.vaults-cta-container {
  text-align: center;
  margin-top: 48px;
}

.vaults-cta-container .primary-btn {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  color: var(--text-primary);
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 12px;
}

.vault-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: rgba(74, 144, 226, 0.1);
  border: 1px solid var(--color-trust-blue);
  border-radius: 12px;
  color: var(--color-trust-blue);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: auto;
  align-self: flex-start;
}

.vault-cta-btn:hover {
  background: var(--color-trust-blue);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 144, 226, 0.3);
}

.vaults-disclaimer {
  text-align: center;
  color: var(--color-primary-green);
  font-size: 16px;
  line-height: 1.6;
  margin-top: 40px;
  font-weight: 600;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* -----------------------------
   WAITLIST SECTION
----------------------------- */

.waitlist-section {
  background: var(--bg-secondary);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Pulsating dot mesh animation */
@keyframes pulse-dots {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
}

/* Decorative dot mesh fading from right to center */
.waitlist-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle, rgba(0, 212, 170, 0.35) 2.5px, transparent 2.5px);
  background-size: 40px 40px;
  background-position: right center;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
  animation: pulse-dots 4s ease-in-out infinite;
}

.waitlist-section .section-title {
  text-align: center;
  margin: 0 0 20px 0;
  padding: 0;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.waitlist-section .section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin: 0 0 64px 0;
  padding: 0;
  font-size: 20px;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

/* -----------------------------
   WAITLIST FORM
----------------------------- */

.waitlist-form-container {
  max-width: 480px;
  margin: 0 auto;
}

.waitlist-form {
  width: 100%;
}

/* Honeypot field - Hidden from users, catches bots */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.waitlist-form-inner {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.waitlist-form-inner:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.form-group {
  margin-bottom: 20px;
}

.email-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.waitlist-input {
  width: 100%;
  padding: 14px 50px 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #FFFFFF;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.validation-icon {
  position: absolute;
  right: 16px;
  width: 24px;
  height: 24px;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.validation-icon.valid {
  display: flex;
}

.validation-icon.valid::before {
  content: '✓';
  color: #00D4AA;
  font-size: 20px;
  font-weight: 600;
}

.validation-icon.invalid {
  display: flex;
}

.validation-icon.invalid::before {
  content: '✕';
  color: #FF6B6B;
  font-size: 18px;
  font-weight: 600;
}

.waitlist-input::placeholder {
  color: #98989D;
}

.waitlist-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-primary-green);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

.waitlist-input.error {
  border-color: var(--color-error-red);
  box-shadow: 0 0 0 3px rgba(232, 90, 79, 0.1);
}

.input-error {
  color: var(--color-error-red);
  font-size: 13px;
  margin-top: 6px;
  display: none;
  font-weight: 500;
}

.input-error.visible {
  display: block;
}

/* Checkboxes */
.form-group.checkboxes {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  position: relative;
  padding-left: 0;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-custom {
  position: relative;
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  transition: all 0.2s ease;
  margin-top: 2px;
}

.checkbox-label:hover .checkbox-custom {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom {
  background: var(--color-primary-green);
  border-color: var(--color-primary-green);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-text {
  color: #FFFFFF;
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
}

/* Cloudflare Turnstile */
.cf-turnstile {
  margin: 20px 0;
  display: flex;
  justify-content: flex-start;
}

/* Submit Button */
.waitlist-submit {
  width: 100%;
  padding: 14px 24px;
  background: var(--color-primary-green);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}

.waitlist-submit:hover {
  background: #00D4AA;
  box-shadow: 0 4px 16px rgba(0, 212, 170, 0.3);
  transform: translateY(-1px);
}

.waitlist-submit:active {
  transform: translateY(0);
}

.waitlist-submit:disabled {
  background: rgba(0, 212, 170, 0.3);
  cursor: not-allowed;
  transform: none;
  opacity: 0.6;
}

.waitlist-submit:disabled:hover {
  background: rgba(0, 212, 170, 0.3);
  box-shadow: none;
  transform: none;
}

.waitlist-submit.loading .button-text {
  opacity: 0;
}

.waitlist-submit.loading .button-loader {
  opacity: 1;
}

.button-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  opacity: 0;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Privacy Notice */
.privacy-notice {
  font-size: 12px;
  color: #98989D;
  text-align: center;
  margin: 16px 0 0 0;
  line-height: 1.5;
}

.privacy-notice a {
  color: var(--color-primary-green);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.privacy-notice a:hover {
  border-bottom-color: var(--color-primary-green);
}

/* Form Messages */
.form-message {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-top: 16px;
  display: none;
  animation: slideDown 0.3s ease;
}

.form-message.visible {
  display: block;
}

.form-message.success {
  background: rgba(92, 184, 92, 0.15);
  border: 1px solid rgba(92, 184, 92, 0.3);
  color: #5CB85C;
}

.form-message.error {
  background: rgba(232, 90, 79, 0.15);
  border: 1px solid rgba(232, 90, 79, 0.3);
  color: #E85A4F;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Success Card */
.waitlist-success-card {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.5s ease;
}

.waitlist-success-card.visible {
  display: block;
}

.success-icon {
  margin: 0 auto 24px;
  width: 64px;
  height: 64px;
  animation: scaleIn 0.5s ease 0.2s backwards;
}

.success-icon svg {
  width: 100%;
  height: 100%;
}

.success-title {
  font-size: 28px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 12px 0;
  animation: fadeInUp 0.5s ease 0.3s backwards;
}

.success-message {
  font-size: 16px;
  color: #98989D;
  line-height: 1.6;
  margin: 0;
  animation: fadeInUp 0.5s ease 0.4s backwards;
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .waitlist-form-container {
    margin-top: 2rem;
  }

  .waitlist-form-inner {
    padding: 20px;
  }

  .checkbox-text {
    font-size: 13px;
  }

  .hero-content-inner {
    text-align: center;
  }

  .waitlist-input {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* Desktop Responsive */
@media (min-width: 1024px) {
  .hero-content {
    padding: 0 40px;
  }

  .hero-headline {
    font-size: 12rem;
    margin-bottom: 3rem;
  }

  .hero-subtitle {
    font-size: 3rem;
    margin-bottom: 2rem;
  }

  .hero-subtitle-secondary {
    font-size: 1.75rem;
    margin-bottom: 4rem;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero {
    min-height: 600px;
  }

  .hero-content {
    padding: 0 32px;
  }

  .hero-content-inner {
    text-align: left;
    max-width: 100%;
  }

  .hero-headline {
    font-size: clamp(3rem, 10vw, 5rem);
  }

  .hero-tagline {
    margin-top: 0.25rem;
    margin-bottom: 1.5rem;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    line-height: 1.4;
  }

  .hero-cta {
    margin: 0;
  }

  .hero-rotating {
    min-width: 150px;
    display: block;
    margin: 0.5rem auto;
  }

  .hero-subtitle {
    font-size: clamp(1.375rem, 5.5vw, 2rem);
    padding: 0 20px;
    margin-bottom: 1.5rem;
  }

  .hero-subtitle-secondary {
    font-size: clamp(1.125rem, 4.5vw, 1.5rem);
    padding: 0 20px;
    margin-bottom: 3rem;
  }
  
  .hero-cta {
    padding: 12px 28px;
    font-size: 0.9rem;
  }
}

@media (min-width: 480px) {
  .hero-box {
    border-radius: 16px;
    padding: 40px 24px;
    gap: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  }
}

@media (min-width: 768px) {
  .hero-box {
    width: 90%;
    border-radius: 20px;
    padding: 60px 40px;
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
    height: auto;
    min-height: 450px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  }
}

@media (min-width: 1024px) {
  .hero-box {
    width: 80vw;
    border-radius: 24px;
    padding: 80px 60px;
    height: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  }
}

.hero-content {
  flex: 1 1 100%;
  color: #ffffff;
  z-index: 1;
  text-align: center;
}

.hero-content h1 {
  font-size: clamp(32px, 6vw, 48px);
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  padding: 0;
}

.hero-content p {
  font-size: clamp(14px, 3vw, 18px);
  margin-top: 12px;
  color: var(--color-text-body-light);
  padding: 0;
}

@media (min-width: 480px) {
  .hero-content h1 {
    font-size: clamp(36px, 7vw, 48px);
    padding: 0;
  }
  
  .hero-content p {
    font-size: clamp(16px, 3vw, 18px);
    margin-top: 16px;
    padding: 0;
  }
}

@media (min-width: 768px) {
  .hero-content {
    flex: 1 1 50%;
    text-align: left;
    padding-left: 0;
  }
  
  .hero-content p {
    margin-top: 20px;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding-left: 80px;
  }
  
  .hero-content h1 {
    white-space: nowrap;
  }
}

.primary-btn {
  background: linear-gradient(160deg, var(--color-primary-green), var(--color-primary-green-dark));
  color: var(--color-text-light);
  border: none;
  padding: 12px 28px;
  font-size: clamp(14px, 2.5vw, 16px);
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.5s, background 0.6s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  min-width: 120px;
  min-height: 44px;
  will-change: transform;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  line-height: 1;
  box-sizing: border-box;
}

@media (min-width: 480px) {
  .primary-btn {
    padding: 11px 26px;
    margin-top: 24px;
  }
}

@media (min-width: 768px) {
  .primary-btn {
    padding: 12px 30px;
    margin-top: 30px;
  }
}

.primary-btn:hover {
  background: linear-gradient(160deg, var(--color-primary-green-dark), var(--color-very-dark-green));
  transform: scale(1.03);
}

/* Ensure anchor tags styled as buttons behave consistently */
a.primary-btn,
a.btn-white,
a.navbar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

/* Fix anchor tag specific issues */
a.primary-btn:hover,
a.btn-white:hover,
a.navbar-button:hover {
  text-decoration: none;
}

/* Hide mobile image on desktop by default */
.hero-image-mobile {
  display: none;
}

.hero-image {
  flex: 1 1 100%;
  width: 100%;
  max-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
}

@media (min-width: 768px) {
  .hero-image {
    flex: 1 1 50%;
    max-width: 400px;
  }
  
  .hero-image img {
    border-radius: 16px;
  }
}

@media (min-width: 1024px) {
  .hero-image {
    max-width: 500px;
    height: 100%;
  }
  
  .hero-image img {
    max-height: 100%;
  }
}

.hero-box .highlight {
  background: linear-gradient(90deg, #ffffff 0%, #e2fff8 50%, #ffffff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: wave 10s linear infinite;
}

@keyframes wave {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: -200% center;
  }
}

/* bubbles remain unchanged */
.hero-box .bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-box .bubbles span {
  position: absolute;
  display: block;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, var(--color-primary-green) 0%, var(--color-glass-black) 100%);
  opacity: 0.5;
  border-radius: 50%;
  animation: bubbleAnim linear infinite;
  bottom: -60px;
}

/* Reduce bubble opacity on mobile */
@media (max-width: 768px) {
  .hero-box .bubbles span {
    opacity: 0.2;
  }
}

@keyframes bubbleAnim {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.2;
  }
  100% {
    transform: translateY(-1000px) scale(0.5);
    opacity: 0;
  }
}



/* -----------------------------
   BUBBLES (OPTIONAL)
----------------------------- */

.bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.bubbles span {
  position: absolute;
  display: block;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, var(--color-primary-green) 0%, var(--color-glass-black) 100%);
  opacity: 0.5;
  border-radius: 50%;
  animation: bubbleAnim linear infinite;
  bottom: -60px;
}

@keyframes bubbleAnim {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.5;
  }
  100% {
    transform: translateY(-1000px) scale(0.5);
    opacity: 0;
  }
}

/* -----------------------------
   SECTIONS
----------------------------- */

.section {
  background: var(--bg-primary);
  padding: 48px 16px;
  transition: background-color 0.6s ease;
  overflow-x: hidden;
}

@media (min-width: 480px) {
  .section {
    padding: 60px 20px;
  }
}

@media (min-width: 768px) {
  .section {
    padding: 80px 20px;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 120px 20px;
  }
}

.section-title {
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 40px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.section-subtitle {
  font-size: clamp(16px, 3vw, 18px);
  color: var(--text-muted);
  text-align: center;
  margin-top: 0;
  margin-bottom: 40px;
  font-weight: 400;
  transition: color 0.3s ease;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .section-title {
    margin-bottom: 60px;
  }

  .section-subtitle {
    margin-top: 0;
    margin-bottom: 60px;
  }
}

/* Legacy support */
.section.light {
  background: var(--color-white);
  color: var(--color-text-dark);
  padding: 60px 20px;
}

@media (min-width: 768px) {
  .section.light {
    padding: 80px 20px;
  }
}

@media (min-width: 1024px) {
  .section.light {
    padding: 120px 20px;
  }
}

.section.light h1,
.section.light h2,
.section.light h3 {
  color: var(--color-text-dark);
}

.section.light p {
  color: var(--color-text-dark);
}

/* -----------------------------
   LAYOUT
----------------------------- */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
}

.center {
  text-align: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

/* -----------------------------
   CARDS
----------------------------- */

.card {
  background: var(--bg-card);
  color: var(--text-primary);
  border: none;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: var(--card-shadow);
  transition: transform 0.6s ease, box-shadow 0.6s ease, background-color 0.6s ease, color 0.6s ease;
  position: relative;
  will-change: transform;
}

@media (min-width: 768px) {
  .card {
    border-radius: 20px;
    padding: 40px 32px;
  }
}

@media (min-width: 1024px) {
  .card {
    border-radius: 24px;
    padding: 48px;
  }
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
  }
}

/* Accent card variant - primary importance */
.card.card-blue {
  background: linear-gradient(160deg, var(--color-primary-green), var(--color-primary-green-dark));
  color: var(--color-white);
}

.card.card-blue h2,
.card.card-blue h3 {
  color: var(--color-white);
}

.card.card-blue p {
  color: rgba(255, 255, 255, 0.9);
}

/* Card with icon */
.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 168, 136, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
}

.card-blue .card-icon {
  background: rgba(255, 255, 255, 0.2);
}

/* Card badge */
.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--color-primary-green);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .card-badge {
    top: 24px;
    right: 24px;
    font-size: 12px;
  }
}

.card-blue .card-badge {
  background: white;
  color: var(--color-primary-green);
}

/* -----------------------------
   CAROUSEL
----------------------------- */

.benefits .carousel {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
}

.carousel-item {
  min-width: 260px;
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* -----------------------------
   RADIAL CHART
----------------------------- */

.radial-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 40px 0;
}

.chart-label {
  margin-top: 12px;
  text-align: center;
  color: var(--color-text-dark);
}

.circle {
  width: 150px;
  height: 150px;
  background: var(--color-text-dark);
  border-radius: 50%;
  position: relative;
}

.mask,
.inside-circle {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
}

.mask {
  clip: rect(0px, 150px, 150px, 75px);
  background: linear-gradient(90deg, var(--color-primary-green), var(--color-primary-green));
}

.mask.full {
  transform: rotate(120deg);
}

.mask.half {
  background: var(--color-text-dark);
  z-index: 1;
  transform: rotate(180deg);
}

.inside-circle {
  background: #f8fffb;
  width: 100px;
  height: 100px;
  top: 25px;
  left: 25px;
  text-align: center;
  line-height: 100px;
  color: var(--color-primary-green);
  font-weight: bold;
  font-size: 18px;
}

/* -----------------------------
   HOW IT WORKS
----------------------------- */

.how-it-works {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
}

/* Mobile horizontal scrolling */
@media (max-width: 767px) {
  .how-it-works {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding: 20px 0 40px 20px;
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 40px);
    scrollbar-width: none;
    -ms-overflow-style: none;
    align-items: stretch;
    justify-content: flex-start;
  }
  
  .how-it-works::-webkit-scrollbar {
    display: none;
  }
  
  /* Clean wrapper for mobile scrolling */
  .how-it-works-wrapper {
    position: relative;
  }
  
  /* Dot indicators for mobile scrolling */
  .how-it-works-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }
  
  .how-it-works-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-gray-200);
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  .how-it-works-dot.active {
    background: var(--color-primary-green);
    width: 24px;
    border-radius: 4px;
  }
}

/* Hide dots on desktop */
@media (min-width: 768px) {
  .how-it-works-dots {
    display: none;
  }
}

@media (min-width: 768px) {
  .how-it-works {
    flex-direction: row;
    gap: 24px;
    margin-top: 60px;
  }
}

@media (min-width: 1024px) {
  .how-it-works {
    gap: 40px;
  }
}

.step-card {
  position: relative;
  text-align: center;
  width: 100%;
  max-width: 320px;
  padding: 32px 24px;
  transition: all 0.3s ease;
}

/* Mobile step card styles for horizontal scrolling */
@media (max-width: 767px) {
  .step-card {
    flex: 0 0 auto;
    width: 85vw;
    max-width: 320px;
    min-width: 280px;
    scroll-snap-align: center;
    padding: 28px 20px;
    margin-bottom: 0;
  }
  
  /* Ensure last card has proper spacing */
  .step-card:last-child {
    margin-right: 20px;
  }
}

@media (min-width: 768px) {
  .step-card {
    padding: 40px 28px;
  }
}

@media (min-width: 1024px) {
  .step-card {
    padding: 48px 32px;
  }
}

@media (hover: hover) and (min-width: 768px) {
  .step-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 168, 136, 0.15);
  }
}

/* Disable hover transform on mobile touch devices */
@media (max-width: 767px) {
  .step-card:hover {
    transform: none;
  }
}

/* Center icons only in step cards */
.step-card .card-icon {
  margin: 0 auto 24px;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(0, 255, 179, 0.1) 0%, rgba(0, 184, 153, 0.1) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  transition: all 0.3s ease;
}

@media (hover: hover) and (min-width: 768px) {
  .step-card:hover .card-icon {
    background: linear-gradient(135deg, rgba(0, 255, 179, 0.15) 0%, rgba(0, 184, 153, 0.15) 100%);
    transform: scale(1.05);
  }
}

.step-number {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(0, 255, 179, 0.15) 0%, rgba(0, 184, 153, 0.15) 100%);
  color: var(--color-primary-green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 2px 8px rgba(0, 168, 136, 0.08);
  z-index: 2;
  transition: all 0.3s ease;
}

@media (hover: hover) and (min-width: 768px) {
  .step-card:hover .step-number {
    background: linear-gradient(135deg, var(--color-primary-green) 0%, var(--color-primary-green) 100%);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 255, 179, 0.3);
  }
}

.step-connector {
  display: none;
}

@media (min-width: 768px) {
  .step-connector {
    display: block;
    width: 60px;
    height: 2px;
    background: var(--color-gray-200);
    position: relative;
    align-self: center;
    margin: 0 -20px;
  }
  
  .step-connector::after {
    content: '';
    position: absolute;
    right: -8px;
    top: -4px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 10px;
    border-color: transparent transparent transparent var(--color-gray-200);
  }
}

@media (min-width: 1024px) {
  .step-connector {
    width: 80px;
    margin: 0;
  }
}

/* -----------------------------
   METRICS DASHBOARD
----------------------------- */

.metrics-dashboard {
  padding: 32px 24px;
  text-align: center;
  position: relative;
}

@media (min-width: 768px) {
  .metrics-dashboard {
    padding: 48px 40px;
  }
}

@media (min-width: 1024px) {
  .metrics-dashboard {
    padding: 60px;
  }
}

.live-indicator {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: white;
  font-size: 12px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .live-indicator {
    top: 24px;
    right: 24px;
    gap: 8px;
    font-size: 14px;
  }
}

.pulse {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: pulse 5s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 32px 0 40px;
}

@media (min-width: 640px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin: 40px 0 60px;
  }
}

.metric-card {
  text-align: center;
}

.metric-value {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 600;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: clamp(12px, 2vw, 14px);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.metric-trend {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.trend-up {
  background: rgba(16, 185, 129, 0.2);
  color: #10B981;
}

.trend-down {
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
}

.trend-stable {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* White button variant for accent backgrounds */
.btn-white {
  background: white;
  color: var(--color-primary-green);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  padding: 10px 24px;
  font-size: 14px;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1;
}

@media (min-width: 768px) {
  .btn-white {
    padding: 10px 28px;
    font-size: 15px;
  }
}

.btn-white:hover {
  background: var(--color-gray-100);
  transform: scale(1.03);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* -----------------------------
   TOKENOMICS
----------------------------- */

.tokenomics-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .tokenomics-preview {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
  }
}

.token-icon {
  font-size: clamp(48px, 8vw, 64px);
  margin-bottom: 24px;
}

.token-metrics {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 40px 0;
}

.token-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.token-metric .metric-label {
  font-size: 14px;
  opacity: 0.8;
}

.token-metric .metric-value {
  font-size: clamp(20px, 4vw, 24px);
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

/* Benefits list */
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 32px 0;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-gray-100);
}

.benefits-list li:last-child {
  border-bottom: none;
}

.benefit-icon {
  width: 32px;
  height: 32px;
  background: var(--color-primary-green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

/* -----------------------------
   PARTNERS
----------------------------- */

.partners-section {
  margin-top: 48px;
  text-align: center;
}

@media (min-width: 768px) {
  .partners-section {
    margin-top: 80px;
  }
}

.partners-label {
  font-size: 14px;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .partners-logos {
    gap: 40px;
  }
}

.partner-logo {
  font-size: clamp(14px, 3vw, 18px);
  color: var(--color-gray-700);
  opacity: 0.7;
  transition: opacity 0.6s;
}

.partner-logo:hover {
  opacity: 1;
}


/* -----------------------------
   WHY DEWIO SECTION
----------------------------- */

.why-dewio-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.why-dewio-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .why-dewio-layout {
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
  }
}

@media (min-width: 1024px) {
  .why-dewio-layout {
    grid-template-columns: 1fr 0.7fr;
    gap: 80px;
  }
}

.why-dewio-content .section-title {
  text-align: center;
  margin-bottom: 16px;
  font-size: clamp(24px, 5vw, 32px);
}

.why-dewio-content .section-subtitle {
  text-align: center;
  margin-top: 0;
  margin-bottom: 32px;
  font-size: clamp(16px, 3vw, 18px);
  color: var(--text-muted);
  padding: 0;
}

@media (min-width: 768px) {
  .why-dewio-content .section-title {
    text-align: left;
  }
  
  .why-dewio-content .section-subtitle {
    text-align: left;
    margin-bottom: 48px;
  }
}

/* Story Points */
.story-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .story-points {
    gap: 32px;
  }
}

.story-point {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  transition: transform 0.6s ease;
}

@media (min-width: 768px) {
  .story-point {
    flex-direction: row;
    gap: 24px;
    align-items: flex-start;
    text-align: left;
  }
}

@media (hover: hover) and (min-width: 768px) {
  .story-point:hover {
    transform: translateX(8px);
  }
}

.story-icon-box {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #F8FAFB 0%, #E8FFF9 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 168, 136, 0.08);
  transition: all 0.6s ease;
}

@media (min-width: 768px) {
  .story-icon-box {
    width: 64px;
    height: 64px;
  }
}

@media (hover: hover) {
  .story-point:hover .story-icon-box {
    background: linear-gradient(135deg, #E8FFF9 0%, #D5FFF3 100%);
    box-shadow: 0 4px 16px rgba(0, 168, 136, 0.12);
  }
}

.story-icon {
  width: 28px;
  height: 28px;
  color: var(--color-primary-green);
}

/* Dark mode overrides for Why Dew.io section */
.story-icon-box {
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.1) 100%);
}

.story-point:hover .story-icon-box {
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.15) 100%);
  box-shadow: 0 4px 16px rgba(0, 255, 179, 0.2);
}

.story-icon {
  color: var(--color-primary-green);
}

/* Dark mode adjustments for step cards */
.step-card .card-icon {
  background: linear-gradient(135deg, rgba(0, 255, 179, 0.1) 0%, rgba(0, 184, 153, 0.1) 100%);
}

.step-card:hover .card-icon {
  background: linear-gradient(135deg, rgba(0, 255, 179, 0.2) 0%, rgba(0, 184, 153, 0.2) 100%);
}

.step-number {
  background: linear-gradient(135deg, rgba(0, 255, 179, 0.2) 0%, rgba(0, 184, 153, 0.2) 100%);
  color: var(--color-primary-green);
}

.step-card:hover .step-number {
  background: linear-gradient(135deg, var(--color-primary-green) 0%, var(--color-primary-green) 100%);
  color: var(--bg-primary);
}

.step-connector {
  background: var(--border-color);
}

.step-connector::after {
  border-color: transparent transparent transparent var(--border-color);
}

.story-content {
  flex: 1;
}

.story-title {
  font-size: clamp(16px, 3vw, 18px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
}

.story-description {
  font-size: clamp(13px, 2.5vw, 14px);
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Flow Diagram Image */
.why-dewio-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  order: -1;
}

@media (min-width: 768px) {
  .why-dewio-visual {
    order: 0;
  }
}

.flow-diagram-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .flow-diagram-image {
    max-width: 500px;
  }
}

/* -----------------------------
   WAVE BACKGROUND
----------------------------- */

.wave-background {
  position: relative;
  background-color: var(--bg-primary);
  background-image: url("data:image/svg+xml,%3Csvg width='800' height='600' viewBox='0 0 800 600' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='grad1' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' style='stop-color:%23FFFFFF;stop-opacity:1' /%3E%3Cstop offset='50%25' style='stop-color:%23F0F5FF;stop-opacity:1' /%3E%3Cstop offset='100%25' style='stop-color:%23FFFFFF;stop-opacity:1' /%3E%3C/linearGradient%3E%3ClinearGradient id='grad2' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' style='stop-color:%23F8F8F8;stop-opacity:1' /%3E%3Cstop offset='50%25' style='stop-color:%23E8F2FF;stop-opacity:1' /%3E%3Cstop offset='100%25' style='stop-color:%23F8F8F8;stop-opacity:1' /%3E%3C/linearGradient%3E%3ClinearGradient id='grad3' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' style='stop-color:%23F5F5F5;stop-opacity:1' /%3E%3Cstop offset='50%25' style='stop-color:%23E0ECFF;stop-opacity:1' /%3E%3Cstop offset='100%25' style='stop-color:%23F5F5F5;stop-opacity:1' /%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 300 Q200 250 400 300 T800 300' stroke='url(%23grad1)' stroke-width='4' fill='none' opacity='0.7'/%3E%3Cpath d='M0 400 Q200 350 400 400 T800 400' stroke='url(%23grad2)' stroke-width='2' fill='none' opacity='0.5'/%3E%3Cpath d='M0 200 Q200 150 400 200 T800 200' stroke='url(%23grad3)' stroke-width='1.5' stroke-dasharray='5,10' fill='none' opacity='0.4'/%3E%3Cpath d='M0 500 Q200 450 400 500 T800 500' stroke='url(%23grad2)' stroke-width='3' fill='none' opacity='0.6'/%3E%3Cpath d='M0 100 Q200 50 400 100 T800 100' stroke='%238AAEE0' stroke-width='1' stroke-dasharray='2,8' fill='none' opacity='0.08'/%3E%3Cpath d='M0 350 Q200 300 400 350 T800 350' stroke='url(%23grad3)' stroke-width='5' fill='none' opacity='0.15'/%3E%3Cpath d='M0 250 Q200 200 400 250 T800 250' stroke='%238AAEE0' stroke-width='1.5' fill='none' opacity='0.1'/%3E%3Cpath d='M0 450 Q200 400 400 450 T800 450' stroke='url(%23grad1)' stroke-width='2.5' stroke-dasharray='10,5' fill='none' opacity='0.3'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 800px 600px;
  background-position: center center;
  transition: background-color 0.3s ease;
}

/* Ensure the wave pattern doesn't interfere with content */
.wave-background .container {
  position: relative;
  z-index: 1;
}

/* -----------------------------
   ROADMAP
----------------------------- */

.roadmap-section {
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.roadmap-container {
  margin-top: 60px;
  position: relative;
}

.roadmap-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0 80px;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: thin;
  scrollbar-color: var(--color-gray-200) transparent;
}

.roadmap-track::-webkit-scrollbar {
  height: 6px;
}

.roadmap-track::-webkit-scrollbar-track {
  background: transparent;
}

.roadmap-track::-webkit-scrollbar-thumb {
  background: var(--color-gray-200);
  border-radius: 3px;
}

/* Progress bar connecting milestones */
.roadmap-progress-bar {
  position: absolute;
  top: 98px; /* 40px padding + 58px to center of circle */
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--color-gray-200);
  z-index: 0;
}

/* Adjust for tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .roadmap-progress-bar {
    top: 93px; /* 40px padding + 53px to center of circle */
  }
}

.progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 20%; /* 1 of 5 milestones = 20% */
  background: linear-gradient(90deg, var(--color-primary-green) 0%, var(--color-primary-green) 50%, rgba(0, 255, 179, 0.3) 100%);
  transition: width 0.8s ease;
}

/* Optional animated gradient flow */
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.progress-fill.animated {
  background: linear-gradient(90deg, 
    var(--color-primary-green) 0%, 
    var(--color-primary-green) 25%, 
    rgba(0, 255, 179, 0.3) 50%,
    var(--color-primary-green) 75%,
    var(--color-primary-green) 100%);
  background-size: 200% 100%;
  animation: gradientFlow 8s linear infinite;
}

/* Milestones */
.milestone {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 0 0 auto;
  min-width: 200px;
}

.milestone-circle {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 16px;
  background: var(--bg-card);
  border: 3px solid var(--color-gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Achieved milestone styles */
.milestone.achieved .milestone-circle {
  background: linear-gradient(160deg, var(--color-primary-green), var(--color-primary-green-dark));
  border-color: var(--color-primary-green);
  color: white;
  box-shadow: 0 4px 20px rgba(0, 168, 136, 0.3);
}

/* Milestone text inside circles */
.milestone-text {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  word-wrap: break-word;
  display: block;
}

.milestone.achieved .milestone-text {
  color: white;
}

/* Pulse effect for achieved milestones */
.pulse-ring {
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  border: 2px solid var(--color-primary-green);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.milestone.achieved .pulse-ring {
  animation: pulseRing 6s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.25;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

.milestone-icon {
  font-size: 32px;
  line-height: 1;
}

.milestone-number {
  font-size: 28px;
  color: var(--text-secondary);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

/* Milestone content */
.milestone-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
}

.milestone-status {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.milestone.achieved .milestone-status {
  color: var(--color-primary-green);
  font-weight: 600;
}

/* Hover effects */
@media (hover: hover) {
  .milestone:hover .milestone-circle {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  }
  
  .milestone.achieved:hover .milestone-circle {
    box-shadow: 0 8px 30px rgba(0, 255, 179, 0.4);
  }
}

/* Roadmap footer */
.roadmap-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .roadmap-footer {
    flex-direction: row;
    justify-content: space-between;
  }
}

.roadmap-progress-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

@media (min-width: 768px) {
  .roadmap-progress-info {
    align-items: flex-start;
  }
}

.progress-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.progress-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Mobile responsive design */
@media (max-width: 768px) {
  .roadmap-track {
    flex-direction: column;
    padding: 20px 0 40px;
    align-items: stretch;
  }
  
  .roadmap-progress-bar {
    left: 40px;
    right: auto;
    top: 40px;
    bottom: 40px;
    width: 2px;
    height: auto;
    transform: none;
  }
  
  .progress-fill {
    width: 100%;
    height: 20%;
  }
  
  .milestone {
    display: flex;
    align-items: center;
    text-align: left;
    min-width: auto;
    margin: 20px 0;
  }
  
  .milestone-circle {
    margin: 0 20px 0 0;
    width: 80px;
    height: 80px;
    padding: 10px;
  }
  
  /* Mobile: line centered on 80px circles */
  .roadmap-progress-bar {
    left: 43px; /* Center at 43px (80px + 6px border = 86px/2 = 43px) */
  }
  
  .milestone-text {
    font-size: 10px;
  }
  
  .milestone-number {
    font-size: 24px;
  }
  
  .milestone-icon {
    font-size: 24px;
  }
  
  .pulse-ring {
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
  }
  
  .milestone-status {
    font-size: 13px;
  }
  
  .roadmap-footer {
    text-align: center;
  }
}

/* Dark mode adjustments */
.roadmap-section {
  background: var(--bg-primary);
}

.roadmap-progress-bar {
  background: var(--border-color);
}

.milestone-circle {
  background: var(--bg-card);
  border-color: var(--border-color);
}

.milestone-number {
  color: var(--text-secondary);
}

.milestone.achieved .milestone-circle {
  background: linear-gradient(160deg, var(--color-primary-green), var(--color-primary-green-dark));
  border-color: var(--color-primary-green);
  color: white;
}

/* Tablet specific adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .milestone {
    min-width: 150px;
  }
  
  .milestone-circle {
    width: 100px;
    height: 100px;
    padding: 12px;
  }
  
  .milestone-text {
    font-size: 11px;
  }
}

/* -----------------------------
   ECOSYSTEM CAROUSEL
   ----------------------------- */

.ecosystem-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}

@media (min-width: 768px) {
  .ecosystem-section {
    padding: 80px 0;
  }
}

.ecosystem-section .section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  margin-bottom: 48px;
  background: linear-gradient(135deg, #FFFFFF 0%, #D0D0D0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
}

.ecosystem-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  margin: 0 -20px;
}

@media (min-width: 768px) {
  .ecosystem-carousel {
    margin: 0 -40px;
  }
}

/* Gradient overlays for smooth fade effect */
.carousel-gradient-left,
.carousel-gradient-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.carousel-gradient-left {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary), transparent);
}

.carousel-gradient-right {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}

.carousel-track {
  display: flex;
  animation: scroll-left 60s linear infinite;
  width: fit-content;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause on hover */
.ecosystem-carousel:hover .carousel-track {
  animation-play-state: paused;
}

.ecosystem-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  flex-shrink: 0;
  position: relative;
  min-width: 140px;
  height: 60px;
}

@media (max-width: 768px) {
  .ecosystem-logo {
    padding: 0 20px;
    min-width: 120px;
    height: 50px;
  }
}

.ecosystem-logo img {
  height: 32px;
  max-height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
  .ecosystem-logo img {
    height: 38px;
    max-height: 38px;
    max-width: 180px;
  }
}

/* Hover effect */
.ecosystem-logo:hover img {
  transform: scale(1.1);
}

/* Dark mode adjustments */
.ecosystem-section {
  background: var(--bg-primary);
}

.carousel-gradient-left {
  background: linear-gradient(to right, var(--bg-primary), transparent);
}

.carousel-gradient-right {
  background: linear-gradient(to left, var(--bg-primary), transparent);
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    animation: none;
  }
  
  .ecosystem-logo img {
    transition: none;
  }
}

/* Touch device optimizations */
@media (hover: none) {
  .ecosystem-logo img {
    transform: scale(1);
  }
}

/* -----------------------------
   FOOTER
   ----------------------------- */

.footer {
  padding: 60px 20px 40px;
  margin-top: 0;
  background: #121316;
  position: relative;
  overflow: hidden;
}

/* Decorative dot mesh fading from left to center */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 50%;
  bottom: 0;
  background:
    radial-gradient(circle, rgba(0, 212, 170, 0.35) 2.5px, transparent 2.5px);
  background-size: 40px 40px;
  background-position: left center;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
  animation: pulse-dots 4s ease-in-out infinite;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  background-color: transparent;
  color: #FFFFFF;
  border-radius: 0;
  padding: 60px 20px;
  box-shadow: none;
  transition: color 0.6s ease;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .footer {
    padding: 48px 16px 32px;
    margin-top: 60px;
  }
  
  .footer-container {
    border-radius: 16px;
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .footer-container {
    padding: 32px 20px;
  }
}

/* Main footer content */
.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-main {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }
}

/* Brand section */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

@media (min-width: 768px) {
  .footer-brand {
    align-items: flex-start;
    max-width: 400px;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

@media (min-width: 768px) {
  .footer-logo {
    justify-content: flex-start;
  }
}

.footer-logo img {
  height: 32px;
  width: auto;
}

.footer-description {
  font-size: 14px;
  line-height: 1.6;
  color: #98989D;
  margin: 0;
}

@media (min-width: 768px) {
  .footer-description {
    text-align: left;
  }
}

/* Social media icons */
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #dee2e6;
  color: #495057;
  transition: all 0.3s ease;
}

.footer-social a {
  border-color: rgba(255, 255, 255, 0.05);
  color: #98989D;
}

.footer-social a:hover {
  background-color: #f8f9fa;
  color: #212529;
  transform: translateY(-2px);
}

.footer-social a:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
}

.footer-copyright {
  font-size: 13px;
  color: #98989D;
  margin: 12px 0 0 0;
}

@media (min-width: 768px) {
  .footer-copyright {
    text-align: left;
  }
}

/* Links section */
.footer-links {
  display: flex;
  justify-content: center;
}

.footer-column {
  text-align: center;
}

@media (min-width: 768px) {
  .footer-column {
    text-align: right;
  }
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 20px 0;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .footer-column ul {
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
  }
}

.footer-column li {
  margin-bottom: 0;
}

.footer-column a {
  font-size: 14px;
  color: #98989D;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #FFFFFF;
}

/* Footer bottom */
.footer-bottom {
  padding-top: 20px;
  text-align: center;
}

.footer-legal {
  font-size: 13px;
  color: #6c757d;
}

.footer-legal {
  color: #98989D;
}

.footer-legal a {
  color: #6c757d;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a {
  color: #98989D;
}

.footer-legal a:hover {
  color: #212529;
}

.footer-legal a:hover {
  color: #FFFFFF;
}

.footer-legal .separator {
  margin: 0 12px;
  color: #dee2e6;
}

.footer-legal .separator {
  color: rgba(255, 255, 255, 0.2);
}

/* Mobile responsive */
@media (max-width: 767px) {
  .footer {
    padding: 40px 16px 20px;
    margin-top: 48px;
  }
  
  .footer-container {
    padding: 28px 20px 20px;
  }
  
  .footer-main {
    text-align: center;
    gap: 24px;
    padding-bottom: 20px;
  }
  
  .footer-brand {
    gap: 12px;
  }
  
  .footer-logo {
    justify-content: center;
    font-size: 18px;
  }
  
  .footer-logo img {
    height: 24px;
  }
  
  .footer-description {
    font-size: 12px;
    line-height: 1.5;
  }
  
  .footer-social {
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
  }
  
  .footer-social a {
    width: 28px;
    height: 28px;
  }
  
  .footer-social svg {
    width: 14px;
    height: 14px;
  }
  
  /* Hide all navigation columns on mobile */
  .footer-links {
    display: none !important;
  }
  
  /* Create simple essential links */
  .footer-essential-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 8px;
  }
  
  .footer-essential-links a {
    font-size: 13px;
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-essential-links a {
    color: #98989D;
  }
  
  .footer-essential-links a:hover {
    color: #212529;
  }
  
  .footer-essential-links a:hover {
    color: #FFFFFF;
  }
  
  .footer-copyright {
    font-size: 11px;
    margin-top: 8px;
  }
  
  .footer-bottom {
    padding-top: 12px;
  }
  
  .footer-legal {
    font-size: 10px;
  }
  
  .footer-legal .separator {
    display: inline;
    margin: 0 6px;
  }
}

/* Desktop: show full navigation */
@media (min-width: 768px) {
  .footer-essential-links {
    display: none;
  }
}

/* Mobile-specific hide utility classes */
@media (max-width: 767px) {
  .mobile-hide {
    display: none !important;
  }
}

/* Mobile-specific optimizations */
@media (max-width: 480px) {
  /* Fix hero section centering on mobile */
  .hero {
    padding: 80px 0 40px; /* Remove horizontal padding for full width */
  }
  
  /* Ensure touch targets are at least 44x44px */
  button, 
  a.navbar-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .primary-btn {
    min-height: 48px;
    padding: 14px 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Optimize text legibility on small screens */
  p, li {
    font-size: 16px; /* Prevent iOS zoom on focus */
  }
  
  /* Ensure forms are mobile-friendly */
  input, textarea, select {
    font-size: 16px; /* Prevent iOS zoom */
    min-height: 44px;
  }
}

/* Enhanced mobile optimizations */
@media (max-width: 768px) {
  /* Hide Launch App button on mobile - more specific selector */
  a.navbar-button,
  .navbar-button {
    display: none !important;
  }
  
  /* Hide theme toggle button on mobile */
  .navbar-right .theme-toggle {
    display: none;
  }
  
  /* Ensure theme toggle is perfectly round on desktop */
  @media (min-width: 769px) {
    .theme-toggle {
      width: 44px;
      height: 44px;
      padding: 0;
      flex-shrink: 0;
    }
  }
  
  /* Hero section with modern mobile layout */
  .hero {
    padding: 70px 0 40px;  /* Added top padding to account for fixed navbar */
  }
  
  .hero-box {
    width: 100%;
    max-width: 100%;
    border-radius: 0 0 24px 24px;  /* Rounded corners only at bottom */
    margin: 0;
    padding: 40px 20px 48px;  /* Added horizontal padding for content */
    box-shadow: none;
    height: calc(100vh - 90px);  /* Adjusted to account for navbar height (~70px) + gap */
    max-height: calc(100vh - 90px);  /* Ensures consistent max height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;  /* Vertically center all content */
    gap: 32px;
  }
  
  /* Hero content layout on mobile */
  .hero-content {
    order: 1;
    padding: 0 32px;
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .hero-content h1 {
    font-size: 36px;
    line-height: 1.1;
    padding: 0;
    margin-bottom: 24px;
    font-weight: 700;
    order: 1;
  }
  
  /* Mobile image - only visible on mobile */
  .hero-image-mobile {
    display: block;
    width: 90vw;
    max-width: 400px;
    margin: 0 0 24px 0;
    order: 2;
  }
  
  .hero-image-mobile img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  }
  
  /* Hide desktop image on mobile */
  .hero-image-desktop {
    display: none !important;
  }
  
  /* Subtitle */
  .hero-content p {
    font-size: 18px;
    line-height: 1.4;
    padding: 0;
    margin: 0 0 24px 0;
    order: 3;
  }
  
  /* Button */
  .hero-content .primary-btn {
    margin-top: 0;
    padding: 16px 36px;
    font-size: 16px;
    min-height: 52px;
    order: 4;
  }
  
  /* Optimize section spacing */
  .section {
    padding: 40px 16px;
  }
  
  .card {
    padding: 24px 16px;
  }
  
  .section-title {
    margin-bottom: 24px;
    font-size: 24px;
  }
  
  .section-subtitle {
    margin-bottom: 24px;
    font-size: 16px;
  }
  
  .container {
    padding: 0 8px;
  }
  
  /* Better touch targets for menu items */
  .navbar-menu a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 12px 16px;
  }
  
  /* Card layout improvements */
  .story-point {
    gap: 12px;
  }
  
  .step-card {
    max-width: 100%;
    padding: 24px 16px;
  }
  
  /* Typography optimization */
  p {
    font-size: 16px;
    line-height: 1.6;
  }
  
  h1, h2, h3 {
    line-height: 1.2;
  }
  
  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  .hero-box,
  .section,
  .container {
    overflow-x: hidden;
  }
  
  .ecosystem-carousel {
    margin: 0;
  }
  
  /* Performance optimizations for animations */
  .bubbles span {
    animation: simple-float 40s ease-in-out infinite;
  }
  
  @keyframes simple-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
  }
  
  /* Faster animations on mobile */
  .carousel-track {
    animation: scroll-left 40s linear infinite;
  }
  
  .milestone.achieved .pulse-ring {
    animation: pulseRing 12s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
  }
  
  /* Smoother menu transitions */
  .navbar-menu {
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .mobile-menu-overlay {
    background: rgba(0, 0, 0, 0.6);
  }
}

/* Safe area for notched devices */
@supports (padding: max(0px)) {
  .navbar {
    padding-top: max(0px, env(safe-area-inset-top));
  }
  
  .footer {
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }
}

/* Optimize animations for mobile performance */
@media (max-width: 768px) {
  .bubbles span {
    opacity: 0.2;  /* Keep bubbles subtle on mobile */
  }
}

/* Disable hover effects on touch devices */
@media (hover: none) {
  .card:hover,
  .step-card:hover {
    transform: none;
  }
}

/* -----------------------------
   PHILOSOPHY PAGE STYLES
   ----------------------------- */

/* Philosophy Hero Section */
.philosophy-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  padding: 120px 20px 120px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .philosophy-hero {
    min-height: 100vh;
    padding: 120px 40px 120px;
  }
}

.philosophy-hero-content {
  text-align: center;
  max-width: 800px;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

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

.philosophy-hero-title {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #FFFFFF 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.philosophy-hero-accent {
  color: var(--color-primary-green);
  background: none;
  -webkit-text-fill-color: var(--color-primary-green);
}

.philosophy-hero-subtitle {
  font-size: clamp(18px, 3vw, 24px);
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 400;
}

/* Philosophy Hero Video Background */
.philosophy-hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.philosophy-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Dark overlay for readability */
.philosophy-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(18, 19, 22, 0.93) 0%,
    rgba(18, 19, 22, 0.96) 50%,
    rgba(18, 19, 22, 0.98) 100%
  );
  z-index: 1;
}

/* Philosophy Hero Gradient - Green glow on top of overlay */
.philosophy-hero-gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 30%, rgba(0, 212, 170, 0.15) 0%, rgba(0, 212, 170, 0.05) 40%, transparent 70%);
  animation: pulseGradient 8s ease-in-out infinite;
  z-index: 1;
}

@keyframes pulseGradient {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}


/* Philosophy Bento Grid */
.philosophy-section {
  padding: 80px 20px;
}

@media (min-width: 768px) {
  .philosophy-section {
    padding: 120px 40px;
  }
}

.philosophy-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .philosophy-bento {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .philosophy-bento {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 24px;
  }
}

/* Bento Card Base */
.bento-card {
  background: var(--bg-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-glass);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

/* Bento Card Sizes */
@media (min-width: 640px) {
  .bento-large {
    grid-column: span 2;
  }

  .bento-medium {
    grid-column: span 1;
  }

  .bento-small {
    grid-column: span 1;
  }
}

@media (min-width: 1024px) {
  .bento-large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .bento-medium {
    grid-column: span 2;
  }

  .bento-small {
    grid-column: span 1;
  }
}

/* Bento Card Variants */
.bento-accent {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}

.bento-dark {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.bento-network {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.05) 0%, rgba(0, 212, 170, 0.02) 100%);
}

.network-visual {
  width: 100%;
  max-width: 200px;
  margin-bottom: 20px;
  animation: networkPulse 4s ease-in-out infinite;
}

.network-visual svg {
  width: 100%;
  height: auto;
}

.network-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  margin: 0;
}

@keyframes networkPulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

/* Bento Content */
.bento-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.bento-text {
  font-size: clamp(16px, 2.5vw, 18px);
  line-height: 1.6;
  color: var(--text-secondary);
}

.bento-subtitle {
  font-size: clamp(18px, 3vw, 20px);
  font-weight: 700;
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
}

.bento-small-text {
  font-size: clamp(14px, 2vw, 15px);
  line-height: 1.5;
  color: var(--text-secondary);
}

.bento-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  color: var(--color-primary-green);
}

.bento-icon svg {
  width: 100%;
  height: 100%;
}

/* Cycle Visual */
.cycle-visual {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Philosophy Quote */
.philosophy-quote {
  font-style: italic;
  font-size: clamp(16px, 3vw, 18px);
  line-height: 1.7;
  margin: 0;
  position: relative;
  padding: 24px;
  padding-left: 44px;
}

.philosophy-quote::before {
  content: '"';
  position: absolute;
  left: 8px;
  top: 8px;
  font-size: 56px;
  opacity: 0.2;
  font-family: Georgia, serif;
  color: var(--color-primary-green);
}

/* Commitment Section */
.philosophy-commitment {
  padding: 80px 20px;
}

@media (min-width: 768px) {
  .philosophy-commitment {
    padding: 120px 40px;
  }
}

.commitment-header {
  text-align: center;
  margin-bottom: 60px;
}

.commitment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .commitment-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
  }
}

.commitment-card {
  background: var(--bg-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-glass);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.commitment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.commitment-card h3 {
  font-size: clamp(20px, 3vw, 24px);
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.commitment-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Commitment Visuals */
.commitment-visual {
  height: 180px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Treasury Chart */
.treasury-chart {
  position: relative;
  width: 180px;
  height: 180px;
}

.treasury-svg {
  width: 100%;
  height: 100%;
}

.treasury-percentage {
  font-size: 36px;
  font-weight: 700;
  fill: var(--color-primary-green);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
}

.treasury-label {
  font-size: 14px;
  fill: var(--text-secondary);
  font-weight: 500;
}

/* Infrastructure Grid */
.infrastructure-grid {
  position: relative;
  width: 180px;
  height: 180px;
}

.node {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--color-primary-green);
  border-radius: 50%;
  animation: pulse 4s infinite;
}

.node-1 { top: 20%; left: 20%; animation-delay: 0s; }
.node-2 { top: 20%; right: 20%; animation-delay: 1s; }
.node-3 { bottom: 20%; left: 20%; animation-delay: 2s; }
.node-4 { bottom: 20%; right: 20%; animation-delay: 3s; }

.connection {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary-green), var(--color-primary-green));
  opacity: 0.3;
}

.connection-1 { top: 30%; left: 30%; right: 30%; }
.connection-2 { top: 70%; left: 30%; right: 30%; }
.connection-3 { top: 30%; bottom: 30%; left: 50%; width: 2px; height: auto; }

/* Simplicity Section */
.philosophy-simplicity {
  padding: 80px 20px;
}

@media (min-width: 768px) {
  .philosophy-simplicity {
    padding: 120px 40px;
  }
}

.simplicity-header {
  text-align: center;
  margin-bottom: 60px;
}

.philosophy-lead {
  font-size: clamp(18px, 3vw, 20px);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

.simplicity-features {
  max-width: 800px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px;
  background: var(--bg-card);
  backdrop-filter: blur(var(--glass-blur-subtle));
  -webkit-backdrop-filter: blur(var(--glass-blur-subtle));
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-row:hover {
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  transform: translateX(8px);
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  color: var(--color-primary-green);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 700;
}

.feature-content p {
  color: var(--text-secondary);
  margin: 0;
}

.philosophy-statement {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}

.philosophy-statement p {
  font-size: clamp(18px, 3vw, 22px);
  line-height: 1.6;
  margin: 0;
  color: var(--text-primary);
  font-weight: 400;
}

/* Philosophy CTA Section */
.philosophy-cta {
  position: relative;
  padding: 100px 20px;
  text-align: center;
  overflow: hidden;
}

.cta-gradient-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(ellipse at center, rgba(0, 212, 170, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
  font-size: clamp(36px, 7vw, 56px);
  color: var(--text-primary);
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.cta-subtitle {
  font-size: clamp(16px, 3vw, 20px);
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.5;
}

.cta-button-enhanced {
  background: linear-gradient(135deg, var(--color-primary-green) 0%, #00B899 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  padding: 18px 48px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 8px 24px rgba(0, 212, 170, 0.25);
  position: relative;
  overflow: hidden;
}

.cta-button-enhanced::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;
}

.cta-button-enhanced:hover::before {
  left: 100%;
}

.cta-button-enhanced:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 212, 170, 0.4);
}

/* Dark mode adjustments for philosophy page - already applied in main styles */

/* Active navigation state */
.navbar-menu a.active {
  background: var(--color-primary-green);
  color: white;
}

/* Mobile optimizations for philosophy page */
@media (max-width: 768px) {
  .philosophy-hero {
    min-height: 100vh;
    padding: 80px 16px 80px;
  }

  .philosophy-hero-title {
    font-size: clamp(3rem, 10vw, 5rem);
    white-space: normal;
    line-height: 1.15;
  }

  .philosophy-cta {
    padding: 60px 16px;
  }

  .cta-content {
    padding: 0 16px;
    max-width: 100%;
  }

  .cta-title {
    font-size: clamp(24px, 7vw, 32px);
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .cta-subtitle {
    font-size: 15px;
    margin-bottom: 32px;
  }

  .cta-button-enhanced {
    padding: 14px 32px;
    font-size: 16px;
    width: auto;
    max-width: none;
    display: block;
    margin: 0 auto;
  }
  
  .philosophy-bento {
    gap: 16px;
  }
  
  .bento-card {
    padding: 24px;
  }
  
  .commitment-card {
    padding: 32px 24px;
  }
  
  .feature-row {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .philosophy-statement {
    padding: 24px;
  }

  /* Mobile: Horizontal swipe carousel for vaults */
  .vaults-bento-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pan-x;
    user-select: none;
    gap: 16px;
    padding: 0;
    padding-left: 20px;
    margin: 0;
    width: 100%;
    grid-template-columns: none;
    grid-template-rows: none;
  }

  /* Hide scrollbar */
  .vaults-bento-grid::-webkit-scrollbar {
    display: none;
  }

  .vaults-bento-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .vault-bento-card {
    flex: 0 0 85%;
    max-width: 85%;
    width: 85% !important;
    scroll-snap-align: start;
    touch-action: pan-y pan-x;
    user-select: none;
    min-height: 200px;
    padding: 32px 24px;
    margin-right: 0;
  }

  .vault-bento-large,
  .vault-bento-wide {
    grid-column: auto;
    grid-row: auto;
    flex: 0 0 85%;
    max-width: 85%;
    width: 85% !important;
    min-height: 200px;
    padding: 32px 24px;
    margin-right: 0;
  }

  /* Last card needs right padding */
  .vault-bento-card:last-child {
    margin-right: 20px;
  }

  /* Vaults dots indicator */
  .vaults-stage-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
  }

  .vaults-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(18, 19, 22, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .vaults-dot.active {
    background: var(--color-glass-black);
    width: 24px;
    border-radius: 4px;
  }
}

/* ==========================
   MODERN ANIMATIONS
========================== */

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Bento card pattern animations */
@keyframes slidePattern {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 80px 80px;
  }
}

@keyframes pulseOpacity {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes breatheScale {
  0%, 100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.7;
  }
}

/* Apply animations to elements */
.hero-content {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.card {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  animation-fill-mode: both;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }

/* Smooth hover transitions */
.card {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

/* Button transitions */
.primary-btn {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 212, 170, 0.3);
}
