/* ============================================
   PRICING PAGE - Hero
============================================ */
.pricing-hero {
    padding: 80px 0 50px;
    text-align: center;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.pricing-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--dark);
}

.pricing-hero p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* ============================================
   BILLING TOGGLE
============================================ */
.billing-toggle {
    display: inline-flex;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    padding: 5px;
    margin-bottom: 40px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.billing-toggle button {
    padding: 12px 30px;
    border: none;
    background: transparent;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--gray);
    position: relative;
    z-index: 2;
}

.billing-toggle button.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.billing-toggle .save-badge {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--warning);
    color: var(--dark);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    white-space: nowrap;
}

/* ============================================
   PRICING CARDS
============================================ */
.pricing-section { padding: 40px 0 80px; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.price-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 24px;
    padding: 32px 26px;
    transition: all 0.4s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.price-card.featured {
    border-color: var(--warning);
    background: linear-gradient(180deg, #fffbeb 0%, #fff 100%);
    transform: scale(1.03);
}

.price-card.featured:hover {
    transform: scale(1.03) translateY(-8px);
}

.price-card.lifetime {
    border-color: #7c3aed;
    background: linear-gradient(180deg, #f5f3ff 0%, #fff 100%);
}

.ribbon {
    position: absolute;
    top: -14px; right: 50%;
    transform: translateX(50%);
    background: var(--warning);
    color: var(--dark);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
    white-space: nowrap;
}

.ribbon.purple {
    background: #7c3aed;
    color: #fff;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.price-card-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.price-card-header p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 24px;
    min-height: 40px;
}

.price-amount {
    padding-bottom: 24px;
    border-bottom: 1px dashed #e2e8f0;
    margin-bottom: 24px;
}

.price-amount .price-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 5px;
}

.price-amount .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray);
    align-self: flex-start;
    margin-top: 8px;
}

.price-amount .amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1;
}

.price-amount .period {
    color: var(--gray);
    font-size: 0.95rem;
}

.price-amount .note {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 4px;
}

.price-amount .annual-price {
    font-size: 0.85rem;
    color: var(--success);
    font-weight: 700;
    margin-top: 5px;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    flex: 1;
}

.price-features li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
}

.price-features li i {
    color: var(--success);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.price-features li.disabled {
    color: var(--gray);
    opacity: 0.6;
}

.price-features li.disabled i { color: var(--gray); }

.btn-price {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-price:hover {
    background: var(--primary);
    color: #fff;
}

.btn-price.warning {
    background: var(--warning);
    color: var(--dark);
    border-color: var(--warning);
}

.btn-price.warning:hover {
    background: var(--warning-dark);
    border-color: var(--warning-dark);
}

.btn-price.purple {
    background: #7c3aed;
    color: #fff;
    border-color: #7c3aed;
}

.btn-price.purple:hover {
    background: #6d28d9;
    border-color: #6d28d9;
}

/* ============================================
   COMPARISON
============================================ */
.comparison-section {
    padding: 80px 0;
    background: var(--light);
}

.comparison-table {
    width: 100%;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    padding: 18px 16px;
    background: #f8fafc;
    font-weight: 800;
    font-size: 0.9rem;
    text-align: center;
    border-bottom: 2px solid #e2e8f0;
}

.comparison-table th:first-child {
    text-align: right;
    padding-right: 30px;
}

.comparison-table td {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.88rem;
}

.comparison-table td:first-child {
    text-align: right;
    padding-right: 30px;
    font-weight: 700;
}

.comparison-table tbody tr:hover { background: #f8fafc; }

.comparison-table .check { color: var(--success); font-size: 1.2rem; }
.comparison-table .times { color: #cbd5e1; font-size: 1.2rem; }

/* ============================================
   FAQ
============================================ */
.faq-section { padding: 80px 0; }

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover { border-color: var(--primary); }

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    user-select: none;
}

.faq-question i {
    transition: transform 0.3s;
    color: var(--primary);
}

.faq-item.active .faq-question i { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    padding: 0 24px;
    color: var(--gray);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 20px;
}

/* ============================================
   CTA (pricing)
============================================ */
.cta-section { padding: 60px 0 100px; }

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    border-radius: 30px;
    padding: 60px 50px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 15px;
    position: relative;
}

.cta-box p {
    opacity: 0.9;
    margin-bottom: 30px;
    position: relative;
}

.cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1200px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .navbar-actions .btn-login { display: none; }
}

@media (max-width: 768px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .price-card.featured { transform: scale(1); }
    .cta-box { padding: 40px 25px; }
    .comparison-table { overflow-x: auto; }
    .comparison-table table { min-width: 600px; }
}