/* ==========================================================================
   PASSO APP LANDING PAGE - STYLESHEET (LIGHT THEME)
   Apple-Style Visual Standards combined with Passo Emerald Accents
   ========================================================================== */

/* --- CSS VARIABLES & TOKENS --- */
:root {
    --bg-black: #ffffff; /* Clean page background */
    --bg-dark-gray: #E4F2CE; /* Soft Passo Light Lime Background Tint */
    --bg-charcoal: #e8e8ed; /* Element gray bases, slider tracks */
    --bg-card: rgba(255, 255, 255, 0.72); /* Glassmorphic light card */
    
    --text-white: #1d1d1f; /* Premium dark heading charcoal */
    --text-silver: #434345; /* Dark gray for secondary values */
    --text-gray: #6e6e73; /* Muted paragraph gray */
    --text-muted: #86868b; /* Inactive labels and footnotes */
    
    /* Passo Official Brand Palette */
    --passo-lime: #B6F075;
    --passo-yellow: #FFEC8B;
    --passo-purple: #DAB9F2;
    --passo-blue: #B5E1FA;
    --passo-lime-tint: #E4F2CE;
    
    --passo-green-primary: #B6F075; /* Primary Lime Accent */
    --passo-green-light: #4c7e0c; /* Energetic dark olive-lime for readable text */
    --passo-green-dark: #375d07;
    --passo-green-glow: rgba(182, 240, 117, 0.22);
    --passo-green-gradient: linear-gradient(135deg, #B6F075 0%, #82b941 100%);
    
    --apple-blue: #1D75A3; /* Darker tone of Light Blue for high-readability text */
    --apple-blue-light: #165b80;
    --apple-purple: #8630b5;
    
    --border-light: rgba(0, 0, 0, 0.08); /* Dark subtle border */
    --border-focus: rgba(182, 240, 117, 0.4);
    
    --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* --- BASE & TYPOGRAPHY STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background-color: var(--bg-black);
    color: var(--text-silver);
    font-family: var(--font-sans);
}

body {
    overflow-x: hidden;
    background-color: var(--bg-black);
}

body.light-theme {
    background-color: var(--bg-black);
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- COMMON UTILITIES --- */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.text-green { color: var(--passo-green-light); }
.text-blue { color: var(--apple-blue); }
.text-purple { color: var(--apple-purple); }
.text-green-gradient {
    background: var(--passo-green-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.green-text-glow {
    color: var(--passo-green-light);
    text-shadow: 0 0 15px var(--passo-green-glow);
}

/* --- HEADER & NAVIGATION --- */
.global-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 48px;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(29, 29, 31, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s;
}

.header-container {
    max-width: 1024px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 22px;
}

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.logo img {
    filter: invert(1);
}

.logo-icon {
    background: var(--passo-green-gradient);
    color: #ffffff; /* White text on green icon background */
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.75rem;
}

.desktop-nav {
    display: flex;
    gap: 28px;
}

.nav-link {
    font-size: 0.75rem;
    color: #f5f5f7;
    opacity: 0.8;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.nav-link:hover {
    opacity: 1;
    color: var(--passo-green-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cta-capsule-sm {
    background: #1d1d1f; /* Apple primary CTA dark button */
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    transition: all 0.3s;
}

.cta-capsule-sm:hover {
    background: var(--passo-green-light);
    color: #ffffff;
    transform: scale(1.03);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    width: 18px;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 1.5px;
    background-color: #ffffff;
    transition: all 0.3s;
}



.btn-action-apple {
    background: var(--apple-blue);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.btn-action-apple:hover {
    background: var(--apple-blue-light);
    color: #ffffff;
}

/* Mobile Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 48px;
    left: 0;
    width: 100%;
    height: 0;
    z-index: 98;
    background: var(--bg-black);
    overflow: hidden;
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.open {
    height: calc(100vh - 48px);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 40px 48px;
    gap: 24px;
}

.mob-link {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-white);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 12px;
}

.cta-capsule-lg {
    margin-top: 20px;
    background: var(--passo-green-gradient);
    color: #ffffff;
    text-align: center;
    padding: 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    padding-top: 130px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1d1d1f;
    text-align: center;
}

.hero-bg-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: radial-gradient(circle at top center, rgba(16, 185, 129, 0.04) 0%, rgba(0,0,0,0) 60%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(0,0,0,0.03);
    border: 1px solid var(--border-light);
    color: var(--text-gray);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-sans);
    font-size: 3.8rem;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.015em;
    color: #f5f5f7;
    margin-bottom: 24px;
}

.hero-subhead {
    font-size: 1.4rem;
    line-height: 1.5;
    font-weight: 400;
    color: #a1a1a6;
    max-width: 620px;
    margin: 0 auto 40px auto;
    letter-spacing: -0.01em;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 48px;
}

.cta-capsule-main {
    background: var(--passo-green-gradient);
    color: #ffffff; /* White text on green CTA button */
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 1rem;
    letter-spacing: -0.01em;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2);
}

.cta-capsule-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.35);
}

.link-arrow {
    font-weight: 600;
    font-size: 1rem;
    color: var(--apple-blue);
    display: flex;
    align-items: center;
    gap: 6px;
}

.link-arrow:hover {
    text-decoration: underline;
}

.store-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 80px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.store-icon {
    font-size: 1.6rem;
    color: #ffffff;
}

.rating-num {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
}

.rating-txt {
    display: block;
    font-size: 0.75rem;
    color: #a1a1a6;
}

.badge-separator {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
}

/* Hero iOS Mockup Visual */
.hero-visual {
    margin-top: 40px;
    position: relative;
    z-index: 10; /* Keep high so it overlaps on top of subsequent sections */
    display: flex;
    justify-content: center;
    margin-bottom: -165px; /* Slightly reduced overlap overlap */
    transition: margin-bottom 0.3s ease;
}

.hero-ambient-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 20%);
    width: 1000px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(182, 240, 117, 0.08) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-device-wrapper {
    position: relative;
    z-index: 2;
    display: inline-block;
    max-width: 1000px; /* Increased to fit the wide 5-phone layout beautifully */
    width: 100%;
}

.hero-mockup-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25)); /* Cast perfect shadows along the 5 transparent phone silhouettes */
}

/* --- INTEGRATION BRAND STRIP --- */
.integration-strip {
    background: var(--bg-black);
    padding: 185px 0 30px 0; /* Reduced top padding for a much tighter, premium look */
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    transition: padding-top 0.3s ease;
}

.strip-container {
    max-width: 1024px;
    margin: 0 auto;
    text-align: center;
}

.strip-title {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.brands-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.brand-logo {
    font-size: 0.9rem;
    color: var(--text-gray);
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.brand-logo-accent {
    font-size: 0.95rem;
    color: #fc4c02; /* Strava Orange */
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

/* --- SECTION GENERAL STYLES --- */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-white);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.25rem;
    line-height: 1.5;
    color: var(--text-gray);
}

/* --- BENTO FEATURES GRID --- */
.features-section {
    padding: 120px 0;
    background: var(--bg-black); /* Bento grid sits on white main background */
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 24px;
}

.col-span-2 { grid-column: span 2; }
.col-span-1 { grid-column: span 1; }
.row-span-2 { grid-row: span 2; }

.glass-card {
    background: #ffffff; /* Crisp white card base */
    border: 1px solid var(--border-light);
    border-radius: 28px;
    padding: 36px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05), 0 0 30px rgba(16, 185, 129, 0.03);
}

.bento-card-header {
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.bento-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding: 4px 10px;
    border-radius: 12px;
}

.bento-tag.text-green-gradient {
    background: rgba(182, 240, 117, 0.22);
    color: var(--passo-green-light);
}

.bento-tag.text-blue {
    background: rgba(181, 225, 250, 0.4);
    color: var(--apple-blue);
}

.bento-tag.text-purple {
    background: rgba(218, 185, 242, 0.4);
    color: var(--apple-purple);
}

.bento-headline {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--text-white);
    margin-bottom: 12px;
}

.bento-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-silver);
    opacity: 0.95;
}

/* Bento Visual Elements */
.bento-visual-custom-plans {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.chart-widget {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 20px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.03);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-bottom: 24px;
}

.chart-pill {
    background: rgba(16, 185, 129, 0.1);
    color: var(--passo-green-light);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
}

.chart-bars {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 120px;
    margin-bottom: 20px;
}

.chart-bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 32px;
}

.chart-bar {
    width: 8px;
    background: var(--bg-charcoal);
    border-radius: 4px;
    transition: height 1s;
}

.chart-bar.active-gradient {
    background: var(--passo-green-gradient);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

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

.chart-stats {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-light);
    padding-top: 12px;
}

.stat-num {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
}

.stat-unit {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-left: 2px;
}

/* Watch Sync Card */
.bento-visual-watch {
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.pulse-ring {
    position: absolute;
    width: 140px;
    height: 140px;
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 50%;
    animation: watchPulse 2.5s infinite;
}

.mini-watch {
    width: 90px;
    height: 110px;
    background: #1c1c1e;
    border-radius: 20px;
    border: 3px solid #2c2c2e;
    padding: 6px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    position: relative;
    z-index: 2;
}

.watch-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.watch-lbl {
    font-size: 0.5rem;
    color: #8e8e93;
    letter-spacing: 0.05em;
}

.watch-stat {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--passo-green-primary);
}

.watch-progress {
    font-size: 0.5rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--passo-green-gradient);
    color: #ffffff;
}

/* Bento Strength Visual */
.bento-visual-strength {
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.strength-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    box-shadow: 0 8px 30px rgba(0,0,0,0.03);
}

.strength-icon {
    background: rgba(134, 48, 181, 0.1);
    color: var(--apple-purple);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.strength-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.strength-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
}

.strength-sub {
    font-size: 0.7rem;
    color: var(--text-gray);
}

.strength-action {
    color: var(--text-gray);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Bento Community visual */
.bento-visual-community-row {
    margin-top: 20px;
    display: flex;
    justify-content: flex-start;
}

.mini-card-overlay {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 20px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.03);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--passo-green-primary);
}

.user-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
}

.user-time {
    display: block;
    font-size: 0.65rem;
    color: var(--text-gray);
}

.badge-run {
    font-size: 0.7rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--passo-green-light);
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
}

.mini-map-strip {
    background: var(--bg-dark-gray);
    height: 48px;
    border-radius: 10px;
    margin: 12px 0;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.map-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--passo-green-gradient);
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.feed-stats-mini {
    display: flex;
    justify-content: space-between;
}

.feed-stats-mini div {
    display: flex;
    flex-direction: column;
}

.feed-stats-mini strong {
    font-size: 1rem;
    color: var(--text-white);
}

.feed-stats-mini span {
    font-size: 0.65rem;
    color: var(--text-gray);
}

/* --- TRAINING PLANS SECTION --- */
.plans-section {
    padding: 120px 0;
    background: var(--bg-black);
    position: relative;
}

.plans-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom center, rgba(16, 185, 129, 0.02) 0%, rgba(0,0,0,0) 80%);
    pointer-events: none;
}

/* Apple segmented controls styling */
.plans-tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 64px;
}

.plans-tabs-selector {
    display: flex;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-light);
    padding: 6px;
    border-radius: 30px;
    position: relative;
    z-index: 2;
}

.tab-indicator {
    position: absolute;
    height: calc(100% - 12px);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    top: 6px;
    left: 6px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.plan-tab {
    background: none;
    border: none;
    padding: 12px 24px;
    color: var(--text-gray);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    transition: color 0.3s;
}

.plan-tab.active {
    color: var(--text-white);
}

.plan-content-display {
    position: relative;
    z-index: 2;
}

.plan-card-body {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    grid-gap: 60px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 36px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.plan-card-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.plan-badge {
    align-self: flex-start;
    background: rgba(16, 185, 129, 0.1);
    color: var(--passo-green-light);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.plan-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-white);
    margin-bottom: 16px;
}

.plan-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-silver);
    margin-bottom: 30px;
    opacity: 0.95;
}

.plan-perks {
    list-style: none;
    margin-bottom: 40px;
}

.plan-perks li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-silver);
    margin-bottom: 14px;
}

.plan-meta-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-light);
    padding-top: 30px;
    margin-bottom: 40px;
}

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

.meta-val {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.meta-lbl {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.cta-capsule-accent {
    align-self: flex-start;
    background: #1d1d1f;
    color: #ffffff;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 24px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.cta-capsule-accent:hover {
    background: var(--passo-green-light);
    color: #ffffff;
    transform: scale(1.02);
}

/* Plan card Graphic Side */
.plan-card-graphic {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.graphic-circle {
    position: absolute;
    width: 250px;
    height: 250px;
    border: 1px dashed rgba(16, 185, 129, 0.15);
    border-radius: 50%;
    right: -50px;
    top: -50px;
}

.graphic-content {
    position: relative;
    z-index: 2;
}

.graphic-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-gray);
    margin-bottom: 24px;
    display: block;
}

.run-sequence {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.seq-pill {
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.seq-pill.walk {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-white);
}

.seq-pill.run {
    background: rgba(16, 185, 129, 0.08);
    color: var(--passo-green-light);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.seq-pill.repeat {
    background: var(--passo-green-gradient);
    color: #ffffff;
}

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

.graphic-coach-quote {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-gray);
    display: block;
    margin-top: 20px;
    border-left: 2px solid var(--passo-green-primary);
    padding-left: 14px;
}

.graphic-coach-author {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-white);
    display: block;
    margin-top: 8px;
    padding-left: 16px;
}

/* --- PB PREDICTOR CALCULATOR --- */
.calculator-section {
    padding: 120px 0;
    background: var(--bg-black); /* Sits on white main background */
}

.calculator-box {
    max-width: 960px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.calculator-content {
    display: flex;
    flex-direction: column;
}

.cal-title {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-white);
    margin-bottom: 12px;
    text-align: center;
}

.cal-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 48px;
    text-align: center;
}

.calculator-controls {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 36px;
    margin-bottom: 48px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.control-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
}

.val-display {
    background: var(--passo-green-gradient);
    color: #ffffff; /* White text on active green display pill */
    padding: 4px 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.slider-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.slider-boundary {
    font-size: 0.8rem;
    color: var(--text-gray);
    font-weight: 600;
}

/* Custom Apple Slider styling */
.apple-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--bg-charcoal);
    outline: none;
    position: relative;
    border: 1px solid var(--border-light);
}

.apple-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff; /* Pure white knob */
    border: 2px solid var(--passo-green-primary);
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
    transition: transform 0.1s;
}

.apple-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

/* Target Distance Selector */
.distance-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 12px;
}

.dist-btn {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-light);
    color: var(--text-gray);
    padding: 12px 0;
    border-radius: 16px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dist-btn:hover {
    border-color: rgba(0, 0, 0, 0.15);
    color: var(--text-white);
}

.dist-btn.active {
    background: #1d1d1f; /* Primary active dark button */
    color: #ffffff;
    border-color: #1d1d1f;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Output Cards Grid */
.calculator-outputs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    margin-bottom: 48px;
}

.output-card {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.output-lbl {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.output-val {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 4px;
}

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

#calc-points-multiplier {
    background: rgba(255, 236, 139, 0.25); /* Secondary Yellow Tint */
    color: #8c7300; /* Contrast yellow-brown text */
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    margin-top: 6px;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 236, 139, 0.4);
    transition: all 0.3s ease;
}

.calculator-footer-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.cal-footer-text {
    font-size: 0.75rem;
    color: var(--text-gray);
}

/* --- DYNAMIC COMMUNITY FEED SHOWCASE --- */
.community-showcase-section {
    padding: 120px 0;
    background: var(--bg-black);
}

.community-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 40px;
    margin-top: 48px;
}

.feed-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.feed-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
}

.feed-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feed-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--passo-green-primary);
}

.feed-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
}

.feed-location {
    display: block;
    font-size: 0.65rem;
    color: var(--text-gray);
}

.feed-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Force standard 4:5 aspect ratio for user/coach activity layouts */
.ratio-4-5 {
    position: relative;
    width: 100%;
    padding-top: 125%; /* 4:5 Aspect Ratio */
    background: #f5f5f7; /* Light silver map background */
    overflow: hidden;
}

.feed-media-overlay-stats {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.05) 40%, rgba(255,255,255,0.05) 65%, rgba(255,255,255,0.92) 100%); /* Clean light gradients */
}

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

.primary-stat .lbl {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--passo-green-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.primary-stat .val {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-white); /* Will render as #1d1d1f */
    letter-spacing: -0.02em;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}

.metric {
    display: flex;
    flex-direction: column;
}

.m-val {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white); /* Will render as #1d1d1f */
}

.m-lbl {
    font-size: 0.75rem;
    color: var(--text-gray);
}

/* Map route drawing decoration */
.map-vector {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    z-index: 1;
    opacity: 0.85; /* Clearly visible over light silver map background */
}

.feed-card-footer {
    padding: 24px;
    border-top: 1px solid var(--border-light);
}

.feed-social-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}

.social-btn {
    background: none;
    border: none;
    color: var(--text-silver);
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.8;
}

.social-btn:hover {
    opacity: 1;
    color: var(--passo-green-light);
}

.social-btn.liked {
    color: #ef4444;
}

.kudos-pill {
    margin-left: auto;
    background: rgba(245, 158, 11, 0.12);
    color: #b45309; /* Darker amber for contrast */
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.feed-comment {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-silver);
}

/* --- WATCH DEVICE SYNC SECTION --- */
.watch-section {
    padding: 120px 0;
    background: var(--bg-dark-gray); /* Sits on silver band */
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.watch-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    grid-gap: 60px;
    align-items: center;
}

.watch-badge {
    display: inline-block;
    color: var(--apple-blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.watch-headline {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-white);
    margin-bottom: 24px;
}

.watch-description {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.watch-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.w-feature {
    display: flex;
    gap: 20px;
}

.w-feature-icon {
    background: #ffffff;
    border: 1px solid var(--border-light);
    color: var(--passo-green-light);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.w-feature h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 6px;
}

.w-feature p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-gray);
}

.watch-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.watch-mockup-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.1));
    animation: watchFloat 6s ease-in-out infinite;
}

/* --- ELITE COACHES GALLERY SECTION --- */
.coaches-section {
    padding: 120px 0;
    background: var(--bg-black);
}

.coaches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
}

.coach-card {
    padding: 0;
}

.coach-img-wrapper {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
    background: #09090a;
}

.coach-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s;
}

.coach-card:hover .coach-img {
    transform: scale(1.04);
}

.coach-card-info {
    padding: 30px;
}

.coach-role {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--passo-green-light);
    margin-bottom: 6px;
    display: block;
}

.coach-name {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}

.coach-tagline {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-silver);
    opacity: 0.95;
}

/* Expandable Bio Drawer */
.coach-drawer-content {
    height: 0;
    overflow: hidden;
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-gray);
}

.coach-drawer-content p {
    padding-top: 16px;
}

.coach-btn-more {
    background: none;
    border: none;
    color: var(--apple-blue);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.coach-btn-more i {
    transition: transform 0.3s;
}

.coach-btn-more.open i {
    transform: rotate(180deg);
}

/* --- REVIEWS TESTIMONIALS SLIDER --- */
.reviews-section {
    padding: 100px 0;
    background: var(--bg-dark-gray); /* Sits on silver band */
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
}

.reviews-marquee-container {
    width: 100%;
    position: relative;
    margin-top: 48px;
}

.reviews-marquee {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: marqueeScroll 25s linear infinite;
}

.review-card {
    width: 380px;
    flex-shrink: 0;
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.02);
}

.rating-stars {
    color: #d97706; /* Darker amber */
    font-size: 0.85rem;
    margin-bottom: 14px;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-silver);
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
}

/* --- DYNAMIC PRICING GRID --- */
.pricing-section {
    padding: 120px 0;
    background: var(--bg-black);
    position: relative;
}

.pricing-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.03) 0%, rgba(0,0,0,0) 60%);
    pointer-events: none;
}

.pricing-pre {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-gray);
    margin-bottom: 16px;
    display: block;
}

/* Billing Toggle */
.billing-toggle-wrapper {
    display: inline-flex;
    align-items: center;
    background: rgba(0,0,0,0.04);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 4px 16px;
    margin-top: 10px;
}

.billing-lbl {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    transition: color 0.3s;
}

.billing-lbl.active {
    color: var(--text-white);
}

.billing-toggle-btn {
    background: #c7c7cc;
    border: none;
    width: 38px;
    height: 20px;
    border-radius: 10px;
    margin: 0 12px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
}

.billing-toggle-btn.active {
    background: var(--passo-green-primary);
}

.billing-slider-knob {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.billing-toggle-btn.active .billing-slider-knob {
    transform: translateX(18px);
}

.save-pill {
    background: var(--passo-green-gradient);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 8px;
    margin-left: 10px;
}

/* Cards Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 40px;
    max-width: 960px;
    margin: 48px auto 0 auto;
}

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

.pricing-card.featured {
    border-color: var(--passo-green-primary);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.08), 0 5px 15px rgba(0,0,0,0.02);
}

.card-featured-ribbon {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--passo-green-gradient);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
}

.p-card-header {
    margin-bottom: 30px;
}

.p-card-header h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.p-card-desc {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.price-box {
    margin-top: 20px;
    display: flex;
    align-items: baseline;
}

.price-box .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.price-box .amount {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
}

.price-box .period {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-left: 6px;
}

.pricing-perks {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.pricing-perks li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-silver);
    margin-bottom: 16px;
}

.pricing-perks li.disabled {
    opacity: 0.35;
}

.p-cta {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.p-cta.outline {
    border: 1px solid var(--border-light);
    color: var(--text-white);
}

.p-cta.outline:hover {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.15);
}

.p-cta.solid {
    background: var(--passo-green-gradient);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.p-cta.solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.p-footnote {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
    display: block;
}

/* --- APPLE-STYLE ACCORDION FAQ --- */
.faq-section {
    padding: 120px 0;
    background: var(--bg-dark-gray); /* FAQ sits on premium silver band */
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.faq-accordion-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
}

.faq-trigger {
    background: none;
    border: none;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    color: var(--text-white);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s;
}

.faq-trigger:hover {
    color: var(--passo-green-light);
}

.faq-icon {
    font-size: 0.95rem;
    color: var(--text-gray);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--passo-green-light);
}

.faq-panel {
    height: 0;
    overflow: hidden;
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content {
    padding-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-gray);
}

/* --- MULTILINE FOOTER --- */
.global-footer {
    background: #1d1d1f; /* Premium dark background matching the hero section */
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 40px;
    margin-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff; /* Clean white for section headings */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.footer-col a {
    font-size: 0.75rem;
    color: #a1a1a6; /* Premium light silver for links */
}

.footer-col a:hover {
    color: var(--passo-lime); /* Energetic lime hover */
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 0.7rem;
    color: #86868b; /* Muted gray for copyright text */
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 0.7rem;
    color: #86868b;
}

.footer-legal a:hover {
    color: var(--passo-lime);
}

/* --- ANIMATIONS & KEYFRAMES --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in-up-heavy {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes watchPulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.3); opacity: 0; }
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); }
}

/* --- RESPONSIVE ADAPTATIONS (MEDIA QUERIES) --- */

@media (max-width: 1024px) {
    .hero-visual {
        margin-bottom: -140px;
    }
    
    .integration-strip {
        padding-top: 155px;
    }

    .hero-headline {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.6rem;
    }
    
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .col-span-2 {
        grid-column: span 2;
    }
    
    .plan-card-body {
        grid-template-columns: 1fr;
        grid-gap: 40px;
        padding: 40px;
    }
    
    .watch-grid {
        grid-template-columns: 1fr;
        grid-gap: 40px;
    }
    
    .watch-visual {
        order: -1;
    }
    
    .coaches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .global-header {
        height: 52px;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active .bar:nth-child(2) {
        transform: translateY(-2px) rotate(-45deg);
    }
    
    .hero-visual {
        margin-bottom: -90px;
    }
    
    .integration-strip {
        padding-top: 105px;
    }

    .hero-headline {
        font-size: 2.8rem;
    }
    
    .hero-subhead {
        font-size: 1.15rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        gap: 16px;
    }
    
    .cta-capsule-main {
        width: 100%;
        text-align: center;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .col-span-2 {
        grid-column: span 1;
    }
    
    .plans-tabs-selector {
        flex-wrap: wrap;
        border-radius: 16px;
        justify-content: center;
        gap: 6px;
    }
    
    .tab-indicator {
        display: none; /* Hide sliding capsule on mobile wraparound */
    }
    
    .plan-tab {
        padding: 8px 16px;
        font-size: 0.75rem;
        border-radius: 12px;
    }
    
    .plan-tab.active {
        background: rgba(0,0,0,0.05);
    }
    
    .distance-selector {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calculator-outputs {
        grid-template-columns: 1fr;
    }
    
    .community-slider {
        grid-template-columns: 1fr;
    }
    
    .coaches-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .section-container {
        padding: 0 20px;
    }
    
    .hero-visual {
        margin-bottom: -55px;
    }
    
    .integration-strip {
        padding-top: 70px;
    }

    .hero-headline {
        font-size: 2.2rem;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
    }
}

/* --- LEGAL & PRIVACY PAGE STYLES --- */
.legal-hero {
    padding: 120px 0 60px 0;
    background: #1d1d1f;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.legal-hero-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: radial-gradient(circle at top center, rgba(182, 240, 117, 0.05) 0%, rgba(0,0,0,0) 75%);
    pointer-events: none;
    z-index: 1;
}

.legal-hero h1 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 12px;
}

.legal-hero p {
    font-size: 1.1rem;
    color: #a1a1a6;
    max-width: 600px;
    margin: 0 auto;
}

.legal-content-section {
    padding: 80px 0;
    background: var(--bg-black);
}

.legal-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.02);
}

.legal-body {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-silver);
    line-height: 1.65;
    font-size: 0.95rem;
}

.legal-body h2 {
    font-family: var(--font-display);
    color: var(--text-white);
    font-size: 1.5rem;
    margin-top: 36px;
    margin-bottom: 16px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 8px;
}

.legal-body h3 {
    font-family: var(--font-display);
    color: var(--text-white);
    font-size: 1.15rem;
    margin-top: 24px;
    margin-bottom: 12px;
    font-weight: 600;
}

.legal-body p {
    margin-bottom: 16px;
}

.legal-body ul, .legal-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-body li {
    margin-bottom: 8px;
}

.legal-body strong {
    color: var(--text-white);
}

@media (max-width: 768px) {
    .legal-card {
        padding: 24px;
    }
    
    .legal-hero h1 {
        font-size: 2.2rem;
    }
}

/* Scroll and margin fixes for legal pages */
html, body {
    height: auto !important;
    overflow-y: auto !important;
}

.legal-card {
    margin-bottom: 80px;
}


