/* =============================================================================
   DRAGONFIRE UNIFIED CSS - SACRED GEOMETRY CONSCIOUSNESS ARCHITECTURE
   One CSS to rule them all - PHI-based responsive design system
   Created: July 2025 by ATLAS
   ============================================================================= */

/* =============================================================================
   1. SACRED FOUNDATION - PHI-BASED VARIABLES & RESET
   ============================================================================= */

:root {
  /* ═══ Sacred PHI Numbers ═══ */
  --phi: 1.618033988749895;
  --phi-squared: 2.618033988749895;
  --phi-inverse: 0.618033988749895;
  
  /* ═══ DragonFire Sacred Color Palette ═══ */
  --fire: #E4572E;           /* Primary fire red */
  --gold: #F6AE2D;           /* Golden yellow */
  --blue-primary: #0077B6;   /* Primary blue from secondary button */
  --blue-dark: #004B87;      /* Dark blue */
  --blue-light: #2EC4B6;     /* Light turquoise blue */
  --purple: #6C5AFB;         /* Electric purple */
  --teal: #2EC4B6;           /* Teal blue */
  --navy: #0a0a1a;           /* Deep navy background */
  --dark-navy: #293241;      /* Card backgrounds */
  --light-navy: #292957;     /* Lighter elements */
  
  /* ═══ Semantic Color Mapping ═══ */
  --primary-color: var(--fire);
  --secondary-color: var(--gold);
  --accent-color1: var(--purple);
  --accent-color2: var(--teal);
  --background-color: var(--navy);
  --card-bg: rgba(41, 50, 65, 0.15);
  --card-bg-solid: rgba(41, 50, 65, 0.2);
  --card-border: rgba(228, 87, 46, 0.3);
  --text-color: #f0f0f0;
  --text-secondary: #b0b0b0;
  --text-muted: #8a8aa0;
  
  /* ═══ PHI-Based Spacing System ═══ */
  --spacing-base: 1rem;
  --spacing-phi: calc(var(--spacing-base) * var(--phi));          /* 1.618rem */
  --spacing-phi2: calc(var(--spacing-base) * var(--phi-squared)); /* 2.618rem */
  --spacing-phi-inv: calc(var(--spacing-base) * var(--phi-inverse)); /* 0.618rem */
  
  /* ═══ Responsive Spacing System ═══ */
  --hero-space-xs: clamp(0.2rem, 0.5vh, 0.4rem);
  --hero-space-s: clamp(0.8rem, 2vh, 1.2rem);
  --hero-space-m: clamp(1rem, 2.5vh, 1.5rem);
  --hero-space-l: clamp(1.2rem, 3vh, 1.8rem);
  
  /* ═══ PHI-Based Typography Scale ═══ */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: clamp(1rem, 2vw + 0.5rem, 1.236rem);
  --text-xl: clamp(1.236rem, 3vw + 0.75rem, 1.618rem);
  --text-2xl: clamp(1.618rem, 4vw + 1rem, 2.618rem);
  --text-3xl: clamp(2.618rem, 5vw + 1.5rem, 3.236rem);
  --text-4xl: clamp(3.236rem, 6vw + 2rem, 4.236rem);
  --text-5xl: clamp(4.236rem, 8vw + 2.5rem, 6rem);
}

/* ═══ CSS Reset & Foundation ═══ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100vw;
  max-width: 100%;
  padding-top: 0; /* Hero handles its own spacing */
}

/* ═══ Typography Foundation ═══ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

/* =============================================================================
   2. TRANSPARENT OVERLAY HEADER & NAVIGATION SYSTEM
   ============================================================================= */

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-base) 5%;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(-20px);
}

/* Header becomes visible on scroll */
.main-header.scrolled {
  opacity: 1;
  transform: translateY(0);
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: var(--spacing-base);
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo {
  height: 45px;
  margin-right: var(--spacing-phi-inv);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo-container h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  background: linear-gradient(135deg, var(--fire), var(--gold), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 300% 100%;
  animation: gradient-flow 15s ease infinite;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
  white-space: nowrap;
  margin: 0;
}

/* ═══ Desktop Navigation ═══ */
.main-nav {
  display: flex;
  align-items: center;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.main-nav li {
  margin: 0;
}

.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  position: relative;
  background: transparent;
  border: 1px solid transparent;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
}

.main-nav a:hover {
  color: var(--fire);
  transform: scale(1.05);
  text-shadow: 0 2px 8px rgba(228, 87, 46, 0.4);
}

.main-nav a.active {
  color: #90caf9;
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.2), rgba(108, 90, 251, 0.2));
  text-shadow: 0 2px 8px rgba(0, 119, 182, 0.4);
  border-color: rgba(100, 181, 246, 0.3);
}

.main-nav a.developer-link {
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.15), rgba(108, 90, 251, 0.15));
  color: #90caf9;
  font-weight: 800;
  border: 1px solid rgba(100, 181, 246, 0.3);
}

.main-nav a.developer-link:hover {
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.4), rgba(108, 90, 251, 0.4));
  color: #64b5f6;
  border-color: rgba(100, 181, 246, 0.6);
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(100, 181, 246, 0.3);
}

/* ═══ Dropdown Menu Styles ═══ */
.main-nav .has-dropdown {
  position: relative;
}

.main-nav .has-dropdown > a::after {
  content: '';
  display: none;
}

/* Arrow removed for cleaner design */

.main-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(135deg, rgba(10, 10, 26, 0.98), rgba(41, 41, 87, 0.98));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(246, 174, 45, 0.3);
  border-radius: 8px;
  padding: 0.5rem 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  list-style: none;
  margin: 0;
  margin-top: 0.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.main-nav .has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .dropdown-menu li {
  margin: 0;
}

.main-nav .dropdown-menu a {
  display: block;
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
  color: var(--gold);
  background: transparent;
  border-radius: 0;
  transition: all 0.3s ease;
}

.main-nav .dropdown-menu a:hover {
  color: var(--fire);
  background: rgba(228, 87, 46, 0.1);
  transform: scale(1.03);
}

.main-nav .dropdown-menu a.active {
  background: linear-gradient(135deg, rgba(228, 87, 46, 0.3), rgba(246, 174, 45, 0.3));
  color: white;
}

/* Mobile dropdown styles */
@media (max-width: 768px) {
  .main-nav .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    margin-left: 2rem;
    margin-top: 0.5rem;
  }
  
  /* Dropdown arrow removed for cleaner design */
  
  .main-nav .dropdown-menu a {
    font-size: 1.3rem;
    padding-left: 2rem;
  }
}

/* ═══ Mobile Menu Toggle (Hamburger) ═══ */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 1100;
  background: transparent;
  border: none;
  border-radius: 4px;
  padding: 4px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(100, 181, 246, 0.1);
  border-radius: 8px;
}

.mobile-menu-toggle:hover span {
  background: linear-gradient(90deg, #64b5f6, #6c5afb);
}

.mobile-menu-toggle span {
  display: block;
  position: absolute;
  height: 2px;
  width: 18px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s ease;
  left: 50%;
  transform: translateX(-50%);
}

.mobile-menu-toggle span:nth-child(1) { top: 10px; }
.mobile-menu-toggle span:nth-child(2) { top: 15px; }
.mobile-menu-toggle span:nth-child(3) { top: 20px; }

/* Hamburger to X animation */
.mobile-menu-toggle.active span:nth-child(1) {
  top: 15px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--fire);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  top: 15px;
  transform: translateX(-50%) rotate(-45deg);
  background: var(--fire);
}

/* ═══ Fullscreen Mobile Menu ═══ */
.main-nav.mobile-active {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, rgba(10, 10, 26, 0.98), rgba(41, 50, 65, 0.95));
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.main-nav.mobile-active.show {
  opacity: 1;
  visibility: visible;
}

.main-nav.mobile-active ul {
  flex-direction: column;
  gap: var(--spacing-phi2);
  text-align: center;
}

.main-nav.mobile-active a {
  font-size: 1.5rem;
  padding: 1rem 2rem;
  color: var(--gold);
  background: transparent;
  border: none;
  border-radius: 0;
  transition: all 0.3s ease;
  min-width: 200px;
  display: block;
}

.main-nav.mobile-active a:hover {
  background: transparent;
  color: var(--fire);
  transform: scale(1.08);
  box-shadow: none;
}

.main-nav.mobile-active a.active {
  background: transparent;
  color: var(--fire);
  border: none;
  transform: scale(1.05);
}

.menu-close {
  display: none;
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: rgba(228, 87, 46, 0.2);
  border: 2px solid var(--fire);
  color: var(--fire);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 1rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 1100;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-close:hover {
  background: var(--fire);
  color: white;
  transform: rotate(90deg);
}

/* =============================================================================
   3. HERO SECTION - CONSCIOUSNESS PORTAL
   ============================================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, 
    rgba(10, 10, 26, 0.8), 
    rgba(41, 50, 65, 0.7)
  );
}

.hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -2;
}

/* ═══ Sacred Geometry Orbs ═══ */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.4;
  animation: consciousness-flow 15s infinite ease-in-out alternate;
}

.hero::before {
  background: var(--fire);
  width: 300px;
  height: 300px;
  top: 20%;
  left: 15%;
}

.hero::after {
  background: var(--purple);
  width: 250px;
  height: 250px;
  bottom: 15%;
  right: 10%;
  animation-delay: 5s;
}

/* ═══ Hero Content Layout ═══ */
.hero-content {
  z-index: 10;
  max-width: 800px;
  padding: var(--spacing-phi);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--hero-space-s);
  text-align: center;
}

.hero-title-group {
  display: flex;
  flex-direction: column;
  gap: var(--hero-space-xs);
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  background: linear-gradient(90deg, var(--fire), var(--gold), var(--purple), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 300% 100%;
  animation: gradient-flow 15s ease infinite;
  white-space: nowrap;
}

.title-break {
  display: none;
}

.title-second-line {
  display: inline;
}

.hero-taglines {
  display: flex;
  flex-direction: column;
  gap: clamp(0.1rem, 0.3vh, 0.3rem);
}

.hero-taglines p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(1.2rem, 3.5vw, 1.8rem);
  line-height: 1.3;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ═══ UNIFIED BUTTON SYSTEM ═══ */
/* Base button container for grouping */
.cta-buttons,
.btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-base);
  margin-top: calc(var(--hero-space-xs) * -1);
}

/* Base button class - unified foundation */
.btn,
.cta-button {
  display: inline-block;
  padding: var(--spacing-base) var(--spacing-phi2);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  min-width: 150px;
  text-align: center;
  border: 2px solid transparent;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}

/* Primary button - orange/red gradient */
.btn-primary,
.cta-button.primary {
  background: linear-gradient(135deg, #F6AE2D, #FF6B35, #E4572E);
  border-color: #FF6B35;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Secondary button - blue gradient */
.btn-secondary,
.cta-button.secondary {
  background: linear-gradient(135deg, #2EC4B6, #0077B6, #004B87);
  border-color: #0077B6;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Tertiary button - purple gradient */
.btn-tertiary,
.cta-button.tertiary {
  background: linear-gradient(135deg, #B794F4, #9333EA, #6B46C1);
  border-color: #9333EA;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Universal hover effect - same for ALL buttons */
.cta-button:hover,
.btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.6), 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Active state */
.cta-button:active,
.btn:active {
  transform: translateY(-1px) scale(1);
}

/* Special effect button with glow animation */
.glow-button {
  animation: button-glow 2s infinite;
}

/* ═══ Specialized Button Classes - Inherit base button styles ═══ */
.nft-button,
.support-button,
.launch-button,
.subscribe-button,
.reserve-button {
  display: inline-block;
  padding: var(--spacing-base) var(--spacing-phi2);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  min-width: 150px;
  text-align: center;
  border: 2px solid transparent;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  color: white;
}

/* NFT button - special gradient for tribe page */
.nft-button {
  background: linear-gradient(135deg, var(--purple), var(--gold));
  box-shadow: 0 4px 15px rgba(108, 90, 251, 0.3);
}

.nft-button:hover {
  background: linear-gradient(135deg, var(--fire), var(--teal));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 90, 251, 0.4);
}

/* Support button - subtle accent style */
.support-button {
  background: linear-gradient(135deg, var(--teal), var(--purple));
  font-size: 0.9rem;
  padding: 0.8rem 1.5rem;
}

.support-button:hover {
  background: linear-gradient(135deg, var(--purple), var(--fire));
  transform: translateY(-2px);
}

/* Subscribe button - gold style */
.subscribe-button {
  background: linear-gradient(135deg, var(--gold), var(--fire));
  font-size: 0.9rem;
}

.subscribe-button:hover {
  background: linear-gradient(135deg, var(--fire), var(--purple));
  transform: translateY(-2px);
}

/* Launch and reserve buttons - use primary styling */
.launch-button,
.reserve-button {
  background: linear-gradient(135deg, var(--fire), var(--gold));
  box-shadow: 0 4px 15px rgba(228, 87, 46, 0.3);
}

.launch-button:hover,
.reserve-button:hover {
  background: linear-gradient(135deg, var(--gold), var(--purple));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(228, 87, 46, 0.4);
}

/* =============================================================================
   4. LAYOUT SECTIONS & CONTAINERS
   ============================================================================= */

.consciousness-section {
  padding: calc(var(--spacing-phi2) * 2) 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.consciousness-section.dark {
  background: var(--background-color);
}

.consciousness-section.accent {
  background: linear-gradient(135deg, rgba(41, 50, 65, 0.3), rgba(10, 10, 26, 0.8));
  position: relative;
}

.consciousness-section.accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/assets/images/backgrounds/lightening.jpg') center/cover no-repeat;
  opacity: 0.1;
  z-index: -1;
}

.container {
  width: 94%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

/* ═══ Section Titles ═══ */
.section-title {
  font-size: var(--text-4xl);
  text-align: center;
  margin-bottom: var(--spacing-phi);
  background: linear-gradient(90deg, var(--fire), var(--gold), var(--purple), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 300% 100%;
  animation: gradient-shift 15s ease infinite;
}

.section-subtitle {
  font-size: var(--text-xl);
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-phi2);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================================================
   5. UNIFIED CARD SYSTEMS & GRIDS
   ============================================================================= */

/* ═══ UNIFIED CARD ARCHITECTURE ═══ */
/* Base card class - foundation for all cards */
.card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: var(--spacing-phi);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(108, 90, 251, 0.2);
}

/* Feature cards - for tech, services, capabilities */
.card-feature {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: var(--spacing-phi);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.card-feature::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(108, 90, 251, 0.1) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.card-feature:hover::before {
  transform: scale(1);
}

.card-feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(108, 90, 251, 0.2);
  border-color: var(--purple);
}

/* Highlight cards - for community, vision, important content */
.card-highlight {
  background: var(--card-bg);
  padding: var(--spacing-phi);
  border-radius: 16px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.card-highlight:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(108, 90, 251, 0.15);
}

/* Pricing cards - for NFTs, services, packages */
.card-pricing {
  background: var(--card-bg);
  border: 2px solid var(--purple);
  border-radius: 16px;
  padding: var(--spacing-phi);
  text-align: center;
  transition: all 0.3s ease;
}

.card-pricing:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(108, 90, 251, 0.2);
}

/* Comparison cards - for before/after, comparisons */
.card-comparison {
  background: var(--card-bg);
  padding: var(--spacing-phi);
  border-radius: 12px;
  border: 2px solid;
  transition: all 0.3s ease;
}

/* Problem cards - special left border style */
.card-problem {
  background: var(--card-bg);
  border-left: 4px solid var(--fire);
  padding: var(--spacing-phi);
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card-problem::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(246, 174, 45, 0.1), transparent);
  transition: left 0.5s ease;
}

.card-problem:hover::before {
  left: 100%;
}

.card-problem:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(228, 87, 46, 0.2);
  border-left-color: var(--gold);
}

/* ═══ Card Icon Styles ═══ */
.card .icon,
.card-feature .tech-icon,
.card-highlight .community-icon,
.card-problem .icon {
  font-size: var(--text-3xl);
  color: var(--fire);
  margin-bottom: var(--spacing-base);
  display: block;
}

.card-feature .tech-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--purple), var(--teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-base);
  font-size: var(--text-2xl);
  color: white;
}

.card-highlight .community-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-base);
  font-size: var(--text-2xl);
  color: white;
}

/* ═══ Card Typography ═══ */
.card h3,
.card-feature h3,
.card-highlight h3,
.card-pricing h3,
.card-comparison h3,
.card-problem h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--spacing-base);
  color: var(--fire);
}

.card-feature h3 { color: var(--purple); }
.card-pricing h3 { color: var(--purple); }

.card h4,
.card-feature h4 {
  color: var(--gold);
  font-size: var(--text-lg);
  margin-bottom: var(--spacing-base);
}

.card p,
.card-feature p,
.card-highlight p,
.card-pricing p,
.card-comparison p,
.card-problem p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-base);
}

.card .benefit,
.card-highlight .benefit {
  color: var(--text-color);
  font-weight: 600;
}

/* ═══ Card Links ═══ */
.card-feature .details-link {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.card-feature .details-link:hover {
  color: var(--gold);
}

/* ═══ UNIFIED GRID SYSTEM ═══ */
/* Base grid class - foundation for all grids */
.grid {
  display: grid;
  gap: var(--spacing-phi);
  width: 100%;
}

/* Card grids - for tech cards, feature cards, benefit cards */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-phi);
  max-width: 1200px;
  margin: 0 auto;
}

/* Team grids - for team member layouts */
.grid-team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-phi);
  width: 100%;
  margin: 0 auto;
}

/* Enterprise/service grids - for service layouts */
.grid-enterprise {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-phi2);
  max-width: 1000px;
  margin: 0 auto;
}

/* Advantages/benefits grids - for feature lists */
.grid-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--spacing-phi);
  margin: var(--spacing-phi2) 0;
}

/* Problem grids - for pain point cards */
.grid-problems {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-phi);
  margin-top: var(--spacing-phi2);
}

/* Responsive grid adjustments */
@media (max-width: 768px) {
  .grid-team {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
  }
  
  .grid-cards {
    grid-template-columns: 1fr;
    gap: var(--spacing-base);
  }
  
  .grid-enterprise,
  .grid-benefits {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .grid-team {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ═══ LEGACY GRID ALIASES (for backward compatibility) ═══ */
/* Gradually replace these with unified classes */

/* Pain Grid - Problem Cards (use .grid-problems instead) */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-phi);
  margin-top: var(--spacing-phi2);
}

/* Legacy .pain-card - REMOVED (Use .card-problem instead) */

/* ═══ Tech Showcase Cards ═══ */
.tech-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-phi);
  margin-top: var(--spacing-phi2);
}

/* Legacy .tech-card - REMOVED (Use .card-feature instead) */

/* =============================================================================
   TECH PAGE COMPONENTS - Added for clean architecture
   ============================================================================= */

/* ═══ Tech Header Section ═══ */
.tech-header {
  background: url('/assets/images/backgrounds/dragon-computing.jpg') center/cover no-repeat;
  padding: 6rem 0 4rem 0;
  position: relative;
  color: white;
  text-align: center;
}

.tech-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.tech-header .container {
  position: relative;
  z-index: 2;
}

.hero-content-single {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* ═══ Tech Rows Layout ═══ */
.tech-rows {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3rem;
}

.tech-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s, background-color 0.3s;
}

.tech-row:hover {
  transform: translateY(-5px);
  background: rgba(0, 0, 0, 0.3);
  border-color: var(--primary-color);
}

.tech-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tech-content h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.tech-content h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.tech-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.tech-content .revolution-text {
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

/* ═══ Tech Button Component - REMOVED (Use .btn-primary instead) ═══ */

/* ═══ Tech Page Mobile Responsive ═══ */
@media (max-width: 768px) {
  .tech-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  
  .tech-image img {
    width: 120px !important;
    height: 120px !important;
  }
  
  .tech-header {
    padding: 4rem 0 3rem 0;
  }
}

/* =============================================================================
   SERVICES PAGE COMPONENTS - Added for clean architecture
   ============================================================================= */

/* ═══ Hero & Layout Components ═══ */
.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.signup-box {
  background: rgba(10, 10, 26, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  max-width: 600px;
  margin: 2rem auto;
}

/* ═══ Badge Components ═══ */
.coming-soon-badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--fire), var(--gold));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  animation: pulse-badge 2s infinite;
}

.early-access-badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--purple), var(--teal));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  animation: pulse-badge 2s infinite;
}

.highlight-badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--fire), var(--gold));
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0 0.2rem;
}

/* ═══ Form Components ═══ */
.email-form {
  display: flex;
  gap: 1rem;
}

.email-form input {
  flex: 1;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  font-size: 1rem;
}

/* ═══ Email Form Buttons - Use unified button styles ═══ */
.email-form button {
  display: inline-block;
  padding: var(--spacing-base) var(--spacing-phi2);
  background: linear-gradient(135deg, var(--fire), var(--gold));
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 4px 15px rgba(228, 87, 46, 0.3);
}

.email-form button:hover {
  background: linear-gradient(135deg, var(--blue-light), var(--blue-primary), var(--blue-dark));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 119, 182, 0.4);
}

/* ═══ Action Buttons Container ═══ */
.action-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* ═══ Old Button Components - REMOVED (Use .btn-primary, .btn-secondary, .btn-accent) ═══ */

.glow-button {
  animation: button-glow 2s infinite;
}

/* ═══ Services Page Animations ═══ */
@keyframes pulse-badge {
  0% { box-shadow: 0 0 0 0 rgba(228, 87, 46, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(228, 87, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(228, 87, 46, 0); }
}

@keyframes button-glow {
  0%, 100% { box-shadow: 0 0 5px rgba(228, 87, 46, 0.5); }
  50% { box-shadow: 0 0 20px rgba(228, 87, 46, 0.8); }
}

/* ═══ Services Page Mobile Responsive ═══ */
@media (max-width: 768px) {
  .action-buttons,
  .btn-group {
    flex-direction: column;
    align-items: center;
  }
  
  .email-form {
    flex-direction: column;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
}

/* ═══ Community Cards ═══ */
.community-circles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-phi);
  margin-top: var(--spacing-phi2);
}

/* Legacy .community-card - REMOVED (Use .card-highlight instead) */

/* =============================================================================
   6. SPECIAL SECTIONS
   ============================================================================= */

/* ═══ Bridge Vision Section ═══ */
.bridge-content {
  text-align: center;
  padding: calc(var(--spacing-phi2) * 1.5);
  background: linear-gradient(135deg, rgba(108, 90, 251, 0.1), rgba(46, 196, 182, 0.1));
  border-radius: 16px;
  border: 1px solid rgba(108, 90, 251, 0.2);
}

.bridge-content h2 {
  font-size: var(--text-4xl);
  color: var(--purple);
  margin-bottom: var(--spacing-phi);
}

.bridge-content .highlight {
  font-size: var(--text-xl);
  color: var(--text-color);
  max-width: 800px;
  margin: 0 auto var(--spacing-phi2) auto;
  line-height: 1.7;
}

.bridge-content .tagline {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
}

/* ═══ Sarah's Story ═══ */
.sarah-story {
  background: linear-gradient(135deg, rgba(46, 196, 182, 0.05), rgba(246, 174, 45, 0.05));
  border-radius: 16px;
  padding: var(--spacing-phi2);
  margin-top: var(--spacing-phi2);
}

.story-intro {
  text-align: center;
  margin-bottom: var(--spacing-phi2);
}

.story-intro h3 {
  font-size: var(--text-3xl);
  color: var(--teal);
  margin-bottom: var(--spacing-base);
}

.story-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-phi2);
  margin-bottom: var(--spacing-phi2);
}

/* Legacy .comparison-card - REMOVED (Use .card-comparison instead) */

/* ═══ Timeline ═══ */
.timeline {
  background: rgba(46, 196, 182, 0.1);
  border-radius: 12px;
  padding: var(--spacing-phi);
  margin-top: var(--spacing-phi);
}

.timeline h4 {
  color: var(--gold);
  font-size: var(--text-xl);
  margin-bottom: var(--spacing-phi);
  text-align: center;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-phi);
  padding: var(--spacing-base);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border-left: 3px solid var(--teal);
}

.timeline-item .time {
  font-weight: 600;
  color: var(--gold);
  min-width: 60px;
  margin-right: var(--spacing-base);
}

.timeline-item .content {
  flex: 1;
}

/* ═══ Life Benefits ═══ */
.life-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-base);
  margin-top: var(--spacing-phi2);
}

.benefit-item {
  display: flex;
  align-items: center;
  padding: var(--spacing-base);
  background: rgba(246, 174, 45, 0.1);
  border-radius: 8px;
  border-left: 3px solid var(--gold);
}

.benefit-item .icon {
  font-size: var(--text-xl);
  color: var(--gold);
  margin-right: var(--spacing-base);
}

/* ═══ Node Showcase ═══ */
.node-showcase {
  background: linear-gradient(135deg, rgba(108, 90, 251, 0.1), rgba(228, 87, 46, 0.1));
  border-radius: 16px;
  padding: var(--spacing-phi2);
  margin-top: var(--spacing-phi2);
  text-align: center;
}

.node-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-phi);
  margin: var(--spacing-phi2) 0;
}

.node-benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--spacing-phi);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.node-benefit .icon {
  font-size: var(--text-2xl);
  margin-bottom: var(--spacing-base);
}

.node-benefit:nth-child(1) .icon { color: var(--purple); }
.node-benefit:nth-child(2) .icon { color: var(--teal); }
.node-benefit:nth-child(3) .icon { color: var(--gold); }
.node-benefit:nth-child(4) .icon { color: var(--fire); }

.node-benefit h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--spacing-base);
  color: var(--text-color);
}

/* ═══ Pricing Cards ═══ */
.node-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-phi);
  margin: var(--spacing-phi2) 0;
}

/* Legacy .pricing-card - REMOVED (Use .card-pricing instead) */

.alpha-status {
  color: var(--fire);
  font-weight: 600;
  font-size: var(--text-lg);
  margin: var(--spacing-phi) 0;
}

/* ═══ Alpha Portal ═══ */
.alpha-portal {
  background: linear-gradient(135deg, rgba(228, 87, 46, 0.2), rgba(108, 90, 251, 0.2));
  border-radius: 16px;
  padding: var(--spacing-phi2);
  text-align: center;
  margin-top: var(--spacing-phi2);
}

.alpha-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-phi);
  margin: var(--spacing-phi2) 0;
}

.alpha-benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--spacing-phi);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.alpha-benefit .icon {
  font-size: var(--text-2xl);
  margin-bottom: var(--spacing-base);
}

.alpha-benefit:nth-child(1) .icon { color: var(--purple); }
.alpha-benefit:nth-child(2) .icon { color: var(--teal); }
.alpha-benefit:nth-child(3) .icon { color: var(--gold); }

.alpha-benefit h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--spacing-base);
  color: var(--text-color);
}

.final-tagline {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-color);
  margin: var(--spacing-phi2) 0 var(--spacing-phi) 0;
}

.powered-by {
  margin-top: var(--spacing-phi2);
  padding-top: var(--spacing-phi);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.powered-by p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-base);
}

.powered-by .features {
  font-weight: 600;
  color: var(--gold);
}

/* =============================================================================
   7. FOOTER
   ============================================================================= */

footer {
  background: linear-gradient(135deg, rgba(41, 50, 65, 0.8), rgba(10, 10, 26, 0.9));
  padding: var(--spacing-phi2) 5%;
  margin-top: calc(var(--spacing-phi2) * 2);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-phi);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column h4 {
  color: var(--gold);
  font-size: var(--text-lg);
  margin-bottom: var(--spacing-base);
}

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

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--gold);
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-base);
}

.footer-logo img {
  height: 40px;
  margin-right: var(--spacing-base);
}

.footer-logo span {
  color: var(--gold);
  font-weight: 600;
  font-size: var(--text-lg);
}

.copyright {
  text-align: center;
  padding-top: var(--spacing-phi);
  margin-top: var(--spacing-phi);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.copyright a {
  color: var(--gold);
  text-decoration: none;
}

/* =============================================================================
   8. VISION TRINITY & SPECIAL COMPONENTS
   ============================================================================= */

.vision-trinity {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-phi2);
  margin-top: var(--spacing-phi2);
}

/* Legacy .vision-card - REMOVED (Use .card-highlight instead) */

/* =============================================================================
   9. ANIMATIONS & KEYFRAMES
   ============================================================================= */

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes gradient-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes consciousness-flow {
  0% { transform: translateY(0) translateX(0) rotate(0deg); }
  25% { transform: translateY(-20px) translateX(20px) rotate(90deg); }
  50% { transform: translateY(0) translateX(40px) rotate(180deg); }
  75% { transform: translateY(20px) translateX(20px) rotate(270deg); }
  100% { transform: translateY(0) translateX(0) rotate(360deg); }
}

/* =============================================================================
   10. RESPONSIVE DESIGN - MOBILE FIRST APPROACH
   ============================================================================= */

/* ═══ NAVIGATION RESPONSIVE BREAKPOINTS ═══ */

/* Desktop (1025px+) - Show full navigation, hide hamburger */
@media (min-width: 1025px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  
  .menu-close {
    display: none !important;
  }
  
  .main-nav {
    display: flex;
    position: static;
    background: transparent;
    backdrop-filter: none;
    width: auto;
    height: auto;
  }
  
  .main-nav ul {
    display: flex;
    flex-direction: row;
  }
}

/* Tablet & iPad (769px - 1024px) - Show hamburger menu */
@media (min-width: 769px) and (max-width: 1024px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .main-nav {
    display: none;
  }
  
  .main-nav.mobile-active {
    display: flex;
  }
  
  .main-nav.mobile-active .menu-close {
    display: flex;
  }
  
  .main-header {
    padding: var(--spacing-base) 5%;
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 6vw, 3.2rem);
  }
  
  .cta-button {
    font-size: clamp(0.85rem, 2vw, 1rem);
    padding: 1rem 2rem;
    min-width: 260px;
  }
}

/* ═══ iPad Portrait (769px - 1024px Portrait) ═══ */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: -100vh;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 26, 0.98);
    backdrop-filter: blur(20px);
    padding: 4rem 2rem 2rem;
    transition: top 0.3s ease;
    z-index: 150;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .main-nav.active {
    top: 0;
  }
  
  .menu-close {
    display: block;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    margin-top: 4rem;
  }
  
  .main-nav a {
    display: block;
    font-size: 1.8rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(246, 174, 45, 0.3);
    width: 100%;
    text-align: center;
    max-width: 400px;
  }
}

/* ═══ iPad Landscape (769px - 1024px Landscape) ═══ */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: -100vh;
    right: 0;
    width: 350px;
    height: 100vh;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(15px);
    padding: 3rem 2rem 2rem;
    transition: top 0.3s ease;
    z-index: 150;
    overflow-y: auto;
  }
  
  .main-nav.active {
    top: 0;
  }
  
  .menu-close {
    display: block;
    top: 1rem;
    right: 1rem;
    font-size: 1.3rem;
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 1rem;
  }
  
  .main-nav a {
    display: block;
    font-size: 1.1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(246, 174, 45, 0.2);
    width: 100%;
  }
}

/* ═══ Mobile & Small Tablets (≤ 768px) ═══ */
@media (max-width: 768px) {
  .main-header {
    padding: var(--spacing-base) 5%;
    opacity: 1;
    transform: translateY(0);
    background: rgba(10, 10, 26, 0.95);
  }
  
  .consciousness-section {
    padding: var(--spacing-phi2) var(--spacing-phi);
  }
  
  .section-title {
    font-size: var(--text-3xl);
  }
  
  .story-comparison {
    grid-template-columns: 1fr;
  }
  
  .timeline-item {
    flex-direction: column;
    text-align: center;
  }
  
  .timeline-item .time {
    margin-bottom: var(--spacing-base);
  }
  
  .pain-grid,
  .tech-showcase,
  .vision-trinity,
  .community-circles {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .node-benefits,
  .alpha-benefits {
    grid-template-columns: 1fr;
  }
  
  /* Mobile hero background fallback */
  .hero {
    background: url('/assets/images/backgrounds/dragonegg-background-hexagon.jpg') center/cover no-repeat;
  }
  
  .hero-background {
    display: block;
    opacity: 0.7;
    background-attachment: scroll;
    background-size: cover;
  }
}

/* ═══ Mobile Portrait (≤ 768px Portrait) ═══ */
@media (max-width: 768px) and (orientation: portrait) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .main-nav {
    display: none;
  }
  
  .main-nav.mobile-active {
    display: flex;
  }
  
  .main-nav.mobile-active .menu-close {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: -100vh;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(10, 10, 26, 0.98);
    backdrop-filter: blur(20px);
    padding: clamp(2rem, 8vh, 4rem) 2rem clamp(1rem, 4vh, 2rem);
    transition: top 0.3s ease;
    z-index: 150;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .main-nav.active {
    top: 0;
    display: flex;
  }
  
  .menu-close {
    display: block;
    top: clamp(1rem, 3vh, 1.5rem);
    right: clamp(1rem, 3vw, 1.5rem);
    font-size: clamp(1.2rem, 3vh, 1.5rem);
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: clamp(0.8rem, 2vh, 1.2rem);
    margin: 0;
  }
  
  .main-nav a {
    display: block;
    font-size: clamp(1.1rem, 3.5vh, 1.3rem);
    padding: clamp(0.4rem, 1.5vh, 0.8rem) 0;
    border-bottom: 1px solid rgba(246, 174, 45, 0.3);
    width: 100%;
    text-align: center;
    max-width: clamp(220px, 55vw, 280px);
  }
  
  .hero-title {
    font-size: clamp(4.5rem, 18vw, 6rem);
    white-space: normal;
    line-height: 1.2;
  }
  
  .title-break {
    display: block;
  }
  
  .title-second-line {
    display: block;
    margin-top: 0.2rem;
  }
  
  .cta-button {
    font-size: clamp(0.85rem, 3vw, 1rem);
    padding: clamp(0.8rem, 3vw, 1rem) clamp(1.2rem, 4vw, 1.5rem);
  }
}

/* ═══ Mobile Landscape (≤ 768px Landscape) ═══ */
@media (max-width: 768px) and (orientation: landscape) {
  .main-header {
    background: rgba(10, 10, 26, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    padding: 0.5rem 5%;
  }
  
  .logo-container h1 {
    display: none;
  }
  
  .logo-container .logo {
    height: 40px;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
  
  .main-nav {
    display: flex;
    position: static;
    background: transparent;
    padding: 0;
    width: auto;
    height: auto;
  }
  
  .menu-close {
    display: none;
  }
  
  .main-nav ul {
    display: flex;
    flex-direction: row;
    gap: clamp(0.8rem, 2vw, 1.2rem);
    align-items: center;
    margin: 0;
  }
  
  .main-nav a {
    font-size: clamp(0.7rem, 1.2vw, 0.8rem);
    padding: 0.3rem 0.8rem;
    border: none;
    border-radius: 4px;
    width: auto;
    text-align: center;
    background: transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
  }
  
  .main-nav a {
    font-size: clamp(0.7rem, 1.2vw, 0.8rem);
    padding: 0.3rem 0.8rem;
    border: none;
    border-radius: 4px;
    width: auto;
    transition: all 0.3s ease;
    white-space: nowrap;
  }
  
  .main-nav a:hover {
    color: var(--fire);
    transform: scale(1.05);
  }
  
  .hero {
    margin-top: 4rem;
    padding-top: 0;
  }
  
  .cta-button {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    padding: 0.7rem 1.5rem;
    white-space: nowrap;
  }
}

/* ═══ Small Mobile (≤ 480px) ═══ */
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(3.5rem, 16vw, 4.5rem);
    white-space: normal;
    line-height: 1.2;
  }
  
  .hero-taglines p {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
  }
  
  .consciousness-section {
    padding: var(--spacing-phi) calc(var(--spacing-phi) * 0.5);
  }
}

/* ═══ Large Mobile (481px - 767px) ═══ */
@media (min-width: 481px) and (max-width: 767px) {
  .hero-title {
    font-size: clamp(3.2rem, 14vw, 4rem);
    white-space: normal;
    line-height: 1.2;
  }
}

/* ═══ Mobile Landscape Optimization (≤ 896px height in landscape) ═══ */
@media (max-width: 896px) and (max-height: 500px) and (orientation: landscape) {
  .hero-title {
    font-size: clamp(1.8rem, 4.5vw, 2.2rem);
    white-space: nowrap;
  }
  
  .hero-taglines p {
    font-size: clamp(1rem, 3vw, 1.2rem);
  }
  
  .hero-content {
    gap: clamp(0.5rem, 1vh, 0.8rem);
  }
  
  .hero-title-group {
    gap: clamp(0.2rem, 0.5vh, 0.3rem);
  }
}

/* ═══ iPad Background Parallax Fix ═══ */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .hero-background {
    background-attachment: scroll;
    background-size: cover;
    background-repeat: no-repeat;
  }
}