:root {
    --navy: #0f2742;
    --blue: #0b63e5;
    --blue-dark: #084fb8;
    --soft-blue: #e8f1ff;
    --text: #17324d;
    --muted: #5c7188;
    --line: #dbe5f0;
    --bg: #f5f8fc;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(15, 39, 66, 0.14);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 84% 15%, rgba(128, 182, 255, 0.2), transparent 30%),
        var(--bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

header {
    min-height: 84px;
    padding: 10px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
}

.logo img {
    width: 112px;
    height: auto;
    display: block;
}

.nav-container {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
    align-items: center;
    margin: 0;
    padding: 0;
    color: var(--navy);
    font-weight: 700;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    transition: color 0.2s ease;
}

.nav-links a:not(.cta):hover {
    color: var(--blue);
}

.dropdown > a::after {
    content: " ▾";
    font-size: 12px;
}

.dropdown-content {
    position: absolute;
    right: 0;
    top: calc(100% + 16px);
    min-width: 220px;
    list-style: none;
    padding: 10px;
    margin: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 11px 12px;
    border-radius: 10px;
    font-size: 14px;
}

.dropdown-content a:hover {
    background: var(--soft-blue);
}

.cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    color: white !important;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    box-shadow: 0 16px 32px rgba(11, 99, 229, 0.26);
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover,
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(11, 99, 229, 0.32);
}

main {
    min-height: calc(100vh - 84px);
    overflow: hidden;
    padding: 86px 9vw 92px;
}

.pricing-flashes {
    width: min(100%, 620px);
    margin: 0 auto 24px;
}

.pricing-flash {
    padding: 14px 18px;
    border: 1px solid #f2b8b5;
    border-radius: 14px;
    background: #fff4f3;
    color: #9f2d27;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.pricing-flash.success {
    border-color: #a8dfbd;
    background: #f0fbf4;
    color: #176b3a;
}

.pricing-header {
    max-width: 780px;
    margin: 0 auto 42px;
    text-align: center;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--blue-dark);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pricing-header h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(42px, 5vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.pricing-header > p:last-child {
    max-width: 650px;
    margin: 22px auto 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.pricing-table {
    display: flex;
    justify-content: center;
}

.pricing-card {
    width: min(100%, 620px);
    padding: 36px;
    border: 1px solid rgba(11, 99, 229, 0.24);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.pricing-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.plan-kicker,
.price-note,
.billing-note {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.plan-kicker {
    margin: 0 0 8px;
    color: var(--blue-dark);
}

.pricing-card h2 {
    margin: 0;
    color: var(--navy);
    font-size: 32px;
    letter-spacing: -0.04em;
}

.plan-badge {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--blue-dark);
    background: var(--soft-blue);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 30px;
    color: var(--navy);
}

.price strong {
    font-size: 58px;
    line-height: 1;
    letter-spacing: -0.06em;
}

.price span {
    color: var(--muted);
    font-weight: 800;
}

.price-note {
    margin: 8px 0 28px;
}

.billing-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 28px;
}

.billing-option {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fbfdff;
}

.billing-option-featured {
    border-color: rgba(11, 99, 229, 0.35);
    background: var(--soft-blue);
}

.billing-label {
    margin: 0 0 8px;
    color: var(--blue-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.billing-option strong,
.billing-option span {
    display: block;
}

.billing-option strong {
    color: var(--navy);
    font-size: 30px;
    letter-spacing: -0.04em;
}

.billing-option span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.billing-option > p:last-child {
    min-height: 38px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.billing-choice {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 14px;
    border-radius: 999px;
    color: var(--blue-dark);
    background: #ffffff;
    border: 1px solid rgba(11, 99, 229, 0.28);
    font-size: 12px;
    font-weight: 900;
}

.billing-choice:hover {
    color: white;
    background: var(--blue);
}

.pricing-card ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 22px;
    padding: 24px 0 28px;
    margin: 0 0 28px;
    list-style: none;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.pricing-card li {
    position: relative;
    padding-left: 24px;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.pricing-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #16a36a;
    font-weight: 900;
}

.pricing-card .btn {
    width: 100%;
}

.billing-note {
    margin: 14px 0 0;
    text-align: center;
}

.pricing-note {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: center;
    max-width: 900px;
    margin: 70px auto 0;
    padding: 30px 34px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.7);
}

.pricing-note h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.pricing-note > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

@media (max-width: 720px) {
    header {
        min-height: auto;
        padding: 16px 22px;
        flex-direction: column;
        gap: 18px;
        align-items: flex-start;
    }

    .nav-links {
        width: 100%;
        gap: 16px;
        flex-wrap: wrap;
        font-size: 14px;
    }

    main {
        padding: 58px 22px 70px;
    }

    .pricing-card {
        padding: 26px 22px;
    }

    .pricing-card ul,
    .billing-options,
    .pricing-note {
        grid-template-columns: 1fr;
    }

    .pricing-note {
        gap: 20px;
        margin-top: 42px;
        padding: 24px;
    }
}
