/* Professional Subscription CSS - Premium Design */
:root {
    --primary-dark: #1a1f36;
    --premium-gold: #d4af37;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f7ef8a 100%);
    --emerald-green: #10b981;
    --deep-emerald: #047857;
    --electric-blue: #3b82f6;
    --royal-purple: #8b5cf6;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --trust-blue: #2563eb;
    --trust-green: #059669;
}

body {
    padding-top: 80px !important;
    margin: 0;
    font-family: 'Inter', 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

/* Premium Navbar */
.navbar {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: rgba(26, 31, 54, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

/* Luxurious Hero Section */
.page-hero-section {
    background: linear-gradient(#5F9F72 100%);
    color: white !important;
    padding: 120px 0 100px !important;
    text-align: center !important;
    margin-top: 0 !important;
    position: relative;
    overflow: hidden;
}

.page-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.page-hero-section .container {
    position: relative;
    z-index: 2;
}

.page-hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-hero-section p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    font-weight: 300;
    line-height: 1.6;
}

/* Premium Pricing Cards */
.subscription-section {
    padding: 80px 0;
    background: transparent;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 2.5rem;
}

.plan-card {
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    padding: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: visible;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--emerald-green);
    border-radius: 20px 20px 0 0;
}

.plan-card.featured-plan::before {
    background: var(--gold-gradient);
    height: 6px;
}

/* Hover effects only for desktop (prevent stuck hover on mobile) */
@media (min-width: 992px) {
    .plan-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-large);
    }
    
    .featured-plan:hover {
        transform: translateY(-8px);
    }
}

.featured-plan {
    border: 2px solid var(--premium-gold);
    box-shadow: var(--shadow-large);
    transform: scale(1.02);
    z-index: 2;
}

.popular-badge {
    position: absolute;
    top: -16px;
    right: 50%;
    transform: translateX(50%);
    background: var(--gold-gradient);
    color: var(--primary-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    white-space: nowrap;
}

@media (min-width: 992px) {
    .popular-badge {
        right: 2rem;
        transform: none;
    }
}

.plan-card-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.plan-card-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.plan-card-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--emerald-green);
    line-height: 1;
}

.plan-card-price small {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.featured-plan .plan-card-price {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.plan-card-savings {
    color: var(--emerald-green);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.plan-card-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.plan-card-features li {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    padding-left: 2rem;
    line-height: 1.5;
}

.plan-card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--emerald-green);
    font-weight: bold;
    font-size: 1.1rem;
}

.featured-plan .plan-card-features li::before {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Premium Buttons */
.btn-subscribe {
    background: linear-gradient(135deg, var(--emerald-green) 0%, var(--deep-emerald) 100%);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    width: 100%;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn-subscribe::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-subscribe:hover::before {
    left: 100%;
}

.btn-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.featured-plan .btn-subscribe {
    background: var(--gold-gradient);
    color: var(--primary-dark);
    font-weight: 700;
}

.featured-plan .btn-subscribe:hover {
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

/* Promo Code Section */
.promo-code-section {
    background: linear-gradient(135deg, var(--card-bg) 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 4rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promo-code-section::before {
    content: '🎁';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 8rem;
    opacity: 0.1;
    transform: rotate(15deg);
}

.promo-code-section h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.8rem;
}

/* Trust & Guarantee Section */
.guarantee-badge {
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f7e6 100%);
    border-radius: 16px;
    padding: 2rem;
    margin: 3rem auto;
    max-width: 800px;
    text-align: center;
    border: 1px solid rgba(37, 99, 235, 0.1);
    box-shadow: var(--shadow-soft);
}

.guarantee-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    background: white;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
}

.guarantee-title {
    color: var(--trust-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.guarantee-text {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.guarantee-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.guarantee-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.guarantee-features span::before {
    content: '✓';
    color: var(--trust-green);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Genuine Availability Indicator - Not Scarcity, Just Facts */
.availability-note {
    background: rgba(16, 185, 129, 0.05);
    border-radius: 12px;
    padding: 1rem 2rem;
    margin: 2rem auto;
    max-width: 600px;
    text-align: center;
    border: 1px dashed var(--emerald-green);
    color: var(--text-dark);
    font-size: 0.95rem;
}

.availability-note strong {
    color: var(--deep-emerald);
    font-weight: 600;
}

.availability-note .sep {
    color: var(--text-light);
    margin: 0 0.5rem;
}

/* Live Activity Indicator */
.live-activity {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 1rem 0;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--emerald-green);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--emerald-green);
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    70% { transform: scale(2); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

/* Trust Badges */
.trust-badge-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
}

.trust-item i {
    font-size: 1.2rem;
}

/* Footer Styles */
.site-footer {
    background: var(--primary-dark);
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

/* =========================================
   RESPONSIVE DESIGN (FIXED)
   ========================================= */

@media (max-width: 991px) {
    body {
        padding-top: 70px !important;
    }
    
    .page-hero-section {
        padding: 80px 0 60px !important;
    }
    
    .page-hero-section h1 {
        font-size: 2.5rem;
    }

    /* * NUCLEAR FIX: 
     * We target the columns and force them to clear float/flex issues.
     * We add a huge bottom margin to every column wrapper to ensure separation.
     */
    .col-lg-3, .col-md-6 {
        margin-bottom: 4rem !important;
        display: block !important; /* Disables flex stretch */
    }

    .plan-card {
        padding: 2rem;
        margin-bottom: 0;
        height: auto !important; /* Stop forcing height */
        transform: none !important; /* Disable scale entirely */
    }
    
    /* * SPECIFIC OVERLAP FIX:
     * This adds 4.5rem (~72px) of pure empty space above the Featured Plan.
     * This pushes it down well clear of the card above it.
     */
    .featured-plan {
        transform: none !important;
        margin-top: 4.5rem !important; 
        box-shadow: var(--shadow-medium);
        position: relative;
    }
    
    /* Prevent hover state from re-enabling transform on mobile tap */
    .featured-plan:hover {
        transform: none !important;
    }

    .guarantee-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .trust-badge-container {
        gap: 1rem;
    }
    
    .trust-item {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .page-hero-section h1 { font-size: 2rem; }
    .page-hero-section p { font-size: 1.1rem; }
    .section-title { font-size: 2rem; }
    .plan-card-price { font-size: 2.5rem; }
    .guarantee-title { font-size: 1.3rem; }
    .guarantee-text { font-size: 1rem; }
}

/* Animation for cards on load */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.plan-card {
    animation: fadeInUp 0.6s ease-out;
}

.plan-card:nth-child(2) { animation-delay: 0.1s; }
.plan-card:nth-child(3) { animation-delay: 0.2s; }
.plan-card:nth-child(4) { animation-delay: 0.3s; }

/* Print Styles */
@media print {
    .btn-subscribe, .navbar, .site-footer {
        display: none !important;
    }
}