/* n8n-inspired Homepage Design */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* n8n-inspired color palette */
    --primary-color: #ff6d5a;
    --primary-dark: #e85746;
    --primary-light: #ff8577;
    --secondary-color: #6366f1;
    --success: #10b981;
    --error: #ef4444;
    
    /* Dark theme */
    --background: #0a0a0a;
    --background-secondary: #141414;
    --background-tertiary: #1a1a1a;
    --card-bg: #1a1a1a;
    --card-hover: #202020;
    
    /* Text colors */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-gray: #71717a;
    --text-muted: #52525b;
    
    /* Borders */
    --border: #27272a;
    --border-light: #3f3f46;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #ff6d5a 0%, #ff8577 100%);
    --gradient-secondary: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-primary);
    background: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Navbar - Enhanced dark design */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.3s ease;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.98) 0%,
        rgba(20, 20, 20, 0.98) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 109, 90, 0.15);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.6),
        0 2px 0 rgba(255, 109, 90, 0.08) inset;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 109, 90, 0.6) 50%,
        transparent 100%
    );
    opacity: 0.6;
}

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

.logo-img {
    height: 52px;
    width: auto;
    filter: drop-shadow(0 3px 10px rgba(255, 109, 90, 0.4));
    transition: all 0.3s ease;
}

.logo-img:hover {
    filter: drop-shadow(0 5px 15px rgba(255, 109, 90, 0.6));
    transform: translateY(-2px) scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(255, 109, 90, 0.1);
    box-shadow: 0 2px 8px rgba(255, 109, 90, 0.2);
}

/* Hero Section - n8n inspired */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 10rem 0 6rem;
    overflow: hidden;
    background: var(--background);
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 60%;
    height: 140%;
    background: radial-gradient(
        circle at center,
        rgba(255, 109, 90, 0.2) 0%,
        rgba(99, 102, 241, 0.15) 40%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: 0;
    animation: pulse-glow 8s ease-in-out infinite;
}

@keyframes hero-glow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

.title-line {
    display: block;
    margin: 0.2rem 0;
}

.title-line.highlight {
    background: linear-gradient(135deg, #ff6d5a 0%, #ffa799 15%, #ffd4cc 30%, #ffffff 50%, #ffd4cc 70%, #ffa799 85%, #ff6d5a 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    position: relative;
    filter: drop-shadow(0 0 20px rgba(255, 109, 90, 0.3)) drop-shadow(0 0 40px rgba(255, 109, 90, 0.15));
}

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

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 540px;
    line-height: 1.7;
}

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

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 16px rgba(255, 109, 90, 0.4);
}

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

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

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 28px rgba(255, 109, 90, 0.5);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1.5px solid var(--border-light);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: var(--card-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* Hero Visual - n8n style with animated illustration */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.hero-illustration {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

/* Animated nodes */
.node {
    animation: float-node 3s ease-in-out infinite;
}

.node-1 { animation-delay: 0s; }
.node-2 { animation-delay: 0.2s; }
.node-3 { animation-delay: 0.4s; }
.node-4 { animation-delay: 0.6s; }
.node-5 { animation-delay: 0.8s; }
.node-6 { animation-delay: 1s; }

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

/* Connection lines animation */
.connection-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: draw-line 3s ease-in-out infinite;
}

.line-1 { animation-delay: 0s; }
.line-2 { animation-delay: 0.3s; }
.line-3 { animation-delay: 0.6s; }
.line-4 { animation-delay: 0.9s; }
.line-5 { animation-delay: 1.2s; }

@keyframes draw-line {
    0%, 100% {
        stroke-dashoffset: 200;
        opacity: 0.2;
    }
    50% {
        stroke-dashoffset: 0;
        opacity: 0.6;
    }
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--background-secondary);
    position: relative;
    overflow: hidden;
}

.services-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.services-bg-icon {
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

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

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

.section-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--background-tertiary) 100%);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

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

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

.service-card:hover::after {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    border-color: var(--primary-color);
}

.service-card:hover .service-svg {
    transform: scale(1.1);
}

.service-svg {
    transition: transform 0.4s ease;
}

.service-icon-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-svg {
    width: 100%;
    height: 100%;
}

/* SVG Animations */
.pulse {
    animation: pulse-dot 2s ease-in-out infinite;
}

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

.rotate-slow {
    animation: rotate-slow 20s linear infinite;
    transform-origin: center;
}

.rotate-reverse {
    animation: rotate-reverse 15s linear infinite;
    transform-origin: center;
}

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

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

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.service-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    font-size: 0.9375rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* About Section */
.about {
    padding: 7rem 0;
    background: linear-gradient(180deg, var(--background) 0%, var(--background-secondary) 50%, var(--background) 100%);
    position: relative;
    overflow: hidden;
}

.about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 109, 90, 0.2), transparent);
}

/* Robotics Background */
.robotics-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1000px;
    height: 100%;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.robotics-svg {
    width: 100%;
    height: 100%;
}

/* Gear Animations */
.large-gear {
    animation: rotate-clockwise 20s linear infinite;
    transform-origin: 400px 300px;
}

.small-gear-top {
    animation: rotate-counter 15s linear infinite;
    transform-origin: 350px 200px;
}

.small-gear-bottom {
    animation: rotate-clockwise 12s linear infinite;
    transform-origin: 450px 400px;
}

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

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

/* Robot Arm Animations */
.left-arm {
    animation: arm-left 4s ease-in-out infinite;
    transform-origin: 100px 300px;
}

.right-arm {
    animation: arm-right 4s ease-in-out infinite;
    transform-origin: 700px 300px;
}

@keyframes arm-left {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(-15deg);
    }
}

@keyframes arm-right {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(15deg);
    }
}

/* Circuit Path Animation */
.circuit-path {
    animation: pulse-opacity 3s ease-in-out infinite;
}

@keyframes pulse-opacity {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* Data Particle Animations */
.data-particle {
    animation: float-particle 4s ease-in-out infinite;
}

.particle-1 {
    animation-delay: 0s;
}

.particle-2 {
    animation-delay: 1.3s;
}

.particle-3 {
    animation-delay: 2.6s;
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(-30px) scale(1.5);
        opacity: 1;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-60px) scale(1);
        opacity: 0;
    }
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.about-subtitle {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 3rem 0 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--background-tertiary) 100%);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

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

.stat-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(255, 109, 90, 0.3));
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
}

/* Core Values */
.core-values {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--background-tertiary) 100%);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-item:hover::before {
    opacity: 1;
}

.value-item:hover {
    transform: translateY(-6px);
    border-color: var(--secondary-color);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.value-icon {
    width: 40px;
    height: 40px;
    display: block;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 6px rgba(99, 102, 241, 0.3));
}

.value-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.value-item p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stack-item {
    background: var(--card-bg);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.stack-item:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
    background: var(--card-hover);
}

/* Powered By Section */
.powered-by {
    padding: 5rem 0 4rem;
    background: linear-gradient(180deg, var(--background) 0%, var(--background-secondary) 100%);
    border-top: 1px solid var(--border);
    position: relative;
}

.powered-by::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(118, 185, 0, 0.3) 50%,
        transparent 100%
    );
}

.powered-by-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.powered-by-text {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nvidia-logo {
    height: 50px;
    width: auto;
    opacity: 0.9;
    transition: all 0.3s ease;
    filter: brightness(1.1);
}

.nvidia-logo:hover {
    opacity: 1;
    transform: translateY(-2px) scale(1.05);
    filter: brightness(1.2) drop-shadow(0 4px 12px rgba(118, 185, 0, 0.4));
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--background-secondary) 0%, #0a0a0a 100%);
    border-top: 1px solid var(--border);
    color: var(--text-primary);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 109, 90, 0.3) 50%,
        transparent 100%
    );
    z-index: 2;
}

.footer-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.4;
    pointer-events: none;
}

.footer-hexapod {
    position: absolute;
    bottom: -12px;
    left: 50%;
    width: 360px;
    height: auto;
    transform: translateX(-50%) scale(0.96);
    opacity: 0.78;
    filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.55));
}

.footer-hexapod .hexapod-shadow ellipse {
    fill: rgba(0, 0, 0, 0.38);
    filter: blur(14px);
    animation: hexapodHoverShadow 6s ease-in-out infinite;
}

.footer-hexapod .body-shell {
    fill: url(#hexapodGlow);
    stroke: rgba(173, 184, 230, 0.65);
    stroke-width: 2;
    filter: drop-shadow(0 0 16px rgba(143, 163, 255, 0.35));
    animation: hexapodHover 6s ease-in-out infinite;
}

.footer-hexapod .body-core {
    fill: rgba(20, 24, 42, 0.88);
    stroke: rgba(143, 163, 255, 0.5);
    stroke-width: 1.5;
}

.footer-hexapod .body-plate {
    fill: none;
    stroke: rgba(143, 163, 255, 0.6);
    stroke-width: 4;
    stroke-linecap: round;
}

.footer-hexapod .sensor-eye {
    fill: rgba(255, 255, 255, 0.88);
    stroke: rgba(129, 140, 248, 0.85);
    stroke-width: 1.5;
    animation: sensorBlink 4.2s ease-in-out infinite;
}

.footer-hexapod .hexapod-leg polyline {
    fill: none;
    stroke: rgba(143, 163, 255, 0.5);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 46;
    stroke-dashoffset: 34;
    animation: legPulse 3.4s ease-in-out infinite;
}

.footer-hexapod .leg-1 polyline { animation-delay: 0s; }
.footer-hexapod .leg-2 polyline { animation-delay: 0.35s; }
.footer-hexapod .leg-3 polyline { animation-delay: 0.7s; }
.footer-hexapod .leg-4 polyline { animation-delay: 1.05s; }
.footer-hexapod .leg-5 polyline { animation-delay: 1.4s; }
.footer-hexapod .leg-6 polyline { animation-delay: 1.75s; }

.footer-hexapod .hexapod-sensors .sensor-node {
    fill: rgba(143, 163, 255, 0.78);
    stroke: rgba(255, 255, 255, 0.92);
    stroke-width: 1;
    animation: sensorGlow 5.2s ease-in-out infinite;
}

.footer-hexapod .hexapod-sensors .antenna {
    stroke: rgba(143, 163, 255, 0.5);
    stroke-width: 2;
    stroke-linecap: round;
    animation: antennaSweep 6.2s ease-in-out infinite;
}

.footer-hexapod .hexapod-sensors .antenna-tip {
    fill: rgba(255, 255, 255, 0.85);
    animation: antennaPulse 3.6s ease-in-out infinite;
}

.circuit-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hexagon-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(30deg, transparent 24%, rgba(99, 102, 241, 0.05) 25%, rgba(99, 102, 241, 0.05) 26%, transparent 27%, transparent 74%, rgba(99, 102, 241, 0.05) 75%, rgba(99, 102, 241, 0.05) 76%, transparent 77%, transparent),
        linear-gradient(150deg, transparent 24%, rgba(255, 109, 90, 0.05) 25%, rgba(255, 109, 90, 0.05) 26%, transparent 27%, transparent 74%, rgba(255, 109, 90, 0.05) 75%, rgba(255, 109, 90, 0.05) 76%, transparent 77%, transparent);
    background-size: 50px 90px;
    animation: hexagonMove 20s linear infinite;
}

@keyframes hexagonMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 90px;
    }
}

@keyframes hexapodHover {
    0%, 100% {
        transform: translateX(-50%) scale(0.96) translateY(0);
    }
    50% {
        transform: translateX(-50%) scale(0.96) translateY(-4px);
    }
}

@keyframes hexapodHoverShadow {
    0%, 100% {
        transform: scaleX(1);
        opacity: 0.36;
    }
    50% {
        transform: scaleX(1.05);
        opacity: 0.22;
    }
}

@keyframes legPulse {
    0%, 100% {
        stroke-dashoffset: 34;
        opacity: 0.4;
    }
    50% {
        stroke-dashoffset: 0;
        opacity: 0.78;
    }
}

@keyframes sensorBlink {
    0%, 100% {
        opacity: 0.9;
        r: 6;
    }
    45% {
        opacity: 0.45;
        r: 4.6;
    }
}

@keyframes sensorGlow {
    0%, 100% {
        opacity: 0.68;
    }
    50% {
        opacity: 0.98;
    }
}

@keyframes antennaSweep {
    0%, 100% {
        stroke-dasharray: 0 38;
    }
    50% {
        stroke-dasharray: 38 0;
    }
}

@keyframes antennaPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.22);
        opacity: 1;
    }
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 3;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-logo-wrapper {
    width: fit-content;
}

.logo-img-footer {
    height: 44px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(255, 109, 90, 0.3));
    transition: all 0.3s ease;
}

.logo-img-footer:hover {
    filter: drop-shadow(0 4px 12px rgba(255, 109, 90, 0.5));
    transform: translateY(-2px);
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.footer-social h4 {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--text-secondary);
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
    background: var(--card-hover);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 109, 90, 0.3);
}

.social-link:hover svg {
    transform: scale(1.1);
}

.footer-bottom {
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
    position: relative;
    z-index: 3;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .footer-brand {
        align-items: center;
        text-align: center;
    }
    
    .footer-social {
        align-items: center;
    }

}

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

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

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-gray);
}

/* Responsive */
@media (max-width: 968px) {
    .hero .container,
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .powered-by-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stats-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

