/* Antigravity Design Upgrade - Refined Master Style */
:root {
    /* Color Palette */
    --color-bg: #FAFAFA;
    /* Warm White */
    --color-bg-alt: #EDEDED;
    /* Soft Grey */
    --color-surface: #FFFFFF;
    /* Pure White */

    --color-primary: #2A2A2A;
    /* Charcoal */
    --color-text: #2A2A2A;
    --color-text-light: #525252;

    --color-accent: #C5283D;
    /* Deep Crimson */
    --color-accent-hover: #A01B2C;

    --color-navy: #0f172a;
    /* Navy for labels mentioned in prompt */

    --color-gold: #C8A44D;
    /* Muted Gold */

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;

    /* UI Elements */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-subtle: 0 2px 4px rgba(0, 0, 0, 0.03);
    --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-float: 0 10px 20px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Progress Bar */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 1100;
    pointer-events: none;
}

.progress-bar {
    height: 100%;
    background: var(--color-accent);
    width: 0%;
    transition: width 0.1s;
}

/* Typography */
h1,
h2,
h3,
h4 {
    color: var(--color-primary);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

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

/* Layout */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    overflow-x: hidden;
}

.narrow-container {
    max-width: 700px;
    margin: 0 auto;
    overflow-x: hidden;
}

.slim-container {
    max-width: 600px;
    margin: 0 auto;
    overflow-x: hidden;
}

.section {
    padding: 5rem 0;
    position: relative;
    overflow-x: hidden;
}

.bg-light {
    background-color: var(--color-bg-alt);
}

.bg-white {
    background-color: var(--color-surface);
}

.separator-bottom {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.separator-top {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Header */
.header {
    padding: 1rem 0;
    background-color: rgba(250, 250, 250, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-weight: 900;
    font-size: 1.25rem;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: -0.05em;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

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

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--color-accent);
}

/* Language Switcher - Text Based */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.85rem;
}

.lang-option {
    cursor: pointer;
    color: #bbb;
    transition: color 0.2s;
}

.lang-option:hover {
    color: var(--color-primary);
}

.lang-option.active {
    color: var(--color-accent);
}

.lang-divider {
    color: #ddd;
    font-weight: 300;
}

/* Hero */
.hero {
    padding-top: 140px;
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-abstract {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 80% 10%, rgba(200, 164, 77, 0.08) 0%, transparent 50%);
}

/* Horizontal Countdown (Top of Hero) */
.countdown-horizontal-wrapper {
    text-align: left;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    display: inline-block;
}

.countdown-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-navy);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.countdown-horizontal {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-family: 'Inter', monospace;
}

.countdown-segment {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.countdown-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}

.countdown-unit {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-navy);
    text-transform: uppercase;
}

.countdown-sep {
    font-size: 1rem;
    color: #ddd;
    font-weight: 300;
}

/* Hero Content */
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--color-text-light);
    max-width: 600px;
    margin-bottom: 1.5rem;
}

.hero-discount {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    max-width: 600px;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(197, 40, 61, 0.05);
    border-left: 3px solid var(--color-accent);
    border-radius: 4px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 0.95rem;
}

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

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: #ddd;
    color: var(--color-primary);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-block {
    width: 100%;
}

/* Instructor Visual - Hero Section */
.instructor-image-frame {
    width: 100%;
    max-width: 550px;
    aspect-ratio: 7/8;
    background: #f0f0f0;
    border-radius: var(--radius-lg);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-float);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.image-placeholder-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ccc;
    font-weight: 600;
    gap: 1rem;
}

/* Hero Certificate Frame */
.hero-certificate-frame {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.hero-certificate-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* How It Works (Short) */
.lead-text {
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.divider {
    width: 40px;
    height: 3px;
    background-color: var(--color-accent);
    margin: 2rem auto;
}

.highlight-box {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    background: #fdfdfd;
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-block;
    border: 1px solid #eee;
    box-shadow: var(--shadow-subtle);
}

/* Features Grid (6 items) */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.card-icon-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

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

/* Audience & Benefits */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.target-group-card,
.benefits-group-card {
    background: var(--color-surface);
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
}

.card-header-simple {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.card-header-icon {
    color: var(--color-accent);
}

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

.clean-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.list-icon {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 4px;
}

.list-icon.highlight {
    color: var(--color-gold);
}

/* About - Split */
.about-layout {
    align-items: center;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
}

.instructor-portrait-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    background: #e5e5e5;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
}

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

.instructor-intro {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.instructor-outro {
    font-weight: 600;
    margin-top: 1rem;
    color: var(--color-accent);
}

/* Testimonials Carousel */
.testimonials-carousel {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 60px;
}

.carousel-track-container {
    overflow: hidden;
    border-radius: var(--radius-md);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    padding: 0 10px;
}

.testimonial-image-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid #f0f0f0;
}

.testimonial-image-card img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 450px;
    object-fit: contain;
    background: #fafafa;
}

.testimonial-placeholder {
    width: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #999;
    gap: 1rem;
}

.testimonial-placeholder i {
    width: 64px;
    height: 64px;
}

.testimonial-caption {
    padding: 1.5rem;
    text-align: center;
    background: white;
}

.testimonial-caption h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.testimonial-caption p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #eee;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--color-primary);
}

.carousel-btn:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.carousel-btn i {
    width: 24px;
    height: 24px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot.active {
    background: var(--color-accent);
    width: 32px;
    border-radius: 6px;
}

.carousel-dot:hover {
    background: var(--color-accent);
    opacity: 0.7;
}

/* CTA Slim */
.cta-section-slim {
    background: #fafafa;
    padding: 6rem 0;
}

.enroll-box {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-float);
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid #eee;
}

.enroll-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.enroll-form-slim {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.enroll-form-slim input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-size: 1rem;
}

.enroll-form-slim input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.contact-promise {
    font-size: 0.8rem;
    color: #999;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Responsive Design */

/* Tablet & Mobile (max-width: 900px) */
@media (max-width: 900px) {
    .container {
        padding: 0 1.25rem;
    }

    .header {
        padding: 0.75rem 0;
    }

    .header-container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    /* Navigation - Make it scrollable/accessible on mobile instead of hiding */
    .nav-wrapper {
        width: 100%;
        order: 3;
        justify-content: center;
        gap: 1rem;
        overflow-x: auto;
        padding-bottom: 5px;
        /* Scrollbar space */
    }

    .nav {
        display: flex;
        gap: 1.25rem;
        white-space: nowrap;
    }

    .header-actions {
        margin-left: auto;
    }

    .hero {
        padding-top: 140px;
        padding-bottom: 3rem;
        text-align: center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-text-block {
        order: 2;
        margin: 0 auto;
    }

    .hero-visual {
        order: 1;
        margin: 0 auto;
        width: 100%;
        display: flex;
        justify-content: center;
    }

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

    .hero-certificate-frame {
        max-width: 400px;
    }

    .countdown-horizontal-wrapper {
        margin: 0 auto 2rem;
        display: inline-block;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .instructor-image-side {
        margin-bottom: 2rem;
    }

    .instructor-portrait-frame {
        max-width: 400px;
        margin: 0 auto;
    }

    /* Carousel responsive */
    .testimonials-carousel {
        padding: 0 50px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn i {
        width: 20px;
        height: 20px;
    }

    /* Font Sizing */
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }
}

/* Mobile Small (max-width: 480px) */
@media (max-width: 480px) {
    .section {
        padding: 3rem 0;
    }

    .hero {
        padding-top: 160px;
        /* More space for stacked header */
    }

    .hero-text-block {
        order: 1 !important;
    }

    .hero-visual {
        order: 2 !important;
    }

    h1 {
        font-size: 1.85rem;
        line-height: 1.2;
    }

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

    .countdown-val {
        font-size: 1.25rem;
    }

    .countdown-unit {
        font-size: 0.65rem;
    }

    .feature-card,
    .target-group-card,
    .benefits-group-card {
        padding: 1.5rem;
    }

    /* Stack header elements nicely */
    .logo {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }

    .nav-wrapper {
        display: flex;
        justify-content: center;
    }

    .nav {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .enroll-box {
        padding: 1.5rem;
    }

    .enroll-title {
        font-size: 1.5rem;
    }

    /* Carousel mobile */
    .testimonials-carousel {
        padding: 0 40px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    .testimonial-image-card img {
        max-height: 400px;
    }
}

/* Image styles - Updated */
.instructor-img-hero,
.instructor-img-about {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.instructor-image-frame {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 4/5;
    background: #f0f0f0;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-float);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.instructor-portrait-frame {
    width: 100%;
    aspect-ratio: 4/5;
    background: #e5e5e5;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.instructor-photo {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.instructor-photo-large {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* Footer Styles */
.footer {
    padding: 2rem 0;
    background: var(--color-bg);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.footer-link {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.85rem;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
}

.footer-link:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}