/* 
  ---------------------------------------------------------
  CORE VARIABLES & RESET
  ---------------------------------------------------------
*/
:root {
  /* Colors - Neo-Glass Dark Blue Spectrum */
  --bg-dark: #020617;
  --bg-card: rgba(15, 23, 42, 0.6);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.08);

  --primary: #3b82f6;
  /* Blue */
  --primary-glow: rgba(59, 130, 246, 0.5);
  --primary-dark: #1d4ed8;

  --accent: #eab308;
  /* Gold - Vinhomes Luxury */
  --accent-glow: rgba(234, 179, 8, 0.4);

  --success: #10b981;
  /* Green - iMessage/Grand Park */
  --success-glow: rgba(16, 185, 129, 0.4);

  --danger: #ef4444;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.2);
  --border-glow: rgba(59, 130, 246, 0.3);

  /* Spacing & Typography (Fluid) - Mobile First */
  --container-width: 1200px;
  --header-height: clamp(60px, 15vw, 80px);
  --section-spacing: clamp(48px, 10vw, 120px);

  /* Fluid Typography with better mobile scaling */
  --fs-h1: clamp(2rem, 5vw + 1rem, 4.5rem);
  --fs-h2: clamp(1.5rem, 4vw + 0.5rem, 3rem);
  --fs-h3: clamp(1.125rem, 3vw + 0.5rem, 2rem);
  --fs-body: clamp(0.9375rem, 1vw + 0.5rem, 1.125rem);
  --fs-small: clamp(0.8125rem, 0.5vw + 0.5rem, 0.9375rem);

  /* Fluid Spacing */
  --space-xs: clamp(0.5rem, 2vw, 0.75rem);
  --space-sm: clamp(0.75rem, 3vw, 1rem);
  --space-md: clamp(1rem, 4vw, 1.5rem);
  --space-lg: clamp(1.5rem, 5vw, 2rem);
  --space-xl: clamp(2rem, 6vw, 3rem);

  /* Touch targets (min 44x44px) */
  --touch-target: 44px;
  --touch-spacing: 8px;

  /* Safe area insets for notched devices */
  --safe-area-top: env(safe-area-inset-top);
  --safe-area-bottom: env(safe-area-inset-bottom);
  --safe-area-left: env(safe-area-inset-left);
  --safe-area-right: env(safe-area-inset-right);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  line-height: 1.1;
  text-wrap: balance;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* 
  ---------------------------------------------------------
  ACCESSIBILITY - PREFERS REDUCED MOTION
  ---------------------------------------------------------
 */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .orb {
    animation: none !important;
    opacity: 0.2;
  }

  .particle,
  .grid-beam {
    display: none;
  }
}

/* 
  ---------------------------------------------------------
  UTILITIES & ANIMATIONS
  ---------------------------------------------------------
*/
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 2rem);
  position: relative;
  z-index: 2;
}

/* Text Gradients */
.text-gradient {
  background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fde047 0%, #ca8a04 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(234, 179, 8, 0.3);
}

.text-gradient-blue {
  background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.text-gradient-danger {
  background: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glass Card Premium */
.glass-card {
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Spotlight / Glow Effect Utility */
.spotlight-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  z-index: 2;
}

.spotlight-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  padding: 1px;
  background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.3), transparent 40%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  z-index: 3;
}

.spotlight-card:hover::before,
.spotlight-card:hover::after {
  opacity: 1;
}



@media (hover: hover) {
  .spotlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    border-color: var(--border-hover);
  }
}

/* Animations */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes float-delayed {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(59, 130, 246, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

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

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-delay {
  animation: float-delayed 8s ease-in-out infinite 1s;
}

/* 
  ---------------------------------------------------------
  BACKGROUND FX
  ---------------------------------------------------------
*/
.bg-fx {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: #0a0f1e;
}

/* Noise Texture */
.bg-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

/* Aurora Orbs - Enhanced */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.7;
  z-index: -1;
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.orb-1 {
  top: -15%;
  left: -15%;
  width: clamp(250px, 45vw, 900px);
  height: clamp(250px, 45vw, 900px);
  background: radial-gradient(circle, rgba(59, 130, 246, 0.6) 0%, rgba(37, 99, 235, 0.3) 40%, transparent 70%);
  transform: translateY(0);
  animation: float 15s infinite ease-in-out, pulse-scale 8s infinite ease-in-out;
  animation-fill-mode: both;
}

.orb-2 {
  bottom: -25%;
  right: -15%;
  width: clamp(200px, 35vw, 700px);
  height: clamp(200px, 35vw, 700px);
  background: radial-gradient(circle, rgba(234, 179, 8, 0.5) 0%, rgba(202, 138, 4, 0.25) 40%, transparent 70%);
  transform: translateY(0);
  animation: float 18s infinite ease-in-out reverse, pulse-scale 10s infinite ease-in-out 2s;
  animation-fill-mode: both;
}

.orb-3 {
  top: 35%;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: clamp(180px, 30vw, 600px);
  height: clamp(180px, 30vw, 600px);
  background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, rgba(5, 150, 105, 0.2) 40%, transparent 70%);
  animation: float 20s infinite ease-in-out 2s, pulse-scale 12s infinite ease-in-out 4s;
  animation-fill-mode: both;
}

.orb-4 {
  top: 20%;
  right: 10%;
  width: clamp(150px, 25vw, 550px);
  height: clamp(150px, 25vw, 550px);
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(147, 51, 234, 0.12) 40%, transparent 70%);
  transform: translateY(0);
  animation: float 22s infinite ease-in-out 1s, pulse-scale 9s infinite ease-in-out 3s;
  animation-fill-mode: both;
}

.orb-5 {
  bottom: 10%;
  left: 20%;
  width: clamp(180px, 30vw, 650px);
  height: clamp(180px, 30vw, 650px);
  background: radial-gradient(circle, rgba(34, 211, 238, 0.35) 0%, rgba(6, 182, 212, 0.18) 40%, transparent 70%);
  transform: translateY(0);
  animation: float 17s infinite ease-in-out 3s, pulse-scale 11s infinite ease-in-out 1s;
  animation-fill-mode: both;
}

/* Mobile optimization for orbs */
@media (max-width: 768px) {
  .orb {
    filter: blur(80px);
    opacity: 0.4;
  }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: clamp(30px, 8vw, 50px) clamp(30px, 8vw, 50px);
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  z-index: -1;
  opacity: 1;
}

@media (max-width: 768px) {
  .grid-overlay {
    opacity: 0.6;
  }
}

/* 
  ---------------------------------------------------------
  HEADER
  ---------------------------------------------------------
*/
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  transition: all 0.4s ease;
  border-bottom: 1px solid transparent;
  padding-top: var(--safe-area-top);
  padding-left: var(--safe-area-left);
  padding-right: var(--safe-area-right);
}

header.scrolled {
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

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

.logo {
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 20px;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-link {
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: var(--space-xs);
  min-height: var(--touch-target);
  min-width: var(--touch-target);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link:hover::after {
  width: 100%;
}

/* Buttons */
.btn {
  padding: clamp(0.75rem, 2vw, 0.875rem) clamp(1.5rem, 4vw, 2rem);
  border-radius: 100px;
  font-weight: 600;
  font-size: clamp(0.875rem, 2vw, 1rem);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  position: relative;
  overflow: hidden;
  z-index: 1;
  min-height: var(--touch-target);
  min-width: var(--touch-target);
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), #2563eb);
  z-index: -1;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Shimmer Effect */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  animation: shimmer 3s infinite;
}

.btn-outline {
  border: 1px solid var(--border-light);
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-main);
  transform: translateY(-2px);
}

/* 
  ---------------------------------------------------------
  HERO SECTION
  ---------------------------------------------------------
*/
.hero {
  padding-top: clamp(100px, 20vw, 140px);
  padding-bottom: clamp(1rem, 3vw, 2rem);
  position: relative;
  overflow: hidden;
  background: transparent;
  min-height: auto;
  padding-left: var(--safe-area-left);
  padding-right: var(--safe-area-right);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1.1fr 1fr;
    text-align: left;
  }
}

.hero-text h1 {
  font-size: var(--fs-h1);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.hero-text p {
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  max-width: 100%;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .hero-text p {
    max-width: 540px;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 1023px) {
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-badges {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-badges {
    justify-content: flex-start;
  }
}

.badge {
  padding: clamp(0.4rem, 1.5vw, 0.5rem) clamp(0.75rem, 2vw, 1rem);
  border-radius: 100px;
  font-size: clamp(0.6875rem, 1.5vw, 0.8125rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  backdrop-filter: blur(4px);
}

.badge-gold {
  background: rgba(234, 179, 8, 0.1);
  color: var(--accent);
  border: 1px solid rgba(234, 179, 8, 0.2);
  box-shadow: 0 0 20px rgba(234, 179, 8, 0.1);
}

.badge-blue {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  border: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

/* 3D Visual */
.hero-visual {
  position: relative;
  height: clamp(400px, 60vh, 600px);
  max-height: 80vh;
  perspective: 1200px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-stack {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateY(-10deg) rotateX(5deg);
  transition: transform 0.1s ease-out;
}

.app-window {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(0);
  width: 100%;
  max-width: 420px;
  height: auto;
  min-height: 500px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  backdrop-filter: blur(24px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 50px 100px -20px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.window-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red {
  background: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.dot-yellow {
  background: #f59e0b;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.dot-green {
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
}

.window-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.row-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.row-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(4px);
}

.row-item.active {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #334155, #475569);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.row-info {
  flex: 1;
  min-width: 0;
  /* Allow truncation */
}

.row-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.row-sub {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-tag {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 100px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tag-zalo {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.tag-imess {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

/* Floating Elements */
.float-card {
  position: absolute;
  padding: 16px 20px;
  border-radius: 20px;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
  transform: translateZ(40px);
}

.float-1 {
  top: 15%;
  right: -40px;
  animation: float 6s ease-in-out infinite;
}

.float-2 {
  bottom: 20%;
  left: -60px;
  animation: float-delayed 7s ease-in-out infinite;
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.bg-zalo {
  background: #0068FF;
  color: white;
}

.bg-imess {
  background: #34C759;
  color: white;
}

/* 
  ---------------------------------------------------------
  STATS (Now integrated in Hero Section)
  ---------------------------------------------------------
*/
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
}

.stat-item {
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: clamp(1rem, 3vw, 1.5rem);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

@media (hover: hover) {
  .stat-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-light);
    transform: translateY(-5px);
  }
}

.stat-item h4 {
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 800;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
}

.stat-item p {
  color: var(--text-muted);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* 
  ---------------------------------------------------------
  FEATURES (BENTO GRID)
  ---------------------------------------------------------
*/
.features {
  padding: var(--section-spacing) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 13px;
  margin-bottom: 16px;
  display: inline-block;
  padding: 6px 12px;
  background: rgba(234, 179, 8, 0.1);
  border-radius: 100px;
  border: 1px solid rgba(234, 179, 8, 0.2);
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 3vw, 1.5rem);
}

@media (min-width: 640px) {
  .bento-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(1.25rem, 3vw, 1.5rem);
  }
}

.bento-item {
  padding: clamp(1.5rem, 5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  min-height: clamp(280px, 40vw, 320px);
}

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

.bento-tall {
  grid-row: span 2;
}

.bento-icon {
  width: clamp(48px, 10vw, 64px);
  height: clamp(48px, 10vw, 64px);
  border-radius: clamp(0.875rem, 3vw, 1.25rem);
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  font-size: clamp(1.5rem, 4vw, 1.75rem);
  margin-bottom: var(--space-lg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.bento-content h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.bento-content p {
  color: var(--text-muted);
  font-size: var(--fs-body);
  line-height: 1.6;
}

.bento-bg-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 70%);
  pointer-events: none;
  transition: opacity 0.3s;
}

.bento-item:hover .bento-bg-glow {
  opacity: 0.8;
}

/* 
  ---------------------------------------------------------
  WORKFLOW
  ---------------------------------------------------------
*/
.steps-section {
  padding: var(--section-spacing) 0;
  position: relative;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-light) 20%, var(--border-light) 80%, transparent);
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 20px;
}

.step-number {
  width: 100px;
  height: 100px;
  margin: 0 auto 32px;
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: 800;
  color: var(--text-muted);
  box-shadow: 0 0 0 10px var(--bg-dark);
  transition: all 0.3s ease;
}

.step-card:hover .step-number {
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 0 10px var(--bg-dark), 0 0 30px rgba(59, 130, 246, 0.3);
  transform: scale(1.1);
}

.step-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* 
  ---------------------------------------------------------
  PRICING
  ---------------------------------------------------------
*/
/* 
  ---------------------------------------------------------
  PRICING
  ---------------------------------------------------------
*/
.pricing {
  padding: var(--section-spacing) 0;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

.price-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: visible;
}

.price-card:hover {
  transform: translateY(-8px);
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Featured Card (Pro) */
.price-card.featured {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--accent);
  box-shadow: 0 0 0 1px rgba(234, 179, 8, 0.1), 0 20px 50px -10px rgba(0, 0, 0, 0.5);
  z-index: 10;
  transform: scale(1.05);
}

.price-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: 0 0 0 1px rgba(234, 179, 8, 0.3), 0 30px 60px -15px rgba(0, 0, 0, 0.6);
}

@media (max-width: 1024px) {
  .price-card.featured {
    transform: none;
  }

  .price-card.featured:hover {
    transform: translateY(-8px);
  }
}

/* Badge */
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #020617;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.4);
  white-space: nowrap;
  z-index: 20;
}

/* Typography */
.price-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.price-card.featured h3 {
  color: var(--accent);
}

.price-tag {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
}

.price-per-month {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 4px;
}

.price-period {
  font-size: 0.9375rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Features */
.price-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.feature-item strong {
  color: var(--text-main);
  font-weight: 600;
}

.check-icon {
  color: var(--primary);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.price-card.featured .check-icon {
  color: var(--accent);
}

/* Buttons */
.price-card .btn {
  width: 100%;
  justify-content: center;
}

.btn-pro-subscribe {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
  border: none;
  color: white;
}

.btn-pro-subscribe:hover {
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
  transform: translateY(-2px);
}

/* 
  ---------------------------------------------------------
  TESTIMONIALS & FAQ
  ---------------------------------------------------------
*/
.testimonials {
  padding: var(--section-spacing) 0;
  background: transparent;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 2rem);
}

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

.testimonial-card {
  padding: clamp(1.75rem, 5vw, 2.5rem);
}

.quote {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
  color: var(--text-main);
}

.author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 18px;
}

.faq-section {
  padding: var(--section-spacing) 0;
}

.faq-item {
  max-width: 800px;
  margin: 0 auto 16px;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: 24px;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 24px;
  color: var(--text-muted);
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
  animation: reveal-up 0.3s ease;
}

/* 
  ---------------------------------------------------------
  CTA
  ---------------------------------------------------------
*/
.cta {
  padding: 100px 0;
}

.cta-box {
  text-align: center;
  padding: 80px 40px;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-box h2 {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

/* 
  ---------------------------------------------------------
  RESPONSIVE
  ---------------------------------------------------------
*/
/* Remove old media query blocks - now handled mobile-first */

@media (max-width: 768px) {

  /* Mobile nav menu */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100dvh;
    background: rgba(2, 6, 23, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
    padding-top: calc(80px + var(--safe-area-top));
    padding-bottom: calc(2.5rem + var(--safe-area-bottom));
    padding-left: calc(clamp(1rem, 5vw, 1.5rem) + var(--safe-area-left));
    padding-right: calc(clamp(1rem, 5vw, 1.5rem) + var(--safe-area-right));
    gap: var(--touch-spacing);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links .nav-link {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
    padding: var(--space-sm) var(--space-lg);
    min-height: 56px;
    width: 100%;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s ease;
  }

  .nav-links .nav-link:active {
    background: rgba(59, 130, 246, 0.1);
    transform: scale(0.98);
  }

  .nav-links .btn {
    width: 100%;
    max-width: 300px;
    margin-top: var(--space-lg);
  }

  .mobile-menu-btn {
    display: flex;
  }

  .desktop-only {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .app-window {
    width: 100%;
    max-width: 320px;
    min-height: 320px;
    transform: translate(-50%, -50%) scale(0.85);
  }

  .float-card {
    transform: scale(0.65) translateZ(40px);
    transform-origin: center;
    padding: 12px 16px;
    font-size: 0.75rem;
  }

  .icon-box {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .float-1 {
    top: 5%;
    right: -10px;
  }

  .float-2 {
    bottom: 8%;
    left: -15px;
  }

  .cta-box {
    padding: clamp(2rem, 8vw, 2.5rem) clamp(1rem, 4vw, 1.25rem);
    border-radius: clamp(1.5rem, 5vw, 2.5rem);
  }
}

/* 
  ---------------------------------------------------------
  NEW ENHANCEMENTS
  ---------------------------------------------------------
*/

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 100;
  padding: 12px;
  min-width: var(--touch-target);
  min-height: var(--touch-target);
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.mobile-menu-btn:active {
  background: rgba(255, 255, 255, 0.05);
}

.bar {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.mobile-menu-btn.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Grid Beam Animation */
.grid-beam {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(59, 130, 246, 0.1) 50%, transparent);
  transform: translateY(-100%);
  animation: beam-scan 8s linear infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes beam-scan {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(100%);
  }
}

/* Text Shimmer */
.animate-shimmer-text {
  background-size: 200% auto;
  animation: text-shimmer 4s linear infinite;
}

@keyframes text-shimmer {
  to {
    background-position: 200% center;
  }
}

/* Enhanced Button Glow */
.btn-glow-pulse {
  position: relative;
}

.btn-glow-pulse::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: inherit;
  filter: blur(10px);
  opacity: 0;
  z-index: -1;
  border-radius: inherit;
  transition: opacity 0.3s;
}

/* 
  ---------------------------------------------------------
  PREMIUM REFINEMENTS (LATEST)
  ---------------------------------------------------------
*/

/* Magnetic Button Effect */
.magnetic-btn {
  transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Typing Effect Cursor */
.typing-cursor::after {
  content: '|';
  animation: blink 1s step-start infinite;
  color: var(--accent);
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Floating Particles */
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  opacity: 0.3;
  pointer-events: none;
  animation: float-particle 10s linear infinite;
}

@keyframes float-particle {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }

  10% {
    opacity: 0.5;
  }

  90% {
    opacity: 0.5;
  }

  100% {
    transform: translateY(-100vh) translateX(20px);
    opacity: 0;
  }
}

/* Glass Reflection Shine */
.glass-shine {
  position: relative;
  overflow: hidden;
}

.glass-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: skewX(-25deg);
  animation: glass-shine 6s infinite;
  pointer-events: none;
}

@keyframes glass-shine {
  0% {
    left: -100%;
  }

  20% {
    left: 200%;
  }

  100% {
    left: 200%;
  }
}

/* Text Glow Enhancements */
.text-glow-gold {
  text-shadow: 0 0 30px rgba(234, 179, 8, 0.4);
}

.text-glow-blue {
  text-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

/* Orb Pulse Animation */
.orb {
  animation-name: float, pulse-scale;
  animation-duration: 15s, 8s;
  animation-iteration-count: infinite, infinite;
  animation-timing-function: ease-in-out, ease-in-out;
}

@keyframes pulse-scale {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.4;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.5;
  }
}

/* Card Inner Border for Premium Feel */
.card-inner-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

/* Mobile Touch Optimizations */
@media (hover: none) {
  * {
    -webkit-tap-highlight-color: transparent;
  }

  .btn:active {
    transform: scale(0.96);
  }

  .nav-link:active {
    color: var(--primary);
  }
}

/* Ensure smooth scrolling on iOS */
@supports (-webkit-touch-callout: none) {
  .hero-visual {
    /* Fix for iOS 3D transform glitches */
    transform: translateZ(0);
  }
}

/* 
  ---------------------------------------------------------
  UTILITY CLASSES (Replaced Inline Styles)
  ---------------------------------------------------------
*/
.logo-text-wrapper {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -1px;
  filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.4));
}

.logo-text-mhub {
  background: linear-gradient(to right, #3b82f6, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-text-space {
  color: #fff;
}

.nav-btn-login {
  margin-left: 20px;
}

.hero-typing-text {
  color: var(--text-main);
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-cta-group {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group>.btn {
    width: 100%;
  }
}

.hero-btn-primary,
.hero-btn-outline {
  padding: clamp(0.875rem, 2vw, 1rem) clamp(1.75rem, 4vw, 2rem);
  font-size: clamp(0.9375rem, 2vw, 1rem);
  min-height: var(--touch-target);
}

.hero-live-status {
  font-size: var(--fs-small);
  margin-top: var(--space-lg);
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
}

@media (min-width: 1024px) {
  .hero-live-status {
    justify-content: flex-start;
  }
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  display: inline-block;
}

.section-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.bento-glow-gold {
  background: radial-gradient(circle at top right, rgba(234, 179, 8, 0.15), transparent 70%);
}

.step-desc {
  color: var(--text-muted);
}

.avatar-placeholder {
  display: grid;
  place-items: center;
  color: #334155;
  font-weight: bold;
}

.avatar-bg-slate {
  background: #cbd5e1;
}

.avatar-bg-amber {
  background: #fcd34d;
  color: #78350f;
}

.author-info-name {
  font-weight: 700;
}

.author-info-role {
  font-size: 12px;
  color: var(--text-muted);
}

.price-per-month {
  font-size: 16px;
  color: var(--text-muted);
}

.btn-full-width {
  width: 100%;
}

.btn-pro-subscribe {
  width: 100%;
  background: var(--accent);
  color: black;
}

.faq-title {
  font-size: 36px;
}

.cta-orb {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
}

.cta-title {
  font-size: 42px;
  margin-bottom: 24px;
  position: relative;
}

.cta-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  position: relative;
}

.cta-btn {
  padding: 16px 48px;
  font-size: 18px;
  position: relative;
}

.footer-main {
  padding: 60px 0;
  border-top: 1px solid var(--border-light);
  background: rgba(2, 6, 23, 0.95);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(2rem, 5vw, 2.5rem);
  flex-direction: column;
}

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

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-logo-wrapper {
  margin-bottom: 24px;
  display: inline-block;
}

.footer-logo-text {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -1px;
  filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.4));
}

.footer-tagline {
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links-group {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-col-title {
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  padding-bottom: var(--safe-area-bottom);
}

/* Responsive Adjustments for New Classes */
@media (max-width: 768px) {
  .logo-text-wrapper {
    font-size: clamp(1.5rem, 6vw, 1.75rem);
  }

  .cta-title {
    font-size: clamp(1.75rem, 6vw, 2rem);
  }

  .cta-desc {
    font-size: var(--fs-body);
  }

  .cta-btn {
    width: 100%;
    padding: clamp(0.875rem, 3vw, 1rem) clamp(1.5rem, 4vw, 1.75rem);
  }

  .footer-links-group {
    gap: clamp(1.5rem, 5vw, 2.5rem);
    flex-direction: column;
  }

  .steps-grid::before {
    display: none;
  }

  /* Pain section mobile improvements */
  .pain-section {
    padding: clamp(60px, 10vw, 80px) 0 !important;
  }

  .bento-grid {
    gap: clamp(1rem, 3vw, 1.25rem);
  }

  /* Testimonial mobile optimization */
  .testimonial-card {
    padding: clamp(1.5rem, 5vw, 2rem);
  }

  .quote {
    font-size: clamp(1rem, 3vw, 1.125rem);
    line-height: 1.7;
  }

  /* FAQ mobile optimization */
  .faq-question {
    padding: clamp(1rem, 4vw, 1.5rem);
    font-size: clamp(1rem, 3vw, 1.125rem);
  }

  .faq-answer {
    padding: 0 clamp(1rem, 4vw, 1.5rem) clamp(1rem, 4vw, 1.5rem);
    font-size: var(--fs-body);
  }

  .faq-title {
    font-size: var(--fs-h2);
  }
}

.spotlight-card {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.spotlight-card:hover {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

/* 3D Tilt Effect Support */
.spotlight-card {
  transform-style: preserve-3d;
  transform: perspective(1000px);
}

.bento-content,
.bento-icon,
.price-features,
.price-tag,
.step-number {
  transform: translateZ(20px);
  /* Pop out elements */
}

/* Hero Fan-Out Animation */
.hero-visual {
  opacity: 0;
  animation: fade-in-up 1s ease-out forwards 0.5s;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.float-card {
  transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Initial state for fan-out (handled by JS class) */
.hero-stack-init .float-1 {
  transform: translate(0, 0) !important;
  opacity: 0;
}

.hero-stack-init .float-2 {
  transform: translate(0, 0) !important;
  opacity: 0;
}

/* 
  ---------------------------------------------------------
  ADDITIONAL RESPONSIVE ENHANCEMENTS
  Mobile-First Optimizations & Touch Improvements
  ---------------------------------------------------------
*/

/* Enhanced Section Headers for Mobile */
@media (max-width: 640px) {
  .section-header {
    margin-bottom: clamp(2.5rem, 10vw, 4rem);
    padding: 0 var(--space-sm);
  }

  .section-tag {
    font-size: clamp(0.6875rem, 2vw, 0.75rem);
    padding: clamp(0.375rem, 1.5vw, 0.5rem) clamp(0.75rem, 2vw, 0.875rem);
  }

  .section-title {
    line-height: 1.2;
  }

  .section-desc {
    font-size: var(--fs-body);
    line-height: 1.65;
    max-width: 100%;
  }
}

/* Improved Pricing Cards Mobile Layout */
@media (max-width: 640px) {
  .pricing-grid {
    gap: clamp(1.25rem, 5vw, 1.75rem);
  }

  .price-card {
    padding: clamp(2rem, 6vw, 2.5rem) clamp(1.5rem, 5vw, 2rem);
  }

  .price-card h3 {
    font-size: clamp(1.5rem, 5vw, 1.75rem);
  }

  .price-tag {
    font-size: clamp(2.5rem, 10vw, 3rem);
    margin: clamp(1rem, 4vw, 1.5rem) 0 clamp(0.5rem, 2vw, 0.75rem);
  }

  .price-per-month {
    font-size: clamp(0.875rem, 3vw, 1rem);
  }

  .price-period {
    font-size: var(--fs-small);
    margin-bottom: clamp(1.5rem, 5vw, 2rem);
  }

  .price-features {
    gap: clamp(0.875rem, 3vw, 1rem);
    margin-bottom: clamp(1.5rem, 5vw, 2rem);
  }

  .feature-item {
    font-size: var(--fs-body);
  }

  .popular-badge {
    font-size: clamp(0.625rem, 2vw, 0.75rem);
    padding: clamp(0.25rem, 1vw, 0.375rem) clamp(0.875rem, 3vw, 1rem);
  }
}

/* Enhanced Hero Section Mobile Responsiveness */
@media (max-width: 640px) {
  .hero-badges {
    gap: clamp(0.5rem, 2vw, 0.75rem);
  }

  .badge {
    padding: clamp(0.375rem, 1.5vw, 0.5rem) clamp(0.75rem, 2.5vw, 1rem);
    font-size: clamp(0.625rem, 2vw, 0.75rem);
  }

  .hero h1 {
    line-height: 1.15;
    margin-bottom: clamp(1rem, 4vw, 1.5rem);
  }

  .hero p {
    line-height: 1.65;
    margin-bottom: clamp(1.5rem, 5vw, 2rem);
  }

  .hero-live-status {
    font-size: clamp(0.8125rem, 2.5vw, 0.875rem);
    margin-top: clamp(1rem, 4vw, 1.5rem);
  }

  .status-dot {
    width: 6px;
    height: 6px;
  }
}

/* Better Bento Grid Mobile Stacking */
@media (max-width: 640px) {
  .bento-item {
    min-height: auto;
    padding: clamp(1.5rem, 5vw, 2rem);
  }

  .bento-icon {
    width: clamp(56px, 12vw, 64px);
    height: clamp(56px, 12vw, 64px);
    margin-bottom: clamp(1rem, 4vw, 1.5rem);
  }

  .bento-content h3 {
    margin-bottom: clamp(0.75rem, 3vw, 1rem);
    line-height: 1.3;
  }

  .bento-content p {
    line-height: 1.65;
  }
}

/* Improved Step Cards Mobile */
@media (max-width: 640px) {
  .steps-grid {
    gap: clamp(2rem, 8vw, 3rem);
    grid-template-columns: 1fr;
  }

  .step-card {
    padding: 0;
  }

  .step-number {
    width: clamp(70px, 18vw, 80px);
    height: clamp(70px, 18vw, 80px);
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: clamp(1rem, 4vw, 1.5rem);
  }

  .step-title {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    margin-bottom: clamp(0.75rem, 3vw, 1rem);
  }

  .step-desc {
    line-height: 1.65;
  }
}

/* Enhanced CTA Section Mobile */
@media (max-width: 640px) {
  .cta {
    padding: clamp(3rem, 12vw, 5rem) 0;
  }

  .cta-box {
    padding: clamp(2.5rem, 10vw, 3.5rem) clamp(1.25rem, 5vw, 1.75rem);
  }

  .cta-orb {
    width: clamp(200px, 50vw, 250px);
    height: clamp(200px, 50vw, 250px);
  }
}

/* Footer Mobile Improvements */
@media (max-width: 640px) {
  .footer-main {
    padding: clamp(2.5rem, 10vw, 3rem) 0;
  }

  .footer-content {
    gap: clamp(2rem, 8vw, 2.5rem);
  }

  .footer-col {
    min-width: 100%;
  }

  .footer-logo-text {
    font-size: clamp(1.75rem, 7vw, 2rem);
  }

  .footer-tagline {
    font-size: var(--fs-body);
    line-height: 1.65;
  }

  .footer-links-group {
    gap: clamp(2rem, 8vw, 2.5rem);
  }

  .footer-col-title {
    font-size: clamp(1rem, 3.5vw, 1.125rem);
    margin-bottom: clamp(0.875rem, 3vw, 1rem);
  }

  .footer-links-list {
    font-size: var(--fs-small);
    gap: clamp(0.75rem, 2.5vw, 0.875rem);
  }

  .footer-bottom {
    margin-top: clamp(1.5rem, 6vw, 2rem);
    padding-top: clamp(1rem, 4vw, 1.25rem);
    font-size: clamp(0.6875rem, 2vw, 0.75rem);
    line-height: 1.5;
  }
}

/* Landscape Mobile Optimization */
@media (max-width: 896px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: clamp(80px, 12vh, 100px);
    padding-bottom: clamp(2rem, 8vh, 3rem);
  }

  .hero-visual {
    height: clamp(350px, 50vh, 450px);
  }

  .app-window {
    min-height: 300px;
  }

  .nav-links {
    padding-top: calc(70px + var(--safe-area-top));
    padding-bottom: calc(1.5rem + var(--safe-area-bottom));
  }
}

/* High DPI / Retina Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  .orb {
    filter: blur(100px);
  }

  .bg-noise {
    opacity: 0.05;
  }
}

/* Print Styles */
@media print {

  header,
  .mobile-menu-btn,
  .hero-visual,
  .bg-fx,
  .cta,
  footer {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .section-spacing {
    padding: 1rem 0;
  }

  .spotlight-card {
    border: 1px solid #ddd;
    box-shadow: none;
    page-break-inside: avoid;
  }
}

/* Focus Visible for Keyboard Navigation */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Better focus for buttons */
.btn:focus-visible {
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.3);
}

/* Smooth scrollbar styling (WebKit browsers) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Selection styling */
::selection {
  background: rgba(59, 130, 246, 0.3);
  color: var(--text-main);
}

::-moz-selection {
  background: rgba(59, 130, 246, 0.3);
  color: var(--text-main);
}

/* 
  ---------------------------------------------------------
  HERO STATS INTEGRATION
  ---------------------------------------------------------
*/
.hero-stats-wrapper {
  margin-top: clamp(2rem, 6vw, 4rem);
  width: 100%;
  animation: fade-in-up 1s ease-out forwards 0.8s;
  opacity: 0;
}

@media (min-width: 1024px) {
  .hero-stats-wrapper {
    grid-column: 1 / -1;
  }
}

/* Enhanced stat items for hero context */
.hero .stat-item {
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.hero .stat-item:hover {
  background: rgba(15, 23, 42, 0.5);
  border-color: var(--border-light);
  transform: translateY(-5px);
}