/* 
  Design System: Hyper-Mint (Futuristic Dark)
  Primary: #00ffcc (Fluorescent Mint)
  Background: #0a1c1a (Deep Teal)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #00ffcc;
    --primary-rgb: 0, 255, 204;
    --background: #0a1c1a;
    --surface: #122b28;
    --surface-light: #1a3d39;
    --on-surface: #e0f2f1;
    --on-background: #e0f2f1;
    --secondary: #80cbc4;
    --outline: rgba(0, 255, 204, 0.2);
    --glass-bg: rgba(18, 43, 40, 0.8);
    --glass-blur: 30px;
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Override Bootstrap Blue & Defaults */
.text-primary, .text-info, .text-success { color: var(--primary) !important; }
.bg-primary, .bg-success, .bg-info { background-color: var(--primary) !important; color: #000 !important; }
.btn-primary { background-color: var(--primary) !important; border-color: var(--primary) !important; color: #000 !important; }
.border-primary { border-color: var(--primary) !important; }
.badge { color: #000 !important; }

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

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--on-background);
    line-height: 1.5;
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--on-surface);
    font-weight: 800;
}

a {
    text-decoration: none;
    transition: var(--transition);
    color: var(--primary);
}

a:hover { color: var(--secondary); }

img {
    max-width: 100%;
    height: auto;
}

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

/* --- Cinematic Opening Panels --- */
.garage-panels {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 9999;
    display: flex;
    transition: visibility 0s 1.2s;
}

.panel-left, .panel-right {
    flex: 1;
    background: #050d0c;
    background-image: repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(0, 255, 204, 0.02) 50px);
    transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1);
    position: relative;
    border: 1px solid rgba(0, 255, 204, 0.1);
}

.panel-left::after, .panel-right::after {
    content: '';
    position: absolute;
    width: 2px; height: 100%;
    background: var(--primary);
    box-shadow: 0 0 20px var(--primary);
}

.panel-left::after { right: 0; top: 0; }
.panel-right::after { left: 0; top: 0; }

.panel-loader {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loader-brand {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.loader-status {
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    opacity: 0.6;
}

.loading .panel-left, .loading .panel-right { transform: translateX(0); }
body:not(.loading) .panel-left { transform: translateX(-100%); }
body:not(.loading) .panel-right { transform: translateX(100%); }
body:not(.loading) .panel-loader { opacity: 0; pointer-events: none; }
body:not(.loading) .garage-panels { visibility: hidden; }

/* --- High-Tech Service Ticker --- */
.service-ticker {
    background: var(--primary);
    color: #000;
    padding: 0.5rem 0;
    overflow: hidden;
    position: relative;
    z-index: 1001;
    font-weight: 900;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    gap: 4rem;
    animation: ticker-scroll 30s linear infinite;
}

.ticker-content span {
    display: inline-block;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Hyper-Tech Split Navbar (Rotation 10) --- */
.split-navbar {
    position: fixed;
    top: 2rem; /* Adjusted for ticker */
    left: 0; width: 100%;
    padding: 1.2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
}

.split-navbar.scrolled {
    background: rgba(10, 28, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.8rem 4rem;
    border-bottom: 1px solid var(--outline);
}

.nav-module-brand img {
    max-height: 75px;
    filter: drop-shadow(0 0 10px var(--primary));
    transition: var(--transition);
}

.scrolled .nav-module-brand img {
    max-height: 60px;
}

.nav-module-links {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-links-inner {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: #fff !important;
    opacity: 0.6;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0; width: 0; height: 1px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover { opacity: 1; color: var(--primary) !important; }
.nav-link:hover::after { width: 100%; }

.nav-cta-mini {
    background: rgba(0, 255, 204, 0.1);
    color: var(--primary) !important;
    border: 1px solid var(--primary);
    padding: 0.6rem 1.4rem;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.8rem;
}

.nav-cta-mini:hover {
    background: var(--primary);
    color: #000 !important;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.3);
}

.mobile-toggle {
    display: none;
    font-size: 2rem;
    color: var(--primary);
    cursor: pointer;
}

/* --- Split-Screen Kinetic Scan Hero (Rotation 1) --- */
.hero-split-scan {
    height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    background: #050d0c;
    overflow: hidden;
}

.scan-left {
    position: relative;
    padding: 14% 8% 10% 12%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--outline);
}

.scanline {
    position: absolute;
    top: -100px; left: 0; width: 100%; height: 100px;
    background: linear-gradient(transparent, rgba(0, 255, 204, 0.1), transparent);
    animation: scan 4s linear infinite;
    pointer-events: none;
}

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

.hero-content-inner {
    position: relative;
    z-index: 5;
    margin-top: 2rem;
}

.hero-eyebrow {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 204, 0.05);
    border-left: 2px solid var(--primary);
    margin-bottom: 2rem;
}

.hero-split-scan h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    margin-bottom: 1.5rem;
}

.pulse {
    width: 6px; height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.4; }
    100% { transform: scale(1); opacity: 1; }
}

.hero-split-scan h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 0.9;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
}

.hero-split-scan h1 span {
    color: var(--primary);
    -webkit-text-stroke: 1px var(--primary);
    background: linear-gradient(var(--primary), transparent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-split-scan p {
    font-size: 1.1rem;
    opacity: 0.7;
    margin-bottom: 2.5rem;
    max-width: 550px;
    color: var(--on-background);
}

.nav-cta {
    background: var(--primary);
    color: #000 !important;
    padding: 1rem 2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    box-shadow: 0 15px 30px rgba(0, 255, 204, 0.2);
    display: inline-block;
}

.scan-right {
    position: relative;
    overflow: hidden;
}

.scan-right img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(0.3) contrast(1.1);
}

.img-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, #050d0c, transparent);
}

/* --- Mechanical Slat CTA (Rotation 5) --- */
.mechanical-slat-cta { background: var(--surface); border-top: 1px solid var(--outline); border-bottom: 1px solid var(--outline); }
.slat-container { display: grid; grid-template-columns: repeat(3, 1fr); }
.slat { padding: 2rem 1rem; text-align: center; border-right: 1px solid var(--outline); transition: var(--transition); }
.slat:last-child { border-right: none; }
.slat span { font-family: var(--font-heading); font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; }
.slat.center { background: var(--primary); color: #000; }

/* --- Sections General --- */
section:not(.hero-split-scan) { padding: 6rem 0; }
.section-header { text-align: center; max-width: 800px; margin: 0 auto 3.5rem; position: relative; z-index: 10; }
.section-header h2 { font-size: 3rem; margin-bottom: 1rem; letter-spacing: -0.04em; color: var(--primary); }
.section-header p { font-size: 1.1rem; opacity: 0.7; }

/* --- Blueprint HUD Service Modules (Rotation 11) --- */
.blueprint-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blueprint-module {
    background: rgba(0, 255, 204, 0.02);
    border: 1px solid rgba(0, 255, 204, 0.1);
    padding: 3rem 2rem;
    position: relative;
    transition: var(--transition);
}

.blueprint-module:hover {
    background: rgba(0, 255, 204, 0.05);
    border-color: var(--primary);
}

.module-coord {
    position: absolute;
    top: 1rem; left: 1.5rem;
    font-family: monospace;
    font-size: 0.7rem;
    color: var(--primary);
    opacity: 0.5;
}

.module-inner i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
}

.module-inner h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blueprint-line {
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--primary);
    transition: width 0.4s ease;
}

.blueprint-module:hover .blueprint-line {
    width: 100%;
}

.blueprint-module::before, .blueprint-module::after {
    content: '';
    position: absolute;
    width: 10px; height: 10px;
    border-color: var(--primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.blueprint-module:hover::before, .blueprint-module:hover::after { opacity: 1; }

.blueprint-module::before { top: 0; left: 0; border-top: 1px solid; border-left: 1px solid; }
.blueprint-module::after { bottom: 0; right: 0; border-bottom: 1px solid; border-right: 1px solid; }

/* --- CTA Sections --- */
.cta-parallax {
    position: relative;
    padding: 10rem 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 6rem 0;
}

.parallax-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(5, 13, 12, 0.9), rgba(5, 13, 12, 0.4));
}

.cta-command-center {
    margin: 4rem auto;
}

.command-card {
    background: var(--surface);
    border: 1px solid var(--outline);
    border-radius: 2rem;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.command-glow {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(0, 255, 204, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.command-card h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* --- About Geometric --- */
.about-geometric { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.geometric-mask { aspect-ratio: 1.2; clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%); overflow: hidden; border: 2px solid var(--primary); background: var(--surface); }
.geometric-mask img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: var(--transition); }
.geometric-mask:hover img { opacity: 1; transform: scale(1.05); }
.about-content h2 { font-size: 2.8rem; line-height: 1.1; margin-bottom: 1.5rem; }

/* --- Detailed Services --- */
.split-scrub { display: grid; grid-template-columns: 1fr 1fr; min-height: 60vh; border-top: 1px solid var(--outline); border-bottom: 1px solid var(--outline); }
.scrub-text { padding: 8% 10%; background: var(--surface); display: flex; flex-direction: column; justify-content: center; }
.scrub-text h2 { font-size: 2.8rem; margin-bottom: 1.5rem; color: var(--primary); }
.scrub-text p { font-size: 1.1rem; opacity: 0.8; margin-bottom: 1.2rem; }
.scrub-visual { position: relative; overflow: hidden; background: #000; }
.scrub-visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }

.holographic-module { text-align: center; background: radial-gradient(circle at center, var(--surface-light), var(--background)); padding: 6rem 0; }
.holo-card { 
    background: rgba(18, 43, 40, 0.4); 
    backdrop-filter: blur(40px); 
    padding: 4rem 3rem; 
    border-radius: 3rem; 
    border: 1px solid var(--primary);
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}
.holo-card h2 { font-size: 2.8rem; margin-bottom: 1.5rem; color: var(--primary); }
.holo-card p { font-size: 1.15rem; opacity: 0.8; margin-bottom: 3rem; max-width: 750px; margin-left: auto; margin-right: auto; }

/* --- Brutalist Slats Accordion --- */
.brutalist-slats { display: flex; flex-direction: column; gap: 0.75rem; }
.slat-item { 
    background: var(--surface); 
    padding: 0;
    border: 1px solid var(--outline); 
    transition: var(--transition);
    cursor: pointer;
    overflow: hidden;
}
.slat-header {
    padding: 2.5rem 3.5rem;
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.slat-header h3 { font-size: 1.8rem; margin-bottom: 0.25rem; transition: var(--transition); }
.slat-header i { color: var(--primary); transition: var(--transition); }
.slat-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 3.5rem;
    transition: var(--transition);
    opacity: 0;
}
.slat-item.active { border-color: var(--primary); }
.slat-item.active .slat-header h3 { color: var(--primary); }
.slat-item.active .slat-header i { transform: rotate(45deg); }
.slat-item.active .slat-content {
    max-height: 300px;
    padding-bottom: 2.5rem;
    opacity: 0.8;
}

/* --- Areas --- */
.area-data-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.data-chip { background: var(--surface); padding: 2rem; border-radius: 1.5rem; border: 1px solid var(--outline); display: flex; justify-content: space-between; align-items: center; transition: var(--transition); }
.data-chip:hover { border-color: var(--primary); background: var(--surface-light); transform: translateY(-5px); }
.data-chip span { font-weight: 700; font-size: 1rem; letter-spacing: 0.05em; color: #fff; }
.status-dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 10px var(--primary); }

/* --- FAQ --- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.faq-glass-card { background: rgba(26, 61, 57, 0.3); padding: 2.5rem; border-radius: 2rem; border: 1px solid var(--outline); cursor: pointer; transition: var(--transition); }
.faq-glass-card.active { border-color: var(--primary); background: var(--surface); }
.faq-glass-card h3 { font-size: 1.3rem; display: flex; justify-content: space-between; align-items: center; margin: 0; color: #fff; }
.faq-content { max-height: 0; overflow: hidden; opacity: 0; transition: var(--transition); font-size: 1.05rem; }
.faq-glass-card.active .faq-content { max-height: 300px; opacity: 0.8; margin-top: 2rem; }

/* --- Command Center --- */
.command-center { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; padding: 6rem 0; }
.command-info { background: var(--surface); border-radius: 3rem; padding: 4rem; border: 1px solid var(--primary); }
.command-info h2 { font-size: 2.8rem; margin-bottom: 1.5rem; color: var(--primary); }
.command-info i { color: var(--primary); }
.map-container { border-radius: 3rem; overflow: hidden; height: 500px; border: 1px solid var(--outline); }

/* --- Footer --- */
.footer-oversized { padding: 8rem 0 4rem; background: #050d0c; border-top: 1px solid var(--outline); }
.footer-big-brand { font-size: clamp(4rem, 12vw, 10rem); font-weight: 900; color: #0a1c1a; text-transform: uppercase; line-height: 0.8; margin-bottom: 4rem; text-align: center; }
.footer-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3rem; border-top: 1px solid var(--outline); padding-top: 4rem; }
.footer-nav h4 { color: var(--primary); font-size: 0.85rem; margin-bottom: 1.5rem; }

/* --- Responsive --- */
@media (max-width: 991px) {
    .split-navbar { padding: 1rem 2rem; }
    .nav-module-brand img { max-height: 50px; }
    .nav-module-links { display: none; }
    .mobile-toggle { display: block; }
    .hero-split-scan { grid-template-columns: 1fr; height: auto; }
    .scan-left { padding: 10rem 2rem 5rem; }
    .scan-right { height: 350px; }
    .slat-container { grid-template-columns: 1fr; }
    .holo-radial-grid { grid-template-columns: 1fr; }
    .about-geometric { grid-template-columns: 1fr; gap: 3rem; }
    .split-scrub { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .command-center { grid-template-columns: 1fr; }
    .footer-nav { grid-template-columns: 1fr 1fr; }
}
