/* === CSS Variables === */
:root {
    --color-bg: #0f0f0f;
    --color-bg-alt: #161616;
    --color-bg-card: #1c1c1c;
    --color-border: #2a2a2a;
    --color-text: #e5e5e5;
    --color-text-muted: #888888;
    --color-white: #ffffff;
    --color-accent: #e8e8e8;
    --font-main: 'Outfit', system-ui, sans-serif;
    --transition: all 0.2s ease;
    --radius: 4px;
    --radius-lg: 8px;
}

/* === Reset & Base === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-white);
}

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

a:hover {
    color: var(--color-white);
}

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

/* === Container === */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === Site Header === */
.site-header {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.header-logo img {
    height: 36px;
    width: auto;
}

.header-phone {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
}

.header-phone:hover {
    color: var(--color-white);
}

/* === Hero Section === */
.hero {
    padding: 80px 0;
    background: var(--color-bg);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-headline {
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.hero-sub a {
    color: #3ea6ff;
    text-decoration: none;
    white-space: nowrap;
}

.hero-sub a:hover {
    color: #ff0000;
}

.hero-sub a:hover .youtube-icon {
    color: #ff0000;
}

.youtube-icon {
    width: 1.2em;
    height: 1.2em;
    vertical-align: -0.2em;
    margin-right: 0.3em;
}

.hero-image {
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: -12px;
    bottom: -12px;
    border: 2px solid #3a3a3a;
    border-radius: var(--radius-lg);
    z-index: 0;
}

.hero-image picture {
    display: block;
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* === CTA Button === */
.cta-button {
    display: inline-block;
    background: var(--color-white);
    color: var(--color-bg);
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--color-text);
    color: var(--color-bg);
    transform: translateY(-1px);
}

.cta-button--stacked {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 32px;
}

.cta-button--stacked .cta-label {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.cta-button--stacked .cta-phone {
    font-size: 1.1rem;
    font-weight: 700;
}

/* === Section Base === */
.section {
    padding: 80px 0;
}

.section:nth-child(odd) {
    background: var(--color-bg-alt);
}

.section h2 {
    font-size: 1.75rem;
    margin-bottom: 40px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.section-intro {
    color: var(--color-text-muted);
    margin-top: -24px;
    margin-bottom: 40px;
}

/* === About Section === */
.about-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: start;
}

.instructor-photo {
    position: relative;
}

.instructor-photo::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: -12px;
    bottom: -12px;
    border: 2px solid #3a3a3a;
    border-radius: var(--radius-lg);
    z-index: 0;
}

.instructor-photo picture {
    display: block;
    position: relative;
    z-index: 1;
}

.instructor-photo img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.about-content p {
    margin-bottom: 20px;
    color: var(--color-text);
}

.about-content p.lead {
    font-size: 1.1rem;
    color: var(--color-white);
    line-height: 1.6;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* === Learn Section === */
.learn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.learn-item {
    background: var(--color-bg-card);
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.learn-item:hover {
    border-color: #3a3a3a;
}

.learn-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.learn-item p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* === YouTube Section === */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.channel-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.channel-card:hover {
    border-color: #3a3a3a;
}

.channel-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top;
}

.channel-info {
    padding: 24px;
}

.channel-info h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.subscriber-count {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.channel-info p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.channel-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 2px;
}

.channel-link:hover {
    color: var(--color-white);
    border-color: var(--color-text-muted);
}

/* === Pricing Section === */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
}

.price-card {
    background: var(--color-bg-card);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.price-card:hover {
    border-color: #3a3a3a;
}

.price-card.featured {
    border-color: #444;
    position: relative;
}

.price-card.featured::before {
    content: 'MOST COMMON';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-bg-card);
    border: 1px solid #444;
    color: var(--color-text);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius);
    letter-spacing: 0.05em;
}

.price-duration {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
}

.price-card p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* === Contact Section === */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-lead {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--color-text);
}

.contact-info .cta-button {
    margin-bottom: 32px;
}

.location-info h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.location-info p {
    color: var(--color-text);
}

.location-detail {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.map-container iframe {
    display: block;
}

/* === Footer === */
.footer {
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
    padding: 24px 0;
    text-align: center;
}

.footer p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* === Responsive Design === */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .hero-headline {
        font-size: 2rem;
    }

    .about-grid {
        grid-template-columns: 240px 1fr;
        gap: 36px;
    }

    .channels-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-headline {
        font-size: 1.75rem;
    }

    .header-logo img {
        height: 28px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 500px;
        margin: 0 auto;
    }

    .instructor-photo {
        max-width: 280px;
        margin: 0 auto;
    }
}

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

    .hero-headline {
        font-size: 1.5rem;
    }

    .hero-headline br {
        display: none;
    }
}
