/* === PRICING PAGE === */

.pricing-page {
    max-width: 1060px;
    margin: 0 auto;
    padding: 80px 40px 60px;
    position: relative;
    z-index: 1;
}

/* Hero */
.pricing-hero {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-hero h1 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.pricing-hero p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 24px;
}

/* Billing toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.toggle-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.toggle-label.active {
    color: var(--text-primary);
}

.save-badge {
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: rgba(0, 200, 83, 0.1);
    color: #00c853;
    font-size: 0.62rem;
    font-weight: 800;
}

.toggle-switch {
    width: 48px;
    height: 26px;
    border-radius: 13px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
}

.toggle-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    position: absolute;
    top: 2px;
    left: 2px;
    transition: left 0.3s;
}

.toggle-switch.annual .toggle-dot {
    left: 24px;
}

.toggle-switch.annual {
    background: rgba(0, 180, 255, 0.1);
    border-color: rgba(0, 180, 255, 0.3);
}

/* Plan cards */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.plan-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.1);
}

.plan-card.popular {
    border-color: rgba(0, 180, 255, 0.4);
    background: linear-gradient(180deg, rgba(0, 180, 255, 0.04) 0%, var(--bg-card) 100%);
}

.plan-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.plan-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.2rem;
}

.plan-name {
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 6px;
}

.plan-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.plan-price {
    margin-bottom: 20px;
}

.plan-amount {
    font-size: 2.4rem;
    font-weight: 900;
}

.plan-period {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.plan-original {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-top: 2px;
}

.plan-features {
    text-align: left;
    margin-bottom: 24px;
}

.plan-feature {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.plan-feature i {
    color: #00c853;
    font-size: 0.72rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.plan-feature.disabled {
    color: var(--text-muted);
    opacity: 0.5;
}

.plan-feature.disabled i {
    color: var(--text-muted);
}

.plan-btn {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.plan-btn-primary {
    background: var(--primary);
    border: none;
    color: #fff;
}

.plan-btn-primary:hover {
    background: #0099dd;
}

.plan-btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.plan-btn-outline:hover {
    border-color: rgba(0, 180, 255, 0.3);
    color: var(--primary);
}

/* Feature table */
.pricing-section {
    margin-bottom: 48px;
}

.pricing-section h2 {
    font-size: 1.2rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 20px;
}

.feature-table {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.ft-header {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
}

.ft-header span {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.3px;
}

.ft-header span:first-child {
    text-align: left;
}

.ft-row {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    padding: 12px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    align-items: center;
}

.ft-row:last-child {
    border-bottom: none;
}

.ft-row span {
    text-align: center;
    font-size: 0.82rem;
}

.ft-row span:first-child {
    text-align: left;
    font-weight: 600;
}

.ft-check {
    color: #00c853;
}

.ft-cross {
    color: var(--text-muted);
    opacity: 0.3;
}

.ft-val {
    color: var(--text-secondary);
    font-weight: 700;
}

/* Pricing FAQ */
.pricing-faq {
    max-width: 700px;
    margin: 0 auto;
}

.pfaq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    overflow: hidden;
}

.pfaq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 700;
}

.pfaq-q i {
    color: var(--text-muted);
    font-size: 0.72rem;
    transition: transform 0.3s;
}

.pfaq-item.open .pfaq-q i {
    transform: rotate(180deg);
    color: var(--primary);
}

.pfaq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--text-secondary);
    padding: 0 20px;
}

.pfaq-item.open .pfaq-a {
    max-height: 200px;
    padding: 0 20px 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-page {
        padding: 80px 16px 40px;
    }

    .plan-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 48px;
    }

    .ft-header,
    .ft-row {
        grid-template-columns: 1.2fr repeat(3, 1fr);
        padding: 10px 12px;
    }

    .ft-row span,
    .ft-header span {
        font-size: 0.68rem;
    }
}
