
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    --bg-base: #06080A;
    --bg-panel: #0D1117;
    --bg-panel-hover: #161B22;
    --color-primary: #00E5FF; /* Electric Turquoise */
    --color-primary-glow: rgba(0, 229, 255, 0.4);
    --color-secondary: #00FFCC; /* Industrial Mint */
    --color-accent: #FF6D00; /* Precision Orange */
    --text-main: #F0F6FC;
    --text-muted: #C9D1D9;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-active: rgba(0, 229, 255, 0.3);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

.text-muted {
    color: var(--text-muted) !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--color-primary); border-radius: 3px; }

/* Grid Background Effect */
.ambient-grid {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

/* Navbar */
.navbar {
    background: rgba(6, 8, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    transition: var(--transition);
}
.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(6, 8, 10, 0.95);
    border-bottom: 1px solid var(--border-active);
}
.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.8rem;
    color: #fff !important;
    letter-spacing: 2px;
}
.navbar-brand span {
    color: var(--color-primary);
}
.nav-link {
    color: var(--text-muted) !important;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}
.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}
.nav-link:hover::before, .nav-link.active::before {
    transform: scaleX(1);
    transform-origin: left;
}
.nav-link:hover, .nav-link.active {
    color: #fff !important;
    text-shadow: 0 0 10px var(--color-primary-glow);
}

/* Buttons */
.btn-cyborg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    padding: 15px 35px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition);
    text-decoration: none;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn-cyborg::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: var(--color-primary);
    z-index: -1;
    transition: var(--transition);
}
.btn-cyborg:hover::before {
    left: 0;
}
.btn-cyborg:hover {
    color: var(--bg-base);
    box-shadow: 0 0 20px var(--color-primary-glow);
}

.btn-ghost {
    border: 1px solid var(--border-color);
    color: #fff;
}
.btn-ghost::before { background: #fff; }
.btn-ghost:hover { color: var(--bg-base); border-color: #fff; }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 180px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
    filter: grayscale(100%) contrast(120%);
    mix-blend-mode: luminosity;
    will-change: transform;
}
.hero-gradient {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 70% 50%, transparent 0%, var(--bg-base) 70%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.cyber-badge {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    backdrop-filter: blur(4px);
}
.hero-title {
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 1;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.hero-title span {
    -webkit-text-stroke: 1px var(--color-primary);
    color: transparent;
    position: relative;
}
.hero-title span::after {
    content: 'SYSTEMS';
    position: absolute;
    left: 0; top: 0;
    color: var(--color-primary);
    opacity: 0;
    transition: opacity 0.3s;
}
.hero-title:hover span::after { opacity: 1; }

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
}

/* Data Stats */
.stat-box {
    border-left: 2px solid var(--color-primary);
    padding-left: 15px;
}
.stat-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.stat-label {
    color: var(--color-primary);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Sections */
.section { padding: 120px 0; position: relative; }
.section-header { margin-bottom: 4rem; position: relative; }
.section-subtitle {
    color: var(--color-secondary);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}
.section-title {
    font-size: 3rem;
    color: #fff;
}

/* Modular Cards */
.module-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    position: relative;
    transition: var(--transition);
    height: 100%;
    z-index: 1;
}
.module-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,229,255,0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}
.module-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.module-card:hover::before { opacity: 1; }

.module-icon {
    width: 60px; height: 60px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid var(--color-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.module-title { font-size: 1.5rem; margin-bottom: 1rem; color: #fff; }
.module-text { color: var(--text-muted); font-size: 0.95rem; }

/* Process Flow */
.flow-container {
    border-left: 1px dashed var(--border-color);
    padding-left: 3rem;
    position: relative;
}
.flow-item {
    position: relative;
    margin-bottom: 3rem;
}
.flow-item::before {
    content: '';
    position: absolute;
    left: -calc(3rem + 6px);
    top: 10px;
    width: 11px; height: 11px;
    background: var(--bg-base);
    border: 2px solid var(--color-secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-secondary);
    z-index: 2;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    background: var(--bg-panel);
    padding: 80px 0 30px;
}
.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: var(--transition);
}
.footer-link:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}


/* Lenis required CSS */
html.lenis, html.lenis body { height: auto; width: 100vw; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }
