:root {
    --bg: #0b0b0b;
    --bg-soft: #121212;
    --text: #f5f1ea;
    --text-dark: #111111;
    --muted: #a8a29b;
    --muted-dark: #6f6a63;
    --line: #252525;
    --line-light: #e9e3db;
    --surface: #ffffff;
    --surface-soft: #f7f4ef;
    --container: 1180px;
    --radius: 18px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--surface);
    color: var(--text-dark);
    line-height: 1.6;
}

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

button {
    font: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

.container {
    width: min(100% - 48px, var(--container));
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}

h1,
h2,
h3,
h4 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(4rem, 8vw, 7rem);
    color: var(--text);
    margin-bottom: 22px;
}

h2 {
    font-size: clamp(2.4rem, 4vw, 4rem);
    margin-bottom: 18px;
}

h3 {
    font-size: 1.7rem;
    line-height: 1.05;
}

.accent-italic {
    font-style: italic;
    font-weight: 500;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted-dark);
}

.eyebrow.light {
    color: rgba(255, 255, 255, 0.62);
}

.lead {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
}

.btn-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.25s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: #fff;
    color: #111;
}

.btn-primary:hover {
    background: #f1f1f1;
}

.btn-secondary {
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
}

.btn-dark {
    background: #111;
    color: #fff;
}

.btn-dark:hover {
    background: #000;
}

.btn-outline-dark {
    border-color: var(--line-light);
    color: #111;
}

.btn-outline-dark:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

.center-btns {
    justify-content: center;
}

.center-heading {
    text-align: center;
    margin-bottom: 54px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #000;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.25em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.94rem;
}

.nav-links a:hover {
    color: #fff;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-register-btn {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.88rem;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.nav-register-btn:hover {
    background: #fff;
    color: #000;
}

.language-switcher {
    position: relative;
}

.lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-toggle img {
    width: 18px;
    height: 18px;
    filter: invert(1);
    transition: 0.3s;
}

.lang-toggle:hover img {
    transform: scale(1.15);
    opacity: 0.85;
}

.lang-dropdown {
    position: absolute;
    top: 36px;
    right: 0;
    min-width: 120px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 8px;
    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 200;
}

.lang-dropdown.show {
    display: flex;
}

.lang-option {
    color: #fff;
    background: transparent;
    text-align: left;
    padding: 10px 12px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.08);
}

.hero {
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.05), transparent 38%), linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)), var(--bg);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.22;
}

.hero-inner {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 78px);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 90px 0 100px;
}

.hero-copy {
    max-width: 780px;
    margin: 0 auto;
}

.reveal,
.reveal-left,
.reveal-right,
.reveal-up {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-80px);
}

.reveal-right {
    transform: translateX(80px);
}

.reveal-up {
    transform: translateY(24px);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-up.active {
    opacity: 1;
    transform: translate(0, 0);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 44px;
    align-items: start;
}

.about-copy p {
    max-width: 560px;
    color: var(--muted-dark);
    margin-bottom: 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.stat-card {
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    padding: 30px 24px;
    background: #fff;
}

.stat-number {
    display: block;
    font-family: "Cormorant Garamond", serif;
    font-size: 2.4rem;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted-dark);
}

.features-section {
    background: var(--surface-soft);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.feature-card {
    text-align: center;
    padding: 22px;
    border-radius: 20px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    background-color: #ffffff;
    box-shadow: 0 14px 34px rgba(193, 180, 180, 0.07);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border: 1px solid #ddd6cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: transparent;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-icon img {
    width: 55%;
    height: 55%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.feature-card p {
    color: var(--muted-dark);
    margin-top: 10px;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.class-card {
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    padding: 28px;
    background: #fff;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.class-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.07);
    border-color: #ddd5ca;
}

.class-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.class-price {
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    line-height: 1;
}

.class-card p {
    color: var(--muted-dark);
    margin: 14px 0 18px;
}

.class-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--muted-dark);
}

.enroll-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #111;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.enroll-link:hover {
    opacity: 0.7;
    transform: translateX(4px);
}

.view-all-link {
    font-size: 0.95rem;
    color: #111;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.view-all-link:hover {
    transform: translateX(4px);
    opacity: 0.8;
}

.section-top-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 42px;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.testimonials-section {
    background: #090909;
    padding: 110px 0;
    overflow: hidden;
}

.light-center-heading {
    text-align: center;
    margin-bottom: 46px;
}

.light-title {
    color: #fff;
}

.testimonial-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-slider {
    overflow: hidden;
    width: 100%;
}

.testimonial-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
    will-change: transform;
}

.testimonial-card {
    flex: 0 0 calc((100% - 48px) / 3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 34px;
    background: rgba(255, 255, 255, 0.01);
    color: rgba(255, 255, 255, 0.86);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.025);
}

.testimonial-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 28px;
}

.testimonial-card h4 {
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    line-height: 1;
    color: #fff;
    margin-bottom: 10px;
}

.testimonial-card span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.52);
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: #fff;
    color: #111;
    border-color: #fff;
}

.slider-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.faq-wrap {
    max-width: 860px;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-list details {
    border: 1px solid var(--line-light);
    border-radius: 14px;
    padding: 18px 20px;
    background: #fff;
}

.faq-list summary {
    cursor: pointer;
    list-style: none;
    font-weight: 500;
}

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

.faq-list details p {
    margin-top: 14px;
    color: var(--muted-dark);
}

.cta-section {
    padding-top: 40px;
}

.cta-box {
    text-align: center;
    max-width: 820px;
}

.cta-text {
    max-width: 680px;
    margin: 0 auto;
    color: var(--muted-dark);
}

.site-footer {
    background: #0a0a0a;
    color: rgba(255, 255, 255, 0.76);
    padding: 80px 0 26px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 34px;
    padding-bottom: 42px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: inline-block;
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.2em;
    font-weight: 600;
    margin-bottom: 18px;
}

.footer-logo span {
    opacity: 0.7;
}

.site-footer h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 14px;
}

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

.site-footer li {
    margin-bottom: 10px;
}

.footer-bottom {
    padding-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 18px;
}

html[dir="rtl"] body {
    text-align: right;
}

html[dir="rtl"] .about-grid {
    direction: rtl;
}

html[dir="rtl"] .section-top-row {
    flex-direction: row-reverse;
}

html[dir="rtl"] .class-meta,
html[dir="rtl"] .btn-row {
    flex-direction: row-reverse;
}

@media (max-width: 1100px) {
    .classes-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    h1 {
        font-size: clamp(2.6rem, 13vw, 3.6rem);
        line-height: 1;
    }

    h2 {
        font-size: clamp(1.9rem, 9vw, 2.7rem);
        line-height: 1.05;
    }

    .classes-grid,
    .about-grid,
    .features-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-inner {
        min-height: auto;
        padding: 68px 0 76px;
        place-items: center;
    }

    .hero-copy {
        max-width: 100%;
    }

    .btn-row {
        justify-content: center;
    }

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

    .about-copy p {
        max-width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat-card {
        padding: 20px 16px;
    }

    .stat-label {
        font-size: 0.72rem;
        letter-spacing: 0.06em;
        line-height: 1.25;
    }

    .nav {
        padding: 12px 0;
    }

    .nav-links {
        gap: 18px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .section {
        padding: 68px 0;
    }
    .container {
        width: min(100% - 32px, var(--container));
    }
}

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

    .btn-row {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-inner {
        padding: 58px 0 66px;
    }
}
