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

:root {
    --bg: #f7f7fb;
    --bg-soft: #ffffff;
    --text: #222222;
    --text-soft: #555555;
    --accent: #1f6feb;
    --accent-soft: rgba(31, 111, 235, 0.12);
    --accent-strong: #1147a7;
    --danger: #e53935;
    --border: #e2e2ee;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.12);
    --shadow-light: 0 8px 24px rgba(15, 23, 42, 0.08);
    --transition: all 0.25s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(180deg, #f5f7ff 0%, #fdfdfd 40%, #f7f7fb 100%);
    color: var(--text);
    line-height: 1.5;
}

/* CONTAINER */

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

/* HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 226, 238, 0.7);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.95rem;
    text-decoration: none;
}

.logo-mark {
    background: radial-gradient(circle at top left, #ff5f6d, #ffc371);
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    box-shadow: 0 8px 20px rgba(255, 99, 132, 0.45);
}

.logo-text {
    color: #111827;
}

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

.nav-link {
    font-size: 0.95rem;
    text-decoration: none;
    color: var(--text-soft);
    padding: 6px 10px;
    border-radius: 999px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent);
    background: var(--accent-soft);
}

.nav-cta {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    padding-inline: 16px;
    box-shadow: var(--shadow-light);
}

.nav-cta:hover {
    background: var(--accent-strong);
}

/* BURGER + MOBILE MENU */

.burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
}

.burger span {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 8px 16px 16px;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}

.mobile-link {
    text-decoration: none;
    color: var(--text-soft);
    padding: 10px 6px;
    border-radius: 12px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.mobile-link:hover {
    background: var(--accent-soft);
    color: var(--accent);
}

/* HERO */

.hero {
    padding: 40px 0 32px;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c05621;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(251, 146, 60, 0.25);
}

.hero h1 {
    margin-top: 16px;
    font-size: clamp(2.1rem, 3vw, 2.7rem);
    line-height: 1.2;
}

.highlight {
    color: var(--accent);
}

.hero-subtitle {
    margin-top: 12px;
    color: var(--text-soft);
    font-size: 1.02rem;
}

.hero-subtitle strong {
    font-weight: 700;
}

.hero-list {
    margin-top: 16px;
    list-style: none;
    display: grid;
    gap: 6px;
    color: #374151;
    font-size: 0.98rem;
}

.hero-cta {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    border: none;
    border-radius: 999px;
    padding: 11px 20px;
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
}

.btn.primary {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-light);
}

.btn.primary:hover {
    background: var(--accent-strong);
    transform: translateY(-1px) scale(1.01);
}

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

.btn.secondary span {
    font-weight: 700;
}

.btn.secondary:hover {
    border-color: var(--accent);
    color: var(--accent-strong);
    transform: translateY(-1px);
}

.btn.outline {
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent-strong);
}

.btn.outline:hover {
    background: var(--accent-soft);
}

.btn.full-width {
    width: 100%;
}

.hero-note {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-soft);
}

/* TRUST STATS */

.trust-row {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    color: #6b7280;
}

.trust-number {
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
}

.trust-plus {
    font-size: 0.9rem;
    font-weight: 700;
    margin-left: 2px;
}

.trust-label {
    margin-top: 2px;
}

/* PROMO CARD */

.hero-right {
    display: flex;
    justify-content: center;
}

.promo-card {
    background: var(--bg-soft);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    padding: 20px 20px 22px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.promo-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.5), transparent 60%);
    opacity: 0.6;
}

.promo-card > * {
    position: relative;
    z-index: 1;
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}

.promo-badge {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.promo-card h2 {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.promo-price {
    margin: 8px 0 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.old-price {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 0.9rem;
}

.new-price {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--danger);
}

.promo-list {
    list-style: none;
    display: grid;
    gap: 6px;
    font-size: 0.95rem;
    color: var(--text-soft);
    margin-bottom: 10px;
}

.promo-small {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 10px;
}

.promo-urgency {
    font-size: 0.82rem;
    color: #b91c1c;
}

/* SECTIONS */

.section {
    padding: 40px 0;
}

.section-title {
    font-size: 1.7rem;
    text-align: center;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-soft);
    max-width: 640px;
    margin: 0 auto 24px;
}

.soft-bg {
    background: linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
}

.soft-bg-blue {
    background: radial-gradient(circle at top, rgba(59,130,246,0.06), #f7f7fb 55%, #ffffff 100%);
}

.soft-bg-violet {
    background: radial-gradient(circle at top, rgba(168,85,247,0.06), #f7f7fb 55%, #ffffff 100%);
}

.soft-bg-process {
    background: radial-gradient(circle at top left, rgba(56,189,248,0.07), #f7f7fb 50%, #ffffff 100%);
}

/* FEATURE GRID (обединената секция) */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 18px 18px 16px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(148, 163, 184, 0.18);
    transition: var(--transition);
}

.feature-card h3 {
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.feature-card p {
    color: var(--text-soft);
    font-size: 0.94rem;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
    border-color: rgba(31, 111, 235, 0.35);
}

/* BONUS */

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.bonus-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 18px 18px 16px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 26px rgba(148, 163, 184, 0.2);
    transition: var(--transition);
}

.bonus-card-highlight {
    background: linear-gradient(135deg, rgba(52,211,153,0.12), #ffffff);
    border-color: rgba(52,211,153,0.5);
}

.bonus-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.2);
}

/* PRICING */

.pricing-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
}

.pricing-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 20px 20px 18px;
    border: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    transition: var(--transition);
}

.highlight-card {
    position: relative;
    overflow: hidden;
}

.highlight-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(31, 111, 235, 0.09), transparent 60%);
    pointer-events: none;
}

.pricing-card h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.pricing-desc {
    color: var(--text-soft);
    font-size: 0.94rem;
    margin-bottom: 10px;
}

.pricing-list {
    list-style: none;
    display: grid;
    gap: 6px;
    font-size: 0.94rem;
    color: var(--text-soft);
    margin: 10px 0 10px;
}

.pricing-note {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 4px;
}

.custom-price {
    font-size: 0.97rem;
    color: #111827;
    margin-top: 6px;
}

.pricing-badge {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #15803d;
    font-weight: 600;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.18);
}

/* STEPS – разчупен layout */

.steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    position: relative;
}

.steps::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 15px;
    bottom: 15px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(148,163,184,0.2), rgba(37,99,235,0.35));
    transform: translateX(-50%);
}

.step {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 18px 16px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 25px rgba(148, 163, 184, 0.18);
    position: relative;
    max-width: 460px;
    transition: var(--transition);
}

.step-left {
    margin-right: auto;
}

.step-right {
    margin-left: auto;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.step-number {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.step h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.step p {
    font-size: 0.93rem;
    color: var(--text-soft);
}

/* TESTIMONIALS */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 18px 18px 16px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 26px rgba(148, 163, 184, 0.25);
    transition: var(--transition);
}

.testimonial-card-highlight {
    background: linear-gradient(135deg, rgba(251,191,36,0.12), #ffffff);
    border-color: rgba(251,191,36,0.6);
}

.testimonial-text {
    font-size: 0.94rem;
    color: #374151;
    margin-bottom: 8px;
}

.testimonial-author {
    font-size: 0.86rem;
    color: #6b7280;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.22);
}

/* FAQ */

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    gap: 10px;
}

.faq-item {
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 11px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    font-size: 0.97rem;
}

.faq-icon {
    font-size: 1.1rem;
    color: var(--accent);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 14px;
    font-size: 0.93rem;
    color: var(--text-soft);
    transition: max-height 0.22s ease, padding 0.22s ease;
}

.faq-item.active .faq-answer {
    padding-bottom: 10px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* CONTACT */

.contact-section {
    background: radial-gradient(circle at top right, rgba(37,99,235,0.08), #f7f7fb 40%, #ffffff 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

.contact-info h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.contact-info p {
    color: var(--text-soft);
    font-size: 0.98rem;
    margin-bottom: 14px;
}

.contact-phones {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.phone-link {
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #ffffff;
    font-size: 0.95rem;
    color: #111827;
    transition: var(--transition);
}

.phone-link:hover {
    border-color: var(--accent);
    color: var(--accent-strong);
}

.contact-bullets p {
    font-size: 0.9rem;
    color: #4b5563;
}

.contact-bullets p + p {
    margin-top: 4px;
}

.contact-extra {
    margin-top: 14px;
    background: rgba(255,255,255,0.9);
    border-radius: 14px;
    padding: 10px 12px;
    border: 1px solid var(--border);
}

.contact-extra h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-extra ul {
    margin-left: 16px;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #4b5563;
}

.contact-extra li {
    margin-bottom: 3px;
}

.contact-note {
    font-size: 0.85rem;
    color: #6b7280;
}

.contact-form-wrapper {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 18px 18px 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.contact-form h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 8px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 6px;
}

.form-group label {
    font-size: 0.88rem;
    color: #4b5563;
}

input,
select,
textarea {
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 8px 10px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
    background: #f9fafb;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent-soft);
    background: #ffffff;
}

textarea {
    resize: vertical;
}

.form-note {
    margin-top: 6px;
    font-size: 0.85rem;
    color: #6b7280;
}

.form-success {
    display: none;
    margin-top: 8px;
    font-size: 0.9rem;
    color: #15803d;
}

/* FLOATING CTA */

.floating-cta {
    position: fixed;
    right: 16px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 40;
}

.floating-btn {
    border-radius: 999px;
    border: none;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    background: #111827;
    color: #ffffff;
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
}

.floating-btn:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.floating-btn.call {
    background: var(--accent);
}

/* FOOTER */

.footer {
    padding: 18px 0;
    background: #ffffff;
    border-top: 1px solid var(--border);
    margin-top: 16px;
}

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

.footer-small {
    font-size: 0.85rem;
    color: #6b7280;
}

/* ANIMATIONS */

.fade-in {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }
    .hero-right {
        order: -1;
    }

    .feature-grid,
    .bonus-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .steps::before {
        left: 8px;
        transform: none;
    }
    .step,
    .step-left,
    .step-right {
        margin: 0 0 0 20px;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .burger {
        display: flex;
    }

    .hero {
        padding-top: 30px;
    }

    .feature-grid,
    .bonus-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .floating-cta {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        flex-direction: row;
    }

    .header-inner {
        padding-inline: 12px;
    }

    .hero-cta {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .floating-cta {
        flex-direction: row;
        width: min(420px, calc(100% - 32px));
        align-items: center;
        gap: 12px;
    }

    .floating-btn {
        flex: 1;
        width: auto;
        justify-content: center;
        text-align: center;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .promo-card {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .floating-btn {
        padding-inline: 12px;
        font-size: 0.85rem;
    }
}

/* UTILS */

.hidden {
    display: none !important;
}
