/* Pricing Page Specific Styles */

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

/* Pricing Card with 3D Hover */
.pricing-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(25px);
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
    perspective: 1000px;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #28a745, #ffc107, #dc3545, #28a745);
    background-size: 400% 400%;
    animation: gradientAnimation 8s ease infinite;
    z-index: -1;
    border-radius: 20px;
    opacity: 0;
}

.pricing-card:hover {
    transform: translateY(-8px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

.pricing-card.popular {
    transform: scale(1.05);
    border: 2px solid #00796B;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px) rotateX(5deg);
}

/* Badge System */
.popular-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #00796B, #00BFA5);
    color: #333;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    animation: pulse 2s infinite;
}

.best-value-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(45deg, #D87D4A, #E89A6E);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pricing-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1cc88a, #13855c); /* Default color */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 121, 107, 0.2);
    transition: all 0.3s ease;
}

.pricing-card:hover .pricing-icon {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 6px 18px rgba(0, 121, 107, 0.3);
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #323232;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #212529, #495057);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #323232;
    background: linear-gradient(45deg, #00796B, #00BFA5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-period {
    color: #5C5C5C;
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    margin: 25px 0;
    text-align: left;
}

.pricing-features li {
    color: #5C5C5C;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-features li:hover {
    color: #D87D4A;
    transform: translateX(5px);
}

.pricing-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00796B;
    font-weight: bold;
    font-size: 16px;
}

/* FAQ Section */
.faq-section {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(25px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 35px;
    margin: 50px auto 0;
    max-width: 1100px;
}

.faq-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #323232;
    margin-bottom: 25px;
    text-align: center;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: rgba(0, 0, 0, 0.02);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 0, 0, 0.04);
}

.faq-question h3 {
    color: #323232;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #5C5C5C;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Footer Payment Section */
.footer-section {
    position: relative;
    width: calc(100% - 80px);
    max-width: 1100px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 15px 20px;
    margin: 30px auto 20px;
    overflow: hidden;
}

.scrolling-payment-methods {
    display: flex;
    animation: scrollPayment 12s linear infinite;
    gap: 40px;
}

@keyframes scrollPayment {
    0% {
        transform: translateX(0);
        -webkit-transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
    }
}

.footer-section .payment-method {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.footer-section .payment-logo {
    height: 24px;
    max-width: 80px;
    object-fit: contain;
}

.footer-section .payment-logo.fa-icon {
    font-size: 24px;
}

.footer-section .payment-name {
    font-weight: 600;
    color: #323232;
}

/* Shining Animation on Hover */
.footer-section .payment-method:hover {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-section .payment-note {
    color: #5C5C5C;
    font-size: 12px;
    margin-top: 10px;
    text-align: center;
}

/* Payment Security Badges */
.security-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.security-badge {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #5C5C5C;
    font-size: 12px;
    font-weight: 600;
}

/* Colorful Pricing Icons */
.pricing-grid .pricing-card:nth-of-type(1) .pricing-icon { background: linear-gradient(135deg, #1cc88a, #13855c); } /* Basic */
.pricing-grid .pricing-card:nth-of-type(2) .pricing-icon { background: linear-gradient(135deg, #4e73df, #224abe); } /* Standard */
.pricing-grid .pricing-card:nth-of-type(3) .pricing-icon { background: linear-gradient(135deg, #f6c23e, #dda20a); } /* Premium */

.pricing-icon i {
    color: #ffffff;
}

/* Dark Mode Styles for Pricing */
body.dark-mode .pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .pricing-card::before {
    background: linear-gradient(45deg, #222, #444, #222, #444);
    opacity: 0.2;
}

body.dark-mode .pricing-card.popular {
    border-color: #00BFFF;
}

body.dark-mode .pricing-icon {
    background: linear-gradient(135deg, #444, #666); /* Fallback, will be overridden */
}

body.dark-mode .pricing-title {
    background: linear-gradient(45deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.dark-mode .pricing-price {
    background: linear-gradient(45deg, #00BFFF, #1E90FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.dark-mode .pricing-period {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .pricing-features li {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .pricing-features li:before {
    color: #00796B;
}

body.dark-mode .pricing-features li:hover {
    color: #FF00FF;
}

/* Dark Mode Footer */
body.dark-mode .footer-section {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .footer-section .payment-logo {
    filter: brightness(0.9);
}

body.dark-mode .footer-section .payment-name {
    color: rgba(255, 255, 255, 0.9);
}

body.dark-mode .security-badge {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .faq-section {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .faq-title {
    color: #ffffff;
}

body.dark-mode .faq-question h3 {
    color: #ffffff;
}

body.dark-mode .faq-answer {
    color: rgba(255, 255, 255, 0.8);
}

/* Dark Mode Colorful Pricing Icons */
body.dark-mode .pricing-grid .pricing-card:nth-of-type(1) .pricing-icon { background: linear-gradient(135deg, #1cc88a, #13855c); }
body.dark-mode .pricing-grid .pricing-card:nth-of-type(2) .pricing-icon { background: linear-gradient(135deg, #4e73df, #224abe); }
body.dark-mode .pricing-grid .pricing-card:nth-of-type(3) .pricing-icon { background: linear-gradient(135deg, #f6c23e, #dda20a); }

/* Unique background colors for each pricing card */
.pricing-grid .pricing-card:nth-of-type(1) { background: linear-gradient(145deg, rgba(28, 200, 138, 0.05), rgba(19, 133, 92, 0.1)); } /* Basic - Green */
.pricing-grid .pricing-card:nth-of-type(2) { background: linear-gradient(145deg, rgba(78, 115, 223, 0.05), rgba(34, 74, 190, 0.1)); } /* Standard - Blue */
.pricing-grid .pricing-card:nth-of-type(3) { background: linear-gradient(145deg, rgba(246, 194, 62, 0.05), rgba(221, 162, 10, 0.1)); } /* Premium - Yellow */

/* Dark mode adjustments for pricing card backgrounds */
body.dark-mode .pricing-grid .pricing-card:nth-of-type(1) { background: linear-gradient(145deg, rgba(28, 200, 138, 0.1), rgba(19, 133, 92, 0.15)); }
body.dark-mode .pricing-grid .pricing-card:nth-of-type(2) { background: linear-gradient(145deg, rgba(78, 115, 223, 0.1), rgba(34, 74, 190, 0.15)); }
body.dark-mode .pricing-grid .pricing-card:nth-of-type(3) { background: linear-gradient(145deg, rgba(246, 194, 62, 0.1), rgba(221, 162, 10, 0.15)); }



/* Responsive Design */
@media (max-width: 768px) {
    .pricing-card {
        transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    .card-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .security-badges {
        flex-wrap: nowrap;
        gap: 8px;
    }

    .security-badge {
        padding: 6px 10px;
        font-size: 9px;
        gap: 5px;
        white-space: nowrap;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }

    /* Footer Responsive */
    .footer-section {
        width: calc(100% - 60px);
        padding: 12px 15px;
        border-radius: 40px;
        margin: 40px auto 25px;
    }
    
    .footer-section .payment-method {
        min-width: 100px;
        padding: 8px 12px;
        gap: 6px;
    }
    
    .footer-section .payment-icon {
        font-size: 16px;
        width: 20px;
    }
    
    .footer-section .payment-name {
        font-size: 11px;
    }
    
    .footer-section .payment-note {
        font-size: 11px;
    }
    
    .scrolling-payment-methods {
        gap: 15px;
        animation: scrollPayment 16s linear infinite;
    }
}

@media (max-width: 480px) {
    /* Footer Responsive */
    .footer-section {
        width: calc(100% - 40px);
        padding: 10px 12px;
        border-radius: 35px;
        margin: 30px auto 20px;
    }
    
    .footer-section .payment-method {
        min-width: 90px;
        padding: 6px 10px;
        gap: 5px;
        flex-direction: column;
    }
    
    .footer-section .payment-icon {
        font-size: 14px;
        width: 18px;
    }
    
    .footer-section .payment-name {
        font-size: 10px;
    }
    
    .footer-section .payment-note {
        font-size: 10px;
        margin-top: 8px;
    }
    
    .scrolling-payment-methods {
        gap: 12px;
        animation: scrollPayment 14s linear infinite;
    }
}



        /* Prevents the white flash in dark mode by applying dark background immediately */
        html.dark-mode {
            background: #000000;
        }
        html.dark-mode body {
            background: #000000;
            color: #ffffff;
        }
        body {
            /* Hide body until the theme is fully decided to prevent content flash */
            visibility: hidden;
            opacity: 0;
        }
        /* Basic Reset */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* Safari Compatibility */
        * {
            -webkit-font-smoothing: antialiased;
            -webkit-text-size-adjust: 100%;
        }

        /* Smooth Scrolling */
        html {
            scroll-behavior: smooth;
            scroll-padding-bottom: env(safe-area-inset-bottom);
            background: #ECF5F5;
            background-attachment: fixed;
            min-height: 100%;
        }

        /* Body Styles */
        body {
            margin: 0;
            padding: 0;
            font-family: 'Poppins', 'Hind Siliguri', sans-serif;
            background: #ECF5F5;
            color: #323232;
            overflow-x: hidden;
            min-height: 100vh;
            min-height: 100svh;
            min-height: 100dvh;
            
            position: relative;
        }

        body::before {
            content: '';
            position: fixed;
            inset: 0;
            background: inherit;
            background-attachment: fixed;
            z-index: -2;
            pointer-events: none;
            animation: inherit;
            transform: translateZ(0);
        }

        @supports (padding: max(0px)) {
            
            
            .main-content {
                padding-bottom: max(110px, env(safe-area-inset-bottom));
            }
        }

        /* Gradient text fix */
        .page-title,
        .pricing-title,
        .pricing-price {
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .text-orange {
            background: linear-gradient(45deg, #D87D4A, #E89A6E);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            color: #fd7e14; /* Fallback color */
        }


        @keyframes float {
            0% { transform: translateY(100vh) rotate(0deg); }
            100% { transform: translateY(-100px) rotate(360deg); }
        }

        /* Scroll Progress Bar */
        /* Back to Top Button */
        .back-to-top {
            position: fixed;
            bottom: max(26px, calc(26px + env(safe-area-inset-bottom)));
            right: 26px;
            width: 44px;
            height: 44px;
            background: linear-gradient(135deg, #00796B, #004D40);
            border: none;
            border-radius: 50%;
            color: #ffffff;
            font-size: 18px;
            cursor: pointer;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.3s ease;
            z-index: 1400;
            box-shadow: 0 6px 18px rgba(0, 121, 107, 0.2);
        }

        .back-to-top.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .back-to-top:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 20px rgba(0, 121, 107, 0.3);
        }

        /* Confetti Container */
        .confetti-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1003;
        }

        .confetti {
            position: absolute;
            width: 10px;
            height: 10px;
            background: #ffd700;
            opacity: 0;
            animation: confettiFall 3s ease-in-out;
        }

        @keyframes confettiFall {
            0% {
                opacity: 1;
                transform: translateY(-100px) rotate(0deg);
            }
            100% {
                opacity: 0;
                transform: translateY(100vh) rotate(360deg);
            }
        }

        /* Rainbow Background Animation */
        @keyframes gradientAnimation {
            0% { 
                background-position: 0% 50%;
                -webkit-background-position: 0% 50%;
            }
            25% { 
                background-position: 50% 50%;
                -webkit-background-position: 50% 50%;
            }
            50% { 
                background-position: 100% 50%;
                -webkit-background-position: 100% 50%;
            }
            75% { 
                background-position: 50% 50%;
                -webkit-background-position: 50% 50%;
            }
            100% { 
                background-position: 0% 50%;
                -webkit-background-position: 0% 50%;
            }
        }

        /* Navigation Bar */
        .navbar {
            background: linear-gradient(90deg, rgba(0, 121, 107, 0.2), rgba(0, 77, 64, 0.25)); /* Teal Gradient */
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);  /* ← Add this */
            border-bottom: 1px solid rgba(0, 121, 107, 0.15); /* Teal border */
            padding: 10px 30px;
            box-shadow: 0 2px 15px rgba(0, 77, 64, 0.1); /* Teal shadow */
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            border-radius: 0 0 15px 15px;
        }

        .nav-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo-circle {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, #00796B, #004D40);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 12px rgba(0, 121, 107, 0.2);
            border: 2px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
        }

        .logo-circle:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 18px rgba(0, 121, 107, 0.3);
        }

        .logo-circle i {
            color: #ffffff;
            font-size: 18px;
        }
        .nav-brand {
            font-size: 1.6rem;
            font-weight: 800;
            background: linear-gradient(45deg, #00796B, #004D40);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        }

        .nav-center {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .nav-links {
            display: flex;
            gap: 20px;
            align-items: center;
        }

        .nav-links a {
            color: #323232;
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
            padding: 8px 16px;
            border-radius: 20px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            -webkit-tap-highlight-color: transparent;
            -webkit-touch-callout: none;
            -webkit-user-select: none;
            user-select: none;
        }

        .nav-links a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
            transition: left 0.5s ease;
        }

        .nav-links a:hover::before {
            left: 100%;
        }

        .nav-links a:hover {
            background: rgba(0, 0, 0, 0.05);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .nav-links a.active {
            background: rgba(0, 121, 107, 0.1);
            color: #00796B;
        }

        /* Toggle Controls */
        .nav-controls {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        /* Capsule Toggle Styles */
        .capsule-toggle {
            width: 70px;
            height: 32px;
            background: rgba(0, 0, 0, 0.05);
            border-radius: 20px;
            padding: 2px;
            cursor: pointer;
            position: relative;
            border: 1.5px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
            display: flex;
            overflow: hidden;
            -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
        }

        .capsule-toggle::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
            transition: left 0.5s ease;
        }

        .capsule-toggle:hover::before {
            left: 100%;
        }

        .capsule-toggle:hover {
            background: rgba(0, 0, 0, 0.1);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .toggle-track {
            display: flex;
            width: 100%;
            height: 100%;
            position: relative;
        }

        .toggle-thumb {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            font-weight: 600;
            color: #495057;
            transition: all 0.3s ease;
            z-index: 2;
            border-radius: 18px;
        }

        .toggle-thumb.active {
            color: #ffffff;
            background: linear-gradient(135deg, #00796B, #004D40);
        }

        .toggle-icon {
            font-size: 12px;
        }
        /* Main Content */
        .main-content {
            min-height: 100vh;
            padding: 120px 20px 110px;
            max-width: 1200px;
            margin: 0 auto;
        }

        /* Page Header */
        .page-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .page-title {
            font-size: 3rem;
            font-weight: 800;
            background: linear-gradient(45deg, #00796B, #00BFA5);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            /* Add explicit color fallback for Safari */
            color: #00796B;
            margin-bottom: 15px;
            text-shadow: 0 2px 8px rgba(0, 121, 107, 0.15);
        }

        .page-subtitle {
            font-size: 1.1rem;
            color: #5C5C5C;
            max-width: 600px;
            margin: 0 auto;
        }

        /* Pricing Grid */
        .pricing-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin-bottom: 50px;
        }

        /* Pricing Card with 3D Hover */
        .pricing-card {
            background: rgba(255, 255, 255, 0.5);
            backdrop-filter: blur(25px);
            border-radius: 18px;
            border: 1px solid rgba(0, 0, 0, 0.05);
            padding: 30px;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
            -webkit-box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
            position: relative;
            overflow: hidden;
            cursor: pointer;
            text-align: center;
            perspective: 1000px;
        }

        .pricing-card::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(45deg, #28a745, #ffc107, #dc3545, #28a745);
            background-size: 400% 400%;
            animation: gradientAnimation 8s ease infinite;
            z-index: -1;
            border-radius: 20px;
            opacity: 0;
        }

        .pricing-card:hover {
            transform: translateY(-8px) rotateX(5deg) rotateY(5deg);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            border-color: rgba(255, 255, 255, 0.25);
        }

        .pricing-card.popular {
            transform: scale(1.05);
            border: 2px solid #00796B;
        }

        .pricing-card.popular:hover {
            transform: scale(1.05) translateY(-8px) rotateX(5deg);
        }

        /* Badge System */
        .popular-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: linear-gradient(45deg, #00796B, #00BFA5);
            color: #333;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 700;
            animation: pulse 2s infinite;
        }

        .best-value-badge {
            position: absolute;
            top: 15px;
            left: 15px;
            background: linear-gradient(45deg, #D87D4A, #E89A6E);
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 700;
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        .pricing-icon {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, #1cc88a, #13855c); /* Default color */
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 28px;
            box-shadow: 0 4px 12px rgba(0, 121, 107, 0.2);
            transition: all 0.3s ease;
        }

        .pricing-card:hover .pricing-icon {
            transform: scale(1.08) rotate(5deg);
            box-shadow: 0 6px 18px rgba(0, 121, 107, 0.3);
        }

        .pricing-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: #323232;
            margin-bottom: 15px;
            background: linear-gradient(45deg, #212529, #495057);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .pricing-price {
            font-size: 2.5rem;
            font-weight: 800;
            color: #323232;
            background: linear-gradient(45deg, #00796B, #00BFA5);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .pricing-period {
            color: #5C5C5C;
            margin-bottom: 20px;
        }

        .pricing-features {
            list-style: none;
            margin: 25px 0;
            text-align: left;
        }

        .pricing-features li {
            color: #5C5C5C;
            margin-bottom: 12px;
            padding-left: 30px;
            position: relative;
            transition: all 0.3s ease;
        }

        .pricing-features li:hover {
            color: #D87D4A;
            transform: translateX(5px);
        }

        .pricing-features li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #00796B;
            font-weight: bold;
            font-size: 16px;
        }

        /* Buttons */
        .btn {
            padding: 14px 28px;
            border: none;
            border-radius: 50px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            position: relative;
            overflow: hidden;
            width: 100%;
            justify-content: center;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
            transition: left 0.5s ease;
        }

        .btn:hover::before {
            left: 100%;
        }

        .btn-primary {
            background: linear-gradient(45deg, #00796B, #004D40);
            color: #ffffff;
            box-shadow: 0 4px 12px rgba(0, 121, 107, 0.2);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 121, 107, 0.3);
        }

        .btn-secondary {
            background: linear-gradient(45deg, #D87D4A, #E89A6E);
            color: #ffffff;
            border: none;
            box-shadow: 0 4px 12px rgba(216, 125, 74, 0.2);
        }

        .btn-secondary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(216, 125, 74, 0.3);
        }

        /* Summary Section - Capsule Shape */
        .summary-section {
            background: rgba(255, 255, 255, 0.5);
            backdrop-filter: blur(25px);
            border-radius: 50px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 35px;
            margin: 50px auto 0;
            text-align: center;
            position: relative;
            overflow: hidden;
            max-width: 1100px;
        }

        .summary-section::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(45deg, #28a745, #ffc107, #dc3545, #28a745);
            background-size: 400% 400%;
            animation: gradientAnimation 8s ease infinite;
            z-index: -1;
            border-radius: 52px;
            opacity: 0;
        }

        .summary-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: #323232;
            margin-bottom: 18px;
        }

        .summary-text {
            color: #5C5C5C;
            line-height: 1.7;
            font-size: 1rem;
            max-width: 800px;
            margin: 0 auto 25px;
        }

        .cta-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: nowrap; /* Ensure buttons stay on one line */
        }

        /* FAQ Section */
        .faq-section {
            background: rgba(255, 255, 255, 0.5);
            backdrop-filter: blur(25px);
            border-radius: 25px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 35px;
            margin: 50px auto 0;
            max-width: 1100px;
        }

        .faq-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: #323232;
            margin-bottom: 25px;
            text-align: center;
        }

        .faq-item {
            margin-bottom: 15px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            overflow: hidden;
        }

        .faq-question {
            padding: 20px;
            background: rgba(0, 0, 0, 0.02);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s ease;
        }

        .faq-question:hover {
            background: rgba(0, 0, 0, 0.04);
        }

        .faq-question h3 {
            color: #323232;
            font-size: 1.1rem;
            font-weight: 600;
        }

        .faq-icon {
            transition: transform 0.3s ease;
        }

        .faq-answer {
            padding: 0 20px;
            max-height: 0;
            overflow: hidden;
            transition: all 0.3s ease;
            color: #5C5C5C;
        }

        .faq-item.active .faq-answer {
            padding: 20px;
            max-height: 500px;
        }

        .faq-item.active .faq-icon {
            transform: rotate(180deg);
        }

        /* Footer Payment Section */
        .footer-section {
            position: relative;
            width: calc(100% - 80px);
            max-width: 1100px;
            background: rgba(255, 255, 255, 0.5);
            backdrop-filter: blur(25px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 50px;
            padding: 15px 20px;
            margin: 30px auto 20px;
            overflow: hidden;
        }

        /* Backdrop filter fix */
        .navbar,
        .glass-card,
        .contact-form,
        .contact-info,
        .summary-section,
        .faq-section {
            -webkit-backdrop-filter: blur(20px);
        }

        .scrolling-payment-methods {
            display: flex;
            animation: scrollPayment 12s linear infinite;
            gap: 40px;
        }

        @keyframes scrollPayment {
            0% {
                transform: translateX(0);
                -webkit-transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
                -webkit-transform: translateX(-50%);
            }
        }

        .footer-section .payment-method {
            background: transparent;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            position: relative;
            overflow: hidden;
            cursor: pointer;
        }

        .footer-section .payment-logo {
            height: 24px;
            max-width: 80px;
            object-fit: contain;
        }
        .footer-section .payment-logo.fa-icon {
            font-size: 24px;
        }
        .footer-section .payment-name {
            font-weight: 600;
            color: #323232;
        }

        /* Shining Animation on Hover */

        .footer-section .payment-method:hover {
            opacity: 0.7;
            transition: opacity 0.3s ease;
        }

        .footer-section .payment-note {
            color: #5C5C5C;
            font-size: 12px;
            margin-top: 10px;
            text-align: center;
        }

        /* Payment Security Badges */
        .security-badges {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 20px;
            flex-wrap: wrap;
        }

        .security-badge {
            background: rgba(0, 0, 0, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50px;
            padding: 10px 15px;
            display: flex;
            align-items: center;
            gap: 8px;
            color: #5C5C5C;
            font-size: 12px;
            font-weight: 600;
        }

        /* Message Box */
        .message {
            position: fixed;
            top: 90px;
            right: 20px;
            padding: 12px 18px;
            border-radius: 10px;
            font-weight: 500;
            z-index: 1001;
            backdrop-filter: blur(20px);
            animation: slideIn 0.3s ease;
            display: none;
            border: 1px solid rgba(255, 255, 255, 0.15);
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(100px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .message.success {
            background: rgba(46, 125, 50, 0.85);
            color: white;
        }

        .message.info {
            background: rgba(33, 150, 243, 0.85);
            color: white;
        }

        /* Scroll Animation for Mobile */
        @media (max-width: 768px) {
            .pricing-card {
                transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            }
            
            .card-visible {
                opacity: 1;
                transform: translateY(0);
            }

            .currency-converter {
                position: relative;
                top: 0;
                right: 0;
                margin: 20px auto;
                max-width: 300px;
            }
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .navbar {
                padding: 8px 20px;
                flex-wrap: wrap;
                gap: 8px;
            }
            
            .nav-left {
                order: 1;
                flex: 1;
            }
            
            .nav-controls {
                order: 2;
                gap: 6px;
            }
            
            .nav-center {
                order: 3;
                flex: 1 1 100%;
                justify-content: center;
                margin-top: 8px;
            }
            
            .nav-links {
                gap: 12px;
            }
            
            .nav-links a {
                font-size: 13px;
                padding: 6px 12px;
            }
            
            .capsule-toggle {
                width: 65px;
                height: 28px;
            }
            
            .nav-brand {
                font-size: 1.3rem;
            }
            
            .logo-circle {
                width: 32px;
                height: 32px;
            }
            
            .logo-circle i {
                font-size: 14px;
            }
            
            .page-title {
                font-size: 2.2rem;
            }
            
            .pricing-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .main-content {
                padding: 120px 15px 100px;
            }
            
            .cta-buttons {
                flex-direction: row; /* Keep buttons in a row on mobile */
                align-items: center;
            }
            
            .btn {
                justify-content: center;
            }

            .security-badges {
                flex-wrap: wrap;
                gap: 6px;
            }

            .security-badge {
                padding: 4px 8px;
                font-size: 9px;
                gap: 4px;
                white-space: nowrap;
            }
            
            .pricing-card.popular {
                transform: none;
            }
            
            .pricing-card.popular:hover {
                transform: translateY(-8px);
            }

            /* Footer Responsive */
            .footer-section {
                width: calc(100% - 60px);
                padding: 12px 15px;
                border-radius: 40px;
                margin: 40px auto 25px;
            }
            
            .footer-section .payment-method {
                min-width: 100px;
                padding: 8px 12px;
                gap: 6px;
            }
            
            .footer-section .payment-icon {
                font-size: 16px;
                width: 20px;
            }
            
            .footer-section .payment-name {
                font-size: 11px;
            }
            
            .footer-section .payment-note {
                font-size: 11px;
            }
            
            .scrolling-payment-methods {
                gap: 15px;
                animation: scrollPayment 16s linear infinite;
            }

            /* Summary Section Responsive */
            .summary-section {
                border-radius: 40px;
                padding: 25px;
                margin: 40px auto 0;
            }

            .back-to-top {
                bottom: 20px;
                right: 20px;
                width: 42px;
                height: 42px;
                font-size: 18px;
            }
        }

        @media (max-width: 480px) {
            .navbar {
                padding: 6px 15px;
            }
            
            .nav-links {
                gap: 8px;
            }
            
            .nav-links a {
                font-size: 12px;
                padding: 5px 10px;
            }
            
            .capsule-toggle {
                width: 60px;
                height: 26px;
            }
            
            .toggle-icon {
                font-size: 10px;
            }
            
            .nav-brand {
                font-size: 1.1rem;
            }

            /* Footer Responsive */
            .footer-section {
                width: calc(100% - 40px);
                padding: 10px 12px;
                border-radius: 35px;
                margin: 30px auto 20px;
            }
            
            .footer-section .payment-method {
                min-width: 90px;
                padding: 6px 10px;
                gap: 5px;
                flex-direction: column;
            }
            
            .footer-section .payment-icon {
                font-size: 14px;
                width: 18px;
            }
            
            .footer-section .payment-name {
                font-size: 10px;
            }
            
            .footer-section .payment-note {
                font-size: 10px;
                margin-top: 8px;
            }
            
            .scrolling-payment-methods {
                gap: 12px;
                animation: scrollPayment 14s linear infinite;
            }

            /* Summary Section Responsive */
            .summary-section {
                border-radius: 35px;
                padding: 20px;
                margin: 30px auto 0;
            }
        }

        /* Dark Mode Styles */
        body.dark-mode {
            background: #000000;
        }

        body.dark-mode .navbar {
            background: linear-gradient(90deg, rgba(0, 121, 107, 0.25), rgba(0, 77, 64, 0.3)); /* Dark Teal Gradient */
            border-bottom: 1px solid rgba(0, 121, 107, 0.2);
            box-shadow: 0 2px 15px rgba(0, 77, 64, 0.15);
        }

        body.dark-mode .nav-brand {
            background: linear-gradient(45deg, #D87D4A, #E89A6E);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        body.dark-mode .nav-links a {
            color: rgba(255, 255, 255, 0.8);
        }

        body.dark-mode .nav-links a:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        body.dark-mode .nav-links a.active {
            color: #00BFFF;
            background: rgba(0, 191, 255, 0.1);
        }

        body.dark-mode .capsule-toggle {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.15);
        }

        body.dark-mode .toggle-thumb {
            color: rgba(255, 255, 255, 0.7);
        }

        body.dark-mode .toggle-thumb.active {
            background: linear-gradient(135deg, #00BFFF, #1E90FF); /* Blue gradient for active dark mode toggle */
            color: #ffffff; /* White text for active dark mode toggle */
        }

        body.dark-mode .page-title {
            background: linear-gradient(45deg, #00796B, #00BFA5);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 2px 8px rgba(0, 121, 107, 0.2);
        }

        body.dark-mode .page-subtitle {
            color: rgba(255, 255, 255, 0.7);
        }

        body.dark-mode .pricing-card {
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(255, 255, 255, 0.1);
        }

        body.dark-mode .pricing-card::before {
            background: linear-gradient(45deg, #222, #444, #222, #444);
            opacity: 0.2;
        }

        body.dark-mode .pricing-card.popular {
            border-color: #00BFFF;
        }

        body.dark-mode .pricing-icon {
            background: linear-gradient(135deg, #444, #666); /* Fallback, will be overridden */
        }

        body.dark-mode .pricing-title {
            background: linear-gradient(45deg, #ffffff, #e0e0e0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        body.dark-mode .pricing-price {
            background: linear-gradient(45deg, #00BFFF, #1E90FF);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        body.dark-mode .pricing-period {
            color: rgba(255, 255, 255, 0.7);
        }

        body.dark-mode .pricing-features li {
            color: rgba(255, 255, 255, 0.7);
        }

        body.dark-mode .pricing-features li:before {
            color: #00796B;
        }

        body.dark-mode .pricing-features li:hover {
            color: #FF00FF;
        }

        /* Dark Mode Footer */
        body.dark-mode .footer-section {
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(255, 255, 255, 0.1);
        }

        body.dark-mode .footer-section .payment-logo {
            filter: brightness(0.9);
        }

        body.dark-mode .footer-section .payment-name {
            color: rgba(255, 255, 255, 0.9);
        }

        body.dark-mode .summary-section {
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(255, 255, 255, 0.1);
        }

        body.dark-mode .summary-section::before {
            background: linear-gradient(45deg, #222, #444, #222, #444);
            opacity: 0.2;
        }

        body.dark-mode .btn-secondary {
            background: linear-gradient(45deg, #D87D4A, #E89A6E);
            color: #ffffff;
            border: none;
            box-shadow: 0 4px 12px rgba(216, 125, 74, 0.2);
        }

        body.dark-mode .btn-secondary:hover {
            box-shadow: 0 6px 20px rgba(216, 125, 74, 0.3);
        }

        body.dark-mode .summary-title {
            color: #ffffff;
        }

        body.dark-mode .summary-text {
            color: #ffffff;
        }

        body.dark-mode .security-badge {
            color: #ffffff;
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.2);
        }

        body.dark-mode .faq-section {
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(255, 255, 255, 0.1);
        }

        body.dark-mode .faq-title {
            color: #ffffff;
        }

        body.dark-mode .faq-question h3 {
            color: #ffffff;
        }

        body.dark-mode .faq-answer {
            color: rgba(255, 255, 255, 0.8);
        }

        /* Animation fixes */
        * {
            -webkit-transform: translateZ(0);
            -webkit-perspective: 1000;
        }

        /* Safari Mobile Bottom Bar Fix */
        @supports (padding: max(0px)) {
            
            
            .main-content {
                padding-bottom: max(110px, env(safe-area-inset-bottom));
            }
        }

        /* Colorful Pricing Icons */
        .pricing-grid .pricing-card:nth-of-type(1) .pricing-icon { background: linear-gradient(135deg, #1cc88a, #13855c); } /* Basic */
        .pricing-grid .pricing-card:nth-of-type(2) .pricing-icon { background: linear-gradient(135deg, #4e73df, #224abe); } /* Standard */
        .pricing-grid .pricing-card:nth-of-type(3) .pricing-icon { background: linear-gradient(135deg, #f6c23e, #dda20a); } /* Premium */

        /* Dark Mode Colorful Pricing Icons */
        body.dark-mode .pricing-grid .pricing-card:nth-of-type(1) .pricing-icon { background: linear-gradient(135deg, #1cc88a, #13855c); }
        body.dark-mode .pricing-grid .pricing-card:nth-of-type(2) .pricing-icon { background: linear-gradient(135deg, #4e73df, #224abe); }
        body.dark-mode .pricing-grid .pricing-card:nth-of-type(3) .pricing-icon { background: linear-gradient(135deg, #f6c23e, #dda20a); }

        .pricing-icon i {
            color: #ffffff;
        }
