/* PLANS PAGE STYLES */

.plans-container {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 0 20px 60px;
}

/* HERO */
.plans-hero {
    text-align: center;
    padding: 60px 20px 40px;
}

.plans-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(0, 149, 246, 0.15), rgba(188, 24, 136, 0.15));
    border: 1px solid rgba(0, 149, 246, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.plans-hero-badge i {
    font-size: 16px;
}

.plans-hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plans-hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* BILLING TOGGLE */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.billing-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.3s;
}

.billing-label.active {
    color: var(--text-primary);
}

.toggle-switch {
    width: 52px;
    height: 28px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border);
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.toggle-switch.active {
    background: var(--primary);
    border-color: var(--primary);
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.toggle-switch.active .toggle-slider {
    transform: translateX(24px);
}

.save-badge {
    background: var(--success);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* PLANS CARDS */
.plans-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto 80px;
}

.plan-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px 32px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--border);
    transition: background 0.3s;
}

.plan-card:hover {
    transform: translateY(-8px);
    border-color: var(--text-muted);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.plan-card.featured {
    border-color: var(--primary);
    transform: scale(1.02);
}

.plan-card.featured::before {
    background: linear-gradient(90deg, var(--primary), #bc1888);
}

.plan-card.featured:hover {
    transform: scale(1.02) translateY(-8px);
}

.plan-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--primary), #bc1888);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
}

/* PLAN HEADER */
.plan-header {
    margin-bottom: 24px;
}

.plan-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.plan-icon.pro {
    background: linear-gradient(135deg, rgba(0, 149, 246, 0.15), rgba(0, 149, 246, 0.05));
    color: var(--primary);
}

.plan-icon.business {
    background: linear-gradient(135deg, rgba(188, 24, 136, 0.15), rgba(188, 24, 136, 0.05));
    color: #bc1888;
}

.plan-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.plan-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* PLAN PRICE */
.plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-secondary);
}

.amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    transition: all 0.3s;
}

.period {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
}

/* PLAN FEATURES */
.plan-features {
    list-style: none;
    margin-bottom: 32px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.feature.included i {
    color: var(--success);
    font-size: 18px;
}

.feature.excluded {
    opacity: 0.5;
}

.feature.excluded i {
    color: var(--text-muted);
    font-size: 18px;
}

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

/* PLAN CTA */
.plan-cta {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    margin-bottom: 16px;
}

.plan-cta.pro {
    background: var(--primary);
    color: white;
}

.plan-cta.pro:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 149, 246, 0.3);
}

.plan-cta.business {
    background: linear-gradient(135deg, var(--primary), #bc1888);
    color: white;
}

.plan-cta.business:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(188, 24, 136, 0.3);
}

.plan-cta i {
    transition: transform 0.3s;
}

.plan-cta:hover i {
    transform: translateX(4px);
}

.plan-guarantee {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

/* COMPARISON TABLE */
.comparison-section {
    margin-bottom: 80px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--border);
    scrollbar-width: thin;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.comparison-table th {
    background: var(--bg-tertiary);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.comparison-table th.highlight {
    background: linear-gradient(135deg, rgba(0, 149, 246, 0.1), rgba(188, 24, 136, 0.1));
    color: var(--primary);
}

.comparison-table td.highlight {
    background: rgba(0, 149, 246, 0.03);
    font-weight: 600;
}

.comparison-table tbody tr:hover {
    background: var(--bg-tertiary);
}

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

.excluded-icon {
    color: var(--danger);
    font-size: 16px;
}

.included-icon {
    color: var(--success);
    font-size: 16px;
}

.price-row {
    background: var(--bg-tertiary);
}

.price-row td {
    font-weight: 700;
    font-size: 16px;
}

/* FAQ */
.faq-section {
    max-width: 700px;
    margin: 0 auto 80px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--text-muted);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    font-size: 14px;
    color: var(--text-muted);
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* FINAL CTA */
.final-cta {
    background: linear-gradient(135deg, rgba(0, 149, 246, 0.1), rgba(188, 24, 136, 0.1));
    border: 1px solid rgba(0, 149, 246, 0.2);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 40px;
}

.cta-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), #bc1888);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(188, 24, 136, 0.3);
}

.cta-button i {
    transition: transform 0.3s;
}

.cta-button:hover i {
    transform: translateX(4px);
}

/* CHECKOUT MODAL */
.checkout-modal {
    max-width: 480px;
}

.checkout-plan-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    margin-bottom: 24px;
}

.checkout-plan-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 149, 246, 0.15), rgba(188, 24, 136, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
}

.checkout-plan-info h4 {
    font-size: 16px;
    font-weight: 700;
}

.checkout-plan-info p {
    font-size: 14px;
    color: var(--text-secondary);
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.payment-methods {
    margin-top: 8px;
}

.payment-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: block;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.payment-option {
    padding: 12px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.payment-option:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
}

.payment-option.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 149, 246, 0.05);
}

.payment-option i {
    font-size: 20px;
}

.checkout-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), #bc1888);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
}

.checkout-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 149, 246, 0.3);
}

.checkout-terms {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 8px;
}

.checkout-terms a {
    color: var(--primary);
    text-decoration: none;
}

.checkout-terms a:hover {
    text-decoration: underline;
}

/* SUCCESS STATE */
.checkout-success {
    text-align: center;
    padding: 40px 20px;
}

.checkout-success i {
    font-size: 64px;
    color: var(--success);
    margin-bottom: 20px;
}

.checkout-success h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.checkout-success p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.checkout-success button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.checkout-success button:hover {
    background: var(--primary-hover);
}

/* RESPONSIVE - TABLET */
@media (max-width: 1024px) {
    .plans-hero-title {
        font-size: 36px;
    }

    .plans-cards {
        gap: 24px;
    }

    .plan-card {
        padding: 32px 24px;
    }
}

/* RESPONSIVE - MOBILE */
@media (max-width: 768px) {
    .plans-container {
        padding: 0 0 80px;
    }

    .plans-hero {
        padding: 40px 16px 32px;
    }

    .plans-hero-title {
        font-size: 28px;
    }

    .plans-hero-subtitle {
        font-size: 15px;
    }

    .plans-cards {
        grid-template-columns: 1fr;
        padding: 0 16px;
        margin-bottom: 60px;
    }

    .plan-card {
        padding: 28px 20px;
    }

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

    .plan-card.featured:hover {
        transform: translateY(-8px);
    }

    .amount {
        font-size: 44px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 28px;
    }

    .comparison-section {
        padding: 0 16px;
    }

    .faq-section {
        padding: 0 16px;
    }

    .final-cta {
        margin: 0 16px 60px;
        padding: 40px 24px;
    }

    .cta-content h2 {
        font-size: 24px;
    }

    .cta-button {
        padding: 14px 32px;
    }

    .checkout-modal {
        width: 95%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .payment-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .plans-hero-title {
        font-size: 24px;
    }

    .billing-toggle {
        flex-wrap: wrap;
        gap: 8px;
    }

    .save-badge {
        width: 100%;
        text-align: center;
    }
}
