/* Design System - Premium Natural */
:root {
    /* Colors */
    --color-bg: #F9F8F6;
    /* Soft off-white */
    --color-text-main: #2C352D;
    /* Dark olive green */
    --color-text-muted: #576058;
    --color-accent: #6C8164;
    /* Sage green */
    --color-accent-hover: #5A6D54;
    --color-gold: #C2A77A;
    /* Refined Gold */
    --color-white: #FFFFFF;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-2xl: 8rem;

    /* Transitions */
    --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Noise Texture Effect */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-text-main);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

p {
    font-size: clamp(1rem, 1.2vw, 1.25rem);
    color: var(--color-text-muted);
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: var(--space-2xl) 0;
}

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

.mt-8 {
    margin-top: 2rem;
}

.highlight {
    color: var(--color-accent);
    font-style: italic;
}

/* Navbar */
.navbar {
    padding: var(--space-lg) 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(108, 129, 100, 0.2);
}

.cta-button.primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(108, 129, 100, 0.3);
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(194, 167, 122, 0.15);
    color: var(--color-gold);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    /* Offset for navbar */
    padding-bottom: var(--space-xl);
}

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

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    margin-bottom: var(--space-md);
}

.hero-text p {
    margin-bottom: var(--space-lg);
}

/* Image Styles */
.mockup-img {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    transform: rotate(2deg);
    transition: transform var(--transition-smooth);
}

.mockup-img:hover {
    transform: rotate(0deg) scale(1.02);
}

.founder-img {
    width: 100%;
    border-radius: 200px 200px 8px 8px;
    /* Arch shape */
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* slight shadow to match premium vibe */
}

/* Solution Section */
.solution {
    background-color: var(--color-white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.solution-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.solution-text h2 {
    margin-bottom: var(--space-md);
}

/* Authority Section */
.authority-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-2xl);
    align-items: center;
}

.authority-content h2 {
    margin-bottom: var(--space-md);
}

.authority-content p {
    margin-bottom: var(--space-md);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

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

.stat-number,
.stat-plus {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
    color: var(--color-text-muted);
}

/* Free Class Section */
.free-class {
    background-color: var(--color-text-main);
    color: var(--color-white);
}

.free-class h2,
.free-class p {
    color: var(--color-white);
}

.free-class .highlight {
    color: var(--color-gold);
}

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

.class-text h2 {
    margin-bottom: var(--space-md);
}

.video-thumbnail-wrapper {
    cursor: pointer;
    position: relative;
}

.video-img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.overlay-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.play-button {
    background: var(--color-gold);
    color: var(--color-text-main);
    border: none;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    cursor: pointer;
    transition: transform var(--transition-smooth);
}

.video-thumbnail-wrapper:hover .overlay-play {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Final CTA */
.final-cta {
    background-color: var(--color-bg);
}

/* Footer */
footer {
    padding: var(--space-lg) 0;
    background-color: var(--color-bg);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.875rem;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

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

.modal-content {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: 8px;
    position: relative;
    z-index: 101;
    width: 90%;
    max-width: 450px;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-text-muted);
}

.modal-content h3 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.modal-content p {
    margin-bottom: var(--space-lg);
    font-size: 1rem;
}

.input-group {
    margin-bottom: 1rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.input-group input:not(.phone-ddd):not(.phone-number) {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

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

.submit-button {
    width: 100%;
    margin-top: 1rem;
}

/* WhatsApp Phone Field */
.phone-row {
    display: flex;
    gap: 0.5rem;
}

.phone-select {
    width: 110px;
    flex-shrink: 0;
    padding: 0.875rem 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.9rem;
    background: var(--color-white);
    cursor: pointer;
    appearance: none;
    -webkit-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='%23576058' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    padding-right: 1.5rem;
}

.phone-select:focus {
    outline: none;
    border-color: var(--color-accent);
}

.phone-ddd {
    width: 65px;
    flex-shrink: 0;
    padding: 0.875rem 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    text-align: center;
}

.phone-ddd:focus {
    outline: none;
    border-color: var(--color-accent);
}

.phone-ddd.hidden {
    display: none;
}

.phone-number {
    flex: 1;
    min-width: 0;
    padding: 0.875rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.phone-number:focus {
    outline: none;
    border-color: var(--color-accent);
}

.phone-error {
    display: block;
    color: #b73a3a;
    font-size: 0.8rem;
    margin-top: 0.35rem;
    min-height: 1.1em;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {

    .hero-content,
    .authority-grid,
    .class-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .hero {
        padding-top: 120px;
        text-align: center;
    }

    .hero-text {
        margin: 0 auto;
    }

    .hero-image-placeholder,
    .founder-image-placeholder {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        text-align: center;
    }

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