/* Pricing Page - Pink Princess Theme */
/* Updated with Toggle Support */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.pricing-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #fff5f9 0%, #ffe6f0 100%);
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.pricing-hero {
    text-align: center;
    padding: 80px 20px 40px;
}

.pricing-hero h1 {
    font-size: 3em;
    margin-bottom: 15px;
    color: #ff6b9d;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3em;
    color: #666;
    margin-bottom: 40px;
}

/* Toggle Buttons */
.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px auto;
}

.toggle-btn {
    padding: 15px 40px;
    border: 2px solid #e91e8c;
    background: white;
    color: #e91e8c;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background: linear-gradient(135deg, #ff6b9d, #c86dd7);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.3);
}

.toggle-btn:hover {
    transform: translateY(-2px);
}

/* Pricing Section */
.pricing-section {
    padding: 40px 20px 80px;
}

/* Pricing Grid - Base */
.pricing-grid {
    display: none; /* Hidden by default */
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-grid.active {
    display: grid; /* Show when active */
}

/* Recurring Cards - 3 columns */
.recurring-cards {
    grid-template-columns: repeat(3, 1fr);
}

/* One-Time Cards - 2 columns, centered */
.onetime-cards {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px; /* Narrower for 2 cards */
}

/* One-Time Note */
.onetime-note {
    display: none;
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #fff5f7, #fef5ff);
    border-radius: 20px;
    border: 2px solid #ff6b9d;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.onetime-note.active {
    display: block;
}

.onetime-note p {
    margin: 10px 0;
    font-size: 16px;
    color: #666;
}

.onetime-note strong {
    color: #e91e8c;
}

/* Pricing Card */
.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(255, 107, 157, 0.15);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(255, 107, 157, 0.25);
}

.pricing-card.recommended {
    border: 3px solid #ff6b9d;
}

.pricing-card.featured {
    border: 3px solid #667eea;
}

.recommended-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff6b9d 0%, #c86dd7 100%);
    color: white;
    padding: 8px 25px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9em;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

.card-header {
    text-align: center;
    margin-bottom: 25px;
}

.plan-icon {
    font-size: 3.5em;
    margin-bottom: 15px;
}

.card-header h3 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
}

.plan-description {
    color: #666;
    font-size: 1em;
}

.pricing-amount {
    text-align: center;
    margin-bottom: 10px;
}

.currency {
    font-size: 1.5em;
    color: #999;
    vertical-align: top;
}

.price {
    font-size: 3.5em;
    font-weight: 700;
    color: #e91e8c;
}

.period {
    font-size: 1.2em;
    color: #999;
}

.price-detail {
    text-align: center;
    margin-bottom: 25px;
    min-height: 50px;
}

.price-detail p {
    color: #666;
    font-size: 0.95em;
    margin: 5px 0;
}

.savings {
    color: #667eea;
    font-weight: 600;
}

.monthly-equivalent {
    color: #999;
    font-size: 0.9em;
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.payment-option-btn {
    width: 100%;
    padding: 14px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.payment-option-btn.recurring {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.payment-option-btn.recurring:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.payment-option-btn.one-time {
    background: linear-gradient(135deg, #ff6b9d 0%, #c86dd7 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.payment-option-btn.one-time:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.5);
}

.payment-option-btn.recommended {
    background: linear-gradient(135deg, #ff6b9d 0%, #c86dd7 100%);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.payment-option-btn.recommended:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.5);
}

.payment-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75em;
    font-weight: 700;
}

/* Features List */
.features-list {
    border-top: 2px solid #f0f0f0;
    padding-top: 20px;
    flex-grow: 1;
}

.features-list h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1em;
}

.features-list ul {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 8px 0;
    color: #666;
    font-size: 0.9em;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.check {
    color: #667eea;
    font-weight: 700;
    font-size: 1.2em;
    flex-shrink: 0;
}

.check.premium {
    color: #ff6b9d;
}

.check.superpremium {
    color: #CC7722;
}

/* Comparison Section */
.comparison-section {
    padding: 80px 20px;
    background: white;
}

.comparison-section h2 {
    text-align: center;
    background: linear-gradient(135deg, #ff6b9d 0%, #c86dd7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5em;
    margin-bottom: 50px;
}

.comparison-table {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

thead th {
    padding: 20px;
    font-size: 1.2em;
    font-weight: 600;
    text-align: center;
}

thead th small {
    display: block;
    font-size: 0.75em;
    font-weight: 400;
    margin-top: 5px;
    opacity: 0.9;
}

tbody td {
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
    text-align: center;
}

tbody td:first-child {
    text-align: left;
}

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

tbody tr.highlight {
    background: #fff5f9;
}

.check-icon {
    color: #667eea;
    font-size: 1.5em;
    font-weight: 700;
}

.check-icon.premium {
    color: #ff6b9d;
}

.cross-icon {
    color: #ddd;
    font-size: 1.5em;
}

.savings-text {
    color: #667eea;
}

/* FAQ Section */
.faq-section {
    padding: 80px 20px;
}

.faq-section h2 {
    text-align: center;
    background: linear-gradient(135deg, #ff6b9d 0%, #c86dd7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5em;
    margin-bottom: 50px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.1);
    transition: transform 0.3s;
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-item h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    text-align: center;
    background: white;
}

.cta-section h2 {
    background: linear-gradient(135deg, #ff6b9d 0%, #c86dd7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3em;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.3em;
    color: #666;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    padding: 16px 40px;
    border-radius: 35px;
    font-weight: 600;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, #ff6b9d 0%, #c86dd7 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.5);
}

.btn-large {
    padding: 18px 50px;
    font-size: 1.2em;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 60px 20px 30px;
}

.footer-container {
    max-width: 900px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: #ff6b9d;
    margin-bottom: 15px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #ff6b9d;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Responsive */
@media (max-width: 1200px) {
    .recurring-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .onetime-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-hero h1 {
        font-size: 2em;
    }
    
    .pricing-toggle {
        flex-direction: column;
        gap: 10px;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .toggle-btn {
        width: 100%;
    }
    
    .recurring-cards,
    .onetime-cards {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.recommended,
    .pricing-card.featured {
        transform: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
