:root {
    --bg: #07111f;
    --glass: rgba(12, 24, 42, 0.72);
    --border: rgba(255, 255, 255, 0.12);
    --text: #edf4ff;
    --muted: #9eb2cc;
    --accent: #5eb3ff;
    --accent-2: #79ffd9;
    --danger: #ff7a7a;
    --yes: #6dffb0;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Manrope, system-ui, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 10%, rgba(94, 179, 255, 0.18), transparent 35%),
        radial-gradient(circle at 90% 0%, rgba(121, 255, 217, 0.12), transparent 30%),
        linear-gradient(180deg, #07111f 0%, #0a1628 100%);
    min-height: 100vh;
}
.container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.glass {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 20px;
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}
.billing-topbar { padding: 1rem 0; }
.billing-topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.billing-nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: 0.92rem; }
.billing-nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.billing-nav a:hover { color: var(--text); }
.billing-nav .nav-cta { color: var(--accent-2); border: 1px solid var(--border); padding: 0.45rem 0.85rem; border-radius: 999px; }
.billing-footer-inner { display: grid; gap: 0.75rem; }
.billing-footer-nav { display: flex; justify-content: center; gap: 1.25rem; flex-wrap: wrap; }
.billing-footer-nav a { color: var(--accent); text-decoration: none; font-weight: 600; }
.checkout-stepper { padding: 1rem 1.25rem; margin-bottom: 0.25rem; }
.checkout-stepper ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.75rem; flex-wrap: wrap; }
.checkout-stepper .step { color: var(--muted); font-size: 0.88rem; display: inline-flex; align-items: center; gap: 0.45rem; }
.checkout-stepper .step span {
    width: 1.5rem; height: 1.5rem; border-radius: 50%; display: inline-grid; place-items: center;
    background: rgba(255,255,255,0.08); font-size: 0.75rem; font-weight: 800;
}
.checkout-stepper .step.done { color: var(--text); }
.checkout-stepper .step.done span { background: rgba(109, 255, 176, 0.2); color: var(--yes); }
.checkout-stepper .step.active { color: var(--accent-2); font-weight: 700; }
.checkout-stepper .step.active span { background: rgba(94, 179, 255, 0.25); color: var(--text); }
.trust-strip {
    display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; justify-content: center; padding: 0.85rem 1.1rem;
    font-size: 0.85rem; color: var(--muted);
}
.trust-strip span::before { content: "✓ "; color: var(--yes); font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.compare-link { margin-top: 0.35rem; }
.comparison-lead { color: var(--muted); margin-top: -0.25rem; }
.tier-tag {
    display: inline-block; font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
    padding: 0.15rem 0.45rem; border-radius: 999px; margin-left: 0.35rem; vertical-align: middle;
}
.tier-tag.limited { background: rgba(255,255,255,0.08); color: var(--muted); }
.tier-tag.popular { background: rgba(94, 179, 255, 0.2); color: var(--accent); }
.feature-tip {
    display: inline-grid; place-items: center; width: 1rem; height: 1rem; border-radius: 50%;
    background: rgba(255,255,255,0.08); color: var(--muted); font-size: 0.68rem; font-weight: 800;
    cursor: help; margin-left: 0.25rem;
}
.free-col { background: rgba(255,255,255,0.02); }
.compare-desktop { display: block; }
.compare-mobile { display: none; }
.compare-accordion { padding: 0.75rem 1rem; margin-bottom: 0.65rem; }
.compare-accordion summary { cursor: pointer; font-weight: 700; list-style: none; }
.compare-accordion summary::-webkit-details-marker { display: none; }
.compare-accordion ul { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; gap: 0.45rem; }
.compare-accordion li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.92rem; color: var(--muted); }
.compare-accordion .group-label { color: var(--accent-2); font-weight: 800; margin-top: 0.35rem; }
.compare-accordion.free-tier { opacity: 0.92; border-style: dashed; }
.pricing-cta { padding: 1.5rem; text-align: center; }
.pricing-cta h2 { font-family: Prata, serif; margin-top: 0; }
.pricing-cta p { color: var(--muted); }
.compare-table thead th { position: sticky; top: 0; background: rgba(12, 24, 42, 0.98); z-index: 2; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: inherit; }
.brand-mark { display: block; width: auto; max-height: 44px; height: auto; object-fit: contain; }
.brand-copy { display: grid; gap: 0.1rem; }
.brand-title { display: block; font-family: Prata, serif; font-size: 1.2rem; line-height: 1.1; }
.brand-sub { color: var(--muted); font-size: 0.85rem; }
.ghost-link, .btn-ghost { color: var(--accent); text-decoration: none; }
.billing-main { padding: 1rem 0 6rem; display: grid; gap: 1.25rem; }
.hero { padding: 2rem; }
.hero h1 { font-family: Prata, serif; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0.4rem 0 0.8rem; line-height: 1.15; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; color: var(--accent-2); margin: 0; }
.hero-sub, .hero-note { color: var(--muted); }
.cycle-toggle { display: inline-flex; gap: 0.35rem; padding: 0.35rem; margin: 0 auto; width: fit-content; }
.cycle-btn {
    border: 0; background: transparent; color: var(--muted); padding: 0.65rem 1rem; border-radius: 999px; cursor: pointer; font-weight: 700;
}
.cycle-btn.active { background: rgba(94, 179, 255, 0.18); color: var(--text); }
.save-pill { font-size: 0.72rem; color: var(--accent-2); margin-left: 0.35rem; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.plan-card { padding: 1.4rem; position: relative; display: flex; flex-direction: column; gap: 0.85rem; }
.plan-card.popular { transform: scale(1.03); border-color: rgba(94, 179, 255, 0.45); }
.ribbon {
    position: absolute; top: 1rem; right: 1rem; background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: #04101d; font-size: 0.72rem; font-weight: 800; padding: 0.25rem 0.55rem; border-radius: 999px;
}
.plan-card h2 { margin: 0; font-size: 1.35rem; }
.price .amount { font-size: 2.2rem; font-weight: 800; }
.price .period, .price .equiv { color: var(--muted); display: block; font-size: 0.9rem; }
.hidden { display: none !important; }
.plan-highlights { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.slot-note { color: var(--accent-2); font-size: 0.85rem; margin: 0; }
.pay-methods { display: grid; gap: 0.35rem; font-size: 0.92rem; color: var(--muted); }
.btn-primary, .btn-ghost {
    border: 0; border-radius: 12px; padding: 0.85rem 1rem; font-weight: 700; cursor: pointer; text-align: center; display: inline-block;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), #3d8bff); color: #04101d; }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.comparison { padding: 1.25rem; }
.comparison h2 { margin-top: 0; font-family: Prata, serif; }
.table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare-table th, .compare-table td { padding: 0.65rem 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.06); text-align: center; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; }
.group-row td { font-weight: 800; color: var(--accent-2); background: rgba(255,255,255,0.03); }
.muted-col { color: var(--muted); }
.highlight-col { background: rgba(94, 179, 255, 0.06); }
.cell-yes { color: var(--yes); font-weight: 700; }
.cell-no { color: var(--danger); font-weight: 700; }
.cell-limit { color: var(--text); }
.free-note { padding: 1rem 1.25rem; }
.free-note.muted { opacity: 0.85; }
.alert { padding: 0.85rem 1rem; border-radius: 12px; }
.alert-success { background: rgba(109, 255, 176, 0.12); border: 1px solid rgba(109, 255, 176, 0.35); }
.alert-error { background: rgba(255, 122, 122, 0.12); border: 1px solid rgba(255, 122, 122, 0.35); }
.sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; display: none; justify-content: space-between; align-items: center;
    padding: 0.85rem 1rem; background: rgba(7, 17, 31, 0.95); border-top: 1px solid var(--border); z-index: 20;
}
.sticky-cta a { color: #04101d; background: var(--accent-2); padding: 0.65rem 1rem; border-radius: 999px; text-decoration: none; font-weight: 800; }
.billing-footer { padding: 2rem 0; color: var(--muted); text-align: center; font-size: 0.9rem; }
.success-card { text-align: center; }

@media (max-width: 960px) {
    .plan-grid { grid-template-columns: 1fr; }
    .plan-card.popular { transform: none; }
    .sticky-cta { display: flex; }
    .billing-nav { width: 100%; justify-content: flex-start; }
    .compare-desktop { display: none; }
    .compare-mobile { display: block; }
}
