﻿@charset "utf-8";

/* ===== Two-column responsive page layout (Contact + Careers) ===== */

.two-column-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: stretch; /* IMPORTANT */
}

/* Individual column block */
.two-column-block {
    padding: 48px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%; /* CRITICAL */
}

/* Content inside a block grows and defines bottom space */
.two-column-content {
    flex-grow: 1;
    min-height: 0; /* REQUIRED for grid/flex nesting */
}

/* CTA positioning — scoped, safe */
.two-column-block > .cta-container {
    margin-top: auto; /* push to bottom */
    align-self: flex-end; /* right */
}

    .two-column-block > .cta-container .cta-button {
        white-space: nowrap;
    }

/* Optional generic action (non-CTA buttons) */
.two-column-action {
    align-self: flex-end;
    margin-top: 24px;
}

/* Responsive stacking */
@media (max-width: 1000px) {
    .two-column-layout {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    /* On mobile, let CTA flow naturally */
    .two-column-block > .cta-container {
        align-self: flex-start;
    }
}


/* container */
.hex-puzzle {
    margin: 0 auto;
    display: grid;
    place-items: center;
}

/* board */
.hex-board {
    background: var(--glass);
    border: 1px solid var(--border-orange);
    border-radius: 10px;
    padding: 20px;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 300px;
    height: 300px;
    position: relative;
    border-radius: 18px;
    background: radial-gradient(200px 200px at 50% 45%, rgba(255,255,255,.08), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
    --w: 90px;
    --h: calc(var(--w) * 0.8660254);
    --xstep: calc(var(--w) * 3 / 4);
    --padx: 50%;
    --pady: 50%;
}

/* hex tile */
.hex {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: var(--w);
    height: var(--h);
    /* ✅ CORRECT HONEYCOMB PLACEMENT (axial coords, like your image) */
    left: calc(var(--padx) + (var(--q) * var(--xstep)));
    top: calc(var(--pady) + (var(--r) * var(--h)) + (var(--q) * (var(--h) / 2)));
    transform: translate(-50%, -50%);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    /* preserve the look */
    background: rgba(120,200,255,.10);
    box-shadow: none;
    opacity: 0;
    will-change: transform, opacity, filter;
    /* preserve “random-looking” appear/disappear (CSS-only) */
    --dur: calc(3.8s + (var(--seed) * 0.055s));
    animation: pop var(--dur) ease-in-out infinite;
    animation-delay: calc(var(--seed) * -0.13s);
}
.hex-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255,255,255,.75);
    text-shadow: 0 1px 6px rgba(0,0,0,.35);
    user-select: none;
    pointer-events: none;
}
    /* preserve hinge variation (CSS-only) */
    .hex:nth-child(3n) {
        transform-origin: 0% 50%;
    }

    .hex:nth-child(4n) {
        transform-origin: 100% 50%;
    }

    .hex:nth-child(5n) {
        transform-origin: 50% 0%;
    }

    .hex:nth-child(7n) {
        transform-origin: 50% 100%;
    }

@keyframes pop {
    0% {
        opacity: 0;
        transform: translate(-50%,-50%) rotate(-70deg) scale(.85);
    }

    18% {
        opacity: .95;
        transform: translate(-50%,-50%) rotate(0deg) scale(1);
    }

    55% {
        opacity: .95;
        transform: translate(-50%,-50%) rotate(0deg) scale(1);
    }

    80% {
        opacity: 0;
        transform: translate(-50%,-50%) rotate(70deg) scale(.85);
    }

    100% {
        opacity: 0;
        transform: translate(-50%,-50%) rotate(70deg) scale(.85);
    }
}
/* Chaotic mode: adds misalignment + drifting */
.hex-board--chaos .hex {
    /* base misalignment: a small constant offset per tile group */
    /* (use nth-child so it varies without JS) */
    --mx: 0px;
    --my: 0px;
    --mr: 0deg;
}

    /* “broken puzzle” static misalignment variations */
    .hex-board--chaos .hex:nth-child(2n) {
        --mx: 2px;
        --my: -1px;
        --mr: -5deg;
    }

    .hex-board--chaos .hex:nth-child(3n) {
        --mx: -3px;
        --my: 2px;
        --mr: 5deg;
    }

    .hex-board--chaos .hex:nth-child(5n) {
        --mx: 1px;
        --my: 3px;
        --mr: -10deg;
    }

    .hex-board--chaos .hex:nth-child(7n) {
        --mx: -2px;
        --my: -3px;
        --mr: 10deg;
    }

    .hex-board--chaos .hex:nth-child(11n) {
        --mx: 16px;
        --my: 0px;
        --mr: -15.0deg;
    }

/* Add continuous chaotic motion on top of your existing pop animation */
.hex-board--chaos .hex {
    /* keep your existing pop animation, and add chaos */
    animation: pop var(--dur) ease-in-out infinite, chaosDrift calc(3.6s + (var(--seed) * 0.05s)) ease-in-out infinite, chaosJitter calc(2.4s + (var(--seed) * 0.06s)) ease-in-out infinite;
    animation-delay: calc(var(--seed) * -0.14s), calc(var(--seed) * -0.07s), calc(var(--seed) * -0.02s);
    /* IMPORTANT: apply misalignment here */
    /* We “stack” transforms: your pop keyframes also transform,
     so we bake misalignment into the keyframes with CSS vars.
     (See pop-chaos keyframes below if you want a cleaner override.) */
}

/* Cleaner approach: override pop in chaotic mode so misalignment is guaranteed */
.hex-board--chaos .hex {
    animation-name: popChaos, chaosDrift, chaosJitter;
}

/* Pop + hinge, but with per-tile misalignment baked in */
@keyframes popChaos {
    0% {
        opacity: 0;
        transform: translate(-50%,-50%) translate(var(--mx), var(--my)) rotate(calc(-70deg + var(--mr))) scale(.86);
    }

    18% {
        opacity: .92;
        transform: translate(-50%,-50%) translate(var(--mx), var(--my)) rotate(var(--mr)) scale(1);
    }

    55% {
        opacity: .92;
        transform: translate(-50%,-50%) translate(var(--mx), var(--my)) rotate(var(--mr)) scale(1);
    }

    80% {
        opacity: 0;
        transform: translate(-50%,-50%) translate(var(--mx), var(--my)) rotate(calc(70deg + var(--mr))) scale(.86);
    }

    100% {
        opacity: 0;
        transform: translate(-50%,-50%) translate(var(--mx), var(--my)) rotate(calc(70deg + var(--mr))) scale(.86);
    }
}

/* Slow drifting (big “chaotic movement”) */
@keyframes chaosDrift {
    0%,100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.15);
    }
}

/* Micro-jitter: tiny shakes to make it feel unstable */
@keyframes chaosJitter {
    0% {
        margin-left: 0px;
        margin-top: 0px;
    }

    25% {
        margin-left: 8px;
        margin-top: -8px;
    }

    50% {
        margin-left: -8px;
        margin-top: 8px;
    }

    75% {
        margin-left: 16px;
        margin-top: 16px;
    }

    100% {
        margin-left: 0px;
        margin-top: 0px;
    }
}





.logo-text-wrap {
    display: inline-block;
    line-height: 1.2;
    min-height: 100px;
    max-height: 100px;
    align-content: center;
    margin-right: 20px;
}

.data-streams {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
    opacity: 0.5;
}

.data-stream {
    position: absolute;
    width: 260px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,94,0,.55), transparent);
    box-shadow: 0 0 10px rgba(255,94,0,.18);
    will-change: transform, opacity;
    opacity: 0;
    animation: streamOut var(--dur, 6s) linear infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes streamOut {

    0% {
        transform: translateX(var(--x0)) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: .55;
    }

    70% {
        opacity: .55;
    }

    100% {
        transform: translateX(var(--x1)) rotate(0deg);
        opacity: 0;
    }
}

@keyframes fadeOut {
    0% {
        opacity: .75;
        transform: translateY(0);
        filter: blur(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-18px);
        filter: blur(1px);
    }
}

:root {
    --primary-black: #0a0a0a;
    --accent-red: #ff3333;
    --accent-blue: #00a8ff;
    --accent-green: #00ff88;
    --accent-purple: #9945ff;
    --orange: #FF5E00;
    --cyan: #00B2FF;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-2: rgba(255, 255, 255, 0.05);
    --border-orange: rgba(255, 94, 0, 0.2);
    --border-orange-2: rgba(255, 94, 0, 0.3);
    --shadow-orange: rgba(255, 94, 0, 0.5);
    --shadow-cyan: rgba(0, 178, 255, 0.5);
    --primary-cyan: var(--cyan);
}

* {
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--primary-black);
    color: #fff;
    overflow-x: hidden;
    position: relative;
    font-weight: 400;
    font-size: larger;
}

.loader {
    position: fixed;
    inset: 0;
    height: 100vh;
    display: grid;
    place-items: center;
    background: var(--primary-black);
    z-index: 10000;
    transition: opacity .5s, visibility .5s;
}

    .loader.hidden {
        opacity: 0;
        visibility: hidden;
    }

.loader-content {
    text-align: center;
}

.loader-prism {
    width: 100px;
    height: 100px;
    position: relative;
    margin: 0 auto 30px;
}

.prism-face {
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-image: linear-gradient(45deg, var(--c1), var(--c2)) 1;
    transform-origin: center;
    animation: prismRotate 3s linear infinite;
}

    .prism-face:nth-child(1) {
        --c1: var(--accent-red);
        --c2: var(--accent-blue);
    }

    .prism-face:nth-child(2) {
        --c1: var(--accent-blue);
        --c2: var(--accent-green);
        transform: rotate(60deg);
        animation-delay: .2s;
    }

    .prism-face:nth-child(3) {
        --c1: var(--accent-green);
        --c2: var(--accent-purple);
        transform: rotate(120deg);
        animation-delay: .4s;
    }

@keyframes prismRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.2);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

.grid-bg {
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle at 25% 25%, transparent 2%, rgba(255, 94, 0, 0.03) 2%, rgba(255, 94, 0, 0.03) 3%, transparent 3%), radial-gradient(circle at 75% 75%, transparent 2%, rgba(0, 178, 255, 0.03) 2%, rgba(0, 178, 255, 0.03) 3%, transparent 3%);
    background-size: 80px 80px;
    animation: grid-move 30s linear infinite;
    z-index: -2;
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(80px, 80px);
    }
}

.gradient-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 94, 0, 0.15) 0%, transparent 50%), radial-gradient(circle at 80% 50%, rgba(0, 178, 255, 0.15) 0%, transparent 50%), radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    z-index: -1;
    animation: gradient-shift 10s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.1) rotate(180deg);
    }
}

.scanlines {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(transparent 50%, rgba(255, 94, 0, 0.01) 50%);
    background-size: 100% 4px;
    animation: scanlines 8s linear infinite;
    z-index: 2;
}

@keyframes scanlines {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(10px);
    }
}

.shapes-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.shape {
    position: absolute;
    opacity: 0.12;
    will-change: transform;
    transform: translateZ(0);
}

.shape-circle {
    width: 320px;
    height: 320px;
    top: 10%;
    left: 10%;
    background: center / 100% 100% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 320'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23FF5E00' stop-opacity='.65'/%3E%3Cstop offset='1' stop-color='%2300B2FF' stop-opacity='.35'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M160 18 L282 90 L282 230 L160 302 L38 230 L38 90 Z' fill='none' stroke='url(%23g)' stroke-width='3'/%3E%3Cpath d='M160 58 L246 108 L246 212 L160 262 L74 212 L74 108 Z' fill='none' stroke='%23FF5E00' stroke-opacity='.35' stroke-width='2'/%3E%3C/svg%3E");
    filter: drop-shadow(0 0 22px rgba(255,94,0,.16));
    animation: float-rotate 20s ease-in-out infinite;
}

.shape-triangle {
    width: 260px;
    height: 260px;
    top: 58%;
    right: 14%;
    background: center / 100% 100% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 260'%3E%3Cpath d='M78 10 H182 L250 78 V182 L182 250 H78 L10 182 V78 Z' fill='rgba(0,178,255,0.10)' stroke='rgba(0,178,255,0.60)' stroke-width='3'/%3E%3Cpath d='M92 34 H168 L226 92 V168 L168 226 H92 L34 168 V92 Z' fill='none' stroke='rgba(0,178,255,0.30)' stroke-width='2'/%3E%3C/svg%3E");
    filter: drop-shadow(0 0 22px rgba(0,178,255,.16));
    animation: float-rotate 25s ease-in-out infinite reverse;
}

.shape-square {
    width: 200px;
    height: 200px;
    bottom: 18%;
    left: 18%;
    background: center / 100% 100% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M60 8 H140 L192 60 V140 L140 192 H60 L8 140 V60 Z' fill='none' stroke='%2300B2FF' stroke-opacity='.65' stroke-width='3'/%3E%3Cpath d='M72 30 H128 L170 72 V128 L128 170 H72 L30 128 V72 Z' fill='none' stroke='rgba(0,178,255,0.35)' stroke-width='2'/%3E%3Ccircle cx='32' cy='32' r='2' fill='rgba(255,94,0,0.55)'/%3E%3Ccircle cx='168' cy='32' r='2' fill='rgba(0,178,255,0.65)'/%3E%3Ccircle cx='168' cy='168' r='2' fill='rgba(255,94,0,0.55)'/%3E%3Ccircle cx='32' cy='168' r='2' fill='rgba(0,178,255,0.65)'/%3E%3C/svg%3E");
    filter: drop-shadow(0 0 22px rgba(0,178,255,.14));
    animation: float-rotate 22s ease-in-out infinite;
}

@supports (clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%)) {
}

@keyframes float-rotate {
    0%,100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    25% {
        transform: translateY(-30px) rotate(90deg) scale(1.1);
    }

    50% {
        transform: translateY(20px) rotate(180deg) scale(0.9);
    }

    75% {
        transform: translateY(-10px) rotate(270deg) scale(1.05);
    }
}

.particle {
    position: fixed;
    pointer-events: none;
    opacity: 0.5;
    z-index: 1;
    top: 0;
}

    .particle::before {
        content: '';
        position: absolute;
        width: 2px;
        height: 2px;
        background: var(--orange);
        box-shadow: 0 0 10px var(--accent-red), 0 0 20px var(--accent-red);
        animation: atom-jitter var(--dur, 2.2s) ease-in-out infinite;
        animation-delay: var(--delay, 0s);
        will-change: transform;
    }

@keyframes atom-jitter {
    0% {
        transform: translate(0, 0);
    }

    12% {
        transform: translate(20px, -10px);
    }

    26% {
        transform: translate(-30px, 20px);
    }

    44% {
        transform: translate(20px, 30px);
    }

    63% {
        transform: translate(-20px, -30px);
    }

    82% {
        transform: translate(10px, -20px);
    }

    100% {
        transform: translate(0, 0);
    }
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 20px 20px 20px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 94, 0, 0.1);
}

    nav.scrolled {
        background: rgba(10, 10, 10, 0.95);
        box-shadow: 0 5px 30px rgba(255, 94, 0, 0.2);
    }

.nav-container {
    max-width: 1366px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo-svg {
    margin: 10px;
    flex: 0 0 80px;
    min-width: 80px;
    min-height: 80px;
    display: block;
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(45deg, var(--orange), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 94, 0, 0.5);
}

@keyframes glow {
    0%, 100% {
        filter: brightness(1);
        text-shadow: 0 0 30px rgba(255, 94, 0, 0.5);
    }

    50% {
        filter: brightness(1.5);
        text-shadow: 0 0 40px rgba(255, 94, 0, 0.8);
    }
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

    .nav-links a {
        text-decoration: none;
        color: #fff;
        position: relative;
        transition: all 0.3s ease;
        padding: 8px 16px;
        font-family: 'Orbitron', monospace;
        font-weight: 500;
        /*font-size: 14px;*/
        text-transform: uppercase;
        letter-spacing: 1px;
        opacity: 0.7;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: relative;
        line-height: 1;
        white-space: nowrap;
    }

        .nav-links a.active {
            opacity: 1;
            color: var(--orange);
        }

        .nav-links a::before {
            box-sizing: border-box;
            content: '';
            position: absolute;
            inset: 0;
            border: 1px solid transparent;
            transition: all 0.3s ease;
        }

        .nav-links a:hover::before,
        .nav-links a.active::before {
            border-color: var(--orange);
            box-shadow: inset 0 0 10px rgba(255, 94, 0, 0.5);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--orange), var(--cyan));
            transition: width 0.3s ease;
            box-shadow: 0 0 10px rgba(255, 94, 0, 0.8);
        }

        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 100%;
        }

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

    .menu-toggle span {
        width: 25px;
        height: 2px;
        background: var(--orange);
        transition: all 0.3s ease;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

.home {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 80px 20px 20px;
}

.home-content {
    text-align: center;
    max-width: 1366px;
    animation: fade-in-up 1s ease-out;
    z-index: 10;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-rotator {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.text-set {
    width: 100%;
    opacity: 0;
    display: none;
}

    .text-set.active {
        opacity: 1;
        display: block;
    }

.glitch-text {
    text-wrap: balance;
    white-space: nowrap;
    font-size: clamp(2.0rem, 4vw, 4.0rem);
    font-family: 'Orbitron', monospace;
    font-weight: 800;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 0 20px rgba(255, 94, 0, 0.5);
    overflow: hidden;
    z-index: 1;
}

.home :focus-visible {
    outline: none;
    box-shadow: none;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.glitch-text::before {
    animation: glitch-1 0.5s infinite;
    color: var(--orange);
    text-shadow: -2px 0 var(--orange);
}

.glitch-text::after {
    animation: glitch-2 0.5s infinite;
    color: var(--cyan);
    text-shadow: 2px 0 var(--cyan);
}

@keyframes glitch-1 {
    0%, 100% {
        clip-path: inset(0 0 0 0);
        transform: translate(0);
    }

    20% {
        clip-path: inset(33% 0 33% 0);
        transform: translate(-2px);
    }

    40% {
        clip-path: inset(66% 0 0 0);
        transform: translate(2px);
    }

    60% {
        clip-path: inset(0 0 66% 0);
        transform: translate(1px);
    }

    80% {
        clip-path: inset(25% 0 50% 0);
        transform: translate(-1px);
    }
}

@keyframes glitch-2 {
    0%, 100% {
        clip-path: inset(0 0 0 0);
        transform: translate(0);
    }

    20% {
        clip-path: inset(50% 0 25% 0);
        transform: translate(2px);
    }

    40% {
        clip-path: inset(0 0 75% 0);
        transform: translate(-2px);
    }

    60% {
        clip-path: inset(75% 0 0 0);
        transform: translate(-1px);
    }

    80% {
        clip-path: inset(40% 0 40% 0);
        transform: translate(1px);
    }
}

.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    animation: charFlyIn 0.5s ease-out forwards;
    position: relative;
    z-index: 2;
}

@keyframes charFlyIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.char.out {
    animation: charFlyOut 0.3s ease-in forwards;
}

@keyframes charFlyOut {
    to {
        opacity: 0;
        transform: translateY(-30px) rotateX(90deg);
    }
}

.subtitle {
    font-size: 2rem;
    margin: 20px 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    font-weight: 300;
    transition: opacity 0.2s ease;
    line-height: 1.4;
    min-height: 4.2em;
}

.text-set.active .subtitle {
    opacity: 0.6;
}

@keyframes subtitleFade {
    to {
        opacity: 0.6;
    }
}

.cta-container {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    z-index: 100;
}

.cta-button {
    padding: 12px 30px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
}

.cta-primary {
    background: linear-gradient(45deg, var(--orange), var(--cyan));
    color: #fff;
    animation: pulse 2s infinite;
    box-shadow: 0 0 30px rgba(255, 94, 0, 0.5);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(255, 94, 0, 0.5);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(255, 94, 0, 0.8);
    }
}

.cta-secondary {
    background: transparent;
    color: var(--orange);
    border: 2px solid var(--orange);
    box-shadow: inset 0 0 20px rgba(255, 94, 0, 0.1);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-secondary:hover {
    background: rgba(255, 94, 0, 0.1);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 94, 0, 0.4), inset 0 0 30px rgba(255, 94, 0, 0.2);
    border-color: #fff;
}

.features {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 100px;
    position: relative;
    padding: 80px 40px 40px;
    max-width: none;
    margin: 0;
}

    .features > * {
        width: 100%;
        max-width: 1366px;
    }

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-top: 100px;
    margin-bottom: 40px;
    background: linear-gradient(45deg, var(--orange), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.features-container {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 40px;
    align-items: stretch;
}
/* Make the Features burger stick to bottom-left WHILE scrolling inside the Features section */
.features .features-fly-toggle {
    position: sticky;
    bottom: 24px; /* distance from bottom of viewport */
    z-index: 2000;
    pointer-events: none; /* wrapper ignores clicks */
}

    /* The actual button remains clickable */
    .features .features-fly-toggle .feature-toggle {
        pointer-events: auto;
        position: relative;
        left: 24px; /* bottom-left placement */
    }
.features .feature-toggle {
    transition: opacity 0.2s ease;
}

    .features .feature-toggle.active {
        opacity: 0;
        pointer-events: none;
    }

.tab-link {
    color: inherit;
    text-decoration: none;
    font: inherit;
    cursor: pointer;
    display: inline-block;
}

    .tab-link:focus,
    .tab-link:hover {
        text-decoration: none;
        outline: none;
    }

.feature-tabs {
    padding: 20px;
    background: var(--glass);
    border: 1px solid var(--border-orange);
    border-radius: 10px;
    backdrop-filter: blur(20px);
    min-height: 740px;
    min-width: 200px;
    overflow-y: visible;
    box-sizing: border-box;
    align-self: stretch;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-weight: 500;
}

.tab-item {
    padding: 6px 12px;
    justify-content: left;
    margin: 8px;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.2rem;
    
    white-space: nowrap;
}
.tab-link {
    overflow: visible;
    white-space: nowrap;
}

    .tab-item:hover {
        background: rgba(255, 94, 0, 0.1);
        border-color: rgba(255, 94, 0, 0.3);
    }

    .tab-item.active {
        background: linear-gradient(45deg, rgba(255, 94, 0, 0.2), rgba(0, 178, 255, 0.2));
        border-color: var(--orange);
        box-shadow: 0 0 20px rgba(255, 94, 0, 0.3);
    }

.tab-icon {
    font-size: 1.4rem;
}

.feature-content {
    background: var(--glass);
    border: 1px solid var(--border-orange);
    border-radius: 10px;
    padding: 40px;
    backdrop-filter: blur(10px);
    min-height: 740px;
    
}



@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.content-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

    .content-panel.active {
        height: 100%;
        display: block;
    }

.content-panel h3 {
    font-family: 'Orbitron', monospace;
    font-size: 2.2rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #fff, var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
}

.content-panel p {
    line-height: 1.2;
    opacity: 0.8;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.feature-list {
    list-style: none;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 1.4rem;
    line-height: 1.2;
    font-weight: 400;
}

    .feature-list li {
        padding: 10px 0 10px 30px;
        position: relative;
        opacity: 0.8;
    }

        .feature-list li::before {
            content: '▸';
            position: absolute;
            left: 0;
            color: var(--orange);
            font-size: 1.2rem;
        }

.purpose {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 100px;
    position: relative;
    padding: 80px 0px 0px;
    max-width: none;
}

    .purpose > * {
        width: 100%;
        max-width: 1366px;
    }

.purpose-text h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.0rem;
    margin: 40px;
    background: linear-gradient(45deg, var(--orange), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.purpose-text p {
    line-height: 1.2;
    opacity: 0.8;
    margin-bottom: 8px;
    font-size: 1.4rem;
    margin: 20px 20px 10px 20px;
}

.purpose-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 20px 80px 20px;
}
/* Wrap around visuals */
.purpose-text .purpose-visual {
    float: right; /* Before defaults to right */
    width: 300px;
    height: 300px;
}

/* After ISC: float visual LEFT */
.after-isc .purpose-text .purpose-visual {
    float: left;
}



.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    background: var(--glass);
    border: 1px solid var(--border-orange);
    border-radius: 10px;
    padding: 32px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 25px;
}

    .form-group label {
        display: block;
        margin-bottom: 10px;
        color: var(--orange);
        font-weight: 500;
        text-transform: uppercase;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 8px;
        background: var(--glass-2);
        border: 1px solid var(--border-orange-2);
        color: #fff;
        font-size: 1rem;
        border-radius: 5px;
        transition: all 0.3s ease;
        font-family: 'Rajdhani', sans-serif;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--orange);
            box-shadow: 0 0 20px rgba(255, 94, 0, 0.3);
            background: rgba(255, 255, 255, 0.08);
        }

    .form-group textarea {
        min-height: 120px;
        resize: vertical;
    }

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, var(--orange), var(--cyan));
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', monospace;
}

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(255, 94, 0, 0.5);
    }

.contact-status {
    font-size: 1.5rem;
    padding-top: 25px;
}

.contact-info {
    padding: 30px;
}

    .contact-info h3 {
        font-family: 'Orbitron', monospace;
        font-size: 2rem;
        margin-bottom: 30px;
        background: linear-gradient(45deg, #fff, var(--orange));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.info-item {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--orange), var(--cyan));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.info-details h4 {
    color: var(--orange);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-details p {
    opacity: 0.8;
}

.map-container {
    margin-top: 40px;
    background: var(--glass);
    border: 1px solid var(--border-orange);
    border-radius: 10px;
    padding: 20px;
    backdrop-filter: blur(10px);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-placeholder {
    text-align: center;
    opacity: 0.6;
}

.map-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 94, 0, 0.1) 50%, transparent 60%);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

footer {
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid var(--border-orange);
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1366px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

    .footer-links a {
        color: var(--orange);
        text-decoration: none;
        transition: all 0.3s ease;
        font-weight: 500;
    }

        .footer-links a:hover {
            color: var(--cyan);
            text-shadow: 0 0 10px currentColor;
        }

.copyright {
    opacity: 0.6;
    font-size: 1rem;
}

    .copyright a {
        color: var(--orange);
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .copyright a:hover {
            color: var(--cyan);
            text-shadow: 0 0 10px currentColor;
        }

.features-title-row {
    position: relative;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

    .features-title-row .feature-toggle {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

@media (max-width: 1000px) {
    .purpose-text p {
        line-height: 1.2;
        opacity: 0.8;
        margin-bottom: 8px;
        font-size: 1.2rem;
        margin: 20px 20px 10px 10px;
    }

    .content-panel {
        display: none;
        animation: fadeIn 0.5s ease;
    }

        .content-panel.active {
            height: 100%;
            display: block;
        }

        .content-panel h3 {
            font-family: 'Orbitron', monospace;
            font-size: 2.2rem;
            margin-bottom: 20px;
            background: linear-gradient(45deg, #fff, var(--orange));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .content-panel p {
            line-height: 1.2;
            opacity: 0.8;
            margin-bottom: 10px;
            font-size: 1.2rem;
        }
    .feature-list {
        list-style: none;
        margin-left: -40px;
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 1.2rem;
        line-height: 1;
        font-weight: 400;
    }

        .feature-list li {
            padding: 10px 0 10px 20px;
            position: relative;
            opacity: 0.8;
        }

            .feature-list li::before {
                content: '▸';
                position: absolute;
                left: 0;
                color: var(--orange);
                font-size: 1.2rem;
            }
    .contact-container {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

        .contact-container > * {
            width: 100%;
        }


    .logo-text {
        font-weight: 600;
    }

    .subtitle {
        min-height: 5.6em;
    }

    .features-title-row {
        padding-left: 44px;
    }

    .section-title {
        font-size: 2rem;
        margin-top: 80px;
        margin-bottom: 30px;
    }

    nav {
        padding: 15px 20px;
    }

    .nav-links {
        position: fixed;
        top: 130px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.92);
        flex-direction: column;
        align-items: center;
        justify-content: start;
        padding-top: 50px;
        transition: left 0.3s ease;
    }

        .nav-links.active {
            left: 0;
        }

    .menu-toggle {
        display: flex;
        padding: 15px;
    }

    .home-content {
        padding: 0 20px;
    }

    .glitch-text {
        font-size: clamp(1.0rem, 4vw, 2.0rem);
    }

    .text-rotator {
        min-height: 150px;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .cta-container {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .features-container {
        grid-template-columns: 1fr;
    }

    .feature-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.55);
        opacity: 0;
        pointer-events: none;
        transition: opacity .25s ease;
        z-index: 1200;
    }

        .feature-backdrop.active {
            opacity: 1;
            pointer-events: auto;
        }

    .feature-tabs {
        position: fixed;
        top: 130px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.92);
        border-radius: 0;
        z-index: 1200;
        padding: 24px 16px;
        gap: 6px;
        transition: left .3s ease;
        max-width: none;
        scrollbar-width: none;
    }

        .feature-tabs::-webkit-scrollbar {
            display: none;
        }

        .feature-tabs.active {
            left: 0;
        }

        .feature-tabs .tab-item {
            width: 100%;
            max-width: calc(100% - 32px);
            margin: 0;
            padding: 10px 14px;
            font-size: 0.95rem;
            border-radius: 8px;
            background: transparent;
        }

            .feature-tabs .tab-item span:last-child {
                white-space: normal;
                text-align: center;
            }

        .feature-tabs .tab-icon {
            font-size: 1.1rem;
        }
    
    }
@media (max-width: 1200px) {
    .nav-links a {
        font-size: 14px;
    }
}
