﻿:root {
    --navy: #071527;
    --navy2: #0b1f35;
    --blue: #2563eb;
    --blue2: #1d4ed8;
    --green: #16a34a;
    --text: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --soft: #f8fafc;
    --card: #ffffff;
    --shadow: 0 22px 60px rgba(15, 23, 42, .16);
    --radius: 26px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: #f5f8fc;
    line-height: 1.55;
}

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

.container {
    width: min(1160px, 92vw);
    margin: auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, .9);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 950;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--blue), #06b6d4);
    color: #fff;
    box-shadow: 0 12px 28px rgba(37, 99, 235, .28);
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    margin-top: -3px;
}

.links {
    display: flex;
    gap: 18px;
    align-items: center;
    color: #334155;
    font-size: 14px;
    font-weight: 800;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 900;
    cursor: pointer;
    transition: .18s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 14px 34px rgba(37, 99, 235, .3);
}

.btn-primary:hover {
    background: var(--blue2);
    transform: translateY(-1px);
}

.btn-outline {
    background: #fff;
    color: var(--blue);
    border: 1px solid #bfdbfe;
}

.btn-outline:hover {
    background: #eff6ff;
}

.hero {
    background:
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, .34), transparent 34%),
        radial-gradient(circle at 80% 16%, rgba(22, 163, 74, .20), transparent 30%),
        linear-gradient(135deg, var(--navy), var(--navy2));
    color: #fff;
    padding: 78px 0 64px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 46px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #dbeafe;
    font-weight: 900;
    font-size: 13px;
}

h1 {
    font-size: clamp(36px, 5.6vw, 66px);
    line-height: 1.02;
    letter-spacing: -.06em;
    margin: 18px 0 16px;
}

.hero p {
    font-size: 20px;
    color: #dbeafe;
    max-width: 680px;
    margin: 0 0 24px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.subscription-card {
    background: #fff;
    color: var(--text);
    border-radius: 34px;
    padding: 24px;
    box-shadow: 0 36px 90px rgba(0, 0, 0, .32);
}

.subscription-card h2 {
    margin: 0 0 8px;
    font-size: 26px;
    letter-spacing: -.04em;
}

.subscription-card p {
    color: var(--muted);
    font-size: 15px;
    margin: 0 0 18px;
}

.selected-plan {
    border: 2px solid #bfdbfe;
    background: #eff6ff;
    border-radius: 24px;
    padding: 18px;
    margin-bottom: 14px;
}

.selected-plan strong {
    display: block;
    font-size: 24px;
    color: #1e3a8a;
}

.selected-plan small {
    color: #475569;
    font-weight: 700;
}

.pay-line {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

.mini {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
}

.mini b {
    display: block;
    font-size: 20px;
}

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

.clean-list {
    padding: 0;
    margin: 16px 0 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.clean-list li {
    display: flex;
    gap: 10px;
    color: #334155;
}

.clean-list span {
    color: var(--green);
    font-weight: 950;
}

.section {
    padding: 68px 0;
}

.section-white {
    background: #fff;
}

.section-head {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 36px;
}

.section-head h2 {
    font-size: clamp(28px, 4.3vw, 46px);
    line-height: 1.08;
    letter-spacing: -.045em;
    margin: 0 0 12px;
}

.section-head p {
    color: var(--muted);
    font-size: 17px;
    margin: 0;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.value-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}

.icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: #eff6ff;
    color: var(--blue);
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 14px;
}

.value-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.value-card p {
    margin: 0;
    color: var(--muted);
}

.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 278px));
    gap: 16px;
    align-items: stretch;
    justify-content: center;
}

.plan {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 22px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .08);
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: .18s ease;
}

.plan:hover {
    transform: translateY(-3px);
}

.plan.selected {
    border: 2px solid var(--blue);
    box-shadow: 0 22px 55px rgba(37, 99, 235, .22);
}

.ribbon {
    position: absolute;
    top: -12px;
    right: 16px;
    background: var(--green);
    color: #fff;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 950;
}

.plan h3 {
    margin: 6px 0 4px;
    font-size: 22px;
}

.subtitle {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    min-height: 58px;
}

.price {
    font-size: 30px;
    font-weight: 950;
    letter-spacing: -.04em;
    margin: 12px 0;
}

.price small {
    font-size: 13px;
    color: var(--muted);
    font-weight: 900;
}

.plan ul {
    padding: 0;
    margin: 10px 0 20px;
    list-style: none;
    display: grid;
    gap: 9px;
    color: #334155;
    font-size: 14px;
}

.plan li:before {
    content: "✓";
    color: var(--green);
    font-weight: 950;
    margin-right: 8px;
}

.plan .btn {
    margin-top: auto;
    width: 100%;
}

.selection {
    margin-top: 22px;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
    background: #0f172a;
    color: #fff;
    border-radius: 30px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    box-shadow: var(--shadow);
}

.selection p {
    margin: 4px 0 0;
    color: #cbd5e1;
}

.selection-actions,
.cta-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.comparison {
    overflow: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

table {
    border-collapse: collapse;
    width: 100%;
    min-width: 760px;
}

th,
td {
    padding: 15px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

th {
    background: #f8fafc;
    font-size: 13px;
    text-transform: uppercase;
    color: #475569;
    letter-spacing: .04em;
}

tr:last-child td {
    border-bottom: 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    counter-reset: step;
}

.step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 22px;
}

.step:before {
    counter-increment: step;
    content: counter(step);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 950;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
}

.cta {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #fff;
    border-radius: 36px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 22px;
    align-items: center;
    box-shadow: var(--shadow);
}

.cta h2 {
    font-size: 36px;
    line-height: 1.08;
    margin: 0 0 10px;
    letter-spacing: -.04em;
}

.cta p {
    margin: 0;
    color: #dbeafe;
}

.cta-actions {
    justify-content: flex-end;
}

.empty-state {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    border-radius: 22px;
    padding: 20px;
    text-align: center;
    font-weight: 800;
}

footer {
    padding: 34px 0;
    text-align: center;
    color: #64748b;
}

@media (max-width: 980px) {
    .hero-grid,
    .cta {
        grid-template-columns: 1fr;
    }

    .value-grid,
    .plans,
    .steps {
        grid-template-columns: 1fr 1fr;
    }

    .links {
        display: none;
    }

    .cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 650px) {
    .value-grid,
    .plans,
    .steps,
    .pay-line {
        grid-template-columns: 1fr;
    }

    .selection {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn {
        width: 100%;
    }

    .hero {
        padding: 52px 0;
    }
}
