:root {
    --dark: #0f172a;
    --dark-soft: #1e293b;

    --violet: #6366f1;
    --violet-dark: #4f46e5;
    --violet-light: #eef2ff;

    --blue: #38bdf8;
    --blue-light: #e0f2fe;

    --orange: #f59e0b;
    --orange-light: #fff7ed;

    --green: #10b981;
    --green-light: #ecfdf5;

    --rose: #f43f5e;
    --rose-light: #fff1f2;

    --text: #1f2937;
    --muted: #64748b;

    --border: #e2e8f0;

    --background: #ffffff;
    --background-soft: #f8fafc;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family:
        Inter,
        Arial,
        sans-serif;

    color: var(--text);

    background:
        #ffffff;

    line-height: 1.6;
}


a {
    color: inherit;
    text-decoration: none;
}


button {
    font-family: inherit;
}


.container {
    width: min(
        1120px,
        calc(100% - 32px)
    );

    margin: 0 auto;
}


/* ========================================
   HEADER
======================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 100;

    background:
        rgba(
            255,
            255,
            255,
            0.88
        );

    border-bottom:
        1px solid
        rgba(
            226,
            232,
            240,
            0.9
        );

    backdrop-filter:
        blur(16px);
}


.header__inner {
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;
}


.logo {
    position: relative;

    font-size: 18px;
    font-weight: 800;

    color: var(--dark);
}


.logo::before {
    content: "";

    position: absolute;

    left: -12px;
    top: 50%;

    width: 5px;
    height: 28px;

    transform:
        translateY(-50%);

    border-radius: 20px;

    background:
        linear-gradient(
            180deg,
            var(--violet),
            var(--blue)
        );
}


.nav {
    display: flex;
    align-items: center;

    gap: 24px;

    font-size: 15px;
}


.nav a {
    position: relative;

    color: #475569;

    transition:
        color 0.2s ease;
}


.nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--violet),
            var(--blue)
        );

    transition:
        width 0.2s ease;
}


.nav a:hover {
    color: var(--dark);
}


.nav a:hover::after {
    width: 100%;
}


/* ========================================
   HERO
======================================== */

.hero {
    position: relative;

    overflow: hidden;

    padding:
        96px 0
        88px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8faff 52%,
            #eef2ff 100%
        );
}


.hero::before {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -180px;
    top: -240px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(
                99,
                102,
                241,
                0.23
            ),
            rgba(
                56,
                189,
                248,
                0.08
            ) 45%,
            transparent 70%
        );
}


.hero::after {
    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    left: -210px;
    bottom: -230px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(
                56,
                189,
                248,
                0.16
            ),
            transparent 70%
        );
}


.hero__inner {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        1.18fr
        0.82fr;

    gap: 72px;

    align-items: center;
}


.hero__label,
.section__label {
    display: inline-block;

    color: var(--violet);

    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.1em;

    margin-bottom: 16px;
}


.hero__label {
    padding:
        7px 12px;

    border-radius: 999px;

    background:
        var(--violet-light);

    border:
        1px solid
        #dfe3ff;
}


.hero h1 {
    max-width: 720px;

    margin-bottom: 26px;

    font-size:
        clamp(
            46px,
            6vw,
            72px
        );

    line-height: 1.02;

    letter-spacing:
        -0.035em;

    color: var(--dark);
}


.hero__text {
    max-width: 640px;

    margin-bottom: 34px;

    color: var(--muted);

    font-size: 20px;
}


.hero__buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;
}


/* ========================================
   BUTTONS
======================================== */

.button {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding:
        12px 23px;

    border-radius: 13px;

    font-weight: 800;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}


.button--primary {
    color: white;

    background:
        linear-gradient(
            135deg,
            var(--violet),
            #7c3aed
        );

    box-shadow:
        0 10px 24px
        rgba(
            99,
            102,
            241,
            0.22
        );
}


.button--primary:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 15px 32px
        rgba(
            99,
            102,
            241,
            0.3
        );
}


.button--secondary {
    color: var(--dark);

    background:
        rgba(
            255,
            255,
            255,
            0.9
        );

    border:
        1px solid
        #cbd5e1;
}


.button--secondary:hover {
    transform:
        translateY(-2px);

    border-color:
        #a5b4fc;

    background:
        #ffffff;

    box-shadow:
        0 10px 25px
        rgba(
            15,
            23,
            42,
            0.08
        );
}


.hero__interactive-link {
    display: inline-block;

    margin-top: 25px;

    color: var(--violet-dark);

    font-weight: 700;

    transition:
        transform 0.2s ease;
}


.hero__interactive-link:hover {
    transform:
        translateX(4px);
}


/* ========================================
   HERO CARD
======================================== */

.hero__card {
    position: relative;

    overflow: hidden;

    padding: 34px;

    border-radius: 26px;

    color: white;

    background:
        linear-gradient(
            155deg,
            #0f172a 0%,
            #172554 55%,
            #312e81 100%
        );

    box-shadow:
        0 28px 60px
        rgba(
            15,
            23,
            42,
            0.22
        );
}


.hero__card::before {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    right: -100px;
    top: -130px;

    border-radius: 50%;

    background:
        rgba(
            99,
            102,
            241,
            0.35
        );

    filter:
        blur(10px);
}


.hero__card::after {
    content: "";

    position: absolute;

    width: 160px;
    height: 160px;

    left: -90px;
    bottom: -100px;

    border-radius: 50%;

    background:
        rgba(
            56,
            189,
            248,
            0.17
        );
}


.hero__card-title {
    position: relative;
    z-index: 2;

    margin-bottom: 18px;

    font-size: 22px;
    font-weight: 800;
}


.hero__card ul {
    position: relative;
    z-index: 2;

    list-style: none;
}


.hero__card li {
    padding:
        12px 0;

    border-bottom:
        1px solid
        rgba(
            255,
            255,
            255,
            0.11
        );
}


.hero__card li::before {
    content: "✓";

    display: inline-flex;

    width: 22px;
    height: 22px;

    margin-right: 10px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #c7d2fe;

    background:
        rgba(
            255,
            255,
            255,
            0.09
        );

    font-size: 12px;
    font-weight: 900;
}


.hero__card li:last-child {
    border-bottom: 0;
}


/* ========================================
   SECTIONS
======================================== */

.section {
    position: relative;

    padding:
        94px 0;
}


.section--soft {
    background:
        linear-gradient(
            180deg,
            #f8fafc,
            #f5f7fb
        );
}


.section h2,
.interactive-preview h2,
.cta h2 {
    margin-bottom: 32px;

    color: var(--dark);

    font-size:
        clamp(
            34px,
            4vw,
            50px
        );

    line-height: 1.1;

    letter-spacing:
        -0.025em;
}


/* ========================================
   CARDS
======================================== */

.cards {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            1fr
        );

    gap: 20px;
}


.card {
    position: relative;

    overflow: hidden;

    padding: 28px;

    border:
        1px solid
        var(--border);

    border-radius: 20px;

    background:
        rgba(
            255,
            255,
            255,
            0.92
        );

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


.card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 4px;

    background:
        var(--violet);
}


.cards .card:nth-child(4n + 1)::before {
    background:
        linear-gradient(
            90deg,
            var(--violet),
            #818cf8
        );
}


.cards .card:nth-child(4n + 2)::before {
    background:
        linear-gradient(
            90deg,
            var(--blue),
            #22d3ee
        );
}


.cards .card:nth-child(4n + 3)::before {
    background:
        linear-gradient(
            90deg,
            var(--orange),
            #fbbf24
        );
}


.cards .card:nth-child(4n + 4)::before {
    background:
        linear-gradient(
            90deg,
            var(--green),
            #34d399
        );
}


.card:hover {
    transform:
        translateY(-5px);

    border-color:
        #c7d2fe;

    box-shadow:
        0 20px 45px
        rgba(
            15,
            23,
            42,
            0.09
        );
}


.card h3 {
    margin-bottom: 12px;

    color: var(--dark);

    font-size: 21px;
}


.card p {
    color: var(--muted);
}


/* ========================================
   INTERACTIVE PREVIEW
======================================== */

.interactive-preview {
    position: relative;

    overflow: hidden;

    padding:
        82px 0;

    color: white;

    background:
        linear-gradient(
            130deg,
            #0f172a 0%,
            #172554 45%,
            #312e81 100%
        );
}


.interactive-preview::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -120px;
    top: -190px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(
                99,
                102,
                241,
                0.55
            ),
            transparent 68%
        );
}


.interactive-preview::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    left: -90px;
    bottom: -170px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(
                56,
                189,
                248,
                0.28
            ),
            transparent 70%
        );
}


.interactive-preview__inner {
    position: relative;
    z-index: 2;

    display: flex;

    justify-content:
        space-between;

    align-items: center;

    gap: 50px;
}


.interactive-preview h2 {
    color: white;

    max-width: 680px;
}


.interactive-preview p:not(
    .section__label
) {
    max-width: 680px;

    color: #cbd5e1;

    font-size: 18px;
}


.interactive-preview .section__label {
    color: #a5b4fc;
}


.interactive-preview .button--primary {
    flex-shrink: 0;

    background:
        linear-gradient(
            135deg,
            #818cf8,
            #6366f1
        );

    box-shadow:
        0 13px 30px
        rgba(
            99,
            102,
            241,
            0.38
        );
}


/* ========================================
   PRICE
======================================== */

.price-list {
    display: grid;

    gap: 14px;

    max-width: 850px;
}


.price-item {
    display: flex;

    justify-content:
        space-between;

    align-items: center;

    gap: 24px;

    padding:
        20px 22px;

    border:
        1px solid
        var(--border);

    border-radius: 15px;

    background: white;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.price-item:hover {
    transform:
        translateX(5px);

    border-color:
        #c7d2fe;

    box-shadow:
        0 10px 24px
        rgba(
            15,
            23,
            42,
            0.06
        );
}


.price-item strong {
    padding:
        6px 11px;

    white-space: nowrap;

    border-radius: 999px;

    color: var(--violet-dark);

    background:
        var(--violet-light);
}


/* ========================================
   CTA
======================================== */

.cta {
    position: relative;

    overflow: hidden;

    padding:
        110px 0;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f8faff
        );
}


.cta::after {
    content: "";

    position: absolute;

    width: 380px;
    height: 380px;

    right: -180px;
    bottom: -220px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(
                99,
                102,
                241,
                0.14
            ),
            transparent 70%
        );
}


.cta__inner {
    position: relative;
    z-index: 2;

    max-width: 850px;
}


.cta__inner > p:not(
    .section__label
) {
    max-width: 720px;

    margin-bottom: 30px;

    color: var(--muted);

    font-size: 19px;
}


/* ========================================
   FOOTER
======================================== */

.footer {
    padding:
        30px 0;

    border-top:
        1px solid
        var(--border);

    color: #64748b;

    background:
        #f8fafc;

    font-size: 14px;
}


/* ========================================
   REVEAL ANIMATION
======================================== */

.reveal {
    opacity: 0;

    transform:
        translateY(24px);

    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}


.reveal.is-visible {
    opacity: 1;

    transform:
        translateY(0);
}


/* ========================================
   MODAL POLISH
======================================== */

.platform-modal__card {
    border:
        1px solid
        rgba(
            226,
            232,
            240,
            0.85
        );

    box-shadow:
        0 30px 80px
        rgba(
            15,
            23,
            42,
            0.25
        );
}


.platform-link {
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.platform-link:hover {
    transform:
        translateY(-2px);

    border-color:
        #a5b4fc;

    box-shadow:
        0 10px 25px
        rgba(
            99,
            102,
            241,
            0.09
        );
}


/* ========================================
   TABLET
======================================== */

@media (
    max-width: 900px
) {
    .hero__inner {
        grid-template-columns:
            1fr;
    }

    .hero__card {
        max-width: 620px;
    }

    .cards {
        grid-template-columns:
            repeat(
                2,
                1fr
            );
    }

    .interactive-preview__inner {
        align-items:
            flex-start;

        flex-direction:
            column;
    }
}


/* ========================================
   MOBILE
======================================== */

@media (
    max-width: 640px
) {
    .header__inner {
        min-height: 64px;
    }

    .nav {
        display: none;
    }

    .logo {
        margin-left: 12px;
    }

    .hero {
        padding:
            68px 0
            58px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero__text {
        font-size: 18px;
    }

    .hero__buttons {
        flex-direction:
            column;
    }

    .button {
        width: 100%;
    }

    .hero__card {
        padding: 26px;
        border-radius: 21px;
    }

    .cards {
        grid-template-columns:
            1fr;
    }

    .section {
        padding:
            68px 0;
    }

    .section h2,
    .interactive-preview h2,
    .cta h2 {
        font-size: 34px;
    }

    .interactive-preview {
        padding:
            62px 0;
    }

    .price-item {
        align-items:
            flex-start;

        flex-direction:
            column;

        gap: 10px;
    }

    .cta {
        padding:
            78px 0;
    }
}


/* ========================================
   ACCESSIBILITY
======================================== */

@media (
    prefers-reduced-motion:
    reduce
) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration:
            0.01ms !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}