/* ===== CONCORD WEBSITE - COMPLETE REDESIGN FROM SCRATCH ===== */

/* ===== CSS CUSTOM PROPERTIES - DESIGN SYSTEM ===== */
:root {
  /* === SPACING SCALE === */
  --space-xs: 0.25rem;    /* 4px */
  --space-sm: 0.5rem;     /* 8px */
  --space-md: 1rem;       /* 16px */
  --space-lg: 1.5rem;     /* 24px */
  --space-xl: 2rem;       /* 32px */
  --space-2xl: 3rem;      /* 48px */
  --space-3xl: 4rem;      /* 64px */
  --space-4xl: 6rem;      /* 96px */
  --space-5xl: 8rem;      /* 128px */

  /* === TYPOGRAPHY SCALE === */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem;   /* 30px */
  --text-4xl: 2.25rem;    /* 36px */
  --text-5xl: 3rem;       /* 48px */
  --text-6xl: 3.75rem;    /* 60px */
  --text-7xl: 4.5rem;     /* 72px */

  /* === COLOR SYSTEM === */
  --color-primary: #6366f1;
  --color-primary-dark: #4f46e5;
  --color-primary-light: #818cf8;

  --color-secondary: #8b5cf6;
  --color-secondary-dark: #7c3aed;
  --color-secondary-light: #a78bfa;

  --color-accent: #ec4899;
  --color-accent-dark: #db2777;
  --color-accent-light: #f472b6;

  /* === BACKGROUND COLORS === */
  --bg-primary: #0f0f23;
  --bg-secondary: #1a1a3a;
  --bg-tertiary: #2d2d5f;
  --bg-surface: rgba(255, 255, 255, 0.05);
  --bg-surface-hover: rgba(255, 255, 255, 0.1);
  --bg-glass: rgba(255, 255, 255, 0.08);
  --bg-glass-strong: rgba(255, 255, 255, 0.12);

  /* === TEXT COLORS === */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-tertiary: rgba(255, 255, 255, 0.6);
  --text-muted: rgba(255, 255, 255, 0.4);

  /* === GRADIENTS === */
  --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  --gradient-secondary: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  --gradient-accent: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  --gradient-text: linear-gradient(135deg, #c4a0ff, #e0c1ff, #f0d9ff);

  /* === SHADOWS === */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 20px rgba(196, 160, 255, 0.3);
  --shadow-glow-strong: 0 0 40px rgba(196, 160, 255, 0.5);

  /* === TRANSITIONS === */
  --transition-fast: 0.15s ease-out;
  --transition-base: 0.3s ease-out;
  --transition-slow: 0.5s ease-out;

  /* === BORDER RADIUS === */
  --radius-sm: 0.375rem;   /* 6px */
  --radius-md: 0.5rem;     /* 8px */
  --radius-lg: 0.75rem;    /* 12px */
  --radius-xl: 1rem;       /* 16px */
  --radius-2xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;

  /* === Z-INDEX SCALE === */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-toast: 1080;

  /* === BREAKPOINTS === */
  --bp-sm: 640px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1280px;
  --bp-2xl: 1536px;
}

/* ===== RESET & BASE STYLES ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-4xl);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY SYSTEM ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

h1 { font-size: var(--text-6xl); }
h2 { font-size: var(--text-5xl); }
h3 { font-size: var(--text-4xl); }
h4 { font-size: var(--text-3xl); }
h5 { font-size: var(--text-2xl); }
h6 { font-size: var(--text-xl); }

p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
  line-height: 1.7;
}

a {
  color: var(--color-primary-light);
  text-decoration: none;
  transition: color var(--transition-base);
}

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

/* ===== UTILITY CLASSES ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== COMPONENT BASE STYLES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  min-height: 44px; /* Touch target */
  position: relative;
  overflow: hidden;
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-primary);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-strong);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--bg-surface-hover);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-glass-strong);
  transform: translateY(-2px);
}

/* ===== LAYOUT COMPONENTS ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background: rgba(15, 15, 35, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bg-surface);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  height: 80px;
}

.nav__logo {
  font-size: var(--text-2xl);
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav__link {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--transition-base);
  position: relative;
}

.nav__link:hover {
  color: var(--text-primary);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-primary); /* Purple color */
  transition: all var(--transition-base);
}

/* ===== ENHANCED HERO SECTION WITH 3D EFFECTS ===== */
.hero-container {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.2) 0%, transparent 50%),
    linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  overflow: hidden;
}

.hero-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, rgba(46, 13, 122, 0.1) 0%, rgba(94, 22, 196, 0.2) 100%);
  z-index: 2;
  pointer-events: none;
}

.perspective-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.holo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.2) 0%, rgba(138, 43, 226, 0.05) 40%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  animation: holoGlow 4s ease-in-out infinite alternate;
}

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

.hero {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-4xl);
  padding: var(--space-5xl) var(--space-xl) var(--space-3xl);
  min-height: 100vh;
}

.hero-content {
  position: relative;
  z-index: 6;
  max-width: 100%;
  padding-left: var(--space-xl);
}

.hero-title {
  font-size: var(--text-7xl);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  text-shadow: 0 0 30px rgba(196, 160, 255, 0.5);
  animation: titleFadeIn 1.2s ease forwards;
}

.neon-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.neon-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background: linear-gradient(135deg, #c4a0ff, #e0c1ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(2px);
  opacity: 0.7;
}

.hero-description {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 500px;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.app-download-section {
  margin-bottom: var(--space-lg);
}

.download-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  text-align: center;
}

.download-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-glass);
  border: 1px solid var(--bg-surface);
  border-radius: var(--radius-xl);
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--transition-base);
  backdrop-filter: blur(20px);
  min-width: 160px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.download-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left var(--transition-slow);
}

.download-btn:hover::before {
  left: 100%;
}

.download-btn:hover {
  background: var(--bg-glass-strong);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(196, 160, 255, 0.3);
}

.ios-btn:hover {
  box-shadow: 0 12px 40px rgba(0, 122, 255, 0.3);
}

.android-btn:hover {
  box-shadow: 0 12px 40px rgba(52, 168, 83, 0.3);
}

.download-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.download-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.download-platform {
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1;
}

.download-subtitle {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  line-height: 1;
}

.explore-btn {
  align-self: center;
  min-width: 200px;
}

.nova-section {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.nova-character {
  position: relative;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(196, 160, 255, 0.4));
  transition: transform var(--transition-slow);
  z-index: 5;
}

.nova-character:hover {
  transform: scale(1.05) rotate(2deg);
  filter: drop-shadow(0 0 40px rgba(196, 160, 255, 0.6));
}

.nova-character.interactive {
  cursor: pointer;
}

/* Decorative floating elements */
.decorative-heart,
.decorative-star {
  position: absolute;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 0 10px rgba(255, 105, 180, 0.5));
}

.heart-1 {
  top: 20%;
  left: 15%;
  width: 40px;
  animation: floatHeart 3s ease-in-out infinite;
}

.heart-2 {
  top: 60%;
  right: 20%;
  width: 35px;
  animation: floatHeart 3s ease-in-out infinite 1s;
}

.heart-3 {
  bottom: 30%;
  left: 25%;
  width: 30px;
  animation: floatHeart 3s ease-in-out infinite 2s;
}

.star-1 {
  top: 30%;
  right: 15%;
  width: 45px;
  animation: floatStar 4s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.star-2 {
  bottom: 20%;
  right: 30%;
  width: 40px;
  animation: floatStar 4s ease-in-out infinite 2s;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

@keyframes floatHeart {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-15px) rotate(5deg);
    opacity: 1;
  }
}

@keyframes floatStar {
  0%, 100% {
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translateY(-20px) rotate(10deg) scale(1.1);
    opacity: 1;
  }
}

/* Floating blobs */
.floating-blob {
  position: absolute;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.3), rgba(138, 43, 226, 0.1));
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

.floating-blob {
  width: 100px;
  height: 100px;
  top: 40%;
  left: 10%;
  animation: blobFloat 6s ease-in-out infinite;
}

.floating-blob.two {
  width: 80px;
  height: 80px;
  top: 70%;
  right: 15%;
  animation: blobFloat 6s ease-in-out infinite 2s;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.3), rgba(236, 72, 153, 0.1));
}

.floating-blob.three {
  width: 60px;
  height: 60px;
  top: 15%;
  left: 40%;
  animation: blobFloat 6s ease-in-out infinite 4s;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3), rgba(99, 102, 241, 0.1));
}

@keyframes blobFloat {
  0%, 100% {
    transform: translateY(0px) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-30px) scale(1.1);
    opacity: 0.8;
  }
}

/* Tech circles */
.tech-circle {
  position: absolute;
  border: 2px solid rgba(196, 160, 255, 0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

.tech-circle.one {
  width: 150px;
  height: 150px;
  top: 25%;
  left: 5%;
  animation: techRotate 10s linear infinite;
}

.tech-circle.two {
  width: 120px;
  height: 120px;
  bottom: 25%;
  right: 10%;
  animation: techRotate 8s linear infinite reverse;
}

@keyframes techRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Microsoft Partnership Banner */
/* Microsoft Partnership Container - Base Styles */
.microsoft-partnership {
  background: rgba(37, 14, 98, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(157, 78, 221, 0.3);
  border-radius: var(--radius-full);
  padding: var(--space-md) var(--space-xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.microsoft-partnership:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(157, 78, 221, 0.5);
}

/* Desktop Microsoft Partnership */
.desktop-partnership {
  position: absolute;
  left: var(--space-md);
  right: var(--space-md);
  bottom: var(--space-md);
  width: auto;
  z-index: 2;
}

/* Mobile Microsoft Partnership */
.mobile-partnership {
  position: relative;
  margin-top: var(--space-xl);
  width: 100%;
  max-width: 280px;
  align-self: center;
  display: none; /* Hidden on desktop */
}

.ms-startups-logo {
  max-width: 200px;
  height: auto;
  opacity: 0.9;
  transition: opacity var(--transition-base);
}

.ms-startups-logo:hover {
  opacity: 1;
}

@keyframes titleFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== FLOATING ELEMENTS ===== */
.floating-element {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.crystal-left {
  top: 20%;
  left: 10%;
  animation: float 6s ease-in-out infinite;
}

.crystal-right {
  top: 60%;
  right: 10%;
  animation: float 6s ease-in-out infinite 3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* ===== SOCIAL MEDIA COMPONENTS ===== */
.social-links {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-glass);
  border: 1px solid var(--bg-surface);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
  min-height: 44px;
}

.social-link:hover {
  background: var(--bg-glass-strong);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.social-link--instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}

.social-link--tiktok:hover {
  background: linear-gradient(45deg, #000000 0%, #ff0050 100%);
  color: white;
}

.social-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-3xl);
  }

  .hero__title {
    font-size: var(--text-6xl);
  }

  .nav__menu {
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  /* Mobile Navigation Menu - Hidden by default */
  .nav__menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-xl);
    transform: translateY(-100%);
    transition: transform var(--transition-base);
    z-index: var(--z-dropdown);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    opacity: 0;
    visibility: hidden;
  }

  .nav__menu--active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  /* Mobile Navigation Toggle - Purple Color */
  .nav__toggle {
    display: flex;
    z-index: calc(var(--z-dropdown) + 1);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-base);
  }

  .nav__toggle:hover {
    background: rgba(196, 160, 255, 0.1);
  }

  .nav__toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-primary); /* Purple color */
    margin: 3px 0;
    transition: all var(--transition-base);
    border-radius: 2px;
  }

  .nav__toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  /* Mobile Navigation Logo - Ensure Visibility */
  .nav__logo {
    z-index: calc(var(--z-dropdown) + 2);
    position: relative;
  }

  .nav__logo a {
    color: var(--text-primary);
    font-weight: 700;
    font-size: var(--text-xl);
    text-decoration: none;
    transition: color var(--transition-base);
  }

  .nav__logo a:hover {
    color: var(--color-primary);
  }

  /* Mobile Navigation Links */
  .nav__link {
    padding: var(--space-md) 0;
    font-size: var(--text-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
    color: var(--text-primary);
  }

  .nav__link:last-child {
    border-bottom: none;
  }

  .nav__link:hover,
  .nav__link:focus {
    color: var(--color-primary);
    background: rgba(196, 160, 255, 0.1);
    padding-left: var(--space-md);
    border-radius: var(--border-radius-md);
  }

  /* Header scroll effects */
  .site-header {
    transition: transform var(--transition-base);
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
  }

  .site-header.scrolled {
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(25px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  }

  /* Hero Section Mobile Fixes */
  .hero {
    padding: var(--space-4xl) 0 var(--space-3xl);
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-2xl);
    align-items: stretch;
  }

  .hero-content {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 var(--space-md);
    max-width: 100%;
  }

  .nova-section {
    order: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: var(--space-xl);
  }

  .hero-title {
    font-size: var(--text-5xl);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    text-align: center;
  }

  .hero-description {
    font-size: var(--text-lg);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
    text-align: center;
    max-width: 90%;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    width: 100%;
  }

  .app-download-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }

  .download-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
    text-align: center;
  }

  .download-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    width: 100%;
    max-width: 320px;
  }

  .download-btn {
    width: 100%;
    justify-content: center;
    padding: var(--space-lg) var(--space-xl);
  }

  .explore-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  /* Microsoft Partnership Mobile Responsive */
  .desktop-partnership {
    display: none;
  }

  .mobile-partnership {
    display: flex;
    position: absolute;
    left: var(--space-md);
    right: var(--space-md);
    bottom: var(--space-md);
    margin-top: 0;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    background: rgba(37, 14, 98, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  }

  .mobile-partnership .ms-startups-logo {
    max-width: 240px;
    height: auto;
  }

  /* Decorative elements positioning for mobile */
  .decorative-heart,
  .decorative-star {
    position: absolute;
    z-index: 1;
  }

  .heart-1 {
    top: 10%;
    left: 15%;
    width: 20px;
    height: 20px;
  }

  .heart-2 {
    top: 60%;
    right: 10%;
    width: 16px;
    height: 16px;
  }

  .heart-3 {
    bottom: 20%;
    left: 20%;
    width: 18px;
    height: 18px;
  }

  .star-1 {
    top: 30%;
    right: 20%;
    width: 22px;
    height: 22px;
  }

  .star-2 {
    bottom: 40%;
    left: 10%;
    width: 18px;
    height: 18px;
  }

  /* Mobile spacing adjustments for section transitions */
  .resonance-section { padding-bottom: var(--space-3xl); }
  .features-intro-section { padding-top: calc(var(--space-3xl) + var(--space-xl)); }

}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }

  .hero__title {
    font-size: var(--text-4xl);
  }

  .hero__description {
    font-size: var(--text-base);
  }

  .social-links {
    flex-direction: column;
    width: 100%;
  }

  .social-link {
    width: 100%;
    justify-content: center;
  }
}

/* ===== RESONANCE SECTION ===== */
.resonance-section {
  background: linear-gradient(180deg, #1f0d5a 0%, #291470 100%);
  box-shadow: 0 -20px 80px rgba(0, 0, 0, 0.5), 0 20px 80px rgba(0, 0, 0, 0.5);
  min-height: 90vh;
  position: relative;
  overflow: hidden;
  padding: var(--space-5xl) 0;
}

.resonance-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 25% 25%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.resonance-content {
  text-align: center;
  margin-bottom: var(--space-4xl);
  position: relative;
  z-index: 3;
}

.resonance-heading {
  font-size: var(--text-5xl);
  font-weight: 900;
  margin-bottom: var(--space-lg);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(196, 160, 255, 0.5);
}

.resonance-description {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.resonance-imagery {
  position: relative;
  width: 100%;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0;
  z-index: 2;
}

.epic-glow {
  position: absolute;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.3) 0%, rgba(138, 43, 226, 0.1) 40%, transparent 70%);
  border-radius: 50%;
  z-index: 2;
  animation: epicGlow 3s ease-in-out infinite alternate;
}

@keyframes epicGlow {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.1);
    opacity: 0.9;
  }
}

.resonance-mascot {
  position: relative;
  width: 400px;
  z-index: 3;
  filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.6));
  transition: transform var(--transition-slow);
}

.resonance-mascot:hover {
  transform: scale(1.05) rotate(2deg);
}

.chat-bubble {
  position: absolute;
  left: 10%;
  top: 30%;
  width: 70px;
  z-index: 2;
  filter: drop-shadow(0 0 10px rgba(255, 0, 255, 0.5));
  animation: bubbleFloat 3s ease-in-out infinite;
}

.star-left {
  position: absolute;
  left: 15%;
  bottom: 35%;
  width: 45px;
  z-index: 2;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
  animation: starTwinkle 2s ease-in-out infinite;
}

.star-right {
  position: absolute;
  right: 15%;
  top: 25%;
  width: 50px;
  z-index: 2;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
  animation: starTwinkle 2s ease-in-out infinite 1s;
}

.heart {
  position: absolute;
  right: 20%;
  bottom: 30%;
  width: 40px;
  z-index: 2;
  filter: drop-shadow(0 0 10px rgba(255, 105, 180, 0.5));
  animation: heartBeat 2s ease-in-out infinite;
}

@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes starTwinkle {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.2) rotate(180deg);
    opacity: 1;
  }
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Floating elements for resonance section */
.floating-bubble {
  position: absolute;
  background: radial-gradient(circle, rgba(196, 160, 255, 0.3), rgba(196, 160, 255, 0.1));
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.floating-bubble-1 {
  width: 60px;
  height: 60px;
  top: 20%;
  left: 10%;
  animation: bubbleFloat1 4s ease-in-out infinite;
}

.floating-bubble-2 {
  width: 80px;
  height: 80px;
  top: 60%;
  right: 15%;
  animation: bubbleFloat1 4s ease-in-out infinite 1s;
}

.floating-bubble-3 {
  width: 40px;
  height: 40px;
  bottom: 20%;
  left: 20%;
  animation: bubbleFloat1 4s ease-in-out infinite 2s;
}

.floating-bubble-4 {
  width: 50px;
  height: 50px;
  top: 30%;
  right: 25%;
  animation: bubbleFloat1 4s ease-in-out infinite 3s;
}

@keyframes bubbleFloat1 {
  0%, 100% {
    transform: translateY(0px) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-20px) scale(1.1);
    opacity: 0.7;
  }
}

.bubble-sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #c4a0ff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.bubble-sparkle-1 {
  top: 25%;
  left: 30%;
  animation: sparkle 2s ease-in-out infinite;
}

.bubble-sparkle-2 {
  bottom: 35%;
  right: 30%;
  animation: sparkle 2s ease-in-out infinite 1s;
}

/* ===== APP SHOWCASE SECTION ===== */
.app-showcase {
  padding: var(--space-5xl) 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.app-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.app-showcase__intro {
  text-align: center;
  margin-bottom: var(--space-4xl);
  position: relative;
  z-index: 2;
}

.app-showcase__title {
  font-size: var(--text-5xl);
  font-weight: 900;
  margin-bottom: var(--space-lg);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.app-showcase__description {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.app-screenshots {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  position: relative;
  z-index: 2;
}

.screenshot-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.screenshot-card {
  position: relative;
  background: var(--bg-glass);
  border: 1px solid var(--bg-surface);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: all var(--transition-base);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.screenshot-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  z-index: 2;
}

.screenshot-card:hover::before {
  transform: scaleX(1);
}

.screenshot-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 48px rgba(196, 160, 255, 0.2);
}

.screenshot-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-base);
}

.screenshot-card:hover img {
  transform: scale(1.05);
}

.screenshot-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  color: white;
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.screenshot-card:hover .screenshot-overlay {
  transform: translateY(0);
}

.screenshot-overlay h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.screenshot-overlay p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* ===== ENHANCED FEATURES SECTION ===== */
.features {
  padding: var(--space-5xl) 0;
  position: relative;
  background: var(--bg-primary);
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 70%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.features__intro {
  text-align: center;
  margin-bottom: var(--space-4xl);
  position: relative;
  z-index: 2;
}

.features__title {
  font-size: var(--text-5xl);
  font-weight: 900;
  margin-bottom: var(--space-lg);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features__description {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-2xl);
  position: relative;
  z-index: 2;
}

.feature-card {
  background: var(--bg-glass);
  border: 1px solid var(--bg-surface);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: all var(--transition-base);
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  z-index: 2;
}

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

.feature-card:hover {
  transform: translateY(-12px) rotateX(5deg);
  background: var(--bg-glass-strong);
  box-shadow: 0 20px 60px rgba(196, 160, 255, 0.3);
}

.feature-card__visual {
  position: relative;
  overflow: hidden;
  height: 200px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
}

.feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.feature-card:hover .feature-image {
  transform: scale(1.1) rotate(2deg);
}

.feature-card__content {
  padding: var(--space-xl);
}

.feature-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.feature-card__description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.feature-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-primary-light);
  font-weight: 600;
  transition: all var(--transition-base);
  text-decoration: none;
}

.feature-card__cta:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

/* ===== DOWNLOAD SECTION ===== */
.download-section {
  background: var(--bg-secondary);
  padding: var(--space-5xl) var(--space-xl);
  text-align: center;
  position: relative;
  width: 100%;
}

.download-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.download-section__content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  text-align: center;
}

.download-section__title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xl);
  text-shadow: 0 0 30px rgba(124, 108, 255, 0.4);
}

.download-section__description {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-3xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.download-buttons {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-2xl);
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--transition-base);
  backdrop-filter: blur(20px);
  min-width: 220px;
  justify-content: center;
  font-weight: 600;
}

.download-btn:hover {
  background: var(--bg-glass-strong);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(124, 108, 255, 0.25);
}

.download-btn__icon {
  font-size: var(--text-3xl);
}

.download-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.download-btn__platform {
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1;
}

.download-btn__subtitle {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  line-height: 1;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary);
  padding: var(--space-4xl) 0 var(--space-xl);
  border-top: 1px solid var(--bg-surface);
}

.footer__content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__section h3,
.footer__section h4 {
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  font-weight: 700;
}

.footer__brand {
  max-width: 400px;
}

.footer__logo {
  font-size: var(--text-3xl);
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
}

.footer__tagline {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.footer__description {
  color: var(--text-tertiary);
  line-height: 1.7;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  color: var(--text-secondary);
  transition: color var(--transition-base);
}

.footer__links a:hover {
  color: var(--text-primary);
}

.footer__social {
  margin-bottom: var(--space-lg);
}

.footer__partnership {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--bg-surface);
}

.footer__partnership p {
  color: var(--text-tertiary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-sm);
}

.footer__ms-logo {
  max-width: 200px;
  height: auto;
  opacity: 0.8;
  transition: opacity var(--transition-base);
}

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

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--bg-surface);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__copyright {
  color: var(--text-tertiary);
  font-size: var(--text-sm);
}

.footer__legal {
  display: flex;
  gap: var(--space-lg);
}

.footer__legal a {
  color: var(--text-tertiary);
  font-size: var(--text-sm);
  transition: color var(--transition-base);
}

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

/* ===== ANIMATIONS & KEYFRAMES ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(196, 160, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(196, 160, 255, 0.6);
  }
}

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

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.animate-left {
  transform: translateX(-30px);
}

.animate-on-scroll.animate-right {
  transform: translateX(30px);
}

.animate-on-scroll.animate-in.animate-left,
.animate-on-scroll.animate-in.animate-right {
  transform: translateX(0);
}

/* ===== LOADING STATES ===== */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .nova-character:hover {
    transform: none;
  }

  .floating-element {
    animation: none;
  }
}

/* Focus styles for keyboard navigation */
.btn:focus-visible,
.nav__link:focus-visible,
.social-link:focus-visible,
.footer__links a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --text-secondary: rgba(255, 255, 255, 0.9);
    --text-tertiary: rgba(255, 255, 255, 0.8);
    --bg-surface: rgba(255, 255, 255, 0.1);
    --bg-glass: rgba(255, 255, 255, 0.15);
  }
}

/* ===== FEATURES TIMELINE SECTION - COMPLETE REDESIGN ===== */
.features-timeline-section {
  padding: var(--space-5xl) 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden;
}

/* Background decorative elements */
.features-timeline-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.15) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

/* Section Header */
.features-timeline-header {
  text-align: center;
  margin-bottom: var(--space-5xl);
  position: relative;
  z-index: 2;
  padding: 0 var(--space-xl);
}

.features-timeline-title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
  text-shadow: 0 0 30px rgba(124, 108, 255, 0.4);
}

.features-timeline-subtitle {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
}

.features-timeline-description {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Features Grid Container */
.features-grid-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4xl);
}

/* Feature Timeline Item */
.feature-timeline-item {
  position: relative;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-timeline-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Feature Timeline Card */
.feature-timeline-card {
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-base);
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
  z-index: 10;
}

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

.feature-timeline-card:hover {
  transform: translateY(-12px) rotateX(2deg);
  box-shadow: 0 20px 60px rgba(196, 160, 255, 0.4);
  border-color: rgba(196, 160, 255, 0.3);
}

/* Feature Visual */
.feature-timeline-visual {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
  flex-shrink: 0;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transform: translateZ(0);
  will-change: transform;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-image-wrapper img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: var(--radius-xl);
  transition: transform var(--transition-slow);
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

.feature-timeline-card:hover .feature-image-wrapper img {
  transform: scale(1.05);
}

/* Feature Glow Effect */
.feature-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(196, 160, 255, 0.4) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
  z-index: 1;
}

.feature-timeline-card:hover .feature-glow {
  opacity: 1;
}

/* Feature Content */
.feature-timeline-content {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: var(--gradient-primary);
  color: var(--text-primary);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  width: fit-content;
}

.feature-timeline-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.feature-timeline-description {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  flex: 1;
}

.feature-timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.feature-timeline-list li {
  position: relative;
  padding-left: var(--space-lg);
  color: var(--text-secondary);
  font-size: var(--text-xs);
  line-height: 1.5;
}

.feature-timeline-list li::before {
  content: '✨';
  position: absolute;
  left: 0;
  top: 0;
  font-size: var(--text-lg);
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {

  .timeline-line {
    left: 30px;
  }

  .feature-timeline-item.timeline-left .feature-timeline-card,
  .feature-timeline-item.timeline-right .feature-timeline-card {
    margin-left: 80px;
    margin-right: 0;
    max-width: 100%;
  }

  .feature-timeline-card {
    transform: none !important;
  }

  .feature-timeline-card:hover {
    transform: translateY(-8px) !important;
  }
}

/* Responsive Design - Mobile */
@media (max-width: 640px) {
  .features-timeline-section {
    padding: var(--space-4xl) 0;
  }

  .features-timeline-header {
    margin-bottom: var(--space-4xl);
    padding: 0 var(--space-lg);
  }

  .features-timeline-subtitle {
    font-size: var(--text-base);
  }

  .features-grid-container {
    padding: 0 var(--space-lg);
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }

  .feature-timeline-visual {
    height: auto;
    aspect-ratio: 9 / 16;
    max-height: none;
    min-height: 600px;
  }

  .feature-timeline-visual img {
    object-fit: contain;
    width: 100%;
    height: 100%;
  }

  .feature-timeline-title {
    font-size: var(--text-xl);
  }

  .feature-timeline-description {
    font-size: var(--text-xs);
  }

  .feature-timeline-list li {
    font-size: var(--text-xs);
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .feature-timeline-item {
    transition: opacity var(--transition-base);
    transform: none !important;
  }

  .feature-timeline-card {
    transition: box-shadow var(--transition-base);
  }

  .feature-timeline-card:hover {
    transform: none !important;
  }

  .feature-image-wrapper img {
    transition: none;
  }

  .feature-timeline-card:hover .feature-image-wrapper img {
    transform: none;
  }

  .timeline-line::before,
  .timeline-line::after {
    animation: none;
  }
}
  margin-bottom: var(--space-lg);
}

.feature-description {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
}

.feature-list {
  margin-bottom: var(--space-xl);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.feature-dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.feature-item p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.feature-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  transition: all var(--transition-base);
}

.feature-cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 160, 255, 0.3);
}

.feature-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-image-container {
  position: relative;
  max-width: 400px;
  width: 100%;
}

/* Legacy feature screenshot styles - consolidated below */

/* ===== GALLERY STYLES ===== */
.image-gallery {
  position: relative;
  width: 100%;
  border-radius: var(--border-radius-lg);
  cursor: grab;
  min-height: 400px; /* Prevent content jump */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-gallery:active {
  cursor: grabbing;
}

/* Feature screenshots - default styles for all */
.feature-screenshot {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: block;
  opacity: 1;
}

.feature-screenshot:hover {
  transform: translateY(-8px) scale(1.02);
}

/* Gallery-specific screenshot behavior - override defaults */
.image-gallery .feature-screenshot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: none;
  opacity: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-gallery .feature-screenshot.active {
  display: block;
  opacity: 1;
}

.image-gallery .feature-screenshot:first-child {
  display: block;
  opacity: 1;
}

.image-gallery .feature-screenshot:hover {
  transform: translate(-50%, -50%) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Fallback: Show first image if no active class (JavaScript disabled) */
.image-gallery .feature-screenshot:first-child:not(.active) {
  display: block;
  opacity: 1;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  padding: var(--space-sm);
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 2px solid transparent;
  position: relative;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.dot.active {
  background: var(--color-primary);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 10px rgba(196, 160, 255, 0.5);
}

.dot:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Fullscreen Gallery Overlay */
.fullscreen-gallery-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.fullscreen-gallery-container {
  position: relative;
  width: 90vw;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fullscreen-image-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fullscreen-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--border-radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.fullscreen-close,
.fullscreen-prev,
.fullscreen-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
  z-index: 1;
}

.fullscreen-close {
  top: 20px;
  right: 20px;
}

.fullscreen-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.fullscreen-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.fullscreen-close:hover,
.fullscreen-prev:hover,
.fullscreen-next:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.fullscreen-prev:hover {
  transform: translateY(-50%) scale(1.1);
}

.fullscreen-next:hover {
  transform: translateY(-50%) scale(1.1);
}

.fullscreen-close svg,
.fullscreen-prev svg,
.fullscreen-next svg {
  width: 24px;
  height: 24px;
}

.fullscreen-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--border-radius-full);
  font-size: var(--text-sm);
  backdrop-filter: blur(10px);
}

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

/* Screen reader only class */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

/* Feature Highlights */
.stickers-highlight,
.stage-highlight,
.support-highlight {
  background: var(--bg-glass);
  border: 1px solid var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-top: var(--space-lg);
}

.stickers-highlight h4,
.stage-highlight h4,
.support-highlight h4 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.stickers-highlight p,
.stage-highlight p,
.support-highlight p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.highlight {
  color: var(--color-primary);
  font-weight: 600;
}

/* Feature Download Buttons */
.feature-download-buttons {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

.feature-download-buttons .download-btn {
  flex: 1;
  min-width: 180px;
  max-width: 220px;
}

@media (max-width: 768px) {
  .feature-download-buttons {
    flex-direction: column;
    gap: var(--space-md);
  }

  .feature-download-buttons .download-btn {
    width: 100%;
    max-width: none;
  }
}

/* ===== RESPONSIVE DESIGN ENHANCEMENTS ===== */
@media (max-width: 768px) {
  .features-main-title {
    font-size: var(--text-4xl);
  }

  .features-intro-text {
    font-size: var(--text-lg);
  }

  .feature-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }

  .feature-content.reverse {
    direction: ltr;
  }

  .feature-title {
    font-size: var(--text-3xl);
  }

  .feature-subtitle {
    font-size: var(--text-xl);
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }

  .download-btn {
    width: 100%;
    max-width: 320px;
    padding: var(--space-lg) var(--space-xl);
  }

  .footer__content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer__legal {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: var(--text-4xl);
    line-height: 1.2;
  }

  .features__title {
    font-size: var(--text-4xl);
  }

  .download-section {
    padding: var(--space-4xl) var(--space-lg);
  }



  .download-section__description {
    font-size: var(--text-base);
    margin-bottom: var(--space-2xl);
  }

  .feature-card {
    padding: var(--space-lg);
  }

  .feature-card__icon {
    width: 50px;
    height: 50px;
    font-size: var(--text-xl);
  }

  .nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .nav,
  .footer,
  .btn,
  .floating-element {
    display: none !important;
  }

  .hero {
    min-height: auto;
    page-break-after: always;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .hero__title,
  .features__title,
  .download-section__title {
    color: black !important;
    background: none !important;
    -webkit-text-fill-color: black !important;
  }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
.hero,
.features,
.download-section,
.footer {
  contain: layout style paint;
}

.nova-character,
.feature-card,
.btn {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* ===== BACKGROUND EFFECTS ===== */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 50%, transparent 20%, rgba(255, 255, 255, 0.01) 21%, rgba(255, 255, 255, 0.01) 34%, transparent 35%, transparent),
    linear-gradient(0deg, transparent 24%, rgba(255, 255, 255, 0.01) 25%, rgba(255, 255, 255, 0.01) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, 0.01) 75%, rgba(255, 255, 255, 0.01) 76%, transparent 77%, transparent);
  background-size: 50px 50px;
  opacity: 0.3;
  z-index: 1;
  pointer-events: none;
  animation: noiseMove 20s linear infinite;
}

@keyframes noiseMove {
  0% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -5%); }
  20% { transform: translate(-10%, 5%); }
  30% { transform: translate(5%, -10%); }
  40% { transform: translate(-5%, 15%); }
  50% { transform: translate(-10%, 5%); }
  60% { transform: translate(15%, 0%); }
  70% { transform: translate(0%, 10%); }
  80% { transform: translate(-15%, 0%); }
  90% { transform: translate(10%, 5%); }
  100% { transform: translate(5%, 0%); }
}

.vignette {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 60%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}

/* ===== ENHANCED 3D VISUAL EFFECTS ===== */
.feature-card,
.download-btn,
.screenshot-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.feature-card:hover {
  transform: translateY(-12px) rotateX(5deg) rotateY(2deg);
}

.download-btn:hover {
  transform: translateY(-4px) scale(1.02) rotateX(2deg);
}

.screenshot-card:hover {
  transform: translateY(-8px) scale(1.02) rotateX(3deg);
}

/* Enhanced glow effects */
.nova-character,
.resonance-mascot {
  position: relative;
}

.nova-character::after,
.resonance-mascot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(196, 160, 255, 0.3) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-slow);
  border-radius: 50%;
  filter: blur(20px);
}

.nova-character:hover::after,
.resonance-mascot:hover::after {
  opacity: 1;
}

/* Particle effects */
.sparkle-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #c4a0ff;
  border-radius: 50%;
  pointer-events: none;
  animation: sparkleParticle 3s ease-in-out infinite;
}

@keyframes sparkleParticle {
  0%, 100% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1) rotate(180deg);
  }
}

/* Enhanced button effects */
.btn,
.download-btn {
  position: relative;
  overflow: hidden;
}

.btn::after,
.download-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: all var(--transition-base);
  border-radius: 50%;
}

.btn:active::after,
.download-btn:active::after {
  width: 300px;
  height: 300px;
}

/* ===== SCROLL PROGRESS INDICATOR ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: var(--z-fixed);
}

.scroll-progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  width: 0%;
  transition: width 0.1s ease;
  box-shadow: 0 0 10px rgba(196, 160, 255, 0.5);
}

/* ===== FIX BLANK SECTION ISSUE ===== */
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

main {
  position: relative;
  z-index: 2;
}

.footer {
  margin-top: 0;
  position: relative;
  z-index: 2;
}

/* Remove any extra spacing that might cause blank sections */
section:last-child {
  margin-bottom: 0;
  padding-bottom: var(--space-4xl);
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: light) {
  :root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #e2e8f0;
    --text-primary: #1a202c;
    --text-secondary: rgba(26, 32, 44, 0.8);
    --text-tertiary: rgba(26, 32, 44, 0.6);
    --bg-surface: rgba(0, 0, 0, 0.05);
    --bg-glass: rgba(0, 0, 0, 0.08);
  }

  .noise-overlay {
    opacity: 0.1;
  }

  .vignette {
    opacity: 0.2;
  }
}

/* ===== ENHANCED RESPONSIVE DESIGN SYSTEM ===== */

/* Extra small devices (320px and up) */
@media (min-width: 320px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero__title {
    font-size: clamp(var(--text-4xl), 8vw, var(--text-7xl));
  }

  .features__title {
    font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl));
  }
}

/* Small devices (576px and up) */
@media (min-width: 576px) {
  .container {
    padding: 0 var(--space-lg);
  }

  .hero__actions {
    flex-direction: row;
    justify-content: center;
  }

  .btn {
    width: auto;
    min-width: 160px;
  }

  .social-links {
    flex-direction: row;
  }

  .social-link {
    width: auto;
  }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
  .nav__menu {
    position: static;
    transform: none;
    flex-direction: row;
    background: none;
    backdrop-filter: none;
    padding: 0;
  }

  .nav__toggle {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }

  .hero__content {
    align-items: flex-start;
  }

  .hero__actions {
    justify-content: flex-start;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-buttons {
    flex-direction: row;
  }

  .footer__content {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    text-align: left;
  }

  .footer__bottom {
    flex-direction: row;
    text-align: left;
  }
}

/* Tablet devices (768px and up) */
@media (min-width: 768px) {
  .features-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4xl);
  }

  .feature-timeline-visual {
    height: 170px;
  }

  .feature-timeline-title {
    font-size: var(--text-2xl);
  }

  .feature-timeline-description {
    font-size: var(--text-sm);
  }
}

/* Large devices (1024px and up) */
@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-xl);
  }

  .hero {
    gap: var(--space-5xl);
  }

  .features-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5xl);
    max-width: 1400px;
  }

  .feature-timeline-visual {
    height: 170px;
  }

  .feature-timeline-title {
    font-size: var(--text-2xl);
  }

  .feature-timeline-description {
    font-size: var(--text-sm);
  }

  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-card {
    padding: var(--space-2xl);
  }

  .hero__title {
    font-size: var(--text-7xl);
  }

  .features__title {
    font-size: var(--text-5xl);
  }
}

/* Extra large devices (1280px and up) */
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }

  .hero {
    padding: var(--space-5xl) 0;
  }

  .features {
    padding: var(--space-5xl) 0;
  }

  .download-section {
    padding: var(--space-5xl) 0;
  }
}

/* ===== MOBILE GALLERY OPTIMIZATIONS ===== */
@media (max-width: 768px) {
  .image-gallery {
    min-height: 250px; /* Smaller height on mobile */
  }

  .gallery-dots {
    margin-top: var(--space-md);
    gap: var(--space-xs);
  }

  .dot {
    width: 12px;
    height: 12px;
  }

  .fullscreen-gallery-container {
    width: 95vw;
    height: 95vh;
  }

  .fullscreen-close,
  .fullscreen-prev,
  .fullscreen-next {
    width: 44px;
    height: 44px;
  }

  .fullscreen-close {
    top: 10px;
    right: 10px;
  }

  .fullscreen-prev {
    left: 10px;
  }

  .fullscreen-next {
    right: 10px;
  }

  .fullscreen-counter {
    bottom: 10px;
    font-size: var(--text-xs);
    padding: var(--space-xs) var(--space-sm);
  }
}

@media (max-width: 480px) {
  .image-gallery {
    min-height: 200px; /* Even smaller on very small screens */
  }
}

  /* Mobile Scroll Progress Indicator Fix */
  .scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: calc(var(--z-fixed) + 1);
    backdrop-filter: blur(10px);
  }

  .scroll-progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(196, 160, 255, 0.5);
  }

  /* Footer Download Buttons Mobile Fix */
  .footer__section .download-btn {
    width: 100%;
    max-width: 280px;
    margin-bottom: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    font-size: var(--text-sm);
    justify-content: center;
    align-items: center;
  }

  .footer__section .download-btn .download-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .footer__section .download-btn .download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: var(--space-sm);
  }

  .footer__section .download-btn .download-platform {
    font-size: var(--text-base);
    font-weight: 600;
    line-height: 1.2;
  }

  .footer__section .download-btn .download-subtitle {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    line-height: 1.2;
  }

  .footer__section .footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
  }
}

/* ===== TOUCH INTERACTIONS & MOBILE OPTIMIZATIONS ===== */
@media (hover: none) and (pointer: coarse) {
  /* Touch device optimizations */
  .btn,
  .download-btn,
  .social-link,
  .nav__link {
    min-height: 44px;
    min-width: 44px;
    padding: var(--space-md) var(--space-lg);
  }

  .feature-card:hover {
    transform: none;
  }

  .btn:hover,
  .download-btn:hover,
  .social-link:hover {
    transform: none;
  }

  /* Add touch feedback */
  .btn:active,
  .download-btn:active,
  .social-link:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }

  .feature-card:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }

  /* Disable magnetic effects on touch devices */
  .btn,
  .download-btn,
  .social-link {
    transform: none !important;
  }

  /* Touch-friendly gallery interactions */
  .image-gallery {
    cursor: default;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }

  .feature-screenshot {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .dot {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
  }

  .dot::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: currentColor;
  }

  /* Optimize scroll performance on mobile */
  .hero,
  .features-grid-section,
  .resonance-section {
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
    will-change: transform;
  }

  /* Reduce motion for better performance */
  * {
    animation-duration: 0.3s !important;
    transition-duration: 0.3s !important;
  }

  /* Optimize images for mobile */
  img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
.scrolling * {
  animation-duration: 0.1s !important;
  transition-duration: 0.1s !important;
}

/* Optimize for 60fps animations */
@media (prefers-reduced-motion: no-preference) {
  .hero,
  .feature-section,
  .nova-character,
  .download-btn {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
  }
}

/* Reduce animations for low-end devices */
@media (max-width: 480px) and (max-height: 800px) {
  .sparkle,
  .floating-blob,
  .tech-circle {
    animation-duration: 0.5s !important;
  }

  .hero-content,
  .nova-section {
    animation: none !important;
  }
}

/* Optimize gallery performance */
.image-gallery {
  contain: layout style paint;
  transform: translateZ(0);
}

.feature-screenshot {
  will-change: opacity, transform;
  backface-visibility: hidden;
}

/* ===== LANDSCAPE MOBILE OPTIMIZATIONS ===== */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: var(--space-2xl) 0;
  }

  .hero__title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-sm);
  }

  .hero__description {
    font-size: var(--text-base);
    margin-bottom: var(--space-lg);
  }

  .nav {
    height: 60px;
  }

  .features {
    padding: var(--space-3xl) 0;
  }
}

/* ===== HIGH DPI DISPLAYS ===== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .nova-character,
  .floating-element,
  .footer__ms-logo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* ===== REDUCED DATA MODE ===== */
@media (prefers-reduced-data: reduce) {
  .floating-element,
  #bg-canvas {
    display: none;
  }

  .hero::before,
  .download-section::before {
    display: none;
  }

  .feature-card::before {
    display: none;
  }
}

/* ===== CONTAINER QUERIES (Future-proofing) ===== */
@supports (container-type: inline-size) {
  .features {
    container-type: inline-size;
  }

  @container (max-width: 600px) {
    .features__grid {
      grid-template-columns: 1fr;
    }
  }

  @container (min-width: 900px) {
    .features__grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
}

/* ===== FOCUS MANAGEMENT FOR MOBILE ===== */
@media (max-width: 768px) {
  .nav__menu--active .nav__link:first-child {
    /* Auto-focus first menu item when mobile menu opens */
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }

  /* Improve touch target sizes */
  .nav__link {
    padding: var(--space-lg);
    display: block;
    text-align: center;
  }

  .footer__links a {
    padding: var(--space-sm) 0;
    display: block;
  }
}

/* ===== SAFE AREA INSETS (iPhone X+) ===== */
@supports (padding: max(0px)) {
  .site-header {
    padding-left: max(var(--space-md), env(safe-area-inset-left));
    padding-right: max(var(--space-md), env(safe-area-inset-right));
  }

  .container {
    padding-left: max(var(--space-md), env(safe-area-inset-left));
    padding-right: max(var(--space-md), env(safe-area-inset-right));
  }

  .footer {
    padding-bottom: max(var(--space-xl), env(safe-area-inset-bottom));
  }
}

/* ===== SCROLL BEHAVIOR OPTIMIZATIONS ===== */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .hero,
  .features,
  .download-section {
    scroll-margin-top: 100px;
  }
}

/* ===== LOADING STATES FOR SLOW CONNECTIONS ===== */
.nova-character[loading="eager"] {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

.nova-character[loading="eager"]:not([src]) {
  min-height: 300px;
  display: block;
}

/* ===== PRINT OPTIMIZATIONS ===== */
@media print {
  .hero {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .hero__visual {
    order: -1;
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .feature-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .download-section {
    display: block;
  }
}


/* ===== V2 THEME LAYER (scoped via body.theme-v2) ===== */
body.theme-v2 {
  /* refreshed palette within dark neon vibe */
  --color-primary: #7c6cff;
  --color-primary-dark: #5e4bff;
  --color-primary-light: #a69bff;
  --color-secondary: #00e0d6;
  --color-secondary-dark: #00b8ae;
  --color-secondary-light: #79efe8;
  --color-accent: #ff6bb0;
  --color-accent-dark: #ff3795;
  --color-accent-light: #ff92c7;

  --bg-primary: #0b0b1a;
  --bg-secondary: #13132a;
  --bg-tertiary: #1c1c3f;

  --text-primary: #f8f7ff;
  --text-secondary: rgba(248, 247, 255, 0.8);
  --text-tertiary: rgba(248, 247, 255, 0.6);

  --gradient-text: linear-gradient(135deg, #c9b6ff, #e6d9ff);
}

/* ===== V2 NAVIGATION ===== */
.header-v2 {
  background: rgba(11, 11, 26, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-v2 { gap: var(--space-xl); }

.nav__brand .brand {
  display: inline-flex; align-items: center; gap: var(--space-sm);
}
.brand__logo { font-size: 1.25rem; color: var(--color-primary); }
.brand__name {
  font-weight: 900; letter-spacing: -0.02em;
  background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}


/* Augment: Support image logo in header brand */
.brand__logo{display:inline-flex;width:28px;height:28px}
.brand__logo img{display:block;width:100%;height:auto}

.nav__menu--v2 { gap: var(--space-lg); }

.nav__actions { display: flex; align-items: center; gap: var(--space-md); }

.btn-ghost {
  background: transparent; color: var(--text-secondary); border: 1px solid rgba(255,255,255,.12);
}
.btn-ghost:hover { color: var(--text-primary); border-color: rgba(255,255,255,.2); }

/* mobile tweaks */
@media (max-width: 768px) {
  .nav__menu--v2 { gap: var(--space-md); }
  .nav__actions .cta-download { display: none; }
}

/* ===== V2 HERO ===== */
.hero-v2 {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-4xl);
  padding: var(--space-5xl) var(--space-xl) var(--space-4xl);
}
.hero-v2__title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1.05; font-weight: 900; letter-spacing: -0.03em;
  text-shadow: 0 0 30px rgba(124, 108, 255, 0.4);
}
.hero-v2__subtitle { font-size: var(--text-xl); max-width: 56ch; }
.hero-v2__ctas { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-top: var(--space-xl); }
.hero-v2__meta { margin-top: var(--space-xl); }

.hero-v2__visual { position: relative; display: grid; gap: var(--space-xl); align-content: start; }
.hero-v2__device-card { padding: var(--space-xl); display: flex; justify-content: center; }
.hero-v2__nova { max-width: 100%; height: auto; filter: drop-shadow(0 0 30px rgba(124,108,255,.45)); }
.hero-v2__floating { padding: var(--space-lg); display: grid; gap: var(--space-md); max-width: 380px; }
.hero-v2__stat { display: flex; justify-content: space-between; align-items: center; }
.stat__label { color: var(--text-tertiary); font-size: var(--text-sm); }
.stat__value { font-weight: 800; color: var(--color-secondary); }

/* Microsoft banner in hero */
.ms-banner-v2 { display: inline-flex; align-items: center; justify-content: center; padding: var(--space-sm) var(--space-lg); border-radius: var(--radius-full); }

/* cards */
.card { border-radius: var(--radius-2xl); border: 1px solid var(--bg-surface); background: var(--bg-glass); backdrop-filter: blur(18px); box-shadow: var(--shadow-glow); }
.card--glass { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); }
.card--glow { box-shadow: 0 10px 40px rgba(124,108,255,.25); }

@media (max-width: 1024px) {
  .hero-v2 { grid-template-columns: 1fr; text-align: center; }
  .hero-v2__ctas { justify-content: center; }
  .hero-v2__visual { justify-items: center; }
}


/* ===== V2 FORMS & WAITLIST ===== */
.waitlist-container { max-width: 720px; margin: var(--space-5xl) auto; padding: var(--space-2xl); }
.waitlist-title { text-align: center; margin-bottom: var(--space-lg); }
.waitlist-description { text-align: center; margin-bottom: var(--space-xl); }
.waitlist-form { display: grid; gap: var(--space-lg); }
.form-group { display: grid; gap: var(--space-sm); }
.form-group label { font-weight: 600; color: var(--text-secondary); }
.form-group input {
  padding: 0.9rem 1rem; border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06);
  color: var(--text-primary); font-size: var(--text-base);
}
.form-group input:focus { outline: 2px solid var(--color-primary); outline-offset: 2px; border-color: transparent; }
.success-message, .error-message { margin-top: var(--space-md); display: none; }


/* ===== V2 SECTIONS & GRID ===== */
.section-v2 { display: none; padding: var(--space-5xl) 0; background: var(--bg-primary); }
.section-v2__intro { text-align: center; margin-bottom: var(--space-3xl); }
.section-v2__intro h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.section-v2__intro p { max-width: 60ch; margin: 0 auto; }
.grid-v2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.feature-v2 { padding: var(--space-xl); }
.feature-v2 h3 { margin-bottom: var(--space-sm); }
@media (max-width: 1024px) { .grid-v2 { grid-template-columns: 1fr; } }


/* ===== V2 CARD ILLUSTRATIONS & ICONS ===== */
.feature-illustration { margin-bottom: var(--space-md); border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--bg-surface); }
.feature-illustration img { width: 100%; height: auto; display: block; }
.icon { width: 20px; height: 20px; display: inline-block; }

/* ===== V2 DOWNLOAD ===== */
.download-v2 .store-badges { display: flex; gap: var(--space-md); justify-content: center; flex-wrap: wrap; }

/* ===== V2 FOOTER ===== */
.footer-v2 { background: var(--bg-secondary); border-top: 1px solid var(--bg-surface); padding: var(--space-4xl) 0 var(--space-xl); }
.footer-v2__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-2xl); }
.footer-v2__logo { font-weight: 900; font-size: var(--text-3xl); background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: var(--space-sm); }
.footer-v2__tagline { color: var(--text-secondary); }
.footer-v2__nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-sm); }
.footer-v2__bottom { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); margin-top: var(--space-2xl); padding-top: var(--space-xl); border-top: 1px solid var(--bg-surface); flex-wrap: wrap; }
.footer-v2__legal { display: flex; gap: var(--space-lg); }
@media (max-width: 1024px) { .footer-v2__grid { grid-template-columns: 1fr; } .footer-v2__bottom { justify-content: center; } }

/* ===== V2 LEGACY SUPPRESSION ===== */
body.theme-v2 .resonance-section,
body.theme-v2 .features-intro-section,
body.theme-v2 .features-grid-section,
body.theme-v2 .feature-section { display: none !important; }


/* ===== V2 MICRO-INTERACTIONS (60fps-friendly, motion-safe) ===== */
.card--hover { will-change: transform; transition: transform 260ms cubic-bezier(.2,.7,.2,1), box-shadow 260ms ease; }
.card--hover:hover { transform: translateY(-6px); box-shadow: 0 14px 48px rgba(124,108,255,.28); }
.card--hover:active { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  .card--hover { transition: none; }
  .card--hover:hover, .card--hover:active { transform: none; box-shadow: none; }
}
@media (hover: none) {
  .card--hover:hover, .card--hover:active { transform: none; box-shadow: none; }
}

/* Feature icons with neon line style */
.feature-icon { width: 48px; height: 48px; display: inline-grid; place-items: center; border-radius: var(--radius-full);
  background: radial-gradient(120px 120px at 50% 40%, rgba(124,108,255,.22), rgba(124,108,255,0));
  color: var(--color-secondary); filter: drop-shadow(0 2px 10px rgba(124,108,255,.25)); margin-bottom: var(--space-sm);
}
.feature-icon svg { width: 28px; height: 28px; }

/* Subtle in-view animation hook using existing animate-on-scroll system */
.feature-v2 { opacity: 0; transform: translateY(8px); transition: opacity 300ms ease, transform 300ms ease; }
.animate-on-scroll.animate-in .feature-v2, .feature-v2.animate-in, .feature-v2.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .feature-v2 { opacity: 1; transform: none; transition: none; }
}


/* ===== V2 HERO SEASON CARDS ===== */
.season-cards { display: grid; gap: var(--space-md); }
.season-card { display: grid; gap: 4px; padding: var(--space-md); border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 10px 40px rgba(124,108,255,.18);
}
.season-card__label { color: var(--text-tertiary); font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; }
.season-card__value { color: var(--text-primary); font-size: var(--text-lg); font-weight: 700; }
.season-card__dates { color: var(--text-secondary); font-size: var(--text-sm); }
.season-card--upcoming { border-image: linear-gradient(90deg, rgba(124,108,255,.6), rgba(92,225,230,.6)) 1; border-width: 1px; }

/* ===== V2 HERO DECOR BUBBLES ===== */
.hero-bubble { position: absolute; border-radius: 999px; pointer-events: none; opacity: .9;
  background: radial-gradient(120px 120px at 40% 35%, rgba(124,108,255,.28), rgba(124,108,255,.06));
  box-shadow: 0 20px 60px rgba(124,108,255,.35), inset 0 1px 10px rgba(255,255,255,.25);
  filter: saturate(120%);
}
.hero-bubble--1 { width: 140px; height: 140px; top: 8%; right: -20px; animation: floatY 6s ease-in-out infinite, pulseGlow 5s ease-in-out infinite; }
.hero-bubble--2 { width: 90px; height: 90px; bottom: 6%; right: 12%; animation: floatY 7.5s ease-in-out infinite reverse, pulseGlow 6.5s ease-in-out infinite; }
@keyframes floatY { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }
@keyframes pulseGlow { 0%,100% { box-shadow: 0 20px 60px rgba(124,108,255,.30), inset 0 1px 10px rgba(255,255,255,.22) }
  50% { box-shadow: 0 28px 80px rgba(124,108,255,.42), inset 0 1px 12px rgba(255,255,255,.30) } }
@media (prefers-reduced-motion: reduce) {
  .hero-bubble { animation: none; }
}

/* ===== DOWNLOAD BUTTONS STANDARDIZATION ===== */
.hero-v2__ctas .download-buttons { margin-bottom: var(--space-sm); }
.footer-v2 .download-buttons { justify-content: center; }

/* ===== MOBILE CENTERING FIXES ===== */
@media (max-width: 768px) {
  .download-buttons { justify-content: center; align-items: stretch; margin-left: auto; margin-right: auto; width: 100%; max-width: 520px; }
  .footer-v2__grid > * { text-align: center; }
  .footer-v2__nav ul { justify-items: center; }
  .footer-v2__legal { justify-content: center; }
}

/* ===== MOBILE HEADER / MENU ENHANCEMENTS ===== */
@media (max-width: 768px) {
  .nav__toggle { width: 44px; height: 44px; }
  .nav__menu a.nav__link { display: block; padding: 14px 16px; min-height: 44px; font-size: 1.05rem; border-radius: var(--radius-lg); }
  .nav__menu a.nav__link:active { background: rgba(255,255,255,0.06); }
}


/* ===== HERO BUBBLES: more variants ===== */
.hero-bubble{will-change: transform}
.hero-bubble--3{width:70px;height:70px;top:18%;left:6%;animation:floatY 8s ease-in-out infinite,pulseGlow 7s ease-in-out infinite}
.hero-bubble--4{width:110px;height:110px;bottom:10%;left:14%;animation:floatY 9s ease-in-out infinite reverse,pulseGlow 6s ease-in-out infinite}
.hero-bubble--5{width:55px;height:55px;top:28%;right:22%;animation:floatY 7s ease-in-out infinite,pulseGlow 7.5s ease-in-out infinite}

/* ===== MICROSOFT BANNER POLISH ===== */
.microsoft-partnership.ms-banner-v2{padding:8px 14px;border-radius:999px;background:rgba(37,14,98,0.85);
  border:1px solid rgba(157,78,221,0.35);box-shadow:0 8px 32px rgba(124,108,255,.25), inset 0 1px 8px rgba(255,255,255,.06)}
.ms-startups-logo{height:24px;filter:drop-shadow(0 2px 10px rgba(124,108,255,.25))}

/* ===== HERO CTAS POLISH ===== */
.hero-v2__ctas .download-btn{padding:14px 18px;border-radius:var(--radius-full);font-weight:700;letter-spacing:.01em}
.hero-v2__ctas .download-btn.ios-btn{border:1px solid rgba(255,255,255,.18)}
.hero-v2__ctas .download-btn.android-btn{border:1px solid rgba(92,225,230,.22)}
.hero-v2__ctas .btn.btn-secondary{padding:14px 18px;border-radius:9999px;font-weight:700;letter-spacing:.01em;background:var(--bg-glass);border:1px solid rgba(255,255,255,0.1);backdrop-filter:blur(20px);transition:all var(--transition-base);box-shadow:0 10px 30px rgba(124,108,255,.22)}
.hero-v2__ctas .btn.btn-secondary:hover{transform:translateY(-4px);box-shadow:0 14px 40px rgba(124,108,255,.28);background:var(--bg-glass-strong);border-color:rgba(255,255,255,0.2)}

/* ===== NAV "GET THE APP" BUTTON POLISH ===== */
.nav__actions .cta-download{border-radius:999px;padding:10px 16px;border:1px solid rgba(255,255,255,.14);
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  box-shadow:0 8px 28px rgba(124,108,255,.25)}
.nav__actions .cta-download:hover{transform:translateY(-2px);background:rgba(255,255,255,.12)}

/* ===== SEASON CARD OUTLINE FIX + ACCENT ===== */
.season-card{will-change: transform}
.season-card--upcoming{border-image:initial;border-color:rgba(255,255,255,.14)}
.season-card--upcoming .season-card__value{background:linear-gradient(90deg,#9D7BFF,#5CE1E6);-webkit-background-clip:text;background-clip:text;color:transparent}


/* ===== Augment: Hero v2 polish (MS banner, CTAs, mobile header) ===== */

/* Hero CTAs: glass morphism styling matching download section */
.hero-v2__ctas .download-buttons{display:flex;gap:var(--space-sm)}
.hero-v2__ctas .download-btn{display:inline-flex;align-items:center;gap:8px;padding:14px 18px;border-radius:9999px;font-weight:700;letter-spacing:.01em;background:var(--bg-glass);border:1px solid rgba(255,255,255,0.1);backdrop-filter:blur(20px);transition:all var(--transition-base);box-shadow:0 10px 30px rgba(124,108,255,.22)}
.hero-v2__ctas .download-btn:hover{transform:translateY(-4px);box-shadow:0 14px 40px rgba(124,108,255,.28);background:var(--bg-glass-strong);border-color:rgba(255,255,255,0.2)}
.hero-v2__ctas .download-btn:focus-visible{outline:3px solid rgba(92,225,230,.6);outline-offset:2px}
.hero-v2__ctas .download-btn.ios-btn{border:1px solid rgba(255,255,255,.18)}
.hero-v2__ctas .download-btn.android-btn{border:1px solid rgba(92,225,230,.22)}

/* Wicked movie emerald treatment for the upcoming season label */
.wicked-emerald{background:linear-gradient(90deg,#01F38D 0%,#00B56A 55%,#0C1C0B 100%);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 0 12px rgba(0,255,135,.25)}

/* Mobile header/menu comfort tweaks */
@media (max-width:768px){
  .site-header.header-v2{backdrop-filter:blur(24px)}
  .nav__menu{max-height:calc(100vh - 80px);overflow-y:auto;padding-bottom:calc(env(safe-area-inset-bottom, 0px) + var(--space-xl));border:1px solid rgba(255,255,255,.12);border-top:none;border-radius:0 0 var(--radius-xl) var(--radius-xl)}
  .nav__menu--v2{gap:var(--space-sm)}
  .nav__menu .nav__link{border-radius:12px}
}

/* ===== Augment Hotfix: Microsoft banner containment and layering ===== */
/* Keep hero content and CTAs above any banner overlays */
.hero-v2__ctas{position:relative;z-index:4}



/* ===== Hero v2 layout refinements (non-destructive) ===== */
@media (min-width:1025px){
  .hero-v2{grid-template-columns:1.2fr 0.8fr;gap:var(--space-3xl);padding:var(--space-5xl) var(--space-xl) var(--space-3xl)}
  .hero-v2__visual{align-self:center}
}
@media (max-width:1024px){
  .hero-v2{padding:var(--space-3xl) var(--space-md) var(--space-xl)}
  .hero-v2__meta{margin-top:var(--space-lg)}
}


/* ===== Hero v2 layout v2.1 — spacing, rhythm, mobile refinement ===== */
.hero-v2__content{display:grid;gap:clamp(12px,1.6vw,20px);align-content:start}
.hero-v2__title{max-width:18ch;line-height:1.02;letter-spacing:-.02em}
.hero-v2__subtitle{max-width:60ch}
.hero-v2__visual{gap:var(--space-lg)}
.hero-v2__device-card{padding:clamp(16px,2vw,28px)}
/* Center the hero MS banner under the copy, without changing component styles */
.hero-v2__meta{display:flex;justify-content:center}

/* Mobile: center composition and float decor around Nova */
@media(max-width:768px){
  .hero-v2{gap:var(--space-xl)}
  .hero-v2__visual{justify-items:center}
  .hero-bubble--1{top:auto;bottom:22%;right:8%;width:72px;height:72px}
  .hero-bubble--2{bottom:14%;right:22%;width:52px;height:52px}
  .hero-bubble--3{top:auto;bottom:24%;left:14%;width:52px;height:52px}
  .hero-bubble--4{bottom:10%;left:8%;width:80px;height:80px}
  .hero-bubble--5{top:auto;bottom:28%;right:14%;width:38px;height:38px}
  .hero-v2__meta{margin-top:var(--space-md)}
}

/* Augment: Mobile fixes — header overlap + button centering */
@media(max-width:768px){
  /* Ensure hero title is not obscured by fixed header */
  .hero-v2{padding-top:calc(80px + var(--space-lg))}
  /* Center hero CTA buttons and stack on small screens */
  .hero-v2__ctas .download-buttons{justify-content:center;margin-left:auto;margin-right:auto;width:100%;max-width:520px;flex-direction:column}
  /* Footer store buttons centering */
  .footer-v2 .download-buttons{flex-direction:column;gap:var(--space-md);width:100%;max-width:320px;margin:0 auto}
  .footer-v2 .download-btn{width:100%;justify-content:center}
  /* Download section buttons centering */
  .download-section .download-buttons{justify-content:center;margin-left:auto;margin-right:auto;width:100%;max-width:520px;flex-direction:column;gap:var(--space-md)}
  .download-section .download-btn{width:100%;justify-content:center}
}

/* Augment: Stronger centering constraints for hero/download buttons on mobile */
@media(max-width:768px){
  /* Center the CTAs wrapper block itself */
  .hero-v2__ctas{align-items:center}
  /* Force the row of store buttons to be a centered block */
  .hero-v2__ctas .download-buttons{max-width:340px;margin-inline:auto;align-items:stretch}
  .hero-v2__ctas .download-btn{width:100%;margin:0 auto;justify-content:center}

  /* Download section centering */
  .download-section__content{display:flex;flex-direction:column;align-items:center;width:100%}
  .download-section .download-buttons{max-width:100%;margin-inline:auto;align-items:stretch;gap:var(--space-md)}
  .download-section .download-btn{width:100%;margin:0 auto;justify-content:center;padding:var(--space-lg) var(--space-xl)}
}



/* ===== Hero: desktop overlay for MS banner (top-right), keep component styling intact ===== */
@media (min-width:1024px){
  .hero-v2{position:relative}
  /* Position banner beneath the fixed header; anchor to the hero's right padding edge */
  .hero-v2__meta{
    position:absolute; top:calc(80px + var(--space-sm)); right:var(--space-xl); left:auto;
    margin:0; padding:0; display:block; z-index:5; pointer-events:auto;
  }
}
