:root {
    --primary: #6a5acd;
    --primary-dark: #4d3fb3;
    --secondary: #fdbb2d;
    --background: #f5f6fb;
    --text: #22223b;
    --muted: #6c6f7d;
    --white: #ffffff;
    --shadow: 0 18px 40px rgba(106, 90, 205, 0.18);
}

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

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 12px;
}

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

.container {
    width: min(1100px, 92vw);
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: none;
}

.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 8px 20px rgba(14, 14, 44, 0.08);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo span {
    color: var(--secondary);
}

.nav {
    display: flex;
    gap: 1.5rem;
}

.nav a {
    color: var(--muted);
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
}

.hero {
    padding: 4.5rem 0;
}

.hero .container {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    margin-bottom: 1rem;
}

.hero p {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.hero-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.hero-card h2 {
    margin-bottom: 1rem;
}

.hero-card ul {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.languages {
    padding: 4rem 0;
}

.languages h2,
.languages .section-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.languages .section-intro {
    color: var(--muted);
    margin-bottom: 2.5rem;
}

.language-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.language-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 18px;
    box-shadow: 0 12px 24px rgba(14, 14, 44, 0.08);
    transition: transform 0.2s ease;
}

.language-card:hover {
    transform: translateY(-4px);
}

.tutors {
    padding: 4rem 0;
}

.tutor-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.tutor-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 16px 30px rgba(14, 14, 44, 0.1);
    overflow: hidden;
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
}

.tutor-card h3 {
    font-size: 1.3rem;
}

.tutor-card p {
    color: var(--muted);
}

.language-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    background: rgba(106, 90, 205, 0.1);
    color: var(--primary);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
}

.pricing {
    padding: 4rem 0;
    background: var(--white);
}

.pricing-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    align-items: stretch;
}

.pricing-card {
    background: var(--background);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    text-align: center;
    position: relative;
    box-shadow: 0 12px 30px rgba(14, 14, 44, 0.08);
    display: grid;
    gap: 1rem;
}

.pricing-card ul {
    list-style: none;
    color: var(--muted);
    display: grid;
    gap: 0.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
}

.price span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--muted);
}

.pricing-card .badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--secondary);
    color: var(--text);
    font-weight: 700;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
}

.pricing-card.featured {
    background: linear-gradient(150deg, rgba(106, 90, 205, 0.15), rgba(253, 187, 45, 0.2));
    border: 2px solid rgba(106, 90, 205, 0.3);
}

.booking {
    padding: 4rem 0;
}

.booking .container {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: start;
}

.booking-copy p {
    color: var(--muted);
    margin: 1rem 0;
}

.booking-benefits {
    list-style: none;
    display: grid;
    gap: 0.7rem;
}

.booking-benefits li::before {
    content: '✔';
    margin-right: 0.6rem;
    color: var(--secondary);
}

.booking-form {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    display: grid;
    gap: 1rem;
}

.form-row {
    display: grid;
    gap: 0.4rem;
}

label {
    font-weight: 600;
}

input,
select,
textarea {
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(14, 14, 44, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.9);
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(106, 90, 205, 0.5);
}

.form-footnote {
    font-size: 0.85rem;
    color: var(--muted);
}

.site-footer {
    background: #101028;
    color: var(--white);
    padding: 3rem 0 2rem;
    margin-top: 3rem;
}

.site-footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: start;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: grid;
    gap: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
}

.footer-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .nav {
        position: absolute;
        top: 70px;
        right: 1.5rem;
        background: var(--white);
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        border-radius: 16px;
        box-shadow: 0 12px 28px rgba(14, 14, 44, 0.12);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .nav.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .menu-toggle {
        display: flex;
    }
}
