:root {
    --color-primary: #2563EB;
    --color-primary-dark: #1D4ED8;
    --color-primary-light: #3B82F6;
    --color-primary-bg: #EFF6FF;
    --color-success: #10B981;
    --color-success-bg: #ECFDF5;
    --color-error: #EF4444;
    --color-bg: #FFFFFF;
    --color-bg-alt: #F8FAFC;
    --color-bg-dark: #0F172A;
    --color-text: #1E293B;
    --color-text-secondary: #64748B;
    --color-text-muted: #94A3B8;
    --color-border: #E2E8F0;
    --header-height: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--color-primary); text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    padding: 8px 16px;
    background: var(--color-primary);
    color: white;
    border-radius: 6px;
    z-index: 10000;
    transition: top 0.15s ease;
}
.skip-link:focus { top: 16px; }

:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
    border-radius: 6px;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* Header */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-height);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: box-shadow 0.25s ease;
}
.header--scrolled { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.header__container {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 16px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-text);
    flex-shrink: 0;
}
.logo__icon { font-size: 1.25rem; }

.nav { display: none; }
@media (min-width: 1024px) { .nav { display: block; flex: 1; } }
.nav__list { display: flex; gap: 24px; }
.nav__link {
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 8px 0;
    position: relative;
    transition: color 0.15s ease;
}
.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--color-primary);
    transition: width 0.25s ease;
}
.nav__link:hover { color: var(--color-primary); }
.nav__link:hover::after { width: 100%; }

.header__cta { 
    padding: 8px 16px; 
    border-radius: 8px; 
    font-size: 0.875rem; 
    font-weight: 500; 
    display: none; 
    text-decoration: none; 
    align-items: center; 
    justify-content: center; 
}
@media(min-width: 768px) { 
    .header__cta { display: inline-flex; } 
    .burger { display: none; } 
}
    .header__cta:hover { background: var(--color-primary-dark); transform: translateY(-1px); color: #ffffff;}
}

/* Burger */
.burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px; height: 44px;
    gap: 5px;
    margin-left: auto;
}
@media (min-width: 1024px) { .burger { display: none; } }
.burger__line {
    display: block;
    width: 22px; height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.15s ease;
}
.burger.is-active .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active .burger__line:nth-child(2) { opacity: 0; }
.burger.is-active .burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.mobile-overlay.is-active { opacity: 1; visibility: visible; }
.nav--mobile {
    position: fixed;
    top: 0; right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-bg);
    z-index: 999;
    padding: calc(var(--header-height) + 32px) 24px 24px;
    transition: right 0.4s ease;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}
.nav--mobile.is-active { right: 0; }
.nav--mobile .nav__list { flex-direction: column; gap: 8px; }
.nav--mobile .nav__link {
    display: block;
    padding: 16px;
    font-size: 1.125rem;
    border-radius: 10px;
    transition: background 0.15s ease;
}
.nav--mobile .nav__link:hover { background: var(--color-bg-alt); }

/* Hero */
.hero {
    padding-top: calc(var(--header-height) + 48px);
    padding-bottom: 48px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}
@media (min-width: 1024px) {
    .hero {
        padding-top: calc(var(--header-height) + 64px);
        padding-bottom: 64px;
    }
}
.hero__container {
    display: flex;
    flex-direction: column;
    gap: 48px;
    position: relative;
    z-index: 1;
}
@media (min-width: 1024px) {
    .hero__container {
        flex-direction: row;
        align-items: center;
        gap: 64px;
    }
}
.hero__content { flex: 1; }
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--color-success-bg);
    color: var(--color-success);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 999px;
    margin-bottom: 16px;
}
.hero__badge-dot {
    width: 8px; height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__title {
    font-size: 1.875rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}
@media (min-width: 768px) { .hero__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 3rem; } }
.hero__title-accent { color: var(--color-primary); }

.hero__subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    max-width: 540px;
}

.hero__stats {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.hero__stat { display: flex; flex-direction: column; }
.hero__stat-number { font-size: 1.25rem; font-weight: 800; color: var(--color-primary); }
.hero__stat-label { font-size: 0.875rem; color: var(--color-text-secondary); }
.hero__stat-divider { width: 1px; height: 40px; background: var(--color-border); }
@media (max-width: 379px) {
    .hero__stats { flex-direction: column; align-items: flex-start; }
    .hero__stat-divider { display: none; }
}

.hero__cta { margin-bottom: 8px; }
.hero__note { font-size: 0.875rem; color: var(--color-text-muted); }

/* Hero background */
.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.hero__bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
}
.hero__bg-circle--1 { width: 400px; height: 400px; background: var(--color-primary); top: -100px; right: -100px; }
.hero__bg-circle--2 { width: 300px; height: 300px; background: var(--color-primary-light); bottom: -50px; left: -50px; }

/* Form card */
.hero__form-wrapper { flex: 0 0 100%; max-width: 100%; }
@media (min-width: 1024px) {
    .hero__form-wrapper { flex: 0 0 420px; max-width: 420px; }
}
.form-card {
    background: var(--color-bg);
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    padding: 24px;
    border: 1px solid var(--color-border);
}
@media (min-width: 768px) { .form-card { padding: 32px; } }

.form-card__honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}
.form-card__header { margin-bottom: 24px; }
.form-card__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; }
.form-card__subtitle { font-size: 0.875rem; color: var(--color-text-secondary); }

.form-card__progress { margin-bottom: 24px; }
.progress-bar {
    height: 4px;
    background: var(--color-bg-alt);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 8px;
}
.progress-bar__fill {
    height: 100%;
    width: 25%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    border-radius: 999px;
    transition: width 0.4s ease;
}
.progress-text { font-size: 0.75rem; color: var(--color-text-muted); font-weight: 500; }

.form-step { display: none; }
.form-step.active { display: block; animation: fadeInUp 0.3s ease; }
.form-step__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-text);
    border: none;
}

.radio-cards, .checkbox-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.radio-card, .check-card {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid var(--color-border);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.radio-card:hover, .check-card:hover {
    border-color: var(--color-primary-light);
    background: var(--color-primary-bg);
}
.radio-card input, .check-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.radio-card:has(input:checked),
.check-card:has(input:checked) {
    border-color: var(--color-primary);
    background: var(--color-primary-bg);
}
.radio-card__text, .check-card__text {
    font-weight: 500;
    font-size: 0.875rem;
}

.form-group { margin-bottom: 16px; }
.form-label {
    display: block;
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 8px;
    color: var(--color-text);
}
.form-input {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--color-border);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    background: var(--color-bg);
    min-height: 48px;
}
.form-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
    outline: none;
}
.form-input::placeholder { color: var(--color-text-muted); }
.form-input--error { border-color: var(--color-error); }
.form-input--error:focus { box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.3); }

.form-error {
    display: block;
    font-size: 0.75rem;
    color: var(--color-error);
    margin-top: 4px;
    min-height: 1.2em;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}
.checkbox-label input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox-label__checkmark {
    flex-shrink: 0;
    width: 20px; height: 20px;
    border: 2px solid var(--color-border);
    border-radius: 6px;
    position: relative;
    margin-top: 2px;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.checkbox-label:has(input:checked) .checkbox-label__checkmark {
    border-color: var(--color-primary);
    background: var(--color-primary);
}
.checkbox-label:has(input:checked) .checkbox-label__checkmark::after {
    content: '';
    position: absolute;
    top: 2px; left: 6px;
    width: 5px; height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-group--consent { margin-top: 24px; }

.captcha-block { margin-bottom: 16px; }
.captcha-label {
    display: block;
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 8px;
}
.form-input--captcha { max-width: 120px; }

.form-card__footer {
    display: flex;
    gap: 8px;
    margin-top: 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    font-weight: 600;
    border-radius: 999px;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    min-height: 48px;
    white-space: nowrap;
}
.btn--primary { background: var(--color-primary); color: white; }
.btn--primary:hover { background: var(--color-primary-dark); transform: translateY(-1px); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.btn--primary:active { transform: translateY(0); }
.btn--secondary { background: var(--color-bg-alt); color: var(--color-text); border: 1px solid var(--color-border); }
.btn--secondary:hover { background: var(--color-border); }
.btn--lg { padding: 16px 48px; font-size: 1.125rem; }
.btn--full { flex: 1; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

.btn__arrow { transition: transform 0.15s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}
.btn--loading::after {
    content: '';
    position: absolute;
    width: 20px; height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Trust bar */
.trust-bar {
    background: var(--color-bg-dark);
    padding: 16px 0;
}
.trust-bar__container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 32px;
}
.trust-bar__item {
    color: rgba(255,255,255,0.9);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Sections */
.section { padding: 48px 0; }
@media (min-width: 768px) { .section { padding: 64px 0; } }

.section__header {
    text-align: center;
    margin-bottom: 48px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.section__label {
    display: inline-block;
    padding: 4px 16px;
    background: var(--color-primary-bg);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 999px;
    margin-bottom: 16px;
}
.section__title { font-size: 1.5rem; font-weight: 800; line-height: 1.2; }
@media (min-width: 768px) { .section__title { font-size: 1.875rem; } }

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--color-bg);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.step-card:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); transform: translateY(-4px); }
.step-card__number {
    width: 48px; height: 48px;
    background: var(--color-primary);
    color: white;
    font-weight: 800;
    font-size: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.step-card__title { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; }
.step-card__desc { color: var(--color-text-secondary); font-size: 0.875rem; }

/* Benefits */
.benefits { background: var(--color-bg-alt); }
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 768px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
.benefit-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--color-bg);
    border-radius: 16px;
    border: 1px solid var(--color-border);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.benefit-card:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); transform: translateY(-2px); }
.benefit-card__icon { font-size: 1.5rem; flex-shrink: 0; }
.benefit-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.benefit-card__desc { color: var(--color-text-secondary); font-size: 0.875rem; }

/* FAQ */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.faq-item {
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.15s ease;
}
.faq-item[open] { box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.faq-item__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    list-style: none;
    min-height: 56px;
    transition: background 0.15s ease;
}
.faq-item__summary::-webkit-details-marker { display: none; }
.faq-item__summary:hover { background: var(--color-bg-alt); }
.faq-item__icon {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}
.faq-item[open] .faq-item__icon { transform: rotate(180deg); }
.faq-item__content {
    padding: 0 24px 24px;
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    line-height: 1.7;
}

/* Final CTA */
.final-cta { background: var(--color-bg-alt); }
.final-cta__card {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 32px;
    background: var(--color-bg);
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    border: 1px solid var(--color-border);
}
.final-cta__title { font-size: 1.5rem; font-weight: 800; margin-bottom: 16px; }
.final-cta__desc {
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--color-bg-dark);
    color: rgba(255,255,255,0.8);
    padding: 48px 0;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
}
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer__brand .logo { color: white; margin-bottom: 16px; }
.footer__desc { font-size: 0.875rem; color: rgba(255,255,255,0.6); max-width: 300px; }
.footer__heading {
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer__list { display: flex; flex-direction: column; gap: 8px; }
.footer__list li { font-size: 0.875rem; color: rgba(255,255,255,0.6); }
.footer__list a { color: rgba(255,255,255,0.6); transition: color 0.15s ease; }
.footer__list a:hover { color: white; }
.footer__bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}

/* Sticky CTA mobile */
.sticky-cta {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
    z-index: 900;
    padding: 8px 0;
    transform: translateY(100%);
    transition: transform 0.25s ease;
}
@media (min-width: 1024px) { .sticky-cta { display: none; } }
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.sticky-cta__info { display: flex; flex-direction: column; }
.sticky-cta__text { font-weight: 600; font-size: 0.875rem; }
.sticky-cta__price { font-size: 0.75rem; color: var(--color-success); font-weight: 700; }
.sticky-cta__btn { padding: 12px 24px; font-size: 0.875rem; flex-shrink: 0; }

/* Animations */
.animate-fade-in { opacity: 0; transition: opacity 0.4s ease; }
.animate-fade-in.is-visible { opacity: 1; }
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.animate-fade-in-up.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Mobile small */
@media (max-width: 379px) {
    .hero__title { font-size: 1.625rem; }
    .trust-bar__container { flex-direction: column; align-items: center; }
}

@media print {
    .header, .sticky-cta, .burger, .hero__bg { display: none !important; }
    body { background: white; color: black; }
    .section { page-break-inside: avoid; }
}