/* sportFX.ai - Modern AI-Powered Coaching Homepage */

:root {
  /* Core Colors */
  --primary: #00FFB7;
  --primary-bright: #00FFCC;
  --primary-dim: rgba(0, 255, 183, 0.15);
  --primary-glow: rgba(0, 255, 183, 0.5);
  --secondary: #00FFB7;
  --accent: #FFD700;

  /* Backgrounds - Pure dark grays with no blue tint */
  --bg-dark: #050505;
  --bg-surface: #0a0a0a;
  --bg-card: #121212;
  --bg-card-hover: #1a1a1a;

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;

  /* Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.04);
  --border-glow: rgba(0, 255, 183, 0.3);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #00FFB7 0%, #00CC92 100%);
  --gradient-glow: linear-gradient(135deg, rgba(0, 255, 183, 0.3) 0%, rgba(0, 204, 146, 0.1) 100%);
  --gradient-dark: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
  --gradient-radial: radial-gradient(ellipse at center, rgba(0, 255, 183, 0.15) 0%, transparent 70%);

  /* Spacing */
  --section-padding: clamp(4rem, 10vw, 8rem);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-glow: 0 0 40px rgba(0, 255, 183, 0.3);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.5);
  --shadow-btn: 0 4px 20px rgba(0, 255, 183, 0.4);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--bg-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  z-index: 10000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 1rem;
}

/* ================================
   NAVIGATION
================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition-base);
  background: transparent;
}

.nav.scrolled {
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-base);
}

.nav.scrolled .logo-img {
  height: 40px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-fx {
  color: var(--primary);
}

.logo-ai {
  color: var(--text-secondary);
  font-weight: 400;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

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

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-fast);
}

/* ================================
   BUTTONS
================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-base);
  border: none;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #000;
  box-shadow: 0 4px 15px rgba(0, 255, 183, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.5s;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 25px rgba(0, 255, 183, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0, 255, 183, 0.1);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1rem;
  border-radius: 1rem;
}

.btn-icon {
  width: 18px;
  height: 18px;
}

.btn-icon-left {
  width: 20px;
  height: 20px;
  margin-right: 0.25rem;
}

/* ================================
   HERO SECTION
================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 50% -30%, rgba(0, 255, 183, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 20% 100%, rgba(0, 255, 183, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 90% 30%, rgba(0, 255, 183, 0.08) 0%, transparent 50%);
  animation: gradient-pulse 8s ease-in-out infinite alternate;
}

@keyframes gradient-pulse {
  0% { opacity: 0.8; }
  100% { opacity: 1; }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 30%, black 20%, transparent 80%);
  animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
  0% { transform: translateY(0); }
  100% { transform: translateY(50px); }
}

/* Floating particles effect */
.hero::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 255, 183, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: 20%;
  right: 10%;
  animation: float 6s ease-in-out infinite;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 255, 183, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  bottom: 30%;
  left: 5%;
  animation: float 8s ease-in-out infinite reverse;
  z-index: 0;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  width: 100%;
  padding: 0 2rem;
}

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

.hero-image {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  display: inline-block;
}

/* Glow behind image */
.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(0, 255, 183, 0.25) 0%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
}

.hero-image-wrapper img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 1.5rem;
  box-shadow:
    0 25px 60px -12px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 80px rgba(0, 255, 183, 0.15);
  transition: var(--transition-slow);
}

.hero-image-wrapper img:hover {
  transform: scale(1.02);
  box-shadow:
    0 30px 70px -12px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(0, 255, 183, 0.3),
    0 0 100px rgba(0, 255, 183, 0.25);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.store-badges {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.store-badge {
  display: inline-block;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border-radius: 8px;
}

.store-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.store-badge:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.store-badge img {
  height: 42px;
  width: auto;
}

.hero-stats-bar {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--primary-dim);
  border: 1px solid rgba(0, 255, 183, 0.2);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 0 2rem;
  line-height: 1.7;
}

.hero-cta {
  margin-bottom: 3rem;
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem 2rem;
  background: rgba(5, 5, 5, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  z-index: 10;
}

.scroll-indicator {
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 100px;
  animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

/* ================================
   SECTIONS
================================ */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-dark {
  background: var(--bg-surface);
}

.section-header {
  margin-bottom: 4rem;
}

.section-header.centered {
  text-align: center;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 1.25rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 255, 183, 0.1);
  border: 1px solid rgba(0, 255, 183, 0.2);
  border-radius: 100px;
}

.section-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-text {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.section-tagline {
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-highlight {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
}

.section-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.section-grid.two-col {
  grid-template-columns: 1fr 1fr;
}

.section-grid.reverse .section-visual {
  order: -1;
}

/* ================================
   COMPARISON CARD
================================ */
.comparison-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 0;
  margin: 2rem 0;
  overflow: hidden;
}

.comparison-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
}

.comparison-expensive .comparison-label {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.comparison-expensive .comparison-value {
  color: #ef4444;
  font-weight: 700;
  font-size: 1.5rem;
  opacity: 0.8;
}

.comparison-affordable {
  background: linear-gradient(135deg, rgba(0, 255, 183, 0.1) 0%, rgba(0, 255, 183, 0.05) 100%);
  border-top: 1px solid rgba(0, 255, 183, 0.2);
}

.comparison-affordable .comparison-label {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
}

.comparison-affordable .comparison-value {
  color: var(--primary);
  font-weight: 800;
  font-size: 1.75rem;
}

.comparison-divider {
  text-align: center;
  padding: 0.5rem 2rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: rgba(255, 255, 255, 0.02);
}

/* ================================
   SKELETON VISUAL
================================ */
.visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
}

.visual-card.app-screenshot {
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: none;
}

.visual-card.app-screenshot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-base);
}

.visual-card.app-screenshot:hover img {
  transform: scale(1.02);
}

.skeleton-card {
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.skeleton-figure {
  position: relative;
  width: 200px;
  height: 300px;
}

.joint {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  animation: joint-pulse 2s infinite;
  animation-delay: calc(var(--y) * 0.01s);
  box-shadow: 0 0 20px var(--primary-glow);
}

@keyframes joint-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.7; }
}

.visual-label {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.875rem;
  color: var(--text-secondary);
  background: var(--bg-dark);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

/* ================================
   FEATURE CARDS
================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(18, 18, 18, 0.5) 100%);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 183, 0.3), transparent);
  opacity: 0;
  transition: var(--transition-base);
}

.feature-card:hover {
  border-color: rgba(0, 255, 183, 0.3);
  transform: translateY(-8px);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 255, 183, 0.1);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 255, 183, 0.2) 0%, rgba(0, 255, 183, 0.05) 100%);
  border: 1px solid rgba(0, 255, 183, 0.2);
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-base);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(0, 255, 183, 0.4);
}

.feature-card:hover .feature-icon svg {
  color: var(--bg-dark);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
  transition: var(--transition-base);
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ================================
   FEATURE LIST
================================ */
.feature-list {
  list-style: none;
  margin-top: 1.5rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: var(--text-secondary);
  font-size: 1rem;
}

.feature-list li svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ================================
   COACH CARD
================================ */
.coach-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
}

.coach-avatar {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
}

.avatar-ring {
  position: absolute;
  inset: 0;
  border: 3px solid var(--primary);
  border-radius: 50%;
  animation: ring-rotate 4s linear infinite;
}

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

.avatar-inner {
  position: absolute;
  inset: 8px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #000;
}

.coach-chat {
  margin-top: 1.5rem;
  text-align: left;
}

.chat-bubble {
  padding: 1rem;
  border-radius: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

.chat-bubble.user {
  background: var(--bg-dark);
  color: var(--text-secondary);
  border-bottom-right-radius: 0.25rem;
  margin-left: 1rem;
}

.chat-bubble.ai {
  background: var(--primary-dim);
  color: var(--text-primary);
  border: 1px solid rgba(0, 255, 183, 0.2);
  border-bottom-left-radius: 0.25rem;
  margin-right: 1rem;
}

/* ================================
   STEPS
================================ */
.steps-grid {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.step-card {
  flex: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  position: relative;
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.step-number {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-dim);
  border-radius: 1rem;
  margin: 0 auto 1.5rem;
}

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

.step-image {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: 0.75rem;
  background: var(--bg-surface);
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

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

.step-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
}

.step-connector {
  width: 40px;
  height: 2px;
  background: var(--border);
  margin-top: 4rem;
  flex-shrink: 0;
}

/* ================================
   METRICS CARD
================================ */
.metrics-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
}

.metrics-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.metrics-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.metrics-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: rgba(0, 255, 183, 0.15);
  border: 1px solid rgba(0, 255, 183, 0.3);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metrics-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.metric-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
}

.metric-row:last-child {
  border-bottom: none;
}

.metric-label {
  flex: 0 0 120px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.metric-bar {
  flex: 1;
  height: 8px;
  background: var(--bg-dark);
  border-radius: 100px;
  overflow: hidden;
}

.metric-fill {
  height: 100%;
  width: var(--width);
  background: var(--gradient-primary);
  border-radius: 100px;
  animation: fill-bar 1s ease-out;
}

@keyframes fill-bar {
  from { width: 0; }
  to { width: var(--width); }
}

.metric-value {
  flex: 0 0 50px;
  text-align: right;
  font-weight: 600;
  color: var(--primary);
}

/* ================================
   CORRECTION CARD
================================ */
.correction-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
}

.correction-alert {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}

.alert-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ef4444;
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  font-size: 1.25rem;
}

.alert-title {
  display: block;
  font-weight: 600;
  color: #ef4444;
  margin-bottom: 0.25rem;
}

.alert-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.correction-fix {
  padding: 1rem;
  background: var(--primary-dim);
  border-left: 3px solid var(--primary);
  border-radius: 0 0.5rem 0.5rem 0;
}

.fix-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.correction-fix p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.correction-drill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: var(--transition-base);
}

.correction-drill:hover {
  border-color: var(--primary);
  background: var(--primary-dim);
}

.correction-drill .drill-icon {
  width: 36px;
  height: 36px;
  color: var(--primary);
  flex-shrink: 0;
}

.correction-drill span {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ================================
   WORKOUT CARD
================================ */
.workout-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
}

.workout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.workout-type {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
}

.workout-duration {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.workout-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.workout-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.workout-progress {
  margin-top: 1rem;
}

.workout-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.workout-stat {
  text-align: center;
}

.workout-stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.workout-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.progress-bar {
  height: 8px;
  background: var(--bg-dark);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  width: var(--width);
  background: var(--gradient-primary);
  border-radius: 100px;
}

.progress-text {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.toolkit-badge {
  margin-top: 2rem;
  display: inline-flex;
  padding: 0.5rem 1rem;
  background: var(--primary-dim);
  border: 1px solid rgba(0, 255, 183, 0.2);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

/* ================================
   TESTIMONIALS
================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(10, 10, 10, 0.8) 100%);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2.5rem;
  transition: var(--transition-base);
  position: relative;
  display: flex;
  flex-direction: column;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 255, 183, 0.2), transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.testimonial-card:hover::before {
  opacity: 1;
}

.quote-icon {
  width: 40px;
  height: 40px;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 1.25rem;
}

.testimonial-text {
  font-size: 1.0625rem;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.author-avatar {
  width: 52px;
  height: 52px;
  background: var(--gradient-primary);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 0 20px rgba(0, 255, 183, 0.3);
}

.author-name {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
}

.author-title {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* ================================
   PRICING
================================ */
.pricing-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.plan-card {
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(10, 10, 10, 0.8) 100%);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-base);
}

.plan-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
}

.plan-card.plan-featured {
  border: 2px solid var(--primary);
  background: linear-gradient(145deg, rgba(0, 255, 183, 0.1) 0%, rgba(0, 255, 183, 0.02) 100%);
  box-shadow:
    0 0 60px rgba(0, 255, 183, 0.15),
    inset 0 0 60px rgba(0, 255, 183, 0.05);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #000;
  padding: 0.375rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.plan-price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.125rem;
  margin-bottom: 2rem;
}

.plan-price .price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.plan-price .price-value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.plan-price .price-period {
  font-size: 0.875rem;
  color: var(--text-muted);
  align-self: flex-end;
  margin-bottom: 0.5rem;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex-grow: 1;
}

.plan-features li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-card .btn {
  margin-top: auto;
}

.price-currency {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.price-value {
  font-size: 5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 0.8;
  text-shadow: 0 0 40px rgba(0, 255, 183, 0.3);
}

.price-period {
  font-size: 1.125rem;
  color: var(--text-secondary);
  align-self: flex-end;
  margin-bottom: 0.75rem;
}
/* ================================
   CTA SECTION
================================ */
.cta-section {
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(0, 255, 183, 0.15) 0%, transparent 50%),
    var(--bg-dark);
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================
   FOOTER
================================ */
.footer {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #050505 100%);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-secondary);
  transition: var(--transition-base);
}

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

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg-dark);
  transform: translateY(-3px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  transition: var(--transition-fast);
}

.footer-col a:hover {
  color: var(--primary);
  padding-left: 0.5rem;
}

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

.footer-badges {
  display: flex;
  gap: 1rem;
}

.footer-store-badge img {
  height: 36px;
  width: auto;
  opacity: 0.7;
  transition: var(--transition-base);
}

.footer-store-badge:hover img {
  opacity: 1;
}

/* ================================
   ANIMATIONS
================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-right"] {
  transform: translateX(-30px);
}

[data-animate="fade-left"] {
  transform: translateX(30px);
}

[data-animate].animated {
  opacity: 1;
  transform: translate(0);
}

/* ================================
   MOBILE NAVIGATION
================================ */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    transition: var(--transition-base);
    border-left: 1px solid var(--border);
    z-index: 1000;
  }

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

  /* Close button styling when menu is active */
  .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(5px, -5px);
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 0.5rem 0;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
  }
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-grid.two-col {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .section-grid.reverse .section-visual {
    order: 0;
  }

  .steps-grid {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .step-card {
    flex: 1 1 calc(50% - 1rem);
    min-width: 200px;
  }

  .step-connector {
    display: none;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .pricing-plans {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 5rem 0 2rem;
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding: 0 1rem;
  }

  .hero-text {
    text-align: center;
    order: 2;
  }

  .hero-title {
    font-size: clamp(2.25rem, 12vw, 3rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-image {
    order: 1;
    margin-top: 0;
  }

  .hero-image-wrapper img {
    max-width: 40%;
    border-radius: 1rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .store-badges {
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .store-badge img {
    height: 36px;
  }

  .hero-stats-bar {
    top: 0.5rem;
  }

  .hero-stats {
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    border-radius: 100px;
  }

  .hero-stat {
    padding: 0 0.25rem;
  }

  .stat-value {
    font-size: 1rem;
  }

  .stat-label {
    font-size: 0.6rem;
  }

  .hero-stat-divider {
    display: none;
  }

  .hero-scroll {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    flex: 1 1 100%;
  }

  /* Footer mobile */
  .footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-top {
    gap: 2rem;
  }

  .footer-brand {
    text-align: center;
    align-items: center;
  }

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

  .footer-social {
    justify-content: center;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-col a {
    padding: 0.4rem 0;
  }

  .footer-col a:hover {
    padding-left: 0;
  }

  .footer-bottom {
    padding-top: 1.5rem;
  }

  .footer-badges {
    justify-content: center;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .section-grid.two-col {
    grid-template-columns: 1fr;
  }

  .section-grid.two-col.reverse {
    grid-template-columns: 1fr;
  }

  .section-grid.two-col.reverse .section-visual {
    order: 2;
  }

  .section-grid.two-col.reverse .section-content {
    order: 1;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.65rem;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-image-wrapper img {
    max-width: 100%;
  }

  .hero-stats {
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
  }

  .stat-value {
    font-size: 0.85rem;
  }

  .stat-label {
    font-size: 0.55rem;
  }

  .store-badges {
    flex-direction: row;
    justify-content: center;
    gap: 0.5rem;
  }

  .store-badge img {
    height: 32px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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