/* ===== БАЗОВЫЕ СБРОСЫ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
    background: #f7faff;
    color: #1a2b4a;
    line-height: 1.5;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== ШАПКА ===== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #e5edf6;
    flex-wrap: wrap;
}
.logo {
    font-size: 24px;
    font-weight: 700;
    color: #1a2b4a;
    text-decoration: none;
}
.logo span {
    color: #f68b1e;
}
.header-nav a {
    margin-left: 24px;
    color: #1a2b4a;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
}
.header-nav a:hover {
    color: #f68b1e;
}

/* ===== HERO ===== */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 40px 0 30px;
}
.hero-text {
    flex: 1 1 55%;
}
.hero-text .badge {
    display: inline-block;
    background: #fef3e6;
    color: #f68b1e;
    font-weight: 600;
    font-size: 14px;
    padding: 4px 18px;
    border-radius: 30px;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}
.hero-text h1 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #0b1a33;
}
.hero-text h1 .highlight {
    color: #f68b1e;
}
.hero-text p {
    font-size: 18px;
    color: #2c3e5a;
    margin-bottom: 24px;
    max-width: 500px;
}
.hero-text .cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.btn-primary {
    background: #f68b1e;
    color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: 0 8px 20px rgba(246, 139, 30, 0.25);
}
.btn-primary:hover {
    background: #e07c14;
}
.hero-text .sub-cta {
    font-size: 15px;
    color: #5a6f8a;
}
.hero-image {
    flex: 1 1 35%;
    text-align: center;
}
.hero-image svg {
    max-width: 100%;
    height: auto;
}

/* ===== ОБЩИЕ СЕКЦИИ ===== */
section {
    padding: 50px 0;
    border-bottom: 1px solid #eef3f9;
}
section:last-of-type {
    border-bottom: none;
}
.section-title {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}
.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #4a5f7a;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* ===== ПРОБЛЕМА / РЕШЕНИЕ ===== */
.problem-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.problem-solution .card {
    background: #fff;
    padding: 28px 24px;
    border-radius: 20px;
    border: 1px solid #eef3f9;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.problem-solution .card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}
.problem-solution .card p {
    color: #2c3e5a;
}
.problem-solution .card .emoji-big {
    font-size: 36px;
    display: block;
    margin-bottom: 8px;
}

/* ===== 3 ШАГА ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 10px;
}
.step-item {
    background: #fff;
    padding: 24px 20px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #eef3f9;
}
.step-item .step-num {
    font-size: 32px;
    font-weight: 800;
    color: #f68b1e;
    opacity: 0.25;
}
.step-item h4 {
    margin: 8px 0 6px;
    font-size: 18px;
}
.step-item p {
    font-size: 15px;
    color: #4a5f7a;
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}
.benefit-item {
    background: #fff;
    padding: 16px 20px;
    border-radius: 14px;
    border: 1px solid #eef3f9;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}
.benefit-item .emoji {
    font-size: 26px;
}

/* ===== ПРЕПОДАВАТЕЛЬ ===== */
.teacher-card {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background: #fff;
    padding: 30px;
    border-radius: 24px;
    border: 1px solid #eef3f9;
    align-items: center;
}
.teacher-card .avatar {
    font-size: 56px;
    background: #eaf0f8;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.teacher-card .info {
    flex: 1;
}
.teacher-card .info h3 {
    font-size: 22px;
    margin-bottom: 4px;
}
.teacher-card .info .title {
    color: #f68b1e;
    font-weight: 600;
    margin-bottom: 8px;
}
.teacher-card .info p {
    color: #2c3e5a;
}

/* ===== СТОИМОСТЬ ===== */
.pricing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}
.price-card {
    background: #fff;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid #eef3f9;
    text-align: center;
}
.price-card .icon {
    font-size: 36px;
}
.price-card h4 {
    margin: 10px 0 4px;
    font-size: 20px;
}
.price-card .price {
    font-size: 28px;
    font-weight: 700;
    color: #f68b1e;
}
.price-card p {
    font-size: 14px;
    color: #4a5f7a;
    margin-top: 6px;
}
.price-card.premium {
    border: 2px solid #f68b1e;
}
.payment-note {
    text-align: center;
    margin-top: 24px;
    color: #4a5f7a;
    font-size: 15px;
}

/* ===== ФОРМА ===== */
.form-section {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #eef3f9;
    max-width: 600px;
    margin: 0 auto;
}
.form-section h3 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 6px;
}
.form-section .sub {
    text-align: center;
    color: #4a5f7a;
    margin-bottom: 24px;
}
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}
.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dce3ed;
    border-radius: 12px;
    font-size: 16px;
    background: #fafcff;
    transition: border 0.3s;
}
.form-group input:focus,
.form-group select:focus {
    border-color: #f68b1e;
    outline: none;
    background: #fff;
}
.form-group .checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
    font-size: 14px;
}
.form-group .checkbox input {
    width: auto;
    margin-top: 2px;
}
.form-section .btn-primary {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 6px;
}

/* ===== СЧЁТЧИК МЕСТ ===== */
.spots {
    text-align: center;
    margin-top: 18px;
    font-size: 18px;
    font-weight: 600;
    color: #1a2b4a;
}
.spots span {
    background: #fef3e6;
    padding: 4px 16px;
    border-radius: 30px;
    color: #f68b1e;
}

/* ===== ПОДВАЛ ===== */
.footer {
    padding: 30px 0;
    border-top: 1px solid #eef3f9;
    text-align: center;
    color: #5a6f8a;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.footer a {
    color: #1a2b4a;
    text-decoration: none;
    font-weight: 500;
}
.footer a:hover {
    color: #f68b1e;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 30px;
    }
    .problem-solution {
        grid-template-columns: 1fr;
    }
    .pricing {
        grid-template-columns: 1fr;
    }
    .header-nav a {
        margin-left: 12px;
        font-size: 14px;
    }
    .teacher-card {
        flex-direction: column;
        text-align: center;
    }
    .form-section {
        padding: 24px;
    }
}
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 24px;
    }
    .btn-primary {
        width: 100%;
        justify-content: center;
    }
    .hero-text .cta-group {
        flex-direction: column;
        align-items: stretch;
    }
}