/* Base Theme Colors - Sophisticated Palette */
:root {
    --primary-dark: #0A0B14;  /* Darker navy */
    --primary-accent: #4F46E5; /* Indigo blue */
    --secondary-accent: #8B5CF6; /* Purple */
    --tertiary-accent: #06B6D4; /* Cyan */
    --accent-bronze: #B45309; /* Bronze instead of pink */
    --text-light: #F8FAFC;
    --gradient-main: linear-gradient(135deg, #4F46E5, #8B5CF6); /* Indigo to Purple */
    --gradient-alt: linear-gradient(135deg, #06B6D4, #4F46E5); /* Cyan to Indigo */
    --gradient-accent: linear-gradient(135deg, #8B5CF6, #B45309); /* Purple to Bronze */
    --surface-dark: rgba(10, 11, 20, 0.8);
    --border-light: rgba(248, 250, 252, 0.05);
    --glow-color: rgba(79, 70, 229, 0.2);
    --mobile-padding: 1rem;
    --tablet-padding: 2rem;
    --desktop-padding: 4rem;
    content-visibility: auto;
}

/* Dark Theme with Gold Accents for Home Page */
.home-page {
    --home-primary: #0A0B14;  /* Darker navy */
    --home-dark: #090A10;     /* Even darker background */
    --home-accent: #FFD700;   /* Gold */
    --home-accent-dark: #B8860B;  /* Darker gold */
    --home-surface: rgba(9, 10, 16, 0.95); /* Very dark surface */
    --home-text: #F8FAFC;
    --home-gradient: linear-gradient(135deg, #0A0B14, #1A1B25);
    --home-gradient-accent: linear-gradient(135deg, #FFD700, #B8860B);
    --home-border: rgba(255, 215, 0, 0.1);
    --home-glow: rgba(255, 215, 0, 0.15);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--primary-dark);
    background-image: url('../images/subtle-stars.svg');
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    padding-top: 80px; /* Add space for fixed header */
    min-height: 100vh;
    margin: 0;
}

@media (pointer: coarse) {
    * {
        cursor: auto !important;
    }
}

/* Gradient Text */
.gradient-text {
    position: relative;
    background: linear-gradient(135deg, #F8FAFC 90%, #60A5FA);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
}

.gradient-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: none;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    text-stroke: 1px rgba(255, 255, 255, 0.1);
}

/* Custom Cursor */
.custom-cursor {
    width: 40px;
    height: 40px;
    border: 2px solid var(--secondary-accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transition: all 0.15s ease;
    z-index: 9999;
    will-change: transform;
    background: rgba(255, 255, 255, 0.1);
    mix-blend-mode: difference;
    display: block !important;
    opacity: 1 !important;
    top: 0;
    left: 0;
}

.custom-cursor-follower {
    width: 12px;
    height: 12px;
    background: var(--gradient-main);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transition: all 0.1s ease;
    z-index: 9998;
    will-change: transform;
    box-shadow: 0 0 10px rgba(110, 58, 136, 0.5);
    display: block !important;
    opacity: 1 !important;
    top: 0;
    left: 0;
}

/* Hover state for cursor */
.cursor-hover {
    transform: scale(1.5);
    background: rgba(110, 58, 136, 0.2);
    border-color: var(--primary-purple);
    opacity: 1 !important;
}

/* Make sure cursor is visible on all backgrounds */
.custom-cursor::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

/* Only show custom cursor on non-touch devices */
@media (pointer: fine) {
    .custom-cursor,
    .custom-cursor-follower {
        display: block;
        opacity: 1;
    }
}

/* Show default cursor on touch devices */
@media (pointer: coarse) {
    * {
        cursor: auto !important;
    }
    .custom-cursor,
    .custom-cursor-follower {
        display: none;
    }
}

/* Header Styles */
.main-header {
    background: rgba(10, 11, 20, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    left: 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo Styles */
.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #FFD700;
}

/* Auth Buttons */
.nav-button {
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-button.login {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.nav-button.highlight {
    background: #FFD700;
    color: #0A0B14 !important;
}

.nav-button:hover {
    transform: translateY(-2px);
}

.nav-button.login:hover {
    background: rgba(255, 215, 0, 0.2);
}

.nav-button.highlight:hover {
    background: #F4C430;
}

/* User Menu Styles */
.user-menu {
    position: relative;
    margin-left: 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: #FFD700;
    color: #0A0B14;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden; /* Add this for image containment */
}

.user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(10, 11, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Add a gap to prevent dropdown from closing */
.user-dropdown::before {
    content: '';
    position: absolute;
    top: -16px; /* Height of the gap + triangle */
    left: 0;
    right: 0;
    height: 16px;
    background: transparent;
}

.user-menu:hover .user-dropdown,
.user-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-size: 0.95rem;
}

.user-dropdown a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFD700;
}

.logout-link {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    color: #ef4444 !important;
    background: none;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    text-align: left;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-link:hover {
    background: rgba(239, 68, 68, 0.1) !important;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 1rem;
        width: 100%;
    }

    .mobile-menu-toggle {
        display: block;
        order: 3; /* Move toggle to end */
        margin-left: 1rem;
    }

    .logo {
        order: 1; /* Move logo to start */
    }

    .nav-menu {
        display: none; /* Hide by default */
        position: fixed;
        top: 60px;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: calc(100vh - 60px);
        background: rgba(10, 11, 20, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        transition: all 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
        order: 2; /* Move menu to middle */
    }

    .nav-menu.active {
        display: flex;
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
        width: 100%;
        color: var(--text-light);
    }

    /* User Menu Mobile Styles */
    .user-menu {
        width: 100%;
        margin: 1rem 0;
    }

    .user-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 100%;
        margin-top: 1rem;
        box-shadow: none;
        display: block;
    }
}

/* Landscape Mode Styles */
@media (max-width: 768px) and (orientation: landscape) {
    .nav-menu {
        height: calc(100vh - 60px);
        padding: 1rem;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }

    .nav-menu a {
        padding: 0.5rem 1rem;
    }

    .user-menu {
        margin: 0.5rem 0;
    }
}

/* Ensure menu is visible on desktop */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }

    .nav-menu {
        display: flex !important;
        position: static;
        width: auto;
        height: auto;
        background: none;
        padding: 0;
        box-shadow: none;
        overflow: visible;
        opacity: 1;
        transform: none;
    }

    .nav-menu li {
        opacity: 1;
        transform: none;
    }

    .menu-overlay {
        display: none !important;
    }
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 6rem;
    background: linear-gradient(135deg, 
        var(--primary-accent),
        var(--secondary-accent),
        var(--tertiary-accent)
    );
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: radial-gradient(
        circle, 
        rgba(180, 83, 9, 0.1) 0%, 
        rgba(139, 92, 246, 0.1) 50%,
        transparent 70%
    );
    animation: rotate 20s linear infinite;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: 1;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
}

.hero h1.gradient-text {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: var(--gradient-alt);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.cta-button.secondary {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #8B5CF6, #B45309);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Animated Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.animated-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

/* Featured Brands Section - Enhanced */
.featured-brands {
    padding: 4rem 2rem;
    background: var(--surface-dark);
    position: relative;
    overflow: hidden;
}

.featured-brands::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        var(--secondary-accent),
        transparent
    );
}

.featured-brands .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.trusted-by {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.trusted-by::before,
.trusted-by::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 1px;
    background: var(--gradient-main);
}

.trusted-by::before {
    right: 100%;
    margin-right: 1rem;
}

.trusted-by::after {
    left: 100%;
    margin-left: 1rem;
}

.brand-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 3rem;
    align-items: center;
    justify-items: center;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.brand-logos img {
    height: 45px;
    width: auto;
    filter: grayscale(100%) brightness(200%);
    opacity: 0.6;
    transition: all 0.5s ease;
    cursor: pointer;
    max-width: 100%;
    height: auto;
    /* Add lazy loading to images */
    loading: lazy;
}

.brand-logos img:hover {
    filter: grayscale(0%) brightness(100%);
    opacity: 1;
    transform: scale(1.15);
}

/* Glowing effect for brand logos */
.brand-logo-container {
    position: relative;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-main);
    filter: blur(25px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.brand-logo-container:hover::after {
    opacity: 0.3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .featured-brands {
        padding: 3rem 1rem;
    }

    .brand-logos {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 2rem;
    }

    .brand-logos img {
        height: 35px;
    }

    .trusted-by::before,
    .trusted-by::after {
        width: 30px;
    }
}

/* Animations */
@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1.gradient-text {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .brand-logos {
        gap: 2rem;
    }
}

/* Agent Showcase */
.agent-showcase {
    padding: 4rem 2rem;
    text-align: center;
}

.agent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.agent-card {
    background: linear-gradient(
        135deg,
        rgba(180, 182, 203, 0.95),
        rgba(15, 23, 42, 0.95)
    );
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.9); /* Milky white text color */
}

.agent-card:hover {
    transform: translateY(-5px);
    background: rgba(10, 11, 14, 0.95);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3),
                0 0 20px rgba(59, 130, 246, 0.1);
    color: #ffffff; /* Full white on hover */
}

.icon-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.icon-container::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    background: var(--gradient-accent);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.icon-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.icon-container i {
    font-size: 32px;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.icon-container i {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.agent-card:hover .icon-container::before {
    opacity: 1;
}

.agent-card:hover .icon-container i {
    transform: scale(1.1);
}

.agent-card > i {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 32px;
    color: var(--text-light);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.agent-card > i::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    background: var(--gradient-main);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.agent-card > i::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.agent-card:hover > i::before {
    opacity: 1;
}

/* Benefits Section Styles */
.benefits {
    background: rgba(11, 18, 32, 0.3);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(110, 58, 136, 0.3) 50%, 
        transparent 100%
    );
}

.benefits h2 {
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #F8FAFC 0%, rgba(248, 250, 252, 0.8) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    position: relative;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.benefit-item {
    background: linear-gradient(
        135deg,
        rgba(10, 11, 20, 0.95),
        rgba(15, 23, 42, 0.95)
    );
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Subtle gradient border */
.benefit-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(
        90deg,
        var(--primary-accent),
        var(--secondary-accent),
        var(--tertiary-accent),
        var(--accent-bronze)
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.benefit-item i {
    font-size: 28px;
    color: var(--text-light);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-item i::before {
    position: relative;
    z-index: 1;
}

.benefit-item i::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-main);
    border-radius: 16px;
    opacity: 0.1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.8);
}

.benefit-item h3 {
    color: var(--text-light);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 500;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover effects */
.benefit-item:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-item:hover i {
    transform: scale(1.1);
}

.benefit-item:hover h3 {
    transform: translateY(-2px);
}

.benefit-item:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Ambient light effect */
.benefit-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        800px circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 255, 255, 0.06),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.5s;
}

.benefit-item:hover::after {
    opacity: 1;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 2rem;
    text-align: center;
    background: rgba(11, 18, 32, 0.3);
}

.steps-container {
    max-width: 1200px;
    margin: 3rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.step {
    background: var(--surface-dark);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    position: relative;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 auto 1.5rem;
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.step p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.step:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Workflow Info Cards */
.workflow-info {
    max-width: 1200px;
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.workflow-card {
    background: var(--surface-dark);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    text-align: left;
}

.workflow-card i {
    font-size: 2rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
    display: block;
}

.workflow-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.workflow-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.workflow-card .learn-more {
    color: var(--text-light);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.workflow-card .learn-more:hover {
    gap: 1rem;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.2;
    }
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .workflow-info {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.main-footer {
    background: var(--surface-dark);
    border-top: 1px solid var(--border-light);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-column a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(11, 18, 32, 0.95);
        backdrop-filter: blur(10px);
        padding: 1rem;
    }
    
    .nav-menu.active li {
        margin: 0.5rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* Authentication Pages */
.auth-section {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-dark);
}

.auth-container {
    margin: 20px auto; /* Reduced margin since we have header padding */
    max-width: 400px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-container h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-group input {
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-accent);
}

.remember-forgot {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.auth-button {
    padding: 0.75rem;
    border-radius: 8px;
    border: none;
    background: var(--gradient-main);
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-button:hover {
    transform: translateY(-2px);
}

.auth-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.error-message {
    color: #ef4444;
    font-size: 0.9rem;
    padding: 0.5rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 4px;
}

.auth-redirect {
    text-align: center;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.auth-redirect a {
    color: var(--primary-accent);
    text-decoration: none;
}

.auth-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-divider span {
    background: var(--surface-dark);
    padding: 0 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.social-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.social-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.social-button i {
    font-size: 1.1rem;
}

/* Provider-specific colors */
.social-button[id*="google"] i {
    color: #EA4335;
}

.social-button[id*="github"] i {
    color: #ffffff;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .social-auth {
        grid-template-columns: 1fr;
    }
}

.auth-redirect {
    text-align: center;
    margin-top: 2rem;
}

.auth-redirect a {
    color: var(--primary-accent);
    text-decoration: none;
}

/* Responsive Design for Auth Pages */
@media (max-width: 480px) {
    .auth-container {
        padding: 2rem;
    }

    .social-auth {
        grid-template-columns: 1fr;
    }
}

.nav-button {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-button.highlight {
    background: var(--gradient-main);
    border: none;
}

/* Update Hero Section Text Styles */
.hero h1.gradient-text {
    background: linear-gradient(135deg, #F8FAFC 0%, rgba(248, 250, 252, 0.8) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    font-weight: 300;
}

/* Optional: Add a subtle animation to the text */
@keyframes textGlow {
    0% { text-shadow: 0 0 30px rgba(255, 255, 255, 0.3); }
    50% { text-shadow: 0 0 40px rgba(255, 255, 255, 0.4); }
    100% { text-shadow: 0 0 30px rgba(255, 255, 255, 0.3); }
}

.hero h1.gradient-text {
    animation: textGlow 3s ease-in-out infinite;
}

/* Page Hero Styles */
.page-hero {
    padding: 10rem 2rem 6rem;
    background: var(--gradient-main);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: radial-gradient(
        circle, 
        rgba(236, 72, 153, 0.1) 0%, 
        rgba(139, 92, 246, 0.1) 50%,
        transparent 70%
    );
    animation: rotate 20s linear infinite;
}

/* Unified Heading Styles */
.page-hero h1.gradient-text,
.section-title.gradient-text,
section h1.gradient-text {
    background: linear-gradient(135deg, #F8FAFC 0%, rgba(248, 250, 252, 0.8) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    font-weight: 600;
    letter-spacing: -0.02em;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: textGlow 3s ease-in-out infinite;
}

.page-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Titles */
section h2.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-hero h1.gradient-text,
    .section-title.gradient-text,
    section h1.gradient-text {
        font-size: 2.5rem;
    }

    section h2.gradient-text {
        font-size: 2rem;
    }

    .page-hero {
        padding: 8rem 1.5rem 4rem;
    }
}

/* Category Grid Styles */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Features Section Styles */
.features-section {
    padding: 6rem 2rem;
    background: rgba(11, 18, 32, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Contact Options */
.contact-options {
    padding: 4rem 2rem;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.option-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Agent Meta Information */
.agent-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
    color: rgba(255, 255, 255, 0.7);
}

/* Pricing Section Styles */
.pricing-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.popular {
    border: 1px solid var(--primary-accent);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-main);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin: 1rem 0;
}

.currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.period {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
}

.pricing-features li {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features i {
    color: var(--primary-accent);
}

.pricing-cta {
    display: block;
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pricing-cta.highlight {
    background: var(--gradient-main);
    border: none;
}

.pricing-cta:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

.pricing-cta.highlight:hover {
    background: var(--gradient-main);
    opacity: 0.9;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 2rem;
    background: rgba(11, 18, 32, 0.3);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item h3 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.faq-item p {
    color: rgba(255, 255, 255, 0.7);
}

/* AI Animation Styles */
.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.1;
}

.neural-node {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.neural-connection {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        var(--tertiary-accent),
        transparent
    );
    animation: connectionFlow 3s infinite linear;
}

/* Floating Elements Animation */
.floating {
    animation: floating 3s ease-in-out infinite;
}

/* Particle Effect */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

/* Data Stream Effect */
.data-stream {
    position: absolute;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--primary-accent),
        transparent
    );
    animation: dataFlow 2s linear infinite;
}

/* Animation Keyframes */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes connectionFlow {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes dataFlow {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}
}

/* Add glowing effect to icons */
.icon-container {
    position: relative;
}

.icon-container::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: var(--gradient-main);
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.icon-container:hover::after {
    opacity: 0.5;
}

/* About Page Styles */
.about-hero {
    background: linear-gradient(135deg, 
        var(--primary-accent),
        var(--secondary-accent),
        var(--tertiary-accent)
    );
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: radial-gradient(
        circle, 
        rgba(180, 83, 9, 0.1) 0%, 
        rgba(139, 92, 246, 0.1) 50%,
        transparent 70%
    );
    animation: rotate 20s linear infinite;
}

.about-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: 1;
}

.about-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.about-hero .animated-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

.about-hero .about-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.about-hero .gradient-text {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

.about-hero .hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Keep existing animations */
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-hero {
        padding: 4rem 1rem;
        min-height: 40vh;
    }
}

/* Feature List Animation */
.feature-list li {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Neural Network Animation */
.neural-node {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    position: absolute;
    animation: pulse 2s infinite;
}

.neural-connection {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    position: absolute;
    animation: flow 3s linear infinite;
}

/* Particle Animation */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: float 15s linear infinite;
}

/* Data Stream Animation */
.data-stream {
    position: absolute;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--primary-accent),
        transparent
    );
    animation: streamFlow 4s linear infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes flow {
    0% { transform: translateX(-100%) scaleX(1); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%) scaleX(0.5); opacity: 0; }
}

@keyframes float {
    0% { transform: translate(0, 0); }
    50% { transform: translate(20px, 20px); }
    100% { transform: translate(0, 0); }
}

@keyframes streamFlow {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

/* Vision Box Animation */
.vision-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.vision-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(15, 23, 42, 0.1),
        transparent 70%
    );
    animation: rotate 20s linear infinite;
}

/* Stats Grid Animation */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8B5CF6, #B45309);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Home Page Hero Section */
.home-page .hero {
    background: linear-gradient(135deg,
        var(--home-dark) 0%,
        var(--home-primary) 100%
    );
}

/* Home Page Cards */
.home-page .agent-card,
.home-page .benefit-item,
.home-page .workflow-card {
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Home Page Icons */
.home-page .icon-container::before {
    background: var(--gradient-main);
}

.home-page .icon-container i {
    color: var(--text-light);
}

/* Home Page Buttons */
.home-page .cta-button.primary {
    background: var(--home-gradient-accent);
    color: var(--home-dark);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.home-page .cta-button.secondary {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.1);
    color: var(--home-accent);
}

/* Home Page Stats */
.home-page .stat-number {
    color: var(--home-accent);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.home-page .stat-label {
    color: rgba(255, 215, 0, 0.8);
}

/* Home Page Featured Brands */
.home-page .featured-brands {
    background: var(--surface-dark);
}

.home-page .brand-logo-container::after {
    background: var(--gradient-main);
}

/* Home Page Benefits */
.home-page .benefit-item:hover {
    box-shadow: 0 0 30px var(--glow-color);
}

.home-page .benefit-item i::after {
    background: var(--gradient-main);
}

/* Home Page How It Works */
.home-page .step-number {
    background: var(--gradient-main);
}

.home-page .workflow-card i {
    background: var(--gradient-main);
}

/* Home Page Animations */
.home-page .neural-connection {
    background: linear-gradient(90deg, 
        transparent,
        var(--primary-accent),
        transparent
    );
}

.home-page .data-stream {
    background: linear-gradient(
        to bottom,
        transparent,
        var(--primary-accent),
        transparent
    );
}

/* Enhanced Header for Home Page */
.home-page .main-header {
    background: var(--home-surface);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.home-page .logo a {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.home-page .nav-menu a {
    position: relative;
    transition: color 0.3s ease;
}

.home-page .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width 0.3s ease;
}

.home-page .nav-menu a:hover::after,
.home-page .nav-menu a.active::after {
    width: 100%;
}

.home-page .nav-menu a:hover {
    color: var(--secondary-accent);
}

.home-page .nav-button {
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    transition: all 0.3s ease;
}

.home-page .nav-button:hover {
    background: rgba(79, 70, 229, 0.2);
    transform: translateY(-2px);
}

.home-page .nav-button.highlight {
    background: var(--gradient-main);
    border: none;
}

.home-page .nav-button.highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

/* Update Hero Section with Purple Accents */
.home-page .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, 
        rgba(79, 70, 229, 0.3),
        transparent 70%
    );
    pointer-events: none;
}

.home-page .hero-badge {
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
}

/* Update Animation Colors */
.home-page .neural-node {
    background: var(--gradient-main);
}

.home-page .neural-connection {
    background: linear-gradient(90deg,
        transparent,
        rgba(79, 70, 229, 0.5),
        transparent
    );
}

/* Update Grid Animation */
.home-page .animated-grid {
    background-image: 
        linear-gradient(rgba(79, 70, 229, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(129, 140, 248, 0.05) 1px, transparent 1px);
}

/* Unified Heading Animation Styles */
h1.gradient-text {
    background: linear-gradient(135deg, #F8FAFC 0%, rgba(248, 250, 252, 0.8) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

/* Add glowing background effect to all h1 headers */
h1.gradient-text::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 215, 0, 0.15) 0%,
        rgba(255, 183, 0, 0.1) 30%,
        transparent 70%
    );
    animation: rotate 20s linear infinite;
    z-index: -1;
}

/* Add text stroke effect */
h1.gradient-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -2;
    background: none;
    -webkit-text-stroke: 1px rgba(255, 215, 0, 0.2);
    text-stroke: 1px rgba(255, 215, 0, 0.2);
}

/* Animation keyframes */
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes textGlow {
    0% { text-shadow: 0 0 30px rgba(255, 255, 255, 0.3); }
    50% { text-shadow: 0 0 40px rgba(255, 255, 255, 0.4); }
    100% { text-shadow: 0 0 30px rgba(255, 255, 255, 0.3); }
}

/* Apply animations to all pages */
.hero h1.gradient-text,
.page-hero h1.gradient-text,
section h1.gradient-text {
    animation: textGlow 3s ease-in-out infinite;
} 

/* Page-specific animations (darker version for non-home pages) */
body:not(.home-page) .page-hero {
    background: linear-gradient(135deg, 
        var(--primary-dark),
        rgba(15, 23, 42, 0.95)
    );
}

body:not(.home-page) .page-hero::before {
    background: radial-gradient(
        circle, 
        rgba(79, 70, 229, 0.05) 0%, 
        rgba(15, 23, 42, 0.1) 50%,
        transparent 70%
    );
}

body:not(.home-page) .neural-connection {
    background: linear-gradient(90deg,
        transparent,
        rgba(79, 70, 229, 0.15),
        transparent
    );
}

body:not(.home-page) .neural-node {
    background: rgba(79, 70, 229, 0.2);
}

body:not(.home-page) .particle {
    background: rgba(79, 70, 229, 0.1);
}

body:not(.home-page) .data-stream {
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(79, 70, 229, 0.1),
        transparent
    );
}

/* Darker grid animation for non-home pages */
body:not(.home-page) .animated-grid {
    background-image: 
        linear-gradient(rgba(79, 70, 229, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 70, 229, 0.03) 1px, transparent 1px);
}

/* Keep home page animations bright */
.home-page .hero::before {
    background: radial-gradient(
        circle, 
        rgba(255, 215, 0, 0.1) 0%,
        rgba(255, 183, 0, 0.05) 30%,
        transparent 70%
    );
}

.home-page .neural-connection {
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
}

.home-page .neural-node {
    background: rgba(255, 255, 255, 0.6);
}

.home-page .particle {
    background: rgba(255, 255, 255, 0.4);
}

.home-page .animated-grid {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
} 

/* Enhanced Home Page Heading Styles */
.home-page h1.gradient-text {
    background: linear-gradient(
        135deg,
        #FFFFFF 0%,
        #FFD700 25%,  /* Gold */
        #FFF5E1 50%,  /* Soft white */
        #FFB700 75%,  /* Darker gold */
        #FFFFFF 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 
        0 0 30px rgba(255, 215, 0, 0.3),
        0 0 60px rgba(255, 183, 0, 0.2);
    position: relative;
    z-index: 1;
}

/* Enhanced glowing effect for home page h1 */
.home-page h1.gradient-text::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 215, 0, 0.15) 0%,
        rgba(255, 183, 0, 0.1) 30%,
        transparent 70%
    );
    animation: rotate 20s linear infinite;
    z-index: -1;
}

/* Gold stroke effect for home page h1 */
.home-page h1.gradient-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -2;
    background: none;
    -webkit-text-stroke: 1px rgba(255, 215, 0, 0.2);
    text-stroke: 1px rgba(255, 215, 0, 0.2);
}

/* Updated glow animation for home page */
@keyframes homeTextGlow {
    0% { 
        text-shadow: 
            0 0 30px rgba(255, 215, 0, 0.3),
            0 0 60px rgba(255, 183, 0, 0.2);
    }
    50% { 
        text-shadow: 
            0 0 40px rgba(255, 215, 0, 0.4),
            0 0 80px rgba(255, 183, 0, 0.3);
    }
    100% { 
        text-shadow: 
            0 0 30px rgba(255, 215, 0, 0.3),
            0 0 60px rgba(255, 183, 0, 0.2);
    }
}

/* Apply the new animation to home page h1 */
.home-page h1.gradient-text {
    animation: homeTextGlow 3s ease-in-out infinite;
}

/* Update hero background with gold accents */
.home-page .hero::before {
    background: radial-gradient(
        circle,
        rgba(255, 215, 0, 0.1) 0%,
        rgba(255, 183, 0, 0.05) 30%,
        transparent 70%
    );
}

/* Update hero badge with gold accent */
.home-page .hero-badge {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: var(--home-accent);
    backdrop-filter: blur(10px);
} 

/* Header with Gold Accents */
.home-page .main-header {
    background: rgba(10, 11, 20, 0.95);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Logo with Gold Gradient */
.home-page .logo a {
    background: linear-gradient(135deg, #FFD700, #B8860B);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

/* Navigation Links with Gold Accents */
.home-page .nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

.home-page .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FFD700, #B8860B);
    transition: width 0.3s ease;
}

.home-page .nav-menu a:hover,
.home-page .nav-menu a.active {
    color: #FFD700;
}

/* Navigation Buttons */
.home-page .nav-button {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.home-page .nav-button:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.3);
}

.home-page .nav-button.highlight {
    background: linear-gradient(135deg, #FFD700, #B8860B);
    border: none;
    color: #0A0B14;
}

.home-page .nav-button.highlight:hover {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* Update Heading Styles for Home Page */
.home-page h2 {
    background: linear-gradient(135deg, #FFD700, #B8860B);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.home-page h3 {
    background: linear-gradient(135deg, #FFD700, #B8860B);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.15);
}

/* Section Headers with Gold Accents */
.home-page section h2.gradient-text {
    background: linear-gradient(135deg, #FFD700, #B8860B);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

/* Card Headers */
.home-page .agent-card h3,
.home-page .benefit-item h3,
.home-page .workflow-card h3 {
    background: linear-gradient(135deg, #FFD700, #B8860B);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.15);
}

/* Add subtle animation to headings */
.home-page h2,
.home-page h3 {
    position: relative;
}

.home-page h2::after,
.home-page h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 215, 0, 0.2),
        transparent
    );
}

/* Hover effects for interactive elements */
.home-page .nav-menu a:hover::after {
    width: 100%;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
} 

/* Mobile Menu Styles - Updated */
@media (max-width: 768px) {
    .nav-container {
        padding: 0.5rem 1rem;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 60px);
        background: var(--surface-dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 0.8rem 0;
        width: 100%;
    }

    .user-menu {
        width: 100%;
    }

    .user-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 100%;
        margin-top: 1rem;
        box-shadow: none;
        display: block;
    }
}

/* Fix for broken links */
.page-not-found {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.page-not-found h1 {
    margin-bottom: 1rem;
}

.page-not-found a {
    color: var(--primary-accent);
    text-decoration: none;
    margin-top: 1rem;
}

/* Page Layout Consistency */
.page-hero {
    padding: 8rem 2rem 4rem;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Form Pages (Login/Signup) */
.auth-container {
    margin-top: 2rem;
    background: var(--surface-dark);
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* AI Agents Page Grid */
.agent-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

/* Mobile Navigation Improvements */
@media (max-width: 768px) {
    .nav-menu {
        background: var(--surface-dark);
        padding: 2rem;
        gap: 1rem;
    }

    .nav-menu a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }

    .page-hero {
        padding: 6rem 1rem 3rem;
        text-align: center;
    }

    .auth-container {
        margin: 1rem;
        padding: 1.5rem;
    }
}

/* Form Field Enhancements */
.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-light);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    width: 100%;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 2px var(--glow-color);
    outline: none;
}

/* Button Consistency */
.submit-button,
.auth-button {
    background: var(--gradient-main);
    color: var(--text-light);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.submit-button:hover,
.auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--glow-color);
}

/* Card Hover Effects */
.agent-card:hover,
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--glow-color);
}

/* Loading States */
.loading {
    position: relative;
    opacity: 0.7;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 2px solid var(--text-light);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Error States */
.error-message {
    color: #EF4444;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Success States */
.success-message {
    color: #10B981;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Tooltip Improvements */
[data-tooltip] {
    position: relative;
}

[data-tooltip]:hover::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    background: var(--surface-dark);
    color: var(--text-light);
    font-size: 0.9rem;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 10;
}

/* Section Spacing */
section:not(:first-child) {
    margin-top: 4rem;
}

/* Footer Improvements */
.main-footer {
    margin-top: 6rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

/* Breadcrumb Navigation */
.breadcrumb {
    padding: 1rem 2rem;
    color: var(--text-light);
    opacity: 0.7;
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary-accent);
}

/* About Page and Contact Page Layout */
.about-content,
.contact-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

/* About Page Specific */
.about-hero {
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.about-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 2rem;
}

/* Contact Page Specific */
.contact-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.contact-form {
    background: var(--surface-dark);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.contact-options {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.option-card {
    background: var(--surface-dark);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--glow-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .about-content,
    .contact-content {
        padding: 1rem;
    }

    .about-section,
    .contact-section {
        padding: 3rem 1rem;
    }

    .team-grid,
    .options-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .contact-form {
        padding: 1.5rem;
        margin: 1rem;
    }
}

/* Form Spacing */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* Contact Info Styling */
.contact-info {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 1rem auto;
}

/* About Page Feature List */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--surface-dark);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.feature-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--glow-color);
}

.feature-list i {
    font-size: 1.5rem;
    color: var(--primary-accent);
    background: rgba(79, 70, 229, 0.1);
    padding: 1rem;
    border-radius: 12px;
}

.feature-list h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.feature-list p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Vision Box */
.vision-box {
    background: var(--surface-dark);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid var(--border-light);
    text-align: left;
}

/* Team Members */
.team-member {
    background: var(--surface-dark);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--glow-color);
}

.member-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-accent);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-role {
    color: var(--primary-accent);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.member-bio {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Features Split Section */
.features-split .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.features-column h3 {
    margin-bottom: 2rem;
    color: var(--primary-accent);
    font-size: 1.5rem;
}

/* Mobile Controls */
.mobile-controls {
    display: none;
}

.mobile-menu-button,
.view-all-button {
    display: none;
}

@media (max-width: 768px) {
    .mobile-controls {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .mobile-menu-button {
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: var(--text-light);
        padding: 0.5rem 1rem;
        border-radius: 8px;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .mobile-menu-button i {
        margin-right: 0.5rem;
    }

    .view-all-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 1rem 0;
        padding: 0.8rem;
        background: var(--home-gradient-accent);
        border: none;
        border-radius: 8px;
        color: var(--home-dark);
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .view-all-button i {
        margin-right: 0.5rem;
    }

    .view-all-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--surface-dark);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 5rem 2rem 2rem;
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(10px);
        animation: slideIn 0.3s forwards;
    }

    .nav-menu li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu li:nth-child(3) { animation-delay: 0.3s; }

    .nav-menu.expanded li {
        display: block;
        animation: slideIn 0.3s forwards;
    }

    @keyframes slideIn {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Home page specific mobile styles */
.home-page .mobile-menu-button {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.2);
}

.home-page .view-all-button {
    background: var(--home-gradient-accent);
    color: var(--home-dark);
}

/* Mobile Menu Styles */
.mobile-controls {
    display: none;
}

.mobile-menu-button {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-container {
        position: relative;
        padding: 1rem;
    }

    .mobile-controls {
        display: block;
    }

    .mobile-menu-button {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--surface-dark);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 5rem 2rem 2rem;
        z-index: 1001;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 0.8rem 0;
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 0.8rem;
        width: 100%;
        border-radius: 8px;
    }

    /* Home page specific mobile styles */
    .home-page .mobile-menu-button {
        background: rgba(255, 215, 0, 0.1);
        border-color: rgba(255, 215, 0, 0.2);
    }
}

/* Mobile Menu Button Positioning */
.nav-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
}

.logo-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-button {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-menu-button {
        display: flex;
        position: relative; /* Remove absolute positioning */
        transform: none; /* Remove transform */
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--surface-dark);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 5rem 2rem 2rem;
        z-index: 1001;
    }
}

/* Responsive Design */
:root {
    --mobile-padding: 1rem;
    --tablet-padding: 2rem;
    --desktop-padding: 4rem;
}

/* Base Mobile-First Design */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--mobile-padding);
}

/* Responsive Typography */
html {
    font-size: 14px; /* Base font size for mobile */
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* Responsive Grid Layouts */
.grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Responsive Header */
@media (max-width: 768px) {
    .nav-container {
        padding: 0.5rem var(--mobile-padding);
    }

    .logo-menu-group {
        width: 100%;
        justify-content: space-between;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--surface-dark);
        padding: 2rem var(--mobile-padding);
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav-menu.active {
        transform: translateX(0);
    }
}

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(11, 18, 32, 0.95);
        backdrop-filter: blur(10px);
        padding: 1rem;
    }
    
    .nav-menu.active li {
        margin: 0.5rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* Responsive Hero Section */
.hero {
    min-height: auto;
    padding: 6rem var(--mobile-padding) 4rem;
}

.hero h1.gradient-text {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    padding: 0 1rem;
}

.hero-cta {
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .hero {
        padding: 8rem var(--tablet-padding) 6rem;
    }

    .hero-cta {
        flex-direction: row;
    }
}

/* Responsive Grid Sections */
.agent-grid,
.benefits-grid,
.features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem var(--mobile-padding);
}

@media (min-width: 768px) {
    .agent-grid,
    .benefits-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 2rem var(--tablet-padding);
    }
}

@media (min-width: 1024px) {
    .agent-grid,
    .benefits-grid,
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 2rem var(--desktop-padding);
    }
}

/* Responsive Cards */
.agent-card,
.benefit-item,
.workflow-card {
    width: 100%;
    margin: 0 auto;
}

/* Responsive Stats Section */
.hero-stats {
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .hero-stats {
        flex-direction: row;
        justify-content: center;
    }
}

/* Responsive Footer */
.footer-content {
    padding: 2rem var(--mobile-padding);
}

.footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        padding: 4rem var(--tablet-padding);
    }

    .footer-links {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
    /* Add lazy loading to images */
    loading: lazy;
}

/* Responsive Forms */
.form-group {
    margin-bottom: 1.5rem;
}

input,
textarea,
select {
    width: 100%;
    padding: 0.8rem;
}

/* Responsive Buttons */
.cta-button {
    width: 100%;
    text-align: center;
}

@media (min-width: 768px) {
    .cta-button {
        width: auto;
    }
}

/* Responsive About Page */
.about-section {
    padding: 2rem var(--mobile-padding);
}

@media (min-width: 768px) {
    .about-section {
        padding: 4rem var(--tablet-padding);
    }
}

/* Responsive Contact Page */
.contact-section {
    padding: 2rem var(--mobile-padding);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-section {
        padding: 4rem var(--tablet-padding);
    }
}

/* Mobile Dropdown Menu */
.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--surface-dark);
    border-top: 1px solid var(--border-light);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.nav-dropdown.active {
    display: block;
}

.logo-menu-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem;
}

.mobile-menu-button {
    display: none;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

.has-submenu {
    position: relative;
}

.submenu-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.submenu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 768px) {
    .mobile-menu-button {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        padding: 1rem;
    }

    .nav-dropdown.active .nav-menu {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
        color: var(--text-light);
        text-decoration: none;
    }

    .has-submenu.active .submenu {
        display: block;
        background: rgba(255, 255, 255, 0.05);
        padding-left: 1rem;
    }

    .submenu li {
        border-bottom: none;
    }

    .submenu a {
        padding: 0.8rem 1rem;
    }

    .submenu-trigger i {
        transition: transform 0.3s ease;
    }

    .has-submenu.active .submenu-trigger i {
        transform: rotate(180deg);
    }

    /* Animation for dropdown */
    .nav-dropdown {
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .nav-dropdown.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    /* Slide animation for submenu items */
    .submenu li {
        opacity: 0;
        transform: translateX(-10px);
        transition: all 0.3s ease;
    }

    .has-submenu.active .submenu li {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Auth Options Section */
.auth-section {
    padding: 4rem 2rem;
    text-align: center;
}

.auth-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.auth-card {
    background: var(--surface-dark);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    flex: 1;
    max-width: 400px;
    transition: all 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--glow-color);
}

.auth-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--text-light);
}

.auth-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.auth-card .auth-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--gradient-main);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.auth-card .auth-button.highlight {
    background: var(--gradient-accent);
}

.auth-card .auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--glow-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-options {
        flex-direction: column;
        align-items: center;
    }

    .auth-card {
        width: 100%;
    }
}

/* Forgot Password Styles */
.auth-description {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.auth-form .form-group:last-of-type {
    margin-bottom: 2rem;
}

.auth-redirect {
    margin-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.auth-redirect a {
    color: var(--primary-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-redirect a:hover {
    color: var(--secondary-accent);
    text-decoration: underline;
}

/* Success Message Styles */
.success-message {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10B981;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: none;
}

.success-message.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Profile Page Styles */
.profile-page {
    padding: 2rem;
    max-width: 1200px;
    margin: 80px auto 0;
}

.profile-container {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-header {
    text-align: center;
    margin-bottom: 3rem;
}

.profile-avatar-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-light);
    overflow: hidden;
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.change-avatar-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-main);
    border: none;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.change-avatar-btn:hover {
    transform: scale(1.1);
}

.profile-email {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

.profile-content {
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-section h2 {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.25rem;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.save-button {
    background: var(--gradient-main);
    color: var(--text-light);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.save-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--glow-color);
}

.save-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.success-message {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10B981;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-page {
        padding: 1rem;
    }

    .profile-container {
        padding: 1.5rem;
    }

    .profile-avatar-container {
        width: 120px;
        height: 120px;
    }

    .form-section {
        padding: 1rem;
    }
}

/* Social Media Links Styles */
.social-links {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.social-input {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-input label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.social-input label i {
    width: 20px;
    color: var(--primary-accent);
}

.social-input input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.social-input input:focus {
    border-color: var(--primary-accent);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.social-input input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

@media (min-width: 768px) {
    .social-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* About Page Styles */
.about-page {
    padding-top: 80px;
}

.about-hero {
    background: var(--gradient-main);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, 
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.vision-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.team-section {
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-member {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-accent);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-container img {
    object-fit: contain;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
}

.member-role {
    color: var(--primary-accent);
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.member-bio {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about-hero {
        padding: 4rem 1rem;
    }

    .about-content {
        padding: 2rem 1rem;
    }

    .team-grid {
        gap: 2rem;
    }

    .member-photo {
        width: 150px;
        height: 150px;
    }
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
    position: relative;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-light);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text-light);
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Hamburger Animation */
.mobile-menu-toggle.active .hamburger {
    background: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
}

@media (max-width: 768px) {
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 1rem;
        position: relative;
    }

    .mobile-menu-toggle {
}

/* Mobile Menu Styles */
@media (max-width: 1280px) {
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 1rem;
        width: 100%;
    }

    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        z-index: 1002;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 60px);
        background: rgba(10, 11, 20, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        transition: all 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        margin: 0.5rem 0;
    }

    .nav-menu a {
        display: block;
        padding: 0.75rem 1rem;
        width: 100%;
        color: var(--text-light);
    }

    /* Hamburger Icon */
    .hamburger {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--text-light);
        position: relative;
        transition: all 0.3s ease;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--text-light);
        transition: all 0.3s ease;
    }

    .hamburger::before {
        top: -8px;
    }

    .hamburger::after {
        bottom: -8px;
    }

    /* Hamburger Animation */
    .mobile-menu-toggle.active .hamburger {
        background: transparent;
    }

    .mobile-menu-toggle.active .hamburger::before {
        top: 0;
        transform: rotate(45deg);
    }

    .mobile-menu-toggle.active .hamburger::after {
        bottom: 0;
        transform: rotate(-45deg);
    }

    /* User Menu Mobile Styles */
    .user-menu {
        width: 100%;
        margin: 1rem 0;
    }

    .user-dropdown {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 1rem;
        box-shadow: none;
        display: none;
    }

    .user-menu:hover .user-dropdown {
        display: block;
    }
}

/* Desktop Menu Styles */
@media (min-width: 1281px) {
    .mobile-menu-toggle {
        display: none;
    }

    .nav-menu {
        display: flex !important;
        position: static;
        width: auto;
        height: auto;
        background: none;
        padding: 0;
        box-shadow: none;
        overflow: visible;
    }

    .nav-menu li {
        opacity: 1;
        transform: none;
    }

    .menu-overlay {
        display: none !important;
    }
}