* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #f5f7ff;
    background: #060912;
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(255,255,255,.07);
    background: rgba(6,9,18,.86);
    backdrop-filter: blur(18px);
}

.nav-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    font-size: 21px;
    font-weight: 850;
    letter-spacing: -.6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    color: #aab5ce;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #2a3651;
    border-radius: 11px;
    background: #111827;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.button-primary {
    border-color: transparent;
    background:
        linear-gradient(
            135deg,
            #5b7cff,
            #7257ff
        );
}

.button-disabled {
    opacity: .48;
    cursor: not-allowed;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 110px 0 90px;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 500px;
    top: -250px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: #4a65ff;
    filter: blur(170px);
    opacity: .20;
    pointer-events: none;
}

.eyebrow {
    display: inline-flex;
    padding: 7px 12px;
    border: 1px solid #263657;
    border-radius: 999px;
    color: #a8bbef;
    background: rgba(40,57,99,.2);
    font-size: 13px;
    font-weight: 700;
}

.hero h1 {
    max-width: 900px;
    margin: 22px auto 18px;
    font-size: clamp(44px, 8vw, 82px);
    line-height: .98;
    letter-spacing: -4px;
}

.hero p {
    max-width: 690px;
    margin: 0 auto;
    color: #98a5c0;
    font-size: 19px;
    line-height: 1.7;
}

.hero-actions {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.section {
    padding: 85px 0;
}

.section-title {
    max-width: 700px;
    margin-bottom: 38px;
}

.section-title h2 {
    margin: 0 0 12px;
    font-size: clamp(32px, 5vw, 48px);
    letter-spacing: -2px;
}

.section-title p {
    margin: 0;
    color: #96a3bd;
    line-height: 1.7;
}

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

.feature-card,
.price-card {
    border: 1px solid #1b263c;
    border-radius: 20px;
    background:
        linear-gradient(
            180deg,
            #101726,
            #0b101b
        );
}

.feature-card {
    padding: 26px;
}

.feature-card h3 {
    margin: 0 0 8px;
}

.feature-card p {
    margin: 0;
    color: #8f9cb7;
    line-height: 1.6;
}

.pricing-header {
    padding: 90px 0 35px;
    text-align: center;
}

.pricing-header h1 {
    margin: 0 0 15px;
    font-size: clamp(42px, 7vw, 68px);
    letter-spacing: -3px;
}

.pricing-header p {
    color: #99a6c0;
}

.billing-toggle {
    display: inline-flex;
    margin-top: 22px;
    padding: 4px;
    border: 1px solid #202d46;
    border-radius: 13px;
    background: #0b111d;
}

.billing-toggle a {
    padding: 10px 15px;
    border-radius: 9px;
    color: #92a0bb;
    font-size: 14px;
    font-weight: 700;
}

.billing-toggle .active {
    background: #1a2540;
    color: white;
}

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

.price-card {
    position: relative;
    padding: 28px;
}

.price-card.popular {
    border-color: #5b75ff;
    box-shadow:
        0 0 0 1px rgba(91,117,255,.25),
        0 25px 80px rgba(37,56,145,.18);
}

.badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(91,117,255,.16);
    color: #aab8ff;
    font-size: 12px;
    font-weight: 800;
}

.price-card h2 {
    margin: 0;
    font-size: 26px;
}

.price-description {
    min-height: 48px;
    margin: 10px 0 25px;
    color: #8f9db8;
    line-height: 1.55;
}

.price {
    min-height: 54px;
    margin-bottom: 24px;
    font-size: 33px;
    font-weight: 800;
}

.price small {
    color: #8694ae;
    font-size: 14px;
    font-weight: 500;
}

.feature-list {
    list-style: none;
    margin: 24px 0;
    padding: 0;
}

.feature-list li {
    padding: 8px 0;
    color: #c4cde0;
}

.feature-list li::before {
    content: "✓";
    margin-right: 9px;
    color: #6f8dff;
    font-weight: 900;
}

.price-card .button {
    width: 100%;
}

.footer {
    padding: 45px 0;
    border-top: 1px solid #161f31;
    color: #78869f;
    font-size: 14px;
}

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

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

    .pricing-grid {
        max-width: 560px;
        margin: 0 auto;
    }

    .hero {
        padding-top: 80px;
    }

    .hero h1 {
        letter-spacing: -2.5px;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .nav-inner {
        min-height: 64px;
    }

    .nav-actions .login-label {
        display: none;
    }

    .button {
        padding: 0 14px;
    }
}
