/* ==========================================================================
   AURA FITNESS - Core Design System & Stylesheet (Redesigned)
   ========================================================================== */

/* --- Theme Variables --- */
:root {
    /* Fonts - Redesigned for Editorial Look */
    --font-heading: 'Archivo', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-mono: 'Space Mono', monospace;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

    /* Border Radii */
    --radius-sm: 4px; /* Shaper corners look more high-end */
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Spacing */
    --container-width: 1240px;
    --header-height: 90px;

    /* Base Class Labels Colors (Same across themes) */
    --label-strength: #E11D48;      /* Rose */
    --label-cardio: #2563EB;        /* Blue */
    --label-functional: #059669;    /* Emerald */
    --label-combat: #D97706;        /* Amber */
}

/* --- Dark Theme (Default) --- */
.theme-dark {
    --bg-primary: #0A0A0C;
    --bg-secondary: #121215;
    --bg-tertiary: #18181F;
    --bg-input: #15151B;
    
    --text-primary: #FFFFFF;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.2);

    /* Gradients */
    --color-primary-start: #00E5FF; /* Neon Cyan */
    --color-primary-end: #0084FF;   /* Neon Blue */
    --gradient-primary: linear-gradient(135deg, var(--color-primary-start), var(--color-primary-end));
    
    --color-accent-start: #0084FF;
    --color-accent-end: #7C3AED;
    --gradient-accent: linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end));

    /* Glassmorphism */
    --glass-bg: rgba(10, 10, 12, 0.8);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-shadow: rgba(0, 0, 0, 0.6);

    /* Glows & Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
    --glow-primary: 0 0 30px rgba(0, 229, 255, 0.35);
    
    --hero-overlay: rgba(10, 10, 12, 0.75);
}

/* --- Light Theme --- */
.theme-light {
    --bg-primary: #FAFAF9;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #F3F3F2;
    --bg-input: #FFFFFF;
    
    --text-primary: #1C1917;
    --text-secondary: #57534E;
    --text-muted: #A8A29E;
    
    --border-color: rgba(28, 25, 23, 0.08);
    --border-hover: rgba(28, 25, 23, 0.18);

    /* Gradients */
    --color-primary-start: #00A2FF; /* Vibrant Blue for light contrast */
    --color-primary-end: #0066CC;
    --gradient-primary: linear-gradient(135deg, var(--color-primary-start), var(--color-primary-end));
    
    --color-accent-start: #0066CC;
    --color-accent-end: #5B21B6;
    --gradient-accent: linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end));

    /* Glassmorphism */
    --glass-bg: rgba(250, 250, 249, 0.8);
    --glass-border: rgba(28, 25, 23, 0.05);
    --glass-shadow: rgba(0, 0, 0, 0.06);

    /* Glows & Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --glow-primary: 0 0 30px rgba(0, 162, 255, 0.2);
    
    --hero-overlay: rgba(250, 250, 249, 0.65);
}

/* ==========================================================================
   Reset & Global Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

li {
    list-style: none;
}

/* ==========================================================================
   Reusable Utilities
   ========================================================================== */
.container {
    width: 92%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

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

.text-center {
    text-align: center;
}

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

.section-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-primary-start);
    display: inline-block;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(34px, 5.5vw, 56px);
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 24px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 12px;
    letter-spacing: 1px;
}

.btn-lg {
    padding: 20px 40px;
    font-size: 15px;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary-gradient {
    background: var(--gradient-primary);
    color: #0A0A0C !important;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background-color: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.btn-outline.disabled {
    border-color: var(--border-color);
    color: var(--text-muted);
    pointer-events: none;
    opacity: 0.3;
}

/* Animations */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(251, 191, 36, 0); }
    100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); }
}

.shadow-pulse {
    animation: pulse 2.5s infinite;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: background var(--transition-normal), border var(--transition-normal), height var(--transition-normal);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 48px;
    width: 48px;
    object-fit: cover;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-normal);
}

.logo:hover .logo-img {
    transform: scale(1.08) rotate(5deg);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Nav Menu */
.nav-menu {
    height: 100%;
}

.nav-list {
    display: flex;
    height: 100%;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

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

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

/* Header Controls */
.header-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-header {
    padding: 10px 22px;
    font-size: 12px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
    background-color: var(--border-color);
}

.theme-toggle-btn .icon {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-slow);
}

.theme-dark .theme-toggle-btn .moon-icon {
    display: none;
}
.theme-light .theme-toggle-btn .sun-icon {
    display: none;
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    z-index: 1100;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('assets/bst_hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: var(--header-height);
    padding-bottom: 120px;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-overlay);
    transition: background var(--transition-normal);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 850px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-primary-start);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(48px, 9.5vw, 98px);
    font-weight: 800;
    line-height: 0.95;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

/* Hollow Outline Text Stroke */
.outline-text {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--text-primary);
}

.hero-description {
    font-size: clamp(16px, 2.5vw, 19px);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 44px;
    max-width: 650px;
}

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

/* Floating Stats Bar */
.hero-stats-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(5, 5, 7, 0.9);
    border-top: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10;
    padding: 24px 0;
    transition: background-color var(--transition-normal);
}

.theme-light .hero-stats-bar {
    background-color: rgba(250, 250, 249, 0.95);
}

.stats-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.stat-num {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.stat-lbl {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 4px;
}

/* Mouse Wheel indicator hidden in layout to clean up bottom */
.scroll-indicator {
    display: none;
}

/* ==========================================================================
   Bento Grid Section
   ========================================================================== */
.features-section {
    padding: 140px 0;
    position: relative;
}

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

.bento-cell {
    position: relative;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 44px;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 290px;
    transition: all var(--transition-normal);
}

.bento-cell.col-span-2 {
    grid-column: span 2;
}

.bento-num {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: auto;
    text-transform: uppercase;
    letter-spacing: 2.5px;
}

.bento-headline {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-top: 30px;
    margin-bottom: 12px;
}

.bento-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Bento Image Cell */
.bento-image-cell {
    background-size: cover;
    background-position: center;
}

.bento-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 10, 12, 0.95) 0%, rgba(10, 10, 12, 0.3) 100%);
    z-index: 1;
}

/* Adapt image overlay for light mode */
.theme-light .bento-image-overlay {
    background: linear-gradient(to top, rgba(10, 10, 12, 0.98) 0%, rgba(10, 10, 12, 0.4) 100%);
}

.bento-image-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.text-primary-color {
    color: var(--color-primary-start) !important;
}

.text-white {
    color: #FFFFFF !important;
}

.text-light {
    color: #D1D5DB !important;
}

/* Interactive Card Mouse Leak Glow */
.glow-card {
    position: relative;
}

.bento-glow {
    position: absolute;
    top: var(--mouse-y, 0px);
    left: var(--mouse-x, 0px);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, rgba(0, 229, 255, 0) 70%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: translate(-50%, -50%);
}

.theme-light .bento-glow {
    background: radial-gradient(circle, rgba(0, 162, 255, 0.08) 0%, rgba(0, 162, 255, 0) 70%);
}

.glow-card:hover .bento-glow {
    opacity: 1;
}



.bento-cell:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

/* ==========================================================================
   Schedule Section (Horizontal timestable)
   ========================================================================== */
.schedule-section {
    padding: 140px 0;
    background-color: var(--bg-secondary);
    transition: background-color var(--transition-normal);
}

/* Schedule Nav Tabs */
.schedule-tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.schedule-tabs {
    display: flex;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 6px;
    border-radius: var(--radius-full);
    position: relative;
    overflow-x: auto;
    scrollbar-width: none;
}

.schedule-tabs::-webkit-scrollbar {
    display: none;
}

.schedule-tab-btn {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
    white-space: nowrap;
    transition: color var(--transition-normal);
}

.schedule-tab-btn.active {
    color: #0A0A0C !important;
}

/* Floating Sliding Highlight Bar */
.tabs-active-bar {
    position: absolute;
    top: 6px;
    left: 6px;
    height: calc(100% - 12px);
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    z-index: 1;
    transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Panels */
.schedule-panels-wrapper {
    position: relative;
    min-height: 380px;
}

.schedule-panel {
    display: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.schedule-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Editorial timetable list styling */
.schedule-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-color);
}

.schedule-row-item {
    display: grid;
    grid-template-columns: 1.2fr 2.5fr 1fr 2fr;
    align-items: center;
    padding: 34px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.schedule-row-item:hover {
    background-color: var(--bg-tertiary);
    border-color: var(--border-hover);
    padding-left: 32px;
}

.row-time {
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.row-class-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.row-coach {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.row-tag {
    display: inline-block;
    justify-self: start;
    padding: 4px 10px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    color: #FFFFFF;
}

.row-tag.strength { background-color: var(--label-strength); }
.row-tag.cardio { background-color: var(--label-cardio); }
.row-tag.functional { background-color: var(--label-functional); }
.row-tag.combat { background-color: var(--label-combat); }

.row-action-block {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 36px;
}

.row-slots {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.row-slots.text-red {
    color: var(--label-strength);
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-section {
    padding: 140px 0;
}

/* Filter Controls */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 60px;
}

.filter-btn {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--text-primary);
    border-color: var(--text-primary);
    color: var(--bg-primary);
}

/* Gallery Grid Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    transition: all 0.4s ease;
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 10, 12, 0.95) 0%, rgba(10, 10, 12, 0.2) 65%, rgba(10, 10, 12, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 36px;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-info {
    transform: translateY(12px);
    transition: transform var(--transition-normal);
}

.gallery-item-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
}

.gallery-item-cat {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--color-primary-start);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 6px;
}

.gallery-zoom-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A0A0C;
    transform: scale(0.6);
    opacity: 0;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.35);
}

.zoom-icon {
    width: 20px;
    height: 20px;
}

/* Hover States */
.gallery-item:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

.gallery-item:hover .gallery-zoom-btn {
    transform: scale(1);
    opacity: 1;
}

/* ==========================================================================
   Rates & Plans Section
   ========================================================================== */
.rates-section {
    padding: 140px 0;
    background-color: var(--bg-secondary);
    transition: background-color var(--transition-normal);
}

/* Billing Toggle Slider */
.billing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
}

.billing-label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    transition: color var(--transition-normal);
}

.billing-label.active {
    color: var(--text-primary);
}

.billing-toggle {
    width: 58px;
    height: 30px;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    position: relative;
    transition: background-color var(--transition-normal);
}

.billing-toggle.active {
    background: var(--gradient-primary);
    border-color: transparent;
}

.billing-circle {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: var(--radius-full);
    background-color: var(--text-primary);
    transition: transform var(--transition-normal), background-color var(--transition-normal);
}

.billing-toggle.active .billing-circle {
    transform: translateX(28px);
    background-color: #0A0A0C;
}

.discount-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    background: var(--gradient-accent);
    color: #FFFFFF;
    margin-left: 6px;
    text-transform: uppercase;
}

/* Rates Grid */
.rates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
    margin-top: 70px;
}

.pricing-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    height: 100%;
}

.pricing-card .card-inner {
    padding: 56px 44px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 2;
}

/* Mouse light-leak glow inside rates cards as well */
.pricing-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
}

.pricing-card.recommended {
    border: 1px solid var(--color-primary-start);
}

.pricing-card.recommended:hover {
    box-shadow: var(--glow-primary);
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: #0A0A0C;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

/* Pricing Header details */
.plan-name {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.plan-subtitle {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    margin-top: 4px;
    margin-bottom: 30px;
}

.price-container {
    display: flex;
    align-items: baseline;
    margin-bottom: 40px;
}

.currency {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    align-self: flex-start;
}

.price-value {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -2px;
    transition: transform 0.3s ease;
}

.billing-period {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-muted);
    margin-left: 6px;
}

/* Features List */
.plan-features {
    margin-bottom: 44px;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.plan-features li.unsupported {
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.5;
}

.check-icon {
    width: 18px;
    height: 18px;
    color: var(--color-primary-start);
    flex-shrink: 0;
}

.x-icon {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* ==========================================================================
   Contact & Location Section
   ========================================================================== */
.contact-section {
    padding: 140px 0;
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

/* Left Panel */
.contact-info-panel {
    background-color: var(--bg-secondary);
    padding: 64px;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 48px;
}

.contact-heading {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4.5vw, 46px);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.05;
    margin-top: 16px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.contact-lead-text {
    font-size: 16px;
    color: var(--text-secondary);
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.detail-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-start);
    flex-shrink: 0;
}

.detail-icon svg {
    width: 18px;
    height: 18px;
}

.detail-text h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.detail-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Right Panel (Form) */
.contact-form-panel {
    background-color: var(--bg-secondary);
    padding: 64px;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 36px;
}

.input-group {
    position: relative;
}

.input-group.full-width {
    grid-column: span 2;
}

/* Floating labels */
.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 16px;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 15px;
    transition: all var(--transition-fast);
}

.input-group textarea {
    resize: none;
}

.input-group label {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 15px;
    color: var(--text-muted);
    pointer-events: none;
    transition: all var(--transition-fast);
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: var(--color-primary-start);
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group select:focus ~ label,
.input-group select:valid ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 10px;
    font-size: 11px;
    font-weight: 700;
    background-color: var(--bg-secondary);
    padding: 0 6px;
    color: var(--color-primary-start);
    letter-spacing: 0.5px;
}

.input-group select {
    appearance: none;
    -webkit-appearance: none;
}

.input-group select:invalid {
    color: var(--text-muted);
}

.form-feedback {
    margin-top: 16px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.form-feedback.success {
    color: var(--label-functional);
    opacity: 1;
}

.form-feedback.error {
    color: var(--label-strength);
    opacity: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
    background-color: #050507;
    border-top: 1px solid var(--border-color);
    padding: 90px 0 30px 0;
    color: #8E939E;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 24px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8E939E;
    transition: all var(--transition-fast);
}

.footer-socials a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #0A0A0C;
    transform: translateY(-2px);
}

.social-icon {
    width: 16px;
    height: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 12px;
}

/* ==========================================================================
   Interactive Lightbox Modal
   ========================================================================== */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(5, 5, 7, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 48px;
    color: #FFFFFF;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.04);
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: all var(--transition-fast);
}

.lightbox-arrow:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.12);
}

.arrow-left { left: 40px; }
.arrow-right { right: 40px; }

.lightbox-content-wrapper {
    max-width: 75%;
    max-height: 75%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-content-wrapper {
    transform: scale(1);
}

.lightbox-img {
    max-width: 100%;
    max-height: 65vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}

.lightbox-caption {
    width: 100%;
    text-align: left;
    margin-top: 24px;
    color: #FFFFFF;
}

.lightbox-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
}

.lightbox-desc {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--color-primary-start);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Responsive Breakpoints & Media Queries
   ========================================================================== */

/* Up to Desktop/Tablet (1100px) */
@media (max-width: 1100px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-cell.col-span-2 {
        grid-column: span 2;
    }
}

/* Up to Tablet (1024px) */
@media (max-width: 1024px) {
    .contact-box {
        grid-template-columns: 1fr;
    }
    
    .contact-info-panel {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 50px;
    }
    
    .contact-form-panel {
        padding: 50px;
    }

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

    /* Timetable row wrap for tablet spacing */
    .schedule-row-item {
        grid-template-columns: 1.2fr 2fr 1.2fr 2fr;
    }
}

/* Mobile & Small Screen Breakpoints (768px) */
@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-secondary);
        border-left: 1px solid var(--border-color);
        padding: 100px 30px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 36px;
        height: auto;
    }

    .nav-link {
        font-size: 18px;
    }

    .mobile-nav-toggle.active .hamburger-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-nav-toggle.active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-nav-toggle.active .hamburger-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-section {
        background-attachment: scroll;
        flex-direction: column;
        justify-content: space-between;
        padding-bottom: 0;
        align-items: stretch;
    }

    .hero-container {
        margin: auto 0;
        padding-top: 30px;
        padding-bottom: 40px;
    }

    .hero-badge {
        font-size: 9px;
        letter-spacing: 1px;
        padding: 4px 10px;
        margin-bottom: 16px;
    }

    .hero-title {
        font-size: clamp(30px, 8vw, 48px);
        letter-spacing: -1.5px;
        line-height: 1.0;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats-bar {
        position: relative;
        width: 100%;
        padding: 24px 20px;
        background-color: rgba(5, 5, 7, 0.95);
        border-top: 1px solid var(--border-color);
    }

    .stats-bar-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    /* General Section Padding Reduction */
    .features-section,
    .schedule-section,
    .gallery-section,
    .rates-section,
    .contact-section {
        padding: 70px 0;
    }

    /* Bento Grid Mobile wrap */
    .bento-grid {
        grid-template-columns: 1fr;
    }

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

    .bento-cell {
        padding: 24px 20px;
    }

    /* Timetable list mobile wrap */
    .schedule-row-item {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px 10px;
    }

    .schedule-row-item:hover {
        padding-left: 10px;
    }

    .row-tag {
        justify-self: start;
    }

    .row-action-block {
        justify-content: space-between;
        margin-top: 10px;
    }

    /* Pricing card mobile wrap */
    .rates-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 40px auto 0 auto;
    }

    .pricing-card .card-inner {
        padding: 36px 20px;
    }

    .plan-features li {
        align-items: flex-start;
        font-size: 14px;
    }

    .check-icon {
        margin-top: 2px;
    }

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

    .input-group.full-width {
        grid-column: span 1;
    }

    .lightbox-arrow {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    .arrow-left { left: 10px; }
    .arrow-right { right: 10px; }
    
    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 36px;
    }

    .lightbox-content-wrapper {
        max-width: 90%;
    }
}

/* Very Small Mobile Breakpoints (480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .logo-text {
        font-size: 15px;
    }

    .header-controls .btn-header {
        display: none;
    }

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

    .features-section,
    .schedule-section,
    .gallery-section,
    .rates-section,
    .contact-section {
        padding: 50px 0;
    }

    .billing-toggle-container {
        gap: 10px;
    }

    .billing-label {
        font-size: 11px;
    }

    .contact-info-panel, .contact-form-panel {
        padding: 30px 15px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
