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

:root {
    --primary: #0a0a0f;
    --secondary: #12121a;
    --accent: #00d4ff;
    --accent-dark: #0099cc;
    --text: #e0e0e0;
    --text-light: #a0a0b0;
    --text-dark: #8888a0;
    --card-bg: #1a1a25;
    --border: #2a2a3a;
    --success: #00ff9d;
    --warning: #ffcc00;
    --error: #ff3366;
    --gradient: linear-gradient(135deg, #00d4ff, #0099cc, #0066ff);
    --glow: 0 0 15px rgba(0, 212, 255, 0.5);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.2rem; }

p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-dark);
}

section {
    padding: 5rem 2rem;
}

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

/* Utility Classes */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.cta-button.secondary:hover {
    background: var(--accent);
    color: white;
}

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

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

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

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

#header-logo {
    height: 50px;
    width: auto;
    max-height: 60px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-menu a {
    color: var(--text);
    font-weight: 500;
    position: relative;
}

.nav-menu a:hover {
    color: var(--accent);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

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

.nav-cta {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    z-index: -1;
}

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

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

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

.hero-visual {
    position: relative;
}




.scroll-indicator i {
    font-size: 2rem;
    color: var(--accent);
}

/* Services Section */
.services {
    background-color: var(--secondary);
}

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

.service-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: white;
}

/* Automation Panel */
.automation-panel {
    background-color: var(--primary);
}

.panel-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.log-panel {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid var(--border);
}

.log-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.log-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--success);
}

.status-indicator.active {
    animation: pulse 2s infinite;
}

.log-content {
    height: 300px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.log-entry {
    padding: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.log-entry i {
    color: var(--success);
}

.log-entry.error i {
    color: var(--error);
}

.log-entry.warning i {
    color: var(--warning);
}

.log-controls {
    display: flex;
    gap: 1rem;
}

.log-button {
    flex: 1;
    padding: 0.8rem;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.log-button:hover {
    background-color: var(--accent-dark);
}

.log-button.secondary {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.visualization {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.workflow-diagram {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.node {
    padding: 1rem 1.5rem;
    background: var(--gradient);
    color: white;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    min-width: 120px;
}

.connector {
    flex: 1;
    height: 2px;
    background: var(--gradient);
}

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

.stat-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

/* About Section */
.about {
    background-color: var(--secondary);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    margin-bottom: 1.5rem;
}

.about-details {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--accent);
}

.about-visual {
    position: relative;
    height: 300px;
}

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

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0.3;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 0;
    left: 0;
    animation: float 6s infinite ease-in-out;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 0;
    right: 0;
    animation: float 8s infinite ease-in-out reverse;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 10s infinite ease-in-out;
}

/* Contact Section */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3,
.contact-form h3 {
    margin-bottom: 2rem;
}

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

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: var(--glow);
}

/* Footer */
.footer {
    background-color: var(--secondary);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

#footer-logo {
    height: 40px;
    width: auto;
}

.footer-tagline {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.footer-copyright {
    color: var(--text-dark);
    font-size: 0.9rem;
}

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

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

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

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content,
    .panel-container,
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
}
/* Neural Network / Circuit Board Animations */
.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    opacity: 0.3;
}

.neural-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, #00d9ff, #0088ff);
    border-radius: 50%;
    box-shadow: 0 0 15px #00d9ff, 0 0 30px #0088ff;
    animation: pulse-node 2s infinite ease-in-out;
}

.neural-connection {
    position: absolute;
    background: linear-gradient(to right, rgba(0, 217, 255, 0.3), rgba(0, 136, 255, 0.3));
    height: 2px;
    transform-origin: left center;
    animation: pulse-connection 3s infinite alternate;
}

.circuit-board {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 136, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 136, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    opacity: 0.2;
    animation: scan-grid 20s linear infinite;
}

.robotic-scan {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff88, transparent);
    box-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88;
    animation: scan-beam 4s linear infinite;
    z-index: 1;
}

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

@keyframes pulse-connection {
    0% { opacity: 0.2; }
    100% { opacity: 0.8; }
}

@keyframes scan-grid {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

@keyframes scan-beam {
    0% { top: 0%; }
    100% { top: 100%; }
}

.holographic-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 136, 255, 0.1) 0%, transparent 50%);
    z-index: 0;
    animation: rotate-hologram 30s linear infinite;
}

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

/* Terminal Section */
.terminal-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0f 0%, #0d1117 100%);
    position: relative;
    overflow: hidden;
}

.terminal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 136, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 217, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.terminal-container {
    background: #0a0a0f;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 136, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 136, 255, 0.2),
                0 0 0 1px rgba(0, 217, 255, 0.1) inset;
    margin: 40px 0;
    position: relative;
    z-index: 1;
}

.terminal-header {
    background: linear-gradient(90deg, #1a1a2e 0%, #16213e 100%);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 136, 255, 0.3);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.terminal-button.close { background: #ff5f56; }
.terminal-button.minimize { background: #ffbd2e; }
.terminal-button.maximize { background: #27ca3f; }

.terminal-title {
    color: #8b949e;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 400;
}

.terminal-body {
    padding: 20px;
    min-height: 300px;
    max-height: 400px;
    overflow-y: auto;
    background: #0a0a0f;
}

.terminal-output {
    margin-bottom: 20px;
}

.terminal-line {
    margin-bottom: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    line-height: 1.5;
}

.terminal-prompt {
    color: #27ca3f;
    font-weight: 600;
    margin-right: 10px;
}

.terminal-command {
    color: #c9d1d9;
}

.terminal-input-line {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #c9d1d9;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    outline: none;
    padding: 0 10px;
}

.terminal-cursor {
    color: #27ca3f;
    animation: blink 1s infinite;
    font-weight: bold;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.terminal-footer {
    background: rgba(10, 10, 15, 0.8);
    padding: 12px 20px;
    border-top: 1px solid rgba(0, 136, 255, 0.2);
}

.terminal-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #8b949e;
    font-size: 13px;
}

.terminal-hint i {
    color: #00d9ff;
}

.terminal-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.info-card {
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid rgba(0, 136, 255, 0.2);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 217, 255, 0.4);
}

.info-card i {
    font-size: 40px;
    color: #00d9ff;
    margin-bottom: 20px;
}

.info-card h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 20px;
}

.info-card p {
    color: #8b949e;
    line-height: 1.6;
}

/* Scrollbar styling for terminal */
.terminal-body::-webkit-scrollbar {
    width: 8px;
}

.terminal-body::-webkit-scrollbar-track {
    background: rgba(10, 10, 15, 0.5);
}

.terminal-body::-webkit-scrollbar-thumb {
    background: rgba(0, 136, 255, 0.5);
    border-radius: 4px;
}

.terminal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 217, 255, 0.7);
}

/* Enhanced Form Styles */
.contact-form input.touched:invalid,
.contact-form textarea.touched:invalid {
    border-color: #ff4757;
    box-shadow: 0 0 0 2px rgba(255, 71, 87, 0.2);
}

.contact-form input.touched:valid,
.contact-form textarea.touched:valid {
    border-color: #27ca3f;
    box-shadow: 0 0 0 2px rgba(39, 202, 63, 0.2);
}

.cta-button.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: linear-gradient(135deg, #555 0%, #777 100%);
}

.cta-button.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* === ROBOTIC/CIRCUIT ANIMATIONS === */

/* Circuit board pattern background */
.hero-circuit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

/* Animated circuit lines */
.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, #00ffff, transparent);
    height: 2px;
    animation: circuitFlow 3s infinite linear;
    opacity: 0.6;
}

.circuit-line:nth-child(1) { top: 20%; left: -100%; width: 200px; animation-delay: 0s; }
.circuit-line:nth-child(2) { top: 40%; left: -100%; width: 150px; animation-delay: 1s; }
.circuit-line:nth-child(3) { top: 60%; left: -100%; width: 180px; animation-delay: 2s; }
.circuit-line:nth-child(4) { top: 80%; left: -100%; width: 160px; animation-delay: 0.5s; }

@keyframes circuitFlow {
    0% { transform: translateX(0); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { transform: translateX(400vw); opacity: 0; }
}

/* Robotic nodes */
.circuit-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #00ffff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
    animation: nodePulse 2s infinite;
}

.circuit-node:nth-child(5) { top: 20%; left: 10%; animation-delay: 0s; }
.circuit-node:nth-child(6) { top: 40%; left: 30%; animation-delay: 0.5s; }
.circuit-node:nth-child(7) { top: 60%; left: 50%; animation-delay: 1s; }
.circuit-node:nth-child(8) { top: 80%; left: 70%; animation-delay: 1.5s; }
.circuit-node:nth-child(9) { top: 30%; left: 80%; animation-delay: 0.3s; }
.circuit-node:nth-child(10) { top: 70%; left: 20%; animation-delay: 0.8s; }

@keyframes nodePulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.5); opacity: 1; }
}

/* Scanning effect */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00ffff, transparent);
    animation: scanDown 4s infinite linear;
    opacity: 0.4;
}

@keyframes scanDown {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { top: 100%; opacity: 0; }
}

/* Hexagon pattern */
.hexagon-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%2300ffff' fill-opacity='0.05'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L26.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12 6.85V49h2v-2.31h-.01L17 41.25V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* Update hero section to use animations */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* === ENHANCED ROBOTIC/CIRCUIT ANIMATIONS === */

/* Neural Network Nodes */
.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    overflow: hidden;
}

.neural-network::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 10px;
    height: 10px;
    background: #00ffff;
    border-radius: 50%;
    box-shadow: 0 0 20px #00ffff, 0 0 40px #00ffff;
    animation: neuralPulse 3s infinite;
}

.neural-network::after {
    content: '';
    position: absolute;
    top: 60%;
    left: 70%;
    width: 8px;
    height: 8px;
    background: #00ffff;
    border-radius: 50%;
    box-shadow: 0 0 15px #00ffff;
    animation: neuralPulse 3s infinite 1.5s;
}

@keyframes neuralPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(2); opacity: 1; }
}

/* Circuit Board Lines */
.circuit-board {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: circuitMove 20s linear infinite;
}

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

/* Holographic Grid */
.holographic-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 255, 0.03) 2px,
            rgba(0, 255, 255, 0.03) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 255, 0.03) 2px,
            rgba(0, 255, 255, 0.03) 4px
        );
    animation: gridPulse 4s ease-in-out infinite;
}

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

/* Robotic Scan Line */
.robotic-scan {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.robotic-scan::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ffff, #00ffff, transparent);
    box-shadow: 0 0 20px #00ffff;
    animation: scanHorizontal 5s linear infinite;
}

.robotic-scan::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 2px;
    height: 200%;
    background: linear-gradient(180deg, transparent, #00ffff, #00ffff, transparent);
    box-shadow: 0 0 20px #00ffff;
    animation: scanVertical 6s linear infinite;
}

@keyframes scanHorizontal {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes scanVertical {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* Floating Data Particles */
.hero-visual {
    position: relative;
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 20%;
    width: 4px;
    height: 4px;
    background: #00ffff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ffff;
    animation: floatParticle 8s infinite;
}

.hero-visual::after {
    content: '';
    position: absolute;
    top: 70%;
    left: 80%;
    width: 6px;
    height: 6px;
    background: #00ffff;
    border-radius: 50%;
    box-shadow: 0 0 15px #00ffff;
    animation: floatParticle 10s infinite 2s;
}

@keyframes floatParticle {
    0%, 100% { transform: translate(0, 0); opacity: 0.3; }
    25% { transform: translate(20px, -30px); opacity: 0.8; }
    50% { transform: translate(-10px, 20px); opacity: 0.5; }
    75% { transform: translate(30px, 10px); opacity: 0.7; }
}

/* Glowing Border Effect */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ffff, #0088ff, #00ffff, #0088ff);
    background-size: 400% 400%;
    z-index: -1;
    opacity: 0;
    animation: borderGlow 8s ease infinite;
}

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

/* === ANIMATION VISIBILITY FIXES === */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.neural-network,
.circuit-board,
.holographic-grid,
.robotic-scan {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.neural-network { z-index: 1; }
.circuit-board { z-index: 2; }
.holographic-grid { z-index: 3; }
.robotic-scan { z-index: 4; }

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

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

/* === ANIMATION VISIBILITY ENHANCEMENTS === */
.hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.neural-network::before,
.neural-network::after {
    content: '';
    position: absolute;
    background: #00ffff;
    border-radius: 50%;
    box-shadow: 0 0 20px #00ffff, 0 0 40px #00ffff;
}

.neural-network::before {
    top: 20%;
    left: 10%;
    width: 12px;
    height: 12px;
    animation: neuralPulse 3s infinite;
}

.neural-network::after {
    top: 60%;
    left: 70%;
    width: 10px;
    height: 10px;
    animation: neuralPulse 3s infinite 1.5s;
}

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

.circuit-board {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: circuitMove 15s linear infinite;
}

@keyframes circuitMove {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

.holographic-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 255, 0.05) 2px, rgba(0, 255, 255, 0.05) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 255, 255, 0.05) 2px, rgba(0, 255, 255, 0.05) 4px);
    animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.robotic-scan {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
}

.robotic-scan::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00ffff, #00ffff, transparent);
    box-shadow: 0 0 30px #00ffff;
    animation: scanHorizontal 4s linear infinite;
}

.robotic-scan::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 3px;
    height: 200%;
    background: linear-gradient(180deg, transparent, #00ffff, #00ffff, transparent);
    box-shadow: 0 0 30px #00ffff;
    animation: scanVertical 5s linear infinite;
}

@keyframes scanHorizontal {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes scanVertical {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* Ensure hero content is above animations */
.hero-content {
    position: relative;
    z-index: 10;
}

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