/* EdgePlay.Ai Landing Page CSS */
/* Theme: Live Sports Broadcast (Crisp Whites, Turf Greens, Athletic Typography) */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --font-athletic: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --font-telemetry: 'Montserrat', sans-serif;

  /* Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-light: #64748b;
  
  --turf-green: #22c55e;
  --turf-green-dark: #15803d;
  --turf-green-light: #bbf7d0;
  --turf-green-glow: rgba(34, 197, 94, 0.4);
  
  --coal: #090d16;
  --coal-light: #151d30;
  
  --border-color: #e2e8f0;
  --border-dark: #334155;
  
  --broadcast-red: #ef4444;
  --broadcast-red-glow: rgba(239, 68, 68, 0.4);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* Typography & General Layout Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-athletic);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-weight: 800;
  line-height: 1;
}

.text-gradient {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--turf-green-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-white {
  background: linear-gradient(135deg, #ffffff 60%, var(--turf-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-athletic);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.badge-live {
  border-color: var(--broadcast-red);
  color: var(--broadcast-red);
  background: rgba(239, 68, 68, 0.05);
}

.badge-live::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--broadcast-red);
  animation: pulse 1.5s infinite;
}

.badge-green {
  border-color: var(--turf-green);
  color: var(--turf-green-dark);
  background: rgba(34, 197, 94, 0.08);
}

/* Buttons */
.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-athletic);
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--turf-green);
  color: var(--coal);
  border: 2px solid var(--turf-green);
}

.btn-primary:hover {
  background-color: var(--turf-green-dark);
  border-color: var(--turf-green-dark);
  color: #ffffff;
  box-shadow: 0 10px 20px -10px var(--turf-green-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--text-primary);
}

.btn-secondary:hover {
  background-color: var(--text-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--coal);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
}

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

header.scrolled .nav-container {
  padding: 0.5rem 2rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-link img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-athletic);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.logo-text span {
  color: var(--turf-green-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-family: var(--font-athletic);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--turf-green-dark);
}

/* Hero Section (The Kick-off) */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 5rem 2rem;
  background-color: var(--bg-secondary);
  overflow: hidden;
}

/* Simulated broadcast scanlines & grids */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(226, 232, 240, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 232, 240, 0.5) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(34, 197, 94, 0.08) 0%, transparent 60%);
  z-index: 1;
}

.hero-grid {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 520px;
  font-weight: 400;
  line-height: 1.5;
}

/* Bowler Visual with Subtle Telemetry Overlay */
.hero-visual {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: 8px;
  background-color: var(--coal);
  border: 1px solid var(--border-dark);
  box-shadow: 0 25px 50px -12px rgba(9, 13, 22, 0.25);
  overflow: hidden;
}

.hero-image-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/sports-analytics.png?v=1.1.4');
  background-size: cover;
  background-position: center;
  opacity: 0.85;
}

/* Telemetry scanlines & frames on Bowler */
.hero-overlay-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.2) 50%
  );
  background-size: 100% 4px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.3;
}

.hero-telemetry {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 1.5rem;
  pointer-events: none;
  font-family: var(--font-telemetry);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.telemetry-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.telemetry-item {
  background: rgba(9, 13, 22, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.telemetry-item span {
  color: var(--turf-green);
  font-weight: 700;
}

.telemetry-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.telemetry-radar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 1px solid rgba(34, 197, 94, 0.3);
  position: relative;
  background: rgba(34, 197, 94, 0.03);
}

.telemetry-radar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--turf-green);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px var(--turf-green);
}

.telemetry-radar-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(34, 197, 94, 0.15) 0deg, transparent 90deg);
  animation: sweep 4s linear infinite;
}

.telemetry-reticle {
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 1px dashed var(--turf-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.telemetry-reticle::after {
  content: 'TRACKING...';
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.55rem;
  color: var(--turf-green);
  white-space: nowrap;
  font-weight: bold;
}

.telemetry-digital-readout {
  text-align: right;
}

.telemetry-digital-readout .metric-num {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
}

.telemetry-digital-readout .metric-lbl {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

/* Corner brackets for HUD feel */
.hud-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  z-index: 3;
}
.hud-tl { top: 1rem; left: 1rem; border-right: none; border-bottom: none; }
.hud-tr { top: 1rem; right: 1rem; border-left: none; border-bottom: none; }
.hud-bl { bottom: 1rem; left: 1rem; border-right: none; border-top: none; }
.hud-br { bottom: 1rem; right: 1rem; border-left: none; border-top: none; }

.champions {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 3.5rem 2rem;
}

.champions-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.champions-title {
  font-family: var(--font-athletic);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.champions-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  flex-wrap: wrap;
}

.champions-logos img {
  height: 150px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: all 0.3s;
}

.champions-logos img:hover {
  transform: scale(1.05);
}


/* Section Header Styles */
.section {
  padding: 7rem 2rem;
}

.section-alt {
  background-color: var(--bg-secondary);
}

.section-dark {
  background-color: var(--coal);
  color: #ffffff;
}

.section-header {
  max-width: 680px;
  margin: 0 auto 4rem auto;
  text-align: center;
}

.section-subtitle-badge {
  margin-bottom: 1rem;
}

.section-title {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 1rem;
}

.section-dark .section-title {
  color: #ffffff;
}

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

.section-dark .section-desc {
  color: #94a3b8;
}

/* Product Videos (See It In Action) */
.videos-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.video-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: var(--turf-green-light);
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  background-color: #000000;
  overflow: hidden;
}

.video-element {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-placeholder-preview {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Visual standins for video thumbnails */
.preview-trajectory {
  background: linear-gradient(135deg, rgba(9, 13, 22, 0.7) 0%, rgba(21, 29, 48, 0.7) 100%), url('assets/images/hero-bg.png');
  background-size: cover;
  background-position: center;
}

.preview-ultraedge {
  background: linear-gradient(135deg, rgba(9, 13, 22, 0.7) 0%, rgba(21, 29, 48, 0.7) 100%), url('assets/images/cricket-bg.png');
  background-size: cover;
  background-position: center;
}

.preview-impact {
  background: linear-gradient(135deg, rgba(9, 13, 22, 0.7) 0%, rgba(21, 29, 48, 0.7) 100%), url('assets/images/cricket-bg.png');
  background-size: cover;
  background-position: bottom center;
}

.video-card:hover .video-element {
  transform: scale(1.05);
}

/* Broadcast Overlay elements inside video preview */
.video-broadcast-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1rem;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--font-telemetry);
  color: #ffffff;
}

.overlay-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
}

.cam-badge {
  background: rgba(9, 13, 22, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.5rem;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

.cam-badge span {
  color: var(--turf-green);
  font-weight: bold;
}

.rec-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(9, 13, 22, 0.8);
  padding: 0.25rem 0.5rem;
  border-radius: 2px;
  font-size: 0.65rem;
}

.rec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--broadcast-red);
  animation: pulse 1s infinite;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.video-play-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--coal);
  margin-left: 4px;
  transition: fill 0.3s;
}

.video-card:hover .video-play-btn {
  background-color: var(--turf-green);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 10px 25px -5px var(--turf-green-glow);
}

.video-card:hover .video-play-btn svg {
  fill: var(--coal);
}

.video-play-btn:active {
  transform: translate(-50%, -50%) scale(0.95);
}

.video-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

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

/* Playback state classes */
.video-card.playing .video-placeholder-preview,
.video-card.playing .video-broadcast-overlay,
.video-card.playing .video-play-btn {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Playbook (Core Features) */
.playbook-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.playbook-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2.5rem;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s;
}

.playbook-card:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(34, 197, 94, 0.3);
  transform: translateY(-4px);
}

.playbook-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  background-color: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--turf-green);
}

.playbook-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.playbook-card-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
}

.playbook-card-desc {
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* MetaCoach (Split Screen for Athletes) */
.metacoach-split {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Right side: Copy/Description panel styling */
.metacoach-content-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.metacoach-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}



/* Left side: Phone Mockup Container (Always Straight) */
.metacoach-phone-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 580px;
  position: relative;
}

.phone-mockup-wrapper-3d {
  /* Constant static position */
}

/* Phone body styled flat and straight */
.phone-mockup-3d {
  width: 250px;
  height: 460px;
  border: 11px solid #f97316;
  border-radius: 36px;
  background-color: #f97316;
  position: relative;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), inset 0 0 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(1.15);
  transform-origin: center center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-mockup-3d:hover {
  transform: scale(1.18);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.45);
}

.phone-3d-notch {
  width: 100px;
  height: 18px;
  background-color: #f97316;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}

.phone-3d-screen {
  flex-grow: 1;
  padding: 2.25rem 0.75rem 0.75rem 0.75rem;
  background-color: var(--coal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--font-telemetry);
  color: #ffffff;
}

.phone-3d-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Tab Bar Navigation */
.phone-tab-bar {
  display: flex;
  gap: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}

.phone-tab-btn {
  flex: 1;
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  font-family: var(--font-athletic);
  font-size: 0.75rem; /* Larger, readable tab buttons */
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.35rem 0;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.phone-tab-btn:hover {
  color: #ffffff;
}

.phone-tab-btn.active {
  background: rgba(249, 115, 22, 0.15);
  color: #ffffff;
  border-color: rgba(249, 115, 22, 0.3);
}

/* Tab contents */
.phone-tab-content {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

.phone-tab-content.active {
  display: flex;
}

/* Analytics Content */
.phone-stats-card {
  background: var(--coal-light);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.phone-stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
  padding-bottom: 0.35rem;
}

.phone-stats-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.phone-stats-lbl {
  font-size: 0.7rem; /* Enlarged metric labels */
  color: rgba(255, 255, 255, 0.4);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.phone-stats-val {
  font-size: 1.25rem; /* Enlarged telemetry numbers */
  font-weight: 700;
  color: #ffffff;
}

.phone-stats-val span {
  font-size: 0.75rem;
  color: var(--turf-green);
  margin-left: 0.1rem;
  font-weight: 500;
  text-transform: lowercase;
}

.phone-graph-box {
  background: var(--coal-light);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.phone-graph-header {
  font-family: var(--font-athletic);
  font-size: 0.75rem; /* Enlarged header text */
  color: rgba(255, 255, 255, 0.4);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.phone-graph-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 90px;
  padding-top: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.graph-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 13%;
  height: 100%;
  justify-content: flex-end;
}

.graph-bar-val {
  height: 0%;
  width: 100%;
  background: linear-gradient(to top, var(--turf-green-dark), var(--turf-green));
  border-radius: 2px;
  transition: height 0.6s ease-in-out;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.25);
}

.graph-bar-lbl {
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 600;
}

.phone-alert-box {
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 8px;
  padding: 0.5rem;
  font-size: 0.75rem; /* Enlarged status box text */
  color: var(--turf-green-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.phone-alert-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--turf-green);
  animation: pulse 1.5s infinite;
  flex-shrink: 0;
}

/* Slider Box Styling inside Phone */
.phone-slider-box {
  background: var(--coal-light);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.phone-slider-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-telemetry);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 700;
  text-transform: uppercase;
}

.phone-slider-header span:last-child {
  color: var(--turf-green);
}

.phone-slider-wrapper {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

#slider-play-pause-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  outline: none;
}

#slider-play-pause-btn:hover {
  transform: scale(1.2);
  color: var(--turf-green);
}

.phone-slider {
  flex-grow: 1;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.1);
  height: 4px;
  border-radius: 2px;
  outline: none;
}

.phone-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f97316;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(249, 115, 22, 0.5);
  transition: transform 0.2s;
}

.phone-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
  background: #ff8c3a;
}

/* Chatbot Screen Content */
.phone-chat-history {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  height: 220px;
  overflow-y: auto;
  padding: 0.25rem 0.1rem;
  scroll-behavior: smooth;
}

/* Custom Scrollbar for Phone Chat */
.phone-chat-history::-webkit-scrollbar {
  width: 4px;
}
.phone-chat-history::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
.phone-chat-history::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.chat-bubble {
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem; /* Enlarged chatbot bubbles text */
  line-height: 1.35;
  max-width: 88%;
  font-weight: 600;
  font-family: var(--font-body);
  word-wrap: break-word;
}

.chat-bubble.coach {
  background-color: var(--coal-light);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}

.chat-bubble.user {
  background-color: #f97316;
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.2);
}

.chat-bubble.typing {
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
  align-self: flex-start;
  background-color: transparent;
  border: none;
  font-weight: 500;
}

.phone-chat-quick-replies {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.chat-quick-reply-btn {
  background: transparent;
  border: 1px solid rgba(249, 115, 22, 0.4);
  border-radius: 16px;
  padding: 0.4rem 0.5rem;
  color: #f97316;
  font-family: var(--font-body);
  font-size: 0.75rem; /* Enlarged quick replies text */
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s;
}

.chat-quick-reply-btn:hover {
  background: rgba(249, 115, 22, 0.08);
  border-color: #f97316;
  color: #ff8c3a;
}

.chat-quick-reply-btn:disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* Phone Screen Footer */
.phone-3d-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.7rem; /* Enlarged footer status text */
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.4rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: auto;
}

.phone-3d-home-btn {
  width: 28px;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.35);
  border-radius: 3px;
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
}


/* MetaCoach Features List */
.metacoach-features {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-marker {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--turf-green);
  line-height: 1.2;
  flex-shrink: 0;
}

.feature-details {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.feature-title {
  font-family: var(--font-athletic);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.feature-desc {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.5;
}


/* Video Popups / Modals */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background-color: rgba(9, 13, 22, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

.video-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16/9;
  background: #000000;
  border: 1px solid var(--border-dark);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  overflow: hidden;
}

.video-modal-close {
  position: absolute;
  top: -3rem;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-family: var(--font-athletic);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.video-modal-close:hover {
  color: var(--turf-green);
}

.video-modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Final Whistle (Footer Section) */
.footer-cta {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
}

.footer-cta-container {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-cta-title {
  font-size: 3.75rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 0.95;
}

.footer-cta-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

footer {
  background-color: var(--coal);
  color: #ffffff;
  border-top: 1px solid var(--border-dark);
  padding: 4rem 2rem 2.5rem 2rem;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto 3rem auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo img {
  height: 32px;
  width: auto;
}

.footer-logo-text {
  font-family: var(--font-athletic);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.footer-logo-text span {
  color: var(--turf-green);
}

.footer-desc {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 380px;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contacts-title {
  font-family: var(--font-athletic);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.contact-link:hover {
  color: var(--turf-green);
}

.contact-link svg {
  width: 18px;
  height: 18px;
  color: var(--turf-green);
}

.footer-links-title {
  font-family: var(--font-athletic);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

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

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background-color: var(--coal-light);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.3s;
}

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

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

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: #94a3b8;
}

/* Animations Keyframes */
@keyframes sweep {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    opacity: 0.7;
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    opacity: 1;
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    opacity: 0.7;
  }
}



@keyframes strokeWalk {
  to {
    stroke-dashoffset: -80;
  }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
  .hero-grid {
    gap: 2rem;
  }
  .hero-visual {
    height: 440px;
  }
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .playbook-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .playbook-grid .playbook-card:last-child {
    grid-column: span 2;
  }
  .metacoach-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto;
  }
  .btn-group {
    justify-content: center;
  }
  .hero-visual {
    height: 380px;
    max-width: 500px;
    margin: 0 auto;
  }
  .nav-links {
    display: none; /* simple hidden links for premium feel on mobile, can toggle */
  }
  .champions-container {
    justify-content: center;
    text-align: center;
  }
  .champions-logos {
    justify-content: center;
    gap: 2rem;
  }
  .section-title {
    font-size: 2.5rem;
  }
  .videos-grid, .playbook-grid {
    grid-template-columns: 1fr;
  }
  .playbook-grid .playbook-card:last-child {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .footer-cta-title {
    font-size: 2.75rem;
  }
}

/* Contact Modal Form Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(8px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background-color: var(--coal-light);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  width: 100%;
  max-width: 580px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  z-index: 15;
}

.modal-close-btn:hover {
  color: #ffffff;
}

.modal-header {
  margin-bottom: 2rem;
  text-align: center;
}

.modal-title {
  font-family: var(--font-athletic);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.modal-subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.5;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.form-group-row {
  display: flex;
  gap: 1.25rem;
}

@media (max-width: 560px) {
  .form-group-row {
    flex-direction: column;
    gap: 1.25rem;
  }
}

.form-label {
  font-family: var(--font-athletic);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #ffffff;
  outline: none;
  transition: all 0.3s;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-control:focus {
  border-color: var(--turf-green);
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.15);
}

textarea.form-control {
  resize: vertical;
}

.form-submit-btn {
  margin-top: 0.5rem;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 700;
}

/* Success Overlay State */
.modal-success-overlay {
  position: absolute;
  inset: 0;
  background-color: var(--coal-light);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-success-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.success-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(34, 197, 94, 0.1);
  border: 2.5px solid var(--turf-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--turf-green);
  margin-bottom: 1.5rem;
}

.modal-success-overlay.active .success-icon-wrapper {
  animation: scaleUpIcon 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

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

.success-title {
  font-family: var(--font-athletic);
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.success-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 420px;
}

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