/* ─── Nav active state ──────────────────────────────────────────── */
.nav-current {
    color: var(--fg) !important;
}
.nav-current::after {
    transform: scaleX(1) !important;
    background: var(--accent) !important;
}

/* ═══════════════════════════════════════════════════════════════ */
/* PRICING HERO                                                    */
/* ═══════════════════════════════════════════════════════════════ */
.pricing-hero {
    padding-top: calc(var(--nav-height) + 88px);
    padding-bottom: 16px;
    text-align: center;
}

.pricing-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--fg);
    margin-bottom: 20px;
}

.pricing-hero h1 .accent-word {
    color: var(--accent);
}

.pricing-hero-desc {
    font-size: 1.05rem;
    color: var(--fg-muted);
    max-width: 460px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════════ */
/* PRICING SECTION                                                 */
/* ═══════════════════════════════════════════════════════════════ */
.pricing-section {
    padding: 64px 0 120px;
    background: var(--bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

/* ─── Card base ───────────────────────────────────────────────── */
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 30px 30px;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-strong);
}

/* ─── Featured card (Pro) ─────────────────────────────────────── */
.pricing-card.featured {
    background: #0f172a;
    border-color: transparent;
    color: #e8e5df;
    transform: translateY(-10px);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.18),
        0 8px 24px rgba(29, 78, 216, 0.12);
    z-index: 1;
}

.pricing-card.featured:hover {
    transform: translateY(-14px);
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.22),
        0 12px 32px rgba(29, 78, 216, 0.18);
    border-color: transparent;
}

.pricing-card.featured::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: calc(var(--radius-xl) + 1px);
    background: linear-gradient(
        135deg,
        rgba(29, 78, 216, 0.7) 0%,
        rgba(29, 78, 216, 0.2) 50%,
        transparent 100%
    );
    z-index: -1;
}

/* ─── Recommended badge ───────────────────────────────────────── */
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    background: var(--accent);
    padding: 5px 12px;
    border-radius: 100px;
    white-space: nowrap;
}

.pricing-badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
}

/* ─── Plan label + name ───────────────────────────────────────── */
.pricing-plan-label {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--fg-subtle);
    margin-bottom: 6px;
}

.pricing-card.featured .pricing-plan-label {
    color: rgba(232, 229, 223, 0.35);
}

.pricing-plan-name {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--fg);
    margin-bottom: 20px;
}

.pricing-card.featured .pricing-plan-name {
    color: #e8e5df;
}

/* ─── Price ───────────────────────────────────────────────────── */
.pricing-price-row {
    display: flex;
    align-items: baseline;
    gap: 3px;
    margin-bottom: 4px;
}

.pricing-dollar {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--fg-muted);
    align-self: flex-start;
    margin-top: 8px;
}

.pricing-card.featured .pricing-dollar {
    color: rgba(232, 229, 223, 0.5);
}

.pricing-amount {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--fg);
}

.pricing-card.featured .pricing-amount {
    color: #e8e5df;
}

.pricing-period {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--fg-muted);
    margin-bottom: 14px;
}

.pricing-card.featured .pricing-period {
    color: rgba(232, 229, 223, 0.45);
}

.pricing-tagline {
    font-size: 0.875rem;
    color: var(--fg-muted);
    line-height: 1.55;
    margin-bottom: 24px;
    font-weight: 400;
}

.pricing-card.featured .pricing-tagline {
    color: rgba(232, 229, 223, 0.55);
}

/* ─── Usage bar ───────────────────────────────────────────────── */
.usage-bar-wrap {
    margin-bottom: 24px;
}

.usage-bar-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.67rem;
    color: var(--fg-subtle);
    margin-bottom: 7px;
}

.usage-bar-label strong {
    font-weight: 600;
    color: var(--fg-muted);
}

.pricing-card.featured .usage-bar-label {
    color: rgba(232, 229, 223, 0.3);
}

.pricing-card.featured .usage-bar-label strong {
    color: rgba(232, 229, 223, 0.55);
}

.usage-bar {
    height: 3px;
    background: var(--bg-elevated);
    border-radius: 100px;
    overflow: hidden;
}

.pricing-card.featured .usage-bar {
    background: rgba(255, 255, 255, 0.07);
}

.usage-fill {
    height: 100%;
    border-radius: 100px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.usage-fill.animated {
    transform: scaleX(1);
}

.pricing-card.featured .usage-fill {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

/* ─── Divider ─────────────────────────────────────────────────── */
.pricing-divider {
    height: 1px;
    background: var(--border);
    margin: 24px 0;
}

.pricing-card.featured .pricing-divider {
    background: rgba(255, 255, 255, 0.08);
}

/* ─── Features list ───────────────────────────────────────────── */
.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 32px;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--fg-muted);
    line-height: 1.5;
}

.pricing-card.featured .pricing-feature {
    color: rgba(232, 229, 223, 0.65);
}

.pricing-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--teal-subtle);
    border: 1px solid var(--teal-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.pricing-card.featured .pricing-check {
    background: rgba(29, 78, 216, 0.2);
    border-color: rgba(59, 130, 246, 0.35);
}

.pricing-check svg {
    width: 10px;
    height: 10px;
    stroke: var(--teal);
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pricing-card.featured .pricing-check svg {
    stroke: #60a5fa;
}

/* ─── CTA button ──────────────────────────────────────────────── */
.pricing-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 13px 24px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.925rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    border: 1px solid var(--border-strong);
    background: transparent;
    color: var(--fg);
    text-decoration: none;
}

.pricing-cta:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

.pricing-card.featured .pricing-cta {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.pricing-card.featured .pricing-cta:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(29, 78, 216, 0.4);
}

/* ─── Pricing footnote ────────────────────────────────────────── */
.pricing-footnote {
    text-align: center;
    margin-top: 44px;
    font-size: 0.82rem;
    color: var(--fg-subtle);
    line-height: 1.7;
}

.pricing-footnote a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(29, 78, 216, 0.3);
    text-underline-offset: 3px;
}

.pricing-footnote a:hover {
    text-decoration-color: var(--accent);
}

.pricing-divider-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
}

.pricing-divider-dots span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--border-strong);
}

/* ═══════════════════════════════════════════════════════════════ */
/* FAQ                                                             */
/* ═══════════════════════════════════════════════════════════════ */
.faq-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 96px 0;
}

[data-theme="dark"] .faq-section {
    background: var(--bg-elevated);
}

.faq-header {
    text-align: center;
    margin-bottom: 56px;
}

.faq-header .section-desc {
    margin: 0 auto;
}

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

.faq-item {
    border-left: 2px solid var(--teal-border);
    padding-left: 24px;
}

.faq-q {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--fg);
    margin-bottom: 10px;
    line-height: 1.3;
}

.faq-a {
    font-size: 0.875rem;
    color: var(--fg-muted);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════ */
/* RESPONSIVE                                                      */
/* ═══════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .pricing-grid {
        max-width: 100%;
    }

    .pricing-card {
        padding: 30px 24px 26px;
    }
}
