/* pricing.css - Strict Reference Match */

/* Base Overrides */
.text-navy { color: #0F172A; }
.text-slate-500 { color: #64748B; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1E293B; }
.text-white { color: #FFFFFF; }

/* Background setup */
.pricing-body {
    background-color: #F8FAFC;
    position: relative;
    overflow-x: hidden;
}
.pricing-page-bg {
    position: absolute;
    top: 0; left: 0; right: 0; height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.swoosh {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
}
.swoosh-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #DBEAFE, transparent 70%);
    top: -100px; left: -100px;
}
.swoosh-2 {
    width: 800px; height: 800px;
    background: radial-gradient(circle, #BFDBFE, transparent 60%);
    top: 20%; right: -200px;
}

.relative-layout { position: relative; }
.z-10 { z-index: 10; }

/* Custom Pill Toggle */
.toggle-container {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}
.custom-toggle-pill {
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    padding: 6px;
    border-radius: 9999px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.toggle-btn {
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: #64748B;
    padding: 10px 24px;
    border-radius: 9999px;
}
.toggle-btn.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.discount-text {
    margin-left: 12px;
    margin-right: 12px;
    color: var(--primary);
    font-weight: 800;
    font-size: 12px;
    background: #EFF6FF;
    padding: 6px 12px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

/* Pricing Grid - THE FIX */
.pricing-section {
    padding: 24px 24px 80px 24px;
    max-width: 1300px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch; /* Forces equal height */
}

/* Cards */
.pricing-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column; /* Allows mt-auto for buttons */
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 1;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

/* Highlighted Pro Card */
.card-pro {
    border: 2px solid var(--primary);
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.12);
}
.card-pro::before {
    content: "Most Popular";
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Premium Card Special Setup (Elegant, not overpowering) */
.card-premium-blue {
    background-color: #0F172A; /* Sleek navy dark */
    border: 1px solid #334155;
    color: #ffffff;
}
.card-premium-blue h3,
.card-premium-blue p,
.card-premium-blue span,
.card-premium-blue div,
.card-premium-blue li {
    color: #F1F5F9 !important;
}
.card-premium-blue .plan-name {
    color: #ffffff !important;
}
.card-premium-blue .check-icon {
    color: #60A5FA !important; /* Soft blue checks for dark background */
}
.card-premium-blue .card-divider, .card-premium-blue .border-white-30 {
    background: rgba(255, 255, 255, 0.15) !important;
}
.card-premium-blue .plan-price-wrapper .price {
    color: #ffffff !important;
}

/* Card internals */
.card-header {
    text-align: center;
    margin-bottom: 24px;
}
.card-divider {
    border: 0;
    height: 1px;
    background: #E2E8F0;
    width: 100%;
}
.plan-name {
    font-size: 20px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 16px;
}
.plan-price-wrapper {
    margin: 24px 0 8px 0;
}
.price {
    font-size: 40px;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -1px;
}
.plan-period {
    font-size: 14px;
    font-weight: 500;
    color: #64748B;
    margin-bottom: 24px;
}

.card-features {
    padding-top: 24px;
    margin-bottom: 32px;
}
.card-features p {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 16px;
}

/* Lists and checkmarks */
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { 
    display: flex; 
    align-items: flex-start;
    line-height: 1.5;
    margin-bottom: 12px;
    font-size: 14px;
    color: #334155;
}
.check-icon {
    color: var(--primary);
    font-weight: 800;
    margin-right: 12px;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}
.cross-icon {
    color: #94A3B8;
    margin-right: 12px;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.or-divider {
    text-align: center;
    color: #94A3B8;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 24px 0;
    position: relative;
}
.or-divider::before, .or-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #E2E8F0;
}
.or-divider::before { left: 0; }
.or-divider::after { right: 0; }

/* Buttons Configuration */
.card-footer {
    margin-top: auto; /* Pushes button strictly to the bottom */
}

.w-full { width: 100%; }

.btn-blue-solid {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    padding: 14px 24px;
    font-size: 15px;
    transition: background 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.btn-blue-solid:hover { background: #1D4ED8; box-shadow: 0 4px 12px rgba(37,99,235,0.2); }

.btn-outline-dark {
    background: transparent;
    color: #0F172A;
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    font-weight: 600;
    padding: 14px 24px;
    font-size: 15px;
    transition: background 0.2s;
    cursor: pointer;
}
.btn-outline-dark:hover { background: #F8FAFC; border-color: #94A3B8; }

.btn-white-solid {
    background: #ffffff;
    color: #0F172A;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    padding: 14px 24px;
    font-size: 15px;
    transition: background 0.2s, opacity 0.2s;
    cursor: pointer;
}
.btn-white-solid:hover { opacity: 0.9; }

/* Responsive Grid */
@media (max-width: 1200px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 768px) {
    .pricing-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-title { font-size: 32px !important; }
}
