/* ==========================================================================
   WOD X Mobile App - Modern Fitness Design System
   Exact tokens mapped from Color.kt & Theme.kt
   Typography System: Inter (Headings), Archivo (Body), JetBrains Mono (Metrics)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400..700;1,400..700&family=Inter:wght@400..900&family=JetBrains+Mono:wght@400..800&display=swap');

/* --- Light Scheme Root Variables (Default) --- */
:root {
  /* Brand Tokens */
  --icon-foreground: #191D10;
  --icon-background: #EBE7E7;
  --brand-logo: #191D10;

  /* Material 3 Light Color Scheme */
  --md-sys-color-primary: #4E6700;
  --md-sys-color-on-primary: #FFFFFF;
  --md-sys-color-primary-container: #C6FF00;
  --md-sys-color-on-primary-container: #587300;
  --md-sys-color-secondary: #5A5E6C;
  --md-sys-color-on-secondary: #FFFFFF;
  --md-sys-color-secondary-container: #8E91A1;
  --md-sys-color-on-secondary-container: #272A37;
  --md-sys-color-tertiary: #006875;
  --md-sys-color-on-tertiary: #FFFFFF;
  --md-sys-color-tertiary-container: #00E5FF;
  --md-sys-color-on-tertiary-container: #00626E;
  --md-sys-color-error: #BA002C;
  --md-sys-color-on-error: #FFFFFF;
  --md-sys-color-error-container: #E9003A;
  --md-sys-color-on-error-container: #FFFBFF;
  --md-sys-color-background: #F8FBE5;
  --md-sys-color-on-background: #191D10;
  --md-sys-color-surface: #FDF8F8;
  --md-sys-color-on-surface: #1C1B1C;
  --md-sys-color-surface-variant: #E4E1E7;
  --md-sys-color-on-surface-variant: #47464B;
  --md-sys-color-outline: #78767C;
  --md-sys-color-outline-variant: #C8C5CB;
  --md-sys-color-scrim: #000000;
  --md-sys-color-inverse-surface: #313031;
  --md-sys-color-inverse-on-surface: #F4F0F0;
  --md-sys-color-inverse-primary: #A6D700;
  --md-sys-color-surface-dim: #DDD9D9;
  --md-sys-color-surface-bright: #FDF8F8;
  --md-sys-color-surface-container-lowest: #FFFFFF;
  --md-sys-color-surface-container-low: #F7F3F3;
  --md-sys-color-surface-container: #F1EDED;
  --md-sys-color-surface-container-high: #EBE7E7;
  --md-sys-color-surface-container-highest: #E5E1E2;

  /* Semantic UI Tokens */
  --bg-color: var(--md-sys-color-background);
  --text-main: var(--md-sys-color-on-background);
  --text-muted: var(--md-sys-color-on-surface-variant);
  --text-inverse: var(--md-sys-color-inverse-on-surface);
  --surface-main: var(--md-sys-color-surface);
  --surface-card: var(--md-sys-color-surface-container-lowest);
  --surface-card-hover: var(--md-sys-color-surface-container-low);
  --surface-elevated: #FFFFFF;
  --surface-input: #FFFFFF;
  --border-subtle: rgba(120, 118, 124, 0.22);
  --border-strong: var(--md-sys-color-outline-variant);

  /* Athletic Accents */
  --accent-volt: #C6FF00;
  --accent-volt-deep: #4E6700;
  --accent-volt-glow: rgba(198, 255, 0, 0.45);
  --accent-cyan: #00E5FF;
  --accent-cyan-deep: #006875;
  --hero-glow: radial-gradient(circle at 50% 30%, rgba(198, 255, 0, 0.25) 0%, rgba(248, 251, 229, 0) 70%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(25, 29, 16, 0.05);
  --shadow-md: 0 8px 24px rgba(25, 29, 16, 0.08);
  --shadow-lg: 0 20px 48px rgba(25, 29, 16, 0.12);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.03);

  /* Nav Glass */
  --nav-bg: rgba(248, 251, 229, 0.88);
  --nav-border: rgba(120, 118, 124, 0.18);

  /* Typography Design System (Type.kt) */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

/* --- System Dark Scheme (Auto Detection) --- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --icon-foreground: #F5F5F9;
    --icon-background: #0F0F15;
    --brand-logo: #E1E4CF;

    /* Material 3 Dark Color Scheme */
    --md-sys-color-primary: #FFFFFF;
    --md-sys-color-on-primary: #273500;
    --md-sys-color-primary-container: #BEF500;
    --md-sys-color-on-primary-container: #536D00;
    --md-sys-color-secondary: #C3C6D7;
    --md-sys-color-on-secondary: #2C303D;
    --md-sys-color-secondary-container: #8E91A1;
    --md-sys-color-on-secondary-container: #272A37;
    --md-sys-color-tertiary: #C3F5FF;
    --md-sys-color-on-tertiary: #00363D;
    --md-sys-color-tertiary-container: #00E5FF;
    --md-sys-color-on-tertiary-container: #00626E;
    --md-sys-color-error: #FFB3B3;
    --md-sys-color-on-error: #680014;
    --md-sys-color-error-container: #FF525F;
    --md-sys-color-on-error-container: #3D0008;
    --md-sys-color-background: #111508;
    --md-sys-color-on-background: #E1E4CF;
    --md-sys-color-surface: #141314;
    --md-sys-color-on-surface: #E5E1E2;
    --md-sys-color-surface-variant: #47464B;
    --md-sys-color-on-surface-variant: #C8C5CB;
    --md-sys-color-outline: #929095;
    --md-sys-color-outline-variant: #47464B;
    --md-sys-color-scrim: #000000;
    --md-sys-color-inverse-surface: #E5E1E2;
    --md-sys-color-inverse-on-surface: #313031;
    --md-sys-color-inverse-primary: #4E6700;
    --md-sys-color-surface-dim: #141314;
    --md-sys-color-surface-bright: #3A3939;
    --md-sys-color-surface-container-lowest: #0E0E0E;
    --md-sys-color-surface-container-low: #1C1B1C;
    --md-sys-color-surface-container: #201F20;
    --md-sys-color-surface-container-high: #2B2A2A;
    --md-sys-color-surface-container-highest: #353435;

    /* Semantic UI Dark Tokens */
    --bg-color: var(--md-sys-color-background);
    --text-main: var(--md-sys-color-on-background);
    --text-muted: var(--md-sys-color-on-surface-variant);
    --text-inverse: var(--md-sys-color-inverse-on-surface);
    --surface-main: var(--md-sys-color-surface);
    --surface-card: var(--md-sys-color-surface-container-low);
    --surface-card-hover: var(--md-sys-color-surface-container);
    --surface-elevated: var(--md-sys-color-surface-container);
    --surface-input: var(--md-sys-color-surface-container-lowest);
    --border-subtle: rgba(146, 144, 149, 0.22);
    --border-strong: var(--md-sys-color-outline-variant);

    /* Athletic Accents Dark */
    --accent-volt: #BEF500;
    --accent-volt-deep: #BEF500;
    --accent-volt-glow: rgba(190, 245, 0, 0.35);
    --accent-cyan: #00E5FF;
    --accent-cyan-deep: #C3F5FF;
    --hero-glow: radial-gradient(circle at 50% 25%, rgba(190, 245, 0, 0.2) 0%, rgba(17, 21, 8, 0) 70%);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.75);
    --shadow-card: 0 6px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);

    --nav-bg: rgba(17, 21, 8, 0.88);
    --nav-border: rgba(146, 144, 149, 0.2);
  }
}

/* --- Explicit Dark Theme Overrides (via Toggle or Class) --- */
:root[data-theme="dark"],
.dark-theme,
body.dark-theme {
  --icon-foreground: #F5F5F9;
  --icon-background: #0F0F15;
  --brand-logo: #E1E4CF;

  --md-sys-color-primary: #FFFFFF;
  --md-sys-color-on-primary: #273500;
  --md-sys-color-primary-container: #BEF500;
  --md-sys-color-on-primary-container: #536D00;
  --md-sys-color-secondary: #C3C6D7;
  --md-sys-color-on-secondary: #2C303D;
  --md-sys-color-secondary-container: #8E91A1;
  --md-sys-color-on-secondary-container: #272A37;
  --md-sys-color-tertiary: #C3F5FF;
  --md-sys-color-on-tertiary: #00363D;
  --md-sys-color-tertiary-container: #00E5FF;
  --md-sys-color-on-tertiary-container: #00626E;
  --md-sys-color-error: #FFB3B3;
  --md-sys-color-on-error: #680014;
  --md-sys-color-error-container: #FF525F;
  --md-sys-color-on-error-container: #3D0008;
  --md-sys-color-background: #111508;
  --md-sys-color-on-background: #E1E4CF;
  --md-sys-color-surface: #141314;
  --md-sys-color-on-surface: #E5E1E2;
  --md-sys-color-surface-variant: #47464B;
  --md-sys-color-on-surface-variant: #C8C5CB;
  --md-sys-color-outline: #929095;
  --md-sys-color-outline-variant: #47464B;
  --md-sys-color-scrim: #000000;
  --md-sys-color-inverse-surface: #E5E1E2;
  --md-sys-color-inverse-on-surface: #313031;
  --md-sys-color-inverse-primary: #4E6700;
  --md-sys-color-surface-dim: #141314;
  --md-sys-color-surface-bright: #3A3939;
  --md-sys-color-surface-container-lowest: #0E0E0E;
  --md-sys-color-surface-container-low: #1C1B1C;
  --md-sys-color-surface-container: #201F20;
  --md-sys-color-surface-container-high: #2B2A2A;
  --md-sys-color-surface-container-highest: #353435;

  --bg-color: var(--md-sys-color-background);
  --text-main: var(--md-sys-color-on-background);
  --text-muted: var(--md-sys-color-on-surface-variant);
  --text-inverse: var(--md-sys-color-inverse-on-surface);
  --surface-main: var(--md-sys-color-surface);
  --surface-card: var(--md-sys-color-surface-container-low);
  --surface-card-hover: var(--md-sys-color-surface-container);
  --surface-elevated: var(--md-sys-color-surface-container);
  --surface-input: var(--md-sys-color-surface-container-lowest);
  --border-subtle: rgba(146, 144, 149, 0.22);
  --border-strong: var(--md-sys-color-outline-variant);

  --accent-volt: #BEF500;
  --accent-volt-deep: #BEF500;
  --accent-volt-glow: rgba(190, 245, 0, 0.35);
  --accent-cyan: #00E5FF;
  --accent-cyan-deep: #C3F5FF;
  --hero-glow: radial-gradient(circle at 50% 25%, rgba(190, 245, 0, 0.2) 0%, rgba(17, 21, 8, 0) 70%);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.75);
  --shadow-card: 0 6px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);

  --nav-bg: rgba(17, 21, 8, 0.88);
  --nav-border: rgba(146, 144, 149, 0.2);
}

/* --- Explicit Light Theme Overrides (via Toggle or Class) --- */
:root[data-theme="light"],
.light-theme,
body.light-theme {
  --icon-foreground: #191D10;
  --icon-background: #EBE7E7;
  --brand-logo: #191D10;

  --md-sys-color-primary: #4E6700;
  --md-sys-color-on-primary: #FFFFFF;
  --md-sys-color-primary-container: #C6FF00;
  --md-sys-color-on-primary-container: #587300;
  --md-sys-color-secondary: #5A5E6C;
  --md-sys-color-on-secondary: #FFFFFF;
  --md-sys-color-secondary-container: #8E91A1;
  --md-sys-color-on-secondary-container: #272A37;
  --md-sys-color-tertiary: #006875;
  --md-sys-color-on-tertiary: #FFFFFF;
  --md-sys-color-tertiary-container: #00E5FF;
  --md-sys-color-on-tertiary-container: #00626E;
  --md-sys-color-error: #BA002C;
  --md-sys-color-on-error: #FFFFFF;
  --md-sys-color-error-container: #E9003A;
  --md-sys-color-on-error-container: #FFFBFF;
  --md-sys-color-background: #F8FBE5;
  --md-sys-color-on-background: #191D10;
  --md-sys-color-surface: #FDF8F8;
  --md-sys-color-on-surface: #1C1B1C;
  --md-sys-color-surface-variant: #E4E1E7;
  --md-sys-color-on-surface-variant: #47464B;
  --md-sys-color-outline: #78767C;
  --md-sys-color-outline-variant: #C8C5CB;
  --md-sys-color-scrim: #000000;
  --md-sys-color-inverse-surface: #313031;
  --md-sys-color-inverse-on-surface: #F4F0F0;
  --md-sys-color-inverse-primary: #A6D700;
  --md-sys-color-surface-dim: #DDD9D9;
  --md-sys-color-surface-bright: #FDF8F8;
  --md-sys-color-surface-container-lowest: #FFFFFF;
  --md-sys-color-surface-container-low: #F7F3F3;
  --md-sys-color-surface-container: #F1EDED;
  --md-sys-color-surface-container-high: #EBE7E7;
  --md-sys-color-surface-container-highest: #E5E1E2;

  --bg-color: var(--md-sys-color-background);
  --text-main: var(--md-sys-color-on-background);
  --text-muted: var(--md-sys-color-on-surface-variant);
  --text-inverse: var(--md-sys-color-inverse-on-surface);
  --surface-main: var(--md-sys-color-surface);
  --surface-card: var(--md-sys-color-surface-container-lowest);
  --surface-card-hover: var(--md-sys-color-surface-container-low);
  --surface-elevated: #FFFFFF;
  --surface-input: #FFFFFF;
  --border-subtle: rgba(120, 118, 124, 0.22);
  --border-strong: var(--md-sys-color-outline-variant);

  --accent-volt: #C6FF00;
  --accent-volt-deep: #4E6700;
  --accent-volt-glow: rgba(198, 255, 0, 0.45);
  --accent-cyan: #00E5FF;
  --accent-cyan-deep: #006875;
  --hero-glow: radial-gradient(circle at 50% 30%, rgba(198, 255, 0, 0.25) 0%, rgba(248, 251, 229, 0) 70%);

  --shadow-sm: 0 2px 8px rgba(25, 29, 16, 0.05);
  --shadow-md: 0 8px 24px rgba(25, 29, 16, 0.08);
  --shadow-lg: 0 20px 48px rgba(25, 29, 16, 0.12);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.03);

  --nav-bg: rgba(248, 251, 229, 0.88);
  --nav-border: rgba(120, 118, 124, 0.18);
}

/* ==========================================================================
   Base & Strict Typography Hierarchy (Type.kt)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* 1. General texts, paragraphs and links: Archivo */
body,
p,
span,
li,
a,
input,
select,
textarea,
label {
  font-family: var(--font-body);
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(198, 255, 0, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(0, 229, 255, 0.03) 0%, transparent 45%);
  background-attachment: fixed;
}

/* 2. Titles, Headings, Logo, Action Buttons: Inter with letter-spacing: -0.02em */
h1, h2, h3, h4, h5, h6,
.brand-link,
.btn,
.nav-link,
.section-title,
.hero-title,
.legal-title,
.store-title,
.showcase-tab-btn,
.timer-mode-btn,
.badge {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  line-height: 1.15;
  font-weight: 800;
}

/* 3. Numeric Metrics, Timers, or Stats: JetBrains Mono with slashed zero */
.mono-metric,
.timer-clock,
.stat-card-value,
.pct-val,
.pr-record,
.numeric-metric,
.ticker-content h4,
.plate-disc {
  font-family: var(--font-mono) !important;
  font-feature-settings: "zero" 1;
  font-variant-numeric: slashed-zero tabular-nums;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 900px;
}

/* Color Accent Utilities */
.text-gradient {
  background: linear-gradient(135deg, var(--text-main) 30%, var(--accent-volt) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-volt {
  color: var(--accent-volt-deep);
}
:root[data-theme="dark"] .text-volt,
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .text-volt {
    color: var(--accent-volt);
  }
}

.text-cyan {
  color: var(--accent-cyan);
}

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

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: var(--md-sys-color-surface-container);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  width: fit-content;
}

.badge-volt {
  background-color: rgba(198, 255, 0, 0.15);
  color: var(--md-sys-color-primary);
  border-color: rgba(198, 255, 0, 0.4);
}
:root[data-theme="dark"] .badge-volt,
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .badge-volt {
    background-color: rgba(190, 245, 0, 0.15);
    color: var(--accent-volt);
    border-color: rgba(190, 245, 0, 0.3);
  }
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-volt);
  box-shadow: 0 0 10px var(--accent-volt);
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* ==========================================================================
   Header & Fixed Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--nav-border);
  transition: all var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--brand-logo);
}

.brand-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--icon-background);
  color: var(--icon-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
  transition: background-color var(--transition-normal), color var(--transition-normal), border-color var(--transition-normal);
}

.brand-icon-svg {
  width: 32px;
  height: 32px;
  display: block;
  fill: currentColor;
}

.brand-logo-svg {
  height: 32px;
  width: auto;
  max-width: 160px;
  display: block;
  fill: currentColor;
  color: var(--brand-logo);
  transition: color var(--transition-normal);
}

.brand-icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.brand-logo-img {
  height: 32px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

.brand-tag {
  font-size: 0.75rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background-color: var(--accent-volt);
  color: #111508;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-left: 0.2rem;
  vertical-align: middle;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-volt);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Toggle Button (Sun/Moon) */
.theme-toggle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--md-sys-color-surface-container);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.theme-toggle-btn:hover {
  background-color: var(--md-sys-color-surface-container-high);
  transform: translateY(-1px);
  border-color: var(--accent-volt);
}

/* Language Selector Dropdown */
.lang-selector-dropdown {
  position: relative;
  display: inline-block;
}

.lang-toggle-btn {
  height: 42px;
  padding: 0 0.85rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background-color: var(--md-sys-color-surface-container);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.lang-toggle-btn:hover {
  background-color: var(--md-sys-color-surface-container-high);
  border-color: var(--accent-volt);
  transform: translateY(-1px);
}

.lang-code-label {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lang-toggle-btn .chevron-icon {
  transition: transform var(--transition-fast);
}

.lang-selector-dropdown.open .lang-toggle-btn .chevron-icon {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 175px;
  max-height: 400px;
  overflow-y: auto;
  background-color: var(--surface-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.4rem;
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  z-index: 1010;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.lang-selector-dropdown.open .lang-menu {
  display: flex;
  animation: dropdownFade 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.lang-option:hover,
.lang-option.active {
  background-color: var(--md-sys-color-surface-container);
  color: var(--accent-volt-deep);
}

:root[data-theme="dark"] .lang-option:hover,
:root[data-theme="dark"] .lang-option.active,
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lang-option:hover,
  :root:not([data-theme="light"]) .lang-option.active {
    color: var(--accent-volt);
  }
}

.lang-option.active {
  font-weight: 800;
}

/* RTL Support (Arabic) */
html[dir="rtl"] {
  direction: rtl;
}

html[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .hero-title,
html[dir="rtl"] .hero-description,
html[dir="rtl"] .section-title,
html[dir="rtl"] .section-subtitle,
html[dir="rtl"] .feature-card,
html[dir="rtl"] .faq-question-btn,
html[dir="rtl"] .store-text-col,
html[dir="rtl"] .legal-article {
  text-align: right;
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.sun-icon {
  display: none;
}
.moon-icon {
  display: block;
}

:root[data-theme="dark"] .sun-icon,
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sun-icon {
    display: block;
  }
  :root:not([data-theme="light"]) .moon-icon {
    display: none;
  }
}
:root[data-theme="dark"] .moon-icon {
  display: none;
}
:root[data-theme="light"] .sun-icon {
  display: none;
}
:root[data-theme="light"] .moon-icon {
  display: block;
}

/* Mobile Toggle */
.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  background-color: var(--md-sys-color-surface-container);
  border: 1px solid var(--border-subtle);
}

.mobile-menu-btn svg {
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   Buttons & CTA Elements (Action Buttons: Inter)
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1.1rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-volt {
  background-color: var(--accent-volt);
  color: #111508;
  font-weight: 800;
  box-shadow: 0 4px 16px var(--accent-volt-glow);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-volt:hover {
  background-color: #d2ff33;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-volt-glow);
  color: #000000;
}

.btn-volt:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--surface-card);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--surface-card-hover);
  border-color: var(--md-sys-color-outline);
  transform: translateY(-2px);
}

/* App Store & Google Play Download Badges */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1.35rem;
  background-color: #0e0e11;
  color: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  text-align: left;
}

.store-btn:hover {
  background-color: #1a1b22;
  border-color: var(--accent-volt);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.store-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-text-col {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-subtitle {
  font-family: var(--font-body);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.75;
  font-weight: 500;
}

.store-title {
  font-size: 1.05rem;
  font-weight: 700;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
}

.hero-glow-bg {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: var(--hero-glow);
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

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

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.06;
}

.hero-description {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.55;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-item {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--bg-color);
  background-color: var(--md-sys-color-surface-container);
  margin-left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--text-main);
  overflow: hidden;
}

.avatar-item:first-child {
  margin-left: 0;
}

.proof-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stars-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #ffb800;
  font-size: 0.9rem;
}

.proof-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.proof-text strong {
  color: var(--text-main);
}

/* Hero Media / Phone Mockup Frame */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup-container {
  position: relative;
  width: 100%;
  max-width: 360px;
  perspective: 1000px;
}

.phone-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 18.5;
  background-color: #0c0d0f;
  border-radius: 46px;
  padding: 10px;
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 35px var(--accent-volt-glow);
  overflow: hidden;
  transition: transform var(--transition-smooth);
}

.phone-frame:hover {
  transform: translateY(-6px) rotate(-1deg);
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  background-color: #000000;
  border-radius: 20px;
  z-index: 20;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background-color: #0f110c;
}

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

/* Floating Athlete Cards around Mockup */
.floating-stat-card {
  position: absolute;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 0.85rem 1.15rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 10;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: float-slow 4s infinite ease-in-out;
}

.floating-stat-card.card-left {
  top: 22%;
  left: -20px;
}

.floating-stat-card.card-right {
  bottom: 18%;
  right: -25px;
  animation-delay: 2s;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.stat-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon-circle.volt {
  background-color: rgba(198, 255, 0, 0.15);
  color: var(--accent-volt);
}

.stat-icon-circle.cyan {
  background-color: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
}

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

.stat-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-card-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

/* ==========================================================================
   Ticker / Quick Metrics Bar (Monospace Numbers)
   ========================================================================== */
.ticker-section {
  padding: 1.5rem 0;
  background-color: var(--md-sys-color-surface-container);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.ticker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ticker-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-volt-deep);
  flex-shrink: 0;
}

:root[data-theme="dark"] .ticker-icon,
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ticker-icon {
    color: var(--accent-volt);
  }
}

.ticker-content h4 {
  font-size: 1.05rem;
  font-weight: 800;
}

.ticker-content p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 900;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Features Grid Section
   ========================================================================== */
.features-section {
  padding: 6.5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: background var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
  background: linear-gradient(90deg, var(--accent-volt), var(--accent-cyan));
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background-color: var(--md-sys-color-surface-container);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-volt-deep);
  transition: all var(--transition-fast);
}

:root[data-theme="dark"] .feature-icon-wrapper,
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .feature-icon-wrapper {
    color: var(--accent-volt);
  }
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--accent-volt);
  color: #111508;
  transform: scale(1.05);
}

.feature-icon-wrapper svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.feature-tag-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  background-color: var(--md-sys-color-surface-container);
  color: var(--text-muted);
}

/* ==========================================================================
   Interactive Live Showcase (Playground)
   ========================================================================== */
.showcase-section {
  padding: 6rem 0;
  background-color: var(--md-sys-color-surface-container-low);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.showcase-box {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.showcase-nav {
  display: flex;
  background-color: var(--md-sys-color-surface-container);
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
}

.showcase-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.showcase-tab-btn:hover {
  color: var(--text-main);
}

.showcase-tab-btn.active {
  color: var(--text-main);
  border-bottom-color: var(--accent-volt);
  background-color: var(--surface-card);
}

.showcase-tab-btn svg {
  width: 20px;
  height: 20px;
}

.showcase-content-area {
  padding: 3rem;
  min-height: 480px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tab 1: Live Interactive Timer Widget */
.timer-widget {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.timer-mode-selector {
  display: inline-flex;
  background-color: var(--md-sys-color-surface-container);
  border-radius: var(--radius-full);
  padding: 0.3rem;
  border: 1px solid var(--border-subtle);
  gap: 0.3rem;
}

.timer-mode-btn {
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.timer-mode-btn.active {
  background-color: var(--accent-volt);
  color: #111508;
}

.timer-display-box {
  width: 100%;
  background-color: #0b0d06;
  border: 2px solid rgba(198, 255, 0, 0.3);
  border-radius: 28px;
  padding: 2.5rem 2rem;
  box-shadow: 0 0 35px rgba(198, 255, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.timer-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #8E91A1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timer-status-badge {
  color: var(--accent-volt);
  background: rgba(198, 255, 0, 0.12);
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
}

.timer-clock {
  font-size: clamp(3.5rem, 8vw, 6.2rem);
  font-weight: 700;
  color: #BEF500;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 0 25px rgba(190, 245, 0, 0.5);
  margin: 1rem 0;
}

.timer-sub-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 0.95rem;
  color: #C3C6D7;
  font-weight: 600;
}

.timer-controls-row {
  display: flex;
  gap: 1rem;
}

/* Tab 2: Plate / Barbell Calculator Widget */
.barbell-widget {
  max-width: 720px;
  margin: 0 auto;
}

.barbell-input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 140px;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-align: left;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.form-control {
  background-color: var(--surface-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.05rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-volt);
}

.barbell-visualization {
  background-color: var(--md-sys-color-surface-container);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  text-align: center;
}

.barbell-rack {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  margin-bottom: 1.5rem;
}

.barbell-shaft {
  height: 12px;
  width: 90%;
  background: linear-gradient(180deg, #b0b3bf 0%, #696c7b 100%);
  border-radius: 4px;
  position: absolute;
}

.barbell-collar {
  width: 18px;
  height: 48px;
  background: #3a3b45;
  border-radius: 4px;
  position: absolute;
  left: 20%;
  z-index: 2;
}

.barbell-plates-display {
  position: absolute;
  left: calc(20% + 20px);
  display: flex;
  align-items: center;
  gap: 3px;
  z-index: 3;
}

.plate-disc {
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  box-shadow: 2px 0 6px rgba(0,0,0,0.3);
}

.plate-25 { height: 96px; width: 18px; background: #BA002C; }
.plate-20 { height: 90px; width: 17px; background: #006875; }
.plate-15 { height: 82px; width: 16px; background: #F5A623; }
.plate-10 { height: 74px; width: 15px; background: #4E6700; }
.plate-5  { height: 62px; width: 13px; background: #E5E1E2; color: #111; }
.plate-2_5{ height: 50px; width: 11px; background: #333333; }

.plates-breakdown-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.training-pct-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.pct-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.85rem;
}

.pct-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.pct-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-volt-deep);
}
:root[data-theme="dark"] .pct-val,
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pct-val {
    color: var(--accent-volt);
  }
}

/* Tab 3: Benchmarks & PRs Showcase */
.pr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pr-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pr-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pr-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
}

.pr-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background-color: rgba(198, 255, 0, 0.15);
  color: var(--accent-volt-deep);
}

:root[data-theme="dark"] .pr-badge,
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pr-badge {
    color: var(--accent-volt);
  }
}

.pr-record {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
}

.pr-history {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.5rem;
}

.pr-delta {
  color: #00E5FF;
  font-weight: 700;
}

/* ==========================================================================
   Athlete / Coach Community Banner
   ========================================================================== */
.community-banner-section {
  padding: 5rem 0;
}

.banner-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #0f120a;
  color: #ffffff;
}

.banner-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: contrast(1.1);
}

.banner-overlay {
  position: relative;
  z-index: 2;
  padding: 4.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
  background: linear-gradient(90deg, rgba(15, 18, 10, 0.95) 0%, rgba(15, 18, 10, 0.75) 60%, rgba(15, 18, 10, 0.4) 100%);
}

.banner-quote {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.banner-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-pic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--accent-volt);
  object-fit: cover;
}

.author-title h4 {
  color: #ffffff;
  font-size: 1.1rem;
}

.author-title p {
  color: #BEF500;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-section {
  padding: 6rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-card);
}

.testimonial-rating {
  color: #ffb800;
  display: flex;
  gap: 0.2rem;
  font-size: 0.95rem;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.6;
  font-style: italic;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.user-avatar-initials {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-volt);
  color: #111508;
  font-family: var(--font-heading);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.user-meta h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

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

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-section {
  padding: 6rem 0;
  background-color: var(--md-sys-color-surface-container-low);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-strong);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.75rem;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-main);
  background: none;
  cursor: pointer;
  gap: 1rem;
}

.faq-icon-arrow {
  width: 22px;
  height: 22px;
  color: var(--accent-volt-deep);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

:root[data-theme="dark"] .faq-icon-arrow,
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .faq-icon-arrow {
    color: var(--accent-volt);
  }
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), padding 0.35s ease;
  padding: 0 1.75rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  padding: 0 1.75rem 1.5rem;
  transition: max-height 0.4s ease-in-out;
}

/* ==========================================================================
   Final CTA Banner
   ========================================================================== */
.final-cta-section {
  padding: 6.5rem 0;
  position: relative;
}

.cta-card {
  position: relative;
  background: radial-gradient(circle at 70% 30%, rgba(198, 255, 0, 0.15) 0%, rgba(0, 229, 255, 0.08) 50%, var(--surface-card) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 4.5rem 3.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.cta-card h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  max-width: 750px;
}

.cta-card p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--md-sys-color-surface-container-lowest);
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2.5rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

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

.footer-brand-col p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-main);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

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

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  background-color: var(--md-sys-color-surface-container);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.contact-pill:hover {
  border-color: var(--accent-volt);
  color: var(--accent-volt-deep);
}
:root[data-theme="dark"] .contact-pill:hover,
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .contact-pill:hover {
    color: var(--accent-volt);
  }
}

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

.footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Legal Static Pages (privacy.html & terms.html)
   ========================================================================== */
.legal-header {
  padding: 3.5rem 0 2rem;
  background-color: var(--md-sys-color-surface-container-low);
  border-bottom: 1px solid var(--border-subtle);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.breadcrumbs a:hover {
  color: var(--text-main);
}

.legal-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.legal-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.legal-content-wrap {
  padding: 4.5rem 0 6rem;
}

.legal-article {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-card);
}

.legal-article h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-main);
}

.legal-article h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-article h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-article p,
.legal-article li {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal-article strong {
  color: var(--text-main);
}

.legal-article ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.legal-callout {
  background-color: var(--md-sys-color-surface-container);
  border-left: 4px solid var(--accent-volt);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.legal-callout p {
  margin-bottom: 0;
  color: var(--text-main);
  font-weight: 500;
}

.legal-callout-warning {
  border-left-color: var(--md-sys-color-error);
  background-color: rgba(233, 0, 58, 0.08);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3.5rem;
  }

  .hero-content {
    align-items: center;
  }

  .hero-description {
    margin: 0 auto;
  }

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

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ticker-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .banner-overlay {
    grid-template-columns: 1fr;
    padding: 3rem;
    text-align: center;
  }

  .banner-author {
    justify-content: center;
  }

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

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

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

  .nav-actions .btn-sm {
    display: none;
  }

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

  .showcase-content-area {
    padding: 1.5rem;
  }

  .barbell-input-grid {
    grid-template-columns: 1fr;
  }

  .training-pct-grid,
  .pr-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

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

  .floating-stat-card {
    display: none;
  }

  .legal-article {
    padding: 1.75rem;
  }

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

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