:root {
    --primary: #6366f1;
    --primary-light: #a5b4fc;
    --secondary: #c084fc;
    --bg-dark: #020617;
    --bg-card: rgba(15, 23, 42, 0.4);
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #22d3ee;
    --gold: #fbbf24;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

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

/* Quantum Particle Background */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle at center, #0f172a 0%, #020617 100%);
}

.static-bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('quantum_bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    mix-blend-mode: screen;
}

/* Typography Hub */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 2rem;
    font-weight: 850;
    color: white;
    text-decoration: none;
    letter-spacing: -2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem;
    position: relative;
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 2rem;
    letter-spacing: -5px;
}

.hero-description {
    font-size: 1.5rem;
    color: var(--text-muted);
    max-width: 900px;
    margin: 0 auto 3rem;
}

/* Robot Assistance Section */
.robot-section {
    padding: 10rem 0;
    background: rgba(99, 102, 241, 0.02);
}

.robot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.robot-image-container {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.7);
    border: 1px solid var(--glass-border);
}

.robot-image-container img {
    width: 100%;
    display: block;
}

/* Mega Catalog Grid */
.catalog-container {
    padding: 8rem 0;
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    padding: 3.5rem;
    border-radius: 32px;
    border: 1px solid var(--glass-border);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-light);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
    background: rgba(30, 41, 59, 0.6);
}

.service-card i {
    font-size: 3rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    color: white;
}

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

/* Detail Modal Style (Pseudo-popup) */
.service-detail {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Footer & Global Elements */
.btn-nexus {
    padding: 1.25rem 3.5rem;
    border-radius: 100px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    transition: 0.3s;
    border: none;
}

.btn-nexus:hover {
    transform: scale(1.05) rotate(-1deg);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.5);
}

@media (max-width: 968px) {
    .robot-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 4rem;
        letter-spacing: -2px;
    }
}