/* AI Startup - Main Styles */

/* Base Styles */
* {
    font-family: 'Poppins', sans-serif;
}

.mono-font {
    font-family: 'JetBrains Mono', monospace;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Tailwind Config */
.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.futuristic-gradient {
    background: linear-gradient(135deg, #00f5ff 0%, #667eea 50%, #764ba2 100%);
}

/* Particle Background */
.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float-particles 20s infinite linear;
}

@keyframes float-particles {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

/* Enhanced Header */
.header-blur {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Pulse Animation */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(102, 126, 234, 0.3); }
    50% { box-shadow: 0 0 40px rgba(102, 126, 234, 0.6); }
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Neon Glow Effect */
.neon-glow {
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

.neon-text {
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

/* Card Hover Effects */
.feature-card {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 245, 255, 0.2);
    border-color: rgba(0, 245, 255, 0.3);
}

.ai-capability-card {
    transition: all 0.4s ease;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ai-capability-card:hover {
    /* transform: translateY(-15px) rotateY(5deg); */
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.3);
}

.testimonial-card.ai-capability-card:hover {
    /* transform: none; */
    box-shadow: none;
}

#contact .ai-capability-card:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
}

.pricing-card {
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
    background: #e5e7eb;
    border-radius: 15px;
    cursor: pointer;
    transition: background 0.3s;
}

.toggle-switch.active {
    background: #667eea;
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch.active .toggle-slider {
    transform: translateX(30px);
}

/* Newsletter Input Animation */
.newsletter-input {
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Success Message */
.success-message {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.success-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Typing Animation */
.typing-animation {
    /* Reserve stable space to avoid layout shift while typing */
    display: inline-block;
    min-height: 1em; /* keeps line height even when empty */
    white-space: nowrap; /* keep word on one line */
    min-width: 200px;
    max-width: 400px;
    /* border-right: 2px solid #00f5ff; */
    animation: blink 1s infinite;
}

@media (max-width: 768px) {
    .typing-animation {
        min-width: 150px;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .typing-animation {
        min-width: 120px;
        max-width: 200px;
    }
}

@keyframes blink {
    0%, 50% { border-color: transparent; }
    51%, 100% { border-color: #00f5ff; }
}

/* Holographic Effect */
.holographic {
    background: linear-gradient(45deg, #ff006e, #8338ec, #3a86ff, #06ffa5);
    background-size: 400% 400%;
    animation: holographic-shift 3s ease-in-out infinite;
}

@keyframes holographic-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Circuit Pattern */
.circuit-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 245, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(102, 126, 234, 0.1) 2px, transparent 2px);
    background-size: 50px 50px;
}

/* Mobile Menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    height: 100vh;
    padding-bottom: env(safe-area-inset-bottom);
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Utilities */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;     /* Firefox */
}

/* Testimonial carousel card sizing */
.testimonial-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

@media (min-width: 768px) {
    /* Show 3 cards on medium screens and above */
    .testimonial-card {
        flex: 0 0 calc(32% - 0px);
    }
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: #ff006e;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: #00f5ff;
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(-2px, 2px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .mobile-menu {
        width: 100%;
        max-width: none;
    }
    
    .mobile-menu nav {
        padding: 1rem 0
    }
    
    .mobile-menu a {
        display: block;
        padding: 1rem 1.25rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        font-size: 1rem;
        color: #111827;
        transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
    }
    
    .mobile-menu button {
        margin: 1rem 0;
    }

    .mobile-menu a:hover {
        background: rgba(102, 126, 234, 0.08);
        color: #667eea;
        padding-left: 1.5rem;
    }
}

@media (max-width: 480px) {
    .mobile-menu {
        width: 100%;
        max-width: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Scroll Progress Indicator */
:root {
    --scroll-progress: 0%;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--scroll-progress);
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    z-index: 9999;
    transition: width 0.1s ease;
} 