/* Core Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

:root {
    --bg-primary: #0A0A0A;
    --bg-secondary: #121212;
    --text-primary: #F9F9F9;
    --text-secondary: #8E9A9F;
    --accent: #008CB8; /* Electric Teal-Blue brand color */
    --accent-glow: rgba(0, 140, 184, 0.4);
    --border-glass: rgba(255, 255, 255, 0.08);
    --bg-glass: rgba(18, 18, 18, 0.6);
    --font-heading: 'Outfit', sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

html, body {
    width: 100%;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* 3D WebGL Stage Container */
#webgl-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

/* Blueprint laser scan overlay */
.laser-scanner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 140, 184, 0) 0%, var(--accent) 50%, rgba(0, 140, 184, 0) 100%);
    z-index: 9999;
    pointer-events: none;
    animation: laserScan 6s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

@keyframes laserScan {
    0% { top: 0%; opacity: 0; }
    5% { opacity: 0.8; }
    95% { opacity: 0.8; }
    100% { top: 100%; opacity: 0; }
}

/* Custom Scroll Container */
.scroller-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* --- NAVIGATION HEADER --- */
header {
    width: 100%;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(10, 10, 10, 0.4);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    opacity: 0.7;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent);
}

.nav-links a.nav-btn-highlight {
    padding: 10px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--accent);
    border-radius: 20px;
    opacity: 1;
    box-shadow: 0 0 15px var(--accent-glow);
}

.nav-links a.nav-btn-highlight:hover {
    background: var(--accent);
    color: var(--bg-primary);
    box-shadow: 0 0 25px var(--accent);
    transform: translateY(-2px);
}

.technical-spec {
    font-family: monospace;
    font-size: 9px;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
    line-height: 1.5;
    text-transform: uppercase;
}

/* --- HERO SECTION --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 10%;
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.tech-badge {
    font-family: monospace;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--accent);
    background: rgba(0, 140, 184, 0.1);
    padding: 6px 12px;
    border: 1px solid rgba(0, 140, 184, 0.25);
    border-radius: 4px;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.hero-description {
    font-size: clamp(16px, 1.8vw, 20px);
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 620px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
}

/* Buttons System */
.btn-primary, .btn-secondary {
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--accent);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-primary);
    transform: translateY(-3px);
}

/* --- SECTION DEFAULTS --- */
section {
    padding: 100px 8%;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.section-pretitle {
    font-family: monospace;
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--accent);
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.title-bar {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin-top: 8px;
}

/* --- PRODUCTS SECTION --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 140, 184, 0.3);
    box-shadow: 0 15px 50px var(--accent-glow);
}

.card-image-wrap {
    width: 100%;
    height: 360px;
    overflow: hidden;
    position: relative;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .card-img {
    transform: scale(1.08);
}

.card-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-family: monospace;
    font-size: 10px;
    letter-spacing: 2px;
    background: rgba(10, 10, 10, 0.85);
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
}

.card-info {
    padding: 32px;
}

.card-info h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-info p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-features li {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* --- PROCESS SECTION --- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.step-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 54px;
    font-weight: 900;
    color: rgba(0, 140, 184, 0.2);
    line-height: 1;
    transition: var(--transition-smooth);
}

.step-card:hover .step-num {
    color: var(--accent);
    transform: scale(1.1) translateX(5px);
}

.step-card h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
}

.step-card p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* --- GALLERY SHOWCASE SECTION --- */
.gallery-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.gallery-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: scrollSlides 25s linear infinite;
}

.gallery-track:hover {
    animation-play-state: paused;
}

.gallery-item {
    width: 380px;
    height: 520px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@keyframes scrollSlides {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-380px * 2 - 24px * 2)); }
}

/* --- DOWNLOAD SECTION --- */
.download-section {
    display: flex;
    justify-content: center;
}

.download-card {
    width: 100%;
    max-width: 1000px;
    background: radial-gradient(circle at top right, rgba(0, 140, 184, 0.15) 0%, rgba(18,18,18,0.9) 70%);
    border: 1px solid var(--border-glass);
    border-radius: 32px;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    text-align: center;
}

.download-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--accent);
    filter: blur(150px);
    opacity: 0.12;
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.download-content {
    max-width: 640px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.download-badge {
    font-family: monospace;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--accent);
}

.download-title {
    font-family: var(--font-heading);
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 800;
    text-transform: uppercase;
}

.download-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.badge-container {
    display: flex;
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* App Badges Mock */
.badge-mock {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #000;
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 12px 24px;
    cursor: pointer;
    transition: var(--transition-smooth);
    user-select: none;
}

.badge-mock:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--accent-glow);
}

.badge-svg {
    color: var(--text-primary);
}

.badge-mock:hover .badge-svg {
    color: var(--accent);
}

.badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.badge-sub {
    font-size: 9px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.badge-main {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

/* --- FOOTER --- */
footer {
    border-top: 1px solid var(--border-glass);
    background: rgba(10, 10, 10, 0.95);
    padding: 80px 8% 40px 8%;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 1px;
}

.footer-tag {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-group h5 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
}

.link-group a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.link-group a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-secondary);
    flex-wrap: wrap;
    gap: 20px;
}

/* --- SCROLL REVEAL CLASS --- */
.scroll-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-fade.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVENESS MEDIA QUERIES --- */
@media(max-width: 900px) {
    header {
        padding: 20px 24px;
    }
    .technical-spec {
        display: none;
    }
    .hero-section {
        padding-top: 140px;
    }
    footer {
        padding-top: 60px;
    }
    .footer-links {
        gap: 40px;
    }
}

@media(max-width: 600px) {
    .nav-links {
        display: none; /* Mobile menu hidden or simplified */
    }
    header {
        justify-content: center;
    }
    .hero-section {
        padding: 120px 6% 60px 6%;
    }
    .hero-cta {
        width: 100%;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    .gallery-item {
        width: 280px;
        height: 380px;
    }
    @keyframes scrollSlides {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-280px * 2 - 24px * 2)); }
    }
}
