/* --- PRICING PAGE STYLES --- */

/* --- ENHANCED HERO BANNER --- */

.pricing-hero {
    position: relative;
    /* Deep Slate/Dark Background for a premium look */
    background-color: #0f172a; 
    padding: 160px 0 100px;
    overflow: hidden;
    color: white;
}

/* Atmospheric Glow Effect */
.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 209, 178, 0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.pricing-hero .container {
    position: relative;
    z-index: 2; /* Sits above the glow */
}

/* Bigger Typography */
.hero-title {
    font-size: 4.5rem; /* Significantly larger */
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 25px;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.4rem; /* Larger description */
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Pricing Toggle Enhancements for Dark Background */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 1.1rem;
    font-weight: 500;
}

.toggle-label {
    color: #e2e8f0;
}

.save-badge {
    background: rgba(0, 209, 178, 0.2);
    color: #2dd4bf;
    border: 1px solid rgba(0, 209, 178, 0.3);
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 100px;
    margin-left: 8px;
}

/* Ensure the gradient text stays sharp on dark backgrounds */
.text-gradient {
    background: linear-gradient(to right, #00d1b2, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- RESPONSIVE FIXES --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }
}

.text-center { text-align: center; }

/* Pricing Toggle Switch */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
    font-weight: 600;
}

.switch { position: relative; display: inline-block; width: 50px; height: 26px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #cbd5e1; transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: var(--primary, #00d1b2); }
input:checked + .slider:before { transform: translateX(24px); }

.save-badge { background: #ffedd5; color: #c2410c; font-size: 0.75rem; padding: 2px 8px; border-radius: 10px; }

/* Symmetrical 3-Column Grid */
.pricing-section {
    padding-bottom: 100px;
    background: #f8fafc;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Forces 3 columns side-by-side */
    gap: 25px;
    align-items: stretch; /* All cards same height */
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    border: 1px solid #e2e8f0;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.05); }

/* Highlighted Plan */
.pricing-card.popular {
    border: 2px solid var(--primary, #00d1b2);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
    z-index: 2;
}

.popular-tag {
    position: absolute;
    top: -15px; left: 50%; transform: translateX(-50%);
    background: var(--primary, #00d1b2);
    color: white;
    padding: 4px 15px; border-radius: 20px; font-size: 0.75rem; font-weight: 700;
}

/* Card Elements */
.card-header { text-align: center; border-bottom: 1px solid #f1f5f9; padding-bottom: 25px; margin-bottom: 25px; }
.price-box { display: flex; justify-content: center; align-items: baseline; margin-top: 15px; color: #1e293b; }
.currency { font-size: 1.5rem; font-weight: 600; }
.amount { font-size: 3.5rem; font-weight: 700; }
.period { color: #64748b; margin-left: 5px; }

/* Hidden Details Styling */
.extra-details {
    display: none;
    margin-top: 10px;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
    background: #f1f5f9;
    padding: 5px;
    border-radius: 5px;
}
.extra-details.show { display: block; animation: fadeIn 0.4s ease; }

.detail-control { margin-top: 50px; }
.details-link {
    background: none; border: none;
    color: var(--primary, #00d1b2);
    text-decoration: underline; font-weight: 600; cursor: pointer;
}

.feature-list { list-style: none; padding: 0; }
.feature-list li { margin-bottom: 12px; font-size: 0.95rem; display: flex; align-items: center; }
.feature-list li span { color: var(--primary, #00d1b2); margin-right: 10px; font-weight: bold; }

.full-width { width: 100%; display: block; text-align: center; margin-bottom: 20px; }

/* Responsive */
@media (max-width: 992px) {
    .pricing-grid { grid-template-columns: 1fr; gap: 30px; padding: 0 20px; }
    .pricing-card.popular { transform: scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}