:root {
    --surface: #f8f9ff;
    --surface-soft: #eff4ff;
    --surface-card: #ffffff;
    --surface-muted: #e5eeff;
    --primary: #0f172a;
    --primary-soft: #1e293b;
    --secondary: #2563eb;
    --secondary-hover: #003ea8;
    --text: #0b1c30;
    --muted: #64748b;
    --border: #dbe4f0;
    --border-strong: #cbd5e1;
    --success: #059669;
    --error: #ba1a1a;
    --error-soft: #fff1f2;
    --success-soft: #ecfdf5;
    --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    --radius: 14px;
    --radius-sm: 8px;
    --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--surface);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--secondary); }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 999;
    background: var(--primary);
    color: #fff;
    padding: .75rem 1rem;
    border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.section { padding: 88px 0; position: relative; }
.muted { background: var(--surface-soft); }

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(219, 228, 240, .7);
}
.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: 1.35rem;
    color: var(--primary);
}
.brand-mark {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: var(--primary);
    color: white;
    font-size: .75rem;
}
.primary-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: .86rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
}
.nav-cta {
    background: var(--secondary);
    color: white !important;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
}
.nav-cta:hover { background: var(--secondary-hover); }

.language-menu {
    position: relative;
    z-index: 60;
}
.language-menu summary {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    color: var(--primary);
    cursor: pointer;
    list-style: none;
}
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary::after {
    content: "⌄";
    font-size: .8rem;
    color: var(--muted);
    transform: translateY(-1px);
}
.language-menu[open] summary::after { content: "⌃"; }
.language-menu-label {
    color: var(--muted);
    font-size: .72rem;
    letter-spacing: .06em;
}
.language-options {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 178px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: white;
    box-shadow: var(--shadow);
}
.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--muted);
    text-transform: none;
    letter-spacing: 0;
    font-size: .9rem;
}
.language-option span {
    width: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    padding: 4px 6px;
    background: var(--surface-soft);
    color: var(--primary);
    font-size: .75rem;
    font-weight: 800;
}
.language-option.is-active {
    background: var(--primary);
    color: white !important;
}
.language-option.is-active span {
    background: white;
    color: var(--primary);
}
.language-option:hover { background: var(--surface-soft); color: var(--secondary); }
.mobile-menu-button { display: none; }

.hero {
    min-height: 760px;
    display: grid;
    align-items: center;
    padding-top: 140px;
    overflow: hidden;
}
.hero-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .58;
    background-image: radial-gradient(#d3e4fe 1px, transparent 1px);
    background-size: 32px 32px;
    background-position: -19px -19px;
}
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    gap: 56px;
    align-items: center;
}
.eyebrow,
.label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: var(--secondary);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 800;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
    margin-bottom: 24px;
    color: var(--primary);
    font-size: clamp(3rem, 7vw, 5.4rem);
    line-height: .96;
    letter-spacing: -0.065em;
    font-weight: 800;
}
h1 span {
    display: block;
    color: var(--secondary);
    word-break: break-word;
}
h2 {
    color: var(--primary);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: -.035em;
    font-weight: 750;
    margin-bottom: 18px;
}
h3 {
    color: var(--primary);
    font-size: 1.35rem;
    line-height: 1.2;
    margin-bottom: 12px;
}
.hero-text {
    max-width: 680px;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    margin-bottom: 34px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--radius-sm);
    padding: 14px 22px;
    border: 1px solid transparent;
    font-weight: 800;
    letter-spacing: .02em;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
    background: var(--secondary);
    color: white !important;
    box-shadow: 0 12px 22px rgba(37, 99, 235, .18);
}
.button-primary:hover { background: var(--secondary-hover); color: white; }
.button-secondary {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 255, 255, .55);
}
.button-secondary:hover { background: white; color: var(--primary); }
.button-full { width: 100%; }

.asset-card {
    background: linear-gradient(145deg, #ffffff, #f8f9ff);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 22px;
    padding: 34px;
}
.asset-card h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    word-break: break-word;
    margin-bottom: 24px;
}

.asset-url {
    margin: -10px 0 22px;
    color: var(--secondary);
    font-weight: 800;
    word-break: break-word;
}
.asset-url a { text-decoration: underline; text-underline-offset: 3px; }
.asset-metric {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0;
    border-top: 1px solid var(--border);
}
.asset-metric span { color: var(--muted); }
.asset-metric strong { color: var(--primary); text-align: right; }
.asset-card .button { margin-top: 22px; }

.trust-row {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 34px;
    margin-top: 56px;
    color: var(--primary-soft);
    font-weight: 750;
}
.trust-row div { display: inline-flex; align-items: center; gap: 10px; }

.section-heading {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}
.section-heading p:not(.label) {
    color: var(--muted);
    font-size: 1.05rem;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    transition: border-color .18s ease, transform .18s ease;
}
.feature-card:hover {
    border-color: var(--secondary);
    transform: translateY(-3px);
}
.icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--surface-muted);
    color: var(--secondary);
    font-weight: 900;
    font-size: 1.35rem;
    margin-bottom: 22px;
}
.feature-card p { color: var(--muted); margin-bottom: 0; }

.split-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 56px;
    align-items: start;
}
.check-list {
    display: grid;
    gap: 18px;
}
.check-list div,
.mini-points div {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.check-list span,
.mini-points span {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--secondary);
    color: white;
    font-size: .85rem;
    font-weight: 900;
    margin-top: 1px;
}
.check-list p { margin: 0; color: var(--muted); }
.check-list strong { color: var(--primary); }

.security-panel {
    background: var(--primary);
    color: white;
    border-radius: 26px;
    padding: clamp(28px, 6vw, 64px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.security-panel h2 { color: white; }
.security-panel p { color: #cbd5e1; }
.security-steps {
    display: grid;
    gap: 14px;
}
.security-steps div {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.security-steps span {
    color: #93c5fd;
    font-weight: 900;
    letter-spacing: .08em;
}
.security-steps strong { color: white; }

.offer-section { background: var(--surface-soft); }
.offer-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 54px;
    align-items: center;
}
.offer-copy p:not(.label) {
    color: var(--muted);
    font-size: 1.08rem;
}
.mini-points {
    display: grid;
    gap: 14px;
    margin-top: 28px;
    color: var(--primary);
    font-weight: 700;
}

.form-card {
    position: relative;
    overflow: hidden;
    background: white;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: clamp(24px, 4vw, 42px);
}
.form-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 7px;
    background: var(--secondary);
}
.form-card h3 {
    text-align: center;
    font-size: 1.65rem;
    margin-bottom: 26px;
}
.offer-form {
    display: grid;
    gap: 20px;
}
.field label {
    display: block;
    color: var(--primary);
    font-size: .86rem;
    text-transform: uppercase;
    letter-spacing: .055em;
    font-weight: 850;
    margin-bottom: 8px;
}
.field label span { color: var(--error); }
.field input,
.field textarea,
.money-field {
    width: 100%;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    border-radius: var(--radius-sm);
    color: var(--text);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field input,
.field textarea {
    padding: 14px 15px;
    outline: none;
}
.money-field {
    display: flex;
    align-items: center;
    overflow: hidden;
}
.money-field span {
    padding-left: 15px;
    color: var(--muted);
    font-weight: 800;
}
.money-field input {
    border: 0;
    background: transparent;
}
.field input:focus,
.field textarea:focus,
.money-field:focus-within {
    border-color: var(--secondary);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .13);
}
.field textarea { resize: vertical; min-height: 116px; }
.field small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: .82rem;
}
.hidden-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.privacy-note {
    color: var(--muted);
    font-size: .82rem;
    text-align: center;
    margin: -2px 0 0;
}
.privacy-note a { color: var(--secondary); font-weight: 700; }
.form-alert {
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin-bottom: 22px;
    border: 1px solid;
}
.form-alert strong { display: block; margin-bottom: 4px; }
.form-alert p { margin: 0; }
.form-alert-success {
    background: var(--success-soft);
    border-color: rgba(5, 150, 105, .35);
    color: #065f46;
}
.form-alert-error {
    background: var(--error-soft);
    border-color: rgba(186, 26, 26, .26);
    color: #7f1d1d;
}

.site-footer {
    background: white;
    border-top: 1px solid var(--border);
    padding: 26px 0;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-size: .92rem;
}
.footer-inner .brand { font-size: 1.05rem; color: var(--primary); }
.footer-inner p { margin: 0; }
.footer-inner a { font-weight: 800; color: var(--primary); }

@media (max-width: 940px) {
    .site-header { background: rgba(255, 255, 255, .96); }
    .mobile-menu-button {
        display: inline-grid;
        gap: 5px;
        padding: 10px;
        background: white;
        border: 1px solid var(--border);
        border-radius: 10px;
        cursor: pointer;
    }
    .mobile-menu-button span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--primary);
        border-radius: 2px;
    }
    .primary-nav {
        position: fixed;
        top: 76px;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        border-radius: 16px;
        background: white;
        box-shadow: var(--shadow);
        border: 1px solid var(--border);
    }
    .primary-nav.is-open { display: flex; }
    .primary-nav a {
        padding: 14px 12px;
        border-radius: 10px;
    }
    .language-menu { width: 100%; margin: 8px 0; }
    .language-menu summary { width: 100%; justify-content: center; border-radius: 10px; padding: 13px 12px; }
    .language-options { position: static; margin-top: 8px; box-shadow: none; min-width: 100%; }
    .language-option { justify-content: center; }
    .nav-cta { text-align: center; margin-top: 6px; }
    .hero-grid,
    .split-grid,
    .security-panel,
    .offer-grid {
        grid-template-columns: 1fr;
    }
    .cards-grid { grid-template-columns: 1fr; }
    .hero { min-height: auto; padding-top: 118px; }
    .asset-card { order: -1; }
    .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
    .container { width: min(100% - 28px, var(--container)); }
    .section { padding: 64px 0; }
    .hero-actions { display: grid; }
    .trust-row { justify-content: flex-start; }
    .asset-card { padding: 24px; }
    .asset-metric { flex-direction: column; gap: 2px; }
    .asset-metric strong { text-align: left; }
}
