﻿/* ═══════════════════════════════════════════════════
   MICRONODE — Design System & Full Website Styles
   ═══════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
    --bg-deep:        #06041A;
    --bg-mid:         #0B0820;
    --bg-section:     #0E0B26;
    --card:           rgba(18, 14, 45, 0.72);
    --card-hover:     rgba(24, 19, 56, 0.88);
    --glass-border:   rgba(123, 97, 255, 0.18);
    --purple:         #7B61FF;
    --purple-light:   #B388FF;
    --purple-dim:     #4E3ABD;
    --purple-glow:    rgba(123, 97, 255, 0.22);
    --text:           #E8E3FF;
    --text-dim:       #8B7FBB;
    --text-muted:     #5A5280;
    --accent-teal:    #00D4E8;
    --accent-orange:  #FF6428;
    --accent-blue:    #0096FF;
    --accent-green:   #00FF96;
    --white:          #FFFFFF;
    --radius-sm:      8px;
    --radius-md:      16px;
    --radius-lg:      24px;
    --radius-xl:      36px;
    --font:           'Inter', system-ui, -apple-system, sans-serif;
    --font-mono:      'JetBrains Mono', 'Fira Code', monospace;
    --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --header-h:       72px;
    --max-w:          1280px;
    --section-pad:    clamp(64px, 8vw, 120px) 24px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg-deep);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ── Scroll Progress ── */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--purple), var(--purple-light), #E040FB);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ── Background Canvas ── */
#nodeCanvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

/* ── Container ── */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 48px);
    position: relative;
    z-index: 2;
}

/* ── Section ── */
.section { padding: var(--section-pad); position: relative; overflow: hidden; }

/* ── Glass Card ── */
.glass {
    background: var(--card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: var(--radius-md);
}

/* ── Gradient Text ── */
.gradient-text {
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Section Labels ── */
.sec-label {
    display: inline-block;
    width: fit-content;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--purple);
    text-transform: uppercase;
    margin-bottom: 12px;
    padding: 4px 12px;
    border: 1px solid rgba(123, 97, 255, 0.25);
    border-radius: 100px;
    background: rgba(123, 97, 255, 0.08);
}

/* ── Link Arrow ── */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--purple-light);
    margin-top: 20px;
    transition: gap 0.2s, color 0.2s;
}
.link-arrow span { transition: transform 0.2s; }
.link-arrow:hover { color: var(--white); gap: 10px; }
.link-arrow:hover span { transform: translateX(4px); }

/* ── Section Left Panel ── */
.sec-left {
    flex: 0 0 min(360px, 38%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.sec-left h2 {
    font-size: clamp(28px, 3.8vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 8px 0 16px;
}
.sec-left p { font-size: 15px; color: var(--text-dim); line-height: 1.7; }

/* ── Section Header (centered) ── */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}
.section-header.visible { opacity: 1; transform: none; }
.section-header h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 8px 0 12px;
}
.section-header .section-desc { font-size: 16px; color: var(--text-dim); }

/* ═══════════════════════════════════════════
   SIDE NAV DOTS
   ═══════════════════════════════════════════ */
.side-dots {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 500;
}
.side-dot {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}
.side-dot span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: background 0.3s, transform 0.3s;
}
.side-dot.active span {
    background: var(--purple);
    transform: scale(1.4);
    box-shadow: 0 0 8px var(--purple);
}
.side-dot::before {
    content: attr(data-label);
    position: absolute;
    right: calc(100% + 8px);
    white-space: nowrap;
    font-size: 11px;
    font-weight: 600;
    color: var(--purple-light);
    background: rgba(6, 4, 26, 0.92);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(123, 97, 255, 0.2);
    opacity: 0;
    transform: translateX(6px);
    transition: opacity 0.2s, transform 0.2s;
    pointer-events: none;
}
.side-dot:hover::before { opacity: 1; transform: translateX(0); }
@media (max-width: 1100px) { .side-dots { display: none; } }

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    z-index: 200;
    transition: background 0.35s, box-shadow 0.35s;
}
.site-header.scrolled {
    background: rgba(6, 4, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(123, 97, 255, 0.15), 0 4px 32px rgba(0,0,0,0.5);
}
.navbar {
    display: flex;
    align-items: center;
    height: var(--header-h);
    gap: 32px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.06em;
    color: var(--text);
    flex-shrink: 0;
}
.logo-icon { height: 52px; width: auto; flex-shrink: 0; display: block; }
.logo-wordmark { font-family: Montserrat, Poppins, 'Segoe UI', Arial, sans-serif; font-size: 22px; font-weight: 700; letter-spacing: 4px; line-height: 1; }
.logo-micro { color: #E7E4FF; }
.logo-node  { color: #8369FF; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
    transition: color 0.2s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0; right: 0;
    height: 1px;
    background: var(--purple);
    transform: scaleX(0);
    transition: transform 0.25s;
    transform-origin: left;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px;
    margin-left: auto;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 26px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    cursor: pointer;
    border: none;
    flex-shrink: 0;
    position: relative;
}
.btn-primary {
    background: linear-gradient(135deg, var(--purple), #9B80FF);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(123, 97, 255, 0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(123, 97, 255, 0.55);
}
.btn-ghost {
    background: transparent;
    color: var(--text-dim);
    border: 1px solid rgba(123, 97, 255, 0.25);
}
.btn-ghost:hover {
    color: var(--text);
    border-color: var(--purple);
    background: rgba(123, 97, 255, 0.08);
}
.btn-nav {
    background: transparent;
    color: var(--purple-light);
    border: 1px solid rgba(123, 97, 255, 0.35);
    padding: 9px 20px;
    font-size: 13px;
}
.btn-nav:hover {
    background: rgba(123, 97, 255, 0.15);
    border-color: var(--purple);
    color: var(--white);
}
.btn-full { width: 100%; }

/* ── Eyebrow ── */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--purple-light);
    letter-spacing: 0.04em;
    margin-bottom: 20px;
    background: rgba(123, 97, 255, 0.10);
    border: 1px solid rgba(123, 97, 255, 0.30);
    border-radius: 100px;
    padding: 6px 14px;
}
.eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--purple);
    box-shadow: 0 0 8px var(--purple);
    animation: pulse-dot 2s ease infinite;
    flex-shrink: 0;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.7); }
}

/* ═══════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s var(--ease-smooth), transform 0.65s var(--ease-smooth);
    will-change: transform, opacity;
}
.reveal[data-dir="left"]  { transform: translateX(-52px); }
.reveal[data-dir="right"] { transform: translateX(52px); }
.reveal[data-dir="scale"] { transform: scale(0.88) translateY(16px); }
.reveal[data-dir="down"]  { transform: translateY(-32px); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }

/* ═══════════════════════════════════════════
   01 HERO
   ═══════════════════════════════════════════ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-h) + 32px);
    background-image:
        linear-gradient(rgba(123,97,255,0.22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(123,97,255,0.22) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
    background:
        radial-gradient(ellipse 80% 60% at 70% 50%, rgba(123, 97, 255, 0.12), transparent),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(78, 58, 189, 0.08), transparent);
}
.hero-inner {
    display: flex;
    align-items: center;
    gap: clamp(32px, 5vw, 80px);
    width: 100%;
    margin-top: 32px;
}
.hero-content { flex: 1 1 0; }
.hero-content h1 {
    font-size: clamp(32px, 4.2vw, 48px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.015em;
    margin-bottom: 20px;
}
.hero-desc {
    font-size: clamp(15px, 1.6vw, 18px);
    color: var(--text-dim);
    max-width: 480px;
    margin-bottom: 32px;
    line-height: 1.7;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-cta .btn { border-radius: 10px; }
.hero-cta .btn-ghost {
    border: 1.5px solid rgba(255,255,255,0.22);
    color: var(--text);
    background: rgba(255,255,255,0.04);
}
.hero-cta .btn-ghost:hover {
    border-color: var(--purple);
    color: var(--purple-light);
    background: rgba(123,97,255,0.08);
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid rgba(123, 97, 255, 0.22);
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(18, 14, 45, 0.65);
    backdrop-filter: blur(10px);
}
.hstat {
    display: flex; flex-direction: column; gap: 4px;
    padding: 18px 16px; text-align: center;
    border-right: 1px solid rgba(123, 97, 255, 0.15);
}
.hstat:last-child { border-right: none; }
.hstat-val {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}
.hstat-lbl { font-size: 11px; color: var(--text-dim); font-weight: 500; }

/* Hero Visual */
.hero-visual {
    flex: 0 0 clamp(280px, 44%, 540px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mn-hero-canvas {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 520px;
}
.mn-hero-logo-wrap {
    position: absolute;
    width: 92%;
    pointer-events: none;
    animation: heroLogoFadeIn 1.1s ease-out 3s both;
}
.mn-hero-logo {
    display: block;
    width: 100%;
    height: auto;
}
@keyframes heroLogoFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ═══════════════════════════════════════════
   02 INDUSTRIES
   ═══════════════════════════════════════════ */
.ind-section { background: var(--bg-mid); }
.ind-inner {
    display: flex;
    align-items: flex-start;
    gap: clamp(32px, 5vw, 80px);
}
.ind-grid {
    flex: 1 1 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.ind-card {
    overflow: hidden;
    transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s, border-color 0.3s;
    will-change: transform;
}
.ind-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(123, 97, 255, 0.18);
    border-color: rgba(123, 97, 255, 0.35);
}
.ind-photo {
    height: 220px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ind-health  { background: radial-gradient(ellipse at 50% 50%, rgba(0, 200, 220, 0.18), rgba(0, 60, 80, 0.5) 70%); }
.ind-defense { background: radial-gradient(ellipse at 50% 50%, rgba(255, 100, 40, 0.18), rgba(80, 30, 0, 0.5) 70%); }
.ind-vision  { background: radial-gradient(ellipse at 50% 50%, rgba(123, 97, 255, 0.22), rgba(30, 15, 70, 0.5) 70%); }
.ind-auto    { background: radial-gradient(ellipse at 50% 50%, rgba(0, 140, 255, 0.18), rgba(0, 20, 60, 0.5) 70%); }
.ind-art { width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
.ind-info { padding: 20px 24px; }
.ind-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.ind-info p  { font-size: 13px; color: var(--text-dim); }

/* ═══════════════════════════════════════════
   03 TECHNOLOGIES
   ═══════════════════════════════════════════ */
.tech-section { background: var(--bg-section); overflow: hidden; }
.tech-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto clamp(36px, 5vw, 56px);
}
.tech-header h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.tech-header p  { color: var(--text-dim); font-size: 15px; }

/* Two-row pill marquee */
.tpill-wrap {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.tpill-track {
    display: flex;
    gap: 14px;
    width: max-content;
    padding: 4px 0;
}
.tpill-left  { animation: pill-left  30s linear infinite; }
.tpill-right { animation: pill-right 30s linear infinite; }
.tpill-left:hover,
.tpill-right:hover { animation-play-state: paused; }
@keyframes pill-left  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pill-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* Logo cards inside marquee tracks */
.tpill-track .tlogo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    background: rgba(10, 7, 30, 0.85);
    border: 1px solid rgba(123, 97, 255, 0.22);
    border-radius: var(--radius-sm);
    min-width: 110px;
    flex-shrink: 0;
    cursor: default;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.tpill-track .tlogo-item:hover {
    border-color: rgba(123, 97, 255, 0.55);
    box-shadow: 0 0 16px rgba(123, 97, 255, 0.22);
}
.tlogo-svg  { width: 72px; height: 48px; }
.tlogo-img  { width: 72px; height: 48px; object-fit: contain; display: block; }
.tlogo-name { font-size: 11px; font-weight: 600; color: var(--text-dim); text-align: center; letter-spacing: 0.04em; }

/* ═══════════════════════════════════════════
   04 PROJECTS (Slider)
   ═══════════════════════════════════════════ */
.proj-section { background: var(--bg-mid); }
.proj-inner {
    display: flex;
    align-items: flex-start;
    gap: clamp(32px, 5vw, 80px);
}
.proj-dots { display: flex; gap: 10px; margin-top: 32px; }
.pdot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: background 0.2s, transform 0.2s, width 0.3s;
    cursor: pointer;
}
.pdot.active {
    background: var(--purple);
    width: 28px;
    border-radius: 5px;
    box-shadow: 0 0 8px rgba(123, 97, 255, 0.6);
}
.proj-track-wrap {
    flex: 1 1 0;
    overflow: hidden;
    border-radius: var(--radius-md);
}
.proj-track {
    display: flex;
    gap: 0;
    transition: transform 0.5s var(--ease-smooth);
}
.proj-card {
    flex: 0 0 100%;
    overflow: hidden;
    transition: box-shadow 0.3s, border-color 0.3s;
}
.proj-card:hover {
    box-shadow: 0 12px 40px rgba(123, 97, 255, 0.2);
    border-color: rgba(123, 97, 255, 0.35);
}
.proj-photo {
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.proj-camera  { background: radial-gradient(ellipse at 50% 50%, rgba(123, 97, 255, 0.22), rgba(30, 15, 70, 0.7) 70%); }
.proj-medical { background: radial-gradient(ellipse at 50% 50%, rgba(0, 200, 220, 0.22), rgba(0, 40, 60, 0.7) 70%); }
.proj-gateway { background: radial-gradient(ellipse at 50% 50%, rgba(0, 140, 255, 0.22), rgba(0, 20, 60, 0.7) 70%); }
.proj-defense { background: radial-gradient(ellipse at 50% 50%, rgba(255, 100, 40, 0.22), rgba(60, 20, 0, 0.7) 70%); }
.proj-art { width: 200px; height: 140px; }
.proj-info { padding: 24px; }
.proj-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--purple);
    background: rgba(123, 97, 255, 0.12);
    border: 1px solid rgba(123, 97, 255, 0.25);
    border-radius: 100px;
    padding: 3px 10px;
    margin-bottom: 10px;
}
.proj-info h3 { font-size: 20px; font-weight: 700; }

/* ═══════════════════════════════════════════
   05 PRODUCTS
   ═══════════════════════════════════════════ */
.prod-section { background: var(--bg-section); padding-top: clamp(36px, 4vw, 60px); padding-bottom: clamp(36px, 4vw, 60px); }
.prod-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 48px 56px;
}
.prod-coming-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--purple-light);
    margin-bottom: 16px;
}
.prod-banner-text h2 {
    font-size: clamp(22px, 2.8vw, 34px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 14px;
}
.prod-banner-text p {
    font-size: 14px;
    color: var(--text-dim);
    max-width: 460px;
    line-height: 1.65;
}
.prod-banner-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-shrink: 0;
}
.btn-prod-pill {
    display: inline-block;
    padding: 13px 32px;
    border-radius: 100px;
    background: rgba(123, 97, 255, 0.2);
    border: 1px solid rgba(123, 97, 255, 0.5);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
    white-space: nowrap;
}
.btn-prod-pill:hover {
    background: rgba(123, 97, 255, 0.35);
    border-color: rgba(123, 97, 255, 0.8);
    box-shadow: 0 0 20px rgba(123, 97, 255, 0.3);
}
.btn-prod-ghost {
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}
.btn-prod-ghost:hover { color: #fff; }/* ═══════════════════════════════════════════
   06 CTA + CONTACT
   ═══════════════════════════════════════════ */
.cta-section {
    background: var(--bg-mid);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(123, 97, 255, 0.08), transparent 70%);
    pointer-events: none;
}
.cta-inner {
    display: flex;
    align-items: center;
    gap: clamp(40px, 6vw, 100px);
    margin-bottom: 52px;
}
.cta-content { flex: 1 1 0; }
.cta-content h2 {
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 8px 0 18px;
}
.cta-content > p {
    font-size: 16px;
    color: var(--text-dim);
    margin-bottom: 28px;
    max-width: 480px;
    line-height: 1.7;
}
.cta-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 36px;
}
.cta-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dim);
    transition: color 0.2s;
}
.cta-list li:hover { color: var(--text); }
.cta-list li svg { width: 22px; height: 22px; flex-shrink: 0; }
.cta-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.cta-secure {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--text-muted);
}
.cta-globe {
    flex: 0 0 clamp(240px, 40%, 420px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.globe-svg { width: 100%; max-width: 400px; }
.globe-node { animation: globe-blink 3s ease-in-out infinite; }
.globe-node:nth-child(odd)  { animation-delay: 0.4s; }
.globe-node:nth-child(even) { animation-delay: 1.2s; }
@keyframes globe-blink {
    0%, 100% { opacity: 0.9; }
    50%       { opacity: 0.2; }
}
.cta-bar {
    display: flex;
    align-items: center;
    padding: 28px 40px;
}
.cta-bar-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
}
.cta-bar-sep {
    width: 1px;
    height: 48px;
    background: var(--glass-border);
    flex-shrink: 0;
}
.cta-bar-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(123, 97, 255, 0.12);
    border: 1px solid rgba(123, 97, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    flex-shrink: 0;
}
.cta-bar-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 4px;
}
.cta-bar-val {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}


/* ═══════════════════════════════════════════
   CONSULTATION MODAL
   ═══════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 4, 26, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-smooth);
}
.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}
.modal-box {
    width: 100%;
    max-width: 520px;
    padding: 40px;
    position: relative;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.35s var(--ease-smooth);
}
.modal-overlay.open .modal-box {
    transform: translateY(0) scale(1);
}
.modal-close {
    position: absolute;
    top: 16px; right: 20px;
    font-size: 24px;
    line-height: 1;
    color: var(--text-dim);
    cursor: pointer;
    transition: color 0.2s;
    background: none;
    border: none;
    padding: 4px 8px;
}
.modal-close:hover { color: var(--text); }
.modal-box h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
}
.modal-sub {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 28px;
}
.modal-box .form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 18px;
}
.modal-box .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 0.03em;
}
.modal-box .form-group input,
.modal-box .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(123, 97, 255, 0.25);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 15px;
    font-family: var(--font);
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    resize: vertical;
}
.modal-box .form-group input::placeholder,
.modal-box .form-group textarea::placeholder { color: var(--text-muted); }
.modal-box .form-group input:focus,
.modal-box .form-group textarea:focus {
    border-color: var(--purple);
    background: rgba(123, 97, 255, 0.07);
}
.modal-box .form-group textarea { min-height: 110px; }
.char-count {
    font-size: 12px;
    color: var(--text-muted);
    text-align: right;
    margin-top: 4px;
}
.btn-full { width: 100%; justify-content: center; margin-top: 4px; }
.form-note { font-size: 13px; text-align: center; margin-top: 12px; min-height: 18px; }
.form-note.success { color: #00D4A0; }
.form-note.error   { color: #FF6B6B; }

/* ═══════════════════════════════════════════
   11 FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
    background: #040312;
    border-top: 1px solid rgba(123, 97, 255, 0.12);
    position: relative;
    z-index: 2;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1.4fr;
    gap: clamp(24px, 4vw, 56px);
    padding-top: clamp(48px, 5vw, 80px);
    padding-bottom: clamp(32px, 4vw, 56px);
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-tagline { font-size: 14px; color: var(--text-muted); line-height: 1.7; max-width: 280px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    letter-spacing: 0.03em;
}
.footer-col a { font-size: 13px; color: var(--text-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--purple-light); }

/* Newsletter */
.footer-newsletter p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.newsletter-form { display: flex; margin-top: 4px; }
.newsletter-form input {
    flex: 1 1 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(123, 97, 255, 0.2);
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    color: var(--text);
    font-size: 13px;
    padding: 10px 14px;
    outline: none;
    transition: border-color 0.2s;
}
.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form input:focus { border-color: var(--purple); }
.newsletter-form button {
    background: linear-gradient(135deg, var(--purple), #9B80FF);
    border: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 10px 16px;
    cursor: pointer;
    color: var(--white);
    display: flex;
    align-items: center;
    transition: opacity 0.2s;
}
.newsletter-form button svg { width: 18px; height: 18px; }
.newsletter-form button:hover { opacity: 0.85; }
.social-links { display: flex; gap: 12px; margin-top: 12px; }
.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(123, 97, 255, 0.1);
    border: 1px solid rgba(123, 97, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.social-links a:hover {
    background: rgba(123, 97, 255, 0.25);
    color: var(--purple-light);
    border-color: var(--purple);
}
.social-links a svg { width: 16px; height: 16px; }
.footer-bottom {
    border-top: 1px solid rgba(123, 97, 255, 0.08);
    text-align: center;
    padding: 20px 0;
    font-size: 13px;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
}

/* ═══════════════════════════════════════════
   PRODUCTION CAPABILITIES
   ═══════════════════════════════════════════ */
.prodc-section { background: var(--bg-deep); }
.prodc-card {
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: row;
    min-height: 320px;
    border-radius: var(--radius);
}
.prodc-img-wrap {
    position: relative;
    flex: 0 0 58%;
    min-height: 280px;
}
.prodc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.prodc-img-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        transparent 40%,
        rgba(18,14,45,0.85) 100%
    );
}
.prodc-text {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: clamp(28px, 4vw, 52px);
}
.prodc-text h2 {
    font-size: clamp(28px, 3.8vw, 46px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0;
}
.prodc-text p {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.7;
    margin: 0;
    max-width: 320px;
}

/* ═══════════════════════════════════════════
   PRODUCTION LINE
   ═══════════════════════════════════════════ */
.prod-line-section { background: var(--bg-section); }
.prod-line-inner {
    display: flex;
    align-items: center;
    gap: clamp(32px, 5vw, 64px);
    padding: clamp(32px, 4vw, 56px);
    border-radius: var(--radius);
}
.pl-visual { flex: 0 0 260px; width: 260px; }
.pl-visual svg { width: 100%; height: auto; display: block; }
.pl-content { flex: 1 1 0; }
.pl-content .sec-label { margin-bottom: 10px; display: block; }
.pl-content h2 {
    font-size: clamp(24px, 3.2vw, 38px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}
.pl-content > p { font-size: 15px; color: var(--text-dim); line-height: 1.7; margin-bottom: 32px; }
.pl-timeline { display: flex; flex-direction: column; }
.pl-step {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 14px 0 14px 24px;
    border-left: 2px solid rgba(123, 97, 255, 0.2);
    position: relative;
}
.pl-step::before {
    content: '';
    position: absolute;
    left: -7px; top: 18px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--purple);
    box-shadow: 0 0 10px rgba(123, 97, 255, 0.5);
}
.pl-step:last-child { border-left-color: transparent; }
.pl-step-num {
    font-size: 10px; font-weight: 700;
    color: var(--purple); letter-spacing: 0.1em;
    text-transform: uppercase; margin-bottom: 3px;
}
.pl-step h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.pl-step p { font-size: 13px; color: var(--text-dim); line-height: 1.6; margin: 0; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-newsletter { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .ind-inner,
    .proj-inner,
    .why-inner

    .hero-inner { flex-direction: column-reverse; text-align: center; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .hero-desc { text-align: center; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .hero-visual { flex: 0 0 auto; width: 80%; max-width: 340px; }

    .sec-left { flex: 0 0 auto; width: 100%; }
    .sec-left h2 { font-size: clamp(24px, 5vw, 36px); }

    .ind-grid { grid-template-columns: 1fr 1fr; }
    .why-grid  { grid-template-columns: 1fr 1fr; }
    .prod-banner { flex-direction: column; align-items: flex-start; padding: 36px 32px; }

    .prod-line-inner { flex-direction: column; text-align: center; align-items: center; }
    .pl-visual { flex: 0 0 auto; width: 100%; max-width: 320px; }
    .pl-timeline { justify-content: center; }
    .prodc-card { flex-direction: column; }
    .prodc-img-wrap { flex: 0 0 auto; min-height: 220px; }
    .prodc-img-fade { background: linear-gradient(to bottom, transparent 50%, rgba(18,14,45,0.9) 100%); }
}

@media (max-width: 700px) {
    :root { --header-h: 60px; }
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: var(--header-h); left: 0; right: 0; bottom: 0;
        background: rgba(6, 4, 26, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        transform: translateX(100%);
        transition: transform 0.35s var(--ease-smooth);
        z-index: 190;
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a { font-size: 22px; font-weight: 700; }
    .btn-nav { display: none; }

    .ind-grid { grid-template-columns: 1fr; }
    .why-grid  { grid-template-columns: 1fr; }
    .prod-banner { padding: 28px 24px; gap: 28px; }

    .process-steps { flex-wrap: wrap; gap: 12px; }
    .proc-connector { display: none; }

    .footer-inner { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }
    .footer-newsletter { grid-column: auto; }

    .hero-cta { flex-direction: column; width: 100%; }
    .hero-cta .btn { width: 100%; }
}

@media (max-width: 480px) {
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .prod-line-inner { padding: 24px; }
}

/* ═══════════════════════════════════════════
   IND IMG (real photo inside ind-photo)
   ═══════════════════════════════════════════ */
.ind-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}
.ind-health .ind-img {
    object-position: center 30%;
}
.ind-art-overlay {
    position: absolute;
    top: 0; left: 0;
    pointer-events: none;
}

/* ═══════════════════════════════════════════
   WHAT WE DO
   ═══════════════════════════════════════════ */
.wwd-section { background: var(--bg-deep); }
.wwd-inner {
    display: flex;
    align-items: flex-start;
    gap: clamp(32px, 5vw, 80px);
}
.wwd-grid {
    flex: 1 1 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.wwd-card {
    padding: 24px;
    transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s, border-color 0.3s;
    will-change: transform;
}
.wwd-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(123, 97, 255, 0.18);
    border-color: rgba(123, 97, 255, 0.35);
}
.wwd-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: rgba(123, 97, 255, 0.1);
    border: 1px solid rgba(123, 97, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-light);
    margin-bottom: 14px;
}
.wwd-icon svg { width: 22px; height: 22px; }
.wwd-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.wwd-card p  { font-size: 13px; color: var(--text-dim); line-height: 1.65; }

/* ═══════════════════════════════════════════
   BUILT DIFFERENT
   ═══════════════════════════════════════════ */
.built-section { background: var(--bg-mid); }
.built-header {
    max-width: 560px;
    margin-bottom: 48px;
}
.built-header h2 {
    font-size: clamp(28px, 3.8vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 8px 0 16px;
}
.built-header p { font-size: 15px; color: var(--text-dim); line-height: 1.7; }
.built-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.built-card {
    padding: 36px 28px;
    transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s, border-color 0.3s;
    will-change: transform;
}
.built-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(123, 97, 255, 0.2);
    border-color: rgba(123, 97, 255, 0.38);
}
.built-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 16px;
}
.built-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.built-card p  { font-size: 14px; color: var(--text-dim); line-height: 1.7; }

@media (max-width: 900px) {
    .wwd-inner { flex-direction: column; }
    .wwd-grid  { grid-template-columns: 1fr 1fr; }
    .built-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .wwd-grid { grid-template-columns: 1fr; }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
    .reveal { opacity: 1 !important; transform: none !important; }
    .section-header { opacity: 1 !important; transform: none !important; }
}
