* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --accent: #00b07a;
    --accent-dark: #008f62;
    --accent-light: #e6f9f3;
    --dark: #0d1f1a;
    --text: #1a2e28;
    --muted: #5a7a70;
    --border: #d0ede5;
    --bg: #f4fbf8;
    --white: #ffffff;
    --radius: 14px;
    --shadow: 0 4px 24px rgba(0,176,122,.12);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Навигация ─────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(0,176,122,.1);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.nav-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: -.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: .93rem;
    font-weight: 500;
    transition: color .2s;
}

.nav-links a:hover { color: var(--accent); }

.nav-cta {
    background: var(--accent);
    color: #fff !important;
    padding: 9px 22px;
    border-radius: 50px;
    font-weight: 600 !important;
    transition: background .2s !important;
}

.nav-cta:hover { background: var(--accent-dark) !important; color: #fff !important; }

.nav-mobile-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-mobile-btn span {
    display: block;
    width: 24px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: .25s;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, #0d1f1a 0%, #0a2e22 50%, #0d3828 100%);
    padding: 130px 20px 80px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%; left: -20%;
    width: 60%; height: 200%;
    background: radial-gradient(ellipse, rgba(0,176,122,.18) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,176,122,.2);
    border: 1px solid rgba(0,176,122,.4);
    color: #4dffc5;
    font-size: .82rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 28px;
    letter-spacing: .3px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -.5px;
}

.hero h1 span {
    color: var(--accent);
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: .8;
    max-width: 640px;
    margin: 0 auto 40px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, transform .15s;
    box-shadow: 0 4px 20px rgba(0,176,122,.4);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.1);
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.25);
    transition: background .2s;
}

.btn-secondary:hover { background: rgba(255,255,255,.18); }

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.hero-stat span {
    font-size: .88rem;
    opacity: .7;
}

/* ── Секции ────────────────────────────────────────────────── */
section { padding: 80px 0; }

.section-label {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent-dark);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -.3px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ── Как работает ──────────────────────────────────────────── */
.how-section { background: var(--white); }

.how-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 48px;
    position: relative;
}

.how-step {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    position: relative;
}

.how-step-num {
    width: 48px; height: 48px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.how-step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.how-step p {
    font-size: .9rem;
    color: var(--muted);
}

.how-step-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

/* ── Примеры ───────────────────────────────────────────────── */
.examples-section { background: var(--bg); }

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.example-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.example-imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.example-img {
    aspect-ratio: 1;
    background: #e8f5f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
}

.example-img img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.example-label {
    position: absolute;
    bottom: 6px; left: 6px;
    background: rgba(0,0,0,.6);
    color: #fff;
    font-size: .7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
}

.example-meta {
    padding: 16px 18px;
}

.example-meta strong {
    font-size: .95rem;
    color: var(--text);
}

.example-meta span {
    display: block;
    font-size: .82rem;
    color: var(--muted);
    margin-top: 4px;
}

.example-badge {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent-dark);
    font-size: .75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 50px;
    margin-top: 8px;
}

/* ── Тарифы ────────────────────────────────────────────────── */
.pricing-section { background: var(--white); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 48px;
    align-items: start;
}

.price-card {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.price-card.featured {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.price-card.featured .price-desc,
.price-card.featured .price-per {
    color: rgba(255,255,255,.8);
}

.price-badge {
    display: inline-block;
    background: rgba(255,255,255,.25);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.price-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.price-amount {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.price-amount sup { font-size: 1rem; font-weight: 600; }

.price-per {
    font-size: .82rem;
    color: var(--muted);
    margin-bottom: 20px;
}

.price-desc {
    font-size: .9rem;
    color: var(--muted);
    margin-bottom: 24px;
}

.price-btn {
    display: block;
    background: var(--accent);
    color: #fff;
    padding: 12px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: .95rem;
    transition: background .2s;
}

.price-card.featured .price-btn {
    background: #fff;
    color: var(--accent);
}

.price-btn:hover { opacity: .9; }

/* ── Преимущества ──────────────────────────────────────────── */
.benefits-section { background: var(--bg); }

.benefits-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.benefits-table th {
    background: var(--accent);
    color: #fff;
    padding: 16px 20px;
    text-align: left;
    font-size: .95rem;
    font-weight: 600;
}

.benefits-table th:first-child { border-radius: 0; }

.benefits-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    font-size: .92rem;
}

.benefits-table tr:last-child td { border-bottom: none; }

.benefits-table tr:hover td { background: var(--accent-light); }

.check { color: var(--accent); font-weight: 700; }
.cross { color: #e74c3c; }

/* ── Отзывы ────────────────────────────────────────────────── */
.reviews-section { background: var(--white); }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.review-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
}

.review-stars { color: #f4b400; font-size: 1.1rem; margin-bottom: 12px; }

.review-text {
    font-size: .95rem;
    color: var(--text);
    line-height: 1.65;
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-author-name { font-weight: 600; font-size: .92rem; }
.review-author-role { font-size: .82rem; color: var(--muted); }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-section { background: var(--bg); }

.faq-list {
    max-width: 800px;
    margin: 48px auto 0;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    text-align: left;
    font-size: .97rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: background .15s;
}

.faq-q:hover { background: var(--accent-light); }

.faq-q::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform .25s;
}

.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-a {
    display: none;
    padding: 0 24px 20px;
    font-size: .93rem;
    color: var(--muted);
    line-height: 1.7;
}

.faq-item.open .faq-a { display: block; }

/* ── CTA финальный ─────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, #0d1f1a 0%, #0a2e22 100%);
    text-align: center;
    padding: 100px 20px;
    color: #fff;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: .8;
    max-width: 540px;
    margin: 0 auto 40px;
}

/* ── Реферальная страница ──────────────────────────────────── */
.ref-hero {
    background: linear-gradient(135deg, #0d1f1a 0%, #0a2e22 100%);
    padding: 120px 20px 70px;
    text-align: center;
    color: #fff;
}

.ref-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 16px; }
.ref-hero p { font-size: 1.1rem; opacity: .8; max-width: 580px; margin: 0 auto; }

.ref-container { max-width: 860px; margin: 0 auto; padding: 0 20px; }

.ref-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 40px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.ref-card h2 { font-size: 1.35rem; margin-bottom: 16px; color: var(--text); }

.ref-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.ref-step {
    background: var(--accent-light);
    border-radius: 10px;
    padding: 22px 18px;
    text-align: center;
}

.ref-step-num {
    width: 42px; height: 42px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.ref-step p { font-size: .9rem; color: var(--muted); }

.bonus-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.bonus-table th, .bonus-table td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.bonus-table th { background: var(--accent-light); font-weight: 600; color: var(--text); }
.bonus-table tr:last-child td { border-bottom: none; }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
    background: #0a1a14;
    color: rgba(255,255,255,.7);
    padding: 48px 20px 32px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand a {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
    text-decoration: none;
}

.footer-brand p {
    font-size: .88rem;
    margin-top: 10px;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: .9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }

.footer-col a {
    color: rgba(255,255,255,.65);
    text-decoration: none;
    font-size: .88rem;
    transition: color .2s;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
    max-width: 1200px;
    margin: 24px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .83rem;
}

/* ── Адаптив ───────────────────────────────────────────────── */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-mobile-btn { display: flex; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 68px; left: 0; right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 8px 32px rgba(0,0,0,.1);
        gap: 16px;
    }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .benefits-table { font-size: .82rem; }
    .benefits-table th, .benefits-table td { padding: 10px 12px; }
    section { padding: 60px 0; }
    .hero { padding: 110px 20px 60px; }
    .ref-card { padding: 24px 20px; }
}

@media (max-width: 480px) {
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .hero-stats { gap: 24px; }
}
