/* ============================================
   ARX NEURA-FLIGHT — Full-Screen Scroll-Snap
   Bank Gothic Inspired · #16E7CF Cyan
   ============================================ */

/* --- Bank Gothic approximation: Orbitron for headings, Rajdhani for body --- */

:root {
    --bg: #000000;
    --bg-card: #0a0a0f;
    --bg-elevated: #0d0d14;
    --bg-glass: rgba(10, 10, 15, 0.8);

    --text: #f0f0f5;
    --text-dim: #7a7a8a;
    --text-muted: #444455;

    --accent: #16E7CF;
    --accent-alt: #4DDDE0;
    --accent-dim: rgba(22, 231, 207, 0.1);
    --accent-glow: rgba(22, 231, 207, 0.3);

    --border: rgba(255,255,255,0.06);
    --border-accent: rgba(22, 231, 207, 0.25);

    --font-heading: 'Orbitron', 'Bank Gothic', sans-serif;
    --font-body: 'Rajdhani', 'Bank Gothic', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
}

body.loading { overflow: hidden; }

::selection { background: var(--accent-dim); color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* === Preloader === */
.preloader {
    position: fixed; inset: 0;
    z-index: 100000;
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-logo { height: 60px; margin-bottom: 32px; }
.preloader-bar {
    width: 200px; height: 2px;
    background: var(--border);
    border-radius: 2px; overflow: hidden;
    margin: 0 auto 16px;
}
.preloader-fill {
    height: 100%; width: 0;
    background: var(--accent);
    animation: preloaderFill 1.5s ease forwards;
}
@keyframes preloaderFill { to { width: 100%; } }
.preloader-tagline {
    font-family: var(--font-heading);
    font-size: 11px; letter-spacing: 4px;
    color: var(--text-dim);
}

/* === Particle Canvas === */
#particleCanvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

/* === Cursor Glow === */
.cursor-glow {
    position: fixed; width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22,231,207,0.04) 0%, transparent 70%);
    pointer-events: none; z-index: 1;
    transform: translate(-50%, -50%);
    opacity: 0; transition: opacity 0.4s ease;
}
.cursor-glow.active { opacity: 1; }

/* === Section Dots (Right Side Navigation) === */
.section-dots {
    position: fixed; right: 28px; top: 50%;
    transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 16px;
    z-index: 1000;
}
.dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid var(--text-muted);
    cursor: pointer;
    transition: all 0.4s var(--ease);
    position: relative;
}
.dot.active {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}
.dot:hover { border-color: var(--accent); }
.dot-label {
    position: absolute; right: 24px; top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-heading);
    font-size: 10px; letter-spacing: 2px;
    color: var(--text-dim);
    white-space: nowrap;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}
.dot:hover .dot-label { opacity: 1; }

/* === Navbar === */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000; padding: 16px 0;
    transition: all 0.4s var(--ease);
}
.navbar.scrolled {
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
}
.nav-container {
    max-width: 1280px; margin: 0 auto; padding: 0 40px;
    display: flex; align-items: center; justify-content: space-between;
}
.logo { z-index: 1001; }
.logo-img { height: 32px; }
.nav-links { display: flex; gap: 32px; }
.nav-link {
    font-family: var(--font-heading); font-size: 11px;
    font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
    color: var(--text-dim); padding: 6px 0;
    position: relative; transition: color 0.3s ease;
}
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px; background: var(--accent);
    transition: width 0.4s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.btn-nav {
    font-family: var(--font-heading);
    font-size: 11px; font-weight: 600; letter-spacing: 2px;
    padding: 10px 24px; text-transform: uppercase;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 4px;
    transition: all 0.3s var(--ease);
}
.btn-nav:hover {
    background: var(--accent); color: var(--bg);
    box-shadow: 0 0 24px var(--accent-glow);
}

/* Hamburger */
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px; z-index: 1001;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.4s var(--ease); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
    position: fixed; inset: 0; background: rgba(0,0,0,0.97);
    backdrop-filter: blur(30px); z-index: 999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease);
}
.mobile-menu.active { opacity: 1; pointer-events: all; }
.mobile-nav { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.mobile-link {
    font-family: var(--font-heading); font-size: 20px;
    font-weight: 600; letter-spacing: 4px; text-transform: uppercase;
    color: var(--text-dim); transition: all 0.3s var(--ease);
}
.mobile-link:hover { color: var(--accent); }

/* === Buttons === */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 32px;
    font-family: var(--font-heading); font-size: 12px; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase;
    border-radius: 4px; border: none; cursor: pointer;
    transition: all 0.3s var(--ease);
}
.btn-primary {
    color: var(--bg); background: var(--accent);
}
.btn-primary:hover {
    box-shadow: 0 0 40px var(--accent-glow);
    transform: translateY(-2px);
}
.btn-ghost {
    color: var(--text); border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-full { width: 100%; justify-content: center; }

/* ============================================
   FULL-SCREEN SECTIONS (Scroll Snap)
   ============================================ */
.fp-section {
    min-height: 100vh;
    scroll-snap-align: start;
    position: relative;
    display: flex; flex-direction: column;
    justify-content: center;
    z-index: 2;
    overflow: hidden;
}

/* === Section Typography === */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-block;
    font-family: var(--font-mono); font-size: 11px; font-weight: 600;
    letter-spacing: 4px; text-transform: uppercase;
    color: var(--accent); margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800; line-height: 1.2;
    letter-spacing: 1px; margin-bottom: 16px;
    text-transform: uppercase;
}
.section-title-left { text-align: left; }
.text-accent { color: var(--accent); }
.section-desc {
    font-size: 16px; color: var(--text-dim);
    max-width: 560px; margin: 0 auto; line-height: 1.7;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    align-items: center; justify-content: center;
}
.hero-video-bg {
    position: absolute; inset: 0; z-index: 0;
}
.hero-bg-img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    transform: scale(1.08);
    animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
    0% { transform: scale(1.08); }
    100% { transform: scale(1.15); }
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.5) 0%,
        rgba(0,0,0,0.35) 40%,
        rgba(0,0,0,0.8) 100%
    );
}
.hero-content {
    position: relative; z-index: 10;
    text-align: center; max-width: 800px;
    padding: 0 24px;
}
.hero-badge {
    display: inline-block;
    font-family: var(--font-mono); font-size: 11px;
    letter-spacing: 4px; color: var(--accent);
    padding: 8px 20px;
    border: 1px solid var(--border-accent);
    border-radius: 100px;
    margin-bottom: 32px;
    opacity: 0; animation: fadeUp 0.8s 0.3s var(--ease) forwards;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(56px, 12vw, 120px);
    font-weight: 900; line-height: 0.95;
    letter-spacing: 4px;
    margin-bottom: 12px;
    opacity: 0; animation: fadeUp 0.8s 0.5s var(--ease) forwards;
}
.title-line { display: block; }
.title-accent { color: var(--accent); }
.hero-tagline {
    font-family: var(--font-heading);
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 400; letter-spacing: 6px;
    color: var(--text-dim); text-transform: uppercase;
    margin-bottom: 24px;
    opacity: 0; animation: fadeUp 0.8s 0.7s var(--ease) forwards;
}
.hero-sub {
    font-size: 16px; color: var(--text-dim);
    max-width: 500px; margin: 0 auto 36px;
    line-height: 1.7;
    opacity: 0; animation: fadeUp 0.8s 0.9s var(--ease) forwards;
}
.hero-cta {
    display: flex; gap: 16px; justify-content: center;
    opacity: 0; animation: fadeUp 0.8s 1.1s var(--ease) forwards;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute; bottom: 40px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    z-index: 10;
}
.scroll-line {
    width: 1px; height: 48px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}
.scroll-indicator span {
    font-family: var(--font-heading); font-size: 9px;
    letter-spacing: 4px; color: var(--text-muted);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about { position: relative; }
.about-bg { position: absolute; inset: 0; z-index: 0; }
.about-bg-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.15; }
.about-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.95), rgba(0,0,0,0.7)); }
.about-layout {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1fr 1.2fr;
    gap: 80px; align-items: center;
}
.about-left .section-tag { text-align: left; }
.about-left .section-title { text-align: left; }
.about-text {
    font-size: 17px; color: var(--text-dim); line-height: 1.8;
    margin-bottom: 20px;
}
.about-text strong { color: var(--text); font-weight: 600; }
.about-mission {
    font-size: 16px; color: var(--accent); font-style: italic;
    padding: 20px; margin-bottom: 32px;
    border-left: 3px solid var(--accent);
    background: var(--accent-dim);
    border-radius: 0 8px 8px 0;
}
.about-stats { display: flex; gap: 40px; }
.about-stat { text-align: center; }
.about-stat-num {
    font-family: var(--font-heading); font-size: 36px;
    font-weight: 800; color: var(--text); line-height: 1;
}
.about-stat-suffix {
    font-family: var(--font-heading); font-size: 18px;
    color: var(--accent); font-weight: 700;
}
.about-stat-lbl {
    display: block; font-size: 12px; letter-spacing: 1px;
    color: var(--text-muted); text-transform: uppercase; margin-top: 6px;
}

/* ============================================
   SOLUTIONS SECTION
   ============================================ */
.solutions { background: var(--bg); padding: 80px 0; }
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.solution-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px; overflow: hidden;
    transition: all 0.4s var(--ease);
}
.solution-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(22,231,207,0.06);
}
.sc-image { position: relative; height: 200px; overflow: hidden; }
.sc-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.solution-card:hover .sc-image img { transform: scale(1.08); }
.sc-image-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent, var(--bg-card));
}
.sc-info { padding: 28px; }
.sc-icon { color: var(--accent); margin-bottom: 16px; }
.sc-title {
    font-family: var(--font-heading); font-size: 18px;
    font-weight: 700; letter-spacing: 3px;
    margin-bottom: 12px;
}
.sc-desc { font-size: 14px; color: var(--text-dim); line-height: 1.7; margin-bottom: 16px; }
.sc-features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.sc-features span {
    font-size: 11px; font-family: var(--font-mono);
    padding: 4px 12px; letter-spacing: 0.5px;
    background: var(--accent-dim);
    border: 1px solid rgba(22,231,207,0.15);
    color: var(--accent); border-radius: 100px;
}
.sc-link {
    font-family: var(--font-heading); font-size: 12px;
    letter-spacing: 2px; color: var(--accent);
    transition: opacity 0.2s ease;
}
.sc-link:hover { opacity: 0.7; }

/* ============================================
   TECHNOLOGY SECTION
   ============================================ */
.technology { background: linear-gradient(180deg, var(--bg) 0%, #030308 100%); padding: 80px 0; }
.tech-features { max-width: 900px; margin: 0 auto; }
.tech-feature {
    display: grid; grid-template-columns: 60px 1fr auto;
    gap: 24px; align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s var(--ease);
}
.tech-feature:hover { padding-left: 12px; }
.tech-feature:first-child { border-top: 1px solid var(--border); }
.tf-number {
    font-family: var(--font-heading); font-size: 28px;
    font-weight: 800; color: var(--text-muted);
    transition: color 0.3s ease;
}
.tech-feature:hover .tf-number { color: var(--accent); }
.tf-title {
    font-family: var(--font-heading); font-size: 16px;
    font-weight: 700; letter-spacing: 2px; margin-bottom: 6px;
}
.tf-desc { font-size: 14px; color: var(--text-dim); line-height: 1.6; }
.tf-metric { text-align: right; }
.tf-val {
    font-family: var(--font-mono); font-size: 24px;
    font-weight: 700; color: var(--accent);
    display: block; line-height: 1;
}
.tf-lbl {
    font-family: var(--font-heading); font-size: 9px;
    letter-spacing: 2px; color: var(--text-muted);
    display: block; margin-top: 4px;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery { background: var(--bg); padding: 80px 0; }
.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 280px 280px;
    gap: 8px;
    max-width: 1400px; margin: 0 auto;
    padding: 0 40px;
}
.gallery-item {
    position: relative; border-radius: 8px;
    overflow: hidden; cursor: pointer;
}
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gi-large { grid-row: span 2; }
.gi-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
    display: flex; flex-direction: column;
    justify-content: flex-end; padding: 24px;
    opacity: 0; transition: opacity 0.3s ease;
}
.gallery-item:hover .gi-overlay { opacity: 1; }
.gi-tag {
    font-family: var(--font-heading); font-size: 10px;
    letter-spacing: 3px; color: var(--accent);
    margin-bottom: 4px; text-transform: uppercase;
}
.gi-caption { font-size: 14px; color: var(--text-dim); }

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact { padding: 80px 0 0; }
.contact-layout {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: start;
}
.contact-desc { font-size: 16px; color: var(--text-dim); line-height: 1.7; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contact-item {
    display: flex; align-items: center;
    gap: 14px; font-size: 15px; color: var(--text-dim);
}
.social-links { display: flex; gap: 12px; }
.social-link {
    width: 40px; height: 40px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s var(--ease);
}
.social-link:hover {
    color: var(--accent); border-color: var(--border-accent);
    background: var(--accent-dim);
}

/* Contact Form */
.contact-form {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
}
.form-title {
    font-family: var(--font-heading); font-size: 18px;
    font-weight: 700; letter-spacing: 1px;
    margin-bottom: 28px; text-transform: uppercase;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-family: var(--font-heading);
    font-size: 10px; font-weight: 600;
    letter-spacing: 2px; color: var(--text-dim);
    text-transform: uppercase; margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 14px 16px;
    font-family: var(--font-body); font-size: 15px;
    color: var(--text);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: all 0.2s ease; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23444455' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}
.form-group select option { background: var(--bg-card); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 100px; }

/* === Footer (inside contact section) === */
.footer {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 24px 0;
    border-top: 1px solid var(--border);
}
.footer-inner {
    display: flex; justify-content: space-between;
    align-items: center;
}
.footer-logo { height: 24px; opacity: 0.5; }
.footer-left { display: flex; align-items: center; gap: 16px; }
.footer-left p { font-size: 12px; color: var(--text-muted); letter-spacing: 1px; }
.footer-right { display: flex; align-items: center; gap: 20px; }
.footer-right a { font-size: 12px; color: var(--text-muted); transition: color 0.2s ease; }
.footer-right a:hover { color: var(--accent); }
.footer-right span { font-size: 12px; color: var(--text-muted); }

/* ============================================
   ANIMATIONS
   ============================================ */
.anim {
    opacity: 0; transform: translateY(40px);
    transition: all 0.8s var(--ease);
}
.anim.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(22,231,207,0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(22,231,207,0.3); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .about-layout { grid-template-columns: 1fr; gap: 40px; }
    .solutions-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .contact-layout { grid-template-columns: 1fr; gap: 48px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gi-large { grid-row: span 1; }
    .section-dots { display: none; }
}

@media (max-width: 768px) {
    html { scroll-snap-type: none; }
    .nav-links { display: none; }
    .btn-nav { display: none; }
    .hamburger { display: flex; }
    .container { padding: 0 20px; }
    .gallery-grid { grid-template-columns: 1fr; padding: 0 20px; }
    .gallery-grid .gallery-item { height: 200px; }
    .about-stats { flex-direction: column; gap: 20px; }
    .tech-feature { grid-template-columns: 40px 1fr; }
    .tf-metric { grid-column: 2; text-align: left; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
    .footer-right { flex-direction: column; gap: 8px; }
    .fp-section { min-height: auto; padding: 80px 0; }
    .hero { min-height: 100vh; padding: 0; }
}

@media (max-width: 480px) {
    .hero-badge { font-size: 9px; letter-spacing: 2px; padding: 6px 14px; }
    .hero-cta { flex-direction: column; align-items: center; }
    .contact-form { padding: 24px; }
}
