/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

/* Loading Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.page-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem 0;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
    font-size: 2rem !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
    position: relative;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    transition: width 0.3s ease;
}

.navbar-brand:hover::after {
    width: 100%;
}

.navbar-nav .nav-link {
    position: relative;
    font-weight: 500;
    color: #374151 !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    transition: left 0.3s ease;
    z-index: -1;
}

.navbar-nav .nav-link:hover::before {
    left: 0;
}

.navbar-nav .nav-link:hover {
    color: #6366f1 !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Mobile Navigation Improvements - Enhanced */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    background: transparent;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.3);
    outline: none;
}

.navbar-toggler:hover {
    background: rgba(99, 102, 241, 0.1);
}

.navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 22px;
    height: 2px;
    background: #6366f1;
    transition: all 0.3s ease;
    border-radius: 1px;
    display: block;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: #6366f1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
    left: 0;
}

.navbar-toggler-icon::before {
    top: -7px;
}

.navbar-toggler-icon::after {
    top: 7px;
}

/* Active/Open state */
.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
    background: transparent;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Enhanced Mobile Menu */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0.75rem 0;
        background-color: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px);
    }
    
    .navbar .container {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    
    .navbar-brand {
        font-size: 1.8rem !important;
        flex-shrink: 0;
        margin-right: auto;
    }
    
    .navbar-toggler {
        flex-shrink: 0;
        margin-left: 1rem;
        z-index: 1051;
    }
    
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 0 0 16px 16px;
        padding: 1.5rem;
        margin: 0;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-top: none;
        max-height: 0;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateY(-10px);
        opacity: 0;
        z-index: 1050;
    }
    
    .navbar-collapse.show {
        max-height: 400px;
        transform: translateY(0);
        opacity: 1;
        animation: slideDownFade 0.4s ease-out;
    }
    
    .navbar-nav {
        width: 100%;
        gap: 0.5rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0;
        padding: 1rem 1.25rem !important;
        border-radius: 12px;
        font-weight: 500;
        color: #1e293b !important;
        background: transparent;
        border: 1px solid transparent;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        align-items: center;
        position: relative;
        overflow: hidden;
        text-decoration: none;
    }
    
    .navbar-nav .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
        transition: left 0.3s ease;
        z-index: -1;
    }
    
    .navbar-nav .nav-link:hover::before,
    .navbar-nav .nav-link:focus::before {
        left: 0;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        color: #6366f1 !important;
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
        border-color: rgba(99, 102, 241, 0.2);
        transform: translateX(8px);
        box-shadow: 0 4px 15px rgba(99, 102, 241, 0.15);
    }
    
    .navbar-nav .nav-link:active {
        transform: translateX(4px) scale(0.98);
    }
    
    /* Add icons to mobile nav links */
    .navbar-nav .nav-link[href="#features"]::after {
        content: '⭐';
        margin-left: auto;
        font-size: 1.1rem;
    }
    
    .navbar-nav .nav-link[href="#pricing"]::after {
        content: '💰';
        margin-left: auto;
        font-size: 1.1rem;
    }
    
    .navbar-nav .nav-link[href="#contact"]::after {
        content: '📞';
        margin-left: auto;
        font-size: 1.1rem;
    }
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 400px;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.6rem !important;
    }
    
    .navbar-collapse {
        padding: 1.25rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.875rem 1rem !important;
        font-size: 0.95rem;
    }
}

/* Small mobile adjustments */
@media (max-width: 576px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.4rem !important;
    }
    
    .navbar-toggler {
        width: 36px;
        height: 36px;
    }
    
    .navbar-toggler-icon {
        width: 20px;
    }
    
    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after {
        width: 20px;
    }
    
    .navbar-collapse {
        padding: 1rem;
        border-radius: 0 0 12px 12px;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0.875rem !important;
        font-size: 0.9rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Fix for very small screens */
@media (max-width: 375px) {
    .navbar-brand {
        font-size: 1.2rem !important;
    }
    
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .navbar-nav .nav-link::after {
        font-size: 1rem;
    }
}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
}

.navbar-collapse.show {
    width: 100%;
    max-width: 100vw;
    left: 0;
    right: 0;
}

/* Enhanced accessibility */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link:focus {
        outline: 2px solid #6366f1;
        outline-offset: 2px;
    }
    
    .navbar-toggler:focus {
        outline: 2px solid #6366f1;
        outline-offset: 2px;
    }
}

/* Smooth transitions for all screen sizes */
.navbar,
.navbar-collapse,
.navbar-nav .nav-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fix navbar z-index to prevent overlapping */
.navbar {
    z-index: 1040;
}

.navbar-collapse {
    z-index: 1050;
}

/* Mobile backdrop overlay */
@media (max-width: 991.98px) {
    .navbar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1030;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    
    .navbar-backdrop.show {
        opacity: 1;
        pointer-events: all;
    }
    
    body.nav-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

/* Enhanced Hero Section */
.hero {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="300" cy="700" r="80" fill="url(%23a)"/><circle cx="700" cy="800" r="120" fill="url(%23a)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: slideInLeft 1s ease-out;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .lead {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
    animation: slideInLeft 1s ease-out 0.2s both;
    opacity: 0.95;
}

.hero .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: slideInLeft 1s ease-out 0.4s both;
}

.hero .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.hero .btn:hover::before {
    left: 100%;
}

.hero .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInRight 1s ease-out 0.6s both;
    transform: perspective(1000px) rotateY(-5deg);
}

.hero img:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Hero Improvements */
@media (max-width: 991.98px) {
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero .lead {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero img {
        margin-top: 2rem;
        transform: none;
    }
    
    .hero img:hover {
        transform: scale(1.02);
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .lead {
        font-size: 1rem;
    }
    
    .hero .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

/* Enhanced Feature Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent, rgba(255, 255, 255, 0.1));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.feature-card i {
    font-size: 3.5rem !important;
    margin-bottom: 1.5rem !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
}

.feature-card i::before {
    position: relative;
    z-index: 2;
}

.feature-card i::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.feature-card:hover i {
    transform: scale(1.2) rotate(10deg);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.feature-card:hover i::after {
    transform: translate(-50%, -50%) scale(1);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    transition: all 0.3s ease;
}

.feature-card:hover h3 {
    transform: translateY(-5px);
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover p {
    color: white;
    transform: translateY(-3px);
}

/* Enhanced Pricing Cards */
.card {
    width: 100%;
    max-width: 380px;
    background: #ffffff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transform-style: preserve-3d;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

.card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .card-image::after {
    opacity: 1;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.card:hover .card-image img {
    transform: scale(1.1) rotate(2deg);
}

.card-content {
    padding: 2rem;
    position: relative;
}

.card-content h3 {
    margin: 0 0 1rem;
    color: #1e293b;
    font-size: 1.6rem;
    font-weight: 700;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #1e293b, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card:hover .card-content h3 {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-content p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.card:hover .card-content p {
    color: #475569;
    transform: translateY(-2px);
}

.price-display {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    border-radius: 15px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.card:hover .price-display {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-color: rgba(99, 102, 241, 0.2);
    transform: scale(1.02);
}

.card-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    width: 100%;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.card-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.card-btn:hover::before {
    left: 100%;
}

.card-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #5b21b6, #7c3aed);
}

.card-btn:active {
    transform: translateY(-1px);
}

/* Enhanced Accordion Container - Fix for Height Issues */
.accordion-container {
    margin-top: 1.5rem;
    width: 100%;
}

.accordion-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 1rem;
}

.accordion-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.accordion-header {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #6366f1;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    width: 100%;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.accordion-header:focus {
    outline: 2px solid rgba(99, 102, 241, 0.6);
    outline-offset: 2px;
}

.accordion-header i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    /* color: rgba(255, 255, 255, 0.8); */
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
    color: #6366f1;
}

/* Fixed Accordion Content - Remove height restrictions */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.02);
    opacity: 0;
    transform: translateY(-10px);
}

.accordion-item.active .accordion-content {
    max-height: none !important; /* Remove height cap */
    height: auto !important; /* Allow natural height */
    overflow: visible; /* Allow content to show */
    opacity: 1;
    transform: translateY(0);
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Service List Styling */
.service-list-item {
    color: #6366f1;
    font-weight: 600;
    font-size: 1rem;
    margin: 1.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(99, 102, 241, 0.3);
    position: relative;
}

.service-list-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #6366f1;
    transition: width 0.3s ease;
}

.accordion-item.active .service-list-item::after {
    width: 60px;
}

.service-list-item:first-child {
    margin-top: 0;
}

/* Enhanced List Services */
.list-services {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border-radius: 6px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
    animation: none;
}

.accordion-item.active .list-services {
    opacity: 1;
    transform: translateX(0);
}

.list-services:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.list-services .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    margin-right: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.list-services:hover .icon {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.list-services .icon i {
    font-size: 0.7rem;
    color: white;
}

.list-services span {
    color: linear-gradient(135deg, #6366f1, #8b5cf6);
    font-size: 0.9rem;
    line-height: 1.4;
    flex: 1;
}

/* Animation for list items when accordion opens */
@keyframes slideInList {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.accordion-item.active .list-services {
    animation: slideInList 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Stagger animation delays */
.accordion-item.active .list-services:nth-child(1) { animation-delay: 0.1s; }
.accordion-item.active .list-services:nth-child(2) { animation-delay: 0.15s; }
.accordion-item.active .list-services:nth-child(3) { animation-delay: 0.2s; }
.accordion-item.active .list-services:nth-child(4) { animation-delay: 0.25s; }
.accordion-item.active .list-services:nth-child(5) { animation-delay: 0.3s; }
.accordion-item.active .list-services:nth-child(6) { animation-delay: 0.35s; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .accordion-header {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .accordion-item.active .accordion-content {
        padding: 1.25rem;
    }
    
    .service-list-item {
        font-size: 0.9rem;
        margin: 1.25rem 0 0.75rem 0;
    }
    
    .list-services span {
        font-size: 0.85rem;
    }
    
    .list-services .icon {
        width: 18px;
        height: 18px;
        margin-right: 0.6rem;
    }
    
    .list-services .icon i {
        font-size: 0.6rem;
    }
}

@media (max-width: 576px) {
    .accordion-header {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    .accordion-item.active .accordion-content {
        padding: 1rem;
    }
    
    .list-services {
        margin-bottom: 0.6rem;
        padding: 0.4rem 0;
    }
}

/* Feature Container Adjustments for Better Spacing */
.feature-container {
    display: flex;
    flex-direction: column;
    height: auto; /* Allow natural height */
    min-height: 100%; /* Ensure minimum height */
    gap: 0;
}

.feature-container .card {
    flex-shrink: 0; /* Prevent card from shrinking */
    margin-bottom: 0;
}

.feature-container .accordion-container {
    flex: 1; /* Allow accordion to take remaining space */
    display: flex;
    flex-direction: column;
}

/* Swiper slide adjustments */
.swiper-slide {
    height: auto !important; /* Allow natural height */
    display: flex;
    align-items: stretch;
}

.swiper-slide .feature-container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Ensure all slides have equal height when needed */
.pricing-swiper .swiper-wrapper {
    align-items: stretch;
    height: auto !important; /* Allow natural height */
}

.pricing-swiper .swiper-slide {
    display: flex;
    flex-direction: column;
}

/* Enhanced Conversation Rate Cards */
.conversation-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 25px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.conversation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #ec4899, #8b5cf6, #6366f1);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

.conversation-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.02), rgba(139, 92, 246, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.conversation-card:hover::before {
    transform: scaleX(1);
}

.conversation-card:hover::after {
    opacity: 1;
}

.conversation-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}

.conversation-card i {
    font-size: 3.5rem !important;
    margin-bottom: 1.5rem !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.conversation-card i::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.conversation-card:hover i {
    transform: scale(1.2);
    animation: pulse 2s infinite;
}

.conversation-card:hover i::after {
    transform: translate(-50%, -50%) scale(1);
}

@keyframes pulse {
    0%, 100% { transform: scale(1.2); }
    50% { transform: scale(1.3); }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

.conversation-card h3 {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.conversation-card:hover h3 {
    color: #6366f1;
    transform: translateY(-3px);
}

.conversation-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.conversation-card:hover h5 {
    transform: scale(1.05);
}

.conversation-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.conversation-card:hover p {
    color: #475569;
    transform: translateY(-2px);
}

/* Enhanced Footer */
footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    position: relative;
    overflow: hidden;
    padding: 4rem 0 2rem;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899, #6366f1);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="100" cy="100" r="50" fill="rgba(99, 102, 241, 0.05)"/><circle cx="900" cy="200" r="80" fill="rgba(139, 92, 246, 0.05)"/><circle cx="200" cy="800" r="60" fill="rgba(236, 72, 153, 0.05)"/></svg>');
    opacity: 0.3;
}

footer .container {
    position: relative;
    z-index: 2;
}

footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 2px;
    transition: width 0.3s ease;
}

footer h5:hover::after {
    width: 50px;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    transition: all 0.3s ease;
}

footer p:hover {
    color: rgba(255, 255, 255, 0.95);
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 0.75rem;
    position: relative;
    transition: all 0.3s ease;
}

footer ul li::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    transform: translateY(-50%) scale(0);
    transition: transform 0.3s ease;
}

footer ul li:hover::before {
    transform: translateY(-50%) scale(1);
}

footer a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 0;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

footer a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

footer a:hover::before {
    left: 100%;
}

footer a:hover {
    color: white !important;
    transform: translateX(10px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Quick Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    color: white;
    font-size: 1.2rem;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #5b5fd1, #7c3aed);
}

.scroll-to-top:active {
    transform: translateY(-1px) scale(1.05);
}

.scroll-to-top i {
    transition: transform 0.3s ease;
}

.scroll-to-top:hover i {
    transform: translateY(-2px);
    animation: bounceUp 0.6s ease infinite;
}

@keyframes bounceUp {
    0%, 100% {
        transform: translateY(-2px);
    }
    50% {
        transform: translateY(-6px);
    }
}

/* Progress indicator around the button */
.scroll-to-top::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    transform: rotate(0deg);
}

.scroll-to-top.show::before {
    transform: rotate(360deg);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
        font-size: 1rem;
    }
}

/* Scroll progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    z-index: 9999;
    transition: width 0.1s ease;
    border-radius: 0 3px 3px 0;
}

.scroll-progress::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Enhanced Mobile Optimizations */
@media (max-width: 991.98px) {
    .feature-card {
        margin-bottom: 2rem;
        padding: 2rem 1.5rem;
    }
    
    .card {
        margin: 0 auto 2rem;
        max-width: 100%;
    }
    
    .accordion-container {
        min-width: 100%;
        max-width: 100%;
        padding: 0.5rem;
    }
    
    .conversation-card {
        margin-bottom: 2rem;
        padding: 2rem 1.5rem;
    }
    
    .pricing-swiper {
        padding-bottom: 3rem;
    }
    
    .swiper-slide {
        opacity: 1;
        transform: scale(1);
    }
    
    .swiper-slide-active {
        transform: scale(1.02);
    }
    
    footer {
        padding: 3rem 0 2rem;
        text-align: center;
    }
    
    footer .row > div {
        margin-bottom: 2rem;
    }
    
    .scroll-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-card i {
        font-size: 2.5rem !important;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .conversation-card {
        padding: 1.5rem;
    }
    
    .conversation-card i {
        font-size: 2.5rem !important;
    }
    
    .accordion-header {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .accordion-content {
        padding: 0 1rem;
    }
    
    .accordion-item.active .accordion-content {
        padding: 1rem;
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .feature-card {
        padding: 1.2rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .conversation-card h3 {
        font-size: 1.2rem;
    }
    
    .conversation-card h5 {
        font-size: 1.1rem;
    }
    
    .conversation-card p {
        font-size: 0.85rem;
    }
    
    .card-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* Enhanced Container */
.container {
    max-width: 85vw;
}

@media (max-width: 768px) {
    .container {
        max-width: 95vw;
    }
}

/* Section Titles Enhancement */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 2px;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #ec4899, #f97316);
    border-radius: 1px;
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: #6366f1;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
}

/* Focus States for Better Accessibility */
button:focus,
.btn:focus,
.nav-link:focus,
.card-btn:focus,
.accordion-header:focus {
    outline: 3px solid rgba(99, 102, 241, 0.5);
    outline-offset: 2px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .card,
    .feature-card,
    .conversation-card {
        border: 2px solid currentColor;
    }
    
    .btn,
    .card-btn {
        border: 2px solid currentColor;
    }
}

/* Loading States */
.loading * {
    animation-play-state: paused !important;
}

.loaded {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Client Logo Enhancements */
.client-logo-container {
    padding: 26px;
    transition: all 0.3s ease;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.client-logo-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.client-logo {
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.client-logo-container:hover .client-logo {
    filter: grayscale(0%);
    transform: scale(1.05);
}