@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
        
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-bg: #0a0e27;
    --dark-card: #1a1f3a;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --light-bg: #ffffff;
    --light-card: #f8f8f8;
    --light-text: #1a202c;
    --light-muted: #4a5568;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.light-theme {
    background: var(--light-bg);
    color: var(--light-text);
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-gradient {
    background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
}

.card-hover {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(26, 31, 58, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-theme .card-hover {
    background: var(--light-card);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--light-text);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

body.light-theme .card-hover:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
}

.floating-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    from { box-shadow: 0 0 20px rgba(102, 126, 234, 0.4); }
    to { box-shadow: 0 0 40px rgba(102, 126, 234, 0.8); }
}

.typing-animation::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.premium-badge {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a1f3a;
    animation: shine 2s ease-in-out infinite;
}

@keyframes shine {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.feature-icon {
    background: var(--primary-gradient);
    padding: 1rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.stats-counter {
    font-size: 3rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-button {
    background: var(--primary-gradient);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.cta-button::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;
}

.cta-button:hover::before {
    left: 100%;
}

.navbar {
    backdrop-filter: blur(20px);
    background: rgba(10, 14, 39, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-theme .navbar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

.testimonial-card {
    background: rgba(26, 31, 58, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.light-theme .testimonial-card {
    background: var(--light-card);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.2);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--primary-gradient); /* Placeholder for gradient border */
    border-image: var(--primary-gradient);
    border-image-slice: 1;
}

@media (max-width: 768px) {
    .stats-counter {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

/* New styles for improved UI and menu */
.main-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 14, 39, 0.9); /* Same as navbar for consistency */
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.light-theme .main-nav {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.main-nav-item {
    position: relative;
    padding: 1rem 0;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav-item:hover {
    color: white;
}

.main-nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.main-nav-item:hover::after {
    width: 100%;
}

.main-nav-item.active::after {
    width: 100%;
}

/* Animations for improved UX/UI */
.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scale-in {
    animation: scaleIn 0.8s ease-out forwards;
    opacity: 0;
    transform: scale(0.9);
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.slide-in-left {
    animation: slideInLeft 1s ease-out forwards;
    opacity: 0;
    transform: translateX(-50px);
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 1s ease-out forwards;
    opacity: 0;
    transform: translateX(50px);
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Apply animations to sections */
.hero-gradient .hero-title,
.hero-gradient .hero-subtitle,
.hero-gradient .hero-description,
.hero-gradient .cta-button,
.hero-gradient .stats-counter,
.hero-gradient .floating-animation {
    opacity: 0; /* Initial state for animation */
}

.hero-gradient .hero-title { animation: fadeInUp 1s ease-out 0.2s forwards; }
.hero-gradient .hero-subtitle { animation: fadeInUp 1s ease-out 0.4s forwards; }
.hero-gradient .hero-description { animation: fadeInUp 1s ease-out 0.6s forwards; }
.hero-gradient .cta-button { animation: scaleIn 0.8s ease-out 0.8s forwards; }
.hero-gradient .stats-counter { animation: scaleIn 0.8s ease-out 1s forwards; }
.hero-gradient .floating-animation { animation: float 6s ease-in-out infinite, scaleIn 0.8s ease-out 0s forwards; }

.scroll-reveal.revealed {
    animation: fadeInUp 1s ease-out forwards;
}

/* Specific animation delays for features and testimonials */
.features-grid .card-hover:nth-child(1) { animation-delay: 0.1s; }
.features-grid .card-hover:nth-child(2) { animation-delay: 0.2s; }
.features-grid .card-hover:nth-child(3) { animation-delay: 0.3s; }
.features-grid .card-hover:nth-child(4) { animation-delay: 0.4s; }
.features-grid .card-hover:nth-child(5) { animation-delay: 0.5s; }
.features-grid .card-hover:nth-child(6) { animation-delay: 0.6s; }

.testimonials-grid .testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonials-grid .testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonials-grid .testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonials-grid .testimonial-card:nth-child(4) { animation-delay: 0.4s; }
.testimonials-grid .testimonial-card:nth-child(5) { animation-delay: 0.5s; }
.testimonials-grid .testimonial-card:nth-child(6) { animation-delay: 0.6s; }

/* Sticky logo */
.logo-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100; /* Higher than main-nav to stay on top */
    background: rgba(10, 14, 39, 0.9); /* Match navbar background */
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem; /* Adjust padding as needed */
    display: flex;
    align-items: center;
    justify-content: space-between; /* To push mobile menu button to right */
}

body.light-theme .logo-container {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.logo-container .logo-content {
    display: flex;
    align-items: center;
    space-x: 0.75rem; /* Tailwind space-x-3 */
}

.logo-container .mobile-menu-button {
    display: none; /* Hidden by default, shown on small screens */
}

@media (max-width: 768px) {
    .logo-container .mobile-menu-button {
        display: block;
    }
    .main-nav {
        display: none; /* Hide main nav on mobile */
    }
}

/* Custom styles for language switcher */
.language-switcher {
    position: relative;
    display: inline-block;
}

.language-button {
    background: var(--primary-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0; /* Align dropdown to the right of the button */
    background: rgba(26, 31, 58, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    min-width: 120px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.language-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown button {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: left;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.language-dropdown button:hover {
    background-color: rgba(102, 126, 234, 0.2);
    color: white;
}

.language-dropdown button.active {
    background-color: var(--primary-gradient);
    color: white;
    font-weight: 600;
}

body.light-theme .language-dropdown {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .language-dropdown button {
    color: var(--light-text);
}

body.light-theme .language-dropdown button:hover {
    background-color: rgba(102, 126, 234, 0.1);
    color: var(--light-text);
}

body.light-theme .language-dropdown button.active {
    background-color: var(--primary-gradient);
    color: white;
}

/* Centering logo in header */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1280px; /* Max width of your content */
    margin: 0 auto; /* Center the content */
    padding: 0 1.5rem; /* Add padding */
}

.header-content .logo-wrapper {
    flex-grow: 1; /* Allows logo to take available space */
    display: flex;
    justify-content: flex-start; /* Align logo to start */
    align-items: center;
}

.header-content .left-placeholder,
.header-content .right-placeholder {
    width: 120px; /* Approximate width of the language switcher/mobile menu button */
    /* This helps maintain centering of the logo when other elements are present */
    /* Adjust as needed based on actual width of other elements */
}

@media (max-width: 768px) {
    .header-content .left-placeholder {
        display: none; /* Hide placeholder on mobile */
    }
    .header-content .logo-wrapper {
        justify-content: flex-start; /* Align logo to start on mobile */
    }
    .logo-container {
        justify-content: space-between; /* Keep space-between for mobile menu button */
    }
}