/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Premium AI/Tech Color Palette */
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --success-color: #10b981;
    --purple-accent: #8b5cf6;
    --text-dark: #0f172a;
    --text-medium: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    
    /* Premium Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.4);
    --shadow-glow-purple: 0 0 30px rgba(139, 92, 246, 0.4);
    
    /* Premium Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, rgba(102, 126, 234, 0.3) 0px, transparent 50%),
                      radial-gradient(at 80% 0%, rgba(124, 58, 237, 0.3) 0px, transparent 50%),
                      radial-gradient(at 0% 50%, rgba(37, 99, 235, 0.3) 0px, transparent 50%),
                      radial-gradient(at 80% 50%, rgba(139, 92, 246, 0.3) 0px, transparent 50%);
    
    /* Premium Transitions */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

@media (min-width: 1536px) {
    .container {
        max-width: 1400px;
    }
}

/* ========================================
   NAVIGATION - Premium Glass Effect
   ======================================== */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    min-height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: -0.02em;
    padding: 0.25rem 0;
    position: relative;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
    display: block;
    flex-shrink: 0;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    white-space: nowrap;
    position: relative;
    display: block;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo:hover .logo-img {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.4));
}

.logo:hover .logo-text {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* Mobile logo adjustments */
@media (max-width: 768px) {
    .logo-img {
        height: 42px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo {
        gap: 0.625rem;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 36px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .logo {
        gap: 0.5rem;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(124, 58, 237, 0.1));
    border-radius: 8px;
    opacity: 0;
    transition: var(--transition);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    opacity: 1;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 60%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* ========================================
   QUICK NAVIGATION SECTION
   ======================================== */
.quick-nav-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.quick-nav-header {
    text-align: center;
    margin-bottom: 50px;
}

.quick-nav-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.quick-nav-header p {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.quick-nav-card {
    background: white;
    border-radius: 16px;
    padding: 35px 30px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.quick-nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.quick-nav-card:hover::before {
    transform: scaleX(1);
}

.quick-nav-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.quick-nav-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.quick-nav-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.quick-nav-card p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.card-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    align-self: flex-end;
    transition: all 0.3s ease;
}

.quick-nav-card:hover .card-arrow {
    transform: translateX(8px);
}

/* Card-specific colors */
.quick-nav-card.about-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
}

.quick-nav-card.about-card:hover .card-icon {
    background: rgba(59, 130, 246, 0.15);
}

.quick-nav-card.solutions-card:hover {
    border-color: rgba(16, 185, 129, 0.5);
}

.quick-nav-card.solutions-card:hover .card-icon {
    background: rgba(16, 185, 129, 0.15);
}

.quick-nav-card.llm-card:hover {
    border-color: rgba(139, 92, 246, 0.5);
}

.quick-nav-card.llm-card:hover .card-icon {
    background: rgba(139, 92, 246, 0.15);
}

.quick-nav-card.cloud-card:hover {
    border-color: rgba(37, 99, 235, 0.5);
}

.quick-nav-card.cloud-card:hover .card-icon {
    background: rgba(37, 99, 235, 0.15);
}

.quick-nav-card.contact-card:hover {
    border-color: rgba(234, 88, 12, 0.5);
}

.quick-nav-card.contact-card:hover .card-icon {
    background: rgba(234, 88, 12, 0.15);
}

.quick-nav-card.demo-card:hover {
    border-color: rgba(220, 38, 38, 0.5);
}

.quick-nav-card.demo-card:hover .card-icon {
    background: rgba(220, 38, 38, 0.15);
}

.quick-nav-footer {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 12px;
    border: 2px solid rgba(102, 126, 234, 0.1);
}

.quick-nav-footer p {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin: 0;
}

.quick-nav-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

.quick-nav-footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.quick-nav-footer a:hover::after {
    transform: scaleX(1);
}

/* Dark Mode Support */
.dark-mode .quick-nav-section {
    background: linear-gradient(to bottom, #0f172a 0%, #1e293b 100%);
}

.dark-mode .quick-nav-card {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .quick-nav-card:hover {
    background: rgba(51, 65, 85, 0.9);
    border-color: rgba(102, 126, 234, 0.5);
}

.dark-mode .quick-nav-card h3 {
    color: #e2e8f0;
}

.dark-mode .quick-nav-card p {
    color: #cbd5e1;
}

.dark-mode .quick-nav-footer {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.2);
}

.dark-mode .quick-nav-footer p {
    color: #e2e8f0;
}

/* Responsive */
@media (max-width: 768px) {
    .quick-nav-section {
        padding: 50px 0;
    }
    
    .quick-nav-header h2 {
        font-size: 2rem;
    }
    
    .quick-nav-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .quick-nav-card {
        padding: 25px 20px;
    }
}

/* ========================================
   HERO SECTION - Premium with Animated Gradient
   ======================================== */
.hero {
    background: var(--gradient-hero);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: white;
    padding: 10rem 0 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: floatBubbles 20s ease-in-out infinite;
}

@keyframes floatBubbles {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(248, 250, 252, 1), transparent);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.8s ease both;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* ========================================
   BUTTONS - Premium Design
   ======================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--bg-white);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--bg-white);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ========================================
   AI INNOVATION SECTION
   ======================================== */
.ai-innovation-section {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.1);
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.ai-innovation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
    animation: floatBubbles 20s ease-in-out infinite;
}

.ai-innovation-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0px, transparent 2px, transparent 40px, rgba(255, 255, 255, 0.03) 42px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0px, transparent 2px, transparent 40px, rgba(255, 255, 255, 0.03) 42px);
    pointer-events: none;
    opacity: 0.5;
}

.innovation-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.innovation-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease, pulse 3s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 255, 255, 0.3);
    }
}

.ai-innovation-section .section-title {
    color: white !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease 0.2s both;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.innovation-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    font-weight: 400;
    animation: fadeInUp 0.8s ease 0.4s both;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tech-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.tech-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease backwards;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.tech-card:nth-child(1) { animation-delay: 0.5s; }
.tech-card:nth-child(2) { animation-delay: 0.6s; }
.tech-card:nth-child(3) { animation-delay: 0.7s; }
.tech-card:nth-child(4) { animation-delay: 0.8s; }

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.tech-card:hover::before {
    transform: translateX(100%);
}

.tech-card:hover {
    transform: translateY(-10px) scale(1.03);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 255, 255, 0.2);
}

.tech-logo {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
}

.tech-card h4 {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.tech-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.tech-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 0.75rem;
    color: white;
    font-weight: 600;
}

/* Learn More Link - Fantastic Style */
.tech-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.5rem;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.95);
    color: #1f2937;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tech-card a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.tech-card a:hover::before {
    left: 100%;
}

.tech-card a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: white;
    color: #667eea;
}

.tech-card a::after {
    content: '→';
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.tech-card a:hover::after {
    transform: translateX(5px);
}

/* Specific colors for each card's learn more button */
.tech-card.aws a:hover {
    color: #FF9900;
    box-shadow: 0 8px 25px rgba(255, 153, 0, 0.3);
}

.tech-card.azure a:hover {
    color: #0078D4;
    box-shadow: 0 8px 25px rgba(0, 120, 212, 0.3);
}

.tech-card.gcp a:hover {
    color: #4285F4;
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.3);
}

.tech-card.langchain a:hover {
    color: #10b981;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.tech-card.llamaindex a:hover {
    color: #8b5cf6;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

/* Pulse animation for learn more */
@keyframes learnMorePulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 255, 255, 0.4);
    }
}

.tech-card a {
    animation: learnMorePulse 3s ease-in-out infinite;
}

/* New Expanded Tech Cards */
.tech-showcase-new {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
    margin-top: 40px;
    margin-bottom: 4rem;
}

.tech-card-expanded {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tech-card-expanded:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.tech-card-expanded.aws-card {
    border-color: rgba(255, 153, 0, 0.3);
}

.tech-card-expanded.aws-card:hover {
    border-color: rgba(255, 153, 0, 0.6);
    background: rgba(255, 246, 230, 0.95);
}

.tech-card-expanded.azure-card {
    border-color: rgba(0, 120, 212, 0.3);
}

.tech-card-expanded.azure-card:hover {
    border-color: rgba(0, 120, 212, 0.6);
    background: rgba(230, 243, 255, 0.95);
}

.tech-card-expanded.gcp-card {
    border-color: rgba(66, 133, 244, 0.3);
}

.tech-card-expanded.gcp-card:hover {
    border-color: rgba(66, 133, 244, 0.6);
    background: rgba(232, 240, 254, 0.95);
}

.tech-card-expanded.langchain-card {
    border-color: rgba(16, 185, 129, 0.3);
}

.tech-card-expanded.langchain-card:hover {
    border-color: rgba(16, 185, 129, 0.6);
    background: rgba(236, 253, 245, 0.95);
}

.tech-card-expanded.llamaindex-card {
    border-color: rgba(139, 92, 246, 0.3);
}

.tech-card-expanded.llamaindex-card:hover {
    border-color: rgba(139, 92, 246, 0.6);
    background: rgba(245, 243, 255, 0.95);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.tech-logo-large {
    font-size: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.card-content {
    margin-bottom: 25px;
}

.card-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.feature-list li {
    padding: 10px 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list strong {
    color: var(--primary-color);
}

.tech-details-new {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.tech-tag-new {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.learn-more-btn-expanded {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.learn-more-btn-expanded:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
}

.learn-more-btn-expanded.aws-btn {
    background: linear-gradient(135deg, #FF9900 0%, #FF6600 100%);
}

.learn-more-btn-expanded.azure-btn {
    background: linear-gradient(135deg, #0078D4 0%, #0053A6 100%);
}

.learn-more-btn-expanded.gcp-btn {
    background: linear-gradient(135deg, #4285F4 0%, #1a73e8 100%);
}

.learn-more-btn-expanded.langchain-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.learn-more-btn-expanded.llamaindex-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

/* Featured Large Cards */
.feature-card.featured-large {
    grid-column: span 1;
    padding: 40px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.feature-icon-large {
    font-size: 4rem;
    margin-bottom: 20px;
}

.feature-benefits {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.feature-benefits li {
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--text-medium);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-benefits li:last-child {
    border-bottom: none;
}

/* Dark Mode Support for New Cards */
.dark-mode .tech-card-expanded {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .tech-card-expanded:hover {
    background: rgba(51, 65, 85, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
}

.dark-mode .card-header h3,
.dark-mode .card-description,
.dark-mode .feature-list li {
    color: #e2e8f0 !important;
}

.dark-mode .feature-card.featured-large {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

/* RAG Diagram Styles */
.rag-diagram-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px 30px;
    margin: 60px 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.diagram-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.rag-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.rag-query-flow {
    margin-top: 40px;
    margin-bottom: 0;
}

.rag-step {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 25px 20px;
    min-width: 160px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.rag-step:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.rag-step .step-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    display: block;
}

.rag-step .step-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}

.query-step .step-label {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.rag-step h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.rag-step p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    line-height: 1.4;
}

.flow-arrow {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: bold;
}

@media (max-width: 1200px) {
    .rag-flow {
        flex-direction: column;
        gap: 20px;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
}

.innovation-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 255, 255, 0.3);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* ========================================
   FEATURES SECTION - Glassmorphism Cards
   ======================================== */
.features {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 4rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    position: relative;
    display: block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-slow);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.3);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.feature-card:nth-child(1) .feature-icon { animation-delay: 0s; }
.feature-card:nth-child(2) .feature-icon { animation-delay: 0.3s; }
.feature-card:nth-child(3) .feature-icon { animation-delay: 0.6s; }
.feature-card:nth-child(4) .feature-icon { animation-delay: 0.9s; }

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

.feature-learn-more {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.feature-learn-more:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
}

.dark-mode .feature-learn-more {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

/* Consolidated Features Grid */
.features-grid-consolidated {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card-main {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card-main:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.feature-card-main .feature-icon-large {
    font-size: 4rem;
    margin-bottom: 20px;
}

.feature-card-main h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
}

.feature-card-main p {
    color: #334155;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1rem;
}

.feature-benefits {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 20px;
}

.feature-benefits li {
    padding: 8px 0;
    color: #334155;
    font-size: 0.95rem;
}

.dark-mode .feature-card-main {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .feature-card-main:hover {
    background: rgba(51, 65, 85, 0.95);
    border-color: rgba(102, 126, 234, 0.5);
}

.dark-mode .feature-card-main h3 {
    color: #ffffff;
}

.dark-mode .feature-card-main p,
.dark-mode .feature-benefits li {
    color: #e2e8f0;
}

/* Bot Selector Section */
.bot-selector-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
}

.bot-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.bot-selector-card {
    background: white;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    cursor: pointer;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bot-selector-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.bot-selector-card:hover::before {
    transform: scaleX(1);
}

.bot-selector-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.bot-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    display: block;
}

.bot-selector-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.bot-selector-card p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.bot-arrow {
    color: #667eea;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.bot-selector-card:hover .bot-arrow {
    transform: translateX(8px);
    color: #764ba2;
}

.dark-mode .bot-selector-section {
    background: linear-gradient(to bottom, #0f172a 0%, #1e293b 100%);
}

.dark-mode .bot-selector-card {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .bot-selector-card:hover {
    background: rgba(51, 65, 85, 0.95);
    border-color: rgba(102, 126, 234, 0.5);
}

.dark-mode .bot-selector-card h3 {
    color: #ffffff;
}

.dark-mode .bot-selector-card p {
    color: #cbd5e1;
}

/* ========================================
   INTERACTIVE DEMO SECTION
   ======================================== */
.demo-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
}

.demo-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-medium);
    margin-top: -2rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.demo-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.demo-chat-window {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.demo-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.demo-avatar {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.demo-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.demo-status {
    margin: 4px 0 0;
    font-size: 0.85rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 6px;
}

.demo-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: blink 2s infinite;
}

.demo-messages {
    height: 350px;
    overflow-y: auto;
    padding: 24px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.demo-message {
    display: flex;
    animation: fadeInUp 0.4s ease;
}

.demo-message.bot-msg {
    justify-content: flex-start;
}

.demo-message.user-msg {
    justify-content: flex-end;
}

.msg-content {
    max-width: 85%;
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.bot-msg .msg-content {
    background: white;
    color: #1f2937;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-bottom-left-radius: 4px;
}

.user-msg .msg-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom-right-radius: 4px;
}

.msg-content ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}

.msg-content li {
    margin: 4px 0;
}

.demo-quick-questions {
    padding: 16px 24px;
    background: white;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.demo-quick-btn {
    padding: 8px 14px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

.demo-quick-btn:hover {
    background: #e0e7ff;
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-1px);
}

.demo-input-area {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    background: white;
    border-top: 1px solid #e2e8f0;
}

#demoInput {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

#demoInput:focus {
    outline: none;
    border-color: #667eea;
}

#demoSend {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

#demoSend:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.demo-features {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.demo-features h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.demo-feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.demo-feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.feature-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
}

.demo-feature-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.demo-feature-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.demo-cta {
    background: linear-gradient(135deg, #e0e7ff 0%, #ddd6fe 100%);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
}

.demo-cta p {
    margin: 0 0 1rem;
    color: var(--text-dark);
}

.demo-cta .btn {
    margin: 0;
}

@media (max-width: 1024px) {
    .demo-container {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   CTA SECTION - Premium with Animation
   ======================================== */
.cta {
    background: var(--gradient-accent);
    background-size: 200% 200%;
    animation: gradientShift 12s ease infinite;
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.15) 0%, transparent 30%);
    animation: rotateBackground 30s linear infinite;
}

@keyframes rotateBackground {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.cta p {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.cta .btn {
    position: relative;
    z-index: 1;
}

/* ========================================
   FOOTER - Modern Premium Design
   ======================================== */
.footer {
    background: linear-gradient(to bottom, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 4rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.footer-logo-img {
    height: 55px;
    width: auto;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
    transition: var(--transition);
    display: block;
    flex-shrink: 0;
    object-fit: contain;
}

.footer-logo:hover {
    transform: translateY(-2px);
}

.footer-logo:hover .footer-logo-img {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 12px rgba(139, 92, 246, 0.5));
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.dark-mode .footer-section h3 {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-section a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* ========================================
   ANIMATIONS - Premium Micro-Interactions
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

/* ========================================
   DARK MODE
   ======================================== */
.dark-mode-toggle {
    position: fixed;
    top: 100px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.dark-mode-toggle .sun-icon {
    color: #f59e0b;
}

.dark-mode-toggle .moon-icon {
    display: none;
    color: #6366f1;
}

.dark-mode .dark-mode-toggle {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

.dark-mode .dark-mode-toggle .sun-icon {
    display: none;
}

.dark-mode .dark-mode-toggle .moon-icon {
    display: block;
}

/* Dark Mode Styles */
.dark-mode {
    --text-dark: #f1f5f9;
    --text-medium: #cbd5e1;
    --text-light: #94a3b8;
    --bg-light: #1e293b;
    --bg-white: #0f172a;
    --border-color: #334155;
}

.dark-mode body {
    background: linear-gradient(to bottom, #0f172a 0%, #1e293b 100%);
    color: #f1f5f9;
}

.dark-mode body::before {
    opacity: 0.2;
}

.dark-mode .navbar {
    background: rgba(15, 23, 42, 0.8);
    border-bottom-color: rgba(71, 85, 105, 0.5);
}

/* Enhanced Dark Mode Text Readability */
.dark-mode body {
    color: #ffffff !important;
}

.dark-mode h1, .dark-mode h2, .dark-mode h3, .dark-mode h4, .dark-mode h5, .dark-mode h6 {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.dark-mode p:not([style*="color"]) {
    color: #e2e8f0 !important;
}

.dark-mode .section-title {
    color: #ffffff !important;
}

.dark-mode .innovation-subtitle,
.dark-mode .section-subtitle {
    color: #cbd5e1 !important;
}

.dark-mode .feature-card p,
.dark-mode .service-card p {
    color: #cbd5e1 !important;
}

.dark-mode .tech-card p {
    color: rgba(255, 255, 255, 0.95) !important;
}

.dark-mode .cloud-desc {
    color: #cbd5e1 !important;
}

.dark-mode .nav-menu a {
    color: #cbd5e1;
}

.dark-mode .nav-menu a:hover,
.dark-mode .nav-menu a.active {
    color: #a78bfa;
}

.dark-mode .feature-card,
.dark-mode .value-card,
.dark-mode .service-card {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(71, 85, 105, 0.3);
}

.dark-mode .footer {
    background: linear-gradient(to bottom, #0f172a 0%, #020617 100%);
}

/* Dark mode logo adjustments */
.dark-mode .logo-img {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4)) brightness(1.15);
}

.dark-mode .logo:hover .logo-img {
    filter: drop-shadow(0 4px 12px rgba(139, 92, 246, 0.6)) brightness(1.25);
}

/* Enhanced logo text gradient in dark mode */
.dark-mode .logo-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .logo:hover .logo-text {
    background: linear-gradient(135deg, #93c5fd 0%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .footer-logo-img {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5)) brightness(1.15);
}

.dark-mode .footer-logo:hover .footer-logo-img {
    filter: drop-shadow(0 4px 12px rgba(139, 92, 246, 0.7)) brightness(1.25);
}


/* Dark Mode - Section Titles Fix */
.dark-mode .section-title {
    color: #f1f5f9 !important;
}

.dark-mode .hero-title {
    color: white !important;
}

.dark-mode .features {
    background: linear-gradient(to bottom, #1e293b 0%, #0f172a 100%);
}

.dark-mode .demo-section {
    background: linear-gradient(to bottom, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.dark-mode .demo-section .section-title,
.dark-mode .demo-features h3 {
    color: #f1f5f9 !important;
}

.dark-mode .demo-subtitle {
    color: #cbd5e1;
}

.dark-mode .demo-features {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(71, 85, 105, 0.5);
}

.dark-mode .demo-chat-window {
    background: #1e293b;
    border-color: rgba(71, 85, 105, 0.5);
}

.dark-mode .demo-messages {
    background: #0f172a;
}

.dark-mode .bot-msg .msg-content {
    background: #1e293b;
    color: #f1f5f9;
}

.dark-mode #demoInput,
.dark-mode .demo-input-area,
.dark-mode .demo-quick-questions {
    background: #1e293b;
    border-color: rgba(71, 85, 105, 0.5);
    color: #f1f5f9;
}

.dark-mode .demo-quick-btn {
    background: rgba(71, 85, 105, 0.3);
    border-color: rgba(71, 85, 105, 0.5);
    color: #cbd5e1;
}

.dark-mode .demo-quick-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: #a78bfa;
    color: #c4b5fd;
}

.dark-mode .feature-card h3,
.dark-mode .demo-feature-item strong {
    color: #f1f5f9 !important;
}

.dark-mode .feature-card p,
.dark-mode .demo-feature-item p {
    color: #cbd5e1;
}

.dark-mode .demo-cta {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(167, 139, 250, 0.2) 100%);
}

.dark-mode .demo-cta p strong {
    color: #f1f5f9;
}

/* ========================================
   LIVE STATS BAR
   ======================================== */
.live-stats-bar {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(139, 92, 246, 0.3);
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
}

.live-stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.2), transparent);
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.live-stats-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.live-stats-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(139, 92, 246, 0.5);
}

.stat-item.updating {
    animation: statPulse 0.5s ease;
}

@keyframes statPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.stat-icon {
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.stat-text {
    color: rgba(255, 255, 255, 0.95);
    white-space: nowrap;
}

.stat-text strong {
    font-weight: 700;
    margin: 0 4px;
    color: white;
    background: linear-gradient(135deg, #a78bfa, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Dark Mode Stats Bar */
.dark-mode .live-stats-bar {
    background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
    border-color: rgba(167, 139, 250, 0.3);
}

/* Responsive Stats Bar */
@media (max-width: 1200px) {
    .live-stats-content {
        gap: 1.5rem;
    }
    
    .stat-item {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}

@media (max-width: 768px) {
    /* Stats Bar */
    .live-stats-bar {
        padding: 16px 0;
    }
    
    .live-stats-content {
        gap: 1rem;
    }
    
    .stat-item {
        font-size: 0.8rem;
        padding: 6px 10px;
        gap: 6px;
    }
    
    .stat-icon {
        font-size: 1rem;
    }
    
    /* AI Innovation Section */
    .ai-innovation-section {
        padding: 4rem 0 3rem;
    }

    .innovation-header {
        margin-bottom: 2.5rem;
    }

    .ai-innovation-section .section-title {
        font-size: 2rem;
        line-height: 1.3;
        padding: 0 1rem;
    }
    
    .innovation-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .tech-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .innovation-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-xl);
        display: none;
        gap: 0.5rem;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .nav-menu.active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-menu li {
        padding: 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
        border-radius: 12px;
    }

    /* Hero Section */
    .hero {
        padding: 6rem 0 5rem;
    }

    .hero-title {
        font-size: 2.75rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }

    /* General */
    .section-title {
        font-size: 2.25rem;
    }

    .features {
        padding: 4rem 0;
    }
    
    .features-grid {
        gap: 2rem;
    }
    
    .demo-section {
        padding: 4rem 0;
    }

    .cta {
        padding: 4rem 0;
    }

    .cta h2 {
        font-size: 2.25rem;
    }
    
    .cta p {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .stat-text {
        white-space: normal;
        text-align: center;
    }
}

.stat-item.trusted {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(99, 102, 241, 0.3));
    border: 1px solid rgba(167, 139, 250, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4);
    }
    50% { 
        box-shadow: 0 0 20px 5px rgba(139, 92, 246, 0.2);
    }
}

/* ========================================
   RESPONSIVE DESIGN - Mobile-First Premium
   ======================================== */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .tech-showcase {
        grid-template-columns: repeat(2, 1fr);
    }

    .innovation-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .ai-innovation-section {
        padding: 4rem 0 3rem;
    }

    .innovation-header {
        margin-bottom: 2.5rem;
    }

    .ai-innovation-section .section-title {
        font-size: 2rem;
        line-height: 1.3;
        padding: 0 1rem;
    }
    
    .innovation-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .tech-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .innovation-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-xl);
        display: none;
        gap: 0.5rem;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .nav-menu.active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-menu li {
        padding: 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
        border-radius: 12px;
    }

    .hero {
        padding: 6rem 0 5rem;
    }

    .hero-title {
        font-size: 2.75rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .ai-innovation-section {
        padding: 4rem 0 3rem;
    }
    
    .features {
        padding: 4rem 0;
    }
    
    .demo-section {
        padding: 4rem 0;
    }
    
    .features-grid {
        gap: 2rem;
    }

    .cta {
        padding: 4rem 0;
    }

    .cta h2 {
        font-size: 2.25rem;
    }
    
    .cta p {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
        padding: 0 0.5rem;
    }
    
    .ai-innovation-section .section-title {
        font-size: 1.75rem;
    }
    
    .innovation-subtitle {
        font-size: 0.9rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .cta h2 {
        font-size: 1.875rem;
    }
    
    .tech-showcase {
        gap: 1rem;
    }
    
    .innovation-stats {
        gap: 1rem;
    }
}

