/* ===== NEUROFISSION WEBSITE - BLUEPRINT DESIGN ===== */

/* ===== ESSENTIAL ANIMATIONS - PERFORMANCE OPTIMIZED ===== */

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

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

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

@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: 200px 0; }
}

@keyframes gentleGlow {
    0%, 100% { box-shadow: 0 4px 20px rgba(102, 126, 234, 0.2); }
    50% { box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4); }
}

/* Essential utility classes */
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }
.animate-fade-in-up { animation: fadeInUp 0.6s ease forwards; }

.hover-lift {
    transition: transform 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-scale {
    transition: transform 0.3s ease;
}
.hover-scale:hover {
    transform: scale(1.05);
}

/* Glassmorphism - Essential only */
.glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Essential shadows */
.shadow-soft { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); }
.shadow-primary { box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3); }

/* Performance optimizations for mobile */
@media (max-width: 768px) {
    .hover-lift:hover { transform: translateY(-3px); }
    .hover-scale:hover { transform: scale(1.03); }
}

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

/* ===== END ANIMATIONS ===== */

/* ===== NAVIGATION ===== */
.modern-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(30, 41, 59, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.3);
    padding: 0.75rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    /* Mobile optimization */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.modern-navbar.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-family-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    position: relative;
}

.navbar-brand span {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.navbar-brand:hover {
    color: #60a5fa !important;
    transform: translateY(-1px);
}

.navbar-brand:hover span {
    color: #60a5fa !important;
}

.navbar-logo {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 4px;
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .brand-logo-img {
    transform: scale(1.1);
}

.modern-navbar.scrolled .navbar-logo {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
}

/* Hamburger Menu - Mobile Optimized */
.hamburger-menu {
    position: relative;
    z-index: 1001;
    flex-shrink: 0;
    display: none;
}

/* Show on mobile */
@media (max-width: 991px) {
    .hamburger-menu {
        display: block;
    }
}

.hamburger-trigger {
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    /* Touch optimization */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hamburger-trigger:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin: 2px 0;
}

.hamburger-line:nth-child(1) {
    width: 18px;
}

.hamburger-line:nth-child(2) {
    width: 20px;
}

.hamburger-line:nth-child(3) {
    width: 16px;
}

.hamburger-menu:hover .hamburger-line:nth-child(1) {
    width: 20px;
    transform: translateX(2px);
    background: var(--primary-color);
}

.hamburger-menu:hover .hamburger-line:nth-child(2) {
    background: var(--primary-color);
    box-shadow: 0 0 8px rgba(102, 126, 234, 0.3);
}

.hamburger-menu:hover .hamburger-line:nth-child(3) {
    width: 20px;
    transform: translateX(-2px);
    background: var(--primary-color);
}

/* Hover Navigation Menu */
.hover-nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(102, 126, 234, 0.2);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-top: 0.5rem;
}

.hamburger-menu:hover .hover-nav-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.hover-nav-list {
    list-style: none;
    margin: 0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hover-nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    overflow: hidden;
}

.hover-nav-link::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;
}

.hover-nav-link:hover::before,
.hover-nav-link.active::before {
    opacity: 0.1;
}

.hover-nav-link:hover,
.hover-nav-link.active {
    color: #60a5fa;
    transform: translateX(5px);
}

.hover-nav-link.active {
    font-weight: 600;
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--section-white);
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem;
}

/* Neural Network Background - Feed-Forward Training Animation */
.neural-network-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(252, 252, 253, 0.91) 100%),
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    animation: neuralPulse 12s ease-in-out infinite;
    overflow: hidden;
    z-index: 1;
}

@keyframes neuralPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.neuron-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

/* Neuron Styles for Different Layers */
.neuron-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.25;
    transition: all 0.4s ease;
    border: 1px solid rgba(102, 126, 234, 0.2);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 3px rgba(102, 126, 234, 0.12);
}

/* Input Layer Neurons */
.neuron-dot.layer-0 {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.2);
    box-shadow: 0 0 2px rgba(34, 197, 94, 0.08);
}

/* Hidden Layer 1 Neurons */
.neuron-dot.layer-1 {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: 0 0 2px rgba(102, 126, 234, 0.08);
}

/* Hidden Layer 2 Neurons */
.neuron-dot.layer-2 {
    background: rgba(118, 75, 162, 0.15);
    border-color: rgba(118, 75, 162, 0.2);
    box-shadow: 0 0 2px rgba(118, 75, 162, 0.08);
}

/* Output Layer Neurons */
.neuron-dot.layer-3 {
    background: rgba(251, 146, 60, 0.15);
    border-color: rgba(251, 146, 60, 0.2);
    box-shadow: 0 0 2px rgba(251, 146, 60, 0.08);
}

/* Active Neuron States */
.neuron-dot.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.3);
    animation: neuron-activate 0.6s ease-out;
}

.neuron-dot.processing {
    opacity: 0.8;
    animation: neuron-process 1s ease-in-out infinite;
}

/* Connection Styles */
.neuron-connection {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.08), rgba(102, 126, 234, 0.02));
    opacity: 0.15;
    transition: all 0.4s ease;
    border-radius: 1px;
    transform-origin: left center;
}

/* Data Flow Animation */
.neuron-connection.data-flow {
    opacity: 0.4;
    background: linear-gradient(90deg, 
        rgba(102, 126, 234, 0.3), 
        rgba(102, 126, 234, 0.2), 
        rgba(102, 126, 234, 0.1)
    );
    background-size: 200% 100%;
    animation: data-propagation 0.8s ease-out;
    box-shadow: 0 0 2px rgba(102, 126, 234, 0.15);
}

/* Training Feedback (Backpropagation Effect) */
.neuron-connection.training-feedback {
    opacity: 0.3;
    background: linear-gradient(-90deg, 
        rgba(251, 146, 60, 0.3), 
        rgba(251, 146, 60, 0.15), 
        rgba(251, 146, 60, 0.05)
    );
    background-size: 200% 100%;
    animation: training-signal 0.4s ease-in-out;
    box-shadow: 0 0 2px rgba(251, 146, 60, 0.2);
}

/* Legacy support for existing animations */
.neuron-connection.active {
    background: rgba(102, 126, 234, 0.4);
    opacity: 0.8;
    box-shadow: 0 0 3px rgba(102, 126, 234, 0.3);
    animation: connectionPulse 0.8s ease;
}

.neuron-connection.wave-active {
    background: linear-gradient(90deg, 
        rgba(102, 126, 234, 0.15) 0%, 
        rgba(102, 126, 234, 0.6) 50%, 
        rgba(102, 126, 234, 0.15) 100%);
    opacity: 0.8;
    box-shadow: 0 0 6px rgba(102, 126, 234, 0.4);
}

/* Keyframe Animations */
@keyframes neuron-activate {
    0% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.5);
    opacity: 1;
    }
    100% { 
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
    }
}

@keyframes neuron-process {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.8;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.6;
    }
}

@keyframes data-propagation {
    0% {
        background-position: -200% 0;
        box-shadow: 0 0 4px rgba(102, 126, 234, 0.3);
    }
    100% {
        background-position: 200% 0;
        box-shadow: 0 0 8px rgba(102, 126, 234, 0.5);
    }
}

@keyframes training-signal {
    0% {
        background-position: 200% 0;
        opacity: 0.6;
    }
    100% {
        background-position: -200% 0;
        opacity: 0.3;
    }
}

@keyframes connectionPulse {
    0% {
        background: rgba(102, 126, 234, 0.6);
        box-shadow: 0 0 6px rgba(102, 126, 234, 0.4);
    }
    100% {
        background: rgba(102, 126, 234, 0.2);
        box-shadow: 0 0 3px rgba(102, 126, 234, 0.15);
    }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    padding: 0 2rem;
}

.hero-headline {
    font-family: var(--font-family-heading);
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: rgba(26, 32, 44, 0.9);
    letter-spacing: -0.02em;
    position: relative;
    z-index: 15;
}

.hero-connector {
    font-size: 0.5em;
    font-weight: 300;
    color: rgba(107, 114, 128, 0.7);
    opacity: 0.9;
}

.hero-headline .text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subheadline {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    color: rgba(55, 65, 81, 0.8);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    position: relative;
    z-index: 15;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.glass-btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary.glass-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    font-weight: 600;
}

.btn-primary.glass-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: var(--text-white);
}

.btn-outline.glass-btn {
    background: white;
    color: var(--primary-color);
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline.glass-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
    color: var(--primary-color);
}

/* ===== INNOVATION IN ACTION SECTION ===== */
.innovation-section {
    padding: 6rem 0;
    background: var(--section-light-blue);
    position: relative;
    overflow: hidden;
}

.innovation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(102, 126, 234, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(118, 75, 162, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.innovation-section .section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.innovation-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.innovation-section .section-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 4rem;
}

.innovation-subsection {
    margin-bottom: 4rem;
    position: relative;
}

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

.subsection-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.subsection-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Applications Grid */
.applications-grid,
.industries-grid,
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.application-card,
.industry-card,
.impact-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.application-card::before,
.industry-card::before,
.impact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.application-card:hover,
.industry-card:hover,
.impact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.application-card:hover::before,
.industry-card:hover::before,
.impact-card:hover::before {
    opacity: 1;
}

.application-icon,
.industry-icon,
.impact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    font-size: 2rem;
    color: white;
    position: relative;
    transition: all 0.3s ease;
}

.application-card:hover .application-icon,
.industry-card:hover .industry-icon,
.impact-card:hover .impact-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.application-card h4,
.industry-card h4,
.impact-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.application-card p,
.industry-card p,
.impact-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

.application-card:hover h4,
.industry-card:hover h4,
.impact-card:hover h4 {
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .innovation-section {
        padding: 4rem 0;
    }
    
    .applications-grid,
    .industries-grid,
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .application-card,
    .industry-card,
    .impact-card {
        padding: 2rem 1.5rem;
    }
    
    .subsection-title {
        font-size: 1.8rem;
    }
    
    .innovation-section .section-subtitle,
    .subsection-description {
        font-size: 1rem;
    }
}

/* ===== PAGE HERO SECTION ===== */
.page-hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: var(--section-white);
    position: relative;
    overflow: hidden;
    padding: 8rem 0 4rem;
}

.page-hero-section .hero-headline {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.page-hero-section .hero-subheadline {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* ===== STORY SECTION ===== */
.story-section {
    padding: 6rem 0;
    background: var(--background-secondary);
}

.story-content .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.timeline-container {
    position: relative;
    padding-left: 2rem;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.timeline-year {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== MISSION SECTION ===== */
.mission-section {
    padding: 6rem 0;
    background: var(--section-blue-tint);
}

.mission-card {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.mission-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.mission-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.mission-card:hover .mission-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.mission-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.mission-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* ===== TEAM SECTION ===== */
.team-section {
    padding: 6rem 0;
    background: var(--background-tertiary);
}

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

.team-member {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.member-photo {
    margin-bottom: 1.5rem;
}

.photo-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.member-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

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

.member-bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ===== SERVICES PAGE REDESIGN ===== */

/* Hero Section */
.services-hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

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

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 15%;
    animation-delay: 5s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 20%;
    animation-delay: 10s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: 10%;
    animation-delay: 15s;
}

.shape-5 {
    width: 140px;
    height: 140px;
    top: 50%;
    left: 50%;
    animation-delay: 7s;
    transform: translate(-50%, -50%);
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-30px) rotate(180deg); 
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--text-white);
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-white-muted);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    display: block;
}

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

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    z-index: 10;
}

.ai-visualization {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.ai-node {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-white);
    animation: pulse 3s ease-in-out infinite;
}

.central-node {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    font-size: 2rem;
}

.node-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    animation: pulseRing 2s linear infinite;
}

.node-1 {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0.5s;
}

.node-2 {
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    animation-delay: 1s;
}

.node-3 {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1.5s;
}

.node-4 {
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    animation-delay: 2s;
}

.connection-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    height: 2px;
    animation: connectionFlow 3s ease-in-out infinite;
}

.line-1 {
    top: calc(50% - 1px);
    left: 50%;
    width: 120px;
    transform-origin: left center;
    transform: translateX(-50%) rotate(-90deg);
}

.line-2 {
    top: calc(50% - 1px);
    left: 50%;
    width: 120px;
    transform-origin: left center;
    transform: translateX(-50%) rotate(0deg);
}

.line-3 {
    top: calc(50% - 1px);
    left: 50%;
    width: 120px;
    transform-origin: left center;
    transform: translateX(-50%) rotate(90deg);
}

.line-4 {
    top: calc(50% - 1px);
    left: 50%;
    width: 120px;
    transform-origin: left center;
    transform: translateX(-50%) rotate(180deg);
}

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

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

@keyframes connectionFlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

/* Services Overview Section */
.services-overview-section {
    padding: var(--spacing-xxl) 0;
    background: var(--section-light-blue);
}

.section-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.services-showcase {
    margin-top: 4rem;
}

.service-showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    padding: 3rem;
    background: var(--surface-color);
    border-radius: 20px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.service-showcase-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.1);
}

.service-showcase-item.reverse {
    direction: rtl;
}

.service-showcase-item.reverse > * {
    direction: ltr;
}

.service-visual {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-animation {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Service Animations */
.ai-agent-network {
    position: relative;
    width: 100%;
    height: 100%;
}

.agent {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.2rem;
    animation: agentFloat 4s ease-in-out infinite;
}

.central-agent {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
}

.agent-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(102, 126, 234, 0.6);
    animation: pulseRing 2s linear infinite;
}

.worker-agent {
    width: 50px;
    height: 50px;
}

.agent-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0.5s;
}

.agent-2 {
    top: 20%;
    right: 20%;
    animation-delay: 1s;
}

.agent-3 {
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1.5s;
}

.knowledge-graph {
    position: relative;
    width: 100%;
    height: 100%;
}

.graph-node {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0891b2, #0369a1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.2rem;
    animation: nodeGlow 3s ease-in-out infinite;
}

.central-node {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
}

.node-1 {
    top: 20%;
    left: 30%;
    animation-delay: 0.5s;
}

.node-2 {
    top: 20%;
    right: 30%;
    animation-delay: 1s;
}

.node-3 {
    bottom: 20%;
    right: 40%;
    animation-delay: 1.5s;
}

.graph-connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0891b2, transparent);
    animation: dataFlow 2s ease-in-out infinite;
}

.conn-1 {
    top: 40%;
    left: 35%;
    width: 80px;
    transform: rotate(20deg);
}

.conn-2 {
    top: 40%;
    right: 35%;
    width: 80px;
    transform: rotate(-20deg);
}

.conn-3 {
    bottom: 35%;
    right: 42%;
    width: 60px;
    transform: rotate(60deg);
}

.conversation-ai {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-interface {
    width: 250px;
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.chat-message {
    margin-bottom: 1rem;
}

.chat-message.user .message-bubble {
    background: var(--gradient-primary);
    color: var(--text-white);
    margin-left: auto;
    max-width: 80%;
    font-weight: 500;
}

.chat-message.ai .message-bubble {
    background: #f1f5f9;
    color: var(--text-primary);
    max-width: 80%;
    font-weight: 500;
}

.message-bubble {
    padding: 0.75rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    align-items: center;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: #94a3b8;
    border-radius: 50%;
    animation: typingDots 1.5s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

.service-content {
    padding: 1rem;
}

.service-header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.service-icon-large {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.service-meta {
    flex: 1;
}

.service-category {
    display: block;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.service-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.service-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 400;
}

.service-capabilities {
    margin-bottom: 2rem;
}

.capability-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: var(--text-primary);
}

.capability-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.service-tech-stack {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tech-badge {
    background: var(--gradient-subtle-1);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

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

@keyframes nodeGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(8, 145, 178, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(8, 145, 178, 0.6);
    }
}

@keyframes dataFlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

@keyframes typingDots {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

/* Other sections */
.industry-solutions-section {
    padding: var(--spacing-xxl) 0;
    background: var(--section-purple-tint);
}

.process-section {
    padding: var(--spacing-xxl) 0;
    background: var(--section-gray-tint);
}

.cta-section {
    padding: var(--spacing-xxl) 0;
    background: var(--section-blue-tint);
}

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

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

.industry-solution {
    background: var(--surface-color);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.industry-solution:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.industry-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.industry-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

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

.process-step {
    text-align: center;
    padding: 2rem;
    background: var(--surface-color);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
    margin: 0 auto 1rem auto;
}

.step-content h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card.featured {
    border: 2px solid rgba(102, 126, 234, 0.2);
    background: rgba(102, 126, 234, 0.02);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.service-features i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.service-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ===== INDUSTRY SOLUTIONS ===== */
.industry-solutions-section {
    padding: 6rem 0;
    background: var(--gradient-subtle-3);
}

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

.industry-solution {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.industry-solution:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.industry-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.industry-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.industry-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.industry-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.industry-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.solution-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.highlight {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.highlight strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== PROCESS SECTION ===== */
.process-section {
    padding: 6rem 0;
    background: var(--background-secondary);
}

.process-timeline {
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateX(-50%);
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.process-step:nth-child(odd) {
    flex-direction: row;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
    margin: 0 2rem;
}

.step-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    padding: 2rem;
    max-width: 300px;
}

.step-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-grid,
    .industry-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .process-step {
        flex-direction: row !important;
        padding-left: 80px;
    }
    
    .step-number {
        position: absolute;
        left: 0;
        margin: 0;
    }
    
    .step-content {
        max-width: none;
    }
}

/* ===== CONTACT PAGE ===== */
.contact-form-section {
    padding: 6rem 0;
    background: var(--section-gray-tint);
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.contact-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.contact-benefits {
    margin-bottom: 3rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.benefit-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.method-icon {
    width: 40px;
    height: 40px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.method-content h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.method-content p {
    color: var(--text-secondary);
    margin: 0;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.15);
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.1);
}

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

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

.contact-form .form-group label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    color: var(--text-primary);
    width: 100%;
    transition: all 0.3s ease;
    outline: none;
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: #ffffff;
}

.submit-btn {
    margin-top: 1rem;
    align-self: flex-start;
}

/* ===== LOCATIONS SECTION ===== */
.locations-section {
    padding: 6rem 0;
    background: var(--section-light-blue);
}

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

.location-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.location-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 1.5rem;
}

.location-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.location-address {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.location-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 6rem 0;
    background: var(--background-secondary);
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(102, 126, 234, 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(102, 126, 234, 0.02);
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem 1.5rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeInDown 0.3s ease;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-methods {
        margin-top: 2rem;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        margin-top: 2rem;
        padding: 2rem;
    }
    
    .faq-question {
        padding: 1rem 1.5rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem 1rem;
    }
    
    .footer .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer .footer-section {
        text-align: center;
    }
    
    .hamburger-menu {
        display: block;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
        gap: 0.5rem;
    }
    
    .navbar-logo {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .brand-text {
        display: none;
    }
    
    .modern-navbar {
        padding: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-logo {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    .hamburger-trigger {
        width: 36px;
        height: 36px;
        padding: 0.6rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 6rem 0;
    background: var(--background-secondary);
}

.about-illustration {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-brain-graphic {
    position: relative;
    width: 300px;
    height: 300px;
}

.brain-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 3s ease-in-out infinite;
}

.neural-connections {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.connection {
    position: absolute;
    width: 2px;
    background: var(--primary-color);
    opacity: 0.6;
    animation: connectionFlow 4s ease-in-out infinite;
}

.connection:nth-child(1) {
    height: 120px;
    top: 20%;
    left: 30%;
    transform: rotate(45deg);
}

.connection:nth-child(2) {
    height: 100px;
    top: 60%;
    right: 25%;
    transform: rotate(-30deg);
    animation-delay: 1s;
}

.connection:nth-child(3) {
    height: 80px;
    bottom: 30%;
    left: 20%;
    transform: rotate(60deg);
    animation-delay: 2s;
}

.connection:nth-child(4) {
    height: 110px;
    top: 40%;
    right: 40%;
    transform: rotate(-45deg);
    animation-delay: 3s;
}

@keyframes connectionFlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.data-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-teal);
    border-radius: 50%;
    animation: particleFloat 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 80%;
    right: 20%;
    animation-delay: 1.5s;
}

.particle:nth-child(3) {
    bottom: 60%;
    left: 80%;
    animation-delay: 3s;
}

.particle:nth-child(4) {
    top: 40%;
    right: 60%;
    animation-delay: 4.5s;
}

.particle:nth-child(5) {
    bottom: 20%;
    left: 40%;
    animation-delay: 6s;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.5; }
    50% { transform: translateY(-20px) scale(1.2); opacity: 1; }
}

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

.about-intro {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.about-specialties {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.about-specialties li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.about-specialties i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
}

.about-tagline {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

/* ===== TECHNOLOGIES SECTION ===== */
.technologies-section {
    padding: 6rem 0;
    background: var(--section-gray-tint);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-family-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

.tech-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

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

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

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
}

.tech-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2rem;
    position: relative;
    z-index: 10;
}

.tech-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 10;
}

.tech-description {
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 10;
}

.tech-partners {
    margin-top: 4rem;
    text-align: center;
}

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

.partner-logo {
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* ===== SOLUTIONS SECTION ===== */
.solutions-section {
    padding: 6rem 0;
    background: var(--section-purple-tint);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.solution-row {
    margin: 4rem 0;
    padding: 2rem 0;
}

/* Original solution-image styling - transparent background */
.solution-image {
    position: relative;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    height: 400px;
    overflow: hidden;
    background: transparent;
    border-radius: 12px;
}

/* Override for specific canvas containers that need dark backgrounds */
.solution-image .knowledge-graph-container,
.solution-image .nf-ai-assistant-container,
.solution-image .agents-visualization-container {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f172a 100%) !important;
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Keep infrastructure diagram with transparent/light background */
.solution-image .infrastructure-diagram {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
}
}

.dashboard-mockup {
    width: 100%;
    max-width: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.3);
}

.mockup-header {
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.mockup-content {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    min-height: 200px;
}

.chat-interface {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    max-width: 80%;
}

.chat-message.user {
    background: var(--gradient-primary);
    color: white;
    align-self: flex-end;
}

.chat-message.ai {
    background: #f1f3f4;
    color: var(--text-secondary);
    align-self: flex-start;
}

.agents-visualization {
    width: 100%;
    max-width: 400px;
    position: relative;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.agent-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.agent-node:hover {
    transform: scale(1.05);
}

.agent-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.knowledge-graph {
    width: 100%;
    max-width: 400px;
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.graph-nodes {
    position: relative;
    width: 300px;
    height: 300px;
}

.graph-node {
    position: absolute;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.graph-node.primary {
    background: var(--gradient-primary);
    color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.graph-node:nth-child(2) {
    top: 20%;
    left: 20%;
}

.graph-node:nth-child(3) {
    top: 20%;
    right: 20%;
}

.graph-node:nth-child(4) {
    bottom: 20%;
    left: 20%;
}

.graph-node:nth-child(5) {
    bottom: 20%;
    right: 20%;
}

.infrastructure-diagram {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.infra-layer {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.1);
}

.infra-layer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
    transition: left 0.6s;
}

.infra-layer:hover::before {
    left: 100%;
}

.infra-layer:hover {
    transform: translateX(10px) scale(1.02);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border-left-color: #4facfe;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.infra-layer:nth-child(1) {
    animation: layerPulse 3s ease-in-out infinite;
    animation-delay: 0s;
}

.infra-layer:nth-child(2) {
    animation: layerPulse 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

.infra-layer:nth-child(3) {
    animation: layerPulse 3s ease-in-out infinite;
    animation-delay: 1s;
}

.infra-layer:nth-child(4) {
    animation: layerPulse 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes layerPulse {
    0%, 100% {
        border-left-color: var(--primary-color);
        box-shadow: 0 2px 10px rgba(102, 126, 234, 0.1);
    }
    50% {
        border-left-color: #4facfe;
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    }
}

.solution-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.solution-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.solution-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== CASE STUDIES SECTION ===== */
.case-studies-section {
    padding: 6rem 0;
    background: var(--section-white);
}

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

.case-study-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.case-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
}

.case-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.case-content p {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.case-challenge {
    color: var(--accent-orange);
}

.case-solution {
    color: var(--accent-blue);
}

.case-result {
    color: var(--accent-teal);
    font-weight: 600;
}

/* ===== WHY CHOOSE SECTION ===== */
.why-choose-section {
    padding: 6rem 0;
    background: var(--background-tertiary);
}

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

.why-card {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

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

.why-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.why-card:hover .why-icon {
    transform: scale(1.1);
}

.why-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.why-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 6rem 0;
    background: var(--text-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(118, 75, 162, 0.3) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.cta-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

/* ===== FOOTER ===== */
.footer-section,
.footer {
    background: #1a1a1a;
    color: var(--text-white);
    padding: 1rem 0;
    margin-top: auto;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    overflow: hidden;
    padding: 2px;
}

.footer-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.footer-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

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

/* ===== KNOWLEDGE GRAPH ANIMATION ===== */
.knowledge-graph-container {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f172a 100%);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

#knowledgeGraphCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

.graph-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 1rem;
}

.graph-legend {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-dot.company {
    background: linear-gradient(45deg, #3b82f6, #60a5fa);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.legend-dot.insights {
    background: linear-gradient(45deg, #06b6d4, #67e8f9);
    box-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
}

.legend-dot.flow {
    background: linear-gradient(45deg, #8b5cf6, #a78bfa);
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.5);
    animation: pulse-dot 2s ease-in-out infinite;
}

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

/* ===== AUTONOMOUS AGENTS ANIMATION ===== */
.agents-visualization-container {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f172a 100%);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

#agentsCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

.agents-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 1rem;
}

.agents-legend {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legend-dot.research {
    background: linear-gradient(45deg, #1e40af, #3b82f6);
    box-shadow: 0 0 8px rgba(30, 64, 175, 0.5);
}

.legend-dot.analysis {
    background: linear-gradient(45deg, #0891b2, #06b6d4);
    box-shadow: 0 0 8px rgba(8, 145, 178, 0.5);
}

.legend-dot.execution {
    background: linear-gradient(45deg, #ea580c, #f97316);
    box-shadow: 0 0 8px rgba(234, 88, 12, 0.5);
}

/* ===== AI ASSISTANT ANIMATION ===== */
.nf-ai-assistant-container {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f172a 100%);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

#nf-ai-assistant-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.assistant-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.conversation-area {
    width: 100%;
    max-width: 400px;
    position: relative;
}

.chat-bubble {
    padding: 0.75rem 1rem;
    border-radius: 18px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 250px;
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
    animation-fill-mode: forwards;
}

.user-bubble {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    margin-left: auto;
    margin-right: 0;
    text-align: right;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.ai-bubble {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: white;
    margin-left: 0;
    margin-right: auto;
    border-bottom-left-radius: 4px;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.typing-dots {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: typing-bounce 3s ease-in-out infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

.response-text {
    display: none;
}

@keyframes typing-bounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-4px);
        opacity: 0.8;
    }
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-15px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(15px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.chat-bubble.animate-in-left {
    animation: slide-in-left 0.6s ease-out forwards;
}

.chat-bubble.animate-in-right {
    animation: slide-in-right 0.6s ease-out forwards;
}

/* ===== FLOATING AI BOT ===== */
.floating-bot {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 9999;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: bot-float 6s ease-in-out infinite;
}

.bot-body {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.bot-body:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(6, 182, 212, 0.6);
}

.bot-face {
    position: relative;
    width: 40px;
    height: 40px;
}

.bot-eyes {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 0 8px;
}

.bot-eye {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: bot-blink 8s ease-in-out infinite;
}

.bot-mouth {
    width: 12px;
    height: 6px;
    background: white;
    border-radius: 0 0 6px 6px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.bot-antenna {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 12px;
    background: #0891b2;
    border-radius: 1px;
}

.bot-antenna::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -2px;
    width: 6px;
    height: 6px;
    background: #f59e0b;
    border-radius: 50%;
    animation: antenna-glow 4s ease-in-out infinite;
}

.bot-shadow {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    animation: shadow-breathe 6s ease-in-out infinite;
}

.bot-speech-bubble {
    position: absolute;
    bottom: 70px;
    right: -10px;
    background: white;
    color: #374151;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(10px) scale(0.8);
    transition: all 0.3s ease;
    pointer-events: none;
}

.bot-speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

.floating-bot:hover .bot-speech-bubble {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.floating-bot:hover .bot-mouth {
    height: 8px;
    border-radius: 6px;
}

.floating-bot.bot-excited {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(6, 182, 212, 0.6);
}

.floating-bot.bot-thinking .bot-eyes .bot-eye {
    animation: bot-eye-roll 2s ease-in-out infinite;
}

.floating-bot.bot-happy .bot-mouth {
    transform: rotate(180deg);
    border-radius: 6px 6px 0 0;
}

.bot-controls {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    padding: 8px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.floating-bot:hover .bot-controls,
.bot-controls:hover {
    opacity: 1;
    pointer-events: all;
    bottom: -25px;
    transform: translateX(-50%) scale(1.05);
}

.bot-control-btn {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bot-control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.bot-control-btn:active {
    transform: scale(0.95);
}

.bot-content-display {
    position: fixed;
    bottom: 180px;
    right: 30px;
    width: 350px;
    max-height: 300px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bot-content-display.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.bot-content-display h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bot-content-display p {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #374151;
    word-wrap: break-word;
    hyphens: auto;
}

.bot-content-display .question {
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.bot-content-display .answer {
    color: #059669;
    font-weight: 500;
}

.bot-content-display .paper-title {
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 0.25rem;
    word-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
}

.bot-content-display .paper-meta {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.bot-content-display .close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #9ca3af;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.bot-content-display .close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #374151;
}

#contentArea {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.5rem;
    margin-right: -0.5rem;
}

#contentArea::-webkit-scrollbar {
    width: 4px;
}

#contentArea::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

#contentArea::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 2px;
}

#contentArea::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .bot-content-display {
        right: 20px;
        left: 20px;
        width: auto;
        max-width: none;
        bottom: 160px;
        max-height: 250px;
    }
}

/* ===== HTML CHATBOT ===== */
.html-chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 380px;
    height: 600px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    transform: translateY(20px) scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.html-chatbot.active {
    display: flex;
    transform: translateY(0) scale(1);
    opacity: 1;
}

.chatbot-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 20px 20px 0 0;
}

.chatbot-avatar {
    position: relative;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    overflow: hidden;
    padding: 6px;
}

.chatbot-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.avatar-status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: #10b981;
    animation: pulse-status 2s infinite;
}

.chatbot-info {
    flex: 1;
}

.chatbot-info h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.chatbot-status {
    font-size: 0.9rem;
    opacity: 0.9;
}

.close-chatbot-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-chatbot-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 3px;
}

.message {
    display: flex;
    gap: 0.75rem;
    max-width: 85%;
    animation: fadeInUp 0.3s ease;
}

.message.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.bot-message .message-avatar {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.user-message .message-avatar {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.message-content {
    background: #f8fafc;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    position: relative;
}

.user-message .message-content {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.message-content p {
    margin: 0;
    line-height: 1.4;
    font-size: 0.95rem;
}

.message-time {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

.chatbot-quick-actions {
    padding: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.quick-action-btn {
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.quick-action-btn:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-1px);
}

.chatbot-input-area {
    padding: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.input-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    background: #f8fafc;
    border-radius: 25px;
    padding: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.input-container:focus-within {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

#chatbotInput {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    outline: none;
    color: #334155;
}

#chatbotInput::placeholder {
    color: #94a3b8;
}

.send-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.typing-indicator {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.typing-indicator.active {
    display: flex;
}

.typing-indicator span:nth-child(1),
.typing-indicator span:nth-child(2),
.typing-indicator span:nth-child(3) {
    width: 8px;
    height: 8px;
    background: #6366f1;
    border-radius: 50%;
    animation: typing-dots 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .html-chatbot {
        bottom: 10px;
        right: 10px;
        left: 10px;
        width: auto;
        height: 70vh;
        max-height: 600px;
    }
}

/* Chatbot Animations */
@keyframes pulse-status {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

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

@keyframes typing-dots {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== PRICING PAGE STYLES ===== */
.pricing-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.pricing-hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    margin: 0.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Service Cards */
.services-grid {
    background: #f8fafc;
    padding: 80px 0;
}

.enterprise-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
}

.service-description {
    color: #718096;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #4a5568;
}

.service-features i {
    color: #48bb78;
    margin-right: 0.75rem;
    font-size: 0.9rem;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-cta:hover {
    color: #764ba2;
    transform: translateX(5px);
}

.service-cta i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-cta:hover i {
    transform: translateX(3px);
}

.enterprise-card {
    border: 2px solid #f093fb;
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.05), rgba(245, 87, 108, 0.05));
}

.enterprise-cta {
    color: #f093fb;
}

.enterprise-cta:hover {
    color: #f5576c;
}

/* Bundled Tiers */
.bundled-tiers {
    background: var(--background-secondary);
    padding: 80px 0;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.featured {
    border: 2px solid #667eea;
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.pricing-header p {
    color: #718096;
    margin-bottom: 1.5rem;
}

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

.pricing-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #4a5568;
}

.pricing-features i {
    color: #48bb78;
    margin-right: 0.75rem;
    font-size: 0.9rem;
}

.pricing-cta {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pricing-cta:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
    transform: translateY(-2px);
    color: white;
}

.professional-card .pricing-cta {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.professional-card .pricing-cta:hover {
    background: linear-gradient(135deg, #f5576c, #f093fb);
}

/* Engagement Section */
.engagement-section {
    background: var(--section-blue-tint);
    padding: 80px 0;
}

.engagement-card {
    background: white;
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.engagement-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2d3748;
}

.engagement-subtitle {
    font-size: 1.25rem;
    color: #718096;
    margin-bottom: 2rem;
}

.engagement-buttons .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    margin: 0.5rem;
}

/* Contact Section */
.contact-section {
    background: #2d3748;
    color: white;
    padding: 80px 0;
}

.contact-form-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.contact-info-quick {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 1rem;
}

.contact-info-quick p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .service-card, .pricing-card {
        margin-bottom: 2rem;
    }
    
    .featured {
        transform: none;
    }
    
    .engagement-title {
        font-size: 2rem;
    }
}

/* ===== BEAUTIFUL TOOLS SHOWCASE ===== */
.open-source-expertise {
    margin-top: var(--spacing-xxl);
    text-align: center;
    position: relative;
}

.expertise-header {
    margin-bottom: var(--spacing-xxl);
}

.expertise-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.expertise-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.expertise-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.tools-showcase-container {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.1);
}

.tools-showcase {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.tools-showcase::-webkit-scrollbar {
    height: 6px;
}

.tools-showcase::-webkit-scrollbar-track {
    background: rgba(102, 126, 234, 0.1);
    border-radius: 3px;
}

.tools-showcase::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 3px;
}

.tools-showcase .tool-item * {
    user-select: none;
    pointer-events: none;
}

.tools-showcase:active {
    cursor: grabbing;
}

.tools-showcase.dragging {
    cursor: grabbing;
}



.tools-showcase:hover::after {
    opacity: 0.8;
}

.tools-track {
    display: flex;
    gap: 1.5rem;
    padding: 0 1rem;
    min-width: min-content;
    transition: transform 0.3s ease;
}

.tools-track.dragging {
    animation-play-state: paused;
}

.tools-track.no-animation {
    animation: none;
}

/* Ensure tools are still interactive even if JavaScript fails */

/* Beautiful Tool Cards */
.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    max-width: 140px;
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border: 1px solid rgba(102, 126, 234, 0.15);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.1);
}

.tool-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
}

.tool-item:hover::before {
    transform: rotate(45deg) translateX(100%);
}

.tool-item:hover {
    transform: translateY(-8px) scale(1.05);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.tool-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 14px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.tool-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(1.1);
}

.tool-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--text-white);
    transition: all 0.3s ease;
}

.tool-item:hover .tool-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.tool-item:hover .tool-icon img,
.tool-item:hover .tool-icon svg {
    transform: scale(1.1);
}

.tool-icon .loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top: 3px solid rgba(0, 212, 255, 0.8);
    animation: spin 1s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
}



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

.tool-item:hover .tool-icon img {
    transform: scale(1.1);
    filter: brightness(1.3);
}

.tool-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.3;
    position: relative;
    z-index: 2;
    margin-bottom: 0.5rem;
}

.tool-category {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* Horizontal scroll animation */
@keyframes scroll-horizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Navigation Buttons */
.tools-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--gradient-primary);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    font-size: 1.1rem;
}

.nav-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.nav-btn:active {
    transform: translateY(0) scale(0.98);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Category Filter */
.tools-categories {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.5rem 1.25rem;
    border: 2px solid rgba(102, 126, 234, 0.2);
    background: transparent;
    color: var(--text-muted);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: var(--gradient-primary);
    color: var(--text-white);
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .expertise-title {
        font-size: 1.5rem;
    }
    
    .tools-showcase-container {
        padding: 1.5rem;
        margin: 0 -1rem;
        border-radius: 16px;
    }
    
    .tool-item {
        min-width: 120px;
        max-width: 120px;
        padding: 1rem 0.75rem;
    }
    
    .tool-icon {
        width: 48px;
        height: 48px;
    }
    
    .tool-name {
        font-size: 0.85rem;
    }
    
    .tools-categories {
        gap: 0.5rem;
    }
    
    .category-btn {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
}

/* ===== NEUROFISSION FLOATING PARTICLES BACKGROUND ===== */

.nf-particles-bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
    pointer-events: none;
    display: block !important;
    min-height: 600px;
    background: transparent;
}

/* ===== NEUROFISSION SOLUTION CANVAS ELEMENTS ===== */
/* Canvas styling moved to container section above to avoid duplication */

/* Mobile Canvas Optimizations - Minimal changes */
@media (max-width: 767px) {
    /* Adjust canvas container heights for mobile */
    .nf-ai-assistant-container,
    .agents-visualization-container,
    .knowledge-graph-container,
    .ml-pipeline-container {
        min-height: 280px !important;
        height: 280px !important;
        margin: 1.5rem 0;
    }
    
    /* Adjust solution image container heights for mobile */
    .solution-image {
        min-height: 280px !important;
        height: 280px !important;
        margin: 1.5rem 0;
    }
    
    /* Solutions section mobile spacing */
    .solutions-section .row {
        margin: 0 -0.5rem;
    }
    
    .solutions-section .col-md-6 {
        padding: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* Overlays and content within canvas containers */
    .assistant-overlay,
    .agents-overlay {
        padding: 0.75rem;
    }
    
    .conversation-area {
        max-width: 300px;
        font-size: 0.9rem;
    }
    
    .agents-legend {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
}

/* Canvas containers with dark backgrounds */
.nf-ai-assistant-container,
.agents-visualization-container,
.knowledge-graph-container,
.ml-pipeline-container {
    position: relative;
    min-height: 400px;
    height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f172a 100%);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Solution image styling moved to main section above - removed duplicate */

/* Ensure canvas elements fill their containers properly */
#nf-ai-assistant-canvas,
#nf-knowledge-graph-canvas,
#nf-agents-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 2;
    pointer-events: none;
    display: block !important;
    background: transparent;
}

.solutions-section .container {
    position: relative;
    z-index: 1;
}

/* CSS Backup Particles */
.nf-css-particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    display: none !important;
}

.nf-floating-particle {
    position: absolute;
    width: var(--particle-size, 24px);
    height: var(--particle-size, 24px);
    background: rgba(102, 126, 234, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 25px rgba(102, 126, 234, 0.4);
    animation: nf-float-particle 8s infinite linear;
}

@keyframes nf-float-particle {
    0% {
        transform: translateY(0px) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
        transform: translateY(-50vh) translateX(50px);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* Bot Animations */
@keyframes bot-float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes bot-jump {
    0% {
        transform: translateY(0px) scale(1);
    }
    25% {
        transform: translateY(-20px) scale(1.1);
    }
    50% {
        transform: translateY(-30px) scale(1.05);
    }
    75% {
        transform: translateY(-10px) scale(1.02);
    }
    100% {
        transform: translateY(0px) scale(1);
    }
}

@keyframes bot-blink {
    0%, 90%, 100% {
        height: 6px;
    }
    95% {
        height: 1px;
    }
}

@keyframes bot-eye-roll {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-2px);
    }
    75% {
        transform: translateX(2px);
    }
}

@keyframes antenna-glow {
    0%, 100% {
        box-shadow: 0 0 5px #f59e0b;
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 15px #f59e0b;
        transform: scale(1.2);
    }
}

@keyframes shadow-breathe {
    0%, 100% {
        width: 40px;
        opacity: 0.2;
    }
    50% {
        width: 45px;
        opacity: 0.15;
    }
}

/* Responsive Bot */
@media (max-width: 768px) {
    .floating-bot {
        bottom: 80px;
        right: 20px;
    }
    
    .bot-body {
        width: 50px;
        height: 50px;
    }
    
    .bot-speech-bubble {
        font-size: 0.7rem;
        padding: 6px 10px;
        bottom: 60px;
        right: -5px;
    }
}

/* Mobile Footer */
@media (max-width: 768px) {
    .footer .container {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .footer-links {
        gap: 1rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .footer-text {
        font-size: 0.8rem;
    }
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991.98px) {
    .navbar-toggle {
        display: block;
    }
    
    .navbar-nav {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .hero-headline {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .technologies-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-row .row {
        flex-direction: column;
    }
    
    .solution-row.reverse .row {
        flex-direction: column;
    }
    
    .about-illustration {
        height: 300px;
        margin-bottom: 2rem;
    }
    
    .ai-brain-graphic {
        width: 250px;
        height: 250px;
    }
    
    .case-studies-carousel {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        align-items: flex-start;
        margin-top: 2rem;
    }
    
    .footer-nav {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }
    
    .tech-card,
    .case-study-card {
        padding: 2rem 1.5rem;
    }
    
    .cta-form {
        padding: 1.5rem;
    }
}

/* ===== FORMSPREE FORM STATUS STYLES ===== */
.form-status {
    margin-top: 1rem !important;
    padding: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 20px;
    transition: all 0.3s ease;
}

.form-status:empty {
    padding: 0;
    min-height: 0;
    border: none;
    background: none;
}
/* ===== END FORMSPREE FORM STATUS STYLES ===== */