/* ===================================
   CUSTOM PROPERTIES & VARIABLES
   =================================== */
:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --text-light: #e5e5e5;
    --text-secondary: #b5b5b5;
    --accent-red: #e63946;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --border-radius: 6px;
    --transition-duration: 0.3s;
    --max-width: 1400px;
    --font-heading: 'Bebas Neue', 'Impact', 'Arial Black', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.1;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Skip to main content link for keyboard navigation */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-red);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-main:focus {
    top: 0;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 10;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 0.08em;
}

.logo-accent {
    color: var(--accent-red);
}

nav ul {
    display: flex;
    gap: var(--spacing-xl);
    list-style: none;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-duration) ease;
}

nav a:hover,
nav a:focus {
    color: var(--text-light);
    outline: 2px solid var(--accent-red);
    outline-offset: 4px;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
}

.menu-toggle .menu-icon {
    position: relative;
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-light);
    transition: background 0.2s ease;
}

.menu-toggle .menu-icon::before,
.menu-toggle .menu-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--text-light);
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.menu-toggle .menu-icon::before { top: -6px; }
.menu-toggle .menu-icon::after { top: 6px; }

.menu-toggle[aria-expanded="true"] .menu-icon {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
    transform: translateY(-6px) rotate(-45deg);
}

.nav-menu {
    display: flex;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        z-index: 11;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border-subtle);
        padding: var(--spacing-md) 0;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.25s ease;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
        opacity: 0;
    }

    .nav-menu[aria-expanded="true"] {
        max-height: 320px;
        opacity: 1;
    }

    .nav-menu ul {
        gap: 0;
        flex-direction: column;
    }

    nav ul {
        gap: 0;
        flex-direction: column;
    }

    nav li {
        padding: var(--spacing-md) var(--spacing-lg);
        border-bottom: 1px solid var(--border-subtle);
    }

    nav a {
        font-size: 0.95rem;
    }

    .logo { font-size: 1.1rem; }
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    padding: 0.875rem 2rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-duration) ease;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
}

.btn:focus {
    outline: 3px solid var(--accent-red);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--accent-red);
    color: white;
}

.btn-primary:hover {
    background: #d62839;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    border-color: var(--text-light);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    /* Subtle zoom animation for dynamic feel */
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.hero-proof-item {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .hero { height: 90vh; }
    .hero p { font-size: 1rem; }
    .hero-image {
        /* Keep animation on mobile */
        animation: slowZoom 20s ease-in-out infinite alternate;
    }
}

/* ===================================
   INTRO SECTION
   =================================== */
.intro-section {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-card);
}

.intro-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.intro-divider {
    flex: 0 0 60px;
    height: 2px;
    background: var(--accent-red);
}

.intro-text {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: var(--text-light);
    line-height: 1.6;
    text-align: center;
    max-width: 900px;
}

@media (max-width: 768px) {
    .intro-content { flex-direction: column; gap: var(--spacing-md); }
    .intro-divider { width: 60px; height: 2px; flex: none; }
}

/* ===================================
   FOUNDER SECTION
   =================================== */
.founder-section {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.founder-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.founder-text h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-lg);
    color: var(--text-light);
}

.founder-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.founder-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.founder-stat {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-subtle);
}

.founder-stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--accent-red);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.founder-stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .founder-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .founder-stats {
        grid-template-columns: 1fr;
    }

    .founder-text h2 {
        font-size: 1.75rem;
    }
}

/* ===================================
   SECTION HEADERS
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-light);
}

/* ===================================
   PROGRAMS SECTION
   =================================== */
.programs-section {
    padding: 5rem 0;
    background: var(--bg-dark);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.program-card {
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-subtle);
    transition: transform var(--transition-duration) ease, border-color var(--transition-duration) ease;
}

.program-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-red);
}

.program-card h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
    letter-spacing: 0.05em;
}

.program-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===================================
   WHY PULSE SECTION
   =================================== */
.why-section {
    padding: 5rem 0;
    background: var(--bg-card);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.why-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-xl);
    color: var(--text-light);
}

.why-list {
    list-style: none;
}

.why-list li {
    padding: var(--spacing-md) 0;
    padding-left: var(--spacing-lg);
    border-left: 2px solid var(--accent-red);
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.why-visual {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, rgba(10, 10, 10, 0.4) 100%);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
}

.why-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .why-grid { grid-template-columns: 1fr; }
}

/* ===================================
   GALLERY SECTION
   =================================== */
.gallery-section {
    padding: 5rem 0;
    background: var(--bg-dark);
}

.gallery-intro {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.gallery-intro h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-light);
}

.feature-image {
    margin-bottom: var(--spacing-2xl);
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--border-subtle);
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.feature-image:hover img {
    transform: scale(1.05);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    aspect-ratio: 4 / 3;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform var(--transition-duration) ease;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-duration) ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ===================================
   PROCESS SECTION
   =================================== */
.process-section {
    padding: 5rem 0;
    background: var(--bg-card);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.process-step {
    padding: var(--spacing-xl);
    background: var(--bg-dark);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-subtle);
    transition: transform var(--transition-duration) ease, border-color var(--transition-duration) ease;
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: var(--accent-red);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-red);
    opacity: 0.3;
    margin-bottom: var(--spacing-sm);
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===================================
   PRICING SECTION
   =================================== */
.pricing-section {
    padding: 5rem 0;
    background: var(--bg-dark);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-subtle);
    text-align: center;
    transition: transform var(--transition-duration) ease, border-color var(--transition-duration) ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-red);
}

.pricing-card.featured {
    border-color: var(--accent-red);
    position: relative;
}

.pricing-card h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
    letter-spacing: 0.05em;
}

.pricing-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.pricing-best-for {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-light);
}

.pricing-period {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--spacing-xl);
    text-align: left;
}

.pricing-features li {
    padding: var(--spacing-sm) 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-guarantee {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    font-size: 0.95rem;
}
/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials-section {
    padding: 5rem 0;
    background: var(--bg-card);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.testimonial-card {
    background: var(--bg-dark);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-subtle);
}

.testimonial-quote {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-weight: 600;
    color: var(--text-light);
}

.author-info {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ===================================
   LOCATION SECTION
   =================================== */
.location-section {
    padding: 5rem 0;
    background: var(--bg-dark);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
}

.location-info h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-xl);
    color: var(--text-light);
}

.info-item {
    margin-bottom: var(--spacing-lg);
}

.info-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-value {
    font-size: 1.125rem;
    color: var(--text-light);
}

.info-value a {
    color: var(--accent-red);
    text-decoration: none;
}

.info-value a:hover {
    text-decoration: underline;
}

.location-map {
    aspect-ratio: 1 / 1;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    position: relative;
}

.location-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--border-radius);
    /* Dark theme filter for better integration */
    filter: grayscale(0.2) brightness(0.85) contrast(1.1) saturate(0.9);
}

@media (max-width: 768px) {
    .location-grid { grid-template-columns: 1fr; }
}

/* ===================================
   FINAL CTA SECTION
   =================================== */
.final-cta-section {
    padding: 5rem 0;
    background: var(--bg-card);
}

.final-cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.final-cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

.final-cta-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.cta-highlight {
    display: inline-block;
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid var(--accent-red);
    color: var(--accent-red);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===================================
   FOOTER
   =================================== */
footer {
    background: var(--bg-dark);
    padding: var(--spacing-2xl) 0;
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-lg);
}

.footer-brand h4 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

.footer-brand p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
}

.footer-brand a {
    color: var(--accent-red);
    text-decoration: none;
}

.footer-brand a:hover {
    text-decoration: underline;
}

.footer-section h5 {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: var(--spacing-sm);
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-duration) ease;
}

.footer-section a:hover {
    color: var(--accent-red);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    color: rgba(181, 181, 181, 0.6);
}

@media (max-width: 768px) {
    .footer-content { grid-template-columns: 1fr; gap: var(--spacing-lg); }
}

/* ===================================
   PERFORMANCE & ACCESSIBILITY
   =================================== */

/* Prevent cumulative layout shift (CLS) */
img,
video {
    max-width: 100%;
    height: auto;
}

/* Loading state for lazy-loaded media */
img[loading="lazy"],
video[loading="lazy"] {
    opacity: 1;
    transition: opacity 400ms ease-in;
}

img[loading="lazy"].loaded,
video[loading="lazy"].loaded {
    opacity: 1;
}

/* Performance: Use GPU-accelerated transforms */
.program-card,
.process-step,
.pricing-card,
.testimonial-card,
.gallery-item {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Remove will-change after animation completes to save resources */
@media (prefers-reduced-motion: no-preference) {
    .program-card:hover,
    .pricing-card:hover,
    .gallery-item:hover {
        will-change: auto;
    }
}
/* ===================================
   STATS SECTION
   =================================== */
.stats-section {
    background: var(--bg-card);
    padding: var(--spacing-2xl) 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-2xl);
    text-align: center;
}

.stat-item {
    padding: var(--spacing-lg) 0;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--accent-red);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.05em;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-grid { gap: var(--spacing-lg); }
    .stat-number { font-size: 2.5rem; }
}

/* ===================================
   TESTIMONIALS CAROUSEL
   =================================== */
.testimonials-carousel {
    position: relative;
}

.carousel-container {
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
    text-align: center;
    padding: var(--spacing-2xl) var(--spacing-xl);
}

.testimonial-card.active {
    display: block;
}

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

.testimonial-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--accent-red);
    color: white;
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: var(--spacing-lg);
}

.testimonial-quote {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    color: var(--text-light);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.author-name {
    font-weight: 600;
    color: var(--accent-red);
}

.author-info {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border: 2px solid var(--border-subtle);
    background: transparent;
    color: var(--accent-red);
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: all var(--transition-duration) ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--accent-red);
    color: white;
    border-color: var(--accent-red);
}

.carousel-btn:focus {
    outline: 2px solid var(--accent-red);
    outline-offset: 2px;
}

/* ===================================
   FAQ SECTION
   =================================== */
.faq-section {
    padding: var(--spacing-2xl) 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    align-items: start;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    cursor: pointer;
    transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 260ms ease, opacity 200ms ease;
    margin-top: var(--spacing-sm);
}

.faq-item[open] .faq-answer {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .faq-answer {
        transition: none;
    }

    .faq-item {
        transition: none;
    }

    .faq-icon,
    .faq-icon::before,
    .faq-icon::after {
        transition: none;
    }
}

.faq-item:hover {
    border-color: var(--accent-red);
    background: rgba(230, 57, 70, 0.05);
}

.faq-item[open] {
    background: rgba(230, 57, 70, 0.08);
    border-color: var(--accent-red);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-light);
    list-style: none;
    gap: var(--spacing-md);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-item::marker {
    display: none;
}

.faq-icon {
    width: 18px;
    height: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    position: relative;
    transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
    pointer-events: none;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--text-light);
    transition: transform 200ms ease;
    display: none;
}

.faq-icon::before {
    width: 10px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 10px;
}

.faq-item[open] .faq-icon {
    border-color: var(--accent-red);
    background: rgba(230, 57, 70, 0.12);
}

.faq-item[open] .faq-icon::after {
    transform: scaleY(0);
}

.faq-question::after {
    content: '+';
    color: var(--accent-red);
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform var(--transition-duration) ease;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    margin-top: var(--spacing-md);
    color: var(--text-secondary);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .faq-grid { grid-template-columns: 1fr; }
}

/* ===================================
   CONTACT FORM SECTION
   =================================== */
.contact-section {
    padding: var(--spacing-2xl) 0;
}

.contact-form {
    max-width: 600px;
    margin: var(--spacing-2xl) auto;
    background: var(--bg-card);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-subtle);
}

.form-group {
    margin-bottom: var(--spacing-lg);
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-light);
}

.contact-form label span {
    color: var(--accent-red);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 0.875rem;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-duration) ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: 2px solid var(--accent-red);
    outline-offset: 0;
    background: rgba(255, 255, 255, 0.08);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23e63946' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    padding-right: 2.5rem;
    background-color: var(--bg-dark);
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 0.03em;
}

.contact-form select:hover {
    background-color: var(--bg-card);
}

.contact-form select:focus {
    background-color: var(--bg-card);
}

.contact-form select:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.contact-form select option {
    color: var(--text-light);
    background-color: var(--bg-dark);
}

.error-message {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    min-height: 1.2em;
    display: none;
}

.error-message.show {
    display: block;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #ff6b6b;
}

.form-status {
    text-align: center;
    margin-top: var(--spacing-lg);
    min-height: 1.5rem;
    font-weight: 500;
}

.form-status.success {
    color: #51cf66;
}

.form-status.error {
    color: #ff6b6b;
}

@media (max-width: 768px) {
    .contact-form { padding: var(--spacing-lg); }
}

/* ===================================
   PRICING TOGGLE & ENHANCEMENTS
   =================================== */
.pricing-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-2xl);
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    user-select: none;
}

.toggle-label input {
    appearance: none;
    width: 48px;
    height: 28px;
    background: var(--border-subtle);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    position: relative;
    transition: background var(--transition-duration) ease;
}

.toggle-label input::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: left var(--transition-duration) ease;
}

.toggle-label input:checked {
    background: var(--accent-red);
}

.toggle-label input:checked::before {
    left: 22px;
}

.toggle-text {
    font-weight: 600;
    color: var(--text-light);
}

.pricing-badge {
    display: inline-block;
    background: var(--accent-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-annual {
    margin-left: 0.5rem;
}

/* ===================================
   ANIMATION UTILITIES
   =================================== */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ===================================
   DEMO PROJECT POPUP MODAL
   =================================== */
.demo-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.demo-popup.active {
    display: flex;
}

.demo-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.demo-popup-content {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border: 2px solid var(--accent-red);
    border-radius: 12px;
    padding: var(--spacing-xl);
    max-width: 500px;
    width: 90%;
    z-index: 10001;
    text-align: center;
    animation: popupSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.7) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.demo-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.demo-popup-close:hover {
    color: var(--accent-red);
    transform: rotate(90deg);
}

.demo-popup-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    animation: float 3s ease-in-out infinite;
}

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

.demo-popup-content h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
    background: linear-gradient(90deg, var(--accent-red), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.demo-popup-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.demo-popup-description strong {
    color: var(--text-light);
}

.tech-stack-popup {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.tech-badge {
    background: rgba(230, 57, 70, 0.15);
    color: var(--accent-red);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(230, 57, 70, 0.3);
    transition: all 0.2s ease;
}

.tech-badge:hover {
    background: rgba(230, 57, 70, 0.25);
    border-color: var(--accent-red);
}

.demo-popup-features {
    background: var(--bg-dark);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-lg);
    border-left: 3px solid var(--accent-red);
}

.demo-popup-features p {
    margin: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: left;
}

#demo-popup-dismiss {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
}

/* ===================================
   CLASS SCHEDULE SECTION
   =================================== */
.schedule-section {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-dark);
}

.schedule-loading,
.schedule-error {
    text-align: center;
    padding: var(--spacing-2xl) 0;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-subtle);
    border-top-color: var(--accent-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto var(--spacing-md);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.schedule-day {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    border: 1px solid var(--border-subtle);
}

.day-header {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--accent-red);
    color: var(--text-light);
}

.day-classes {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.no-classes {
    color: var(--text-secondary);
    text-align: center;
    padding: var(--spacing-lg) 0;
    font-style: italic;
}

.class-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.class-card:hover {
    transform: translateY(-2px);
    border-color: rgba(230, 57, 70, 0.3);
}

.class-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
    gap: var(--spacing-sm);
}

.class-name {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
    flex: 1;
}

.class-difficulty {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    white-space: nowrap;
}

.class-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

.class-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: var(--spacing-md);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.meta-icon {
    font-size: 1rem;
}

.spots-low {
    color: #FF9800;
    font-weight: 600;
}

.spots-full {
    color: var(--accent-red);
    font-weight: 600;
}

.book-class-btn {
    width: 100%;
    margin-top: var(--spacing-sm);
}

.btn-disabled {
    background: var(--border-subtle);
    color: var(--text-secondary);
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-disabled:hover {
    background: var(--border-subtle);
    transform: none;
}

/* ===================================
   BOOKING MODAL
   =================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius);
    padding: var(--spacing-xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1001;
    animation: modalSlideIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--accent-red);
}

.modal-content h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

.modal-class-info {
    background: var(--bg-dark);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-lg);
    border-left: 4px solid var(--accent-red);
}

.modal-class-details h4 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-red);
}

.modal-class-details p {
    margin: 4px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.booking-form .form-group {
    margin-bottom: var(--spacing-md);
}

.booking-form label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
}

.booking-form input,
.booking-form textarea {
    width: 100%;
    padding: 12px;
    background: var(--bg-dark);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.booking-form input:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--accent-red);
}

.booking-form .error-message {
    display: block;
    color: var(--accent-red);
    font-size: 0.85rem;
    margin-top: 4px;
}

.booking-status {
    text-align: center;
    margin-top: var(--spacing-md);
    font-size: 0.9rem;
}

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

.success-icon {
    width: 80px;
    height: 80px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    margin: 0 auto var(--spacing-lg);
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.booking-success h4 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

.booking-success p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

/* ===================================
   RESPONSIVE ADJUSTMENTS
   =================================== */
@media (max-width: 768px) {
    .demo-popup-content {
        padding: var(--spacing-lg);
        width: 95%;
        max-width: none;
    }
    
    .demo-popup-content h3 {
        font-size: 1.5rem;
    }
    
    .demo-popup-icon {
        font-size: 2.5rem;
    }
    
    .demo-popup-description {
        font-size: 0.9rem;
    }
    
    .tech-badge {
        font-size: 0.65rem;
        padding: 4px 8px;
    }
    
    .schedule-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: var(--spacing-lg);
        width: 95%;
    }
    
    .modal-content h3 {
        font-size: 1.5rem;
        padding-right: 30px;
    }
}
