/* ═══════════════════════════════════════════════════
   NorthGate Security Services — Design System
   ═══════════════════════════════════════════════════ */

:root {
    --red: #929FB5;
    --red-dark: #4A5A73;
    --red-light: #C1CBD8;
    --navy: #000000;
    --navy-mid: #000000;
    --navy-light: #060606;
    --white: #FFFFFF;
    --white-70: rgba(255, 255, 255, 0.70);
    --white-40: rgba(255, 255, 255, 0.40);
    --white-12: rgba(255, 255, 255, 0.12);
    --white-06: rgba(255, 255, 255, 0.06);
    --off-white: #F1F3F6;
    --light-gray: #F1F3F6;
    --text-dark: #000000;
    --text-muted: #929FB5;

    --font-head: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;

    --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --radius: 4px;
}

/* ═══════════════════════════════════════════════════
   PRELOADER / INTRO SCREEN
   ═══════════════════════════════════════════════════ */
.loading-intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--navy);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.86, 0, 0.07, 1),
        visibility 0.8s cubic-bezier(0.86, 0, 0.07, 1);
}

.loading-intro.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center everything including the logo */
    text-align: center;
    gap: 16px;
}

.loading-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    margin-bottom: 12px;
    animation: loadPulse 2s ease-in-out infinite;
}

@keyframes loadPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(0.98);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.loading-bar {
    width: 280px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.loading-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--red);
    animation: loadProgress 1.6s cubic-bezier(0.86, 0, 0.07, 1) forwards;
}

.loading-text {
    font-family: monospace;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--white);
    text-transform: uppercase;
}

.blink {
    animation: blink 1s step-start infinite;
}

@keyframes loadProgress {
    0% {
        width: 0%;
    }

    40% {
        width: 40%;
    }

    60% {
        width: 60%;
    }

    100% {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--navy);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ═══ SCROLLBAR ═══ */
::-webkit-scrollbar {
    display: none;
}

* {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ═══════════════════════════════════════════════════
   NAVIGATION — Dark translucent strip (reference style)
   ═══════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    height: 110px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition);
}

.navbar.scrolled {
    height: 120px;
    background: rgba(5, 5, 5, 0.98);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.nav-inner {
    height: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
}

/* Logo — Internal */
.primary-logo {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition);
    padding: 0;
}

.primary-logo-img {
    height: 65px;
    width: auto;
    display: block;
    object-fit: contain;
    border-radius: 4px;
    transition: all var(--transition);
}

.primary-logo:hover .primary-logo-img {
    transform: scale(1.03);
}

.nav-tagline-img {
    height: 14px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: all var(--transition);
}

.navbar.scrolled .primary-logo-img {
    height: 50px;
}

.navbar.scrolled .nav-tagline-img {
    height: 10px;
}



/* Links — grouped together on the right */
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 1);
    transition: color var(--transition);
    position: relative;
    white-space: nowrap;
    padding: 8px 0;
}

.nav-links a.nav-active,
.nav-links a:hover {
    color: var(--white);
}

.nav-links a.nav-active {
    font-weight: 700;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
}

.nav-links a:hover::after,
.nav-links a.nav-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 20px;
}

/* Phone and WhatsApp Icons */
.nav-phone,
.nav-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition);
}

.nav-phone:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
    transform: scale(1.05);
}

.nav-whatsapp {
    color: #25D366;
}

.nav-whatsapp:hover {
    background: #25D366;
    color: var(--white);
    border-color: #25D366;
    transform: scale(1.05);
}

/* CTA — right with boxed arrow */
.nav-cta {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 100px;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 12px;
    margin-left: 20px;
    /* Added spacing from nav links */
}

.nav-cta:hover {
    background: var(--white);
    color: var(--text-dark);
    border-color: var(--white);
}

.nav-cta-box {
    font-size: 0.9rem;
    transition: transform var(--transition);
}

.nav-cta:hover .nav-cta-box {
    transform: translate(2px, -2px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    transition: all var(--transition);
}


/* ═══════════════════════════════════════════════════
   HERO — Full-viewport, reference layout
   ═══════════════════════════════════════════════════ */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--navy);
    overflow: hidden;
    padding-top: 150px;
    /* Safe space to clear navbar */
    padding-bottom: 60px;
}

.hero-inner {
    max-width: 1440px;
    width: 100%;
    margin: auto;
    /* Vertically centers, but protects top bounds */
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    z-index: 10;
    transition-delay: 0.3s;
    /* Delay for smooth load */
}

.hero-headline {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 4.2rem);
    /* Size for the massive bottom text */
    font-weight: 100;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--white);
    margin-bottom: 16px;
}

.hero-headline-small {
    display: block;
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: 0;
}

.hero-headline .accent {
    font-weight: 700;
    color: var(--red);
}

.outline-accent {
    font-weight: 800;
    letter-spacing: -0.06em;
    color: transparent !important;
    -webkit-text-stroke: 2px var(--white);
    text-transform: uppercase;
    font-size: clamp(3.5rem, 6vw, 6.5rem);
    /* Makes 'Defence' massive */
    display: block;
    line-height: 0.9;
    margin-top: 4px;
}

.hero-bottom-row {
    display: flex;
    align-items: flex-end;
    /* Aligns text bottom with button */
    gap: 24px;
    /* Pulls text closer horizontally to the button */
    margin-top: 40px;
    /* Pushes the entire row down away from the headline */
    justify-content: flex-start;
}

.hero-sub {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--white-70);
    margin-bottom: 0px;
    /* Reset */
    margin-bottom: 8px;
    /* Lift text slightly so it visually aligns with the button text instead of bottom of button padding */
    max-width: 580px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    position: relative;
    z-index: 5;
    height: clamp(400px, 60vh, 600px);
    transition-delay: 0.7s;
    /* Delay so it fades in after text */
}

/* Isometric Map Grid Background */
.hero-map-bg {
    position: absolute;
    top: 50%;
    left: 45%;
    width: clamp(500px, 80vw, 800px);
    height: clamp(500px, 80vh, 800px);
    transform: translate(-50%, -50%) rotateX(60deg) rotateZ(45deg) scale(1.5);
    background:
        linear-gradient(rgba(146, 159, 181, 0.25) 1px, transparent 1px),
        linear-gradient(90deg, rgba(146, 159, 181, 0.25) 1px, transparent 1px),
        linear-gradient(rgba(146, 159, 181, 0.1) 2px, transparent 2px),
        linear-gradient(90deg, rgba(146, 159, 181, 0.1) 2px, transparent 2px);
    background-size: 30px 30px, 30px 30px, 150px 150px, 150px 150px;
    z-index: -1;
    mask-image: radial-gradient(circle at center, black 0%, black 40%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at center, black 0%, black 40%, transparent 75%);
}

.guard-img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) contrast(1.1) brightness(0.85);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--white-40);
}

.scroll-line {
    width: 60px;
    height: 1px;
    background: var(--white-12);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--red);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

/* Technical Ticker Marquee */
.tech-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 32px;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 10;
}

.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: tickerScroll 40s linear infinite;
}

.ticker-track span {
    font-size: 0.65rem;
    font-family: monospace;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--white-40);
    padding-right: 50px;
    text-transform: uppercase;
}

@keyframes tickerScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-33.33%);
    }
}

/* CTA button — glassmorphism bg, light text */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 15px 28px;
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(146, 159, 181, 0.3);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
}

.btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--white);
    color: var(--red);
    border-radius: 50%;
    font-size: 0.8rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover .btn-arrow {
    transform: translate(2px, -2px) scale(1.15);
    box-shadow: 0 4px 12px rgba(146, 159, 181, 0.4);
}

.btn-text {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.04em;
    transition: color var(--transition);
}

.btn-text:hover {
    color: #fff;
}

/* Vertical Social Bar */
.hero-socials {
    position: absolute;
    right: 48px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    z-index: 10;
}

.hero-socials a {
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    opacity: 0.5;
    transition: all var(--transition);
}

.hero-socials a:hover {
    opacity: 1;
    transform: translateX(-3px);
    color: var(--white);
}

.social-line {
    width: 1px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    margin-top: 10px;
}

/* Tech Framing Brackets */
.tech-frame {
    position: absolute;
    top: 0%;
    right: 0%;
    width: 60%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.tech-frame::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    border-top: 1.5px solid rgba(255, 255, 255, 0.4);
    border-right: 1.5px solid rgba(255, 255, 255, 0.4);
}

.tech-frame::after {
    content: '';
    position: absolute;
    bottom: 50px;
    left: -40px;
    width: 80px;
    height: 80px;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.4);
    border-left: 1.5px solid rgba(255, 255, 255, 0.4);
}

@media (max-width: 992px) {
    .hero-socials {
        display: none;
    }

    .tech-frame {
        display: none;
    }

    .hero-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 20px;
        padding-top: 40px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-bottom-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .hero-bottom-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .hero-visual {
        justify-content: center;
        height: 400px;
        width: 100%;
    }

    .scroll-indicator {
        left: 50%;
        transform: translateX(-50%);
        bottom: 40px;
    }
}





/* ═══════════════════════════════════════════════════
   STATS STRIP
   ═══════════════════════════════════════════════════ */
.stats-strip {
    background: var(--navy-mid);
    border-top: 1px solid var(--white-06);
    border-bottom: 1px solid var(--white-06);
    padding: 56px 48px;
}

.stats-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 160px;
}

.stat-num {
    font-family: var(--font-head);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-unit {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 600;
    color: var(--red);
}

.stat-item p {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white-40);
    margin-top: 6px;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--white-12);
    flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════
   TECHNOLOGY SECTION
   ═══════════════════════════════════════════════════ */
.tech-section {
    background: var(--navy);
    padding: 120px 48px;
    position: relative;
    overflow: hidden;
}

.tech-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(146, 159, 181, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.tech-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 14px;
}

.section-eyebrow.dark {
    color: var(--red-dark);
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--white);
    margin-bottom: 20px;
}

.section-title.dark {
    color: var(--text-dark);
}

.section-title .accent {
    color: var(--red);
}

.section-sub {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--white-70);
    max-width: 520px;
    margin-bottom: 40px;
}

.section-sub.dark {
    color: var(--text-muted);
}

.section-header.center {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.center .section-sub {
    margin: 0 auto 0;
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.tech-item {
    display: flex;
    gap: 24px;
    align-items: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 32px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-20px);
    transition: background 0.3s ease, border-color 0.3s ease, opacity 0.5s ease, transform 0.5s ease;
}

.tech-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.tech-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.4s ease;
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.3);
}

.tech-item:hover::after {
    width: 100%;
}

.tech-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease;
}

.tech-item:hover .tech-icon {
    border-color: var(--white);
}

.tech-icon svg {
    stroke: var(--white) !important;
}

.tech-item div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tech-item strong {
    display: block;
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--white);
}

.tech-item p {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--white-70);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.6;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 14px 28px;
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-outline:hover {
    background: rgba(146, 159, 181, 0.1);
    border-color: var(--red);
    color: var(--white);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(146, 159, 181, 0.25);
}

/* Phone Mockup */
.tech-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-glow {
    position: absolute;
    width: 280px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(146, 159, 181, 0.30) 0%, transparent 70%);
    filter: blur(40px);
    border-radius: 50%;
}

.phone-mockup {
    position: relative;
    z-index: 2;
    animation: floatCard 5s ease-in-out infinite;
}

.custom-mockup-img {
    max-height: 550px;
    width: auto;
    border-radius: 36px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7);
    object-fit: contain;
}



/* Floating tag chips */
.tag-chip {
    position: absolute;
    background: rgba(11, 28, 45, 0.9);
    border: 1px solid var(--white-12);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--white);
    z-index: 3;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.chip-1 {
    top: 20%;
    left: -50px;
    animation: floatCard 4.5s ease-in-out infinite 0.5s;
}

.chip-2 {
    top: 55%;
    right: -40px;
    animation: floatCard 4s ease-in-out infinite 1s;
}

.chip-3 {
    bottom: 18%;
    left: -30px;
    animation: floatCard 5s ease-in-out infinite 0.2s;
}


/* ═══════════════════════════════════════════════════
   SERVICES (BRUTALIST TECH THEME)
   ═══════════════════════════════════════════════════ */
.services-section {
    background: var(--navy);
    padding: 120px 48px;
}

.services-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.service-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 48px 40px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.4s ease;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.3);
}

.service-card:hover::after {
    width: 100%;
}

.card-icon {
    margin-bottom: 32px;
    width: 48px;
    height: 48px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease;
}

.service-card:hover .card-icon {
    border-color: var(--white);
}

.card-icon svg {
    stroke: var(--white);
}

.service-card h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.service-card p {
    font-size: 0.8rem;
    font-family: monospace;
    line-height: 1.9;
    color: var(--white-70);
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.card-link {
    font-size: 0.8rem;
    font-family: monospace;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--white);
    text-transform: uppercase;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    transition: gap 0.3s ease;
}

.service-card:hover .card-link {
    gap: 12px;
}


/* ═══════════════════════════════════════════════════
   INDUSTRIES (SURVEILLANCE GRID THEME)
   ═══════════════════════════════════════════════════ */
.industries-section {
    background: var(--navy);
    padding: 120px 48px;
    position: relative;
    overflow: hidden;
}

.industries-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.15) 1px,
            transparent 1px,
            transparent 3px);
    pointer-events: none;
    z-index: 1;
}

.industries-inner {
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.industries-section .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.industries-section .section-eyebrow {
    font-family: monospace;
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.industries-section .section-title {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--white);
}

.industries-section .section-title .accent {
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: 2px var(--white);
    /* White outline for COVERAGE */
    letter-spacing: -0.05em;
    margin-top: 8px;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.industry-tile {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.industry-tile::before,
.industry-tile::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    z-index: 10;
    transition: all 0.4s ease;
    opacity: 0.4;
}

.industry-tile::before {
    top: 16px;
    left: 16px;
    border-top-color: var(--white);
    border-left-color: var(--white);
}

.industry-tile::after {
    bottom: 16px;
    right: 16px;
    border-bottom-color: var(--white);
    border-right-color: var(--white);
}

.industry-tile:hover::before,
.industry-tile:hover::after {
    width: 30px;
    height: 30px;
    opacity: 1;
    border-color: var(--red);
}

.industry-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
    filter: grayscale(100%) contrast(120%) brightness(0.6);
}

.tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    transition: background 0.4s ease;
}

.tile-overlay h3 {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--white);
    margin-bottom: 0;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.tile-overlay h3::before {
    content: 'REC •';
    font-family: monospace;
    font-size: 0.65rem;
    color: var(--red);
    display: block;
    margin-bottom: 8px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

.tile-overlay p {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--white-70);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    border-left: 2px solid var(--red);
    padding-left: 12px;
    margin-top: 12px;
}

.industry-tile:hover img {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(105%) brightness(0.85);
    /* Snap to color! */
}

.industry-tile:hover .tile-overlay h3 {
    transform: translateY(0);
}

.industry-tile:hover .tile-overlay h3::before {
    opacity: 1;
    transform: translateX(0);
    animation: recPulse 1.5s infinite alternate;
}

@keyframes recPulse {
    0% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }
}

.industry-tile:hover .tile-overlay p {
    opacity: 1;
    transform: translateY(0);
}


/* ═══════════════════════════════════════════════════
   CTA STRIP (BRUTALIST COMMAND THEME)
   ═══════════════════════════════════════════════════ */
.cta-strip {
    position: relative;
    background: var(--black);
    /* Pitch black for high contrast */
    padding: 120px 48px;
    overflow: hidden;
    text-align: center;
}

.cta-mesh {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255, 255, 255, 0.02) 40px),
        repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255, 255, 255, 0.02) 40px);
    pointer-events: none;
}

.cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(255, 0, 0, 0.1), transparent 70%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    /* match the grid max-width */
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    text-align: left;
}

.cta-content {
    max-width: 580px;
}

.cta-eyebrow {
    font-family: monospace;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 24px;
}

.cta-headline {
    font-family: var(--font-head);
    font-size: clamp(3rem, 5vw, 4.8rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 24px;
}

.cta-headline .accent {
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: 2px var(--white);
    letter-spacing: -0.05em;
    margin-top: 8px;
}

.cta-sub {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--white-70);
    line-height: 1.8;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    max-width: 480px;
    margin-bottom: 0;
}

/* Contact Form UI */
.contact-form {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    /* Sharp corners */
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    /* Spread out */
    box-shadow: none;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group label {
    font-family: monospace;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.form-input,
.form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-family: monospace;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    /* brutalist! */
    padding: 16px 20px;
    border-radius: 0;
    outline: none;
    transition: border-color var(--transition);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.form-input:focus,
.form-textarea:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--white);
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: transparent;
    color: var(--white);
    font-family: monospace;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 20px 40px;
    border-radius: 0;
    border: 1px solid var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
    margin-top: 10px;
}

.btn-submit:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-4px);
}

.btn-submit span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-submit:hover span {
    transform: translate(4px, -4px);
}


/* ═══════════════════════════════════════════════════
   CONTACT INFO SECTION
   ═══════════════════════════════════════════════════ */
.contact-info-section {
    background: var(--navy-mid);
    padding: 120px 48px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-inner {
    max-width: 1440px;
    margin: 0 auto;
}

.contact-info-section .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.contact-info-section .section-eyebrow {
    font-family: monospace;
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.contact-info-section .section-title {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 24px;
}

.contact-info-section .section-title .accent {
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: 2px var(--white);
    letter-spacing: -0.05em;
    margin-top: 8px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.contact-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding: 48px 32px;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.4s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.3);
}

.contact-card:hover::after {
    width: 100%;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    transition: border-color 0.3s ease;
}

.contact-card:hover .contact-icon {
    border-color: var(--white);
}

.contact-icon svg {
    stroke: var(--white);
}

.contact-card h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 12px;
}

.contact-card p,
.contact-card a {
    font-size: 0.9rem;
    color: var(--white-70);
    line-height: 1.6;
}

.contact-card a:hover {
    color: var(--white);
}

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.footer {
    background: #f3f4f6;
    padding: 80px 48px 40px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(10, 18, 28, 0.1);
}

.contact-info-map {
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    /* For fading into the dark background */
    background: rgba(255, 255, 255, 0.03);
}

.contact-info-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 140px;
    /* Matched with navbar logo height */
    width: auto;
    object-fit: contain;
    opacity: 0.92;
    border-radius: 4px;
}

.footer-logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.02em;
    margin-left: 14px;
}

.footer-tagline {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(10, 18, 28, 0.7);
    margin-bottom: 24px;
    max-width: 260px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 34px;
    height: 34px;
    background: rgba(10, 18, 28, 0.05);
    border: 1px solid rgba(10, 18, 28, 0.15);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--navy);
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.footer-col h4 {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li {
    font-size: 0.84rem;
    color: rgba(10, 18, 28, 0.7);
    line-height: 1.6;
}

.footer-col ul li a {
    font-size: 0.84rem;
    color: rgba(10, 18, 28, 0.7);
    transition: color var(--transition);
}

.footer-col ul li a:hover {
    color: var(--red);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    max-width: 1280px;
    margin: 32px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(10, 18, 28, 0.6);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 0.78rem;
    color: rgba(10, 18, 28, 0.6);
    transition: color var(--transition);
}

.footer-legal a:hover {
    color: var(--navy);
}


/* ═══════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════ */
[data-reveal] {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--delay, 0s);
}

[data-reveal="up"] {
    transform: translateY(40px);
}

[data-reveal="left"] {
    transform: translateX(-50px);
}

[data-reveal="right"] {
    transform: translateX(50px);
}

[data-reveal].visible {
    opacity: 1;
    transform: none;
}

/* ═══════════════════════════════════════════════════
   TERMINAL TYPEWRITER
   ═══════════════════════════════════════════════════ */
.typewriter::after {
    content: '█';
    animation: blinkCursor 0.9s step-end infinite;
    color: var(--red);
    margin-left: 6px;
    font-size: 0.8em;
    vertical-align: baseline;
}

.typewriter[data-typed="true"]::after {
    animation: blinkCursor 1.5s step-end infinite forwards;
    opacity: 1;
}

@keyframes blinkCursor {
    50% {
        opacity: 0;
    }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */


/* ═══ TABLET ═══ */
@media (max-width: 1024px) {
    .nav-cta {
        display: none;
        /* Hide CTA button on tablets + mobile to prevent overlap with hamburger */
    }

    .tech-section,
    .services-section,
    .industries-section,
    .cta-strip {
        padding: 80px 32px;
    }

    .stats-strip {
        padding: 48px 32px;
    }

    .footer {
        padding: 60px 32px 32px;
    }

    .tech-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid,
    .industries-grid,
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 40px;
    }

    .hero-inner {
        flex-direction: column;
        justify-content: center;
        padding: 120px 32px 0;
        gap: 0;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-headline {
        font-size: clamp(2.2rem, 5vw, 3.2rem);
        max-width: 100%;
        text-align: center;
    }

    .hero-bottom-row {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-top: 24px;
        justify-content: center;
    }

    .hero-sub {
        text-align: center;
    }

    .hero-visual {
        flex: none;
        width: 100%;
        height: 45vh;
        min-height: 350px;
        justify-content: center;
        align-items: flex-end;
    }

    .dashboard-card {
        bottom: 120%;
        right: 0;
        width: 200px;
        padding: 10px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-actions {
        margin-left: auto;
        margin-right: 20px;
    }
}

/* ═══ MOBILE ═══ */
@media (max-width: 768px) {
    .nav-cta {
        display: none;
        /* Hide CTA on small mobile to prevent squish/overlap */
    }

    .hero-figure {
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .nav-actions {
        gap: 8px;
        margin-right: 16px;
    }

    .nav-phone,
    .nav-whatsapp {
        padding: 6px;
    }

    .nav-phone svg,
    .nav-whatsapp svg {
        width: 16px;
        height: 16px;
    }

    .guard-img {
        object-position: 80% top;
        /* Slides the image's focal point rightwards, pushing the visual content left */
        transform: translateY(-5vw) scale(1);
        transform-origin: top center;
        mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 75%, rgba(0, 0, 0, 0) 100%);
        -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 75%, rgba(0, 0, 0, 0) 100%);
    }

    .hero-sphere {
        width: 250px;
        height: 250px;
        top: 20%;
        right: -15%;
        opacity: 0.15;
        z-index: 0;
    }

    .dashboard-card {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        max-width: 260px;
        margin-top: 24px;
        padding: 14px 16px;
        z-index: 2;
        transform: none !important;
        animation: none;
    }

    .dashboard-card .dash-row {
        font-size: 0.6rem;
    }

    .dashboard-card .dash-title {
        font-size: 0.55rem;
    }

    .dashboard-card .dash-sos {
        font-size: 0.6rem;
        padding: 6px;
        margin: 8px 0;
    }

    .hero-inner {
        padding: 100px 20px 0;
        height: auto;
        min-height: 100vh;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 2.8rem);
        margin-bottom: 8px;
        max-width: 100%;
    }

    .hero-visual {
        height: 40vh;
        min-height: 300px;
        margin-top: 20px;
    }

    .hero-map-bg {
        left: 50%;
        transform: translate(-50%, -50%) rotateX(60deg) rotateZ(45deg) scale(1);
    }
    
    .tech-header-wide {
        padding: 0 20px;
        margin-bottom: 40px;
    }

    .tech-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .services-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 32px 24px;
        border-radius: 24px;
    }

    .industries-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stats-inner {
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }

    .cta-headline {
        font-size: clamp(2rem, 12vw, 5rem);
        margin-bottom: 12px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        padding-bottom: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        margin-top: 24px;
    }

    .tech-section,
    .services-section,
    .industries-section,
    .cta-strip {
        padding: 56px 20px;
    }

    .cta-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .cta-sub {
        margin: 0 auto;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .stats-strip {
        padding: 40px 20px;
    }

    .footer {
        padding: 48px 20px 24px;
    }
}

/* ═══ SMALL MOBILE ═══ */
@media (max-width: 480px) {
    .hero-figure {
        width: 100%;
    }

    .dashboard-card {
        max-width: 100%;
        margin-top: 16px;
    }

    .hero-sphere {
        width: 180px;
        height: 180px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}

/* ═══ MOBILE NAV OPEN STATE ═══ */
.nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    transform: none;
    width: 100%;
    max-width: none;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 40px 0;
    z-index: 998;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.nav-links.open a {
    font-size: 1.4rem;
    letter-spacing: 0.08em;
}

/* ═══════════════════════════════════════════════════
   SUCCESS MODAL
   ═══════════════════════════════════════════════════ */
.success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(6, 15, 24, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.success-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.success-modal-box {
    background: var(--black);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    padding: 48px 40px;
    width: 90%;
    max-width: 440px;
    text-align: center;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
}

.success-modal-overlay.active .success-modal-box {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: var(--white-40);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--red);
}

.modal-icon {
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 0;
    background: transparent;
    border: 1px solid var(--red);
}

.success-modal-box h3 {
    font-family: var(--font-head);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.success-modal-box p {
    font-family: monospace;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.8;
    color: var(--white-70);
    margin-bottom: 32px;
}

.modal-ok-btn {
    width: 100%;
    justify-content: center;
    border-radius: 0;
    font-family: monospace;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

.modal-ok-btn:hover {
    background: var(--white);
    color: var(--black);
}

/* ═══════════════════════════════════════════════════
   TECH CONTENT TYPOGRAPHY
   ═══════════════════════════════════════════════════ */
.tech-header-wide {
    max-width: 1280px;
    margin: 0 auto 80px auto;
    text-align: center;
    padding: 0 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tech-header-wide .section-eyebrow {
    font-family: monospace;
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.tech-header-wide .section-title {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    /* Made even bigger for spanning the whole width */
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 24px;
}

.tech-header-wide .section-title .accent {
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: 2px var(--white);
    letter-spacing: -0.05em;
    margin-top: 8px;
}

/* Flicker Glitch Animation */
@keyframes glitch-flicker {

    0%,
    19.999%,
    22%,
    62.999%,
    64%,
    64.999%,
    70%,
    100% {
        opacity: 1;
    }

    20%,
    21.999%,
    63%,
    63.999%,
    65%,
    69.999% {
        opacity: 0;
    }
}

@keyframes glitch-flicker-2 {

    0%,
    49.999%,
    52%,
    89.999%,
    92%,
    100% {
        opacity: 1;
    }

    50%,
    51.999%,
    90%,
    91.999% {
        opacity: 0;
    }
}

@keyframes glitch-flicker-3 {

    0%,
    9.999%,
    12%,
    39.999%,
    42%,
    100% {
        opacity: 1;
    }

    10%,
    11.999%,
    40%,
    41.999% {
        opacity: 0;
    }
}

.flicker {
    animation: glitch-flicker 2.5s infinite;
}

.flicker-2 {
    animation: glitch-flicker-2 3.1s infinite;
}

.flicker-3 {
    animation: glitch-flicker-3 4.2s infinite;
}

.tech-header-wide .section-sub {
    font-family: monospace;
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--white-70);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    max-width: 800px;
    margin-bottom: 0;
}