:root {
    --primary: #0d9488;          /* Приятный бирюзово-изумрудный (Teal) */
    --primary-hover: #0f766e;
    --primary-light: #f0fdfa;
    --dark: #1e293b;             /* Глубокий графитовый (Slate) */
    --text: #475569;             /* Мягкий темный текст */
    --light: #f8fafc;            /* Очень нежный серый фон для блоков */
    --border: #e2e8f0;
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background-color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.small-container {
    max-width: 700px;
}

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

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

nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
    white-space: nowrap;
}

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

nav a.nav-btn {
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
}

nav a.nav-btn:hover { background: var(--primary-hover); }

/* Hero Section */
.hero {
    background: linear-gradient(180deg, var(--primary-light) 0%, #ffffff 100%);
    padding: 80px 0 50px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 17px;
    color: var(--text);
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

.btn-primary:hover { background: var(--primary-hover); }

.btn-secondary {
    background: #ffffff;
    color: var(--dark);
    border: 1px solid var(--border);
}

.btn-secondary:hover { background: var(--light); }

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.stat-card h3 {
    font-size: 28px;
    color: var(--primary);
    font-weight: 700;
}

.stat-card p {
    font-size: 13px;
    color: #64748b;
}

/* Sections Global */
section { padding: 70px 0; }
.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 40px;
}

/* About Teacher */
.about-teacher {
    background: var(--light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.about-teacher p {
    font-size: 17px;
    color: var(--text);
    line-height: 1.8;
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.b-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: transform 0.2s;
}

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

.b-card .icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.b-card h3 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 8px;
}

/* Programs & Pricing */
.programs { background: var(--light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 25px;
}

.p-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 35px 25px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.p-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.06);
}

.p-tag {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--light);
    padding: 4px 10px;
    border-radius: 12px;
}

.featured .p-tag {
    background: var(--primary);
    color: #fff;
}

.p-card h3 {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 12px;
}

.p-card .price {
    font-size: 38px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
}

.p-card .price span {
    font-size: 15px;
    font-weight: 500;
    color: #64748b;
}

.p-card ul {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.p-card ul li {
    margin-bottom: 10px;
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.p-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.card-btn {
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    background: var(--light);
    color: var(--dark);
    border: 1px solid var(--border);
    transition: background 0.2s;
}

.card-btn:hover { background: #e2e8f0; }

.card-btn.btn-feat {
    background: var(--primary);
    color: #fff;
    border: none;
}

.card-btn.btn-feat:hover { background: var(--primary-hover); }

/* FAQ Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
}

.faq-item summary {
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    outline: none;
    font-size: 15px;
}

.faq-item p {
    margin-top: 10px;
    font-size: 14px;
    color: var(--text);
}

/* Call to Action */
.book { background: var(--primary-light); }
.book .book-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
}

.contact-box {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.contact-link {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    background: #ffffff;
    color: var(--dark);
    border: 1px solid var(--border);
}

.contact-link.telegram-btn {
    background: #0d9488;
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.15);
}

.contact-link.telegram-btn:hover { background: var(--primary-hover); }

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    font-size: 13px;
    color: #64748b;
    background: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: center;
}

/* Мобильная адаптивность */
@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        gap: 12px;
        padding: 12px 10px;
        align-items: center;
    }
    nav {
        display: flex;
        width: 100%;
        justify-content: flex-start;
        gap: 14px;
        overflow-x: auto;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    nav::-webkit-scrollbar {
        display: none;
    }
    nav a {
        font-size: 13px;
    }
    nav a.nav-btn {
        padding: 6px 12px;
    }
    .hero {
        padding: 30px 0;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 26px;
    }
    .hero-text p {
        font-size: 15px;
    }
    .hero-actions {
        flex-direction: column;
        gap: 10px;
    }
    .hero-stats {
        flex-direction: row;
        gap: 8px;
        justify-content: space-between;
    }
    .stat-card {
        padding: 10px 4px;
        flex: 1;
        text-align: center;
    }
    .stat-card h3 {
        font-size: 18px;
    }
    .stat-card p {
        font-size: 10px;
    }
    section {
        padding: 40px 0;
    }
    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    .contact-box {
        flex-direction: column;
        gap: 10px;
    }
    .contact-link {
        width: 100%;
        text-align: center;
    }
}
