/* GAINORA PREMIUM DESIGN SYSTEM */

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

/* CSS Variables & Theme Setup */
:root {
  /* Color Palette */
  --bg-dark-raw: 5, 5, 5;
  --bg-dark: rgb(var(--bg-dark-raw));
  --bg-panel-raw: 14, 14, 18;
  --bg-panel: rgb(var(--bg-panel-raw));
  --bg-card-raw: 22, 22, 28;
  --bg-card: rgb(var(--bg-card-raw));
  
  --neon-green-raw: 57, 255, 20;
  --neon-green: rgb(var(--neon-green-raw));
  --neon-green-glow: rgba(var(--neon-green-raw), 0.15);
  --neon-green-border: rgba(var(--neon-green-raw), 0.3);
  --neon-green-dim: rgb(35, 200, 10);
  
  --text-main: #FFFFFF;
  --text-secondary: #A0A0AA;
  --text-muted: #62626E;
  
  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;
  
  /* Borders & Blurs */
  --border-glass: rgba(255, 255, 255, 0.05);
  --border-glass-active: rgba(255, 255, 255, 0.12);
  --bg-glass: rgba(255, 255, 255, 0.02);
  --bg-glass-card: rgba(14, 14, 18, 0.65);
  --blur-glass: blur(20px);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  
  /* Animations */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-medium: all 0.3s ease;
  --transition-fast: all 0.2s ease;
}

/* Reset and Global Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-panel);
  border: 2px solid var(--bg-dark);
  border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Accent Gradients & Typography */
.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 40%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.neon-accent-text {
  color: var(--neon-green);
  text-shadow: 0 0 20px var(--neon-green-glow);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 140px 0;
  position: relative;
}

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

/* Background Gradients & Glow Effects */
.bg-glow-radial {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--neon-green-glow) 0%, rgba(var(--neon-green-raw), 0) 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  filter: blur(100px);
}

.bg-glow-top { top: -250px; left: 50%; transform: translateX(-50%); }
.bg-glow-middle { top: 35%; right: -250px; }
.bg-glow-bottom { bottom: 10%; left: -250px; }

/* Buttons & Interactive Elements */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  gap: 8px;
}

.btn-primary {
  background: var(--neon-green);
  color: var(--bg-dark);
  border: 1px solid var(--neon-green);
  box-shadow: 0 4px 30px rgba(var(--neon-green-raw), 0.25);
}

.btn-primary:hover {
  background: var(--bg-dark);
  color: var(--neon-green);
  box-shadow: 0 8px 32px rgba(var(--neon-green-raw), 0.4);
  transform: translateY(-2px);
  border-color: var(--neon-green-border);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-glass-active);
  transform: translateY(-2px);
}

/* Glassmorphism System */
.glass-card {
  background: var(--bg-glass-card);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: var(--transition-smooth);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02) 50%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.glass-card.neon-glow-hover:hover {
  border-color: var(--neon-green-border);
  box-shadow: 0 15px 50px rgba(var(--neon-green-raw), 0.12);
}

/* Smartphone Mockup */
.phone-frame {
  width: 290px;
  height: 590px;
  background: #09090C;
  border: 11px solid #1C1C22;
  border-radius: 44px;
  position: relative;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8),
              0 0 0 2px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  z-index: 10;
  margin: 0 auto;
}

/* Notch */
.phone-frame::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 22px;
  background: #1C1C22;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  z-index: 20;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Glowing Target Overlay inside scanners */
.scan-target {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  border: 2px dashed var(--neon-green);
  border-radius: var(--radius-md);
  box-shadow: 0 0 20px rgba(var(--neon-green-raw), 0.2);
  animation: pulse-glow 2s infinite ease-in-out;
  pointer-events: none;
}

.scan-target::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--neon-green);
  box-shadow: 0 0 15px var(--neon-green);
  animation: scan-line 3s infinite linear;
}

@keyframes scan-line {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

/* Badge/Tag */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(var(--neon-green-raw), 0.08);
  border: 1px solid var(--neon-green-border);
  color: var(--neon-green);
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--neon-green);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(var(--bg-dark-raw), 0.6);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border-bottom: 1px solid var(--border-glass);
  z-index: 100;
  transition: var(--transition-smooth);
}

.header.scrolled {
  height: 70px;
  background: rgba(var(--bg-dark-raw), 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background-color: var(--neon-green);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 12px var(--neon-green);
}

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

.nav-link {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--neon-green);
  transition: var(--transition-medium);
}

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

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

.burger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  flex-direction: column;
  gap: 6px;
  z-index: 110;
}

.burger span {
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition-fast);
}

/* Hero Section */
.hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 120px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  z-index: 10;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 520px;
}

/* Waitlist Form */
.waitlist-form {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 6px;
  border-radius: 9999px;
  max-width: 480px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  transition: var(--transition-medium);
}

.waitlist-form:focus-within {
  border-color: var(--neon-green-border);
  box-shadow: 0 10px 30px rgba(var(--neon-green-raw), 0.08);
}

.waitlist-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 24px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.waitlist-input::placeholder {
  color: var(--text-muted);
}

.waitlist-btn {
  border: none;
  padding: 14px 28px;
}

/* Waitlist Success Modal */
.success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(var(--bg-dark-raw), 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.success-overlay.active {
  opacity: 1;
  visibility: visible;
}

.success-card {
  width: 90%;
  max-width: 450px;
  text-align: center;
  padding: 48px 32px;
  border: 1px solid var(--neon-green-border);
  box-shadow: 0 20px 60px rgba(var(--neon-green-raw), 0.15);
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.success-overlay.active .success-card {
  transform: scale(1);
}

.success-icon {
  width: 64px;
  height: 64px;
  background: rgba(var(--neon-green-raw), 0.1);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 0 20px rgba(var(--neon-green-raw), 0.2);
}

.success-icon svg {
  width: 32px;
  height: 32px;
}

.success-card h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.success-card p {
  font-size: 0.95rem;
  margin-bottom: 28px;
}

/* Trust Indicators Row */
.trust-indicators {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--neon-green);
}

/* Hero Visual & Float Elements */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(var(--neon-green-raw), 0.1) 0%, rgba(var(--neon-green-raw), 0) 70%);
  filter: blur(30px);
  z-index: 1;
}

.floating-badge {
  position: absolute;
  z-index: 25;
  background: rgba(18, 18, 22, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition-smooth);
}

.floating-badge:hover {
  transform: scale(1.05) translateY(-2px);
  border-color: var(--neon-green-border);
}

.fb-1 {
  top: 15%;
  left: -20px;
}

.fb-2 {
  bottom: 20%;
  right: -30px;
}

.fb-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(var(--neon-green-raw), 0.08);
  border: 1px solid var(--neon-green-border);
  color: var(--neon-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fb-icon svg {
  width: 18px;
  height: 18px;
}

.fb-info span {
  display: block;
}

.fb-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.fb-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

/* Features Section */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 80px;
}

.section-tag {
  color: var(--neon-green);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.feature-item {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}

.feature-item:last-child {
  margin-bottom: 0;
}

.feature-item.reverse {
  grid-template-columns: 1.1fr 1fr;
}

.feature-item.reverse .feature-visual {
  order: -1;
}

.feature-info {
  z-index: 10;
}

.feature-title {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.feature-description {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.feature-bullets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.feature-bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.feature-bullet svg {
  width: 18px;
  height: 18px;
  color: var(--neon-green);
  flex-shrink: 0;
  margin-top: 3px;
}

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

.feature-visual::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(var(--neon-green-raw), 0.08) 0%, rgba(var(--neon-green-raw), 0) 70%);
  filter: blur(20px);
  z-index: 1;
}

/* Feature Mockup Overlays */
/* Macro Bubble */
.macro-bubble {
  position: absolute;
  right: -20px;
  top: 30%;
  z-index: 20;
  padding: 16px;
  background: rgba(18, 18, 22, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  width: 160px;
}

.macro-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.8rem;
}

.macro-row:last-child {
  margin-bottom: 0;
}

.macro-label {
  color: var(--text-secondary);
}

.macro-val {
  font-weight: 700;
  color: var(--text-main);
}

.macro-val.green {
  color: var(--neon-green);
}

/* Interactive Charts Toggle Mockup */
.chart-toggle-badge {
  position: absolute;
  left: -20px;
  bottom: 25%;
  z-index: 20;
  background: rgba(18, 18, 22, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chart-header {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.chart-tabs {
  display: flex;
  gap: 8px;
}

.chart-tab {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.chart-tab.active {
  background: var(--neon-green-glow);
  border-color: var(--neon-green-border);
  color: var(--neon-green);
}

/* Interactive Trainer Chat Bubble Mockup */
.coach-bubble {
  position: absolute;
  right: -30px;
  bottom: 15%;
  z-index: 20;
  background: rgba(18, 18, 22, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  max-width: 180px;
}

.coach-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.coach-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--neon-green);
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--bg-dark);
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coach-name {
  font-size: 0.75rem;
  font-weight: 700;
}

.coach-msg {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* How It Works Section */
.how-it-works {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-panel) 50%, var(--bg-dark) 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}

/* Connecting Line */
.steps-grid::after {
  content: '';
  position: absolute;
  top: 45px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, 
    var(--border-glass) 0%, 
    var(--neon-green-border) 30%, 
    var(--neon-green-border) 70%, 
    var(--border-glass) 100%
  );
  z-index: 1;
}

.step-card {
  z-index: 10;
  text-align: center;
  position: relative;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

.step-card:hover .step-num {
  background: var(--neon-green);
  color: var(--bg-dark);
  border-color: var(--neon-green);
  box-shadow: 0 0 25px rgba(var(--neon-green-raw), 0.35);
  transform: scale(1.1);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-description {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.benefit-card {
  height: 100%;
}

.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(var(--neon-green-raw), 0.08);
  border: 1px solid var(--neon-green-border);
  color: var(--neon-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
}

.benefit-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.benefit-description {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Statistics Section */
.stats {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-panel) 100%);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  top: 20%;
  right: -16px;
  height: 60%;
  width: 1px;
  background: var(--border-glass);
}

.stat-item:last-child::after {
  display: none;
}

.stat-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3.5rem;
  color: var(--text-main);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #FFF 0%, var(--neon-green) 120%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Testimonials Section */
.testimonials-wrapper {
  overflow: hidden;
  padding: 20px 0;
  position: relative;
}

.testimonials-track {
  display: flex;
  gap: 32px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: grab;
}

.testimonials-track:active {
  cursor: grabbing;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 22px);
  min-width: 320px;
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.stars svg {
  width: 16px;
  height: 16px;
  color: var(--neon-green);
  fill: var(--neon-green);
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 28px;
}

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

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-glass-active);
}

.user-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  display: block;
}

.user-handle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

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

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-card.premium-tier {
  border-color: var(--neon-green-border);
  box-shadow: 0 25px 60px rgba(var(--neon-green-raw), 0.08);
}

.pricing-tag {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--neon-green);
  color: var(--bg-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.pricing-title {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.pricing-price {
  margin-bottom: 32px;
}

.price-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3rem;
  color: var(--text-main);
}

.price-period {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.pricing-bullets {
  list-style: none;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.pricing-bullet {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.pricing-bullet svg {
  width: 18px;
  height: 18px;
  color: var(--neon-green);
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
}

.pricing-soon {
  text-align: center;
  margin-top: 48px;
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* CTA Banner Section */
.cta-banner {
  padding: 100px 0 140px;
}

.cta-card {
  text-align: center;
  padding: 80px 40px;
  position: relative;
  background: radial-gradient(circle at top right, rgba(var(--neon-green-raw), 0.1), transparent 50%),
              rgba(14, 14, 18, 0.7);
  border-color: rgba(var(--neon-green-raw), 0.15);
  max-width: 1000px;
  margin: 0 auto;
}

.cta-title {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-card .waitlist-form {
  margin: 0 auto 32px;
}

.badges-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
}

.app-badge-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-glass);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  cursor: not-allowed;
}

.app-badge-btn:hover {
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.badge-text {
  text-align: left;
}

.badge-text span {
  display: block;
}

.bt-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.bt-main {
  font-weight: 700;
  font-size: 0.85rem;
}

/* Footer Section */
.footer {
  background: var(--bg-panel);
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.8fr);
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo-col p {
  font-size: 0.95rem;
  margin-top: 16px;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-link:hover {
  color: var(--neon-green);
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: var(--neon-green-glow);
  border-color: var(--neon-green-border);
  color: var(--neon-green);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid var(--border-glass);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-link:hover {
  color: var(--text-secondary);
}

/* See How It Works Video Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(var(--bg-dark-raw), 0.9);
  backdrop-filter: blur(12px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  width: 90%;
  max-width: 800px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  transform: scale(0.9);
  transition: var(--transition-smooth);
  background: var(--bg-panel);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 1010;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  background: #000;
}

.video-container iframe, .video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Micro-animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 15px rgba(var(--neon-green-raw), 0.1); }
  50% { box-shadow: 0 0 30px rgba(var(--neon-green-raw), 0.35); }
  100% { box-shadow: 0 0 15px rgba(var(--neon-green-raw), 0.1); }
}

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

.floating-element-reverse {
  animation: float 7s ease-in-out infinite reverse;
}

.pulse-glow-element {
  animation: pulse-glow 3s infinite ease-in-out;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   Desktop (>1025px) : COMPLETELY UNCHANGED
   Tablet  (768-1024): optimised below
   Mobile  (<768px)  : optimised below
   ============================================================ */

/* --- TABLET LARGE: iPad Pro / iPad Air (max 1024px) --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.2rem;
  }
  
  .feature-item {
    gap: 40px;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
  
  .stat-item::after {
    display: none;
  }

  .testimonial-card {
    flex: 0 0 calc(50% - 16px);
    min-width: 280px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .cta-title {
    font-size: 2.6rem;
  }
}

/* --- TABLET MEDIUM: iPad Mini / standard tablets (max 991px) --- */
@media (max-width: 991px) {
  .section {
    padding: 90px 0;
  }

  /* Navigation — hamburger */
  .burger {
    display: flex;
    padding: 8px;
    margin-right: -8px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: rgba(var(--bg-dark-raw), 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    z-index: 105;
    transition: var(--transition-smooth);
    border-left: 1px solid var(--border-glass);
    padding: 60px 40px 40px;
    overflow-y: auto;
  }

  .nav-links.active {
    right: 0;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
  }

  .nav-link {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--border-glass);
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-cta {
    margin-top: 24px;
    width: 100%;
    justify-content: center;
    border-bottom: none !important;
  }

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

  .burger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-8px);
  }

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

  /* Hero */
  .hero {
    padding-top: calc(var(--header-height) + 48px);
    padding-bottom: 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 56px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    max-width: 540px;
  }

  .waitlist-form {
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
  }

  .trust-indicators {
    justify-content: center;
    gap: 16px;
  }

  .floating-badge { display: none; }

  /* Features */
  .feature-item, .feature-item.reverse {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
    margin-bottom: 80px;
  }

  .feature-item.reverse .feature-visual {
    order: 0;
  }

  .feature-bullets {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
  }

  .macro-bubble,
  .chart-toggle-badge,
  .coach-bubble,
  .scan-target { display: none; }

  /* How It Works */
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

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

  /* Benefits */
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 520px;
  }

  /* CTA */
  .cta-card { padding: 60px 32px; }
  .cta-title { font-size: 2.4rem; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-logo-col {
    grid-column: 1 / -1;
  }

  .footer-logo-col p { max-width: 100%; }

  .modal-content { width: 95%; }
}

/* --- MOBILE LARGE: iPhone 15 Pro, Galaxy S24 (max 767px) --- */
@media (max-width: 767px) {
  :root { --header-height: 64px; }

  .container { padding: 0 20px; }
  .section { padding: 72px 0; }

  /* Hero */
  .hero {
    padding-top: calc(var(--header-height) + 32px);
    padding-bottom: 64px;
  }

  .hero-title {
    font-size: 2.5rem;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
  }

  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 32px;
  }

  /* Phone mockup */
  .phone-frame {
    width: 240px;
    height: 490px;
    border-radius: 38px;
    border-width: 9px;
  }

  .phone-frame::after {
    width: 80px;
    height: 18px;
  }

  /* Section headers */
  .section-header { margin-bottom: 56px; }
  .section-title { font-size: 2rem; }

  /* Features */
  .feature-item, .feature-item.reverse { gap: 40px; margin-bottom: 64px; }
  .feature-title { font-size: 1.75rem; margin-bottom: 16px; }
  .feature-description { font-size: 1rem; margin-bottom: 24px; }

  /* Benefits */
  .benefits-grid { grid-template-columns: 1fr; gap: 20px; }
  .glass-card { padding: 28px 24px; }
  .benefit-icon { width: 44px; height: 44px; margin-bottom: 20px; }
  .benefit-title { font-size: 1.2rem; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .stat-num { font-size: 2.6rem; }
  .stat-label { font-size: 0.85rem; }

  /* Testimonials */
  .testimonial-card { flex: 0 0 100%; min-width: unset; width: 100%; }
  .testimonials-track { gap: 20px; }

  /* Steps */
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .step-num { width: 48px; height: 48px; font-size: 1.1rem; margin-bottom: 20px; }
  .step-title { font-size: 1.1rem; }
  .step-description { font-size: 0.85rem; }

  /* Pricing */
  .pricing-card { padding: 28px 24px; }
  .price-num { font-size: 2.5rem; }

  /* CTA */
  .cta-card { padding: 48px 24px; border-radius: var(--radius-lg); }
  .cta-title { font-size: 2rem; }
  .cta-subtitle { font-size: 1rem; }
  .badges-row { flex-direction: column; align-items: center; gap: 12px; }
  .app-badge-btn { width: 100%; max-width: 260px; justify-content: center; }

  /* Footer */
  .footer { padding: 64px 0 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-logo-col { grid-column: unset; }
  .footer-logo-col p { max-width: 100%; margin-top: 12px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; padding-top: 28px; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
  .social-links { margin-top: 20px; }

  /* Modals */
  .success-card { padding: 36px 24px; }
  .success-card h3 { font-size: 1.5rem; }
  .modal-content { width: 100%; border-radius: var(--radius-md); }

  /* Floating badges off */
  .floating-badge, .fb-1, .fb-2 { display: none; }

  /* Overflow protection */
  html, body { max-width: 100vw; overflow-x: hidden; }
  img { max-width: 100%; height: auto; }
  .bg-glow-radial { width: 300px; height: 300px; filter: blur(60px); opacity: 0.35; }
  .hero-visual::before { width: 200px; height: 200px; }
}

/* --- MOBILE MEDIUM: common Android phones (max 600px) --- */
@media (max-width: 600px) {
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 1.85rem; }
  .feature-title { font-size: 1.6rem; }
  .glass-card { padding: 24px 20px; }
  .pricing-card { padding: 24px 20px; }
}

/* --- MOBILE SMALL: iPhone SE / small Androids (max 480px) --- */
@media (max-width: 480px) {
  :root { --header-height: 60px; }

  .container { padding: 0 16px; }
  .section { padding: 60px 0; }

  /* Hero */
  .hero {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 56px;
  }

  .hero-title { font-size: 1.95rem; letter-spacing: -0.02em; line-height: 1.15; }
  .hero-subtitle { font-size: 0.95rem; margin-bottom: 28px; }

  /* Waitlist stacked */
  .waitlist-form {
    border-radius: var(--radius-md);
    flex-direction: column;
    background: rgba(255, 255, 255, 0.02);
    padding: 12px;
    gap: 10px;
    max-width: 100%;
  }

  .waitlist-input {
    padding: 14px 16px;
    text-align: left;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
  }

  .waitlist-btn {
    border-radius: var(--radius-sm);
    width: 100%;
    padding: 16px 24px;
    font-size: 0.95rem;
    min-height: 52px;
  }

  /* Phone mockup */
  .phone-frame { width: 200px; height: 410px; border-radius: 32px; border-width: 8px; }
  .phone-frame::after { width: 70px; height: 16px; }

  /* Section headers */
  .section-header { margin-bottom: 40px; }
  .section-title { font-size: 1.7rem; }
  .section-tag { font-size: 0.75rem; }

  /* Features */
  .feature-title { font-size: 1.5rem; }
  .feature-description { font-size: 0.9rem; }
  .feature-bullet { font-size: 0.88rem; }

  /* Steps — single column */
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .step-card { text-align: center; padding: 0 8px; }

  /* Benefits */
  .benefit-title { font-size: 1.1rem; }
  .benefit-description { font-size: 0.88rem; }

  /* Stats — single column */
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .stat-num { font-size: 2.8rem; }

  /* Testimonials */
  .testimonials-dots { margin-top: 28px; }

  /* CTA */
  .cta-title { font-size: 1.75rem; }
  .cta-subtitle { font-size: 0.9rem; }
  .cta-card { padding: 40px 16px; }
  .badges-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .app-badge-btn { max-width: 100%; justify-content: center; }

  /* Pricing */
  .price-num { font-size: 2.2rem; }
  .pricing-tag { font-size: 0.65rem; top: 16px; right: 16px; }
  .pricing-soon { font-size: 0.8rem; margin-top: 32px; }

  /* Footer */
  .footer-col h4 { font-size: 0.85rem; }
  .footer-link { font-size: 0.85rem; }
  .footer-bottom { font-size: 0.8rem; }

  /* Buttons — touch target */
  .btn { min-height: 52px; padding: 14px 24px; font-size: 0.9rem; }

  /* Glass cards */
  .glass-card { padding: 20px 16px; border-radius: var(--radius-md); }

  /* Nav full width */
  .nav-links { width: 85%; max-width: 100%; padding: 60px 24px 32px; gap: 4px; }
  .nav-link { font-size: 1.1rem; padding: 16px 0; }

  /* Logo */
  .logo { font-size: 1.3rem; }

  /* Modals */
  .success-card { padding: 32px 20px; width: 95%; }
}

/* --- MOBILE XS: very small screens (max 375px) --- */
@media (max-width: 375px) {
  .hero-title { font-size: 1.75rem; }
  .section-title { font-size: 1.55rem; }
  .feature-title { font-size: 1.35rem; }
  .phone-frame { width: 180px; height: 370px; }
  .cta-title { font-size: 1.55rem; }
  .stat-num { font-size: 2.4rem; }
}

/* --- Touch device optimisations (no hover) --- */
@media (hover: none) and (pointer: coarse) {
  .glass-card:hover { transform: none; }
  .btn-primary:hover {
    transform: none;
    background: var(--neon-green);
    color: var(--bg-dark);
    box-shadow: 0 4px 30px rgba(var(--neon-green-raw), 0.25);
  }
  .btn-secondary:hover { transform: none; background: var(--bg-glass); border-color: var(--border-glass); }
  .floating-badge:hover { transform: none; }
  .social-icon:hover { transform: none; }
  .social-icon { width: 48px; height: 48px; }
  .dot { width: 10px; height: 10px; }
  .dot.active { width: 28px; }
  * { -webkit-tap-highlight-color: transparent; }
  .testimonials-track { -webkit-overflow-scrolling: touch; }
}

/* --- iPhone notch / Dynamic Island safe areas --- */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .footer {
    padding-bottom: calc(40px + env(safe-area-inset-bottom));
  }
  .header {
    padding-top: env(safe-area-inset-top);
  }
  .nav-links {
    padding-bottom: calc(40px + env(safe-area-inset-bottom));
  }
}
