* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #1e293b;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 60px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    text-align: center;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn--primary {
    background: #4361ee;
    color: white;
    border-color: #4361ee;
}
.btn--primary:hover {
    background: #3046b3;
    border-color: #3046b3;
}

.btn--outline {
    background: transparent;
    border: 2px solid #4361ee;
    color: #4361ee;
}
.btn--outline:hover {
    background: #4361ee;
    color: white;
}

.btn--telegram {
    background: #28a8e9;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn--telegram:hover {
    background: #1f8bc1;
}

.btn--large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn--block {
    display: block;
    width: 100%;
}

/* Заголовки секций */
.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 48px;
    text-align: center;
    color: #0f172a;
}
.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #4361ee;
    margin: 16px auto 0;
    border-radius: 2px;
}

/* Шапка */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    z-index: 100;
    padding: 16px 0;
}
.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header__logo img {
    display: block;
}
.header__nav {
    margin-left: auto;
    margin-right: 32px;
}
.nav-list {
    display: flex;
    gap: 32px;
}
.nav-list a {
    font-weight: 500;
    color: #334155;
    transition: color 0.2s;
}
.nav-list a:hover {
    color: #4361ee;
}
.header__tg {
    flex-shrink: 0;
}
.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}
.header__burger span {
    width: 24px;
    height: 2px;
    background: #1e293b;
    transition: 0.2s;
}

/* Герой */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(145deg, #f8fafc 0%, #eef2ff 100%);
    position: relative;
    overflow: hidden;
}
.hero__container {
    position: relative;
    z-index: 2;
}
.hero__title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    max-width: 800px;
    margin-bottom: 24px;
    color: #0f172a;
}
.hero__title span {
    color: #4361ee;
    position: relative;
}
.hero__subtitle {
    font-size: 20px;
    color: #475569;
    max-width: 600px;
    margin-bottom: 40px;
}
.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero__bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('img/hero-bg.svg') no-repeat center/contain;
    opacity: 0.1;
    pointer-events: none;
}

/* Преимущества */
.advantages {
    padding: 80px 0;
    background: white;
}
.advantages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.advantage-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
    transition: transform 0.2s;
}
.advantage-card:hover {
    transform: translateY(-8px);
}
.advantage-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: #eef2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.advantage-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #0f172a;
}
.advantage-card p {
    color: #475569;
}

/* Кейсы (слайдер) */
.cases {
    padding: 80px 0;
    background: #f8fafc;
}
.cases-slider {
    position: relative;
    min-height: 400px;
}
.case-card {
    display: none;
    align-items: center;
    gap: 40px;
    background: white;
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
}
.case-card.active {
    display: flex;
}
.case-card__content {
    flex: 1;
}
.case-card h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #0f172a;
}
.case-card p {
    margin-bottom: 12px;
    color: #475569;
}
.case-card span {
    font-weight: 600;
    color: #4361ee;
}
.case-card__task, .case-card__result {
    margin-top: 16px;
}
.case-card__image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
}
.case-card__image img {
    width: 100%;
    object-fit: cover;
}

/* Точки слайдера */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: background 0.2s;
}
.dot.active {
    background: #4361ee;
}

/* Тарифы */
.rates {
    padding: 80px 0;
    background: white;
}
.rates-description {
    text-align: center;
    max-width: 800px;
    margin: -24px auto 40px;
    color: #475569;
    font-size: 18px;
}
.rates__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}
.rate-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.2s;
    position: relative;
}
.rate-card:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}
.rate-card--popular {
    border: 2px solid #4361ee;
    transform: scale(1.05);
    z-index: 1;
}
.rate-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #4361ee;
    color: white;
    padding: 6px 20px;
    border-radius: 60px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
.rate-card__header {
    text-align: center;
    margin-bottom: 24px;
}
.rate-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}
.rate-card__price {
    font-size: 40px;
    font-weight: 700;
    color: #0f172a;
}
.rate-card__price span {
    font-size: 18px;
    font-weight: 400;
    color: #64748b;
}
.rate-card__features {
    margin: 24px 0;
}
.rate-card__features li {
    padding: 8px 0 8px 28px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%234361ee"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') left center no-repeat;
    background-size: 18px;
}

/* CTA Telegram */
.cta-tg {
    padding: 60px 0;
    background: linear-gradient(145deg, #4361ee, #3046b3);
}
.cta-tg__card {
    text-align: center;
    color: white;
    max-width: 700px;
    margin: 0 auto;
}
.cta-tg h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}
.cta-tg p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}
.cta-tg .btn--telegram {
    background: white;
    color: #4361ee;
    border: none;
}
.cta-tg .btn--telegram:hover {
    background: #f1f5f9;
}

/* Образовательный блок (SEO) */
.seo-education {
    padding: 80px 0;
    background: #f8fafc;
}
.seo-block {
    margin-bottom: 48px;
}
.seo-block h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #0f172a;
}
.seo-block h4 {
    font-size: 22px;
    font-weight: 600;
    margin: 24px 0 16px;
    color: #1e293b;
}
.seo-block p {
    margin-bottom: 16px;
    color: #334155;
    line-height: 1.7;
}
.seo-block ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 24px;
    color: #334155;
}
.seo-block ul li {
    margin-bottom: 8px;
}
.seo-block ul li strong {
    color: #4361ee;
}
.seo-block ol {
    list-style: decimal;
    padding-left: 24px;
    margin-bottom: 24px;
    color: #334155;
}
.seo-block ol li {
    margin-bottom: 8px;
}
.seo-block .btn--primary {
    display: inline-block;
    margin-top: 16px;
}

.table-responsive {
    overflow-x: auto;
    margin: 32px 0;
}
.seo-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.seo-table th {
    background: #4361ee;
    color: white;
    font-weight: 600;
    padding: 16px;
    text-align: left;
}
.seo-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
}
.seo-table tr:last-child td {
    border-bottom: none;
}
.seo-table tr:hover td {
    background: #f1f5f9;
}
.seo-note {
    font-size: 18px;
    background: #eef2ff;
    padding: 24px;
    border-radius: 16px;
    border-left: 6px solid #4361ee;
    margin-top: 32px;
}

/* Футер */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 40px 0;
}
.footer__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.footer__logo {
    filter: brightness(0) invert(1);
    margin-bottom: 8px;
}
.footer__copy {
    font-size: 14px;
}
.footer__links {
    display: flex;
    gap: 24px;
}
.footer__links a {
    color: #cbd5e1;
    font-size: 14px;
    transition: color 0.2s;
}
.footer__links a:hover {
    color: white;
}

/* Адаптив */
@media (max-width: 992px) {
    .hero__title {
        font-size: 44px;
    }
    .advantages__grid, .rates__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .rate-card--popular {
        transform: scale(1);
    }
    .case-card {
        flex-direction: column;
        text-align: center;
    }
    .case-card__image {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header__nav, .header__tg {
        display: none;
    }
    .header__burger {
        display: flex;
    }
    .hero__title {
        font-size: 36px;
    }
    .advantages__grid, .rates__grid {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 28px;
    }
    .footer__container {
        flex-direction: column;
        text-align: center;
    }
}

/* Мобильное меню */
.header__nav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}
.header__nav.active .nav-list {
    flex-direction: column;
    gap: 16px;
}
.header__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.header__burger.active span:nth-child(2) {
    opacity: 0;
}
.header__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Форма обратной связи */
.contact-form {
    padding: 60px 0;
    background: #f9fafb;
}

.contact-form__wrapper {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.contact-form__subtitle {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 32px;
}

.form {
    text-align: left;
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #1f2937;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #0088cc;
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.1);
}

.form-submit {
    width: 100%;
    margin-top: 8px;
}

.form-status {
    margin-top: 16px;
    text-align: center;
    font-weight: 500;
}

.form-status.success {
    color: #10b981;
}

.form-status.error {
    color: #ef4444;
}

.contact-form__privacy {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #6b7280;
}

.contact-form__privacy a {
    color: #0088cc;
    text-decoration: none;
}
