:root {
    --bg-dark: #0A0F1C;
    --bg-card: rgba(255, 255, 255, 0.03);
    --primary: #3B82F6;
    --accent: #06B6D4;
    --text-main: #FFFFFF;
    --text-muted: #94A3B8;
    --border: rgba(255, 255, 255, 0.1);
    --gradient: linear-gradient(135deg, #3B82F6 0%, #06B6D4 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ANIMATIONS */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}
@keyframes spin { 100% { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spin-reverse { 100% { transform: translate(-50%, -50%) rotate(-360deg); } }
.float-animation { animation: float 6s ease-in-out infinite; }

/* BACKGROUND */
.bg-elements { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.bg-grid {
    width: 100%; height: 100%;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* HEADER */
header {
    padding: 20px 0;
    position: fixed; width: 100%; top: 0; z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(10, 15, 28, 0.9);
    border-bottom: 1px solid var(--border);
}
.navbar { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; }
.logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 30px; }
.nav-link { color: var(--text-muted); font-size: 0.95rem; transition: 0.3s; }
.nav-link:hover, .nav-link.active { color: var(--text-main); }
.btn-primary { background: var(--gradient); color: white; padding: 10px 24px; border-radius: 50px; transition: 0.3s; font-weight: 600; }
.btn-primary:hover { box-shadow: 0 0 20px rgba(6, 182, 212, 0.4); transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--border); color: white; padding: 10px 24px; border-radius: 50px; margin-left: 10px; }
.mobile-toggle { display: none; font-size: 1.5rem; color: white; cursor: pointer; }

/* HERO SECTION */
.hero { padding-top: 140px; padding-bottom: 100px; min-height: 100vh; display: flex; align-items: center; }
.hero-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(6, 182, 212, 0.1); color: var(--accent);
    padding: 6px 16px; border-radius: 20px; font-size: 0.85rem; margin-bottom: 20px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}
.hero-title { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 30px; max-width: 90%; }

/* ROBOT VISUAL STYLES */
.hero-visual { position: relative; height: 500px; display: flex; justify-content: center; align-items: center; transition: all 0.5s ease; }
.robot-wrapper { position: relative; width: 400px; height: 400px; display: flex; justify-content: center; align-items: center; }
.cyber-robot { z-index: 10; position: relative; color: var(--accent); text-shadow: 0 0 50px rgba(6, 182, 212, 0.6); }
.cyber-robot i { font-size: 300px; display: block; transition: all 0.3s ease; }
.orbit-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(255,255,255,0.1); }
.ring-1 { width: 380px; height: 380px; border-top: 2px solid var(--primary); animation: spin 15s linear infinite; }
.ring-2 { width: 300px; height: 300px; border-bottom: 2px solid var(--accent); animation: spin-reverse 12s linear infinite; }
.ring-3 { width: 240px; height: 240px; border-right: 2px dashed rgba(255,255,255,0.2); animation: spin 20s linear infinite; }
.platform-shadow { position: absolute; bottom: -40px; width: 200px; height: 20px; background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.4) 0%, transparent 70%); border-radius: 50%; filter: blur(10px); }

/* STATS SECTION */
.stats-section { padding: 80px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(0,0,0,0.2); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; text-align: center; }
.stat-value { display: flex; align-items: center; justify-content: center; gap: 2px; height: 60px; margin-bottom: 10px; }
.stat-item h3 { font-size: 3rem; line-height: 1; color: var(--text-main); font-weight: 700; margin: 0; }
.stat-item span { font-size: 3rem; color: var(--accent); font-weight: 700; line-height: 1; display: block; padding-bottom: 5px; }
.stat-item p { color: var(--text-muted); font-size: 0.9rem; margin: 0; text-transform: uppercase; letter-spacing: 1.5px; }

/* SHARED SECTION STYLES */
.section-padding { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.tagline { color: var(--accent); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; }
.section-header h2 { font-size: 2.5rem; margin-top: 10px; font-weight: 700; }
.section-header p { color: var(--text-muted); margin-top: 10px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; justify-content: center; }

/* FEATURES */
.feature-box { text-align: center; padding: 40px 30px; border: 1px solid var(--border); border-radius: 20px; background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%); transition: all 0.3s ease; }
.feature-box:hover { border-color: var(--primary); transform: translateY(-10px); background: linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.f-icon { width: 80px; height: 80px; margin: 0 auto 25px; background: rgba(59, 130, 246, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--primary); transition: 0.3s; }
.feature-box:hover .f-icon { background: var(--primary); color: white; box-shadow: 0 0 20px rgba(59, 130, 246, 0.4); }
.feature-box h3 { font-size: 1.5rem; margin-bottom: 10px; font-weight: 700; color: #fff; }
.feature-box p { color: var(--text-muted); font-size: 1rem; line-height: 1.6; }

/* PRODUCTS CARD */
.feature-card { background: var(--bg-card); border: 1px solid var(--border); padding: 35px; border-radius: 16px; transition: 0.3s; }
.feature-card:hover { transform: translateY(-10px); background: rgba(255,255,255,0.06); border-color: var(--primary); }
.icon-circle { width: 50px; height: 50px; background: var(--gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 25px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.feature-card h3 { font-size: 1.3rem; margin-bottom: 10px; font-weight: 600; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* PROCESS SECTION */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; margin-top: 50px; }
.step { position: relative; padding: 30px; background: rgba(255,255,255,0.03); border-radius: 16px; border: 1px solid var(--border); transition: all 0.3s ease; overflow: hidden; }
.step:hover { border-color: var(--accent); transform: translateY(-5px); background: rgba(255,255,255,0.05); }
.step-num { font-size: 5rem; font-weight: 900; color: rgba(255,255,255,0.04); position: absolute; top: -10px; right: 10px; line-height: 1; pointer-events: none; z-index: 0; }
.step h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--accent); position: relative; z-index: 1; font-weight: 700; }
.step p { color: var(--text-muted); position: relative; z-index: 1; font-size: 0.95rem; line-height: 1.6; }

/* INDUSTRIES */
.industry-box { text-align: center; background: var(--bg-card); padding: 35px 20px; border-radius: 12px; border: 1px solid var(--border); transition: 0.3s; }
.industry-box:hover { border-color: var(--accent); transform: scale(1.05); }
.industry-box i { font-size: 2.2rem; color: var(--text-muted); margin-bottom: 15px; display: block; transition: 0.3s; }
.industry-box:hover i { color: var(--accent); }
.industry-box h4 { font-weight: 600; font-size: 0.95rem; }

/* TESTIMONIALS */
.review-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border); padding: 30px; border-radius: 12px; }
.stars { color: #F59E0B; margin-bottom: 15px; }
.review-card p { font-style: italic; color: var(--text-muted); margin-bottom: 20px; }
.client-info strong { display: block; color: var(--text-main); }
.client-info span { font-size: 0.85rem; color: var(--accent); }

/* =========================================
   PREMIUM FOOTER STYLES (CLEAN)
   ========================================= */
.site-footer {
    background: #020408;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.footer-top {
    display: flex; justify-content: space-between; align-items: flex-end;
    flex-wrap: wrap; gap: 40px; margin-bottom: 50px;
}

.footer-brand { max-width: 400px; }
.footer-logo { font-size: 1.5rem; margin-bottom: 15px; color: white; display: flex; align-items: center; }
.footer-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 25px; }

.footer-newsletter h4 { color: white; margin-bottom: 10px; }
.footer-newsletter p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 15px; }

.newsletter-form {
    display: flex; background: rgba(255,255,255,0.05);
    border: 1px solid var(--border); border-radius: 50px; padding: 5px; width: 300px; transition: 0.3s;
}
.newsletter-form:focus-within { border-color: var(--primary); box-shadow: 0 0 15px rgba(59, 130, 246, 0.2); }
.newsletter-form input { background: transparent; border: none; color: white; padding: 10px 15px; flex: 1; outline: none; }
.newsletter-form button {
    width: 40px; height: 40px; border-radius: 50%; border: none;
    background: var(--gradient); color: white; cursor: pointer; transition: 0.3s;
}
.newsletter-form button:hover { transform: scale(1.1); }

.footer-divider { height: 1px; width: 100%; background: var(--border); margin-bottom: 50px; opacity: 0.5; }

.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 60px; }
.footer-col h4 { color: white; margin-bottom: 20px; font-size: 1.1rem; letter-spacing: 0.5px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-muted); font-size: 0.95rem; transition: 0.3s; display: inline-block; }
.footer-links a:hover { color: var(--accent); transform: translateX(5px); }

.contact-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-muted); font-size: 0.95rem; margin-bottom: 18px; line-height: 1.5; }
.contact-list i { color: var(--primary); margin-top: 4px; }

.social-links { display: flex; gap: 12px; }
.social-btn {
    width: 36px; height: 36px; background: rgba(255,255,255,0.05);
    border: 1px solid var(--border); border-radius: 8px;
    display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: 0.3s;
}
.social-btn:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-3px); }

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 30px; border-top: 1px solid var(--border);
    color: rgba(255,255,255,0.4); font-size: 0.85rem;
}
.footer-badges { display: flex; gap: 20px; }
.footer-badges span { display: flex; align-items: center; gap: 6px; }
.footer-badges i { color: var(--accent); }

/* ROBOT CHAT BUBBLE STYLES */
.chat-bubble {
    position: absolute; top: -80px; right: -140px; width: 280px;
    background: rgba(10, 15, 28, 0.9); border: 1px solid var(--accent);
    backdrop-filter: blur(10px); padding: 20px; border-radius: 16px; border-bottom-left-radius: 0;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2); z-index: 50; opacity: 0; transform: translateY(20px);
    transition: all 0.5s ease; text-align: left;
}
.chat-bubble.active { opacity: 1; transform: translateY(0); }
.chat-bubble::after { content: ''; position: absolute; bottom: -10px; left: 0; width: 0; height: 0; border-top: 10px solid var(--accent); border-right: 15px solid transparent; }
.typing-container { font-size: 0.95rem; color: var(--text-main); font-weight: 500; min-height: 40px; margin-bottom: 15px; line-height: 1.4; }
.cursor { color: var(--accent); font-weight: bold; animation: blink 1s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.chat-actions { display: flex; gap: 10px; opacity: 0; transform: translateY(10px); transition: all 0.5s ease; pointer-events: none; }
.chat-actions.show { opacity: 1; transform: translateY(0); pointer-events: all; }
.chat-btn { flex: 1; padding: 8px 0; border-radius: 6px; font-size: 0.85rem; cursor: pointer; border: none; font-weight: 600; transition: 0.3s; font-family: 'Inter', sans-serif; }
.chat-btn.confirm { background: var(--gradient); color: white; }
.chat-btn.confirm:hover { box-shadow: 0 0 15px rgba(59, 130, 246, 0.5); }
.chat-btn.dismiss { background: transparent; border: 1px solid var(--border); color: var(--text-muted); }
.chat-btn.dismiss:hover { border-color: var(--text-main); color: var(--text-main); }

/* CINEMA MODE / VOICE FOCUS */
.focus-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.98) !important; z-index: 9998; opacity: 0; pointer-events: none; transition: opacity 0.8s ease; }
body.voice-mode-active { overflow: hidden; }
body.voice-mode-active .focus-overlay { opacity: 1; pointer-events: all; }
body.voice-mode-active #robotVisual { position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) scale(1.5) !important; z-index: 9999 !important; margin: 0 !important; }
body.voice-mode-active .chat-bubble { display: none !important; }
.voice-controls { position: fixed; bottom: 50px; left: 50%; transform: translateX(-50%) translateY(100px); z-index: 2147483647 !important; display: flex; flex-direction: column; align-items: center; gap: 20px; opacity: 0; transition: all 0.5s ease 0.5s; }
body.voice-mode-active .voice-controls { opacity: 1; transform: translateX(-50%) translateY(0); }
.btn-end-call { background: #ef4444; color: white; border: none; padding: 15px 40px; border-radius: 50px; font-size: 1.1rem; font-weight: 700; cursor: pointer; box-shadow: 0 0 30px rgba(239, 68, 68, 0.6); display: flex; align-items: center; gap: 12px; }
.btn-end-call:hover { background: #dc2626; transform: scale(1.05); }
.robot-speaking .cyber-robot i { text-shadow: 0 0 80px rgba(6, 182, 212, 1); transform: scale(1.1); }
.audio-visualizer { display: flex; gap: 5px; height: 30px; align-items: center; opacity: 0.3; }
.audio-visualizer span { width: 5px; height: 10px; background: var(--accent); border-radius: 5px; animation: wave 1s infinite; }
.audio-visualizer span:nth-child(1) { animation-delay: 0s; }
.audio-visualizer span:nth-child(2) { animation-delay: 0.1s; }
.audio-visualizer span:nth-child(3) { animation-delay: 0.2s; height: 15px; }
.audio-visualizer span:nth-child(4) { animation-delay: 0.1s; }
.audio-visualizer span:nth-child(5) { animation-delay: 0s; }
@keyframes wave { 50% { height: 30px; background: #fff; } }

/* RESPONSIVE */
@media (max-width: 1100px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 992px) {
    .hero-wrapper { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: flex; margin-top: 40px; }
    .footer-top { flex-direction: column; align-items: flex-start; }
    .newsletter-form { width: 100%; max-width: 400px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-toggle { display: block; }
    .hero-title { font-size: 2.5rem; }
    .grid-5 { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: 1fr; }
    .chat-bubble { right: auto; left: 50%; transform: translateX(-50%) translateY(20px); top: -120px; width: 260px; }
    .chat-bubble.active { transform: translateX(-50%) translateY(0); }
}
@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 15px; }
}
@media (max-width: 480px) { .grid-5 { grid-template-columns: 1fr; } }

/* --- CLIENT LOGO MARQUEE (FIXED) --- */
.client-section {
    padding: 60px 0;
    background: #050810;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    position: relative;
}

.client-section::before, .client-section::after {
    content: ""; position: absolute; top: 0; width: 100px; height: 100%; z-index: 2; pointer-events: none;
}
.client-section::before { left: 0; background: linear-gradient(to right, #050810, transparent); }
.client-section::after { right: 0; background: linear-gradient(to left, #050810, transparent); }

.client-track {
    display: flex;
    align-items: center;
    gap: 40px; /* Space between boxes */
    width: max-content;
    animation: scroll 60s linear infinite;
}

/* The Box Container */
.client-box {
    display: flex; align-items: center; justify-content: center;
    padding: 15px 25px;
    border-radius: 12px;
    height: 80px; /* Fixed box height */
    min-width: 140px;
    transition: 0.3s;
}

/* Style for DARK logos (needs light bg) */
.client-box.light-bg {
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(255,255,255,0.05);
}

/* Style for WHITE logos (needs dark bg) */
.client-box.dark-bg {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.client-box img {
    max-height: 50px;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
}

.client-box:hover { transform: translateY(-5px); }
.client-box:hover img { filter: grayscale(0%); opacity: 1; }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}