@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700&display=swap');

:root {
    --bg: #061425;
    --bg-soft: #0b1f38;
    --surface: #ffffff;
    --surface-soft: #f2f6fb;
    --text: #0d223a;
    --muted: #5f738b;
    --line: #d2deec;
    --brand: #0f5ea8;
    --brand-strong: #0a4380;
    --gold: #d8a145;
    --success: #0d8a56;
    --danger: #a72929;
    --radius-xl: 22px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --shadow-lg: 0 22px 50px rgba(5, 27, 50, 0.2);
    --shadow-md: 0 14px 30px rgba(5, 27, 50, 0.14);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Public Sans', sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #edf3fb 0%, #f4f7fc 45%, #eef4fc 100%);
    line-height: 1.62;
}

a {
    color: var(--brand);
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.utility-bar {
    background: linear-gradient(120deg, #0a2f58 0%, #0e447a 68%, #1260aa 100%);
    color: #e9f5ff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.utility-wrap {
    min-height: 38px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
}

.utility-highlight {
    font-weight: 700;
    color: #fff8dd;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #cfdbeb;
    background: rgba(248, 252, 255, 0.9);
    backdrop-filter: blur(8px);
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    text-decoration: none;
    color: var(--brand-strong);
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.3rem, 2.2vw, 1.9rem);
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.nav-links a {
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid transparent;
    color: #1a3654;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 8px 14px;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    background: #eaf3ff;
    border-color: #bfd5ef;
    color: #0b3f75;
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 360px at 86% -2%, rgba(216, 161, 69, 0.22), transparent 60%),
        radial-gradient(760px 280px at -5% -10%, rgba(70, 141, 211, 0.26), transparent 62%),
        linear-gradient(165deg, var(--bg) 0%, var(--bg-soft) 52%, #113056 100%);
    color: #f2f8ff;
    padding: 82px 0 56px;
}

.hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 120px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #f0f5fc 95%);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 24px;
}

.hero-card,
.glass-card,
.pricing-card,
.info-card,
.form-card,
.invoice-card,
.arch-card,
.trust-card {
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-card {
    padding: 36px;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow: 0 18px 40px rgba(1, 14, 26, 0.36);
}

.tag {
    display: inline-block;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.hero h1 {
    margin: 0 0 16px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.05rem, 4.5vw, 3.45rem);
    letter-spacing: -0.02em;
    line-height: 1.08;
    max-width: 16ch;
}

.hero p {
    margin: 0 0 24px;
    color: #cfe5ff;
    max-width: 58ch;
}

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.hero-metrics span {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.77rem;
    font-weight: 700;
    color: #e8f3ff;
}

.glass-card {
    padding: 26px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.04) 100%);
    box-shadow: 0 15px 34px rgba(1, 14, 26, 0.3);
}

.glass-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-family: 'Space Grotesk', sans-serif;
}

.glass-card ul {
    margin: 0;
    padding-left: 18px;
}

.glass-card li {
    margin-bottom: 8px;
    color: #def0ff;
}

.btn {
    display: inline-block;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    border-radius: var(--radius-md);
    padding: 12px 20px;
    font-size: 0.92rem;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(120deg, #1674ca 0%, #0f5ea8 100%);
    box-shadow: 0 10px 22px rgba(15, 94, 168, 0.4);
}

.btn-secondary {
    margin-left: 10px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.08);
}

.compliance-strip {
    margin-top: -8px;
    margin-bottom: 10px;
}

.compliance-wrap {
    border: 1px solid #c6d8ee;
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    padding: 11px 14px;
    color: #274c71;
    font-size: 0.84rem;
}

.compliance-title {
    display: inline-block;
    border: 1px solid #bfd6ee;
    background: #e9f3ff;
    color: #0b4a89;
    border-radius: 999px;
    padding: 4px 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.section {
    padding: 30px 0 12px;
}

.section h2 {
    margin: 0 0 18px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.7rem, 2.8vw, 2.4rem);
    line-height: 1.18;
    letter-spacing: -0.01em;
}

.trust-band {
    margin-top: -20px;
    position: relative;
    z-index: 4;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.trust-card {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 16px;
}

.trust-card strong {
    display: block;
    color: var(--brand-strong);
    font-size: 1.12rem;
}

.trust-card span {
    color: var(--muted);
    font-size: 0.86rem;
}

.arch-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.arch-card {
    background: linear-gradient(180deg, #fff 0%, #f3f8ff 100%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 20px;
}

.arch-card h3 {
    margin: 0 0 8px;
    color: var(--brand-strong);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.12rem;
}

.arch-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.93rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.process-card {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #ffffff 0%, #f1f7ff 100%);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.process-card h3 {
    margin: 0 0 8px;
    font-family: 'Space Grotesk', sans-serif;
    color: #0b3f74;
    font-size: 1.08rem;
}

.process-card p {
    margin: 0;
    font-size: 0.92rem;
    color: #4f6883;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.tier-intro {
    margin: -6px 0 14px;
    color: #4c6682;
    max-width: 78ch;
}

.billing-toggle-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
    box-shadow: var(--shadow-md);
    padding: 14px;
}

.billing-toggle {
    display: inline-flex;
    padding: 4px;
    border-radius: 999px;
    background: #dfeeff;
    border: 1px solid #bdd6f0;
}

.billing-btn {
    border: 0;
    background: transparent;
    color: #2a4b72;
    padding: 9px 14px;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
}

.billing-btn span {
    color: #8a5f1f;
}

.billing-btn.is-active {
    color: #ffffff;
    background: linear-gradient(120deg, #1674ca 0%, #0f5ea8 100%);
}

.tiered-grid {
    align-items: stretch;
}

.pricing-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.tier-card {
    overflow: hidden;
}

.tier-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, #0f5ea8, #3f88cb);
}

.tier-bronze::before {
    background: linear-gradient(90deg, #0f5ea8, #3f88cb);
}

.tier-silver::before {
    background: linear-gradient(90deg, #3f5f82, #8fb4da);
}

.tier-gold::before {
    background: linear-gradient(90deg, #8d6220, #d8a145);
}

.tier-label {
    display: inline-block;
    margin-top: 4px;
    margin-bottom: 10px;
    border: 1px solid #cbddf1;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #20588f;
    background: #edf5ff;
}

.discount-note {
    margin: 0;
    font-size: 0.82rem;
    color: #7b5e2a;
}

.plan-details {
    margin: 14px 0 16px;
    padding: 12px;
    border: 1px solid #d6e3f1;
    border-radius: 12px;
    background: #f4f9ff;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.plan-details div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px dashed #d1deed;
    padding-bottom: 6px;
}

.plan-details div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.plan-details dt {
    font-size: 0.8rem;
    color: #56708b;
    font-weight: 700;
}

.plan-details dd {
    margin: 0;
    font-size: 0.82rem;
    color: #193958;
    font-weight: 700;
    text-align: right;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 54px rgba(6, 34, 64, 0.2);
}

.plan-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    border-radius: 999px;
    border: 1px solid #c7dcf5;
    background: #edf5ff;
    color: #0a4a8a;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 800;
    padding: 6px 10px;
}

.pricing-card h3 {
    margin: 0;
    color: #0d3761;
    font-size: 1.25rem;
}

.price {
    margin: 10px 0 2px;
    color: #0d2a4a;
    font-size: 1.62rem;
    font-weight: 800;
}

.muted {
    color: var(--muted);
}

.pricing-card ul {
    margin: 14px 0;
    padding-left: 18px;
}

.pricing-card li {
    margin-bottom: 6px;
    color: #24425f;
}

.enterprise-note {
    margin-top: 10px;
    border-left: 4px solid var(--gold);
    background: #fff9ef;
    padding: 10px 12px;
    border-radius: 8px;
    color: #73511f;
    font-size: 0.88rem;
}

.matrix-card {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: 22px;
}

.matrix-wrap {
    overflow-x: auto;
}

.matrix-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.matrix-table th,
.matrix-table td {
    border-bottom: 1px solid #d2e0f0;
    padding: 11px 10px;
    text-align: left;
}

.matrix-table thead th {
    color: #0b3f74;
    font-size: 0.92rem;
    font-weight: 800;
    background: #ebf4ff;
}

.matrix-btn {
    padding: 8px 13px;
    font-size: 0.82rem;
}

.testimonial-strip {
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: linear-gradient(160deg, #ffffff 0%, #edf5ff 100%);
    box-shadow: var(--shadow-md);
    padding: 22px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.testimonial-card {
    border: 1px solid #cee0f2;
    border-radius: 14px;
    padding: 16px;
    background: #ffffff;
}

.testimonial-card p {
    margin: 0 0 10px;
    color: #35516f;
    font-size: 0.9rem;
}

.testimonial-card strong {
    font-size: 0.82rem;
    color: #0e3d6d;
}

.sticky-compare {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 10px;
    z-index: 145;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.sticky-compare.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.sticky-compare-wrap {
    border: 1px solid #b7d3ef;
    border-radius: 16px;
    background: linear-gradient(130deg, rgba(6, 39, 73, 0.97), rgba(14, 85, 153, 0.96));
    box-shadow: 0 20px 50px rgba(3, 19, 37, 0.42);
    padding: 12px;
    max-height: min(46vh, 360px);
    overflow-y: auto;
}

.sticky-compare-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: #edf6ff;
    margin-bottom: 10px;
}

.sticky-compare-head strong {
    font-size: 0.9rem;
}

.sticky-compare-head span {
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 0.76rem;
    color: #d8ebff;
    white-space: nowrap;
}

.sticky-compare-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
}

.sticky-plan {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid rgba(207, 228, 250, 0.25);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
}

.sticky-plan h4 {
    margin: 0 0 4px;
    color: #edf6ff;
    font-size: 0.83rem;
    line-height: 1.2;
}

.sticky-price {
    margin: 0 0 8px;
    color: #fff6df;
    font-size: 0.9rem;
    font-weight: 800;
    white-space: nowrap;
}

.sticky-plan ul {
    margin: 0 0 10px;
    padding-left: 16px;
    flex: 1;
}

.sticky-plan li {
    color: #d5eaff;
    font-size: 0.76rem;
    line-height: 1.3;
    margin-bottom: 4px;
}

.sticky-plan .btn {
    width: 100%;
    text-align: center;
    padding: 8px 10px;
    font-size: 0.78rem;
    margin-top: auto;
}

@media (max-width: 1220px) {
    .sticky-compare-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 14px;
    z-index: 140;
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.sticky-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.sticky-cta-wrap {
    border: 1px solid #c2d8ee;
    border-radius: 14px;
    background: linear-gradient(120deg, rgba(14, 52, 92, 0.96), rgba(17, 96, 170, 0.96));
    color: #eef7ff;
    box-shadow: 0 18px 44px rgba(4, 24, 44, 0.34);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sticky-cta-wrap strong {
    display: block;
    font-size: 0.98rem;
}

.sticky-cta-wrap p {
    margin: 2px 0 0;
    font-size: 0.84rem;
    color: #cfe5ff;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.info-card,
.form-card,
.invoice-card {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 24px;
}

label {
    display: block;
    margin-top: 14px;
    margin-bottom: 8px;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #c2d5ea;
    border-radius: 10px;
    padding: 11px 12px;
    color: var(--text);
    font: inherit;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #5b95cd;
    box-shadow: 0 0 0 4px rgba(70, 132, 197, 0.16);
}

textarea {
    min-height: 90px;
    resize: vertical;
}

.notice {
    border-left: 4px solid var(--brand);
    border-radius: 8px;
    background: #eaf4ff;
    padding: 10px 12px;
}

.checkout-steps {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.checkout-steps span {
    border: 1px solid #c7d9ee;
    background: #eef5ff;
    color: #31587d;
    border-radius: 999px;
    padding: 6px 11px;
    font-size: 0.8rem;
    font-weight: 700;
}

.checkout-steps span.is-active {
    border-color: #9dc2e7;
    color: #0a4a8a;
    background: #e1efff;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
}

.table th,
.table td {
    border-bottom: 1px solid var(--line);
    padding: 10px 8px;
    text-align: left;
    vertical-align: top;
}

.table th:last-child,
.table td:last-child {
    text-align: right;
}

.total {
    color: var(--success);
    font-size: 1.18rem;
    font-weight: 800;
}

.site-footer {
    margin-top: 62px;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, #f7fbff 0%, #eef4fb 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 14px;
}

.pill {
    display: inline-block;
    margin-right: 6px;
    margin-bottom: 6px;
    border: 1px solid #c4d7ed;
    border-radius: 999px;
    padding: 6px 10px;
    color: #0e4379;
    font-size: 0.82rem;
    font-weight: 700;
    background: #eff6ff;
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    animation: revealUp 0.7s ease forwards;
}

.delay-1 {
    animation-delay: 0.12s;
}

.delay-2 {
    animation-delay: 0.24s;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 960px) {
    .hero {
        padding-top: 54px;
    }

    .hero-grid,
    .trust-grid,
    .arch-grid,
    .process-grid,
    .grid-3,
    .testimonial-grid,
    .split,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .billing-toggle-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .sticky-compare-grid {
        grid-template-columns: 1fr;
    }

    .sticky-compare-wrap {
        max-height: min(52vh, 420px);
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 10px;
    }

    .sticky-cta {
        bottom: 10px;
    }

    .sticky-cta-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .utility-wrap {
        padding: 6px 0;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media print {
    .utility-bar,
    .site-header,
    .site-footer,
    .sticky-cta,
    .sticky-compare,
    .no-print {
        display: none !important;
    }

    body {
        background: #fff;
    }

    .invoice-card {
        box-shadow: none;
        border: 1px solid #b7c9dc;
    }
}
