/* AI Tools Hub - Advanced Professional Design */

/* Sophisticated AI-focused color palette */
:root {
    /* Primary colors - representing innovation and trust */
    --ai-primary: #2563eb;          /* Professional blue - trust and reliability */
    --ai-secondary: #7c3aed;        /* Intelligent purple - AI and innovation */
    --ai-accent: #059669;           /* Success green - growth and achievements */
    --ai-warning: #d97706;          /* Attention amber - premium and highlights */
    
    /* Background hierarchy - depth and sophistication */
    --ai-dark-primary: #0f172a;     /* Deep space navy - main backgrounds */
    --ai-dark-secondary: #1e293b;   /* Slate gray - secondary backgrounds */
    --ai-dark-tertiary: #334155;    /* Medium slate - card backgrounds */
    
    /* Text and interface elements */
    --ai-text-primary: #f8fafc;     /* Pure white text - high contrast */
    --ai-text-secondary: #e2e8f0;   /* Light gray - secondary text */
    --ai-text-muted: #94a3b8;       /* Muted gray - disabled text */
    --ai-border: #475569;           /* Border color - subtle separation */
    
    /* Advanced gradient system */
    --ai-gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #475569 100%);
    --ai-gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #059669 100%);
    --ai-gradient-accent: linear-gradient(90deg, #2563eb, #7c3aed, #059669, #d97706);
    --ai-gradient-card: linear-gradient(145deg, rgba(37, 99, 235, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);
    --ai-gradient-subtle: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    
    /* Neural network pattern - sophisticated AI aesthetic */
    --neural-bg: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='neural-grad' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%232563eb;stop-opacity:0.1' /%3E%3Cstop offset='50%25' style='stop-color:%237c3aed;stop-opacity:0.05' /%3E%3Cstop offset='100%25' style='stop-color:%23059669;stop-opacity:0.1' /%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='none' stroke='url(%23neural-grad)' stroke-width='0.8'%3E%3C!-- Neural connections --%3E%3Cpath d='M10,10 L90,90 M90,10 L10,90 M50,5 L50,95 M5,50 L95,50' opacity='0.3'/%3E%3Cpath d='M25,25 L75,75 M75,25 L25,75' opacity='0.2'/%3E%3C!-- Neural nodes --%3E%3Ccircle cx='10' cy='10' r='2' fill='%232563eb' opacity='0.4'/%3E%3Ccircle cx='90' cy='10' r='2' fill='%237c3aed' opacity='0.4'/%3E%3Ccircle cx='10' cy='90' r='2' fill='%23059669' opacity='0.4'/%3E%3Ccircle cx='90' cy='90' r='2' fill='%23d97706' opacity='0.4'/%3E%3Ccircle cx='50' cy='50' r='3' fill='%232563eb' opacity='0.6'/%3E%3C!-- Data flow indicators --%3E%3Ccircle cx='25' cy='25' r='1.5' fill='%237c3aed' opacity='0.3'%3E%3Canimate attributeName='opacity' values='0.3;0.8;0.3' dur='3s' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='75' cy='75' r='1.5' fill='%23059669' opacity='0.3'%3E%3Canimate attributeName='opacity' values='0.3;0.8;0.3' dur='4s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E");
    
    /* Glassmorphism and depth effects */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --glass-shadow-hover: 0 20px 60px rgba(37, 99, 235, 0.2);
    
    /* Animation and interaction */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Global styles with AI theme */
body {
    background: var(--ai-gradient-hero);
    background-attachment: fixed;
    color: var(--ai-text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    position: relative;
    min-height: 100vh;
}

/* Neural network overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--neural-bg);
    opacity: 0.6;
    pointer-events: none;
    z-index: -1;
    animation: neural-flow 30s linear infinite;
}

@keyframes neural-flow {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-10px, -10px) rotate(90deg); }
    50% { transform: translate(-20px, 0) rotate(180deg); }
    75% { transform: translate(-10px, 10px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* AI Performance Dashboard Hero Section */
.ai-performance-hero {
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(30, 41, 59, 0.9) 25%, 
        rgba(51, 65, 85, 0.85) 50%, 
        rgba(71, 85, 105, 0.9) 75%, 
        rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(37, 99, 235, 0.3);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 80px rgba(37, 99, 235, 0.1);
    position: relative;
    z-index: 1;
}

.ai-performance-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(5, 150, 105, 0.2) 0%, transparent 50%);
    z-index: -3;
    animation: performance-glow 8s ease-in-out infinite alternate;
}

.ai-performance-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        /* Circuit board pattern */
        linear-gradient(90deg, rgba(37, 99, 235, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(37, 99, 235, 0.1) 1px, transparent 1px),
        /* Neural network connections */
        radial-gradient(circle at 10% 20%, rgba(124, 58, 237, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 90% 80%, rgba(5, 150, 105, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 70% 30%, rgba(217, 119, 6, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 30% 70%, rgba(37, 99, 235, 0.4) 1px, transparent 1px);
    background-size: 
        50px 50px,
        50px 50px,
        100px 100px,
        100px 100px,
        80px 80px,
        120px 120px;
    opacity: 0.6;
    z-index: -2;
    animation: circuit-flow 15s linear infinite;
}

/* Floating AI chips animation */
.ai-performance-hero .ai-chip {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, #00f5ff, #2563eb);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
    animation: float-chip 10s infinite linear;
    z-index: -1;
}

.ai-performance-hero .ai-chip:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.ai-performance-hero .ai-chip:nth-child(2) {
    top: 20%;
    right: 10%;
    animation-delay: 2s;
    animation-duration: 12s;
}

.ai-performance-hero .ai-chip:nth-child(3) {
    bottom: 15%;
    left: 15%;
    animation-delay: 4s;
    animation-duration: 10s;
}

.ai-performance-hero .ai-chip:nth-child(4) {
    bottom: 25%;
    right: 20%;
    animation-delay: 6s;
    animation-duration: 14s;
}

@keyframes performance-glow {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05) rotate(180deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(360deg);
        opacity: 0.8;
    }
}

@keyframes circuit-flow {
    0% {
        background-position: 0px 0px, 0px 0px, 0px 0px, 0px 0px, 0px 0px, 0px 0px;
    }
    100% {
        background-position: 50px 50px, 50px 50px, 100px 100px, 100px 100px, 80px 80px, 120px 120px;
    }
}

@keyframes float-chip {
    0% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-10px) translateX(5px) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-5px) translateX(-5px) rotate(180deg);
        opacity: 1;
    }
    75% {
        transform: translateY(-15px) translateX(3px) rotate(270deg);
        opacity: 0.6;
    }
    100% {
        transform: translateY(0px) translateX(0px) rotate(360deg);
        opacity: 0.4;
    }
}

/* Enhanced title with AI glow effect */
.ai-performance-hero h1 {
    background: linear-gradient(135deg, #00f5ff, #2563eb, #7c3aed, #059669);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: ai-title-glow 4s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(0, 245, 255, 0.3);
    position: relative;
    z-index: 2;
}

@keyframes ai-title-glow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Neural Network SVG Overlay */
.neural-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.8;
    pointer-events: none;
}

.neural-path {
    stroke-dasharray: 0, 1000;
    filter: drop-shadow(0 0 8px rgba(0, 245, 255, 0.4));
}

/* Enhanced badge styling */
.ai-performance-hero .badge {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.ai-performance-hero .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Data flow particles */
.ai-performance-hero::after {
    background-image: 
        /* Circuit board pattern */
        linear-gradient(90deg, rgba(37, 99, 235, 0.15) 1px, transparent 1px),
        linear-gradient(rgba(37, 99, 235, 0.15) 1px, transparent 1px),
        /* AI chip patterns */
        radial-gradient(circle at 15% 25%, rgba(0, 245, 255, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 85% 75%, rgba(124, 58, 237, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 65% 35%, rgba(5, 150, 105, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 35% 85%, rgba(217, 119, 6, 0.3) 2px, transparent 2px),
        /* Data stream lines */
        linear-gradient(45deg, transparent 40%, rgba(0, 245, 255, 0.1) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(124, 58, 237, 0.1) 50%, transparent 60%);
    background-size: 
        60px 60px,
        60px 60px,
        120px 120px,
        120px 120px,
        100px 100px,
        140px 140px,
        200px 200px,
        200px 200px;
}

/* Enhanced hero section with animations */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #475569 75%, #64748b 100%);
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(96, 165, 250, 0.2);
    box-shadow: 0 0 50px rgba(96, 165, 250, 0.1), inset 0 0 50px rgba(96, 165, 250, 0.05);
}

/* Hero Animation Container */
.hero-animation-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

/* Flowing Particles */
.flowing-particles::before,
.flowing-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #2563eb, #7c3aed);
    border-radius: 50%;
    animation: float-particles 8s linear infinite;
}

.flowing-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.6);
}

.flowing-particles::after {
    top: 70%;
    right: 15%;
    animation-delay: 4s;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.6);
}

@keyframes float-particles {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
    25% { transform: translateY(-20px) rotate(90deg); opacity: 0.8; }
    50% { transform: translateY(-10px) rotate(180deg); opacity: 0.6; }
    75% { transform: translateY(-30px) rotate(270deg); opacity: 0.9; }
}

/* Neural Connections */
.neural-connections::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 20%;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.4), transparent);
    animation: pulse-connection 6s ease-in-out infinite;
}

.neural-connections::after {
    content: '';
    position: absolute;
    top: 60%;
    right: 25%;
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(5, 150, 105, 0.3), transparent);
    animation: pulse-connection 8s ease-in-out infinite reverse;
}

@keyframes pulse-connection {
    0%, 100% { opacity: 0.2; transform: scaleX(0.8); }
    50% { opacity: 0.8; transform: scaleX(1.2); }
}

/* Glowing Circuits */
.glowing-circuits {
    position: absolute;
    top: 15%;
    right: 10%;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(96, 165, 250, 0.3);
    border-radius: 50%;
    animation: circuit-glow 10s linear infinite;
}

.glowing-circuits::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 1px solid rgba(124, 58, 237, 0.4);
    border-radius: 50%;
    animation: circuit-glow 6s linear infinite reverse;
}

@keyframes circuit-glow {
    0% { transform: rotate(0deg); box-shadow: 0 0 20px rgba(96, 165, 250, 0.2); }
    50% { box-shadow: 0 0 40px rgba(96, 165, 250, 0.4); }
    100% { transform: rotate(360deg); box-shadow: 0 0 20px rgba(96, 165, 250, 0.2); }
}

/* Enhanced Brand Logo */
.hero-logo-container {
    position: relative;
    z-index: 10;
}

.brand-logo-enhanced {
    position: relative;
    display: inline-block;
    padding: 30px !important;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    animation: logo-pulse 4s ease-in-out infinite;
    min-width: 200px;
    min-height: 200px;
}

.hero-logo {
    height: 140px !important;
    width: auto !important;
    max-width: none !important;
    filter: drop-shadow(0 0 20px rgba(59,130,246,0.8));
    transition: all 0.3s ease;
}

.brand-logo-enhanced:hover .hero-logo {
    transform: scale(1.08);
    filter: drop-shadow(0 0 35px rgba(59,130,246,1));
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow-pulse 3s ease-in-out infinite alternate;
}

@keyframes logo-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes glow-pulse {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.8); }
    100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.2); }
}

/* Hero Typography */
.hero-title {
    z-index: 10;
    animation: fade-in-up 1s ease-out;
}

.hero-subtitle {
    z-index: 10;
    animation: fade-in-up 1s ease-out 0.3s both;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Buttons with Glow */
.hero-cta-container {
    z-index: 10;
    animation: fade-in-up 1s ease-out 0.6s both;
}

.cta-glow {
    position: relative;
    border: none;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.cta-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-glow:hover::before {
    left: 100%;
}

.cta-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.btn-primary.cta-glow:hover {
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.btn-warning.cta-glow:hover {
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
}

.btn-success.cta-glow:hover {
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.4);
}

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Testimonials Section */
.testimonials-section {
    animation: fade-in-up 1s ease-out 0.9s both;
}

.company-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.company-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: -50px;
}

.carousel-control-next {
    right: -50px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* About Section */
.about-section {
    animation: fade-in-up 1s ease-out 1.2s both;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(124, 58, 237, 0.05) 50%, rgba(5, 150, 105, 0.05) 100%);
    pointer-events: none;
}

.about-stats .stat-item {
    padding: 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.about-stats .stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        position: static;
        width: 100%;
        height: 40px;
        margin: 10px 0;
        transform: none;
    }
    
    .carousel-control-prev {
        left: 0;
    }
    
    .carousel-control-next {
        right: 0;
    }
    
    .company-logo {
        width: 50px;
        height: 50px;
    }
    
    .about-section {
        text-align: center;
    }
}

/* Glowing Sun Background Effect with Cyan-Orange Blend */
.sun-glow-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, 
        rgba(0, 255, 255, 0.4) 0%, 
        rgba(255, 165, 0, 0.3) 30%, 
        rgba(255, 100, 0, 0.2) 60%, 
        rgba(0, 200, 255, 0.1) 80%,
        transparent 100%);
    border-radius: 50%;
    z-index: 1;
    animation: sunPulse 3s ease-in-out infinite;
}

.sun-glow-background::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, 
        rgba(0, 255, 255, 0.5) 0%, 
        rgba(255, 140, 0, 0.4) 40%,
        rgba(0, 200, 255, 0.2) 70%,
        transparent 100%);
    border-radius: 50%;
    animation: sunPulse 2s ease-in-out infinite reverse;
}

.sun-glow-background::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, 
        rgba(0, 255, 255, 0.7) 0%, 
        rgba(255, 165, 0, 0.6) 50%,
        rgba(0, 200, 255, 0.3) 80%,
        transparent 100%);
    border-radius: 50%;
    animation: sunPulse 1.5s ease-in-out infinite;
}

@keyframes sunPulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
        filter: hue-rotate(0deg);
    }
    33% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.08);
        filter: hue-rotate(30deg);
    }
    66% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.12);
        filter: hue-rotate(-30deg);
    }
}

/* Enhanced Sun Button with Cyan-Orange Blend */
.sun-button {
    z-index: 10;
    position: relative;
    font-weight: bold !important;
    font-size: 1.2rem !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(0, 255, 255, 0.8) !important;
    background: linear-gradient(135deg, #00ffff 0%, #ff8c00 50%, #00ccff 100%) !important;
    color: #000 !important;
    cursor: pointer;
    box-shadow: 
        0 6px 20px rgba(0, 255, 255, 0.4),
        0 0 30px rgba(255, 140, 0, 0.3),
        0 0 15px rgba(0, 200, 255, 0.2);
}

.sun-button:hover {
    transform: translateY(-4px) scale(1.08) !important;
    box-shadow: 
        0 12px 30px rgba(0, 255, 255, 0.8),
        0 20px 50px rgba(255, 140, 0, 0.6),
        0 0 50px rgba(0, 255, 255, 0.7),
        0 0 25px rgba(255, 100, 0, 0.5) !important;
    border-color: rgba(0, 255, 255, 1) !important;
    background: linear-gradient(135deg, #44ffff 0%, #ffaa44 50%, #66ccff 100%) !important;
    color: #000 !important;
    font-weight: 900 !important;
    filter: brightness(1.2);
}

.sun-button:active {
    transform: translateY(-2px) scale(1.05) !important;
    transition: all 0.1s ease;
    box-shadow: 
        0 8px 25px rgba(0, 255, 255, 0.9),
        0 0 35px rgba(255, 140, 0, 0.8),
        0 0 20px rgba(0, 200, 255, 0.6) !important;
}

.sun-button:focus {
    outline: none !important;
    box-shadow: 
        0 12px 30px rgba(0, 255, 255, 0.8),
        0 0 0 4px rgba(0, 255, 255, 0.5),
        0 0 40px rgba(255, 140, 0, 0.6),
        0 0 15px rgba(0, 200, 255, 0.4) !important;
}

/* Enhanced clickability indicators */
.sun-button::after {
    content: '☀️';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.3s ease;
    animation: sunRotate 3s linear infinite;
}

.sun-button:hover::after {
    opacity: 1;
    right: -35px;
    animation: sunRotate 1s linear infinite;
}

@keyframes sunRotate {
    from {
        transform: translateY(-50%) rotate(0deg);
        filter: hue-rotate(0deg);
    }
    to {
        transform: translateY(-50%) rotate(360deg);
        filter: hue-rotate(360deg);
    }
}

/* Twinkling Stars Effect */
.hero-cta-container::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    right: -100px;
    bottom: -100px;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(0, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 140, 0, 0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(0, 200, 255, 0.8), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(0, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255, 100, 0, 0.8), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: twinkle 4s linear infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    25% {
        opacity: 0.8;
        transform: scale(1.1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.9);
    }
    75% {
        opacity: 1;
        transform: scale(1.2);
    }
}
    
    .about-stats {
        margin-top: 30px;
    }
    
    /* Mobile logo adjustments */
    .hero-logo {
        height: 100px !important;
    }
    
    .brand-logo-enhanced {
        padding: 20px !important;
        min-width: 140px;
        min-height: 140px;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(96, 165, 250, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(6, 255, 165, 0.08) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(96, 165, 250, 0.03) 50%, transparent 70%);
    animation: hero-glow 8s ease-in-out infinite alternate;
}

@keyframes hero-glow {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 0.8; transform: scale(1.1); }
}

/* AI-enhanced cards */
.ai-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.ai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.ai-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--glass-shadow-hover);
    border-color: var(--ai-primary);
}

.ai-card:hover::before {
    left: 100%;
}

/* Tool cards with category-specific styling */
.tool-card {
    background: var(--ai-gradient-card);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    transition: var(--transition-bounce);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-color: var(--ai-accent);
}

/* Category badges with AI theme */
.category-badge {
    background: var(--ai-gradient-accent);
    background-size: 300% 300%;
    animation: gradient-shift 6s ease infinite;
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Category-specific colors */
.category-content { 
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}
.category-business { 
    background: linear-gradient(135deg, #059669, #0891b2);
}
.category-design { 
    background: linear-gradient(135deg, #dc2626, #ea580c);
}
.category-analytics { 
    background: linear-gradient(135deg, #7c3aed, #c026d3);
}
.category-productivity { 
    background: linear-gradient(135deg, #059669, #65a30d);
}
.category-media { 
    background: linear-gradient(135deg, #dc2626, #e11d48);
}
.category-development { 
    background: linear-gradient(135deg, #0891b2, #0284c7);
}
.category-finance { 
    background: linear-gradient(135deg, #d97706, #ea580c);
}
.category-audio { 
    background: linear-gradient(135deg, #7c3aed, #9333ea);
}

/* Enhanced navigation */
.navbar {
    background: rgba(15, 23, 42, 0.9) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Stats and metrics styling */
.stats-card {
    background: var(--ai-gradient-subtle);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ai-gradient-accent);
    border-radius: 12px 12px 0 0;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--ai-gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

/* Footer enhancement */
.footer {
    background: var(--ai-dark-primary);
    border-top: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
}

/* Button enhancements */
.btn-primary {
    background: var(--ai-gradient-primary);
    border: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline-light {
    border: 2px solid var(--ai-border);
    color: var(--ai-text-primary);
    background: transparent;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.btn-outline-light:hover {
    background: var(--glass-bg);
    border-color: var(--ai-primary);
    color: var(--ai-text-primary);
    transform: translateY(-2px);
}

/* Loading and interaction states */
.loading-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Comprehensive Mobile Responsive Design */
@media (max-width: 992px) {
    /* Mobile Navigation Enhancements */
    .navbar-nav .nav-item .nav-link {
        padding: 16px 20px !important;
        font-size: 17px !important;
        border-radius: 12px !important;
        margin: 4px 0 !important;
        text-align: left !important;
    }
    
    .navbar-nav .nav-item .nav-link i {
        margin-right: 12px !important;
        width: 20px !important;
        text-align: center !important;
    }
    
    /* Enhanced Mobile Dropdown */
    .dropdown-menu {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        margin: 8px 0 !important;
        max-height: 70vh !important;
        border-radius: 16px !important;
    }
    
    /* Mobile-friendly buttons */
    .btn {
        min-height: 48px !important;
        font-size: 16px !important;
        padding: 12px 24px !important;
    }
    
    .btn-lg {
        min-height: 56px !important;
        font-size: 18px !important;
        padding: 16px 32px !important;
    }
}

@media (max-width: 768px) {
    /* Hero Section Mobile */
    .hero-section {
        min-height: 60vh;
        padding: 40px 20px !important;
    }
    
    .hero-section h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-section p {
        font-size: 1.1rem !important;
    }
    
    /* Stats and Cards */
    .stats-number {
        font-size: 2rem;
    }
    
    .ai-card {
        margin-bottom: 1.5rem;
        padding: 20px !important;
    }
    
    /* Mobile Pricing Cards */
    .pricing-card {
        margin-bottom: 24px !important;
    }
    
    .card-body {
        padding: 24px !important;
    }
    
    /* Mobile Tool Cards */
    .tool-card {
        margin-bottom: 16px !important;
        padding: 16px !important;
    }
    
    .tool-card h5 {
        font-size: 1.1rem !important;
    }
    
    .tool-card p {
        font-size: 0.95rem !important;
    }
    
    /* Mobile Navigation Brand */
    .navbar-brand {
        font-size: 1.2rem !important;
    }
    
    .navbar-brand img {
        height: 32px !important;
    }
    
    /* Mobile Footer */
    .footer {
        text-align: center !important;
    }
    
    .footer .col-md-6 {
        text-align: center !important;
        margin-bottom: 20px !important;
    }
}

@media (max-width: 576px) {
    /* Extra Small Mobile Devices */
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    
    .hero-section h1 {
        font-size: 2rem !important;
    }
    
    .hero-section .display-4 {
        font-size: 2.2rem !important;
    }
    
    /* Mobile Search */
    .search-container {
        padding: 12px !important;
    }
    
    .form-control {
        font-size: 16px !important; /* Prevents zoom on iOS */
        min-height: 48px !important;
    }
    
    /* Mobile Buttons */
    .btn-group {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .btn-group .btn {
        width: 100% !important;
        margin: 0 !important;
    }
    
    /* Mobile Pricing Display */
    .pricing-container .display-4 {
        font-size: 2.5rem !important;
    }
    
    /* Mobile Tables */
    .table-responsive {
        border: none !important;
    }
    
    .table {
        font-size: 0.9rem !important;
    }
}

/* Touch-friendly Interactive Elements */
@media (hover: none) and (pointer: coarse) {
    /* Mobile/Touch devices */
    .ai-card:hover {
        transform: none !important;
    }
    
    .ai-card:active {
        transform: scale(0.98) !important;
        transition: transform 0.1s ease !important;
    }
    
    .btn:hover {
        transform: none !important;
    }
    
    .btn:active {
        transform: scale(0.95) !important;
    }
    
    .dropdown-item:hover {
        transform: none !important;
    }
    
    .dropdown-item:active {
        background: rgba(255, 255, 255, 0.2) !important;
    }
}

/* Performance optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.gpu-accelerated {
    transform: translateZ(0);
    will-change: transform;
}

/* Accessibility enhancements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for accessibility */
.ai-card:focus,
.btn:focus,
.tool-card:focus {
    outline: 2px solid var(--ai-accent);
    outline-offset: 2px;
}