/* ============================================
   ANCALAGON INDUSTRIES — CORE STYLESHEET
   Black / White / Red Accent (hover-only)
   Sharp edges. No rounded corners. No glass.
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevent video interaction (right-click / download) */
video {
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
}

/* --- Local Font: Space Grotesk (Fast & Zero FOUT) --- */
@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 300 700;
    font-display: block;
    src: url('fonts/space-grotesk.woff2') format('woff2');
}

:root {
    --black: #000000;
    --white: #ffffff;
    --off-white: #e0e0e0;
    --gray-dark: #1a1a1a;
    --gray-mid: #2a2a2a;
    --gray-light: #888888;
    --red-accent: #ff4d4d;
    --red-hover: #ff6666;
    --font-primary: 'Space Grotesk', 'Helvetica Neue', Helvetica, Arial, -apple-system, sans-serif;
    --font-display: 'Space Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-mono: 'SF Mono', 'Menlo', 'Monaco', 'Courier New', monospace;
    --transition-fast: 0.2s ease;
    --transition-med: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE & Edge */
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Hide scrollbar for Chrome, Safari, Opera */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-primary);
    font-feature-settings: "ss01" 1, "ss02" 1, "ss03" 1;
    -webkit-font-feature-settings: "ss01" 1, "ss02" 1, "ss03" 1;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE & Edge */
}

a {
    color: var(--white);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--red-accent);
}

img {
    max-width: 100%;
    display: block;
}

/* --- Custom Selection --- */
::selection {
    background: var(--red-accent);
    color: var(--white);
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-mid);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--red-accent);
}


/* ============================================
   HEADER / NAVIGATION
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 48px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background var(--transition-med), border-color var(--transition-med);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
    text-decoration: none;
}

.header-logo img {
    height: 38px;
    width: auto;
    display: block;
}

.header-logo-text {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1;
    margin-left: 0;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 44px;
}

.header-nav a {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--off-white);
    position: relative;
    padding: 4px 0;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--red-accent);
    transition: width var(--transition-med);
}

.header-nav a:hover {
    color: var(--white);
}

.header-nav a:hover::after {
    width: 100%;
}

.header-nav a.active {
    color: var(--white);
}

.header-nav a.active::after {
    width: 100%;
    background: var(--red-accent);
}

.btn-demo {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 28px;
    transition: all var(--transition-fast);
    cursor: pointer;
    background: transparent;
    display: inline-block;
}

.btn-demo:hover {
    border-color: var(--red-accent);
    color: var(--red-accent);
    background: transparent;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--white);
    transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}


/* ============================================
   HERO SECTION — FULLSCREEN VIDEO
   ============================================ */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.08) 40%,
        rgba(0, 0, 0, 0.08) 60%,
        rgba(0, 0, 0, 0.35) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Modifier for main landing page */
.hero-content.hero-content-left {
    text-align: left;
    align-items: flex-start;
}

.hero-tagline {
    font-size: clamp(40px, 5.5vw, 76px);
    font-weight: 300;
    letter-spacing: normal;
    text-transform: none;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 40px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

.hero-tagline span {
    display: block;
    text-align: center;
}

.hero-content.hero-content-left .hero-tagline span {
    text-align: left;
}

.hero-sub {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gray-light);
    margin-top: 24px;
    opacity: 1;
    transform: none;
    animation: none;
}

.hero-line {
    width: 60px;
    height: 1px;
    background: var(--red-accent);
    margin: 32px auto 0;
    opacity: 0;
    transform: scaleX(0);
    animation: lineExpand 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.4s forwards;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: heroFadeIn 1s ease 2s forwards;
}

.hero-scroll-indicator span {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gray-light);
}

.scroll-line {
    width: 1px;
    height: 40px;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 1px;
    height: 100%;
    background: var(--white);
    animation: scrollDown 2s ease-in-out infinite;
}


/* ============================================
   SECTION PAGE HERO (for sub-pages)
   ============================================ */

.page-hero {
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0 80px 60px;
    position: relative;
    overflow: hidden;
    background: var(--black);
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--red-accent);
    margin-bottom: 16px;
}

.page-hero-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 1.1;
}

.company-hero-layout {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 40px;
    align-items: stretch;
    padding: 40px 0;
}

.company-hero-label {
    grid-column: 1;
    grid-row: 1;
    padding-right: 80px;
}

.company-hero-title {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    padding-right: 80px;
}

.company-hero-flags {
    grid-column: 2;
    grid-row: 2;
    position: relative;
    min-height: 0;
    overflow: hidden;
}

.company-hero-flags img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;
    max-width: none;
    display: block;
}


/* ============================================
   CONTENT SECTIONS
   ============================================ */

.section {
    padding: 120px 80px;
    position: relative;
}

.section-dark {
    background: var(--black);
}

.section-darker {
    background: var(--gray-dark);
}

.section-label {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #999999;
    margin-bottom: 24px;
}

.section-title {
    font-size: clamp(32px, 4.5vw, 54px);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 40px;
}

.section-text {
    font-size: 22px;
    line-height: 1.65;
    color: #cccccc;
    max-width: 750px;
}

.grid-2 p {
    font-size: 22px;
    line-height: 1.65;
}

.section-divider {
    width: 40px;
    height: 1px;
    background: var(--red-accent);
    margin: 40px 0;
}


/* ============================================
   GRID LAYOUTS
   ============================================ */

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}


/* ============================================
   PRODUCT / FEATURE CARDS
   ============================================ */

.card {
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 40px;
    transition: border-color var(--transition-med), transform var(--transition-med);
    position: relative;
    overflow: hidden;
    background: var(--black);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--red-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-med);
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
    fill: none;
    stroke-width: 1.5;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.card-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-light);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 24px;
    color: var(--off-white);
    transition: color var(--transition-fast), gap var(--transition-fast);
}

.card-link:hover {
    color: var(--red-accent);
    gap: 12px;
}

.card-link svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}


/* ============================================
   PRODUCT IMAGE CARDS
   ============================================ */

.product-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--gray-dark);
    transition: border-color var(--transition-med);
}

.product-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.product-card-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-card-body {
    padding: 32px;
}

.product-card-name {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-card-desc {
    font-size: 14px;
    color: var(--gray-light);
    line-height: 1.6;
}

.product-card-tag {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red-accent);
    margin-top: 16px;
    display: inline-block;
}


/* ============================================
   STATS / NUMBERS
   ============================================ */

.stats-row {
    display: flex;
    gap: 80px;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 48px;
    font-weight: 200;
    letter-spacing: 2px;
    line-height: 1;
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gray-light);
    margin-top: 12px;
}


/* ============================================
   SPEC TABLE
   ============================================ */

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.spec-table td {
    padding: 16px 0;
    font-size: 14px;
}

.spec-table td:first-child {
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray-light);
    width: 200px;
}

.spec-table td:last-child {
    color: var(--off-white);
}


/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    background: var(--red-accent);
    border: 1px solid var(--red-accent);
    padding: 16px 40px;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--red-hover);
    color: var(--white);
}

.btn-outline {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 16px 40px;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn-outline:hover {
    border-color: var(--red-accent);
    color: var(--red-accent);
}


/* ============================================
   FORM ELEMENTS (Schedule Demo)
   ============================================ */

.form-group {
    margin-bottom: 32px;
}

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-light);
    margin-bottom: 12px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 16px 0;
    font-size: 16px;
    font-family: var(--font-primary);
    color: var(--white);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    outline: none;
    transition: border-color var(--transition-fast);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-bottom-color: var(--red-accent);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-select {
    cursor: pointer;
}

.form-select option {
    background: var(--gray-dark);
    color: var(--white);
}


/* ============================================
   TIMELINE / MILESTONES
   ============================================ */

.timeline {
    position: relative;
    max-width: 900px;
    margin: 60px 0 0 0;
    padding-left: 40px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    padding-bottom: 60px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -45px;
    top: 4px;
    width: 9px;
    height: 9px;
    background: var(--black);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all var(--transition-fast);
}

.timeline-item:hover .timeline-marker {
    border-color: var(--red-accent);
    background: var(--red-accent);
}

.timeline-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gray-light);
    margin-bottom: 12px;
}

.timeline-title {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 12px;
    transition: color var(--transition-fast);
}

.timeline-item:hover .timeline-title {
    color: var(--white);
}

.timeline-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--off-white);
    max-width: 720px;
}


/* ============================================
   CAREERS TEASER
   ============================================ */

.careers-banner {
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 60px;
    background: var(--gray-dark);
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition-med);
}

.careers-banner:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.careers-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--red-accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--transition-med);
}

.careers-banner:hover::before {
    transform: scaleY(1);
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.career-card {
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 32px;
    background: var(--black);
    transition: border-color var(--transition-med), transform var(--transition-med);
    position: relative;
    overflow: hidden;
}

.career-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--red-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-med);
}

.career-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.career-card:hover::before {
    transform: scaleX(1);
}

.career-card-dept {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-light);
    margin-bottom: 12px;
}

.career-card-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 12px;
}

.career-card-desc {
    font-size: 13px;
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.career-card-loc {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--off-white);
}


/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    padding: 80px 80px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--black);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.footer-brand img {
    height: 28px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--gray-light);
    max-width: 300px;
    line-height: 1.7;
}

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

.footer-col h4 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: var(--gray-light);
    margin-bottom: 12px;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--red-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--gray-light);
    letter-spacing: 1px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 12px;
    color: var(--gray-light);
}

.footer-bottom-links a:hover {
    color: var(--red-accent);
}


/* ============================================
   REVEAL ANIMATIONS
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.5s; }


/* ============================================
   KEYFRAMES
   ============================================ */

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineExpand {
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes scrollDown {
    0% { top: -100%; }
    100% { top: 100%; }
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}


/* ============================================
   SCANLINE OVERLAY (subtle defence aesthetic)
   ============================================ */

.scanline-overlay {
    display: none !important;
}


/* ============================================
   PAGE TRANSITION
   ============================================ */

.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    z-index: 10000;
    transform: scaleY(0);
    transform-origin: bottom;
    pointer-events: none;
}

.page-transition.active {
    animation: pageWipe 0.6s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes pageWipe {
    0% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
    50% {
        transform: scaleY(1);
        transform-origin: bottom;
    }
    50.01% {
        transform-origin: top;
    }
    100% {
        transform: scaleY(0);
        transform-origin: top;
    }
}


/* ============================================
   LOADING SCREEN
   ============================================ */

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-bar {
    width: 120px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--white);
    animation: loadBar 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.loader-text {
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gray-light);
    margin-top: 20px;
}

@keyframes loadBar {
    to { width: 100%; }
}


/* ============================================
   TICKER / MARQUEE
   ============================================ */

.ticker {
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
}

.ticker-track {
    display: flex;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gray-light);
    padding: 0 40px;
}

.ticker-dot {
    flex-shrink: 0;
    width: 4px;
    height: 4px;
    background: var(--red-accent);
    align-self: center;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* ============================================
   TOPOGRAPHIC CONTOUR PATTERN
   Subtle terrain-line background for sections
   ============================================ */

.topo-bg {
    position: relative;
}

.topo-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='0.8'%3E%3Cellipse cx='300' cy='300' rx='280' ry='200'/%3E%3Cellipse cx='300' cy='300' rx='240' ry='170'/%3E%3Cellipse cx='300' cy='300' rx='200' ry='140'/%3E%3Cellipse cx='300' cy='300' rx='160' ry='110'/%3E%3Cellipse cx='300' cy='300' rx='120' ry='80'/%3E%3Cellipse cx='300' cy='300' rx='80' ry='55'/%3E%3Cellipse cx='300' cy='300' rx='45' ry='30'/%3E%3Cellipse cx='150' cy='150' rx='130' ry='90' transform='rotate(-15 150 150)'/%3E%3Cellipse cx='150' cy='150' rx='100' ry='65' transform='rotate(-15 150 150)'/%3E%3Cellipse cx='150' cy='150' rx='70' ry='45' transform='rotate(-15 150 150)'/%3E%3Cellipse cx='150' cy='150' rx='35' ry='22' transform='rotate(-15 150 150)'/%3E%3Cellipse cx='470' cy='130' rx='110' ry='80' transform='rotate(20 470 130)'/%3E%3Cellipse cx='470' cy='130' rx='80' ry='55' transform='rotate(20 470 130)'/%3E%3Cellipse cx='470' cy='130' rx='50' ry='32' transform='rotate(20 470 130)'/%3E%3Cellipse cx='470' cy='130' rx='22' ry='14' transform='rotate(20 470 130)'/%3E%3Cellipse cx='130' cy='470' rx='120' ry='85' transform='rotate(35 130 470)'/%3E%3Cellipse cx='130' cy='470' rx='85' ry='60' transform='rotate(35 130 470)'/%3E%3Cellipse cx='130' cy='470' rx='55' ry='38' transform='rotate(35 130 470)'/%3E%3Cellipse cx='130' cy='470' rx='25' ry='16' transform='rotate(35 130 470)'/%3E%3Cellipse cx='490' cy='460' rx='100' ry='70' transform='rotate(-25 490 460)'/%3E%3Cellipse cx='490' cy='460' rx='70' ry='48' transform='rotate(-25 490 460)'/%3E%3Cellipse cx='490' cy='460' rx='40' ry='26' transform='rotate(-25 490 460)'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 600px 600px;
    background-repeat: repeat;
    z-index: 0;
}

.topo-bg > * {
    position: relative;
    z-index: 1;
}

/* Topo variant for page heroes — positioned bottom right, larger */
.page-hero.topo-bg::before {
    opacity: 0.05;
    background-size: 800px 800px;
    background-position: bottom right;
}

/* Hero topo — subtle in bottom area */
.hero .topo-pattern {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 60%;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='0.8'%3E%3Cellipse cx='300' cy='300' rx='280' ry='200'/%3E%3Cellipse cx='300' cy='300' rx='240' ry='170'/%3E%3Cellipse cx='300' cy='300' rx='200' ry='140'/%3E%3Cellipse cx='300' cy='300' rx='160' ry='110'/%3E%3Cellipse cx='300' cy='300' rx='120' ry='80'/%3E%3Cellipse cx='300' cy='300' rx='80' ry='55'/%3E%3Cellipse cx='300' cy='300' rx='45' ry='30'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 600px 600px;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .section {
        padding: 80px 40px;
    }

    .page-hero {
        padding: 0 40px 40px;
    }

    .grid-2 {
        gap: 40px;
        grid-template-columns: 1fr !important;
    }

    .abstract-img {
        transform: scale(1) !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .grid-3 {
        grid-template-columns: 1fr 1fr;
    }

    .grid-4 {
        grid-template-columns: 1fr 1fr;
    }

    .career-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        gap: 40px;
        flex-wrap: wrap;
    }

    .site-footer {
        padding: 60px 40px 30px;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 40px;
    }
}

/* Intermediate Desktop Screens: prevent header text overflow */
@media (min-width: 1151px) and (max-width: 1350px) {
    .site-header {
        padding: 0 32px;
    }
    .header-logo-text {
        font-size: 22px;
        letter-spacing: 2px;
    }
    .header-nav {
        gap: 24px;
    }
    .header-nav a:not(.btn-demo) {
        font-size: 14px;
        letter-spacing: 1.5px;
    }
    .btn-demo {
        padding: 10px 20px;
        font-size: 13px;
        letter-spacing: 1.5px;
    }
}

/* Mobile, Tablet & Square-aspect ratio screens: responsive drawer */
@media (max-width: 1150px) {
    .site-header {
        padding: 0 32px;
        height: 72px;
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(8, 8, 8, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        transform: translateX(100%);
        transition: transform var(--transition-med);
        z-index: 1000;
    }

    .header-nav.open {
        transform: translateX(0);
    }

    .header-nav a,
    body.commercial-page .site-header .header-nav a,
    body.commercial-page .site-header.scrolled .header-nav a {
        font-size: 16px !important;
        letter-spacing: 4px !important;
        color: rgba(255, 255, 255, 0.85) !important;
        text-transform: uppercase;
        font-weight: 500;
        transition: color var(--transition-fast);
    }

    .header-nav a:hover,
    body.commercial-page .site-header .header-nav a:hover,
    body.commercial-page .site-header.scrolled .header-nav a:hover {
        color: #ffffff !important;
    }

    .header-nav a.active,
    body.commercial-page .site-header .header-nav a.active,
    body.commercial-page .site-header.scrolled .header-nav a.active {
        color: #c41e1e !important;
    }

    .header-nav .btn-demo,
    body.commercial-page .site-header .header-nav .btn-demo,
    body.commercial-page .site-header.scrolled .header-nav .btn-demo {
        color: #ffffff !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        background: transparent !important;
        padding: 12px 28px !important;
        margin-top: 10px !important;
    }

    .header-nav .btn-demo:hover,
    body.commercial-page .site-header .header-nav .btn-demo:hover,
    body.commercial-page .site-header.scrolled .header-nav .btn-demo:hover {
        border-color: #c41e1e !important;
        color: #c41e1e !important;
    }

    .menu-toggle {
        display: flex;
    }

    /* Scrolled header on commercial/white pages: hamburger lines must be black */
    body.commercial-page .site-header.scrolled .menu-toggle span {
        background: #000000 !important;
    }
    body.commercial-page .site-header.scrolled .menu-toggle:hover span {
        background: #c41e1e !important;
    }

    /* When menu is active (open) - hamburger X lines and logo are ALWAYS white */
    .menu-toggle.active span,
    body.commercial-page .site-header.scrolled .menu-toggle.active span {
        background: #ffffff !important;
    }

    body.nav-open .site-header .header-logo-text,
    body.commercial-page.nav-open .site-header.scrolled .header-logo-text {
        color: #ffffff !important;
    }

    body.nav-open .site-header .header-logo img,
    body.commercial-page.nav-open .site-header.scrolled .header-logo img {
        filter: none !important;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 0 24px;
        height: 64px;
    }

    .section {
        padding: 60px 24px;
    }

    .page-hero {
        padding: 0 24px 30px;
        min-height: 300px;
        height: 40vh;
    }

    .page-hero.company-hero {
        height: auto;
        min-height: 0;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }

    .company-hero-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        column-gap: 0;
        row-gap: 32px;
        padding: 24px 0;
    }

    .company-hero-label,
    .company-hero-title,
    .company-hero-flags {
        grid-column: 1;
        grid-row: auto;
        padding-right: 0;
    }

    .company-hero-flags {
        position: static;
        min-height: unset;
        overflow: visible;
    }

    .company-hero-flags img {
        position: static;
        height: auto;
        width: 100%;
    }

    .timeline {
        padding-left: 28px;
    }

    .timeline-marker {
        left: -33px;
    }

    .careers-banner {
        padding: 36px 24px;
    }

    .stats-row {
        flex-direction: column;
        gap: 32px;
    }

    .stat-number {
        font-size: 36px;
    }

    .site-footer {
        padding: 40px 24px 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-tagline {
        letter-spacing: 4px;
    }

    .card {
        padding: 24px;
    }
}

/* OVERRIDES FOR MINIMALIST AESTHETIC */
body, html {
    font-family: var(--font-primary) !important;
    background: #000000 !important;
}
.section-darker, .section-dark, .card, .product-card, .page-hero {
    background: #000000 !important;
}
/* Tactical Transparent Buttons with Corner Edges */
.header-nav a:not(.btn-demo) {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--off-white);
    position: relative;
    padding: 4px 0;
}

.header-nav a:not(.btn-demo)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--red-accent);
    transition: width var(--transition-med);
}

.header-nav a:not(.btn-demo):hover {
    color: var(--white);
}

.header-nav a:not(.btn-demo):hover::after {
    width: 100%;
}

.header-nav a:not(.btn-demo).active {
    color: var(--white);
}

.header-nav a:not(.btn-demo).active::after {
    width: 100%;
    background: var(--red-accent);
}

.btn-demo,
.btn-primary,
.btn-outline {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-demo {
    padding: 12px 28px !important;
}

.btn-primary,
.btn-outline {
    padding: 16px 36px !important;
}

/* Corner bracket tick marks (Tactical Edges) */
.btn-demo::before,
.btn-demo::after,
.btn-primary::before,
.btn-primary::after,
.btn-outline::before,
.btn-outline::after {
    content: '' !important;
    position: absolute !important;
    width: 5px !important;
    height: 5px !important;
    background: transparent !important;
    pointer-events: none;
    transition: all 0.25s ease;
}

.btn-demo::before,
.btn-primary::before,
.btn-outline::before {
    top: -1px !important;
    left: -1px !important;
    bottom: auto !important;
    right: auto !important;
    border-top: 2px solid var(--red-accent) !important;
    border-left: 2px solid var(--red-accent) !important;
}

.btn-demo::after,
.btn-primary::after,
.btn-outline::after {
    bottom: -1px !important;
    right: -1px !important;
    top: auto !important;
    left: auto !important;
    border-bottom: 2px solid var(--red-accent) !important;
    border-right: 2px solid var(--red-accent) !important;
}

.btn-demo:hover,
.btn-primary:hover,
.btn-outline:hover {
    background: rgba(196, 30, 30, 0.15) !important;
    border-color: rgba(196, 30, 30, 0.7) !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(196, 30, 30, 0.25);
}

.btn-demo:hover::before,
.btn-demo:hover::after,
.btn-primary:hover::before,
.btn-primary:hover::after,
.btn-outline:hover::before,
.btn-outline:hover::after {
    width: 8px !important;
    height: 8px !important;
    border-color: #ffffff !important;
}
.white-footer-section {
    background: #ffffff !important;
    color: #000000 !important;
    width: 100%;
    overflow: hidden;
}

.site-footer {
    padding: 80px 80px 40px;
    background: #ffffff;
    width: 100%;
}

.footer-top {
    margin-top: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
    width: 100%;
}

.footer-brand {
    flex: 2;
    min-width: 400px;
    max-width: 550px;
}

.footer-brand-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.footer-brand img {
    height: 42px;
    width: auto;
    margin-bottom: 0;
    filter: invert(1);
}

.footer-logo-text {
    font-weight: 700;
    letter-spacing: 2px;
    margin-left: 12px;
    font-size: 24px;
    color: #000000;
}

.footer-brand-desc {
    color: #555555;
    line-height: 1.7;
    font-size: 21px;
    margin-bottom: 28px;
    max-width: 520px;
}

.footer-actions-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 520px;
}

.footer-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 12px 24px;
    transition: all 0.25s ease;
    cursor: pointer;
    text-align: center;
    border-radius: 0;
}

.footer-btn-dark {
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #000000 !important;
}

.footer-btn-dark:hover {
    background: var(--red-accent) !important;
    border-color: var(--red-accent) !important;
    color: #ffffff !important;
}

.footer-btn-outline {
    background: transparent !important;
    color: #000000 !important;
    border: 1px solid rgba(0, 0, 0, 0.3) !important;
}

.footer-btn-outline:hover {
    background: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}

.footer-nav-columns-wrap {
    display: flex;
    flex-direction: column;
}

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

.footer-col h4 {
    color: #000000 !important;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-col a {
    color: #555555 !important;
    font-size: 16px;
    margin-bottom: 12px;
    display: block;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col a:hover {
    color: var(--red-accent) !important;
    transform: translateX(3px);
}

.footer-email-block {
    margin-top: 50px;
}

.footer-email-text {
    font-size: 32px;
    color: #555555;
    letter-spacing: 1px;
    line-height: 1.3;
}

.footer-email-text a {
    color: #000000;
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
    transition: color 0.2s ease;
}

.footer-email-text a:hover {
    color: var(--red-accent);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #666666;
    font-size: 13px;
    margin: 0;
}

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

.footer-bottom-links span,
.footer-bottom-links a {
    color: #666666;
    font-size: 13px;
}

/* ============================================
   GET IN TOUCH & READY TO DEPLOY SECTIONS
   ============================================ */
.get-in-touch-section {
    padding: 40px 0 140px;
    width: 100%;
    overflow: hidden;
}

.get-in-touch-grid {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
}

.get-in-touch-video-wrap {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #000000;
}

.get-in-touch-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.get-in-touch-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0 40px 80px;
}

.get-in-touch-title {
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.1;
}

.get-in-touch-desc {
    font-size: 18px;
    color: #d0d0d0;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 36px;
    max-width: 500px;
}

.get-in-touch-btn-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.get-in-touch-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 20px 48px !important;
    font-size: 15px;
    letter-spacing: 3px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
}

.get-in-touch-arrow {
    color: var(--red-accent, #ff4d4d);
    font-size: 18px;
    transition: transform 0.3s ease;
}

.get-in-touch-btn:hover .get-in-touch-arrow {
    transform: translateX(4px);
}

@media (max-width: 900px) {
    .get-in-touch-section {
        padding: 40px 20px 80px;
    }
    .get-in-touch-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .get-in-touch-video-wrap {
        width: 100%;
        max-height: 320px;
    }
    .get-in-touch-video {
        max-height: 320px;
    }
    .get-in-touch-content {
        padding: 0 !important;
    }
    .get-in-touch-title {
        font-size: clamp(28px, 7vw, 42px);
        margin-bottom: 16px;
    }
    .get-in-touch-desc {
        font-size: 16px;
        margin-bottom: 24px;
        max-width: 100%;
    }
    .get-in-touch-btn {
        padding: 16px 32px !important;
        width: 100%;
        justify-content: center;
    }
}

.ready-to-deploy-section {
    text-align: center;
    padding: 120px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #000000;
    width: 100%;
    overflow: hidden;
}

.ready-to-deploy-section .section-title {
    margin: 0 auto 36px;
    font-weight: 300;
    font-size: clamp(32px, 4.5vw, 48px);
    color: #ffffff;
}

.ready-to-deploy-section p {
    margin: 0 auto 48px;
    max-width: 600px;
    color: #cccccc;
    line-height: 1.65;
    font-size: clamp(16px, 1.4vw, 22px);
}

@media (max-width: 768px) {
    .ready-to-deploy-section {
        padding: 60px 20px !important;
    }
    .ready-to-deploy-section .section-title {
        margin-bottom: 20px;
    }
    .ready-to-deploy-section p {
        margin-bottom: 32px;
    }
    .ready-to-deploy-section .btn-primary {
        width: 100%;
        max-width: 320px;
        padding: 16px 24px !important;
    }
}

.minimal-card {
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px;
    background: #000;
}
.minimal-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: 300;
}
.abstract-img {
    width: 100%;
    height: auto;
    display: block;
    border: none !important;
}
.hero {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hero {
    height: 100vh !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
.hero-video-wrap video {
    width: 100% !important;
    max-width: 100% !important;
    height: 100vh !important;
    object-fit: cover !important;
}

/* FIX FOR TOPO-BG CONFLICT */
.hero .hero-video-wrap,
.hero .hero-overlay,
.hero .topo-pattern {
    position: absolute !important;
}

/* ============================================
   DYNAMIC ANIMATIONS & HIGH-TECH EFFECTS
   ============================================ */

/* --- Scramble Text Fixed Character Slots --- */
.scramble-line {
    display: block;
    line-height: 1.1;
    margin: 0;
    padding: 0;
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Product Image & Card Hover Animations --- */
.abstract-img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease, filter 0.6s ease;
    will-change: transform, box-shadow;
}

.abstract-img:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(196, 30, 30, 0.12);
}

.btn-primary, .btn-outline, .btn-demo {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background var(--transition-med), border-color var(--transition-med), box-shadow 0.3s ease;
}

.btn-outline:hover {
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 0 24px rgba(196, 30, 30, 0.4);
}

/* ============================================
   COMMERCIAL PAGE LIGHT THEME & SWAPPED FOOTER
   ============================================ */

body.commercial-page {
    background: #ffffff !important;
    color: #000000 !important;
}

body.commercial-page .section,
body.commercial-page .section-dark,
body.commercial-page .section-darker,
body.commercial-page .topo-bg {
    background: #ffffff !important;
    color: #000000 !important;
}

body.commercial-page .hero-overlay {
    display: none !important;
    background: transparent !important;
}

body.commercial-page .section-title,
body.commercial-page h1:not(.hero-tagline),
body.commercial-page h2,
body.commercial-page h3 {
    color: #000000 !important;
}

body.commercial-page p:not(.page-hero-label),
body.commercial-page .section-text {
    color: #222222 !important;
}

body.commercial-page .page-hero-label,
body.commercial-page .hero-content p {
    color: #ffffff !important;
}

/* Commercial Header Navigation on White Body — White text over dark video overlay when unscrolled */
body.commercial-page .site-header {
    background: transparent !important;
    border-bottom: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

body.commercial-page .site-header .header-logo-text {
    color: #ffffff !important;
    transition: color 0.4s ease;
}

body.commercial-page .site-header .header-nav a:not(.btn-demo) {
    color: #ffffff !important;
    transition: color 0.4s ease;
}

body.commercial-page .site-header .header-nav a:not(.btn-demo):hover,
body.commercial-page .site-header .header-nav a:not(.btn-demo).active {
    color: #c41e1e !important;
}

body.commercial-page .site-header .btn-demo {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    background: rgba(0, 0, 0, 0.3) !important;
    transition: color 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

/* Scrolled State for Commercial Header — White backdrop with black text */
body.commercial-page .site-header.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

body.commercial-page .site-header.scrolled .header-logo-text {
    color: #000000 !important;
}

@media (min-width: 1151px) {
    body.commercial-page .site-header.scrolled .header-nav a:not(.btn-demo) {
        color: #111111 !important;
    }

    body.commercial-page .site-header.scrolled .header-nav a:not(.btn-demo):hover,
    body.commercial-page .site-header.scrolled .header-nav a:not(.btn-demo).active {
        color: #c41e1e !important;
    }

    body.commercial-page .site-header.scrolled .btn-demo {
        color: #000000 !important;
        border-color: rgba(0, 0, 0, 0.4) !important;
        background: rgba(0, 0, 0, 0.05) !important;
    }

    body.commercial-page .site-header.scrolled .btn-demo:hover {
        border-color: #c41e1e !important;
        color: #c41e1e !important;
    }
}

/* Header & Footer Logo Reactivity */
.header-logo img,
.footer-brand img {
    transition: filter 0.4s ease;
}

body.commercial-page .site-header .header-logo img {
    filter: none !important;
}

body.commercial-page .site-header.scrolled .header-logo img {
    filter: brightness(0) !important;
}

.white-footer-section .footer-brand img {
    filter: brightness(0) !important;
}

body.commercial-page .white-footer-section .footer-brand img {
    filter: none !important;
}

/* Image styling on Commercial page — No borders, no card background */
body.commercial-page .abstract-img {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

body.commercial-page .abstract-img:hover {
    transform: scale(1.02);
    box-shadow: none !important;
}

/* Ready to Deploy Section on Commercial Page */
body.commercial-page .btn-primary {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

body.commercial-page .btn-primary:hover {
    background: #c41e1e !important;
    border-color: #c41e1e !important;
    color: #ffffff !important;
}

/* Swapped Dark Footer on Commercial Page */
body.commercial-page .white-footer-section {
    background: #000000 !important;
}

body.commercial-page .site-footer {
    background: #000000 !important;
    color: #ffffff !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.commercial-page .footer-logo-text {
    color: #ffffff !important;
}

body.commercial-page .footer-brand p,
body.commercial-page .footer-col a,
body.commercial-page .footer-bottom p,
body.commercial-page .footer-bottom-links a,
body.commercial-page .site-footer p,
body.commercial-page .site-footer a[href^="mailto:"] {
    color: #aaaaaa !important;
}

body.commercial-page .footer-col h4 {
    color: #ffffff !important;
}

body.commercial-page .footer-col a:hover,
body.commercial-page .footer-bottom-links a:hover,
body.commercial-page .site-footer a[href^="mailto:"]:hover {
    color: #ffffff !important;
}

body.commercial-page .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.commercial-page .footer-btn-dark {
    background: #ffffff !important;
    color: #000000 !important;
}

body.commercial-page .footer-btn-outline {
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

/* ============================================
   RESPONSIVE PRODUCT SHOWCASE SECTION
   ============================================ */

.product-showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    align-items: center;
    gap: clamp(36px, 5vw, 80px);
    max-width: 1560px;
    margin: 0 auto 80px;
    padding: 0 clamp(20px, 4vw, 60px);
    width: 100%;
}

.product-info-column {
    min-width: 0;
    width: 100%;
}

.product-info-column h2 {
    font-size: clamp(38px, 4.5vw, 64px);
    font-weight: 300;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.05;
}

.product-info-column .product-subtitle {
    font-size: clamp(14px, 1.2vw, 18px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    line-height: 1.4;
}

.product-info-column .product-desc {
    font-size: clamp(15px, 1.15vw, 18px);
    line-height: 1.7;
    margin-bottom: 40px;
}

.product-info-column .specs-heading {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.product-image-column {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    min-width: 0;
    height: 100%;
    min-height: clamp(340px, 40vw, 560px);
}

.product-showcase-img,
.abstract-img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: clamp(380px, 55vh, 660px) !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.product-showcase-img:hover,
.abstract-img:hover {
    transform: scale(1.03) translateY(-4px) !important;
    filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.65));
}

body.commercial-page .product-showcase-img,
body.commercial-page .abstract-img {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
}

body.commercial-page .product-showcase-img:hover,
body.commercial-page .abstract-img:hover {
    transform: scale(1.03) translateY(-4px) !important;
    filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.18));
}

@media (max-width: 1100px) {
    .product-showcase-grid {
        gap: 40px;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    }
}

@media (max-width: 900px) {
    .product-showcase-grid {
        grid-template-columns: 1fr !important;
        gap: 48px;
        margin-bottom: 60px;
    }
    
    .product-image-column {
        min-height: auto;
    }
    
    .product-showcase-img,
    .abstract-img {
        max-width: 90% !important;
        max-height: 420px !important;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .product-showcase-grid {
        padding: 0 16px;
        gap: 32px;
    }
    
    .product-showcase-img,
    .abstract-img {
        max-width: 100% !important;
        max-height: 300px !important;
    }
}

/* ============================================
   EDGE-TO-EDGE 2x2 GRID LAYOUT
   ============================================ */

.systems-grid-2x2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    gap: 0;
}

.grid-2x2-cell {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    border-right: 1px solid rgba(255,255,255,0.05);
    padding: clamp(40px, 6vw, 100px) clamp(24px, 4vw, 60px);
    text-decoration: none;
    transition: background 0.4s ease;
    overflow: hidden;
    min-width: 0;
}

.grid-2x2-cell:nth-child(even) {
    border-right: none;
}

.grid-2x2-cell:hover {
    background: rgba(255,255,255,0.02);
}

.grid-2x2-img-wrap {
    width: 100%;
    max-width: 800px;
    height: clamp(280px, 32vw, 480px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: clamp(24px, 3vw, 50px);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    min-width: 0;
}

.grid-2x2-cell:hover .grid-2x2-img-wrap {
    transform: scale(1.03);
}

.grid-2x2-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.8));
}

.grid-2x2-content {
    width: 100%;
    max-width: 800px;
    text-align: left;
    min-width: 0;
}

.grid-2x2-content h3 {
    font-size: clamp(32px, 3.5vw, 56px);
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 20px;
}

.grid-2x2-content p {
    font-size: clamp(16px, 1.4vw, 24px);
    color: #aaaaaa;
    line-height: 1.6;
    margin-bottom: 30px;
}

.grid-2x2-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}

.grid-2x2-meta h3 {
    margin-bottom: 0;
}

.grid-2x2-btn {
    display: inline-block;
    padding: 16px 40px;
    border: 1px solid rgba(255,255,255,0.2);
    color: #ffffff;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background 0.3s ease, color 0.3s ease;
}

.grid-2x2-cell:hover .grid-2x2-btn {
    background: #ffffff;
    color: #000000;
}

.grid-cta-cell {
    background: #0f0f14;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.grid-cta-cell:hover {
    background: #14141a;
}

.grid-cta-cell h2 {
    font-size: clamp(40px, 4vw, 60px);
    font-weight: 300;
    margin-bottom: 30px;
    color: #ffffff;
}

@media (max-width: 1024px) {
    .systems-grid-2x2 {
        grid-template-columns: 1fr;
    }
    .grid-2x2-cell {
        border-right: none;
    }
}

/* ============================================
   PRODUCT PAGE: ANIMATED SPECS & APPS
   ============================================ */

.product-specs-section {
    margin-top: 60px;
}

.specs-reveal-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 40px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(18, 18, 24, 0.85);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: crosshair;
}

.spec-label {
    color: #d8d8d8;
    font-family: monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    transition: color 0.4s ease;
    z-index: 2;
    position: relative;
}

.spec-value {
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
    position: relative;
    letter-spacing: 1px;
}

.spec-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(196,30,30,0.1) 0%, rgba(196,30,30,0.4) 100%);
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.spec-item.revealed {
    border-color: rgba(196, 30, 30, 0.5);
}

.spec-item.revealed::before {
    transform: translateX(0);
}

.spec-item.revealed .spec-label {
    color: rgba(255, 255, 255, 0.9);
}

.spec-item.revealed .spec-value {
    opacity: 1;
    transform: translateX(0);
}

@media (hover: hover) and (min-width: 769px) {
    .spec-item:hover {
        border-color: rgba(196, 30, 30, 0.5);
    }
    .spec-item:hover::before {
        transform: translateX(0);
    }
    .spec-item:hover .spec-label {
        color: rgba(255, 255, 255, 0.9);
    }
    .spec-item:hover .spec-value {
        opacity: 1;
        transform: translateX(0);
    }
}

body.commercial-page .spec-item {
    background: rgba(240, 240, 240, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
}

body.commercial-page .spec-item::before {
    background: linear-gradient(90deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.15) 100%);
}

body.commercial-page .spec-label {
    color: #555;
}

body.commercial-page .spec-value {
    color: #000;
}

body.commercial-page .spec-item.revealed {
    border-color: rgba(0, 0, 0, 0.3);
}

body.commercial-page .spec-item.revealed .spec-label {
    color: #222;
}

body.commercial-page .spec-item.revealed .spec-value {
    color: #000;
}

@media (hover: hover) and (min-width: 769px) {
    body.commercial-page .spec-item:hover {
        border-color: rgba(0, 0, 0, 0.3);
    }
    body.commercial-page .spec-item:hover .spec-label {
        color: #222;
    }
    body.commercial-page .spec-item:hover .spec-value {
        color: #000;
    }
}

/* Mobile & Touch: Specifications always visible and legible */
@media (max-width: 768px), (hover: none) {
    .spec-item {
        padding: 10px 14px !important;
        border-color: rgba(255, 255, 255, 0.22) !important;
        background: rgba(20, 20, 28, 0.95) !important;
        cursor: default !important;
        gap: 10px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .spec-label {
        font-size: 11px !important;
        letter-spacing: 1px !important;
        color: #cccccc !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
    .spec-value {
        opacity: 1 !important;
        transform: none !important;
        font-size: clamp(11px, 3.2vw, 13px) !important;
        text-align: right !important;
        color: #ffffff !important;
        white-space: nowrap !important;
    }
    .spec-item::before {
        transform: translateX(0) !important;
        opacity: 0.3 !important;
    }
    body.commercial-page .spec-item {
        background: rgba(245, 245, 245, 0.95) !important;
        border-color: rgba(0, 0, 0, 0.15) !important;
    }
    body.commercial-page .spec-value {
        color: #000000 !important;
    }
    body.commercial-page .spec-label {
        color: #555555 !important;
    }
}

/* PROJECT ORC CLASSIFIED DESCRIPTION */
.orc-classified-desc {
    text-align: justify;
    text-justify: inter-word;
    max-width: 720px;
    margin: 0 auto;
    line-height: 2.3;
    font-family: monospace;
    font-size: 15px;
    color: #111111;
}

@media (max-width: 768px) {
    .orc-classified-desc {
        text-align: justify !important;
        text-justify: inter-word !important;
        line-height: 1.85 !important;
        font-size: 13.5px !important;
    }
    .orc-classified-desc span {
        letter-spacing: -2px;
    }
}

/* APPLICATIONS TECHNICAL LIST LAYOUT */
.deploy-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    cursor: crosshair;
    transition: all 0.2s ease-out;
}
.deploy-row:first-of-type {
    border-top: 1px solid rgba(255,255,255,0.1);
}
.deploy-row:hover {
    background: rgba(255,255,255,0.1);
    padding-left: 32px;
    padding-right: 32px;
}
.deploy-num {
    font-family: monospace;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    transition: color 0.2s ease;
}
.deploy-title {
    font-size: 28px;
    font-weight: 300;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.2s ease;
}
.deploy-meta {
    font-family: monospace;
    font-size: 13px;
    color: #fff;
    letter-spacing: 3px;
    transition: all 0.2s ease;
    opacity: 0;
    transform: translateX(-20px);
}
.deploy-row:hover .deploy-num { color: rgba(255,255,255,0.8); }
.deploy-row:hover .deploy-title { color: #fff; }
.deploy-row:hover .deploy-meta { color: #fff; opacity: 1; transform: translateX(0); }

body.commercial-page .deploy-row {
    border-bottom-color: rgba(0,0,0,0.1);
}
body.commercial-page .deploy-row:first-of-type {
    border-top-color: rgba(0,0,0,0.15);
}
body.commercial-page .deploy-row:hover {
    background: #000;
}
body.commercial-page .deploy-num {
    color: rgba(0,0,0,0.5);
}
body.commercial-page .deploy-title {
    color: #000;
}
body.commercial-page .deploy-meta {
    color: #fff;
}
body.commercial-page .deploy-row:hover .deploy-num { color: rgba(255,255,255,0.6); }
body.commercial-page .deploy-row:hover .deploy-title { color: #fff; }


/* ============================================
   PROJECT ORC ANIMATED HUD VISUAL
   ============================================ */

@keyframes radarSpin {
    from { transform: rotate(0deg); transform-origin: 250px 160px; }
    to { transform: rotate(360deg); transform-origin: 250px 160px; }
}

@keyframes corePulse {
    0% { transform: scale(0.85); transform-origin: 250px 160px; opacity: 0.7; }
    100% { transform: scale(1.25); transform-origin: 250px 160px; opacity: 1; filter: drop-shadow(0 0 12px var(--red-accent)); }
}

@keyframes pulseTravel1 {
    0% { cx: 250px; cy: 160px; opacity: 1; }
    100% { cx: 380px; cy: 70px; opacity: 0; }
}

@keyframes pulseTravel2 {
    0% { cx: 250px; cy: 160px; opacity: 1; }
    100% { cx: 120px; cy: 80px; opacity: 0; }
}

@keyframes pulseTravel3 {
    0% { cx: 250px; cy: 160px; opacity: 1; }
    100% { cx: 110px; cy: 240px; opacity: 0; }
}

@keyframes pulseTravel4 {
    0% { cx: 250px; cy: 160px; opacity: 1; }
    100% { cx: 370px; cy: 250px; opacity: 0; }
}

.orc-radar-spin { animation: radarSpin 6s linear infinite; }
.orc-core-pulse { animation: corePulse 2s ease-in-out infinite alternate; }
.orc-pulse-node1 { animation: pulseTravel1 2.4s linear infinite; }
.orc-pulse-node2 { animation: pulseTravel2 2.8s linear infinite 0.4s; }
.orc-pulse-node3 { animation: pulseTravel3 2.2s linear infinite 0.8s; }
.orc-pulse-node4 { animation: pulseTravel4 2.6s linear infinite 1.2s; }
.hud-pulse-dot { animation: corePulse 1s ease-in-out infinite alternate; }

/* ============================================
   LEADERSHIP SECTION
   ============================================ */
.leader-card {
    text-align: center;
    cursor: pointer;
}
.leader-card .leader-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.4s ease, transform 0.4s ease;
}
.leader-card:hover .leader-img {
    filter: grayscale(0%);
    transform: scale(1.03);
}

/* -------------------------------------------------------------
   LIGHT THEME SECTION (.bg-white) - Core Systems Override
   ------------------------------------------------------------- */
.bg-white {
    background-color: #ffffff !important;
    background-image: none !important;
    color: #000000 !important;
}

.bg-white h2 {
    color: #000000 !important;
}

.bg-white .grid-2x2-cell {
    border-color: rgba(0,0,0,0.1) !important;
}

.bg-white .grid-2x2-cell:hover {
    background: rgba(0,0,0,0.03) !important;
}

.bg-white .grid-2x2-content h3 {
    color: #111111 !important;
}

.bg-white .grid-2x2-content p {
    color: #555555 !important;
}

.bg-white .grid-2x2-btn {
    color: #000000 !important;
    border-color: rgba(0,0,0,0.2) !important;
}

.bg-white .grid-2x2-btn:hover {
    background: #000000 !important;
    color: #ffffff !important;
}

/* ============================================
   RESPONSIVE BACKED-BY SECTION
   ============================================ */

.backed-by-section {
    background: #050508;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: clamp(60px, 7vw, 90px) clamp(20px, 4vw, 60px);
    text-align: center;
}

.backed-by-container {
    max-width: 1600px;
    margin: 0 auto;
}

.backed-by-title {
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #cccccc;
    margin-bottom: clamp(36px, 4vw, 56px);
}

.backed-by-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(20px, 3vw, 40px);
    width: 100%;
    flex-wrap: wrap;
}

.backed-by-item {
    flex: 1 1 200px;
    max-width: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    margin: 0 auto;
}

.backed-by-item img {
    width: 100%;
    max-height: clamp(60px, 8vw, 100px);
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.backed-by-item img:hover {
    opacity: 1;
}

/* ============================================
   RESPONSIVE COMPANY PAGE SECTIONS
   ============================================ */

.company-story-grid {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(30px, 4vw, 60px);
    padding: 0 clamp(20px, 4vw, 60px);
}

.company-story-img-wrap {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(10px, 3vw, 40px);
    width: 100%;
}

.company-story-img-wrap img {
    width: 100%;
    max-width: 580px;
    height: auto;
    display: block;
    border-radius: 4px;
    object-fit: cover;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 40px);
    width: 100%;
}

@media (max-width: 1024px) {
    .leadership-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .company-story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .leadership-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }
}

/* Invert SVG colors for Project ORC HUD inside light background */
.bg-white .orc-animated-hud circle[stroke="rgba(255,255,255,0.15)"],
.bg-white .orc-animated-hud circle[stroke="rgba(255,255,255,0.2)"],
.bg-white .orc-animated-hud circle[stroke="rgba(255,255,255,0.3)"] {
    stroke: rgba(0,0,0,0.2) !important;
}

.bg-white .orc-animated-hud line[stroke="rgba(255,255,255,0.3)"] {
    stroke: rgba(0,0,0,0.3) !important;
}

.bg-white .orc-animated-hud circle[fill="#ffffff"] {
    fill: #000000 !important;
}

.bg-white .orc-animated-hud circle[stroke="#ffffff"] {
    stroke: #000000 !important;
}


.organic-topo-margins {
    position: relative;
    overflow: hidden;
}

/* Top-left corner topo */
.organic-topo-margins::before {
    content: '' !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 60%;
    pointer-events: none;
    opacity: 1 !important;
    background-image: url('../media/ancalagon/topo_graphic.svg') !important;
    background-position: top left;
    background-size: 130% auto !important;
    background-repeat: no-repeat !important;
    -webkit-mask-image: radial-gradient(ellipse 100% 100% at 0% 0%, black 0%, transparent 60%);
    mask-image: radial-gradient(ellipse 100% 100% at 0% 0%, black 0%, transparent 60%);
    z-index: 0;
}

/* Bottom-right corner topo */
.organic-topo-margins::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 60%;
    pointer-events: none;
    opacity: 1;
    background-image: url('../media/ancalagon/topo_graphic.svg');
    background-position: bottom right;
    background-size: 130% auto;
    background-repeat: no-repeat;
    -webkit-mask-image: radial-gradient(ellipse 100% 100% at 100% 100%, black 0%, transparent 60%);
    mask-image: radial-gradient(ellipse 100% 100% at 100% 100%, black 0%, transparent 60%);
    z-index: 0;
}

.organic-topo-margins > * {
    position: relative;
    z-index: 1;
}

/* Dark background variant — light contour lines */
.organic-topo-dark {
    position: relative;
    overflow: hidden;
}

.organic-topo-dark::before {
    content: '' !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 60%;
    pointer-events: none;
    opacity: 1 !important;
    background-image: url('../media/ancalagon/topo_graphic_light.svg') !important;
    background-position: top left;
    background-size: 130% auto !important;
    background-repeat: no-repeat !important;
    -webkit-mask-image: radial-gradient(ellipse 100% 100% at 0% 0%, black 0%, transparent 60%);
    mask-image: radial-gradient(ellipse 100% 100% at 0% 0%, black 0%, transparent 60%);
    z-index: 0;
}

.organic-topo-dark::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 60%;
    pointer-events: none;
    opacity: 1;
    background-image: url('../media/ancalagon/topo_graphic_light.svg');
    background-position: bottom right;
    background-size: 130% auto;
    background-repeat: no-repeat;
    -webkit-mask-image: radial-gradient(ellipse 100% 100% at 100% 100%, black 0%, transparent 60%);
    mask-image: radial-gradient(ellipse 100% 100% at 100% 100%, black 0%, transparent 60%);
    z-index: 0;
}

.organic-topo-dark > * {
    position: relative;
    z-index: 1;
}

/* === ALTERNATE DIAGONAL: top-right + bottom-left === */

/* White bg variant — alternate diagonal */
.organic-topo-margins-alt {
    position: relative;
    overflow: hidden;
}

.organic-topo-margins-alt::before {
    content: '' !important;
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 60%;
    pointer-events: none;
    opacity: 1;
    background-image: url('../media/ancalagon/topo_graphic.svg');
    background-position: top right;
    background-size: 130% auto;
    background-repeat: no-repeat;
    -webkit-mask-image: radial-gradient(ellipse 100% 100% at 100% 0%, black 0%, transparent 60%);
    mask-image: radial-gradient(ellipse 100% 100% at 100% 0%, black 0%, transparent 60%);
    z-index: 0;
}

.organic-topo-margins-alt::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 60%;
    pointer-events: none;
    opacity: 1;
    background-image: url('../media/ancalagon/topo_graphic.svg');
    background-position: bottom left;
    background-size: 130% auto;
    background-repeat: no-repeat;
    -webkit-mask-image: radial-gradient(ellipse 100% 100% at 0% 100%, black 0%, transparent 60%);
    mask-image: radial-gradient(ellipse 100% 100% at 0% 100%, black 0%, transparent 60%);
    z-index: 0;
}

.organic-topo-margins-alt > * {
    position: relative;
    z-index: 1;
}

/* Dark bg variant — alternate diagonal */
.organic-topo-dark-alt {
    position: relative;
    overflow: hidden;
}

.organic-topo-dark-alt::before {
    content: '' !important;
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 60%;
    pointer-events: none;
    opacity: 1 !important;
    background-image: url('../media/ancalagon/topo_graphic_light.svg') !important;
    background-position: top right;
    background-size: 130% auto !important;
    background-repeat: no-repeat !important;
    -webkit-mask-image: radial-gradient(ellipse 100% 100% at 100% 0%, black 0%, transparent 60%);
    mask-image: radial-gradient(ellipse 100% 100% at 100% 0%, black 0%, transparent 60%);
    z-index: 0;
}

.organic-topo-dark-alt::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 60%;
    pointer-events: none;
    opacity: 1;
    background-image: url('../media/ancalagon/topo_graphic_light.svg');
    background-position: bottom left;
    background-size: 130% auto;
    background-repeat: no-repeat;
    -webkit-mask-image: radial-gradient(ellipse 100% 100% at 0% 100%, black 0%, transparent 60%);
    mask-image: radial-gradient(ellipse 100% 100% at 0% 100%, black 0%, transparent 60%);
    z-index: 0;
}

.organic-topo-dark-alt > * {
    position: relative;
    z-index: 1;
}


/* 3rd topo element — positioned mid-right or mid-left */
.topo-accent {
    position: absolute;
    width: 35%;
    height: 45%;
    pointer-events: none;
    background-image: url('../media/ancalagon/topo_graphic.svg');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 0;
}

.topo-accent.mid-right {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-position: center right;
    -webkit-mask-image: radial-gradient(ellipse 100% 100% at 100% 50%, black 0%, transparent 60%);
    mask-image: radial-gradient(ellipse 100% 100% at 100% 50%, black 0%, transparent 60%);
}

.topo-accent.mid-left {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-position: center left;
    -webkit-mask-image: radial-gradient(ellipse 100% 100% at 0% 50%, black 0%, transparent 60%);
    mask-image: radial-gradient(ellipse 100% 100% at 0% 50%, black 0%, transparent 60%);
}

.topo-accent.dark {
    background-image: url('../media/ancalagon/topo_graphic_light.svg');
}


/* ============================================
   DEMO FORM — REDESIGNED
   ============================================ */

.demo-form-wrapper,
.careers-form-wrapper {
    position: relative;
    overflow: hidden;
}

.demo-form-group {
    margin-bottom: 28px;
    position: relative;
}

.demo-form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.demo-form-group:focus-within .demo-form-label {
    color: #ffffff;
}

/* Custom Select Component (Tactical Dark Theme) */
.custom-select-wrapper {
    position: relative;
    user-select: none;
}

.custom-select-trigger {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-family: var(--font-primary);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-select-trigger:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.custom-select-wrapper.open .custom-select-trigger {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.custom-select-arrow {
    transition: transform 0.3s ease;
}

.custom-select-wrapper.open .custom-select-arrow {
    transform: rotate(180deg);
}

.custom-select-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.9);
}

.custom-select-wrapper.open .custom-select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-select-option {
    padding: 14px 16px;
    font-size: 15px;
    color: #cccccc;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.custom-select-option:hover,
.custom-select-option.selected {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.demo-form-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-family: var(--font-primary);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.22);
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    letter-spacing: 0.5px;
}

.demo-form-input:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.demo-form-input:focus {
    border-color: var(--red-accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.12);
}

.demo-form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.demo-form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.demo-form-select option {
    background: #1a1a1a;
    color: #ffffff;
    padding: 12px;
}

.demo-form-textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 240px;
    line-height: 1.6;
}

/* Submit Button */
.demo-submit-btn {
    width: 100%;
    padding: 18px 36px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: var(--font-primary);
    color: #ffffff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.demo-submit-btn::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 6px;
    height: 6px;
    border-top: 2px solid var(--red-accent);
    border-left: 2px solid var(--red-accent);
    transition: all 0.25s ease;
}

.demo-submit-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 6px;
    height: 6px;
    border-bottom: 2px solid var(--red-accent);
    border-right: 2px solid var(--red-accent);
    transition: all 0.25s ease;
}

.demo-submit-btn:hover {
    background: rgba(196, 30, 30, 0.12);
    border-color: rgba(196, 30, 30, 0.6);
    box-shadow: 0 0 20px rgba(196, 30, 30, 0.15);
}

.demo-submit-btn:hover::before,
.demo-submit-btn:hover::after {
    width: 10px;
    height: 10px;
    border-color: #ffffff;
}

.demo-submit-btn:active {
    transform: scale(0.98);
}

.demo-submit-loading {
    display: none;
    align-items: center;
    gap: 10px;
}

.demo-submit-btn.loading .demo-submit-text {
    display: none;
}

.demo-submit-btn.loading .demo-submit-loading {
    display: flex;
}

.demo-submit-btn.loading {
    pointer-events: none;
    border-color: rgba(255, 77, 77, 0.4);
}

/* Success Overlay */
.demo-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 10;
}

.demo-success-overlay.active {
    opacity: 1;
    visibility: visible;
}

.demo-success-content {
    text-align: center;
    padding: 40px;
}

.demo-success-icon {
    margin-bottom: 28px;
}

.demo-success-overlay.active .demo-success-circle {
    animation: drawCircle 0.8s 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.demo-success-overlay.active .demo-success-check {
    animation: drawCheck 0.4s 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes drawCircle {
    to { stroke-dashoffset: 0; }
}

@keyframes drawCheck {
    to { stroke-dashoffset: 0; }
}

.demo-success-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 12px;
}

.demo-success-desc {
    font-size: 15px;
    color: #999;
    line-height: 1.6;
    max-width: 340px;
    margin: 0 auto 32px;
}

.demo-reset-btn {
    padding: 12px 32px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: var(--font-primary);
    color: #888;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: all 0.2s ease;
}

.demo-reset-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}


/* ============================================
   CAREERS STATUS BADGE
   ============================================ */

.careers-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #888;
    padding: 10px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.careers-status-dot {
    width: 8px;
    height: 8px;
    background: #555;
    border-radius: 50%;
    animation: statusPulse 2.5s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 0.4; background: #555; }
    50% { opacity: 1; background: #888; }
}

/* Big Company Logo Watermark */
.hero-watermark-bg {
    position: absolute;
    top: 45%;
    left: -2%;
    transform: translateY(-50%);
    width: 680px;
    height: auto;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
    filter: brightness(0) invert(1);
}

.demo-hero-section {
    position: relative;
    padding: 160px 80px 100px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.demo-layout-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.demo-info-panel h1 {
    font-size: clamp(38px, 4.5vw, 60px);
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 24px;
}

.demo-info-panel p.demo-lead {
    font-size: 20px;
    color: #e5e5e5;
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 540px;
}

.demo-specs-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 36px 0;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-spec-item {
    font-size: 13px;
    color: #bbbbbb;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1px;
}

.demo-spec-item::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--red-accent);
}

@media (max-width: 1024px) {
    .demo-hero-section {
        padding: 120px 40px 80px;
    }
    .demo-layout-grid {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .demo-hero-section {
        padding: 100px 20px 60px;
        min-height: auto;
        display: block;
    }

    .demo-layout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .demo-info-panel h1 {
        font-size: clamp(32px, 8vw, 48px);
        margin-bottom: 16px;
    }

    .demo-info-panel h2 {
        font-size: clamp(20px, 5vw, 26px) !important;
        margin-bottom: 16px !important;
    }

    .demo-info-panel p.demo-lead {
        font-size: 16px;
        margin-bottom: 24px;
        max-width: 100%;
    }

    .demo-form-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .hero-watermark-bg {
        width: 90vw;
        max-width: 360px;
        left: -5%;
        top: 25%;
        opacity: 0.03;
    }
}

/* ============================================
   HERO LANDING REDESIGN — SLEEK, MINIMAL & PROFESSIONAL
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.2) 40%,
        rgba(0, 0, 0, 0.55) 100%
    );
    z-index: 2;
    pointer-events: auto; /* Traps right clicks so video underneath cannot be downloaded */
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Modifier for main landing page */
.hero-content.hero-content-left {
    text-align: left;
    align-items: flex-start;
}

.hero-brand-label {
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    display: block;
}

.hero-tagline {
    font-family: var(--font-primary);
    font-size: clamp(40px, 5.5vw, 76px);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: normal;
    color: #ffffff;
    margin-bottom: 40px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

.hero-tagline span {
    display: block;
    text-align: center;
}

.hero-content.hero-content-left .hero-tagline span {
    text-align: left;
}

.hero-action-row {
    display: flex;
    align-items: center;
}

.btn-hero {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #000000;
    background: #e0e0e0;
    border: none;
    padding: 16px 40px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    border-radius: 0;
}

.btn-hero:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
}

.objective-action-mobile {
    display: none;
}

/* ============================================
   MOBILE & TABLET RESPONSIVE OVERRIDES (Issues 1-8)
   ============================================ */
@media (max-width: 768px) {
    /* Move Explore Systems button below the Pioneering statement on mobile */
    .objective-action-mobile {
        display: flex !important;
        justify-content: center !important;
        margin-top: 36px !important;
    }

    .objective-action-mobile .btn-hero {
        padding: 14px 32px !important;
        font-size: 13px !important;
        letter-spacing: 2px !important;
        width: 100% !important;
        max-width: 280px !important;
        text-align: center !important;
    }

    .objective-section {
        padding: 60px 20px 40px 20px !important;
    }
    /* Mobile Header: Sleek 64px solid bar at top */
    .site-header,
    body.commercial-page .site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 64px !important;
        background: rgba(0, 0, 0, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        z-index: 1000 !important;
    }
    body.commercial-page .site-header .header-logo-text {
        color: #ffffff !important;
    }
    body.commercial-page .site-header .menu-toggle span {
        background: #ffffff !important;
    }

    /* Mobile Hero: 16:9 aspect-ratio directly below header, followed immediately by next section */
    .hero {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 16 / 9 !important;
        margin: 64px 0 0 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #000000 !important;
    }

    .hero-video-wrap,
    .hero-overlay,
    .hero .topo-pattern,
    .orc-hero-overlay,
    .orc-static-overlay {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .hero-video-wrap video {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    /* Ensure hero content fits nicely */
    .hero-content {
        position: relative !important;
        z-index: 3 !important;
        width: 100% !important;
        height: 100% !important;
        padding: 10px 16px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }

    /* Hide landing page hero text and duplicate button on mobile to remove clutter */
    .home-hero-content,
    .hero-content.home-hero-content,
    .hero .home-hero-content {
        display: none !important;
    }

    .hero-content.hero-content-left {
        align-items: center !important;
        text-align: center !important;
    }

    .hero-brand-label {
        font-size: 10px !important;
        letter-spacing: 2px !important;
        margin-bottom: 4px !important;
    }

    .hero-tagline {
        font-size: clamp(16px, 4.8vw, 24px) !important;
        line-height: 1.15 !important;
        margin-bottom: 10px !important;
        text-align: center !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9) !important;
    }

    .hero-tagline span {
        text-align: center !important;
    }

    .hero-action-row {
        justify-content: center !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .btn-hero {
        padding: 8px 18px !important;
        font-size: 11px !important;
        letter-spacing: 1.5px !important;
        width: auto !important;
        max-width: 200px !important;
        text-align: center !important;
    }

    .page-hero-label {
        font-size: 10px !important;
        letter-spacing: 3px !important;
        margin-bottom: 4px !important;
    }
    
    /* Global Section Spacing */
    .section {
        padding: 60px 20px !important;
    }
    .section-title {
        font-size: clamp(28px, 6vw, 40px) !important;
    }
    
    /* Issue 1: 2x2 grids (Core Systems) collapse to 1 column and move KNOW MORE below description */
    .systems-grid-2x2 {
        grid-template-columns: 1fr !important;
    }
    .grid-2x2-cell {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding: 40px 20px !important;
    }
    .bg-white .grid-2x2-cell {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    }
    .grid-2x2-cell:last-child {
        border-bottom: none !important;
    }
    .grid-2x2-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .grid-2x2-meta {
        display: contents !important;
    }
    .grid-2x2-content h3 {
        order: 1 !important;
        margin-bottom: 12px !important;
        font-size: clamp(28px, 6.5vw, 36px) !important;
        width: 100% !important;
    }
    .grid-2x2-content p {
        order: 2 !important;
        margin-bottom: 20px !important;
        font-size: 16px !important;
        line-height: 1.55 !important;
        width: 100% !important;
    }
    .grid-2x2-content .grid-2x2-btn {
        order: 3 !important;
        align-self: flex-start !important;
        margin-top: 0 !important;
        padding: 12px 28px !important;
        font-size: 14px !important;
        display: inline-block !important;
    }
    
    /* Ensure page hero titles don't overflow */
    .page-hero-title {
        font-size: clamp(32px, 8vw, 48px) !important;
    }
    
    /* Issue 5: Compact, modern, space-efficient Footer on mobile */
    .site-footer {
        padding: 48px 20px 32px !important;
    }
    .footer-top {
        flex-direction: column !important;
        gap: 36px !important;
    }
    .footer-brand {
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .footer-brand-desc {
        font-size: 16px !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
        max-width: 100% !important;
    }
    .footer-actions-vertical {
        max-width: 100% !important;
        gap: 10px !important;
    }
    .footer-action-btn {
        padding: 12px 20px !important;
        font-size: 14px !important;
    }
    .footer-nav-columns-wrap {
        min-width: 0 !important;
        width: 100% !important;
    }
    .footer-links {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px 10px !important;
        width: 100% !important;
    }
    .footer-col {
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .footer-col h4 {
        font-size: 12px !important;
        letter-spacing: 2px !important;
        margin-bottom: 12px !important;
    }
    .footer-col a {
        font-size: 13px !important;
        margin-bottom: 8px !important;
        white-space: nowrap !important;
    }
    .footer-email-block {
        margin-top: 24px !important;
        padding-top: 20px !important;
        border-top: 1px solid #eeeeee !important;
    }
    .footer-email-text {
        font-size: clamp(16px, 5.2vw, 22px) !important;
        letter-spacing: 0.5px !important;
    }
    .footer-bottom {
        margin-top: 36px !important;
        padding-top: 20px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .footer-bottom-links {
        gap: 14px 20px !important;
    }
    
    /* Tactile buttons centering */
    .btn-primary, .btn-outline, .btn-demo {
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    /* Extra constraints for very small screens */
    .grid-4, .grid-3, .grid-2 {
        gap: 24px !important;
    }
    .btn-primary, .btn-outline {
        padding: 14px 20px !important;
        width: 100%;
        text-align: center;
    }
    .stats-row {
        gap: 24px !important;
    }
    .stat-number {
        font-size: 32px !important;
    }
}



