/* ==========================================================================
   FITZONE - SPORT, FITNESS & LOISIRS
   Design System: Vibrant Dark-Athletic Tech
   ========================================================================== */

/* ─── VARIABLES & DESIGN TOKENS ─── */
:root {
    --bg-dark: #06060c;
    --bg-card: #0e0e1b;
    --bg-card-hover: #141427;
    --bg-input: #121224;
    --primary: #ff3c3c;
    --secondary: #ff7600;
    --accent: #00f0ff;
    --text-white: #ffffff;
    --text-light: #f1f1f6;
    --text-gray: #8d8da6;
    --text-muted: #5e5e78;
    
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-card: linear-gradient(180deg, rgba(20, 20, 39, 0.6) 0%, rgba(14, 14, 27, 0.95) 100%);
    --gradient-glow: radial-gradient(circle, rgba(255, 60, 60, 0.15) 0%, transparent 70%);
    
    --border-color: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(255, 60, 60, 0.2);
    --border-glow-active: rgba(255, 60, 60, 0.5);
    
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 20px rgba(255, 60, 60, 0.35);
    --shadow-glow-cyan: 0 0 20px rgba(0, 240, 255, 0.35);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-round: 50%;
    
    --transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: all 0.2s ease;
    
    --font-title: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 60, 60, 0.3);
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

::selection {
    background: var(--primary);
    color: var(--text-white);
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
    font-family: var(--font-title);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
    color: var(--text-white);
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    position: relative;
    margin-bottom: 10px;
}

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

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

.section-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: block;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: clamp(80px, 12vw, 140px) 0;
    position: relative;
}

/* Slanted backgrounds for athletic vibe */
.section-slanted {
    position: relative;
}
.section-slanted::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-card);
    transform: skewY(-2.5deg);
    z-index: -1;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 60, 60, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.15);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(255, 60, 60, 0.2);
}

.btn-cyan {
    background: var(--accent);
    color: #000;
    font-weight: 700;
    box-shadow: var(--shadow-glow-cyan);
}
.btn-cyan:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 240, 255, 0.5);
}

/* ─── HEADER & NAVIGATION ─── */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(6, 6, 12, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition);
}
header.scrolled {
    padding: 12px 0;
    background: rgba(6, 6, 12, 0.95);
    border-bottom: 1px solid rgba(255, 60, 60, 0.15);
    box-shadow: var(--shadow-md);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.logo-mark {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition-fast);
    position: relative;
    padding: 8px 0;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}
.nav-links a:hover {
    color: var(--text-white);
}
.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-primary);
    color: var(--text-white) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-sm);
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    box-shadow: var(--shadow-glow);
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 60, 60, 0.4) !important;
}
.nav-cta::after {
    display: none !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}
.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text-white);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ─── HERO SECTION ─── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(255, 60, 60, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(0, 240, 255, 0.04) 0%, transparent 50%),
                var(--bg-dark);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 60, 60, 0.1);
    border: 1px solid rgba(255, 60, 60, 0.25);
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(255, 60, 60, 0.05);
}

.hero h1 {
    font-size: clamp(3.2rem, 7vw, 5.8rem);
    color: var(--text-white);
    margin-bottom: 20px;
    line-height: 0.95;
    font-weight: 800;
}
.hero h1 span {
    display: block;
}
.hero h1 .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 540px;
    line-height: 1.7;
}

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

/* Hero Canvas & Visual */
.hero-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, rgba(20, 20, 40, 0.6) 0%, rgba(10, 10, 20, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}
.hero-visual::before {
    content: '';
    position: absolute;
    width: 150%; height: 150%;
    background: var(--gradient-glow);
    top: -25%; right: -25%;
    z-index: -1;
    pointer-events: none;
}
.hero-visual-canvas {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}
.hero-visual-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 30px;
}
.hero-visual-icon {
    font-size: 5.5rem;
    line-height: 1;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(255, 60, 60, 0.3));
    animation: heartbeat 2s infinite ease-in-out;
}
.hero-visual h3 {
    font-size: 2rem;
    color: var(--text-white);
    margin-bottom: 10px;
}
.hero-visual p {
    font-size: 0.9rem;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 auto;
    font-family: var(--font-title);
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.1); }
    28% { transform: scale(1); }
    42% { transform: scale(1.1); }
    70% { transform: scale(1); }
}

/* ─── STATS BAR ─── */
.stats-section {
    padding: 20px 0;
    position: relative;
    z-index: 5;
    margin-top: -60px;
}
.stats-container {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}
.stat-card {
    padding: 35px 20px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(255, 60, 60, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}
.stat-card:hover::before {
    opacity: 1;
}
.stat-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.01);
}
.stat-card:last-child {
    border-right: none;
}
.stat-value {
    font-family: var(--font-title);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-desc {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-gray);
    font-weight: 500;
}

/* ─── COURS SECTION ─── */
.cours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 20px;
}
.cours-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 35px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.cours-card::after {
    content: '';
    position: absolute;
    left: 0; top: 0; width: 4px; height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
}
.cours-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-md);
}
.cours-card:hover::after {
    width: 6px;
}
.cours-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}
.cours-card h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}
.cours-schedule {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.cours-desc {
    color: var(--text-gray);
    font-size: 0.95rem;
    font-weight: 300;
}

/* ─── TIMETABLE / PLANNING ─── */
.timetable-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

/* Filters & Tabs */
.timetable-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 35px;
}
.timetable-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
.filter-btn {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-gray);
    padding: 8px 18px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-fast);
}
.filter-btn:hover, .filter-btn.active {
    border-color: var(--primary);
    color: var(--text-white);
    background: rgba(255, 60, 60, 0.08);
}

.timetable-days {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    background: var(--bg-dark);
    padding: 6px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}
.day-tab {
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-family: var(--font-title);
    font-size: 1.1rem;
    padding: 12px 6px;
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
}
.day-tab:hover {
    color: var(--text-white);
}
.day-tab.active {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-sm);
}

/* Class Schedule Grid */
.timetable-body {
    position: relative;
    min-height: 380px;
}
.day-pane {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    animation: fadeIn 0.4s ease forwards;
}
.day-pane.active {
    display: grid;
}

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

.class-slot {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.class-slot:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-md);
}
.class-slot.hidden {
    display: none !important;
}

.slot-time {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.slot-duration {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-family: var(--font-body);
    font-weight: 400;
    background: rgba(255, 255, 255, 0.05);
    padding: 3px 8px;
    border-radius: 12px;
}

.slot-title {
    font-size: 1.25rem;
    color: var(--text-white);
    margin-bottom: 6px;
}
.slot-meta {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}
.slot-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: inline-block;
}
.category-cardio { color: #00f0ff; }
.category-force { color: #ff3c3c; }
.category-combat { color: #ffaa00; }
.category-zen { color: #00ffaa; }

.slot-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: 16px;
}
.slot-instructor {
    display: flex;
    align-items: center;
    gap: 8px;
}
.slot-avatar {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-round);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-white);
    border: 1px solid rgba(255,255,255,0.1);
}
.slot-name {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}
.slot-book-btn {
    background: transparent;
    border: 1px solid rgba(255, 60, 60, 0.4);
    color: var(--primary);
    font-family: var(--font-title);
    padding: 6px 12px;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}
.slot-book-btn:hover {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

/* No classes message */
.no-classes-msg {
    display: none;
    text-align: center;
    padding: 50px 0;
    color: var(--text-gray);
    font-size: 1.1rem;
    font-style: italic;
}

/* ─── CALCULATOR / SIMULATEUR DE BUDGET ─── */
.calculator-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: start;
    margin-top: 20px;
}
.calculator-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

/* Base Formula Switcher */
.calc-label {
    font-family: var(--font-title);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-white);
    margin-bottom: 12px;
    display: block;
}
.formula-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 30px;
}
.formula-item {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 14px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}
.formula-item:hover {
    border-color: var(--border-glow);
}
.formula-item.active {
    border-color: var(--primary);
    background: rgba(255, 60, 60, 0.05);
    box-shadow: var(--shadow-glow);
}
.formula-item h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--text-gray);
}
.formula-item.active h4 {
    color: var(--text-white);
}
.formula-item .f-price {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white);
}
.formula-item .f-price span {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-family: var(--font-body);
}

/* Options checkboxes */
.options-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 30px;
}
.option-checkbox-wrapper {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--transition-fast);
}
.option-checkbox-wrapper:hover {
    border-color: rgba(255, 255, 255, 0.12);
}
.option-checkbox-wrapper.active {
    border-color: rgba(255, 60, 60, 0.3);
    background: rgba(255, 255, 255, 0.01);
}
.opt-info {
    display: flex;
    align-items: center;
    gap: 14px;
}
/* Custom Checkbox Input */
.opt-checkbox {
    position: relative;
    width: 20px;
    height: 20px;
    background: var(--bg-card);
    border: 1px solid var(--text-muted);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}
.option-checkbox-wrapper.active .opt-checkbox {
    background: var(--primary);
    border-color: var(--primary);
}
.opt-checkbox::after {
    content: '✓';
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: bold;
    opacity: 0;
    transition: var(--transition-fast);
}
.option-checkbox-wrapper.active .opt-checkbox::after {
    opacity: 1;
}

.opt-details h5 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    text-transform: none;
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: 0;
}
.opt-details p {
    font-size: 0.8rem;
    color: var(--text-gray);
}
.opt-price {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: var(--primary);
}

/* Slider option */
.slider-option-wrapper {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 30px;
}
.slider-opt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.slider-opt-title h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
}
.slider-opt-title p {
    font-size: 0.8rem;
    color: var(--text-gray);
}
.slider-count-badge {
    background: var(--primary);
    color: var(--text-white);
    font-family: var(--font-title);
    font-size: 1rem;
    padding: 2px 10px;
    border-radius: 20px;
}
.slider-control-row {
    display: flex;
    align-items: center;
    gap: 16px;
}
.range-slider {
    flex-grow: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: var(--bg-card);
    border-radius: 3px;
    outline: none;
}
.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 60, 60, 0.4);
    transition: var(--transition-fast);
}
.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}
.slider-price-val {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: var(--primary);
    min-width: 50px;
    text-align: right;
}

/* Commitment Discount and Summary Card */
.commitment-wrapper {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--transition-fast);
}
.commitment-wrapper:hover {
    border-color: rgba(255,255,255,0.1);
}
.commitment-wrapper.active {
    border-color: rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.02);
}
.commit-checkbox {
    width: 20px;
    height: 20px;
    background: var(--bg-card);
    border: 1px solid var(--text-muted);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}
.commitment-wrapper.active .commit-checkbox {
    background: var(--accent);
    border-color: var(--accent);
}
.commit-checkbox::after {
    content: '✓';
    color: #000;
    font-size: 0.75rem;
    font-weight: bold;
    opacity: 0;
    transition: var(--transition-fast);
}
.commitment-wrapper.active .commit-checkbox::after {
    opacity: 1;
}

/* Calculator Summary Box */
.calculator-summary-box {
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(14,14,27,0.9) 100%);
    border: 2px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    overflow: hidden;
}
.calculator-summary-box::before {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,60,60,0.1) 0%, transparent 60%);
    top: -50px; right: -50px;
    pointer-events: none;
}
.calculator-summary-box h3 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 16px;
}
.summary-line-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: var(--text-gray);
}
.summary-line-item.formula {
    color: var(--text-white);
    font-weight: 500;
}
.summary-line-item.discount {
    color: var(--accent);
    font-weight: 600;
}
.summary-divider {
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    margin: 20px 0;
}
.price-display-block {
    text-align: center;
    margin: 30px 0;
}
.main-price-val {
    font-family: var(--font-title);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1;
}
.main-price-val span {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-family: var(--font-body);
    font-weight: 400;
}
.sub-price-val {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 6px;
}
.sub-price-val span {
    color: var(--primary);
    font-weight: 600;
}
.calc-submit-btn {
    width: 100%;
}

/* ─── ELIGIBILITY ZIP CHECKER ─── */
.zip-checker-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 50px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.zip-checker-container::before {
    content: '';
    position: absolute;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.05) 0%, transparent 60%);
    bottom: -80px; left: -80px;
    pointer-events: none;
}
.zip-checker-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 30px auto 20px;
}
.zip-input {
    flex-grow: 1;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    outline: none;
}
.zip-input:focus {
    border-color: var(--primary);
    background: rgba(255, 60, 60, 0.02);
}
.zip-checker-btn {
    padding: 16px 30px;
}
.zip-result-message {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}
.zip-msg {
    display: none;
    font-size: 0.95rem;
    line-height: 1.5;
    animation: fadeIn 0.3s ease;
}
.zip-msg.success {
    color: #00ffaa;
}
.zip-msg.success strong {
    color: var(--text-white);
    background: rgba(0, 255, 170, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 170, 0.3);
}
.zip-msg.error {
    color: #ff3c3c;
}

/* ─── COACHS SECTION ─── */
.coachs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 20px;
}
.coach-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.coach-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top, rgba(255, 60, 60, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
}
.coach-card:hover::before {
    opacity: 1;
}
.coach-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-md);
}
.coach-avatar {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-round);
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border: 3px solid rgba(255, 60, 60, 0.2);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.coach-card:hover .coach-avatar {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 0 25px rgba(255, 60, 60, 0.35);
}
.coach-card h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}
.coach-spec {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.coach-bio {
    color: var(--text-gray);
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.5;
}

/* ─── GALLERY ─── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.gallery-item {
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 3rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.gallery-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, transparent 40%, rgba(6, 6, 12, 0.95) 100%);
    opacity: 0.8;
    z-index: 1;
}
.gallery-item-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition);
}
.gallery-item-content h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.gallery-item-content p {
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-title);
}
.gallery-item-icon {
    z-index: 2;
    transition: var(--transition);
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}
.gallery-item:hover {
    transform: scale(1.03);
    border-color: var(--border-glow);
    z-index: 5;
    box-shadow: var(--shadow-md);
}
.gallery-item:hover .gallery-item-icon {
    transform: scale(1.1) translateY(-10px);
}
.gallery-item:hover .gallery-item-content {
    transform: translateY(0);
    opacity: 1;
}

/* ─── FAQ INTERACTIVE ACCORDIONS ─── */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
}
.faq-item.active {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-sm);
}
.faq-trigger {
    width: 100%;
    padding: 24px 30px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    outline: none;
}
.faq-trigger h3 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    text-transform: none;
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: 0;
    line-height: 1.4;
}
.faq-icon-wrapper {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.faq-icon-wrapper::before, .faq-icon-wrapper::after {
    content: '';
    position: absolute;
    background: var(--text-gray);
    transition: var(--transition-fast);
}
.faq-icon-wrapper::before {
    width: 12px; height: 2px;
}
.faq-icon-wrapper::after {
    width: 2px; height: 12px;
}
.faq-item.active .faq-icon-wrapper::before {
    background: var(--primary);
}
.faq-item.active .faq-icon-wrapper::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-content {
    padding: 0 30px 24px;
    color: var(--text-gray);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
}

/* ─── CONTACT & FORM ─── */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: start;
    margin-top: 20px;
}

.contact-info-panel {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(10,10,20,0.95) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}
.contact-info-panel h3 {
    font-size: 1.6rem;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 12px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-icon-box {
    width: 42px;
    height: 42px;
    background: rgba(255, 60, 60, 0.1);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    flex-shrink: 0;
}
.contact-details h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-white);
    text-transform: none;
    font-weight: 600;
    letter-spacing: 0;
    margin-bottom: 4px;
}
.contact-details p {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 300;
}

.hours-widget {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 30px;
}
.hours-widget h4 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 8px;
}
.hours-row:last-child {
    margin-bottom: 0;
}
.hours-row strong {
    color: var(--text-white);
    font-weight: 500;
}

.contact-form-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}
.contact-form-panel h3 {
    font-size: 1.6rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
    margin-bottom: 8px;
    display: block;
    font-weight: 500;
}
.form-input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 15px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    outline: none;
}
.form-input::placeholder {
    color: var(--text-muted);
}
.form-input:focus {
    border-color: var(--primary);
    background: rgba(255, 60, 60, 0.02);
    box-shadow: 0 0 10px rgba(255, 60, 60, 0.1);
}

textarea.form-input {
    min-height: 110px;
    resize: vertical;
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%238d8da6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    cursor: pointer;
}
select.form-input option {
    background: var(--bg-dark);
    color: var(--text-white);
}

.badge-info-form {
    display: none;
    align-items: center;
    gap: 8px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.25);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 20px;
    animation: fadeIn 0.3s ease;
}
.badge-info-form .badge-close {
    margin-left: auto;
    cursor: pointer;
    color: var(--text-muted);
    font-weight: bold;
    transition: var(--transition-fast);
}
.badge-info-form .badge-close:hover {
    color: var(--text-white);
}

/* ─── FOOTER ─── */
footer {
    background: #030307;
    padding: 70px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.footer-links {
    display: flex;
    gap: 30px;
    list-style: none;
}
.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
}
.footer-links a:hover {
    color: var(--primary);
}
.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 300;
}
.footer-bottom strong {
    color: var(--primary);
    font-weight: 500;
}
.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}
.footer-bottom a:hover {
    color: var(--text-white);
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE DESIGN ─── */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    .hero h1 {
        margin: 0 auto 20px;
    }
    .hero p {
        margin: 0 auto 35px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-visual {
        max-width: 480px;
        margin: 0 auto;
        aspect-ratio: 4/3;
    }
    .stats-section {
        margin-top: 0;
        padding-top: 40px;
    }
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-card {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .stat-card:nth-child(2) {
        border-right: none;
    }
    .stat-card:nth-child(3), .stat-card:nth-child(4) {
        border-bottom: none;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
    }
    .calculator-summary-box {
        position: static;
        top: 0;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(6, 6, 12, 0.98);
        border-left: 1px solid rgba(255, 60, 60, 0.15);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        transition: var(--transition);
        z-index: 999;
    }
    .nav-links.active {
        right: 0;
    }
    .hamburger {
        display: flex;
    }
    
    .timetable-days {
        overflow-x: auto;
        display: flex;
        gap: 4px;
        white-space: nowrap;
        scrollbar-width: none;
    }
    .timetable-days::-webkit-scrollbar {
        display: none;
    }
    .day-tab {
        flex: 1 0 auto;
        padding: 10px 24px;
    }
    .timetable-container {
        padding: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .footer-links {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero {
        padding-top: 110px;
    }
    .stats-container {
        grid-template-columns: 1fr;
    }
    .stat-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .stat-card:last-child {
        border-bottom: none;
    }
    
    .formula-cards {
        grid-template-columns: 1fr;
    }
    .zip-checker-form {
        flex-direction: column;
        gap: 10px;
    }
    .zip-checker-container {
        padding: 30px 20px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-trigger {
        padding: 20px;
    }
    .faq-content {
        padding: 0 20px 20px;
    }
    .calculator-form-container, .contact-form-panel, .contact-info-panel {
        padding: 24px 16px;
    }
}
