/* ══════════════════════════════════════════
   BLCKBX Pricing Page — pricing.css
   ══════════════════════════════════════════ */

.nav-active { color: var(--accent-light) !important; }

/* ── Hero ── */
.pricing-hero {
    padding: 160px 40px 60px;
    text-align: center;
}

.pricing-hero-inner {
    max-width: 600px;
    margin: 0 auto;
}

.pricing-hero h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -2.5px;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.1;
}

.pricing-hero-sub {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Pricing Cards ── */
.pricing-section {
    padding: 0 40px 80px;
}

.pricing-section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

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

.p-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
}

.p-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
}

.p-card-featured {
    border-color: var(--accent);
    background: linear-gradient(180deg, var(--accent-dim) 0%, var(--bg-card) 40%);
    transform: scale(1.03);
}

.p-card-featured:hover {
    border-color: var(--accent-light);
    transform: scale(1.03) translateY(-4px);
}

.p-card-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--accent);
    color: var(--white);
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    padding: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.p-card-header {
    padding: 40px 28px 24px;
}

.p-card-featured .p-card-header {
    padding-top: 52px;
}

.p-card-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.p-card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.p-price {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -2px;
    line-height: 1;
}

.p-price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0;
}

.p-card-body {
    padding: 0 28px 32px;
}

/* ── Features List ── */
.p-features {
    list-style: none;
    margin-bottom: 24px;
}

.p-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-secondary);
}

.p-feature:last-child {
    border-bottom: none;
}

.p-feature svg {
    flex-shrink: 0;
}

.p-feature strong {
    color: var(--text-primary);
    font-weight: 600;
}

.p-feature-disabled {
    opacity: 0.45;
}

/* ── Comparison Table ── */
.compare-table-wrap {
    margin-top: 40px;
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.compare-table thead {
    background: var(--bg-secondary);
}

.compare-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.compare-table td {
    padding: 12px 20px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.compare-table tr:hover td {
    background: var(--bg-card);
}

.col-featured {
    background: var(--accent-dim);
    color: var(--accent-light) !important;
    font-weight: 500;
}

.compare-table th.col-featured {
    color: var(--accent-light) !important;
}

/* ── FAQ ── */
.faq-list {
    max-width: 720px;
    margin-top: 40px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    cursor: pointer;
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.2s;
}

.faq-q:hover {
    color: var(--accent-light);
}

.faq-toggle {
    font-size: 22px;
    color: var(--text-muted);
    transition: transform 0.2s;
    font-family: 'JetBrains Mono', monospace;
    min-width: 24px;
    text-align: center;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
    color: var(--accent-light);
}

.faq-a {
    display: none;
    padding: 0 0 20px;
}

.faq-item.open .faq-a {
    display: block;
    animation: faqSlide 0.2s ease;
}

@keyframes faqSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.faq-a p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .pricing-cards { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
    .p-card-featured { transform: none; }
    .p-card-featured:hover { transform: translateY(-4px); }
}

@media (max-width: 768px) {
    .pricing-hero { padding: 120px 20px 40px; }
    .pricing-hero h1 { font-size: 32px; }
    .pricing-section { padding: 0 20px 40px; }
    .compare-table th, .compare-table td { padding: 10px 12px; font-size: 12px; }
    .faq-q { font-size: 14px; }
}