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

html {
    scroll-behavior: smooth;
}

/* CSS Variables for Dark Theme (Default) */
:root {
    /* Dark Theme Colors - Deep Navy & Black */
    --bg-primary: #0a0a0a;
    --bg-secondary: #0f1419;
    --bg-tertiary: #1a1f2e;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #888888;
    
    /* Primary Accent Colors - Logo Inspired */
    --accent-primary: #00d4ff; /* Teal Blue */
    --accent-secondary: #f59e0b; /* Orange Gold */
    --accent-tertiary: #06b6d4; /* Deep Teal */
    
    /* Secondary Accent Colors - Logo Palette */
    --accent-success: #10b981; /* Emerald */
    --accent-warning: #f59e0b; /* Orange Gold */
    --accent-error: #ef4444; /* Red */
    --accent-info: #06b6d4; /* Cyan */
    
    /* Complementary Colors - Logo Inspired */
    --accent-deep: #0f172a; /* Deep Navy */
    --accent-cyan: #06b6d4; /* Cyan */
    --accent-magenta: #d97706; /* Dark Orange */
    --accent-gold: #f59e0b; /* Gold */
    
    /* Thread Colors - Logo Palette */
    --thread-primary: #00d4ff; /* Teal Blue */
    --thread-secondary: #f59e0b; /* Orange Gold */
    --thread-tertiary: #06b6d4; /* Deep Teal */
    --thread-accent: #d97706; /* Dark Orange */
    
    /* UI Colors */
    --border-color: #333333;
    --shadow-color: rgba(0, 0, 0, 0.4);
    --shadow-color-hover: rgba(0, 0, 0, 0.6);
    --glass-bg: rgba(10, 10, 10, 0.95);
    --glass-bg-hover: rgba(10, 10, 10, 0.98);
    
    /* Gradient Combinations - Logo Inspired */
    --gradient-primary: linear-gradient(135deg, #00d4ff, #f59e0b);
    --gradient-secondary: linear-gradient(135deg, #06b6d4, #d97706);
    --gradient-tertiary: linear-gradient(135deg, #f59e0b, #00d4ff);
    --gradient-success: linear-gradient(135deg, #10b981, #06b6d4);
}

/* Light theme removed - keeping dark theme only */

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Smooth theme transitions for specific elements */
body, .navbar, .service-card, .pattern-item, .innovation-card, .contact-form, .footer {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Geometric Background */
.geometric-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    opacity: 0.03;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 150px;
    height: 150px;
    background: var(--gradient-primary);
    border-radius: 50%;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--gradient-secondary);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--gradient-tertiary);
    top: 20%;
    right: 20%;
    animation-delay: 10s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    background: var(--gradient-success);
    border-radius: 20px;
    bottom: 20%;
    left: 20%;
    animation-delay: 15s;
}

.shape-5 {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, var(--accent-magenta), var(--accent-gold));
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    top: 80%;
    left: 60%;
    animation-delay: 7s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(20px) rotate(240deg); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.streamweaver-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    animation: logoFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 212, 255, 0.3));
}

.logo-text {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.stream-text {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.weaver-text {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.trademark {
    color: #f59e0b;
    font-size: 0.8rem;
    font-weight: 500;
    vertical-align: super;
    margin-left: 0.1rem;
}

@keyframes logoFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        filter: drop-shadow(0 4px 8px rgba(0, 212, 255, 0.3));
    }
    50% { 
        transform: translateY(-2px) rotate(1deg) scale(1.02);
        filter: drop-shadow(0 6px 12px rgba(0, 212, 255, 0.4));
    }
}

/* Old logo geometry removed - using new interwoven logo */

/* Old nav-logo span styling removed - using new logo text styling */

.nav-menu {
    display: flex;
    gap: 3rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after {
    width: 100%;
}

/* Theme toggle removed - keeping dark theme only */



/* Hero Section with Ball Scroll Concept */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.scroll-balls {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.ball {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: gentleFloat 8s ease-in-out infinite;
    z-index: 5;
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-3px) rotate(1deg); }
    50% { transform: translateY(2px) rotate(-1deg); }
    75% { transform: translateY(-1px) rotate(0.5deg); }
}

/* Shape morphing animations - subtle and tasteful */
@keyframes morphCircle {
    0%, 100% { border-radius: 50%; }
    50% { border-radius: 45%; }
}

@keyframes morphTriangle {
    0%, 100% { clip-path: polygon(50% 0%, 0% 100%, 100% 100%); }
    25% { clip-path: polygon(50% 5%, 5% 95%, 95% 95%); }
    50% { clip-path: polygon(50% 0%, 2% 98%, 98% 98%); }
    75% { clip-path: polygon(50% 3%, 3% 97%, 97% 97%); }
}

@keyframes morphSquare {
    0%, 100% { border-radius: 10px; }
    50% { border-radius: 15px; }
}

@keyframes morphHexagon {
    0%, 100% { clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); }
    50% { clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%); }
}

@keyframes morphDiamond {
    0%, 100% { clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); }
    50% { clip-path: polygon(50% 5%, 95% 50%, 50% 95%, 5% 50%); }
}

@keyframes morphStar {
    0%, 100% { clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
    50% { clip-path: polygon(50% 2%, 58% 33%, 95% 33%, 65% 55%, 76% 89%, 50% 68%, 24% 89%, 35% 55%, 5% 33%, 42% 33%); }
}

/* Subtle gradient morphing for extra life */
@keyframes morphGradient {
    0%, 100% { filter: hue-rotate(0deg) saturate(100%); }
    50% { filter: hue-rotate(5deg) saturate(110%); }
}

/* Neural Network Node Styles - Service-Specific Colors */
.ball-neural-input {
    /* Web Dev - Teal Blue */
    background: linear-gradient(135deg, #00d4ff, #06b6d4);
    transform: scale(1.0);
    border-radius: 50%;
    animation: neuralPulse 3s ease-in-out infinite, neuralGlow 4s ease-in-out infinite;
}

.ball-neural-hidden1 {
    /* App Dev - Orange Gold */
    background: linear-gradient(135deg, #f59e0b, #d97706);
    transform: scale(1.0);
    border-radius: 50%;
    animation: neuralPulse 3s ease-in-out infinite 0.5s, neuralGlow 4s ease-in-out infinite 0.5s;
}

.ball-neural-hidden2 {
    /* Email Auto - Purple */
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    transform: scale(1.0);
    border-radius: 50%;
    animation: neuralPulse 3s ease-in-out infinite 1s, neuralGlow 4s ease-in-out infinite 1s;
}

.ball-neural-hidden3 {
    /* Workflow - Green */
    background: linear-gradient(135deg, #10b981, #059669);
    transform: scale(1.0);
    border-radius: 50%;
    animation: neuralPulse 3s ease-in-out infinite 1.5s, neuralGlow 4s ease-in-out infinite 1.5s;
}

.ball-neural-processing {
    /* Chatbot - Pink */
    background: linear-gradient(135deg, #ec4899, #be185d);
    transform: scale(1.0);
    border-radius: 50%;
    animation: neuralPulse 3s ease-in-out infinite 2s, neuralGlow 4s ease-in-out infinite 2s;
}

.ball-neural-output {
    /* Analytics - Cyan */
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    transform: scale(1.0);
    border-radius: 50%;
    animation: neuralPulse 3s ease-in-out infinite 2.5s, neuralGlow 4s ease-in-out infinite 2.5s;
}

.ball-neural-security {
    /* Security - Red */
    background: linear-gradient(135deg, #ef4444, #dc2626);
    transform: scale(1.0);
    border-radius: 50%;
    animation: neuralPulse 3s ease-in-out infinite 3s, neuralGlow 4s ease-in-out infinite 3s;
}

/* Neural Network Node Animations */
@keyframes neuralPulse {
    0%, 100% { 
        transform: scale(1.0);
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
    }
}

@keyframes neuralGlow {
    0%, 100% { 
        filter: brightness(1) saturate(1);
    }
    50% { 
        filter: brightness(1.2) saturate(1.3);
    }
}

/* Neural Node Inner Elements */
.neural-node {
    width: 60%;
    height: 60%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    position: absolute;
    top: 20%;
    left: 20%;
    animation: innerPulse 2s ease-in-out infinite;
}

@keyframes innerPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.2;
    }
    50% { 
        transform: scale(1.3);
        opacity: 0.4;
    }
}

.neural-label {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    margin-left: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.ball:hover .neural-label {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Neural Network Connection Lines */
.scroll-balls {
    position: relative;
}

/* Removed the vertical line that was cutting through text */

@keyframes connectionPulse {
    0%, 100% { 
        opacity: 0.3;
        box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
    }
    50% { 
        opacity: 0.6;
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    }
}

/* Individual connection lines between nodes */
.ball-neural-input::after {
    /* Web Dev to App Dev */
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(0, 212, 255, 0.6), rgba(245, 158, 11, 0.6));
    transform: translateX(-50%);
    z-index: -1;
}

.ball-neural-hidden1::after {
    /* App Dev to Email Auto */
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(245, 158, 11, 0.6), rgba(139, 92, 246, 0.6));
    transform: translateX(-50%);
    z-index: -1;
}

.ball-neural-hidden2::after {
    /* Email Auto to Workflow */
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(139, 92, 246, 0.6), rgba(16, 185, 129, 0.6));
    transform: translateX(-50%);
    z-index: -1;
}

.ball-neural-hidden3::after {
    /* Workflow to Chatbot */
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(16, 185, 129, 0.6), rgba(236, 72, 153, 0.6));
    transform: translateX(-50%);
    z-index: -1;
}

.ball-neural-processing::after {
    /* Chatbot to Analytics */
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(236, 72, 153, 0.6), rgba(6, 182, 212, 0.6));
    transform: translateX(-50%);
    z-index: -1;
}

.ball-neural-security::after {
    /* Analytics to Security */
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(6, 182, 212, 0.6), rgba(239, 68, 68, 0.6));
    transform: translateX(-50%);
    z-index: -1;
}

/* Last node doesn't need a connection line */
.ball-neural-output::after {
    display: none;
}

/* Service Card Neural Network Nodes */
.service-neural-input {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00d4ff, #7209b7);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(0, 212, 255, 0.3);
    animation: serviceNeuralPulse 4s ease-in-out infinite;
}

.service-neural-hidden1 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #9d4edd, #7b2cbf);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(157, 78, 221, 0.3);
    animation: serviceNeuralPulse 4s ease-in-out infinite 0.5s;
}

.service-neural-hidden2 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7b2cbf, #06ffa5);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(123, 44, 191, 0.3);
    animation: serviceNeuralPulse 4s ease-in-out infinite 1s;
}

.service-neural-hidden3 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff006e, #ffd700);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(255, 0, 110, 0.3);
    animation: serviceNeuralPulse 4s ease-in-out infinite 1.5s;
}

.service-neural-processing {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00ff88, #00bfff);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(0, 255, 136, 0.3);
    animation: serviceNeuralPulse 4s ease-in-out infinite 2s;
}

.service-neural-output {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffaa00, #ff6b6b);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(255, 170, 0, 0.3);
    animation: serviceNeuralPulse 4s ease-in-out infinite 2.5s;
}

.service-neural-security {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(255, 107, 53, 0.3);
    animation: serviceNeuralPulse 4s ease-in-out infinite 3s;
}

/* Service Neural Node Inner Elements */
.service-neural-input::before,
.service-neural-hidden1::before,
.service-neural-hidden2::before,
.service-neural-hidden3::before,
.service-neural-processing::before,
.service-neural-security::before,
.service-neural-output::before {
    content: '';
    width: 40%;
    height: 40%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: serviceInnerPulse 3s ease-in-out infinite;
}

@keyframes serviceNeuralPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 8px 16px rgba(0, 212, 255, 0.3);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 12px 24px rgba(0, 212, 255, 0.5);
    }
}

@keyframes serviceInnerPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.5;
    }
}

/* Service card hover effects for neural nodes */
.service-card:hover .service-neural-input,
.service-card:hover .service-neural-hidden1,
.service-card:hover .service-neural-hidden2,
.service-card:hover .service-neural-hidden3,
.service-card:hover .service-neural-processing,
.service-card:hover .service-neural-security,
.service-card:hover .service-neural-output {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
}

/* Footer Neural Network Nodes */
.footer-neural-input {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #00d4ff, #7209b7);
    border-radius: 50%;
    animation: footerNeuralPulse 4s ease-in-out infinite;
}

.footer-neural-hidden1 {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #9d4edd, #7b2cbf);
    border-radius: 50%;
    animation: footerNeuralPulse 4s ease-in-out infinite 0.5s;
}

.footer-neural-hidden2 {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #7b2cbf, #06ffa5);
    border-radius: 50%;
    animation: footerNeuralPulse 4s ease-in-out infinite 1s;
}

.footer-neural-hidden3 {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #ff006e, #ffd700);
    border-radius: 50%;
    animation: footerNeuralPulse 4s ease-in-out infinite 1.5s;
}

.footer-neural-processing {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #00ff88, #00bfff);
    border-radius: 50%;
    animation: footerNeuralPulse 4s ease-in-out infinite 2s;
}

.footer-neural-security {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border-radius: 50%;
    animation: footerNeuralPulse 4s ease-in-out infinite 2.5s;
}

.footer-neural-output {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #ffaa00, #ff6b6b);
    border-radius: 50%;
    animation: footerNeuralPulse 4s ease-in-out infinite 3s;
}

@keyframes footerNeuralPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Footer shapes layout */
.footer-shapes {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

/* Patterns Section Grid Layout */
.patterns-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

/* Pattern Section Neural Network Nodes */
.neural-flow, .neural-transformation {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.neural-node {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    animation: patternNeuralPulse 3s ease-in-out infinite;
    position: relative;
}

/* Founder Authority Neural Nodes */
.neural-node.founder-1 {
    background: linear-gradient(135deg, #9d4edd, #7b2cbf);
    animation-delay: 0s;
}

.neural-node.founder-2 {
    background: linear-gradient(135deg, #ff006e, #ffd700);
    animation-delay: 0.5s;
}

.neural-node.founder-3 {
    background: linear-gradient(135deg, #00d4ff, #7209b7);
    animation-delay: 1s;
}

/* Proven Results Neural Nodes */
.neural-node.proven-1 {
    background: linear-gradient(135deg, #00d4ff, #7209b7);
    animation-delay: 0s;
}

.neural-node.proven-2 {
    background: linear-gradient(135deg, #9d4edd, #7b2cbf);
    animation-delay: 0.5s;
}

.neural-node.proven-3 {
    background: linear-gradient(135deg, #7b2cbf, #06ffa5);
    animation-delay: 1s;
}

/* Scalable Solutions Neural Nodes */
.neural-node.scalable-1 {
    background: linear-gradient(135deg, #ff006e, #ffd700);
    animation-delay: 0s;
}

.neural-node.scalable-2 {
    background: linear-gradient(135deg, #00ff88, #00bfff);
    animation-delay: 0.5s;
}

.neural-node.scalable-3 {
    background: linear-gradient(135deg, #ffaa00, #ff6b6b);
    animation-delay: 1s;
}

@keyframes patternNeuralPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.3);
        opacity: 1;
        box-shadow: 0 0 15px currentColor;
    }
}

/* Connection lines between neural nodes - REMOVED */
/* Horizontal line removed to prevent interference with text */

/* Innovation Section Neural Network Elements */
.neural-dots {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.neural-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: innovationNeuralPulse 4s ease-in-out infinite;
}

.dot-1 {
    background: linear-gradient(135deg, #00d4ff, #7209b7);
    animation-delay: 0s;
}

.dot-2 {
    background: linear-gradient(135deg, #9d4edd, #7b2cbf);
    animation-delay: 1s;
}

.dot-3 {
    background: linear-gradient(135deg, #7b2cbf, #06ffa5);
    animation-delay: 2s;
}

.dot-4 {
    background: linear-gradient(135deg, #ff006e, #ffd700);
    animation-delay: 3s;
}

.neural-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: center;
}

.neural-line {
    width: 20px;
    height: 3px;
    border-radius: 2px;
    animation: innovationNeuralPulse 4s ease-in-out infinite;
}

.line-1 {
    background: linear-gradient(90deg, #00d4ff, #7209b7);
    animation-delay: 0s;
}

.line-2 {
    background: linear-gradient(90deg, #9d4edd, #7b2cbf);
    animation-delay: 1s;
}

.line-3 {
    background: linear-gradient(90deg, #7b2cbf, #06ffa5);
    animation-delay: 2s;
}

.neural-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    width: 40px;
    height: 40px;
}

.neural-cell {
    border-radius: 2px;
    animation: innovationNeuralPulse 4s ease-in-out infinite;
}

.cell-1 {
    background: linear-gradient(135deg, #00d4ff, #7209b7);
    animation-delay: 0s;
}

.cell-2 {
    background: linear-gradient(135deg, #9d4edd, #7b2cbf);
    animation-delay: 1s;
}

.cell-3 {
    background: linear-gradient(135deg, #7b2cbf, #06ffa5);
    animation-delay: 2s;
}

.cell-4 {
    background: linear-gradient(135deg, #ff006e, #ffd700);
    animation-delay: 3s;
}

@keyframes innovationNeuralPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.2);
        opacity: 1;
        box-shadow: 0 0 10px currentColor;
    }
}

/* Contact Section Neural Network Elements */
.contact-neurals {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.contact-neural {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    animation: contactNeuralPulse 5s ease-in-out infinite;
}

.neural-1 {
    background: linear-gradient(135deg, #00d4ff, #7209b7);
    animation-delay: 0s;
}

.neural-2 {
    background: linear-gradient(135deg, #9d4edd, #7b2cbf);
    animation-delay: 1.5s;
}

.neural-3 {
    background: linear-gradient(135deg, #7b2cbf, #06ffa5);
    animation-delay: 3s;
}

@keyframes contactNeuralPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: scale(1.4);
        opacity: 1;
        box-shadow: 0 0 12px currentColor;
    }
}

/* Pattern Section Layout and Alignment */
.pattern-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.pattern-item h3 {
    text-align: center;
    margin: 20px 0 10px 0;
    width: 100%;
}

.pattern-item p {
    text-align: center;
    margin: 0;
    width: 100%;
    line-height: 1.5;
}

/* Pattern Section Logos */
.pattern-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    width: 100%;
}

.weaving-icon {
    animation: weavingFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 212, 255, 0.3));
}

.expertise-weaving-icon {
    animation: expertiseFloat 8s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(0, 212, 255, 0.4));
    transition: all 0.3s ease;
}

.expertise-weaving-icon:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 16px rgba(0, 212, 255, 0.6));
}

.contact-weaving-pattern {
    animation: contactWeave 10s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 212, 255, 0.3));
    opacity: 0.8;
}

.footer-logo {
    animation: footerLogoFloat 8s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 212, 255, 0.3));
    opacity: 0.9;
}

@keyframes weavingFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        filter: drop-shadow(0 4px 8px rgba(0, 212, 255, 0.3));
    }
    50% { 
        transform: translateY(-3px) rotate(1deg) scale(1.05);
        filter: drop-shadow(0 6px 12px rgba(0, 212, 255, 0.4));
    }
}

@keyframes expertiseFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        filter: drop-shadow(0 2px 4px rgba(0, 212, 255, 0.2));
    }
    50% { 
        transform: translateY(-2px) rotate(0.5deg) scale(1.02);
        filter: drop-shadow(0 4px 8px rgba(0, 212, 255, 0.3));
    }
}

@keyframes contactWeave {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        filter: drop-shadow(0 4px 8px rgba(0, 212, 255, 0.3));
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-4px) rotate(1deg) scale(1.03);
        filter: drop-shadow(0 6px 12px rgba(0, 212, 255, 0.4));
        opacity: 0.9;
    }
}

@keyframes footerLogoFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        filter: drop-shadow(0 2px 4px rgba(0, 212, 255, 0.3));
        opacity: 0.9;
    }
    50% { 
        transform: translateY(-2px) rotate(0.5deg) scale(1.02);
        filter: drop-shadow(0 4px 8px rgba(0, 212, 255, 0.4));
        opacity: 1;
    }
}

/* Founder Authority Logo - Concentric Rings */
.pattern-item:nth-child(1) .logo-concentric .logo-ring.outer {
    background: linear-gradient(135deg, #9d4edd, #7b2cbf);
}

.pattern-item:nth-child(1) .logo-concentric .logo-ring.middle {
    background: linear-gradient(135deg, #ff006e, #ffd700);
}

.pattern-item:nth-child(1) .logo-concentric .logo-ring.inner {
    background: linear-gradient(135deg, #00d4ff, #7209b7);
}

/* Proven Results Logo - Different Color Scheme */
.pattern-item:nth-child(2) .logo-concentric .logo-ring.outer {
    background: linear-gradient(135deg, #00d4ff, #7209b7);
}

.pattern-item:nth-child(2) .logo-concentric .logo-ring.middle {
    background: linear-gradient(135deg, #9d4edd, #7b2cbf);
}

.pattern-item:nth-child(2) .logo-concentric .logo-ring.inner {
    background: linear-gradient(135deg, #7b2cbf, #06ffa5);
}

/* Scalable Solutions Logo - Different Color Scheme */
.pattern-item:nth-child(3) .logo-concentric .logo-ring.outer {
    background: linear-gradient(135deg, #ff006e, #ffd700);
}

.pattern-item:nth-child(3) .logo-concentric .logo-ring.middle {
    background: linear-gradient(135deg, #00ff88, #00bfff);
}

.pattern-item:nth-child(3) .logo-concentric .logo-ring.inner {
    background: linear-gradient(135deg, #ffaa00, #ff6b6b);
}

/* Base Logo Structure */
.logo-concentric {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-ring {
    position: absolute;
    border-radius: 50%;
    animation: logoRotate 8s linear infinite;
}

.logo-ring.outer {
    width: 60px;
    height: 60px;
    opacity: 0.8;
}

.logo-ring.middle {
    width: 40px;
    height: 40px;
    opacity: 0.9;
    animation-delay: -2s;
}

.logo-ring.inner {
    width: 20px;
    height: 20px;
    opacity: 1;
    animation-delay: -4s;
}

@keyframes logoRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Proven Results Logo - Neural Network Nodes */
.logo-neural-results {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.logo-neural-results .logo-neural-node {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    animation: logoNeuralPulse 3s ease-in-out infinite;
}

.logo-neural-results .r1 {
    background: linear-gradient(135deg, #00d4ff, #7209b7);
    animation-delay: 0s;
}

.logo-neural-results .r2 {
    background: linear-gradient(135deg, #9d4edd, #7b2cbf);
    animation-delay: 0.5s;
}

.logo-neural-results .r3 {
    background: linear-gradient(135deg, #7b2cbf, #06ffa5);
    animation-delay: 1s;
}

/* Scalable Solutions Logo - Neural Network Nodes */
.logo-neural-scalable {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.logo-neural-scalable .logo-neural-node {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    animation: logoNeuralPulse 3s ease-in-out infinite;
}

.logo-neural-scalable .s1 {
    background: linear-gradient(135deg, #ff006e, #ffd700);
    animation-delay: 0s;
}

.logo-neural-scalable .s2 {
    background: linear-gradient(135deg, #00ff88, #00bfff);
    animation-delay: 0.5s;
}

.logo-neural-scalable .s3 {
    background: linear-gradient(135deg, #ffaa00, #ff6b6b);
    animation-delay: 1s;
}

@keyframes logoNeuralPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.3);
        opacity: 1;
        box-shadow: 0 0 15px currentColor;
    }
}

/* Service Cards Neural Network Grid Connections */
.services-grid {
    position: relative;
}

.services-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* Horizontal connections */
        linear-gradient(90deg, transparent 49%, rgba(0, 212, 255, 0.1) 49%, rgba(0, 212, 255, 0.1) 51%, transparent 51%) 0 0 / 100% 100%,
        /* Vertical connections */
        linear-gradient(0deg, transparent 49%, rgba(0, 212, 255, 0.1) 49%, rgba(0, 212, 255, 0.1) 51%, transparent 51%) 0 0 / 100% 100%;
    background-size: 100% 100%, 100% 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.services-grid:hover::before {
    opacity: 1;
}

/* Individual service card connection indicators */
.service-card {
    position: relative;
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: rgba(0, 212, 255, 0.6);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: connectionDot 3s ease-in-out infinite;
}

@keyframes connectionDot {
    0%, 100% { 
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

/* Synchronized animations for scroll balls */
.ball.active {
    animation: ballPulse 1.5s ease-in-out infinite;
}

@keyframes ballPulse {
    0%, 100% {
        transform: scale(1.3);
    }
    50% {
        transform: scale(1.5);
    }
}

/* Ensure balls maintain their shapes during hover */
.ball:hover {
    transform: scale(1.1) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Shape-specific hover effects */
.ball-circle:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.ball-triangle:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.ball-square:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.ball-hexagon:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.ball-diamond:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.ball-star:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Service card shape synchronization with scroll balls */
.service-card:hover .service-geometry > div {
    animation: serviceShapePulse 1s ease-in-out infinite;
}

@keyframes serviceShapePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }
.title-line:nth-child(4) { animation-delay: 0.8s; }

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 3rem;
    opacity: 0;
    animation: slideInUp 0.8s ease 1s forwards;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    animation: slideInUp 0.8s ease 1.2s forwards;
}

/* Buttons */
.btn {
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-5px);
}

/* Evolution Section */
.evolution {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.service-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color-hover);
    border-color: var(--accent-primary);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-geometry {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

.service-circle,
.service-triangle,
.service-square,
.service-hexagon,
.service-diamond,
.service-star {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    position: relative;
    animation: geometricPulse 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.service-triangle {
    background: var(--gradient-secondary);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    border-radius: 0;
}

.service-square {
    background: var(--gradient-success);
    border-radius: 10px;
}

.service-hexagon {
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    border-radius: 0;
}

.service-diamond {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    border-radius: 0;
}

.service-star {
    background: linear-gradient(135deg, #00ffff, #00bfff);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    border-radius: 0;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: center;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.feature-tag {
    background: var(--bg-secondary);
    color: var(--accent-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

/* Patterns Section */
.patterns {
    padding: 8rem 0;
    background: var(--bg-primary);
}

.patterns-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.pattern-item {
    text-align: center;
    padding: 3rem 2rem;
}

.pattern-animation {
    margin-bottom: 2rem;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rotating-circles {
    position: relative;
    width: 120px;
    height: 120px;
}

.rotating-circles .circle {
    position: absolute;
    border-radius: 50%;
    animation: rotate 8s infinite linear;
}

.rotating-circles .c1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    top: 20px;
    left: 20px;
}

.rotating-circles .c2 {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #f093fb, #f5576c);
    top: 30px;
    left: 30px;
    animation-delay: -2s;
}

.rotating-circles .c3 {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    top: 40px;
    left: 40px;
    animation-delay: -4s;
}

.triangular-flow {
    position: relative;
    width: 120px;
    height: 120px;
}

.triangular-flow .triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 50px solid;
    animation: flow 4s infinite ease-in-out;
}

.triangular-flow .t1 {
    border-bottom-color: #667eea;
    top: 0;
    left: 35px;
}

.triangular-flow .t2 {
    border-bottom-color: #f093fb;
    top: 30px;
    left: 10px;
    animation-delay: -1s;
}

.triangular-flow .t3 {
    border-bottom-color: #4facfe;
    top: 60px;
    left: 60px;
    animation-delay: -2s;
}

.square-transformation {
    position: relative;
    width: 120px;
    height: 120px;
}

.square-transformation .square {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    animation: transform 6s infinite ease-in-out;
}

.square-transformation .s1 {
    top: 0;
    left: 0;
}

.square-transformation .s2 {
    top: 40px;
    left: 40px;
    animation-delay: -2s;
}

.square-transformation .s3 {
    top: 80px;
    left: 80px;
    animation-delay: -4s;
}

/* Innovation Section */
.innovation {
    padding: 8rem 0;
    background: var(--gradient-primary);
    color: white;
}

.innovation .section-title {
    color: white;
    -webkit-text-fill-color: white;
}

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

.innovation-card {
    background: rgba(255, 255, 255, 0.12);
    padding: 3.5rem 2.5rem;
    border-radius: 24px;
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.innovation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(245, 158, 11, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.innovation-card:hover::before {
    opacity: 1;
}

.innovation-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.innovation-card h3,
.innovation-card p {
    position: relative;
    z-index: 2;
}

.card-geometry {
    margin-bottom: 2.5rem;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.floating-dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    margin: 0 8px;
    animation: float 2s infinite ease-in-out;
}

.floating-dots span:nth-child(2) { animation-delay: 0.5s; }
.floating-dots span:nth-child(3) { animation-delay: 1s; }
.floating-dots span:nth-child(4) { animation-delay: 1.5s; }

.geometric-lines .line {
    width: 60px;
    height: 4px;
    background: white;
    margin: 10px 0;
    animation: expand 3s infinite ease-in-out;
}

.geometric-lines .l2 { animation-delay: 1s; }
.geometric-lines .l3 { animation-delay: 2s; }

.geometric-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 80px;
    height: 80px;
}

.grid-cell {
    background: white;
    border-radius: 4px;
    animation: pulse 2s infinite;
}

.grid-cell:nth-child(2) { animation-delay: 0.5s; }
.grid-cell:nth-child(3) { animation-delay: 1s; }
.grid-cell:nth-child(4) { animation-delay: 1.5s; }

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: var(--bg-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    justify-items: center;
}

.contact-geometry {
    display: flex;
    justify-content: center;
}

.contact-circles {
    position: relative;
    width: 200px;
    height: 200px;
}

.contact-circle {
    position: absolute;
    border-radius: 50%;
    animation: float 4s infinite ease-in-out;
}

.contact-circle.c1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    top: 0;
    left: 0;
}

.contact-circle.c2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #f093fb, #f5576c);
    top: 60px;
    left: 60px;
    animation-delay: -1s;
}

.contact-circle.c3 {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    top: 100px;
    left: 20px;
    animation-delay: -2s;
}

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

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: var(--bg-primary);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.input-geometry {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #667eea, #f093fb);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-group input:focus + .input-geometry,
.form-group textarea:focus + .input-geometry {
    opacity: 1;
}

/* Footer */
.footer {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.footer-geometry {
    display: flex;
    justify-content: center;
}

.footer-logo {
    width: 200px;
    height: 100px;
    object-fit: contain;
    animation: footerLogoFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 212, 255, 0.3));
}

@keyframes footerLogoFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        filter: drop-shadow(0 4px 8px rgba(0, 212, 255, 0.3));
    }
    50% { 
        transform: translateY(-3px) rotate(1deg) scale(1.02);
        filter: drop-shadow(0 6px 12px rgba(0, 212, 255, 0.4));
    }
}

.footer-shapes {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-circle {
    width: 20px;
    height: 20px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.footer-triangle {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 20px solid var(--accent-secondary);
    animation: rotate 3s infinite linear;
}

.footer-square {
    width: 20px;
    height: 20px;
    background: var(--accent-tertiary);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

.footer-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes flow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes expand {
    0%, 100% { transform: scaleX(1); }
    50% { transform: scaleX(1.5); }
}

@keyframes transform {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
}





/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .scroll-balls {
        order: 2;
        margin-top: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .nav-menu {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .evolution-step,
    .pattern-item,
    .innovation-card {
        padding: 2rem 1rem;
    }
}
