/* Global Styles */
:root {
    --primary-color: #3b82f6;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --primary-rgb: 59, 130, 246;
    --secondary-color: #7c3aed;
    --secondary-dark: #5b21b6;
    --light-bg: #f8fafc;
    --dark-text: #1e293b;
    --light-text: #64748b;
    --border-color: #e2e8f0;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    --card-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.1);
    --gradient-start: #3b82f6;
    --gradient-end: #7c3aed;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
    position: relative;
}

/* Floating Shapes Background */
.shapes-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.05;
    border-radius: 50%;
    filter: blur(60px);
}

.shape1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -200px;
    right: -200px;
}

.shape2 {
    width: 500px;
    height: 500px;
    background: var(--secondary-color);
    bottom: -200px;
    left: -200px;
}

.shape3 {
    width: 300px;
    height: 300px;
    background: var(--success-color);
    top: 40%;
    right: 10%;
}

.shape4 {
    width: 250px;
    height: 250px;
    background: var(--warning-color);
    bottom: 20%;
    right: 20%;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-5px);
}

section {
    padding: 100px 0;
    opacity: 0; /* Initially hidden for animation */
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    position: relative;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Animated Text */
.animated-text {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar Styles */
.navbar {
    padding: 1rem 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 0.8rem 2rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.navbar-nav {
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    color: var(--dark-text);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.1);
}

.navbar .btn-primary {
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    transition: all 0.3s ease;
}

.navbar .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* Modern Dropdown (Megamenu) */
.dropdown-menu.megamenu {
    width: 600px;
    max-width: 95vw;
    padding: 1.5rem;
    border: none;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.2);
    margin-top: 1rem !important;
    animation: dropdownFade 0.3s ease;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.megamenu-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    transition: background-color 0.2s ease;
    border-radius: 8px;
    cursor: pointer;
}

.megamenu-item:hover {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.megamenu-icon {
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(124, 58, 237, 0.1));
    border-radius: 12px;
    margin-right: 1rem;
    font-size: 1.25rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.megamenu-item:hover .megamenu-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: rotate(5deg);
}

.megamenu-content {
    flex: 1;
}

.megamenu-content h6 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark-text);
    transition: color 0.3s ease;
}

.megamenu-content p {
    font-size: 0.875rem;
    color: var(--light-text);
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.megamenu-item:hover .megamenu-content h6 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar {
        padding: 1rem;
    }
    
    .navbar-scrolled {
        padding: 0.8rem 1rem;
    }

    .dropdown-menu.megamenu {
        width: 100%;
        margin: 0;
        border-radius: 12px;
        box-shadow: none;
        background: transparent;
    }

    .megamenu-item {
        margin-bottom: 0.5rem;
    }

    .hero-metrics {
        background-color: rgba(255, 255, 255, 0.7);
        padding: 1.5rem;
        border-radius: 15px;
        backdrop-filter: blur(5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    }

    .metric-item {
        text-align: center;
    }

    .metric-item h3 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 0.3rem;
        color: var(--primary-color);
    }

    .metric-item p {
        font-size: 0.9rem;
        margin-bottom: 0;
        color: var(--light-text);
    }

    /* Trusted By Section */
    .trusted-by-section {
        padding: 40px 0;
        background-color: white;
        border-bottom: 1px solid var(--border-color);
    }

    .client-logo {
        opacity: 0.7;
        transition: opacity 0.3s ease, transform 0.3s ease;
        max-height: 40px;
        object-fit: contain;
    }

    .client-logo:hover {
        opacity: 1;
        transform: scale(1.05);
    }

    /* Features Section */
    .features-section {
        background-color: white;
    }

    .feature-card {
        padding: 2.5rem;
        border-radius: 15px;
        background: white;
        box-shadow: var(--card-shadow);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        height: 100%;
        text-align: center;
    }

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--card-shadow-hover);
    }

    .feature-icon {
        font-size: 3rem;
        color: var(--primary-color);
        margin-bottom: 1.5rem;
        display: inline-block; /* Allows transform */
        transition: transform 0.3s ease;
    }

    .feature-card:hover .feature-icon {
        transform: scale(1.1);
    }

    /* Demo Section */
    .demo-section {
        background-color: var(--light-bg);
    }

    .demo-card {
        background-color: white;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: var(--card-shadow);
    }

    .demo-header {
        background-color: #f1f5f9;
        padding: 0.75rem 1rem;
        display: flex;
        align-items: center;
        border-bottom: 1px solid var(--border-color);
    }

    .demo-header-dots {
        display: flex;
        align-items: center;
        margin-right: 1rem;
    }

    .demo-header-dots span {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        margin-right: 6px;
    }

    .demo-header-dots span:nth-child(1) {
        background-color: #ef4444;
    }

    .demo-header-dots span:nth-child(2) {
        background-color: #f59e0b;
    }

    .demo-header-dots span:nth-child(3) {
        background-color: #10b981;
    }

    .demo-title {
        font-size: 0.9rem;
        color: var(--light-text);
    }

    .demo-content {
        padding: 1.5rem;
    }

    .demo-captcha-container {
        position: relative;
        border-radius: 10px;
        overflow: hidden;
    }

    .demo-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .demo-captcha-container:hover .demo-overlay {
        opacity: 1;
    }

    .demo-stat-item {
        background-color: white;
        padding: 1rem;
        border-radius: 10px;
        margin-bottom: 1rem;
    }

    .hero-metrics {
        background-color: rgba(255, 255, 255, 0.7);
        padding: 1.5rem;
        border-radius: 15px;
        backdrop-filter: blur(5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    }

    .metric-item {
        text-align: center;
    }

    .metric-item h3 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 0.3rem;
        color: var(--primary-color);
    }

    .metric-item p {
        font-size: 0.9rem;
        margin-bottom: 0;
        color: var(--light-text);
    }

    /* Trusted By Section */
    .trusted-by-section {
        padding: 40px 0;
        background-color: white;
        border-bottom: 1px solid var(--border-color);
    }

    .client-logo {
        opacity: 0.7;
        transition: opacity 0.3s ease, transform 0.3s ease;
        max-height: 40px;
        object-fit: contain;
    }

    .client-logo:hover {
        opacity: 1;
        transform: scale(1.05);
    }

    /* Features Section */
    .features-section {
        background-color: white;
    }

    .feature-card {
        padding: 2.5rem;
        border-radius: 15px;
        background: white;
        box-shadow: var(--card-shadow);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        height: 100%;
        text-align: center;
    }

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--card-shadow-hover);
    }

    .feature-icon {
        font-size: 3rem;
        color: var(--primary-color);
        margin-bottom: 1.5rem;
        display: inline-block; /* Allows transform */
        transition: transform 0.3s ease;
    }

    .feature-card:hover .feature-icon {
        transform: scale(1.1);
    }

    /* Demo Section */
    .demo-section {
        background-color: var(--light-bg);
    }

    .demo-card {
        background-color: white;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: var(--card-shadow);
    }

    .demo-header {
        background-color: #f1f5f9;
        padding: 0.75rem 1rem;
        display: flex;
        align-items: center;
        border-bottom: 1px solid var(--border-color);
    }

    .demo-header-dots {
        display: flex;
        align-items: center;
        margin-right: 1rem;
    }

    .demo-header-dots span {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        margin-right: 6px;
    }

    .demo-header-dots span:nth-child(1) {
        background-color: #ef4444;
    }

    .demo-header-dots span:nth-child(2) {
        background-color: #f59e0b;
    }

    .demo-header-dots span:nth-child(3) {
        background-color: #10b981;
    }

    .demo-title {
        font-size: 0.9rem;
        color: var(--light-text);
    }

    .demo-content {
        padding: 1.5rem;
    }

    .demo-captcha-container {
        position: relative;
        border-radius: 10px;
        overflow: hidden;
    }

    .demo-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .demo-captcha-container:hover .demo-overlay {
        opacity: 1;
    }

    .demo-stat-item {
        background-color: white;
        padding: 1rem;
        border-radius: 10px;
        margin-bottom: 1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }

    .demo-stat-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background-color: rgba(59, 130, 246, 0.1);
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--primary-color);
        font-size: 1.2rem;
        margin-right: 1rem;
    }

    /* How to Solve Section */
    .how-to-solve-section {
        background-color: var(--light-bg);
    }

    .code-block-container {
        background-color: #1e293b; /* Dark background for code */
        color: #e2e8f0; /* Light text for code */
        overflow: hidden;
        position: relative;
        border-radius: 10px;
    }

    .code-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
        background-color: #0f172a;
        border-bottom: 1px solid #334155;
    }

    .code-language {
        font-size: 0.9rem;
        color: #94a3b8;
    }

    .btn-copy {
        background: none;
        border: none;
        color: #94a3b8;
        cursor: pointer;
        transition: color 0.3s ease;
    }

    .btn-copy:hover {
        color: white;
    }

    .code-block-container pre {
        margin: 0;
        padding: 1.5rem; /* Add padding inside pre */
        background-color: transparent !important; /* Override any prism/etc background */
        font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
        font-size: 0.9em;
        line-height: 1.5;
        overflow-x: auto; /* Enable horizontal scroll if needed */
        white-space: pre;
    }

    .code-block-container code {
        color: #e2e8f0;
        background: none !important; /* Ensure no background from prism/etc */
        text-shadow: none;
    }

    /* About Section */
    .about-section {
        background: linear-gradient(135deg, var(--light-bg) 0%, #f0f9ff 100%);
    }

    .about-section .img-fluid {
        box-shadow: var(--card-shadow);
        transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        border-radius: 10px;
    }

    .about-section .img-fluid:hover {
        transform: scale(1.03);
        box-shadow: var(--card-shadow-hover);
    }

    .feature-list {
        list-style: none;
        padding: 0;
        margin-top: 1.5rem;
    }

    .feature-list li {
        margin-bottom: 1.2rem;
        display: flex;
        align-items: center;
        font-size: 1.05rem;
    }

    .feature-list i {
        margin-right: 1rem;
        font-size: 1.3rem;
        color: var(--primary-color);
        width: 20px; /* Align icons */
        text-align: center;
    }

    /* Testimonials Section */
    .testimonials-section {
        background-color: white;
    }

    .testimonial-card {
        background-color: white;
        border-radius: 15px;
        padding: 2rem;
        box-shadow: var(--card-shadow);
        height: 100%;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .testimonial-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--card-shadow-hover);
    }

    .testimonial-card.featured {
        background: linear-gradient(135deg, #f0f9ff 0%, #dbeafe 100%);
        border: 2px solid var(--primary-light);
    }

    .testimonial-stars {
        color: #f59e0b;
    }

    .testimonial-content {
        margin-bottom: 1.5rem;
    }

    .testimonial-content p {
        font-style: italic;
        color: var(--dark-text);
    }

    .testimonial-author {
        display: flex;
        align-items: center;
    }

    .testimonial-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        margin-right: 1rem;
    }

    /* Pricing Section */
    .pricing-section {
        background-color: white;
    }

    .pricing-table {
        border: 1px solid var(--border-color);
        border-radius: 0.5rem; /* Match the wrapper */
        vertical-align: middle;
    }

    .pricing-table thead th {
        padding: 1rem 1.25rem;
        background-color: #f8fafc; /* Slightly different from default table-light */
        color: var(--dark-text);
        font-weight: 600;
        border-bottom: 2px solid var(--border-color);
        white-space: nowrap;
    }

    .pricing-table tbody td {
        padding: 1.25rem;
    }

    .pricing-table tbody tr:last-child td {
        border-bottom: none; /* Remove bottom border on last row */
    }

    /* FAQ Section */
    .faq-section {
        padding: 100px 0;
        background-color: var(--bg-light);
        position: relative;
        overflow: hidden;
    }

    .accordion-item {
        border: 1px solid var(--border-color);
        border-radius: 10px !important;
        overflow: hidden;
        margin-bottom: 1rem;
    }

    .accordion-button {
        font-weight: 600;
        padding: 1.25rem;
        background-color: white;
    }

    .accordion-button:not(.collapsed) {
        color: var(--primary-color);
        background-color: rgba(59, 130, 246, 0.05);
    }

    .accordion-button:focus {
        box-shadow: none;
        border-color: var(--primary-light);
    }

    .accordion-button::after {
        background-size: 1.2rem;
        transition: transform 0.3s ease;
    }

    .accordion-body {
        padding: 1.25rem;
        color: var(--light-text);
    }

    /* Contact Section */
    .contact-section {
        background-color: var(--light-bg);
    }

    .contact-form {
        background: white;
        padding: 3rem;
        border-radius: 20px;
        box-shadow: var(--card-shadow);
    }

    .form-control, .form-select {
        padding: 0.85rem 1.25rem;
        border-radius: 10px;
        border: 1px solid var(--border-color);
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .form-control:focus, .form-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    }

    /* Newsletter Section */
    .newsletter-section {
        padding: 60px 0;
        background-color: white;
    }

    .newsletter-container {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        padding: 3rem;
        border-radius: 20px;
        color: white;
        box-shadow: 0 15px 30px rgba(59, 130, 246, 0.2);
    }

    .newsletter-container h3 {
        font-weight: 600;
    }

    .newsletter-form .form-control {
        border: none;
        background-color: rgba(255, 255, 255, 0.2);
        color: white;
        border-radius: 10px;
    }

    .newsletter-form .form-control::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }

    .newsletter-form .form-control:focus {
        background-color: rgba(255, 255, 255, 0.3);
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
    }

    .newsletter-form .btn {
        background-color: white;
        color: var(--primary-color);
        border: none;
        font-weight: 600;
        border-radius: 10px;
    }

    .newsletter-form .btn:hover {
        background-color: rgba(255, 255, 255, 0.9);
        transform: translateY(-2px);
    }

    /* Footer */
    .footer {
        padding: 100px 0 40px;
        background: linear-gradient(to bottom, #0a0e1a, #101624);
        color: #cbd5e1;
        position: relative;
        overflow: hidden;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    }

    /* Footer subtle pattern overlay */
    .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        opacity: 0.2;
    }

    .footer p {
        color: #cbd5e1;
        opacity: 0.9;
    }

    /* Add a subtle gradient top border */
    .footer::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    }
    
    .footer h4,
    .footer h5 {
        color: white;
        margin-bottom: 1.5rem;
        font-weight: 600;
        position: relative;
        display: inline-block;
    }
    
    .footer h4::after,
    .footer h5::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -8px;
        width: 40px;
        height: 3px;
        background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
        border-radius: 3px;
    }
    
    .footer-links {
        list-style: none;
        padding: 0;
    }

    .footer-links a {
        color: #cbd5e1;
        text-decoration: none;
        padding: 6px 0;
        display: block;
        transition: all 0.3s ease;
        position: relative;
        font-weight: 400;
        opacity: 0.8;
    }

    .footer-links a::before {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 1px;
        background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
        transition: width 0.3s ease;
    }

    .footer-links a:hover {
        color: white;
        padding-left: 8px;
        opacity: 1;
    }
    
    .footer-links a:hover::before {
        width: 20px;
    }
    
    .footer .btn-outline-light {
        border-color: rgba(255, 255, 255, 0.15);
        color: rgba(255, 255, 255, 0.9);
        background-color: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        transition: all 0.3s ease;
    }
    
    .footer .btn-outline-light:hover {
        background-color: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.3);
        transform: translateY(-3px);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    }
    
    .social-links {
        display: flex;
        justify-content: flex-end;
        gap: 15px;
    }

    @media (max-width: 991.98px) {
        .footer {
            padding: 80px 0 40px;
        }
        
        .footer .text-md-end {
            text-align: center !important;
            margin-top: 2rem;
        }
        
        .social-links {
            justify-content: center;
        }
    }

    @media (max-width: 767.98px) {
        .footer {
            text-align: center;
            padding: 60px 0 30px;
        }
        
        .footer h4::after,
        .footer h5::after {
            left: 50%;
            transform: translateX(-50%);
        }
        
        .footer-links a::before {
            left: 50%;
            transform: translateX(-50%);
        }
        
        .footer-links a:hover {
            padding-left: 0;
        }
        
        .footer .col-lg-2, 
        .footer .col-lg-4 {
            margin-bottom: 2rem;
        }
    }

    /* Section Titles */
    .section-title {
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .section-subtitle {
        color: var(--light-text);
        font-size: 1.1rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Buttons */
    .btn {
        padding: 0.85rem 1.75rem;
        border-radius: 10px;
        font-weight: 500;
        transition: all 0.3s ease;
        box-shadow: 0 4px 10px rgba(0,0,0, 0.05);
    }

    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .btn-primary {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
    }

    .btn-primary:hover {
        background-color: var(--primary-dark);
        border-color: var(--primary-dark);
        transform: translateY(-3px);
        box-shadow: 0 7px 15px rgba(59, 130, 246, 0.2);
    }

    .btn-outline-primary {
        color: var(--primary-color);
        border-color: var(--primary-color);
    }

    .btn-outline-primary:hover {
        background-color: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
        transform: translateY(-3px);
        box-shadow: 0 7px 15px rgba(59, 130, 246, 0.15);
    }

    /* Responsive Adjustments */
    @media (max-width: 991.98px) {
        section {
            padding: 80px 0;
        }
        .hero-section {
            padding: 140px 0 80px;
            text-align: center;
        }

        .hero-image-container {
            margin-top: 3rem;
        }

        .floating-badge {
            right: 50%;
            transform: translateX(50%);
        }

        .newsletter-container {
            padding: 2rem;
        }

        .footer .text-md-end {
            text-align: center !important;
            margin-top: 1.5rem;
        }
        .social-links a {
            margin: 0 0.75rem;
        }
    }

    @media (max-width: 767.98px) {
        section {
            padding: 60px 0;
        }
        .hero-section {
            padding: 120px 0 60px;
        }
        .display-4 {
            font-size: 2.5rem;
        }
        .feature-card, .testimonial-card {
            margin-bottom: 2rem;
        }

        .trusted-by-section .col-6 {
            text-align: center;
        }

        .demo-card {
            margin-top: 2rem;
        }

        .newsletter-form {
            flex-direction: column;
        }
        
        .newsletter-form .form-control {
            margin-bottom: 1rem;
            margin-right: 0 !important;
        }

        .contact-form {
            padding: 2rem;
        }

        .footer {
            text-align: center;
        }
        .footer .col-lg-2, .footer .col-lg-4 {
            margin-bottom: 2rem;
        }
        .footer .input-group {
            justify-content: center;
        }
        .social-links {
            margin-top: 1rem;
        }
    }

    /* Modern Dropdown (Megamenu) */
    .dropdown-menu.megamenu {
        width: 500px; /* Adjust width as needed */
        max-width: 90vw;
        padding: 1.5rem;
        border: none;
        border-radius: 15px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        margin-top: 0.5rem !important; /* Add some space from navbar */
        left: 50%;
        transform: translateX(-50%);
        background-color: white;
    }

    /* Position adjustment for large screens */
    @media (min-width: 992px) {
        .navbar-expand-lg .navbar-nav .dropdown-menu.megamenu {
            /* Adjust positioning relative to the toggle if needed */
            /* Example: Position it based on the parent nav-item */
            /* If dropdown toggle is not the last item */
            /* left: 50%; */
            /* transform: translateX(-50%); */

            /* If you want it aligned to the right of the navbar, this might work better */
             left: auto;
             right: 50%;
             transform: translateX(50%);
             /* If dropdown is the last item, might need adjustment */
        }

        /* Specific adjustment if the dropdown is near the right edge */
        .navbar-expand-lg .navbar-nav .nav-item:nth-last-child(-n+2) .dropdown-menu.megamenu {
           right: 0;
           left: auto;
           transform: none;
        }
    }

    .megamenu-item {
        display: flex;
        align-items: flex-start;
        padding: 1rem;
        border-radius: 10px;
        text-decoration: none;
        color: var(--dark-text);
        transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .megamenu-item:hover {
        background-color: #f8fafc;
        color: var(--primary-color);
        transform: translateY(-3px);
    }

    .megamenu-icon {
        font-size: 1.5rem;
        color: var(--primary-color);
        margin-right: 1rem;
        width: 40px; /* Fixed width for alignment */
        height: 40px; /* Fixed height for alignment */
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgba(59, 130, 246, 0.1);
        border-radius: 10px;
        flex-shrink: 0; /* Prevent icon from shrinking */
    }

    .megamenu-content h6 {
        margin-bottom: 0.25rem;
        font-weight: 600;
    }

    .megamenu-content p {
        margin-bottom: 0;
        font-size: 0.85rem;
        color: var(--light-text);
    }

    .megamenu-item:hover .megamenu-content p {
        color: var(--dark-text);
    }
}

/* Modern Pricing Section Styles */
.pricing-section {
    background-color: #ffffff;
    padding: 100px 0;
}

.service-banner {
    background: linear-gradient(to right, rgba(var(--primary-rgb), 0.03), rgba(var(--primary-rgb), 0.08));
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: white;
    border-radius: 100px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.feature-pill i {
    font-size: 14px;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.1);
}

.popular-badge {
        position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-header {
    text-align: center;
}

.plan-name {
    color: var(--dark-text);
    font-weight: 600;
    letter-spacing: 1px;
}

.price-container {
    margin: 20px 0;
}

.price {
    font-weight: 700;
    color: var(--dark-text);
}

.period {
    color: var(--light-text);
    font-size: 1rem;
}

.pricing-features {
    padding: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--dark-text);
    font-size: 0.95rem;
}

.feature-item i {
    font-size: 14px;
    width: 20px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-banner .d-flex {
        flex-direction: column;
        gap: 12px;
    }
    
    .feature-pill {
        width: 100%;
        justify-content: center;
    }
}

/* Modern Features Section Styles */
.features-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.feature-tabs {
    border-radius: 100px;
    position: relative;
    z-index: 2;
}

.feature-tabs .nav-pills {
    display: inline-flex;
    background-color: rgba(var(--primary-rgb), 0.05);
    border-radius: 100px;
    padding: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.feature-tabs .nav-link {
    border-radius: 100px;
    padding: 12px 20px;
    font-weight: 500;
    color: var(--dark-text);
    transition: all 0.3s ease;
}

.feature-tabs .nav-link:hover {
    color: var(--primary-color);
}

.feature-tabs .nav-link.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

/* Feature Cards */
.feature-card {
    background-color: white;
    border-radius: 20px;
    padding: 2rem;
        height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.07);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.1);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.feature-card.highlight {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.03) 0%, rgba(var(--primary-rgb), 0.07) 100%);
    border: 2px solid rgba(var(--primary-rgb), 0.2);
}

.feature-tag {
        position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0.2) 100%);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: rotate(5deg) scale(1.1);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
        color: white;
    transform: rotate(0);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.feature-card p {
    color: var(--light-text);
    margin-bottom: 1.25rem;
}

.feature-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-details li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--dark-text);
}

.feature-details li i {
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

/* CAPTCHA Cards */
.captcha-grid {
    padding: 1rem 0;
}

.captcha-card {
    background-color: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.07);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.captcha-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(var(--primary-rgb), 0.1);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.captcha-card.new-feature {
    border: 2px solid var(--primary-color);
}

.new-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: white;
    font-size: 12px;
        font-weight: 600;
    padding: 5px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.captcha-logo {
    height: 50px;
    margin-bottom: 1rem;
    object-fit: contain;
}

.captcha-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.captcha-versions {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.captcha-version {
    font-size: 12px;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: 100px;
    font-weight: 500;
}

.captcha-metrics {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
    padding-top: 1rem;
}

.captcha-metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-text);
}

.metric-label {
    font-size: 12px;
    color: var(--light-text);
}

/* Technology Cards */
.tech-card {
    display: flex;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.07);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(var(--primary-rgb), 0.1);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.tech-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    font-size: 2rem;
}

.tech-content {
    flex: 1;
    padding: 1.5rem;
}

.tech-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.tech-content p {
    color: var(--light-text);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.tech-progress {
    margin-top: 1rem;
}

.tech-progress .progress {
    height: 6px;
    border-radius: 100px;
    background-color: rgba(var(--primary-rgb), 0.1);
    margin-bottom: 0.5rem;
}

.tech-progress .progress-bar {
    background: linear-gradient(to right, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 100px;
}

.tech-progress span {
    font-size: 0.8rem;
    color: var(--light-text);
}

.tech-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.tech-stat {
    display: flex;
    flex-direction: column;
}

.tech-stat .stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.tech-stat .stat-label {
    font-size: 0.8rem;
    color: var(--light-text);
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-badge {
        display: inline-block;
    padding: 5px 12px;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Stats Counter */
.stats-counter {
    margin-top: 4rem;
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
}

.counter-item {
    text-align: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.counter-item:hover {
    transform: translateY(-5px);
}

.counter-icon {
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0.2) 100%);
}

.counter-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.counter-item h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.counter-item p {
    color: var(--light-text);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Responsive Fixes */
@media (max-width: 991.98px) {
    .feature-tabs .nav-pills {
        width: 100%;
        justify-content: center;
    }
    
    .feature-tabs .nav-link {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
    
    .tech-card {
        flex-direction: column;
    }
    
    .tech-icon {
        width: 100%;
        height: 80px;
    }
}

@media (max-width: 767.98px) {
    .feature-tabs .nav-pills {
        flex-direction: column;
        background: none;
        box-shadow: none;
        padding: 0;
        gap: 10px;
    }
    
    .feature-tabs .nav-link {
        width: 100%;
    }
    
    .captcha-metrics {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .stats-counter .counter-item {
        margin-bottom: 2rem;
    }
}

/* Modern How to Solve Section Styles */
.how-to-solve-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Integration Steps */
.integration-steps-container {
    position: relative;
    padding-left: 2rem;
}

.integration-steps-container:before {
        content: '';
        position: absolute;
    left: 1.4rem;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(to bottom, rgba(var(--primary-rgb), 0.3) 0%, rgba(var(--primary-rgb), 0.05) 100%);
    transform: translateX(-50%);
    border-radius: 100px;
}

.integration-step {
    margin-bottom: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.integration-step.active {
    opacity: 1;
}

.integration-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: -2rem;
    top: 0;
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.2);
    z-index: 2;
}

.integration-step:not(.active) .step-number {
    background: #f1f5f9;
    color: var(--dark-text);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-content {
    background-color: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.07);
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.integration-step.active .step-content {
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.1);
    border-color: rgba(var(--primary-rgb), 0.2);
    transform: translateY(-5px);
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-text);
}

.step-content p {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.code-snippet {
    background-color: #f8fafc;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.code-snippet code {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    color: var(--dark-text);
    font-size: 0.9rem;
}

.btn-copy-snippet {
    background: none;
    border: none;
    color: var(--light-text);
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0.25rem;
}

.btn-copy-snippet:hover {
    color: var(--primary-color);
}

.package-managers {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.package-manager {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #f8fafc;
    padding: 0.75rem 1rem;
    border-radius: 10px;
}

.package-manager i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.package-manager code {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    color: var(--dark-text);
    font-size: 0.9rem;
}

.success-indicator {
    margin-top: 1rem;
}

.success-indicator .progress {
    height: 6px;
    border-radius: 100px;
    margin-bottom: 0.5rem;
    background-color: rgba(16, 185, 129, 0.1);
}

.success-indicator .progress-bar {
    border-radius: 100px;
}

/* Code Browser */
.code-browser {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.browser-header {
    background-color: #f1f5f9;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
}

.browser-actions {
    display: flex;
    gap: 8px;
    margin-right: 1rem;
}

.browser-action {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #e2e8f0;
}

.browser-action:nth-child(1) {
    background-color: #ef4444;
}

.browser-action:nth-child(2) {
    background-color: #f59e0b;
}

.browser-action:nth-child(3) {
    background-color: #10b981;
}

.browser-tabs {
    display: flex;
    gap: 5px;
    flex: 1;
}

.browser-tab {
    background-color: transparent;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px 8px 0 0;
    font-size: 0.9rem;
    color: var(--light-text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.browser-tab.active {
    background-color: white;
    color: var(--primary-color);
    font-weight: 500;
}

.browser-tab i {
    margin-right: 0.5rem;
}

.browser-url {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    color: var(--light-text);
    font-size: 0.8rem;
    margin-left: auto;
}

.browser-content {
    position: relative;
    max-height: 400px;
    overflow-y: auto;
}

.code-block {
    display: none;
        padding: 0;
    }

.code-block.active {
        display: block;
}

.code-block pre {
    margin: 0;
    padding: 1.5rem;
    background-color: #1e293b !important;
    color: #e2e8f0;
    border-radius: 0;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    white-space: pre;
    overflow-x: auto;
}

.code-block code {
    background: none !important;
    color: #e2e8f0;
    text-shadow: none;
}

/* Supported Services Cards */
.supported-services-cards {
    margin-top: 1.5rem;
}

.service-card {
    background-color: white;
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
        transition: all 0.3s ease;
    height: 80px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.1);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.service-card img {
    max-height: 30px;
    max-width: 100%;
    object-fit: contain;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .browser-url {
        display: none;
    }
    
    .browser-tab {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .integration-steps-container {
        margin-bottom: 3rem;
    }
}

@media (max-width: 767.98px) {
    .browser-tabs {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
    }
    
    .service-card {
        height: 60px;
    }
}

/* FAQ Section Styles */
.faq-section::before {
    content: '';
    position: absolute;
    top: -300px;
    right: -300px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--primary-rgb), 0.03) 50%, rgba(var(--primary-rgb), 0) 70%);
    z-index: 0;
}

.faq-section::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.05) 0%, rgba(var(--secondary-rgb), 0.03) 50%, rgba(var(--secondary-rgb), 0) 70%);
    z-index: 0;
}

.faq-tabs-container {
        position: relative;
    z-index: 1;
}

.faq-tabs {
    background-color: var(--white);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 8px;
    display: inline-flex;
}

.faq-tabs .nav-link {
    border-radius: 50px;
    padding: 10px 20px;
    color: var(--gray);
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 130px;
    text-align: center;
}

.faq-tabs .nav-link:hover {
    color: var(--primary);
}

.faq-tabs .nav-link.active {
    background-color: var(--primary);
    color: white;
}

.faq-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    position: relative;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    z-index: 1;
}

.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faq-card::before {
        content: '';
        position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0.05) 50%, rgba(var(--primary-rgb), 0) 70%);
    border-radius: 0 0 0 100%;
    z-index: -1;
}

.faq-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.faq-icon i {
    font-size: 24px;
    color: var(--primary);
}

.faq-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
}

.faq-answer {
    color: var(--gray);
    font-size: 15px;
}

.captcha-types {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.captcha-types span {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
}

.usage-examples {
    margin: 15px 0;
}

.usage-example {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.usage-example.correct {
    background-color: rgba(25, 135, 84, 0.1);
}

.usage-example.incorrect {
    background-color: rgba(220, 53, 69, 0.1);
}

.usage-example i {
    font-size: 22px;
    margin-right: 15px;
    margin-top: 3px;
}

.usage-example.correct i {
    color: var(--success);
}

.usage-example.incorrect i {
    color: var(--danger);
}

.usage-example h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.usage-example ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.steps-container {
    margin: 15px 0;
}

.step-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.step-number {
    width: 30px;
    height: 30px;
    background-color: var(--primary);
        color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-text {
    line-height: 1.4;
}

.language-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.language-badge {
    background-color: var(--light);
    color: var(--dark);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.language-badge i {
    margin-right: 5px;
    color: var(--primary);
}

.response-times {
    margin: 15px 0;
}

.response-time-item {
    margin-bottom: 15px;
}

.response-time-label {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 14px;
}

.response-time-label strong {
    color: var(--success);
}

.price-comparison {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 15px 0;
}

.price-option {
    background-color: var(--light);
    padding: 15px;
    border-radius: 8px;
    flex: 1;
    text-align: center;
}

.price-name {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.price-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.price-description {
    font-size: 13px;
    color: var(--gray);
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 15px 0;
}

.payment-method {
    background-color: var(--light);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.payment-method i {
    display: block;
    font-size: 24px;
    margin-bottom: 5px;
    color: var(--primary);
}

.faq-cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 12px;
    padding: 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.faq-cta-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.faq-cta-card::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.faq-cta-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.faq-cta-card p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.faq-cta-buttons {
    position: relative;
    z-index: 1;
}

/* Mobile Responsiveness for FAQ */
@media (max-width: 767px) {
    .faq-tabs .nav-link {
        min-width: auto;
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .price-comparison {
        flex-direction: column;
    }
    
    .payment-methods {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-cta-card {
        padding: 30px 20px;
    }
    
    .faq-card {
        padding: 25px 20px;
    }
}

/* Modern Floating CTA Card */
.floating-cta-card {
    position: relative;
    background: linear-gradient(135deg, rgba(19, 21, 54, 0.95) 0%, rgba(45, 49, 145, 0.95) 100%);
    border-radius: 20px;
    padding: 3.5rem 2rem;
    margin: 2rem auto;
    max-width: 900px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2), 0 10px 20px rgba(0, 0, 0, 0.1);
}

.floating-card-shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    z-index: 1;
}

.shape-left {
    width: 300px;
    height: 300px;
    left: -100px;
    top: -100px;
    animation: float 8s infinite ease-in-out;
}

.shape-right {
    width: 250px;
    height: 250px;
    right: -50px;
    bottom: -50px;
    animation: float 6s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-icon i {
    font-size: 2.5rem;
    color: #ffffff;
}

.floating-cta-card h3 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #cfd9df);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.floating-cta-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
        color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    margin-bottom: 2rem;
}

.floating-cta-card .btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.4);
    transition: all 0.3s ease;
}

.floating-cta-card .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.6);
}

.floating-cta-card .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.floating-cta-card .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.support-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 1rem;
}

.support-stat {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.support-stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.stat-icon i {
    color: #fff;
    font-size: 1.2rem;
}

.stat-info {
    text-align: left;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .floating-cta-card {
        padding: 2.5rem 1.5rem;
    }
    
    .floating-cta-card h3 {
        font-size: 1.75rem;
    }
    
    .support-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-actions .btn {
        margin: 0;
    }
}

.social-links {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.social-links a {
    color: #cbd5e1;
    font-size: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    margin: 0;
}

.social-links a:hover {
    color: white;
    transform: translateY(-5px);
    background-color: rgba(var(--primary-rgb), 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.12);
    margin: 30px 0;
} 

/* Dark Footer Styles */
.dark-footer {
    background: linear-gradient(to bottom, #0a0a14, #080c18);
    color: white;
    padding: 1.5rem;
    padding-top: 80px;
    padding-bottom: 40px;
    box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.dark-footer::before {
    opacity: 0.15;
}

.dark-footer p {
    color: rgba(255, 255, 255, 0.9);
}

.dark-footer .footer-links a {
    color: rgba(255, 255, 255, 0.75);
}

.dark-footer .footer-links a:hover {
    color: white;
}

.dark-footer .btn-outline-light {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.dark-footer .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.dark-footer .social-links a {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.dark-footer .social-links a:hover {
    background-color: var(--primary-color);
}

.dark-footer hr {
    border-color: rgba(255, 255, 255, 0.15);
}

/* Footer Wave */
.footer-wave-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.footer-wave {
    position: relative;
    display: block;
    width: 100%;
    height: 80px;
    transform: translateY(-100%);
}

.footer-wave::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.34-168.06-16.33-250.45.39-57.84,11.73-114,31.07-172,41.86A600.21,600.21,0,0,1,0,27.35V120H1200V95.8C1132.19,118.92,1055.71,111.31,985.66,92.83Z' fill='%230a0a14'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    height: 80px;
}

/* Footer Top Section */
.footer-top {
    margin-bottom: 40px;
}

.footer-logo h4 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.text-gradient-blue {
    background: linear-gradient(to right, #3b82f6, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-newsletter h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.footer-newsletter .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.3s ease;
}

.footer-newsletter .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.1);
}

.footer-newsletter .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Contact Info */
.footer-contact h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-contact h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-contact-item i {
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.footer-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.api-status, .uptime {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
}

.api-status i {
    font-size: 0.7rem;
}

/* Footer Links */
.dark-footer h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.dark-footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.dark-footer .footer-links {
    list-style: none;
    padding: 0;
}

.dark-footer .footer-links li {
    margin-bottom: 1rem;
}

.dark-footer .footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 400;
}

.dark-footer .footer-links a i {
    font-size: 0.7rem;
    margin-right: 0.5rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.dark-footer .footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.dark-footer .footer-links a:hover i {
    opacity: 1;
    color: var(--primary-color);
}

/* Social Links Grid */
.social-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.social-grid-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-grid-item:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Footer Bottom */
.footer-divider {
    margin: 30px 0;
    opacity: 0.2;
}

.footer-payment-methods {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 767.98px) {
    .dark-footer {
        padding-top: 60px;
        text-align: center;
    }
    
    .footer-wave {
        height: 60px;
    }
    
    .footer-wave::before {
        height: 60px;
    }
    
    .footer-contact h5::after,
    .dark-footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact-item {
        justify-content: center;
    }
    
    .footer-badges {
        justify-content: center;
    }
    
    .dark-footer .footer-links a {
        justify-content: center;
    }
    
    .dark-footer .footer-links a:hover {
        transform: translateX(0);
    }
    
    .social-links-grid {
        max-width: 180px;
        margin: 0 auto;
    }
    
    .footer-payment-methods {
        justify-content: center;
        margin-top: 1rem;
    }
}

/* Media query for adjusting megamenu on smaller screens (mobile) */
@media (max-width: 991.98px) {
    .navbar-nav .dropdown-menu.megamenu {
        width: auto; /* Allow it to take the width of the parent */
        max-width: 100%; /* Ensure it doesn't overflow */
        position: static !important; /* Override inline styles if Bootstrap adds them */
        transform: none !important; /* Reset transform */
        left: auto !important; /* Reset left */
        right: auto !important; /* Reset right */
        margin-top: 0.5rem !important; /* Keep some top margin */
        box-shadow: none; /* Optional: Remove shadow in collapsed view */
        border-top: 1px solid #eee; /* Optional: Add separator */
        border-radius: 0; /* Optional: Remove radius in collapsed view */
    }

    .dropdown-menu.megamenu .container-fluid {
        padding: 0.5rem 1rem; /* Adjust padding for mobile */
    }

    .megamenu-item {
        padding: 0.75rem 0; /* Adjust padding */
    }

     .megamenu-icon {
        margin-right: 0.75rem; /* Adjust icon margin */
    }
}

/* Hero Section */
.hero-section {
    /* Existing padding is likely handled by <section>, but we need more specific padding for the fixed navbar */
    padding-top: 120px; /* Add padding to push content below fixed navbar */
    min-height: 80vh; /* Ensure it takes significant height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}