/* ========================================
   PaceMix Landing Page - Main Stylesheet
   ======================================== */

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

:root {
  /* Brand */
  --brand-orange: #F2A61D;
  --brand-orange-light: #f5b84d;
  --brand-orange-dark: #E08C2E;
  --brand-gradient: linear-gradient(135deg, #F2A61D, #E08C2E);

  /* Sport colors */
  --sport-running: #5E9EF5;
  --sport-walking: #9BCE64;
  --sport-hiit: #FAA84C;

  /* Backgrounds */
  --bg-dark: #1C1C1E;
  --bg-darker: #141415;
  --bg-card: #2C2C2E;
  --bg-card-hover: #3A3A3C;
  --bg-elevated: #38383A;

  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-tertiary: rgba(255, 255, 255, 0.45);

  /* Glass */
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);

  /* Sizes */
  --nav-height: 72px;
  --section-padding: 100px;
  --container-width: 1200px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text',
               'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(20, 20, 21, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--glass-border);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-img {
  height: 28px;
  filter: invert(1);
  mix-blend-mode: screen;
  transition: opacity 0.2s;
}

.nav-logo-img:hover {
  opacity: 0.8;
}

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

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

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

.nav-link-cta {
  background: var(--brand-orange);
  color: white !important;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.nav-link-cta:hover {
  background: var(--brand-orange-light);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

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

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

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

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 50%;
  right: 25%;
  transform: translate(50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(242, 166, 29, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - var(--nav-height));
  padding: 40px 0;
}

.hero-tagline {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-orange);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-phone {
  display: flex;
  justify-content: center;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--brand-gradient);
  color: white;
  box-shadow: 0 4px 20px rgba(242, 166, 29, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(242, 166, 29, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--glass-border);
}

.btn-ghost:hover {
  background: var(--glass);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* === IPHONE FRAME === */
.iphone-frame {
  position: relative;
  width: 280px;
  aspect-ratio: 9 / 19.2;
  border-radius: 44px;
  background: #000;
  padding: 10px;
  box-shadow:
    inset 0 0 0 1.5px #333,
    0 25px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(242, 166, 29, 0.06);
  flex-shrink: 0;
}

.iphone-frame.iphone-small {
  width: 220px;
  border-radius: 36px;
  padding: 8px;
}

.iphone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

.iphone-small .iphone-notch {
  width: 70px;
  height: 20px;
  top: 8px;
}

.iphone-screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: var(--bg-dark);
}

.iphone-small .iphone-screen {
  border-radius: 30px;
}

/* === MOCKUP SHARED === */
.mockup-screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  color: white;
  font-size: 13px;
}

.mockup-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px 4px;
  font-size: 12px;
  font-weight: 600;
  color: white;
  flex-shrink: 0;
}

.iphone-small .mockup-status-bar {
  padding: 10px 14px 2px;
  font-size: 10px;
}

.mockup-status-icons {
  display: flex;
  gap: 4px;
  align-items: center;
  color: white;
}

.mockup-content {
  flex: 1;
  padding: 8px 16px;
  overflow: hidden;
}

.iphone-small .mockup-content {
  padding: 6px 12px;
}

.mockup-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.iphone-small .mockup-title {
  font-size: 14px;
  margin-bottom: 8px;
}

.mockup-subtitle {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* === MOCKUP TAB BAR === */
.mockup-tab-bar {
  display: flex;
  justify-content: space-around;
  padding: 6px 0 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  background: var(--bg-dark);
}

.mockup-tab-bar.mini {
  padding: 4px 0 10px;
}

.mockup-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 9px;
  color: var(--text-tertiary);
}

.mockup-tab.active {
  color: var(--brand-orange);
}

/* === SPORT CARDS (mockup) === */
.sport-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--bg-card);
  border-radius: 14px;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.sport-card.mini {
  padding: 10px;
  gap: 8px;
  border-radius: 10px;
  margin-bottom: 6px;
}

.sport-card-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}

.sport-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sport-card-icon.mini {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.sport-card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sport-card-name {
  font-weight: 600;
  font-size: 15px;
}

.mini .sport-card-name {
  font-size: 12px;
}

.sport-card-range {
  font-size: 12px;
  color: var(--text-secondary);
}

.mini .sport-card-range {
  font-size: 10px;
}

.sport-card-chevron {
  flex-shrink: 0;
}

/* === MOCKUP HOME (playlists) === */
.mockup-home-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.mockup-cadence-banner {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(242, 166, 29, 0.15);
  border: 1px solid rgba(242, 166, 29, 0.3);
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 11px;
  color: var(--brand-orange-light);
}

.mockup-playlist-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: var(--bg-card);
  border-radius: 10px;
  margin-bottom: 6px;
}

.mockup-cover {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}

.mockup-cover-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  flex-shrink: 0;
}

.mockup-playlist-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mockup-playlist-name {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-playlist-detail {
  font-size: 10px;
  color: var(--text-tertiary);
}

.mockup-bpm-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  color: white;
  flex-shrink: 0;
}

/* === MOCKUP PLAYER === */
.mockup-player-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px !important;
  gap: 2px;
}

.mockup-album-cover {
  width: 65%;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.mockup-album-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mockup-track-title {
  font-size: 14px;
  font-weight: 600;
}

.iphone-small .mockup-track-title {
  font-size: 12px;
}

.mockup-track-artist {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.iphone-small .mockup-track-artist {
  font-size: 9px;
}

.mockup-bpm-display {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 4px 0;
}

.mockup-bpm-display.large {
  width: 100px;
  height: 100px;
}

.iphone-small .mockup-bpm-display {
  width: 64px;
  height: 64px;
}

.mockup-bpm-circle {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2.5px solid var(--brand-orange);
  border-radius: 50%;
  z-index: 1;
}

.mockup-bpm-number {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.mockup-bpm-display.large .mockup-bpm-number {
  font-size: 36px;
}

.iphone-small .mockup-bpm-number {
  font-size: 22px;
}

.mockup-bpm-label {
  font-size: 10px;
  color: var(--text-tertiary);
  font-weight: 600;
  text-transform: uppercase;
}

.mockup-bpm-ring {
  position: absolute;
  inset: -6px;
  border: 2px solid var(--brand-orange);
  border-radius: 50%;
  opacity: 0;
}

.mockup-bpm-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 6px 0;
}

.mockup-bpm-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: white;
}

.iphone-small .mockup-bpm-btn {
  width: 26px;
  height: 26px;
  font-size: 14px;
}

.mockup-bpm-adjust {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-orange);
  min-width: 32px;
  text-align: center;
}

.iphone-small .mockup-bpm-adjust {
  font-size: 11px;
}

.mockup-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: 8px;
}

.mockup-progress-fill {
  height: 100%;
  background: var(--brand-orange);
  border-radius: 2px;
}

.mockup-progress-times {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 10px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.mockup-playback-controls {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
}

.iphone-small .mockup-playback-controls {
  gap: 16px;
  margin-top: 4px;
}

.mockup-play-btn {
  width: 48px;
  height: 48px;
  background: var(--brand-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iphone-small .mockup-play-btn {
  width: 38px;
  height: 38px;
}

.iphone-small .mockup-play-btn svg {
  width: 18px;
  height: 18px;
}

/* === MOCKUP CADENCE === */
.mockup-cadence-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 24px !important;
}

.mockup-cadence-circle {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 16px 0;
}

.cadence-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cadence-value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cadence-number {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.cadence-unit {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.mockup-cadence-suggestion {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 10px;
  font-size: 13px;
  margin-top: 8px;
}

/* === MOCKUP GAMIFICATION === */
.mockup-streak-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: var(--bg-card);
  border-radius: 16px;
  margin-bottom: 12px;
}

.mockup-streak-flame {
  font-size: 36px;
  margin-bottom: 4px;
}

.mockup-streak-number {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: var(--brand-orange);
}

.mockup-streak-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.mockup-streak-best {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-tertiary);
}

.mockup-section-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mockup-week-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.mockup-day-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  background: var(--bg-card);
  color: var(--text-tertiary);
}

.mockup-day-dot.active {
  background: var(--brand-orange);
  color: white;
}

.mockup-day-dot.today {
  background: transparent;
  border: 2px solid var(--brand-orange);
  color: var(--brand-orange);
}

/* === MOCKUP CHALLENGES === */
.mockup-challenge-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--bg-card);
  border-radius: 12px;
  margin-bottom: 6px;
}

.mockup-challenge-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mockup-challenge-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mockup-challenge-name {
  font-size: 12px;
  font-weight: 600;
}

.mockup-challenge-desc {
  font-size: 10px;
  color: var(--text-tertiary);
}

.mockup-progress-mini {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  width: 100%;
}

.mockup-progress-mini-fill {
  height: 100%;
  background: var(--brand-orange);
  border-radius: 2px;
}

/* === STATS BAR === */
.stats-bar {
  padding: 32px 0;
  background: var(--bg-darker);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(242, 166, 29, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-text {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 20px;
  font-weight: 700;
}

.stat-label {
  font-size: 13px;
  color: var(--text-tertiary);
}

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

/* === SECTION HEADERS === */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-orange);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.section-title {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  margin-top: 16px;
  line-height: 1.7;
  max-width: 520px;
}

.section-desc-center {
  font-size: 17px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 520px;
  margin: 16px auto 0;
  line-height: 1.7;
}

/* === HOW IT WORKS === */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: white;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 280px;
  line-height: 1.6;
}

.step-badges {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.badge {
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: color-mix(in srgb, var(--badge-color) 20%, transparent);
  color: var(--badge-color);
  border: 1px solid color-mix(in srgb, var(--badge-color) 30%, transparent);
}

/* === SPLIT LAYOUT === */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-layout.reverse {
  direction: rtl;
}

.split-layout.reverse > * {
  direction: ltr;
}

.split-visual {
  display: flex;
  justify-content: center;
}

/* === BPM DEMO === */
.bpm-demo {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 32px 0 12px;
}

.bpm-demo-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.bpm-demo-btn.minus {
  background: rgba(94, 158, 245, 0.15);
  color: var(--sport-running);
  border: 1.5px solid rgba(94, 158, 245, 0.3);
}

.bpm-demo-btn.minus:hover {
  background: rgba(94, 158, 245, 0.25);
}

.bpm-demo-btn.plus {
  background: rgba(242, 166, 29, 0.15);
  color: var(--brand-orange);
  border: 1.5px solid rgba(242, 166, 29, 0.3);
}

.bpm-demo-btn.plus:hover {
  background: rgba(242, 166, 29, 0.25);
}

.bpm-demo-display {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bpm-demo-number {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: color 0.2s;
}

.bpm-demo-label {
  font-size: 14px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.bpm-demo-hint {
  font-size: 13px;
  color: var(--text-tertiary);
  font-style: italic;
}

.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(242, 166, 29, 0.1);
  border: 1px solid rgba(242, 166, 29, 0.2);
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 20px;
}

/* === BENEFITS FLOW === */
.benefits-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 80px;
  padding: 48px 0;
  flex-wrap: wrap;
}

.benefit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 20px;
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  min-width: 160px;
  max-width: 200px;
}

.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--glass);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.benefit-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.benefit-card p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.benefit-arrow {
  display: flex;
  align-items: center;
}

/* === SPORTS TABS === */
.sport-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.sport-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  background: var(--bg-card);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  color: var(--text-secondary);
}

.sport-tab.active {
  border-color: var(--tab-color);
  color: var(--text-primary);
  background: color-mix(in srgb, var(--tab-color) 10%, var(--bg-card));
}

.sport-tab:hover {
  background: var(--bg-card-hover);
}

.sport-tab-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.sport-content-wrapper {
  position: relative;
}

.sport-content {
  display: none;
}

.sport-content.active {
  display: block;
}

.sport-content-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.sport-bpm-range {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.bpm-range-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.bpm-range-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.bpm-range-fill {
  width: 100%;
  height: 100%;
  background: var(--range-color);
  border-radius: 3px;
}

.sport-content-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.sport-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sport-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.sport-features-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-orange);
  flex-shrink: 0;
}

/* === CADENCE SECTION === */
.cadence-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.cadence-step {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--text-secondary);
}

.cadence-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: white;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* === GAMIFICATION === */
.gamification-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  justify-items: center;
  margin-top: 48px;
}

/* === PRICING === */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  padding: 36px;
  background: var(--bg-card);
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--brand-orange);
  box-shadow: 0 0 40px rgba(242, 166, 29, 0.1);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--brand-gradient);
  color: white;
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 24px;
}

.pricing-price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.pricing-features li.excluded {
  color: var(--text-tertiary);
}

.pricing-note {
  font-size: 12px;
  color: var(--text-tertiary);
  text-align: center;
  margin-top: 12px;
}

/* === DOWNLOAD === */
.download-section {
  text-align: center;
  padding-bottom: 60px;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.download-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.download-icon {
  width: 120px;
  height: 120px;
  border-radius: 26%;
  margin-bottom: 28px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: #000;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  margin-top: 28px;
  transition: all 0.2s;
  cursor: pointer;
}

.app-store-btn:hover {
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.app-store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.app-store-small {
  font-size: 10px;
  color: var(--text-secondary);
  line-height: 1;
}

.app-store-big {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.coming-soon-tooltip {
  display: none;
  margin-top: 12px;
  padding: 8px 20px;
  background: var(--bg-card);
  border-radius: 10px;
  font-size: 14px;
  color: var(--brand-orange);
  border: 1px solid rgba(242, 166, 29, 0.3);
}

.coming-soon-tooltip.visible {
  display: block;
}

/* === FOOTER === */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--glass-border);
  background: var(--bg-darker);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  height: 22px;
  filter: invert(1);
  mix-blend-mode: screen;
  opacity: 0.5;
}

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

.footer-links a {
  font-size: 13px;
  color: var(--text-tertiary);
  transition: color 0.2s;
}

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

.footer-contact {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.footer-contact a {
  color: var(--brand-orange);
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-copyright {
  font-size: 12px;
  color: var(--text-tertiary);
}

.footer-apple {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.2);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .hero-title {
    font-size: 48px;
  }

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

  .iphone-frame {
    width: 260px;
  }

  .iphone-frame.iphone-small {
    width: 200px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 48px;
    --nav-height: 64px;
  }

  /* --- Navbar --- */
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(20, 20, 21, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--glass-border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    padding: 12px 0;
  }

  .nav-link-cta {
    width: fit-content;
    margin-top: 8px;
  }

  .nav-hamburger {
    display: flex;
  }

  /* --- Hero (compacter) --- */
  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
    min-height: auto;
    padding: 32px 0 24px;
  }

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

  .hero-subtitle {
    margin: 0 auto 24px;
    font-size: 16px;
  }

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

  .hero-glow {
    right: 50%;
    top: 60%;
    width: 300px;
    height: 300px;
  }

  /* --- Section headers (smaller margins) --- */
  .section-header {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-desc,
  .section-desc-center {
    font-size: 15px;
    margin-top: 12px;
  }

  .section-label {
    font-size: 12px;
    margin-bottom: 8px;
  }

  /* --- Stats bar (compacter) --- */
  .stats-bar {
    padding: 24px 0;
  }

  .stats-grid {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 50px;
    height: 1px;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .stat-number {
    font-size: 18px;
  }

  /* --- iPhone mockups (smaller) --- */
  .iphone-frame {
    width: 200px;
    border-radius: 36px;
  }

  .iphone-frame.iphone-small {
    width: 170px;
    border-radius: 30px;
  }

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

  .step-number {
    width: 34px;
    height: 34px;
    font-size: 16px;
    margin-bottom: 14px;
  }

  .step-title {
    font-size: 18px;
    margin-top: 14px;
    margin-bottom: 6px;
  }

  .step-desc {
    font-size: 13px;
  }

  .step-badges {
    margin-top: 12px;
  }

  /* --- Split layouts (tighter) --- */
  .split-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .split-layout.reverse {
    direction: ltr;
  }

  .split-text {
    order: 1;
  }

  .split-visual {
    order: 0;
  }

  /* --- BPM Demo (compact) --- */
  .bpm-demo {
    margin: 24px 0 8px;
    gap: 20px;
  }

  .bpm-demo-number {
    font-size: 44px;
  }

  .bpm-demo-btn {
    width: 44px;
    height: 44px;
  }

  .premium-badge {
    margin-top: 14px;
    font-size: 12px;
    padding: 6px 12px;
  }

  /* --- Benefits flow (much more compact) --- */
  .benefits-flow {
    flex-direction: column;
    gap: 8px;
    margin-top: 40px;
    padding: 24px 0;
  }

  .benefit-arrow {
    display: none;
  }

  .benefit-card {
    flex-direction: row;
    text-align: left;
    min-width: auto;
    max-width: 100%;
    width: 100%;
    padding: 14px 18px;
    gap: 14px;
    border-radius: 14px;
  }

  .benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

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

  .benefit-card h4 {
    font-size: 14px;
    margin-bottom: 2px;
  }

  .benefit-card p {
    font-size: 11px;
    line-height: 1.4;
  }

  /* --- Sport tabs (compact) --- */
  .sport-tabs {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
  }

  .sport-tab {
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 12px;
  }

  .sport-tab-icon {
    width: 24px;
    height: 24px;
  }

  .sport-content-title {
    font-size: 24px;
  }

  .sport-content-desc {
    font-size: 14px;
  }

  .sport-features-list li {
    font-size: 13px;
  }

  /* --- Cadence section --- */
  .cadence-steps {
    gap: 12px;
    margin-top: 20px;
  }

  .cadence-step {
    font-size: 14px;
  }

  .cadence-step-num {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  /* --- Gamification (tighter) --- */
  .gamification-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }

  /* --- Pricing (compact cards) --- */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    gap: 16px;
  }

  .pricing-card {
    padding: 28px;
    border-radius: 20px;
  }

  .pricing-name {
    font-size: 20px;
  }

  .pricing-price {
    font-size: 34px;
    margin-bottom: 20px;
  }

  .pricing-features {
    gap: 10px;
    margin-bottom: 24px;
  }

  .pricing-features li {
    font-size: 13px;
  }

  /* --- Download section (compact) --- */
  .download-section {
    padding-bottom: 40px;
  }

  .download-icon {
    width: 88px;
    height: 88px;
    margin-bottom: 20px;
  }

  .app-store-btn {
    margin-top: 20px;
  }

  /* --- Footer (compact) --- */
  .footer {
    padding: 32px 0;
  }

  .footer-content {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 40px;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .section-title {
    font-size: 26px;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .iphone-frame {
    width: 180px;
    border-radius: 32px;
    padding: 8px;
  }

  .iphone-frame.iphone-small {
    width: 150px;
    border-radius: 26px;
    padding: 6px;
  }

  .iphone-small .iphone-screen {
    border-radius: 22px;
  }

  .iphone-screen {
    border-radius: 26px;
  }

  .hero-grid {
    gap: 20px;
    padding: 24px 0 20px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
    font-size: 15px;
  }

  .steps-grid {
    gap: 28px;
  }

  .split-layout {
    gap: 24px;
  }

  .benefits-flow {
    margin-top: 32px;
    gap: 6px;
  }

  .benefit-card {
    padding: 12px 14px;
  }

  .gamification-grid {
    gap: 20px;
    margin-top: 24px;
  }

  .pricing-card {
    padding: 24px;
  }

  .bpm-demo-number {
    font-size: 38px;
  }

  .bpm-demo-btn {
    width: 40px;
    height: 40px;
  }

  .sport-content-title {
    font-size: 22px;
  }
}

/* === PREFERS REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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