/* 
  ALCUB3 Quiet Luxury Design System v3.1
  Precision Engineering Edition
  
  Structure:
  0. Design Tokens
  1. Reset & Base
  2. Typography
  3. Layout
  4. Sections
  5. Header & Navigation
  6. Components
  7. Footer
  8. Utilities
  9. Animations
  10. Responsive
*/

/* ═══════════════════════════════════════════════════════════════════════════════
   0. DESIGN TOKENS
   ═══════════════════════════════════════════════════════════════════════════════ */

:root {
    /* Color Tokens */
    --color-crimson-deep: #991B1B;
    --color-crimson: #DC2626;
    --color-orange: #F97316;
    --color-amber-glow: #FEF08A;

    --color-black: #000000;
    --color-black-deep: #050505;
    --color-charcoal: #171717;
    --color-slate: #262626;

    --color-white: #FFFFFF;
    --color-white-soft: #FAFAFA;
    --color-muted: #A3A3A3;
    --color-dim: #737373;
    --color-ghost: #525252;

    /* Spacing Tokens */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;
    --space-32: 128px;

    /* Animation Tokens */
    --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-cinematic: cubic-bezier(0.19, 1, 0.22, 1);
    --duration-standard: 200ms;
    --duration-complex: 600ms;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   1. RESET & BASE
   ═══════════════════════════════════════════════════════════════════════════════ */

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Global box-sizing for consistent layout */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    background-color: var(--color-black);
    color: var(--color-white-soft);
    font-family: 'Source Serif 4', serif;
    font-size: 18px;
    line-height: 1.7;
    margin: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Film Grain Overlay */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Page Load Animation */
main {
    animation: pageIn 0.8s var(--ease-cinematic);
}

@keyframes pageIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Selection Styling */
::selection {
    background: rgba(220, 38, 38, 0.3);
    color: var(--color-white);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--color-slate);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-ghost);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   2. TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════════════════ */

h1,
h2,
h3,
h4,
.inter-font {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: -0.02em;
    margin: 0;
}

/* Scale */
.display-xl {
    font-size: clamp(3.5rem, 8vw, 5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.display {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.h1 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    line-height: 1.2;
}

.h2 {
    font-size: 1.5rem;
    line-height: 1.3;
}

.body-large {
    font-size: 1.125rem;
    /* 18px */
    line-height: 1.6;
}

.body {
    font-size: 1rem;
    /* 16px */
    line-height: 1.65;
}

.text-sm {
    font-size: 0.875rem;
    /* 14px */
}

/* Hero Typography */
.hero-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-crimson);
    margin-bottom: var(--space-6);
    display: block;
}

.hero-headline {
    font-size: clamp(3rem, 8vw, 5.5rem);
    max-width: 14ch;
    margin: 0 auto var(--space-8);
    line-height: 1;
    letter-spacing: -0.04em;
}

/* Cipher Text Animation - Start hidden, JavaScript will reveal */
.cipher-text {
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-muted);
    max-width: 700px;
    margin: 0 auto var(--space-12);
}

/* Section Typography */
.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-crimson);
    margin-bottom: var(--space-4);
}

.section-headline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-muted);
    max-width: 600px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

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

.text-right {
    text-align: right;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   3. LAYOUT
   ═══════════════════════════════════════════════════════════════════════════════ */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-wide {
    max-width: 1440px;
}

.container-narrow {
    max-width: 800px;
}

/* WordPress Column Support */
.wp-block-columns {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-10);
    align-items: stretch;
}

.wp-block-column {
    flex: 1;
    min-width: 300px;
}

/* Grids */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 200px 200px;
    column-gap: var(--space-8);
    row-gap: var(--space-10);
}

.bento-large {
    grid-column: span 8;
    grid-row: span 2;
    padding: var(--space-10);
}

.bento-medium {
    grid-column: span 4;
    grid-row: span 1;
    padding: var(--space-8);
}

.bento-small {
    grid-column: span 4;
    grid-row: span 1;
    padding: var(--space-8);
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(8, 1fr);
        grid-auto-rows: 180px;
    }
    .bento-large {
        grid-column: span 8;
    }
    .bento-medium,
    .bento-small {
        grid-column: span 4;
    }
}

@media (max-width: 640px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: var(--space-6);
    }
    .bento-large,
    .bento-medium,
    .bento-small {
        grid-column: span 1;
        grid-row: span 1;
        padding: var(--space-8);
    }
}

.credential-bar {
    display: flex;
    justify-content: center;
    gap: var(--space-10);
    flex-wrap: wrap;
    opacity: 0.5;
}

.credential-item {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   4. SECTIONS
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Hero Variants */
.section-hero,
.section-hero-lg,
.section-hero-md,
.section-hero-sm,
.section-hero-full {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--space-20) var(--space-6);
    text-align: center;
    width: 100%;
}

.section-hero,
/* Default to full height on home */
.section-hero-full {
    min-height: 100vh;
}

.section-hero-lg {
    min-height: 80vh;
}

.section-hero-md {
    min-height: 70vh;
}

.section-hero-sm {
    min-height: 60vh;
}

.hero-content {
    z-index: 2;
    position: relative;
    width: 100%;
    max-width: 1000px;
}

/* Standard Sections */
.section-std {
    padding: var(--space-20) 0;
    position: relative;
}

.section-full {
    width: 100%;
    position: relative;
    padding: 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-header-left {
    text-align: left;
    margin-bottom: var(--space-12);
}

/* Backgrounds */
.bg-charcoal {
    background-color: var(--color-black-deep);
}

.bg-black {
    background-color: var(--color-black);
}

/* Blueprint Grid */
.blueprint-grid {
    position: relative;
    overflow: hidden;
}

.blueprint-grid::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-10);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    opacity: 0.4;
    animation: pulse 2s ease-in-out infinite;
    z-index: 20;
}

.scroll-text {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--color-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-muted), transparent);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.4;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 0.8;
        transform: translateX(-50%) translateY(6px);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   5. HEADER & NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════════ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--space-6) var(--space-10);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s var(--ease-standard);
    /* Subtle default background for all pages */
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Scrolled state - slightly darker */
.site-header.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: var(--space-4) var(--space-10);
}

.site-logo {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.02em;
    text-decoration: none;
    background: linear-gradient(90deg, var(--color-crimson), var(--color-orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.site-nav {
    display: flex;
    gap: var(--space-4);
    align-items: center;
    flex-wrap: nowrap;
}

.site-nav a {
    position: relative;
    color: #fff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    opacity: 0.7;
    transition: opacity 0.2s;
    white-space: nowrap;
}

/* Nav CTA button */
.nav-cta {
    background: var(--color-crimson);
    padding: 8px 16px;
    border-radius: 4px;
    opacity: 1 !important;
    font-size: 11px;
    letter-spacing: 0.5px;
    margin-left: var(--space-2);
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-cta:hover {
    background: var(--color-crimson-dark, #b91c1c);
}

.site-nav a:hover,
.site-nav a.active {
    opacity: 1;
}

.site-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--color-crimson);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-crimson);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1002;
}

.mobile-nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 6px 0;
    transition: all 0.3s;
}

/* Mobile Navigation Drawer */
@media (max-width: 768px) {
    .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        background: #000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-8);
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-cinematic);
        z-index: 1001;
    }

    .site-nav.active {
        transform: translateX(0);
    }

    .mobile-nav-toggle {
        display: block;
    }

    .mobile-nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

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

    .mobile-nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .site-nav a {
        font-size: 24px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   6. COMPONENTS
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Buttons */
.cta-group {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    margin-top: var(--space-8);
}

.btn-primary {
    background: transparent;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 20px 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-cinematic);
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--color-crimson);
    transition: width 0.5s var(--ease-cinematic);
    z-index: -1;
}

.btn-primary:hover {
    letter-spacing: 5px;
    border-color: var(--color-crimson);
}

.btn-primary:hover::before {
    width: 100%;
}

/* Cards */
.quiet-card {
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* sharper border */
    border-radius: 0;
    padding: var(--space-10);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-standard);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.quiet-card:hover {
    transform: translateY(-6px);
    border-color: rgba(220, 38, 38, 0.4);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(220, 38, 38, 0.2);
    background: rgba(15, 15, 15, 0.8);
}

.interactive-card {
    text-decoration: none;
    display: block;
}

/* OpCo/Agent Cards */
.opco-card {
    background: #0A0A0A;
    border: 1px solid #222;
    padding: var(--space-8);
    transition: all 0.3s;
    position: relative;
}

.opco-card:hover {
    border-color: var(--color-crimson);
    background: #111;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-crimson);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-crimson);
    display: inline-block;
    margin-left: 8px;
}

/* Blog Tabs */
.blog-tabs {
    display: flex;
    gap: var(--space-8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--space-12);
    overflow-x: auto;
}

.blog-tab {
    text-decoration: none;
    color: var(--color-muted);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding-bottom: var(--space-4);
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    white-space: nowrap;
}

.blog-tab.active,
.blog-tab:hover {
    color: var(--color-white);
    border-bottom-color: var(--color-crimson);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   7. FOOTER
   ═══════════════════════════════════════════════════════════════════════════════ */

.site-footer {
    background: #000;
    padding: 0 0 var(--space-10) 0;
    position: relative;
    margin-top: auto;
}

.footer-wave {
    width: 100%;
    height: 60px;
    display: block;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--space-12) var(--space-10);
    flex-wrap: wrap;
    gap: var(--space-10);
    border-bottom: 1px solid #111;
}

.footer-brand {
    flex: 0 0 auto;
}

.footer-nav {
    display: flex;
    gap: var(--space-16);
    flex-wrap: wrap;
}

.footer-nav-group h4 {
    font-size: 11px;
    color: var(--color-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-6);
}

.footer-nav-group a {
    display: block;
    color: var(--color-muted);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: var(--space-3);
    transition: color 0.2s;
}

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

.footer-cta {
    text-align: right;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-6) var(--space-10);
    font-size: 12px;
    color: var(--color-dim);
    font-family: 'Inter', sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 1280px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-legal {
    display: flex;
    gap: var(--space-6);
}

.footer-legal a {
    color: var(--color-dim);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--color-muted);
}

@media (max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--space-4);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   8. UTILITIES
   ═══════════════════════════════════════════════════════════════════════════════ */

.text-crimson {
    color: var(--color-crimson);
}

.text-muted {
    color: var(--color-muted);
}

.text-white {
    color: var(--color-white);
}

.d-block {
    display: block;
}

.contact-form-column {
    flex: 1.5;
}

.mb-sm {
    margin-bottom: var(--space-4);
}

.mb-md {
    margin-bottom: var(--space-8);
}

.mb-lg {
    margin-bottom: var(--space-12);
}

.mb-xl {
    margin-bottom: var(--space-20);
}

.mt-sm {
    margin-top: var(--space-4);
}

.mt-md {
    margin-top: var(--space-8);
}

.mt-lg {
    margin-top: var(--space-12);
}

.pt-0 {
    padding-top: 0;
}

.pb-0 {
    padding-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   9. ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════════ */

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-cinematic) forwards;
}

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

/* View Transitions API - Page Transitions */
@supports (view-transition-name: root) {
    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation-duration: 800ms;
        animation-timing-function: var(--ease-cinematic);
        mix-blend-mode: normal;
    }

    ::view-transition-new(root) {
        animation-name: expand-circle;
    }

    ::view-transition-old(root) {
        animation-name: shrink-circle;
    }
}

@keyframes expand-circle {
    from {
        clip-path: circle(0% at var(--click-x, 50%) var(--click-y, 50%));
        opacity: 0;
    }
    to {
        clip-path: circle(150% at var(--click-x, 50%) var(--click-y, 50%));
        opacity: 1;
    }
}

@keyframes shrink-circle {
    from {
        clip-path: circle(150% at var(--click-x, 50%) var(--click-y, 50%));
        opacity: 1;
    }
    to {
        clip-path: circle(0% at var(--click-x, 50%) var(--click-y, 50%));
        opacity: 0;
    }
}

/* Boot Sequence Overlay */
.boot-overlay {
    position: fixed;
    inset: 0;
    background: var(--color-black);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.boot-terminal {
    font-family: var(--font-mono);
    color: var(--color-crimson);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.boot-cursor {
    display: inline-block;
    width: 12px;
    height: 24px;
    background: var(--color-crimson);
    animation: cursor-blink 800ms infinite;
}

@keyframes cursor-blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.boot-text {
    white-space: nowrap;
    font-weight: 500;
    letter-spacing: 2px;
}

.boot-tear {
    animation: boot-tear 800ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes boot-tear {
    from {
        clip-path: circle(0% at 50% 50%);
    }
    to {
        clip-path: circle(150% at 50% 50%);
    }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-crimson), var(--color-orange));
    transform-origin: left;
    transform: scaleX(0);
    z-index: 1000;
    will-change: transform;
    transition: box-shadow 200ms;
}

.scroll-progress.milestone-pulse {
    box-shadow: 0 0 20px var(--color-crimson);
}

/* Parallax Layers */
[data-parallax] {
    will-change: transform;
}

/* Staggered Content Reveals */
.stagger-reveal > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 600ms var(--ease-cinematic),
                transform 600ms var(--ease-cinematic);
}

.stagger-reveal.in-view > * {
    opacity: 1;
    transform: translateY(0);
}

.stagger-reveal.in-view > *:nth-child(1) { transition-delay: 0ms; }
.stagger-reveal.in-view > *:nth-child(2) { transition-delay: 100ms; }
.stagger-reveal.in-view > *:nth-child(3) { transition-delay: 200ms; }
.stagger-reveal.in-view > *:nth-child(4) { transition-delay: 300ms; }
.stagger-reveal.in-view > *:nth-child(5) { transition-delay: 400ms; }
.stagger-reveal.in-view > *:nth-child(6) { transition-delay: 500ms; }

/* Blueprint Grid Animations */
.blueprint-grid svg line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

.blueprint-grid.in-view svg line {
    animation: draw-line 2s ease-out forwards;
}

@keyframes draw-line {
    to {
        stroke-dashoffset: 0;
    }
}

.blueprint-grid svg line:nth-child(1) { animation-delay: 0ms; }
.blueprint-grid svg line:nth-child(2) { animation-delay: 100ms; }
.blueprint-grid svg line:nth-child(3) { animation-delay: 200ms; }
.blueprint-grid svg line:nth-child(4) { animation-delay: 300ms; }

/* 3D Flip Credentials Cards */
.trust-badge {
    perspective: 1000px;
    cursor: pointer;
    transition: transform 300ms var(--ease-standard);
    position: relative;
}

.trust-badge:hover {
    transform: rotateY(5deg) rotateX(5deg);
}

.trust-badge.flipped .badge-front {
    transform: rotateY(180deg);
}

.trust-badge.flipped .badge-back {
    transform: rotateY(0deg);
}

.badge-front,
.badge-back {
    backface-visibility: hidden;
    transition: transform 600ms var(--ease-cinematic);
}

.badge-back {
    position: absolute;
    inset: 0;
    transform: rotateY(-180deg);
    background: rgba(0, 0, 0, 0.95);
    padding: 1rem;
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 1px solid var(--color-crimson);
    border-radius: 8px;
}

.badge-back h4 {
    color: var(--color-crimson);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.badge-back p {
    color: var(--color-white-soft);
    line-height: 1.4;
}

/* Reduced Motion Overrides */
@media (prefers-reduced-motion: reduce) {
    .boot-overlay,
    ::view-transition-old(root),
    ::view-transition-new(root),
    .scroll-progress,
    [data-parallax],
    .stagger-reveal > *,
    .blueprint-grid svg line {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   10. RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }

    .bento-large,
    .bento-medium,
    .bento-small {
        grid-column: span 1;
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .section-hero {
        padding-top: var(--space-32);
        justify-content: flex-start;
    }

    .hero-headline {
        font-size: 3.5rem;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-nav {
        flex-direction: column;
        gap: var(--space-10);
    }

    .footer-cta {
        text-align: left;
        margin-top: var(--space-8);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   11. NAVIGATION DROPDOWNS
   ═══════════════════════════════════════════════════════════════════════════════ */

.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    opacity: 0.7;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.nav-dropdown-trigger:hover {
    opacity: 1;
}

.nav-dropdown-trigger svg {
    width: 10px;
    height: 10px;
    stroke: currentColor;
    stroke-width: 1.5;
    transition: transform 0.3s var(--ease-standard);
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 180px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-standard);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--color-muted);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s var(--ease-standard);
    position: relative;
    overflow: hidden;
}

.nav-dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--color-crimson);
    border-radius: 0 2px 2px 0;
    transition: height 0.2s var(--ease-standard);
}

.nav-dropdown-menu a:hover {
    color: var(--color-white);
    background: rgba(220, 38, 38, 0.1);
}

.nav-dropdown-menu a:hover::before {
    height: 16px;
}

.nav-dropdown-menu a.active {
    color: var(--color-white);
    background: rgba(220, 38, 38, 0.15);
}

.nav-dropdown-menu a.active::before {
    height: 16px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   12. TRUST SIGNALS SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */

.section-trust-signals {
    padding: var(--space-16) 0;
    background: linear-gradient(180deg, var(--color-black-deep) 0%, var(--color-black) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-signals-container {
    text-align: center;
}

.trust-badge-row {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    flex-wrap: wrap;
    margin-bottom: var(--space-8);
}

.trust-badge {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-white);
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
}

.trust-caption {
    color: var(--color-muted);
    font-size: 14px;
    margin-bottom: var(--space-4);
}

.trust-link {
    color: var(--color-crimson);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.trust-link:hover {
    opacity: 0.8;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   13. SOLUTIONS GRID
   ═══════════════════════════════════════════════════════════════════════════════ */

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}

.solution-card-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.solution-icon {
    width: 48px;
    height: 48px;
    stroke: var(--color-crimson);
    stroke-width: 1.5;
    fill: none;
    margin-bottom: var(--space-6);
    transition: transform 0.3s var(--ease-standard);
}

.solution-card-link:hover .solution-icon {
    transform: scale(1.1);
}

.solution-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-crimson);
    margin-bottom: var(--space-3);
    display: block;
}

.solution-text {
    color: var(--color-muted);
    font-size: 15px;
    line-height: 1.6;
    flex-grow: 1;
}

.solution-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    margin-top: var(--space-6);
    transition: gap 0.3s var(--ease-standard);
}

.solution-cta svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.solution-card-link:hover .solution-cta {
    gap: 12px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   18. SOLUTION PAGE HEROES (Netflix-Style)
   ═══════════════════════════════════════════════════════════════════════════════ */

.solution-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: var(--space-32) var(--space-6);
}

.solution-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.solution-hero--commercial .solution-hero-bg {
    background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(201, 162, 39, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse 60% 40% at 30% 70%, rgba(201, 162, 39, 0.08) 0%, transparent 50%),
                var(--color-black);
}

.solution-hero--enterprise .solution-hero-bg {
    background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(220, 38, 38, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse 60% 40% at 70% 60%, rgba(220, 38, 38, 0.08) 0%, transparent 50%),
                var(--color-black);
}

.solution-hero--government .solution-hero-bg {
    background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(74, 85, 104, 0.2) 0%, transparent 60%),
                radial-gradient(ellipse 60% 40% at 30% 70%, rgba(74, 85, 104, 0.1) 0%, transparent 50%),
                var(--color-black);
}

.solution-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.solution-badge {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: var(--space-8);
    animation: fadeInBadge 0.8s var(--ease-cinematic) forwards;
    opacity: 0;
}

.solution-hero--commercial .solution-badge {
    color: #C9A227;
    border-color: rgba(201, 162, 39, 0.3);
}

.solution-hero--enterprise .solution-badge {
    color: var(--color-crimson);
    border-color: rgba(220, 38, 38, 0.3);
}

.solution-hero--government .solution-badge {
    color: #4A5568;
    border-color: rgba(74, 85, 104, 0.4);
}

@keyframes fadeInBadge {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.solution-headline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-8);
}

.solution-headline .line {
    display: block;
    overflow: hidden;
}

.solution-headline .line-1 {
    animation: revealLine 0.8s var(--ease-cinematic) 0.2s forwards;
    opacity: 0;
    transform: translateY(100%);
}

.solution-headline .line-2 {
    animation: revealLine 0.8s var(--ease-cinematic) 0.4s forwards;
    opacity: 0;
    transform: translateY(100%);
}

@keyframes revealLine {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.solution-tagline {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--color-muted);
    max-width: 600px;
    margin: 0 auto var(--space-10);
    animation: revealLine 0.8s var(--ease-cinematic) 0.6s forwards;
    opacity: 0;
}

.solution-cta-group {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    animation: slideUpCta 0.8s var(--ease-cinematic) 0.8s forwards;
    opacity: 0;
}

@keyframes slideUpCta {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-large {
    padding: 18px 36px;
    font-size: 14px;
}

.btn-ghost {
    background: transparent;
    color: var(--color-white);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 18px 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: all 0.3s var(--ease-standard);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   19. INDUSTRY CARDS (Commercial Page)
   ═══════════════════════════════════════════════════════════════════════════════ */

.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

@media (max-width: 1024px) {
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .industry-grid {
        grid-template-columns: 1fr;
    }
}

.industry-card {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-8);
    transition: all 0.3s var(--ease-standard);
}

.industry-card:hover {
    border-color: rgba(201, 162, 39, 0.3);
    transform: translateY(-4px);
}

.industry-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
}

.industry-headline {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-3);
}

.industry-text {
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.industry-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.industry-features li {
    color: var(--color-muted);
    font-size: 13px;
    padding-left: 16px;
    position: relative;
    margin-bottom: 6px;
}

.industry-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #C9A227;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   20. PROCESS TIMELINE
   ═══════════════════════════════════════════════════════════════════════════════ */

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}

@media (max-width: 1024px) {
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .process-timeline {
        grid-template-columns: 1fr;
    }
}

.process-step {
    padding-left: var(--space-6);
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.process-number {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #C9A227;
    margin-bottom: var(--space-3);
}

.process-headline {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-2);
}

.process-text {
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Enterprise Process (larger format) */
.enterprise-process {
    gap: var(--space-10);
}

.process-step-lg {
    padding: var(--space-8);
    background: rgba(10, 10, 10, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid var(--color-crimson);
}

.process-step-lg .process-number {
    font-size: 3rem;
    color: var(--color-crimson);
}

.process-duration {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--color-dim);
    margin-top: var(--space-4);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   21. GOVERNMENT CAPABILITIES
   ═══════════════════════════════════════════════════════════════════════════════ */

.gov-capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

@media (max-width: 768px) {
    .gov-capabilities-grid {
        grid-template-columns: 1fr;
    }
}

.gov-capability {
    padding: var(--space-8);
    background: rgba(10, 10, 10, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid #4A5568;
    transition: all 0.3s var(--ease-standard);
}

.gov-capability:hover {
    border-left-color: var(--color-crimson);
    background: rgba(15, 15, 15, 0.6);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   22. ENHANCED FOOTER
   ═══════════════════════════════════════════════════════════════════════════════ */

.footer-gradient-border {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--color-crimson) 20%, 
        var(--color-orange) 50%, 
        var(--color-crimson) 80%, 
        transparent 100%);
    opacity: 0.6;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-16);
    padding: var(--space-16) var(--space-10);
    max-width: 1280px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
}

.footer-brand-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: flex-start;
}

.footer-logo {
    height: 48px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.footer-tagline {
    color: var(--color-muted);
    font-size: 14px;
    font-style: italic;
    margin-top: var(--space-2);
}

.footer-copyright {
    color: var(--color-dim);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   23. BLOG ARTICLE IMPROVEMENTS
   ═══════════════════════════════════════════════════════════════════════════════ */

.article-content .prose {
    font-family: 'Source Serif 4', serif;
    font-size: 1.2rem;
    line-height: 1.85;
    color: #ddd;
}

.article-content .prose p:first-of-type::first-letter {
    font-size: 4rem;
    font-weight: 600;
    float: left;
    line-height: 1;
    margin-right: 12px;
    margin-top: 4px;
    color: var(--color-crimson);
}

.article-content .prose h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    margin-top: var(--space-12);
    margin-bottom: var(--space-6);
    padding-left: var(--space-4);
    border-left: 3px solid var(--color-crimson);
}

.article-content .prose blockquote {
    border-left: none;
    background: rgba(220, 38, 38, 0.05);
    padding: var(--space-8);
    margin: var(--space-8) 0;
    font-style: italic;
    position: relative;
}

.article-content .prose blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--color-crimson);
    opacity: 0.3;
    position: absolute;
    top: -10px;
    left: 10px;
}

.article-meta {
    display: flex;
    gap: var(--space-6);
    color: var(--color-muted);
    font-size: 14px;
    flex-wrap: wrap;
}

.container-prose {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   24. NEWSLETTER SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */

.newsletter-section {
    padding: var(--space-20) var(--space-6);
    background: linear-gradient(180deg, var(--color-black) 0%, var(--color-black-deep) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.newsletter-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

@media (max-width: 768px) {
    .newsletter-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.newsletter-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.newsletter-badge {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-crimson);
}

.newsletter-headline {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-white);
}

.newsletter-text {
    color: var(--color-muted);
    font-size: 15px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.newsletter-input-group {
    display: flex;
    gap: 0;
}

.newsletter-input-group input {
    flex: 1;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-right: none;
    padding: 16px 20px;
    color: var(--color-white);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.newsletter-input-group input::placeholder {
    color: var(--color-dim);
}

.newsletter-input-group input:focus {
    outline: none;
    border-color: var(--color-crimson);
}

.newsletter-input-group button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-crimson);
    border: 1px solid var(--color-crimson);
    padding: 16px 24px;
    color: var(--color-white);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s var(--ease-standard);
}

.newsletter-input-group button:hover {
    background: var(--color-crimson-deep);
}

.newsletter-input-group button svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.newsletter-privacy {
    font-size: 12px;
    color: var(--color-dim);
}

.newsletter-privacy a {
    color: var(--color-muted);
    text-decoration: underline;
}

/* Simple newsletter form (existing style enhancement) */
.newsletter-form .quiet-input {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px 20px;
    color: var(--color-white);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    margin-right: var(--space-4);
}

.newsletter-form .quiet-input:focus {
    outline: none;
    border-color: var(--color-crimson);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form-row {
    display: flex;
    gap: 24px;
}

.contact-input {
    flex: 1;
    background: #000;
    border: 1px solid #333;
    padding: 16px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-size: 13px;
}

.contact-input:focus {
    outline: none;
    border-color: var(--color-crimson);
}

.contact-select {
    background: #000;
    border: 1px solid #333;
    padding: 16px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-size: 13px;
}

.contact-select:focus {
    outline: none;
    border-color: var(--color-crimson);
}

.contact-textarea {
    background: #000;
    border: 1px solid #333;
    padding: 16px;
    color: #fff;
    font-family: 'Source Serif 4', serif;
    font-size: 16px;
    resize: vertical;
}

.contact-textarea:focus {
    outline: none;
    border-color: var(--color-crimson);
}

.contact-form .btn-primary {
    align-self: flex-start;
}

/* Contact Info Cards */
.contact-card {
    height: auto;
}

.contact-card.mb-lg {
    margin-bottom: var(--space-8);
}

.contact-link {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-form-row {
        flex-direction: column;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   25. PLATFORM PAGE COMPONENTS
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Architecture Visualization */
.architecture-viz {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: var(--space-12) 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.floor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-6) var(--space-8);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s var(--ease-standard);
}

.floor:hover {
    background: rgba(220, 38, 38, 0.05);
    border-color: rgba(220, 38, 38, 0.3);
}

.floor-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-crimson);
    min-width: 140px;
}

.floor-content {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--color-muted);
    text-align: right;
}

.architecture-prose {
    max-width: 700px;
    margin: var(--space-12) auto 0;
    text-align: center;
    color: var(--color-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Deployment Grid */
.deployment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

@media (max-width: 1024px) {
    .deployment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .deployment-grid {
        grid-template-columns: 1fr;
    }
}

.deployment-card {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-8);
    transition: all 0.3s var(--ease-standard);
    display: flex;
    flex-direction: column;
}

.deployment-card:hover {
    border-color: rgba(220, 38, 38, 0.3);
    transform: translateY(-4px);
}

.deployment-card.steel {
    border-color: rgba(74, 85, 104, 0.4);
    background: rgba(74, 85, 104, 0.05);
}

.deployment-card.steel:hover {
    border-color: rgba(74, 85, 104, 0.6);
}

.deployment-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-6);
    stroke: var(--color-muted);
    stroke-width: 1.5;
    fill: none;
}

.deployment-card:hover .deployment-icon {
    stroke: var(--color-crimson);
}

.deployment-headline {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-3);
}

.deployment-description {
    color: var(--color-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: var(--space-4);
    flex-grow: 1;
}

.deployment-best-for {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--color-dim);
    font-style: italic;
}

/* Capabilities Grid */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

@media (max-width: 768px) {
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
}

.capability-card {
    background: rgba(10, 10, 10, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-8);
    transition: all 0.3s var(--ease-standard);
}

.capability-card:hover {
    border-color: rgba(220, 38, 38, 0.3);
    background: rgba(15, 15, 15, 0.6);
}

.capability-headline {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-3);
}

.capability-description {
    color: var(--color-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Proof Point Section */
.proof-point {
    padding: var(--space-20) var(--space-6);
    text-align: center;
    background: linear-gradient(180deg, var(--color-black) 0%, var(--color-black-deep) 50%, var(--color-black) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.proof-statement {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.proof-substatement {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--color-crimson);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
}

.proof-note {
    color: var(--color-muted);
    font-size: 14px;
    font-style: italic;
}

/* Secondary Button */
.btn-secondary {
    background: transparent;
    color: var(--color-white);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 16px 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s var(--ease-standard);
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   26. TRUST PAGE COMPONENTS
   ═══════════════════════════════════════════════════════════════════════════════ */

.section-trust-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: var(--space-32) var(--space-6) var(--space-16);
}

/* Security Pillars */
.pillars-security {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

@media (max-width: 1024px) {
    .pillars-security {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .pillars-security {
        grid-template-columns: 1fr;
    }
}

.pillar-card {
    background: rgba(10, 10, 10, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-8);
    transition: all 0.3s var(--ease-standard);
}

.pillar-card:hover {
    border-color: rgba(220, 38, 38, 0.3);
}

.pillar-icon {
    width: 40px;
    height: 40px;
    margin-bottom: var(--space-6);
    stroke: var(--color-crimson);
    stroke-width: 1.5;
    fill: none;
}

.pillar-headline {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.pillar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pillar-list li {
    color: var(--color-muted);
    font-size: 14px;
    padding: var(--space-2) 0;
    padding-left: var(--space-4);
    position: relative;
}

.pillar-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--color-crimson);
    border-radius: 50%;
}

/* Compliance Table */
.compliance-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-8) 0;
}

.compliance-table th,
.compliance-table td {
    padding: var(--space-4) var(--space-6);
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.compliance-table th {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-dim);
}

.compliance-table td {
    font-size: 15px;
    color: var(--color-muted);
}

.compliance-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.status-compliant {
    color: #22c55e;
}

.status-progress {
    color: #eab308;
}

.status-roadmap {
    color: var(--color-muted);
}

.table-note {
    font-size: 13px;
    color: var(--color-dim);
    font-style: italic;
    margin-top: var(--space-4);
}

/* Data Grid */
.data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

@media (max-width: 768px) {
    .data-grid {
        grid-template-columns: 1fr;
    }
}

.data-column {
    padding: var(--space-6);
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.data-headline {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-3);
}

.data-text {
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Trust Contact */
.trust-contact {
    padding: var(--space-16) var(--space-6);
    text-align: center;
    background: linear-gradient(180deg, var(--color-charcoal) 0%, var(--color-black) 100%);
}

.trust-email {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.25rem;
    color: var(--color-crimson);
    text-decoration: none;
    padding: var(--space-4) var(--space-8);
    border: 1px solid rgba(220, 38, 38, 0.3);
    margin-bottom: var(--space-6);
    transition: all 0.3s var(--ease-standard);
}

.trust-email:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: var(--color-crimson);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   27. ENTERPRISE PROCESS COMPONENTS
   ═══════════════════════════════════════════════════════════════════════════════ */

.enterprise-process {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

@media (max-width: 768px) {
    .enterprise-process {
        grid-template-columns: 1fr;
    }
}

.process-step-lg {
    background: rgba(10, 10, 10, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid var(--color-crimson);
    padding: var(--space-8);
    display: flex;
    gap: var(--space-6);
    transition: all 0.3s var(--ease-standard);
}

.process-step-lg:hover {
    background: rgba(15, 15, 15, 0.6);
    border-color: rgba(220, 38, 38, 0.3);
    border-left-color: var(--color-crimson);
}

.process-number-lg {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-crimson);
    line-height: 1;
    min-width: 60px;
}

.process-content {
    flex: 1;
}

.process-headline-lg {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-3);
}

.process-text-lg {
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.6;
}

.process-duration {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--color-dim);
    margin-top: var(--space-4);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   28. PERSONNEL ID BADGES
   ═══════════════════════════════════════════════════════════════════════════════ */

.personnel-id {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 1px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.personnel-id--primary {
    color: var(--color-crimson);
    border-color: var(--color-crimson);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   29. CONTAINER PROSE
   ═══════════════════════════════════════════════════════════════════════════════ */

.container-prose {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.prose {
    font-family: 'Source Serif 4', serif;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-muted);
}

.prose h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-white);
    margin-top: var(--space-12);
    margin-bottom: var(--space-6);
}

.prose h2:first-child {
    margin-top: 0;
}

.prose p {
    margin-bottom: var(--space-6);
}

.prose strong {
    color: var(--color-white);
    font-weight: 600;
}

.prose blockquote {
    border-left: 3px solid var(--color-crimson);
    padding-left: var(--space-6);
    margin: var(--space-8) 0;
    font-style: italic;
    color: var(--color-white);
}

.prose blockquote cite {
    display: block;
    margin-top: var(--space-4);
    font-size: 14px;
    color: var(--color-dim);
    font-style: normal;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   30. FLEX UTILITIES
   ═══════════════════════════════════════════════════════════════════════════════ */

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   31. CARD SPACING & FLOATING FIXES
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Add breathing room under card grids */
.pillars-grid,
.solutions-grid,
.bento-grid,
.capabilities-grid {
    margin-bottom: var(--space-8);
}

/* Ensure cards float with proper shadow depth */
.quiet-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.quiet-card:hover {
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(220, 38, 38, 0.2);
}

/* Solution card titles - prevent wrapping/bleed */
.solution-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-3);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

/* Bento card title fixes */
.bento-medium h3,
.bento-small h3 {
    font-size: 1.25rem !important;
    line-height: 1.3;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   32. CREDENTIAL CAROUSEL (Horizontal Scroll Animation)
   ═══════════════════════════════════════════════════════════════════════════════ */

.credential-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.credential-carousel {
    display: flex;
    gap: var(--space-16);
    animation: scrollCredentials 30s linear infinite;
    width: max-content;
}

.credential-carousel:hover {
    animation-play-state: paused;
}

.credential-carousel .credential-item {
    flex-shrink: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--color-muted);
    opacity: 0.6;
    transition: opacity 0.3s, color 0.3s;
    white-space: nowrap;
}

.credential-carousel .credential-item:hover {
    opacity: 1;
    color: var(--color-white);
}

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

/* ═══════════════════════════════════════════════════════════════════════════════
   33. ABOUT PAGE - COLLECTIVE GRID FIX
   ═══════════════════════════════════════════════════════════════════════════════ */

.collective-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .collective-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

.collective-card {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-10);
    text-align: center;
    transition: all 0.3s var(--ease-standard);
}

.collective-card:hover {
    border-color: rgba(220, 38, 38, 0.4);
    transform: translateY(-4px);
}

.collective-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-crimson);
    margin-bottom: var(--space-4);
}

.collective-card p {
    color: var(--color-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   34. ENHANCED COMPLIANCE TABLE (Premium Icons)
   ═══════════════════════════════════════════════════════════════════════════════ */

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.compliance-card {
    background: rgba(10, 10, 10, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-8);
    display: flex;
    align-items: flex-start;
    gap: var(--space-6);
    transition: all 0.3s var(--ease-standard);
}

.compliance-card:hover {
    border-color: rgba(220, 38, 38, 0.3);
    background: rgba(15, 15, 15, 0.6);
}

.compliance-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.compliance-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-crimson);
    stroke-width: 1.5;
    fill: none;
}

.compliance-content h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-2);
}

.compliance-content p {
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.5;
    margin: 0;
}

.compliance-status {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 1px;
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: var(--space-3);
    display: inline-block;
}

.compliance-status.active {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.compliance-status.progress {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.compliance-status.planned {
    background: rgba(163, 163, 163, 0.1);
    color: var(--color-muted);
    border: 1px solid rgba(163, 163, 163, 0.2);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   35. TRUSTED PARTNERS CAROUSEL
   ═══════════════════════════════════════════════════════════════════════════════ */

.partners-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: var(--space-8) 0;
    mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}

.partners-carousel {
    display: flex;
    gap: var(--space-12);
    animation: scrollPartners 40s linear infinite;
    width: max-content;
}

.partners-carousel:hover {
    animation-play-state: paused;
}

.partner-card {
    flex-shrink: 0;
    background: rgba(10, 10, 10, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-6) var(--space-8);
    min-width: 200px;
    text-align: center;
    transition: all 0.3s var(--ease-standard);
}

.partner-card:hover {
    border-color: rgba(220, 38, 38, 0.3);
    background: rgba(15, 15, 15, 0.6);
}

.partner-name {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-2);
}

.partner-type {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--color-crimson);
    text-transform: uppercase;
}

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

/* ═══════════════════════════════════════════════════════════════════════════════
   36. TRUST PAGE HERO ANIMATION
   ═══════════════════════════════════════════════════════════════════════════════ */

.trust-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.trust-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 100% 80% at 50% 20%, rgba(220, 38, 38, 0.08) 0%, transparent 50%);
    animation: trustPulse 8s ease-in-out infinite;
}

.trust-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.05) 0%, transparent 30%);
}

@keyframes trustPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Shield grid pattern for trust page */
.shield-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(220, 38, 38, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 38, 38, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(60px, 60px);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   37. PROOF OF SCALE - VISUAL ENHANCEMENT
   ═══════════════════════════════════════════════════════════════════════════════ */

.scale-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
}

@media (max-width: 768px) {
    .scale-visual {
        grid-template-columns: 1fr;
    }
}

.scale-metric {
    text-align: center;
    padding: var(--space-10);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, transparent 50%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.scale-metric::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-crimson), transparent);
}

.scale-number {
    font-family: 'Inter', sans-serif;
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: var(--space-4);
}

.scale-number .unit {
    font-size: 0.4em;
    color: var(--color-crimson);
    font-weight: 600;
}

.scale-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-muted);
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   38. INDUSTRY VERTICAL CARDS (Enhanced)
   ═══════════════════════════════════════════════════════════════════════════════ */

.vertical-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

@media (max-width: 1024px) {
    .vertical-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .vertical-grid {
        grid-template-columns: 1fr;
    }
}

.vertical-card {
    background: rgba(10, 10, 10, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-8);
    text-align: center;
    transition: all 0.3s var(--ease-standard);
}

.vertical-card:hover {
    border-color: rgba(201, 162, 39, 0.4);
    transform: translateY(-4px);
    background: rgba(15, 15, 15, 0.6);
}

.vertical-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
    display: block;
}

.vertical-icon-svg {
    width: 48px;
    height: 48px;
    stroke: var(--color-crimson);
    stroke-width: 1.5;
    fill: none;
    margin-bottom: var(--space-6);
    transition: transform 0.3s var(--ease-standard), stroke 0.3s var(--ease-standard);
}

.vertical-card:hover .vertical-icon-svg {
    transform: scale(1.1);
    stroke: var(--color-orange);
}

.vertical-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-3);
}

.vertical-desc {
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   39. BLOG HERO ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Blog Homepage - Data Stream Effect */
.blog-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.blog-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 30% 20%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 70% 80%, rgba(249, 115, 22, 0.08) 0%, transparent 40%);
}

/* Floating data particles */
.data-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.data-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--color-crimson);
    border-radius: 50%;
    opacity: 0.4;
    animation: floatParticle 15s linear infinite;
}

.data-particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.data-particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 18s; }
.data-particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 14s; }
.data-particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 16s; }
.data-particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 20s; }
.data-particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 13s; }
.data-particle:nth-child(7) { left: 70%; animation-delay: 2s; animation-duration: 17s; }
.data-particle:nth-child(8) { left: 80%; animation-delay: 4s; animation-duration: 15s; }
.data-particle:nth-child(9) { left: 90%; animation-delay: 1s; animation-duration: 19s; }
.data-particle:nth-child(10) { left: 15%; animation-delay: 3s; animation-duration: 14s; }

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) scale(0.5);
        opacity: 0;
    }
}

/* Horizontal scan line */
.scan-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.3), transparent);
    animation: scanDown 8s ease-in-out infinite;
}

@keyframes scanDown {
    0%, 100% {
        top: 0;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Category-specific hero backgrounds */
.blog-hero--defense .blog-hero-bg::before {
    background: 
        radial-gradient(ellipse 80% 60% at 50% 30%, rgba(74, 85, 104, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 20% 70%, rgba(74, 85, 104, 0.1) 0%, transparent 40%);
}

.blog-hero--commercial .blog-hero-bg::before {
    background: 
        radial-gradient(ellipse 80% 60% at 50% 30%, rgba(201, 162, 39, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 80% 70%, rgba(201, 162, 39, 0.08) 0%, transparent 40%);
}

.blog-hero--innovation .blog-hero-bg::before {
    background: 
        radial-gradient(ellipse 80% 60% at 50% 30%, rgba(220, 38, 38, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 30% 70%, rgba(249, 115, 22, 0.1) 0%, transparent 40%);
}

/* Blog article hero with category color */
.article-hero {
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
    padding: var(--space-32) var(--space-6) var(--space-16);
    position: relative;
}

.article-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.article-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.article-category {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    padding: 6px 12px;
    margin-bottom: var(--space-6);
    text-transform: uppercase;
}

.article-category--defense {
    background: rgba(74, 85, 104, 0.2);
    color: #94a3b8;
    border: 1px solid rgba(74, 85, 104, 0.4);
}

.article-category--commercial {
    background: rgba(201, 162, 39, 0.15);
    color: #C9A227;
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.article-category--innovation {
    background: rgba(220, 38, 38, 0.15);
    color: var(--color-crimson);
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.article-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: var(--space-6);
}

.article-meta {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
    color: var(--color-muted);
    font-size: 14px;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   40. PHASE 3 - ACCESSIBILITY ENHANCEMENTS
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Skip Link (Screen Reader Navigation) */
.skip-link {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-crimson);
    color: var(--color-white);
    padding: 12px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    z-index: 10001;
    transition: top 0.3s var(--ease-standard);
    border-radius: 0 0 8px 8px;
}

.skip-link:focus {
    top: 0;
    outline: none;
}

/* Enhanced Focus States */
*:focus-visible {
    outline: 2px solid var(--color-crimson);
    outline-offset: 3px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-ghost:focus-visible {
    outline: 2px solid var(--color-crimson);
    outline-offset: 4px;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.2);
}

a:focus-visible {
    outline: 2px solid var(--color-crimson);
    outline-offset: 2px;
}

.quiet-card:focus-within,
.solution-card-link:focus-visible {
    outline: 2px solid var(--color-crimson);
    outline-offset: 2px;
}

.nav-dropdown-trigger {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.nav-dropdown-trigger:focus-visible {
    outline: 2px solid var(--color-crimson);
    outline-offset: 4px;
}

.mobile-nav-toggle:focus-visible {
    outline: 2px solid var(--color-crimson);
    outline-offset: 4px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   41. PHASE 3 - FORM ENHANCEMENTS
   ═══════════════════════════════════════════════════════════════════════════════ */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 16px 20px;
    color: var(--color-white);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: all 0.3s var(--ease-standard);
}

input::placeholder,
textarea::placeholder {
    color: var(--color-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-crimson);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

input:valid:not(:placeholder-shown),
textarea:valid:not(:placeholder-shown) {
    border-color: rgba(34, 197, 94, 0.4);
}

input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
    border-color: rgba(239, 68, 68, 0.6);
}

.required-field::after {
    content: ' *';
    color: var(--color-crimson);
}

.form-error {
    color: #ef4444;
    font-size: 12px;
    margin-top: var(--space-2);
    display: none;
}

.form-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    padding: var(--space-6);
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.btn-loading {
    position: relative;
    pointer-events: none;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--color-white);
    border-radius: 50%;
    animation: btnSpin 0.8s linear infinite;
}

@keyframes btnSpin {
    to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   42. PHASE 3 - PRINT STYLES
   ═══════════════════════════════════════════════════════════════════════════════ */

@media print {
    .site-header,
    .site-footer,
    .mobile-nav-toggle,
    .btn-primary,
    .btn-secondary,
    .cta-group,
    .scroll-indicator,
    #cursor-follower,
    #boot-overlay,
    canvas,
    .newsletter-section,
    .credential-carousel-wrapper,
    .partners-carousel-wrapper {
        display: none !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
        font-size: 12pt;
    }

    * {
        animation: none !important;
        transition: none !important;
        box-shadow: none !important;
    }

    section,
    .section-std,
    .section-hero,
    .bg-charcoal,
    .bg-black {
        background: transparent !important;
        padding: 1rem 0 !important;
        min-height: auto !important;
    }

    h1, h2, h3, h4, h5, h6,
    .display-xl, .display,
    .hero-headline,
    .section-headline {
        color: #000 !important;
        page-break-after: avoid;
    }

    p, li, .text-muted, .prose {
        color: #333 !important;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 10pt;
        color: #666;
    }

    a[href^="#"]::after,
    a[href^="javascript"]::after {
        content: "";
    }

    .quiet-card {
        border: 1px solid #ccc !important;
        background: #f9f9f9 !important;
        padding: 1rem !important;
        page-break-inside: avoid;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   43. PHASE 3 - REDUCED MOTION
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .credential-carousel,
    .partners-carousel {
        animation: none !important;
    }

    .btn-primary::before {
        transition: none !important;
    }

    .cipher-text {
        opacity: 1 !important;
    }

    .data-particle,
    .scan-line {
        display: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   44. PHASE 3 - HIGH CONTRAST MODE
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (prefers-contrast: high) {
    :root {
        --color-muted: #ccc;
        --color-dim: #999;
    }

    .quiet-card,
    .solution-card-link,
    .deployment-card,
    .compliance-card {
        border-width: 2px;
    }

    .btn-primary,
    .btn-secondary {
        border-width: 2px;
    }

    a {
        text-decoration: underline;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   45. PHASE 3 - LOADING STATES
   ═══════════════════════════════════════════════════════════════════════════════ */

.page-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--color-crimson) 0%, 
        var(--color-orange) 50%, 
        var(--color-crimson) 100%);
    background-size: 200% 100%;
    animation: loadingBar 1.5s ease-in-out infinite;
    z-index: 10002;
}

@keyframes loadingBar {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.05) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 1em;
    border-radius: 4px;
    margin-bottom: 0.5em;
}

.skeleton-heading {
    height: 2em;
    width: 60%;
    border-radius: 4px;
    margin-bottom: 1em;
}