:root {
    --bg: #060817;
    --surface: #11152d;
    --surface-soft: #181d39;
    --text: #f6f8ff;
    --muted: #b4bbd8;
    --brand: #6366f1;
    --brand-2: #6655ed;
    --accent: #8b5cf6;
    --border: #2b3156;
    --success: #2dd4bf;
    --shadow: 0 20px 60px rgba(5, 9, 28, 0.45);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(102, 85, 237, 0.24), transparent 35%),
        radial-gradient(circle at top left, rgba(99, 102, 241, 0.18), transparent 40%),
        var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.section {
    padding: 88px 0;
}

.section-title {
    font-size: clamp(1.6rem, 2.8vw, 2.25rem);
    line-height: 1.2;
    margin-bottom: 14px;
}

.section-subtitle {
    color: var(--muted);
    max-width: 760px;
}

.eyebrow {
    color: #a6adf9;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.75rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    background: rgba(6, 8, 23, 0.88);
}

.topbar-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.brand img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
}

.brand span {
    font-size: 1rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav a {
    color: #cdd3ef;
    font-size: 0.93rem;
    padding: 9px 12px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.nav a:hover,
.nav a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 55%, var(--accent) 100%);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(99, 102, 241, 0.42);
}

.btn-secondary {
    color: #dce1fb;
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.03);
}

.btn-secondary:hover {
    border-color: #5a63a4;
    color: #fff;
}

.hero {
    padding: 90px 0 74px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 40px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2rem, 4.8vw, 3.4rem);
    line-height: 1.06;
    margin-bottom: 16px;
}

.hero p {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 620px;
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-stats {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-stats .stat {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    min-width: 124px;
    padding: 12px;
}

.stat strong {
    display: block;
    font-size: 1.15rem;
}

.stat span {
    color: var(--muted);
    font-size: 0.85rem;
}

.hero-card {
    border: 1px solid var(--border);
    background: linear-gradient(160deg, rgba(25, 30, 58, 0.86) 0%, rgba(17, 21, 45, 0.95) 100%);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 62px rgba(5, 9, 28, 0.56);
}

.hero-card h3 {
    margin-bottom: 10px;
}

.hero-list {
    margin-top: 16px;
    list-style: none;
    display: grid;
    gap: 10px;
}

.hero-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d6dcfa;
}

.hero-list li::before {
    content: "✓";
    color: var(--success);
    font-weight: 700;
}

.trust-strip {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(17, 21, 45, 0.45);
}

.trust-grid {
    min-height: 82px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    align-items: center;
}

.trust-chip {
    text-align: center;
    color: #c4cbed;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.02);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.trust-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(166, 173, 249, 0.5);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.card:hover {
    transform: translateY(-3px);
    border-color: #4d5ab5;
    background: #141a35;
}

.feature-media {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 1.4rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.24), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(166, 173, 249, 0.25);
}

.card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.card p {
    color: var(--muted);
}

.steps {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.step {
    position: relative;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: linear-gradient(155deg, rgba(19, 23, 46, 0.9), rgba(13, 16, 33, 0.96));
    transition: transform 0.28s ease, border-color 0.28s ease;
}

.step:hover {
    transform: translateY(-3px);
    border-color: #4d5ab5;
}

.step .num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, var(--brand), var(--accent));
}

.quotes {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.quote {
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    transition: transform 0.28s ease, border-color 0.28s ease;
}

.quote:hover {
    transform: translateY(-3px);
    border-color: #4d5ab5;
}

.quote p {
    color: #d8def8;
    margin-bottom: 14px;
}

.quote span {
    color: #aab2d8;
    font-size: 0.9rem;
}

.faq {
    margin-top: 22px;
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.02);
}

.faq-item h3 {
    margin-bottom: 8px;
    font-size: 1.02rem;
}

.faq-item p {
    color: var(--muted);
}

.cta {
    text-align: center;
    border: 1px solid var(--border);
    background: linear-gradient(145deg, rgba(102, 85, 237, 0.2), rgba(18, 20, 42, 0.95));
    border-radius: 20px;
    padding: 44px 24px;
    box-shadow: var(--shadow);
    animation: ctaGlow 5.2s ease-in-out infinite;
}

.cta h2 {
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    margin-bottom: 10px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 20px;
    color: #d7ddf8;
}

.legal-shell {
    padding: 62px 0 88px;
}

.legal-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.legal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 48px rgba(5, 9, 28, 0.44);
}

.legal-card h1 {
    font-size: clamp(1.5rem, 2.7vw, 2.1rem);
    margin-bottom: 10px;
}

.legal-card h2 {
    margin: 20px 0 8px;
    font-size: 1.1rem;
}

.legal-card p,
.legal-card li {
    color: #d2d8f4;
}

.legal-card ul,
.legal-card ol {
    padding-left: 20px;
    margin: 10px 0 16px;
}

.legal-card li + li {
    margin-top: 8px;
}

.note {
    margin-top: 16px;
    border-left: 3px solid var(--brand);
    background: rgba(99, 102, 241, 0.09);
    padding: 14px 14px 14px 16px;
    border-radius: 10px;
}

.contact-card {
    margin-top: 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
}

footer {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 28px 0 40px;
}

.footer-row {
    display: flex;
    gap: 18px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-row p {
    color: #a9b2dd;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: #c5ccf1;
}

.footer-links a:hover {
    color: #fff;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s ease, transform 0.65s ease;
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

@keyframes ctaGlow {
    0%,
    100% {
        box-shadow: 0 20px 55px rgba(99, 102, 241, 0.17);
    }
    50% {
        box-shadow: 0 24px 70px rgba(139, 92, 246, 0.28);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1080px) {
    .hero-grid,
    .steps,
    .quotes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .container {
        width: min(1160px, calc(100% - 24px));
    }

    .section {
        padding: 64px 0;
    }

    .hero {
        padding: 66px 0 54px;
    }

    .topbar-inner {
        min-height: 68px;
    }

    .nav {
        gap: 6px;
    }

    .nav a {
        padding: 7px 9px;
        font-size: 0.86rem;
    }

    .hero-grid,
    .grid-3,
    .steps,
    .quotes,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .hero-card,
    .legal-card {
        padding: 20px;
    }
}
