/* ── Pricing page styles ─────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    background: #0a1628;
    color: #e8edf2;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
}

/* ── Page layout ────────────────────────────────────────────────────────── */

.pricing-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

/* ── Header ─────────────────────────────────────────────────────────────── */

.pricing-header {
    text-align: center;
    padding: 60px 0 40px;
}

.pricing-header-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #00d4aa;
    margin-bottom: 12px;
}

.pricing-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: -.02em;
}

.pricing-header-sub {
    font-size: 1rem;
    color: rgba(255,255,255,.5);
    margin: 0;
}

/* ── Sections ───────────────────────────────────────────────────────────── */

.pricing-section {
    margin-bottom: 48px;
}

.pricing-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin: 0 0 8px;
}

.pricing-section-sub {
    font-size: .88rem;
    color: rgba(255,255,255,.45);
    text-align: center;
    margin: 0 0 24px;
}

/* ── Cards ───────────────────────────────────────────────────────────────── */

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.pricing-cards--free {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pricing-card {
    background: #0f2235;
    border: 1px solid #1e3a55;
    border-radius: 14px;
    padding: 28px 26px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card--featured {
    border-color: #00d4aa;
    box-shadow: 0 0 0 1px rgba(0,212,170,.15), 0 8px 32px rgba(0,212,170,.08);
}

.pricing-card--free {
    border-color: rgba(255,255,255,.12);
}

.pricing-card--trial {
    border-color: rgba(255,193,7,.3);
}

.pricing-card-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: #00d4aa;
    color: #0a1628;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    padding: 3px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-card--trial .pricing-card-badge {
    background: #ffc107;
}

/* ── Card header ─────────────────────────────────────────────────────────── */

.pricing-card-header {
    margin-bottom: 18px;
}

.pricing-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.pricing-card-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
}

.pricing-card-period {
    font-size: .85rem;
    font-weight: 500;
    color: rgba(255,255,255,.4);
}

/* ── Features ────────────────────────────────────────────────────────────── */

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
}

.pricing-features li {
    position: relative;
    padding-left: 22px;
    font-size: .85rem;
    color: rgba(255,255,255,.7);
    margin-bottom: 8px;
    line-height: 1.5;
}

.pricing-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #00d4aa;
    font-weight: 700;
    font-size: .82rem;
}

.pricing-feature--muted {
    color: rgba(255,255,255,.35) !important;
}

.pricing-feature--muted::before {
    content: '\2717' !important;
    color: rgba(255,255,255,.25) !important;
}

/* ── CTAs ─────────────────────────────────────────────────────────────────── */

.pricing-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #00d4aa;
    color: #0a1628;
    font-size: .88rem;
    font-weight: 700;
    padding: 11px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .2s, transform .15s;
    text-align: center;
}

.pricing-cta:hover {
    background: #00e6b8;
    transform: translateY(-1px);
}

.pricing-cta--secondary {
    background: transparent;
    color: #00d4aa;
    border: 1px solid rgba(0,212,170,.35);
}

.pricing-cta--secondary:hover {
    background: rgba(0,212,170,.08);
    transform: translateY(-1px);
}

.pricing-cta--free {
    background: rgba(255,255,255,.1);
    color: #fff;
}

.pricing-cta--free:hover {
    background: rgba(255,255,255,.15);
}

.pricing-cta--trial {
    background: #ffc107;
    color: #0a1628;
}

.pricing-cta--trial:hover {
    background: #ffd54f;
}

/* ── Comparison table ────────────────────────────────────────────────────── */

.pricing-table-wrap {
    overflow-x: auto;
    margin-top: 24px;
    -webkit-overflow-scrolling: touch;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .85rem;
    min-width: 540px;
}

.pricing-table th {
    text-align: left;
    font-weight: 700;
    color: #fff;
    padding: 12px 16px;
    border-bottom: 2px solid #1e3a55;
    white-space: nowrap;
}

.pricing-table th:not(:first-child) {
    text-align: center;
}

.pricing-table td {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    color: rgba(255,255,255,.65);
}

.pricing-table td:not(:first-child) {
    text-align: center;
}

.pricing-table tbody tr:hover {
    background: rgba(255,255,255,.03);
}

.pricing-check {
    color: #00d4aa !important;
    font-weight: 700;
    font-size: 1rem;
}

.pricing-dash {
    color: rgba(255,255,255,.2) !important;
}

/* ── FAQ ──────────────────────────────────────────────────────────────────── */

.pricing-faq {
    max-width: 640px;
    margin: 24px auto 0;
}

.pricing-faq-item {
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.pricing-faq-item summary {
    padding: 14px 0;
    font-size: .9rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color .2s;
}

.pricing-faq-item summary:hover {
    color: #00d4aa;
}

.pricing-faq-item summary::after {
    content: '+';
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255,255,255,.4);
    transition: transform .2s;
}

.pricing-faq-item[open] summary::after {
    content: '\2212';
}

.pricing-faq-item summary::-webkit-details-marker {
    display: none;
}

.pricing-faq-item p {
    margin: 0 0 14px;
    font-size: .85rem;
    color: rgba(255,255,255,.55);
    line-height: 1.6;
}

/* ── Bottom CTA band ─────────────────────────────────────────────────────── */

.pricing-cta-band {
    text-align: center;
    padding: 48px 24px;
    background: linear-gradient(135deg, rgba(0,212,170,.06), rgba(99,140,255,.04));
    border: 1px solid rgba(0,212,170,.12);
    border-radius: 16px;
    margin-top: 40px;
}

.pricing-cta-band h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.pricing-cta-band p {
    font-size: .88rem;
    color: rgba(255,255,255,.45);
    margin: 0 0 20px;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

.pricing-footer {
    text-align: center;
    padding: 30px 24px;
    border-top: 1px solid rgba(255,255,255,.06);
    display: flex;
    justify-content: center;
    gap: 24px;
}

.pricing-footer a {
    font-size: .8rem;
    color: rgba(255,255,255,.35);
    text-decoration: none;
    transition: color .2s;
}

.pricing-footer a:hover {
    color: rgba(255,255,255,.7);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
    .pricing-header h1 {
        font-size: 1.6rem;
    }

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

    .pricing-card {
        padding: 24px 20px 20px;
    }

    .pricing-card-price {
        font-size: 1.5rem;
    }

    .pricing-cta-band {
        padding: 32px 18px;
    }
}
