/* Premium Pricing Styles — Navy & Gold Theme */
:root {
    --pricing-primary: #1E3A8A;
    --pricing-secondary: #1E40AF;
    --pricing-accent: #EAB308;
    --pricing-gold: #CA8A04;
    --pricing-dark: #0F172A;
    --pricing-light: #F8FAFC;
    --pricing-gray: #64748B;
    --card-radius: 24px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-page {
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
    color: var(--pricing-dark);
    overflow-x: hidden;
}

/* ===================== HERO ===================== */
.pricing-hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
}
.pricing-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 40%, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    pointer-events: none;
}
.pricing-hero::after {
    content: '';
    position: absolute;
    bottom: -100px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 300px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.pricing-hero-inner {
    position: relative;
    z-index: 1;
}

.pricing-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #EAB308;
    background: rgba(234,179,8,0.12);
    border: 1px solid rgba(234,179,8,0.25);
    border-radius: 50px;
    padding: 0.4rem 1.1rem;
    margin-bottom: 1.5rem;
}

.pricing-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1.25rem;
    color: #ffffff;
    letter-spacing: -1px;
    line-height: 1.15;
}

.pricing-hero p {
    font-size: 1.1rem;
    color: #EAB308;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    font-weight: 500;
    line-height: 1.7;
}

.pricing-hero-stats {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 0.5rem;
    list-style: none;
}
.hero-stat {
    text-align: center;
    padding: 0 2rem;
    border-right: 1px solid rgba(255,255,255,0.1);
    background: transparent !important;
}
.hero-stat:last-child { border-right: none; }
.hero-stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: #EAB308 !important;
    line-height: 1;
    background: transparent !important;
}
.hero-stat-label {
    display: block;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.55) !important;
    font-weight: 600;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: transparent !important;
}
@media (max-width: 576px) {
    .pricing-hero-stats { gap: 0; }
    .hero-stat { padding: 0 1rem; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 1rem; margin-bottom: 1rem; }
    .hero-stat:last-child { border-bottom: none; }
}

/* ===================== TOGGLE ===================== */
.pricing-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 1.5rem 0 1rem 0;
    position: relative;
    z-index: 10;
}

.toggle-label {
    font-weight: 600;
    font-size: 1rem;
    color: var(--pricing-gray);
    transition: var(--transition-smooth);
    cursor: pointer;
}
.toggle-label.active {
    color: var(--pricing-dark);
    font-weight: 700;
}

.pricing-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 32px;
}
.pricing-switch input { opacity: 0; width: 0; height: 0; }

.pricing-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: white;
    border: 2px solid #E2E8F0;
    transition: .4s;
    border-radius: 38px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.pricing-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background: linear-gradient(135deg, #1E3A8A, #3B82F6);
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(30, 58, 138, 0.3);
}
input:checked + .pricing-slider:before {
    transform: translateX(28px);
}

.discount-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* ===================== PRICING CARDS ===================== */
.pricing-grid {
    padding: 2rem 0 5rem 0;
}

.pricing-card {
    background: #ffffff;
    border-radius: var(--card-radius);
    padding: 45px 35px;
    height: 100%;
    position: relative;
    overflow: visible;
    border: 1px solid #e5eaf2;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    color: #0f172a;
}

.pricing-card::before {
    display: none;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.12);
}

/* Featured */
.pricing-card.featured {
    border-color: rgba(59, 130, 246, 0.18);
    box-shadow: 0 14px 32px rgba(59, 130, 246, 0.08);
}
.pricing-card.featured:hover {
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.15);
}

/* Premium */
.pricing-card.premium {
    z-index: 5;
    border: 2px solid #d4a017;
    box-shadow: 0 20px 50px rgba(212, 160, 23, 0.15);
}
.pricing-card.premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(212, 160, 23, 0.25);
}

/* Premium Glow */
@keyframes premiumGlow {
    0%, 100% { box-shadow: 0 20px 50px rgba(212, 160, 23, 0.15); }
    50% { box-shadow: 0 25px 60px rgba(234, 179, 8, 0.25); }
}
.pricing-card.premium {
    animation: premiumGlow 4s ease-in-out infinite;
}

/* Popular Badge */
.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: white;
    padding: 6px 18px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.35);
    white-space: nowrap;
    z-index: 10;
}

/* Plan Icon */
.plan-icon {
    width: 64px;
    height: 64px;
    background: #f4f7fb;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 24px;
    color: #1e3a8a;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
    position: relative;
    z-index: 2;
}
.pricing-card:hover .plan-icon {
    transform: scale(1.1) rotate(-5deg);
    background: #eaf0ff;
    color: #1d4ed8;
}
.pricing-card.featured .plan-icon { color: #2563eb; }
.pricing-card.premium .plan-icon { color: #b7791f; background: #fef9ee; }
.pricing-card.premium:hover .plan-icon { background: #fef3c7; }

/* Plan Text */
.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111827;
}
.plan-tagline {
    color: #8b95a7;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

/* Plan Price */
.plan-price-box {
    margin-bottom: 30px;
    overflow: hidden;
}
.plan-price {
    font-size: 2.15rem;
    font-weight: 800;
    color: #111827;
    display: flex;
    align-items: baseline;
    gap: 0;
    line-height: 1;
    white-space: nowrap;
    flex-wrap: nowrap;
}
.plan-price .currency {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f3b7a;
    line-height: 1.5;
    margin-right: 2px;
}
.plan-price span.price-value {
    font-size: 1em;
    color: inherit;
    font-weight: inherit;
}
.plan-period {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
    white-space: nowrap;
    align-self: flex-end;
    padding-bottom: 0.15em;
    margin-left: 4px;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 34px 0;
    flex-grow: 1;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #475569;
}
.feature-item i {
    width: 18px;
    height: 18px;
    background: rgba(34, 197, 94, 0.08);
    color: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}
.pricing-card:hover .feature-item i {
    transform: scale(1.15);
}

/* CTA Buttons */
.pricing-cta {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none;
    display: block;
    margin-top: auto;
    cursor: pointer;
}
.btn-free {
    background: #eef2f7;
    color: #64748b !important;
}
.btn-free:hover {
    background: #e2e8f0;
    color: #334155 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}
.btn-featured {
    background: #e9efff;
    color: #1f3f8f !important;
}
.btn-featured:hover {
    background: #3B82F6;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(59, 130, 246, 0.3);
}
.btn-premium {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
}
.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(239, 68, 68, 0.4);
    color: white;
}

/* ===================== COMPARISON TABLE ===================== */
.comparison-section {
    padding: 80px 0;
    background: white;
}
.mobile-comparison { display: none; }

.table-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid #F1F5F9;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
}
.comparison-table th, .comparison-table td {
    padding: 24px;
    text-align: center;
    border-bottom: 1px solid #F1F5F9;
}
.comparison-table th:first-child, .comparison-table td:first-child {
    text-align: left;
    width: 40%;
    padding-left: 40px;
    font-weight: 600;
    color: var(--pricing-dark);
}
.comparison-table thead th {
    background: #F8FAFC;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--pricing-dark);
    position: sticky;
    top: 0;
    z-index: 10;
}
.comparison-table tbody tr {
    transition: background 0.2s ease;
}
.comparison-table tbody tr:hover {
    background: #F8FAFC;
}

.check-icon {
    color: #10B981;
    font-size: 1.25rem;
}
.cross-icon {
    color: #94A3B8;
    font-size: 1.1rem;
    opacity: 0.5;
}
.tooltip-icon {
    color: #94A3B8;
    margin-left: 8px;
    cursor: help;
    font-size: 0.85rem;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pricing-gray);
    font-weight: 500;
}
.trust-item i {
    color: var(--pricing-accent);
}

/* ===================== SUCCESS STORIES ===================== */
.pricing-success-stories {
    padding: 100px 0;
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%) !important;
    position: relative;
    overflow: hidden;
    color: white;
}
.pricing-success-stories::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.08) 0%, transparent 70%);
    top: -100px; right: -100px;
    border-radius: 50%;
}

.pricing-badge-premium {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    background: rgba(234, 179, 8, 0.15) !important;
    border: 1px solid rgba(234, 179, 8, 0.3) !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    width: auto !important;
}
.pricing-gold-text { color: #EAB308 !important; }
.pricing-navy-text { color: #0F172A !important; }

.pricing-testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 45px 35px;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}
.pricing-testimonial-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(234, 179, 8, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.pricing-testimonial-card.pricing-highlighted {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(234, 179, 8, 0.5);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.pricing-quote-icon {
    position: absolute;
    top: 35px; right: 35px;
    font-size: 2.2rem;
    color: rgba(234, 179, 8, 0.2);
}
.pricing-rating {
    color: #EAB308;
    font-size: 0.95rem;
}
.pricing-testimonial-text {
    color: #F8FAFC !important;
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 30px;
    font-weight: 400;
}
.pricing-user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}
.pricing-user-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.pricing-user-info h6 { font-size: 1.05rem; margin-bottom: 2px; }
.pricing-user-info small { font-size: 0.85rem; font-weight: 600; }

/* ===================== FAQ ===================== */
.pricing-premium-faq {
    padding: 100px 0;
    background: #F8FAFC !important;
}
.pricing-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.pricing-faq-card {
    background: white !important;
    border-radius: 22px;
    border: 1px solid #E2E8F0 !important;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.pricing-faq-card:hover {
    border-color: #EAB308 !important;
    box-shadow: 0 12px 24px rgba(0,0,0,0.04);
}
.pricing-faq-card.active {
    border-color: #EAB308 !important;
    box-shadow: 0 20px 40px rgba(234, 179, 8, 0.1);
}
.pricing-faq-header {
    padding: 26px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.15rem;
    color: #0F172A !important;
    transition: all 0.3s ease;
    user-select: none;
}
.pricing-faq-header:hover {
    color: #CA8A04 !important;
}
.pricing-faq-header i {
    font-size: 1rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.pricing-faq-card.active .pricing-faq-header i {
    transform: rotate(45deg);
}
.pricing-faq-card.active .pricing-faq-header {
    color: #CA8A04 !important;
    background: #FFFEF9;
}
.pricing-faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.pricing-faq-body p {
    padding: 0 35px 30px;
    margin: 0;
    color: #475569 !important;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ===================== STICKY MOBILE CTA ===================== */
.sticky-mobile-cta {
    display: none;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991px) {
    .pricing-hero h1 { font-size: 2.5rem; }
    .pricing-card.premium { transform: scale(1); margin-bottom: 30px; }
    .pricing-card.premium:hover { transform: translateY(-10px); }
}

@media (max-width: 767px) {
    .pricing-hero { padding: 60px 0 120px; }
    .pricing-hero h1 { font-size: 2.2rem; }

    .table-container { display: none; }
    .mobile-comparison { display: block; }

    .sticky-mobile-cta {
        display: block;
        position: fixed;
        bottom: 20px;
        left: 20px;
        right: 20px;
        z-index: 1000;
        background: linear-gradient(135deg, var(--pricing-primary), var(--pricing-secondary));
        color: white;
        padding: 16px;
        border-radius: 50px;
        text-align: center;
        font-weight: 700;
        box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
        text-decoration: none;
        animation: slideUp 0.5s ease-out;
    }
}

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
    .pricing-success-stories { padding: 70px 0; }
    .pricing-premium-faq { padding: 70px 0; }
    .pricing-testimonial-card { padding: 35px 25px; }
    .pricing-faq-header { padding: 22px 25px; font-size: 1.05rem; }
}
