:root {
    /* Crystal Light Palette */
    --color-alabaster: #F8FAFC;
    --color-glass: rgba(255, 255, 255, 0.65);
    --color-glass-border: rgba(255, 255, 255, 0.4);
    --color-gold: #D4AF37;
    --color-gold-muted: rgba(212, 175, 55, 0.15);
    --color-cyan: #00B4D8;
    --color-navy-deep: #0F172A;
    /* Used for text and deep accents */
    --color-slate: #64748B;
    --color-white: #FFFFFF;

    /* Dashboard Palette */
    --db-blue: #3f51b5;
    --db-green: #4caf50;
    --db-orange: #ff9800;
    --db-cyan: #00bcd4;
    --db-purple: #9c27b0;
    --db-red: #f44336;
    --db-gold: #ffc107;
    --db-navy: #005792;

    /* Gradients */
    --grad-mesh: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    --grad-accent: linear-gradient(90deg, #D4AF37 0%, #F1D592 100%);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Lexend', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Effects */
    --glass-blur: blur(25px);
    --shadow-soft: 0 10px 40px rgba(15, 23, 42, 0.05);
    --shadow-elevated: 0 20px 60px rgba(15, 23, 42, 0.1);
    --transition-modern: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-alabaster);
    color: var(--color-navy-deep);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-navy-deep);
    font-weight: 700;
    line-height: 1.2;
}

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

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

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

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

.bg-mesh {
    background: var(--grad-mesh);
}

/* Glass Morphism Utility */
.glass-panel {
    background: var(--color-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--color-glass-border);
    box-shadow: var(--shadow-soft);
}

/* Tactical Background Utilities */
.tactical-bg-container {
    position: relative;
    overflow: hidden;
}

.cyber-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 180, 216, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 180, 216, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(1000px) rotateX(60deg) translateY(-100px);
    mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
    z-index: 1;
    pointer-events: none;
}

.parallax-hex {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><path d="M30 0L56 15V45L30 60L4 45V15L30 0Z" fill="none" stroke="rgba(0, 180, 216, 0.02)"/></svg>');
    background-size: 150px 150px;
    z-index: 2;
    animation: slowScroll 80s linear infinite;
    pointer-events: none;
}

@keyframes slowScroll {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 1000px 1000px;
    }
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    /* Slightly larger default padding */
    box-sizing: border-box;
}

/* Global Responsive Shield */
* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: clip;
    /* Prevent horizontal scroll site-wide without killing sticky */
    overflow-y: visible;
    /* Explicitly allow vertical scroll for sticky */
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

img,
video,
svg {
    max-width: 100%;
    height: auto;
}

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    padding: 1.5rem 0;
    transition: var(--transition-modern);
}

header.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

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

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

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-sm);
}

/* Mobile Nav */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-navy-deep);
    transition: var(--transition-modern);
}

/* Removed redundant html/body block */

@media (max-width: 1024px) {

    .grid-4,
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .menu-toggle {
        display: flex;
        z-index: 2001;
        /* Above nav */
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-white);
        padding: 6rem 2rem 2rem;
        transition: var(--transition-modern);
        z-index: 2000;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 1.5rem !important;
        align-items: center !important;
        text-align: center;
        width: 100%;
    }

    /* Force Dark Text in Mobile Menu to ensure visibility against White Background */
    nav .nav-link {
        color: var(--color-navy-deep) !important;
        font-size: 1.25rem !important;
        font-weight: 600 !important;
    }

    nav .btn-nav {
        width: 100%;
        max-width: 300px;
        text-align: center;
        margin-top: 1rem;
    }

    /* Mobile Menu Toggle Color Fix when Nav is Active */
    header.transparent-light.active .menu-toggle span {
        background: var(--color-navy-deep);
    }
}

@media (max-width: 768px) {

    .grid-4,
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr !important;
        /* Force single column on mobile */
        gap: var(--spacing-lg) !important;
    }

    .container {
        padding: 0 var(--spacing-md);
        /* Consistent mobile padding */
    }

    .section {
        padding: 4rem 0 !important;
        /* Standardize mobile vertical spacing */
    }

    h1 {
        font-size: 2.8rem !important;
    }

    h2 {
        font-size: 2.2rem !important;
    }

    h3 {
        font-size: 1.8rem !important;
    }

    p {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem !important;
    }

    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 769px) {
    .br-md-none {
        display: none;
    }
}

/* Cinematic Portal Arrival - Everything blooms from the center vanishing point */
.intro-hidden {
    opacity: 0;
    /* Converge on absolute viewport vanishing point */
    transform: perspective(3000px) translate3d(0, 0, -3000px) scale(0);
    filter: blur(60px) brightness(0);
    transition: opacity 2.8s cubic-bezier(0.19, 1, 0.22, 1),
        transform 2.8s cubic-bezier(0.19, 1, 0.22, 1),
        filter 2.8s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
    transform-origin: center center;
}

/* Header pulls from center-screen to its top position */
header.intro-hidden {
    transform: perspective(3000px) translate3d(0, 50vh, -3000px) scale(0);
}

.intro-reveal {
    opacity: 1 !important;
    transform: perspective(3000px) translate3d(0, 0, 0) scale(1) !important;
    filter: blur(0) brightness(1) !important;
    pointer-events: auto !important;
    z-index: 1000 !important;
    /* Ensure it stays on top */
}

/* High-Impact Cinematic Staggering */
.delay-1 {
    transition-delay: 0.8s;
}

.delay-2 {
    transition-delay: 1.4s;
}

.delay-3 {
    transition-delay: 2.0s;
}

.delay-4 {
    transition-delay: 2.6s;
}

/* Smart Header Logic (Dark Mode Initial -> Light Mode Scrolled) */
header.transparent-light {
    background: transparent;
    box-shadow: none;
}

/* Default State (Top): Light Text for Dark Backgrounds */
header.transparent-light .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

header.transparent-light .nav-link:hover,
header.transparent-light .nav-link.active {
    color: var(--color-white);
}

header.transparent-light .logo-text {
    color: var(--color-white);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -1px;
    transition: color 0.3s ease;
}

header.transparent-light .menu-toggle span {
    background: var(--color-white);
}

header.transparent-light .btn-nav {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--color-white);
}

/* Scrolled State: Dark Text for White Background */
header.transparent-light.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

header.transparent-light.scrolled .nav-link {
    color: var(--color-navy-deep);
}

header.transparent-light.scrolled .logo-text {
    color: var(--color-navy-deep);
}

header.transparent-light.scrolled .menu-toggle span {
    background: var(--color-navy-deep);
}

.header-logo {
    height: 48px;
    width: auto;
    display: block;
    transition: var(--transition-modern);
}

header.scrolled .header-logo {
    height: 40px;
}

header.transparent-light.scrolled .btn-nav {
    border-color: var(--color-navy-deep);
    color: #3268ea;
}

header.transparent-light.scrolled .btn-nav:hover {
    background: var(--color-navy-deep);
    color: var(--color-white);
}

/* Hero V2 Styles */
.hero-v2 {
    height: 100vh;
    padding-top: 5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-cinematic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    transform: scale(1.1);
    transition: transform 0.5s ease-out;
}

.hero-glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 31, 63, 0.4), rgba(0, 31, 63, 0.7));
    backdrop-filter: blur(2px);
    z-index: -1;
}

.badge-v2 {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    background: var(--color-gold-muted);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 100px;
    color: var(--color-gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-bottom: var(--spacing-md);
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    letter-spacing: -3px;
    margin-bottom: var(--spacing-md);
}

.hero-gradient {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.35rem;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    color: var(--color-slate);
}

/* Button & Link Styles */
.btn-modern {
    padding: 1.2rem 2.8rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition-modern);
}

.btn-gold {
    background: var(--color-gold);
    color: var(--color-white);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    border: 1.5px solid var(--color-navy-deep);
    color: var(--color-navy-deep);
    margin-left: 1rem;
}

.btn-modern:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-elevated);
}

.nav-link {
    color: var(--color-navy-deep);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 20px;
    height: 3px;
    background: var(--color-gold);
}

.btn-nav {
    background: var(--color-navy-deep);
    color: var(--color-white);
    padding: 0.8rem 1.8rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
}

/* Feature & Bento Styles */
.section-heading {
    font-size: 3rem;
    letter-spacing: -1.5px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--color-slate);
    max-width: 600px;
}

.section-desc.center {
    margin: 0 auto;
    text-align: center;
}

.feature-row {
    margin-top: 2rem;
    justify-content: flex-start;
    gap: 1.5rem;
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-soft);
}

.vision-visual {
    height: 500px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--spacing-lg);
}

.tech-stack-preview {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tech-item {
    padding: 1.5rem;
    background: var(--color-white);
    border-radius: 12px;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--color-gold);
    transition: var(--transition-modern);
}

.tech-item:hover {
    transform: translateX(15px);
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
}

.bento-item {
    padding: 0;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    position: relative;
    border: none;
}

.bento-overlay {
    padding: 2.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bento-overlay h3 {
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.bento-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
}

.bento-item.tall {
    grid-row: span 2;
}

.bento-item.wide {
    grid-column: span 2;
}

.bento-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-highlight {
    font-size: 4rem;
    font-weight: 800;
    margin-top: 1rem;
    color: var(--color-gold);
    font-family: var(--font-heading);
}

/* Industry Grid */
.industry-card {
    padding: 2.5rem;
    height: 100%;
    transition: var(--transition-modern);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.industry-card:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: var(--shadow-elevated);
    border-color: var(--color-gold-muted);
}

.industry-card h4 {
    font-size: 1.25rem;
    color: var(--color-navy-deep);
}

.industry-card p {
    font-size: 0.95rem;
    color: var(--color-slate);
    line-height: 1.6;
}

/* Timeline Extension */
.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 4rem 0;
    overflow-x: auto;
    gap: 2rem;
}

.timeline-step {
    flex: 1;
    min-width: 120px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-label {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-navy-deep);
    font-family: var(--font-heading);
}

/* Utility Grids */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

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

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

    .process-timeline {
        justify-content: flex-start;
    }
}

/* Feature Row V3 with Image */
.feature-row-v3 {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem;
    border-radius: 20px;
}

.row-img {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
}

/* Choice Cards */
.choice-card {
    padding: 0;
    overflow: hidden;
    border-radius: 32px;
    transition: var(--transition-modern);
}

.choice-visual {
    height: 200px;
    overflow: hidden;
}

.choice-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-modern);
}

.choice-card:hover .choice-visual img {
    transform: scale(1.1);
}

.choice-card h4 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.4rem;
}

.choice-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-slate);
    font-size: 0.95rem;
}

/* Industry Card V2 (Image Backgrounds) */
.industry-card-v2 {
    position: relative;
    padding: 0;
    height: 280px;
    overflow: hidden;
    border-radius: 20px;
    border: none;
}

.industry-card-v2 img,
.card-image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-modern);
}

.card-image-placeholder {
    background: linear-gradient(135deg, var(--color-navy-deep), var(--color-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transition: var(--transition-modern);
}

.industry-card-v2:hover img {
    transform: scale(1.05);
}

.industry-card-v2:hover .card-overlay {
    padding-bottom: 2rem;
    background: linear-gradient(to top, var(--color-navy-deep), transparent);
}

.card-overlay h4 {
    color: var(--color-gold);
    margin-bottom: 0.3rem;
}

.card-overlay p {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--color-cyan);
    top: 10%;
    left: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--color-gold);
    bottom: 20%;
    right: -50px;
}

.cta-box {
    padding: var(--spacing-xl);
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 250, 252, 0.4) 100%);
}

.ecosystem-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    transition: var(--transition-modern);
}

.ecosystem-card:hover {
    transform: translateY(-8px);
    background: white;
    box-shadow: var(--shadow-elevated);
}

.card-num {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--color-gold);
    letter-spacing: 2px;
}

.ecosystem-card h4 {
    font-size: 1.25rem;
    color: var(--color-navy-deep);
}

.ecosystem-card p {
    font-size: 0.9rem;
    color: var(--color-slate);
    line-height: 1.6;
}

/* Phase 5 Technical Cards */
.tech-card {
    transition: var(--transition-modern);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tech-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-elevated);
    background: white !important;
    border-color: var(--color-gold-muted);
}

.tech-card h1 {
    opacity: 0.1;
    transition: var(--transition-modern);
}

.tech-card:hover h1 {
    opacity: 0.3;
    color: var(--color-gold);
}

/* Global Corridor Visuals */
.corridor-visual img {
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.corridor-visual:hover img {
    transform: scale(1.05) rotate(-1deg);
}

.stats-row h3 {
    font-family: var(--font-heading);
}

/* Phase 7: Institutional Overhaul */
.reality-box {
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition-modern);
}

.reality-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-modern);
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.journey-box {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    border-radius: 24px;
    background: white;
}

.journey-box:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: var(--shadow-elevated);
}

.step-num {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--color-gold);
    letter-spacing: 2px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    width: fit-content;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 0.5rem;
}

.strategy-list li div strong {
    color: var(--color-navy-deep);
    display: block;
    margin-bottom: 0.2rem;
}

/* Definition Section Redesign */
.definition-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.definition-visual {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.definition-visual img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.definition-visual:hover img {
    transform: scale(1.03);
}

.definition-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.4) 0%, transparent 100%);
    pointer-events: none;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateX(5px);
    border-color: rgba(212, 175, 55, 0.3);
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
}

@media (max-width: 968px) {
    .definition-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .definition-visual {
        order: -1;
        /* Image on top for mobile */
    }
}

/* Reveal Animations */
.section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Specific Parallax Components */
.hero-content {
    transition: var(--transition-smooth);
}

/* Global Hero Standardization */
/* Enforces the Journey V3 look across all pages */

.universal-hero {
    padding: 14rem 0 10rem;
    position: relative;
    background: #020617;
    overflow: hidden;
    text-align: center;
    /* Ensure consistent height/spacing */
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.universal-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* The core gradient from Journey */
    background: radial-gradient(circle at 50% 50%, #0f172a 0%, #020617 100%);
    overflow: hidden;
    z-index: 0;
}

/* Canvas Container (Merged from hero-canvas.css logic) */
.hero-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#hero-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.universal-hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    /* Constrain width for better readability */
    margin: 0 auto;
}

/* Typography Standardization */
.hero-title {
    color: var(--color-white, #ffffff);
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    line-height: 1.1;
    text-transform: uppercase;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Reusing badge-v2 from sections.css but ensuring placement */
.badge-v2 {
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .universal-hero {
        padding: 10rem 0 6rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

/* Footer V2: High-Tech Infrastructure */
.footer {
    background: #020617;
    /* Deepest Navy */
    color: #f8fafc;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* Background Highlight */
.footer::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 10;
}

.footer-brand {
    max-width: 500px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 2rem;
    filter: brightness(0) invert(1);
    /* Ensure it's white/visible on dark footer if needed, or remove if original is preferred */
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #94a3b8;
    margin-bottom: 2.5rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover {
    color: var(--color-gold);
    border-color: var(--color-gold);
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px -5px rgba(212, 175, 55, 0.2);
}

/* Footer Nav */
.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-nav h4 {
    color: #f1f5f9;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 1rem;
}

.footer-nav a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-nav a:hover {
    color: var(--color-gold);
    transform: translateX(5px);
}

/* Bottom Bar */
.footer-bottom {
    margin-top: 6rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #64748b;
    position: relative;
    z-index: 10;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #f1f5f9;
}

/* Fix: Cluttered HERO-ACTIONS in Mobile */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Mobile Adjustments */
@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .footer-brand {
        margin: 0 auto;
    }

    .social-links {
        justify-content: center;
    }

    .footer-nav {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        gap: 1rem;
    }

    .hero-actions .btn-modern {
        margin-left: 0 !important;
        /* Remove the manual 1rem margin-left from btn-outline */
        text-align: center;
        width: 100%;
        padding: 1rem;
    }

    .footer-nav {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* Common Hero Canvas Styles */
.hero-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    /* Ensure it stays behind text content (usually z-index 10+) */
    pointer-events: none;
    /* Allow clicks to pass through to underlying elements if needed, though canvas might handle interaction */
}

#hero-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Ensure canvas captures mouse events if interaction is required */
.hero-canvas-container.interactive {
    pointer-events: auto;
}

/* Specific page overrides if necessary */
.journey-hero-bg #hero-canvas,
.about-hero-bg #hero-canvas,
.hero-grid-bg #hero-canvas,
.hero-v3-bg #hero-canvas,
.hero-tech-restored #hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
}

/* Hero V3: The Command Center */
.hero-v3 {
    min-height: 100vh;
    padding-top: 80px;
    /* Space for fixed header */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #020617;
    /* Deep Void */
}

/* Background Atmosphere */
.hero-v3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 70% 30%, rgba(20, 184, 166, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 40%);
    z-index: 1;
}

.hero-v3-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 1;
    /* Video handles opacity via overlay or its own properties */
    z-index: 0;
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    /* Increased from 0.25 for better visibility */
    z-index: -1;
}

.hero-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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: 50px 50px;
    z-index: 2;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

/* Centered Layout */
.hero-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

/* Typography Column */
.hero-text-col {
    padding-left: 0;
    max-width: 1300px;
}

.hero-badge-v3 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    color: var(--color-gold);
    font-family: 'Lexend', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    backdrop-filter: blur(4px);
}

.hero-badge-v3::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-gold);
}

.hero-title-v3 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #f8fafc;
    margin-bottom: 2rem;
    letter-spacing: -2px;
    text-transform: uppercase;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 255, 255, 0.1);
    /* Subtle depth and glow */
}

.hero-highlight {
    color: transparent;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-gradient-text {
    background: linear-gradient(135deg, var(--color-gold) 0%, #fcd34d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-family: 'Lexend', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #94a3b8;
    max-width: 800px;
    margin: 0 auto 3rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    background: rgba(15, 23, 42, 0.4);
    /* Subtle backing for readability */
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    display: inline-block;
}

/* Actions */
.hero-actions-v3 {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-primary-v3 {
    padding: 1rem 2rem;
    background: var(--color-gold);
    color: #0f172a;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--color-gold);
}

.btn-primary-v3:hover {
    background: transparent;
    color: var(--color-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.btn-secondary-v3 {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    color: #f8fafc;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.btn-secondary-v3:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Visual Column - Floating Interface */
.hero-visual-col {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.glass-interface-card {
    position: relative;
    width: 90%;
    max-width: 600px;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(20px);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(212, 175, 55, 0.1);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease-out;
    animation: floating 6s ease-in-out infinite;
}

.glass-interface-card:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.interface-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    opacity: 0.9;
}

.card-gloss {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.1) 0%, transparent 40%, transparent 60%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
    border-radius: 12px;
}

/* Floating Elements */
.stat-badge {
    position: absolute;
    padding: 0.8rem 1.2rem;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 20;
}

.stat-badge.top-right {
    top: -20px;
    right: -20px;
    animation: float-delayed 5s ease-in-out infinite;
}

.stat-badge.bottom-left {
    bottom: 30px;
    left: -30px;
    animation: float-delayed 7s ease-in-out infinite;
    border-color: rgba(212, 175, 55, 0.3);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-cyan);
    box-shadow: 0 0 10px var(--color-cyan);
    animation: pulse 2s infinite;
}

.status-dot.gold {
    background: var(--color-gold);
    box-shadow: 0 0 10px var(--color-gold);
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotateY(-10deg);
    }

    50% {
        transform: translateY(-20px) rotateY(-10deg);
    }
}

@keyframes float-delayed {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 968px) {
    .hero-v3 {
        padding-top: 100px;
        text-align: center;
    }

    .hero-content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding: 2rem 1rem;
    }

    .hero-text-col {
        padding-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 100%;
        width: 100%;
    }

    .hero-title-v3 {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
        margin-bottom: 1.5rem;
    }

    .hero-description {
        border-left: none;
        padding-left: 0;
        margin-left: auto;
        margin-right: auto;
        font-size: 1.1rem;
        max-width: 100%;
        text-align: center;
    }

    .hero-actions-v3 {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        gap: 1rem;
    }

    .hero-actions-v3 a {
        width: 100%;
        text-align: center;
    }

    .glass-interface-card {
        transform: none !important;
        animation: none !important;
        width: 100%;
        max-width: 100%;
    }

    .hero-visual-col {
        padding: 0;
        width: 100%;
    }

    .stat-badge {
        display: none;
        /* Hide floating badges on small mobile to prevent overlap/overflow */
    }
}

/* Auditor Widget: Field Interface */
.audit-terminal {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(0, 184, 216, 0.3);
    /* Cyan border */
    border-radius: 16px;
    padding: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    font-family: 'Inter', sans-serif;
}

/* Terminal Header */
.terminal-header {
    background: rgba(0, 180, 216, 0.1);
    padding: 0.8rem 1.5rem;
    border-bottom: 1px solid rgba(0, 180, 216, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-title {
    color: #00B4D8;
    /* Cyan */
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulsing-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    /* Green for "Ready/Syncing" */
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

/* Terminal Body */
.terminal-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* Field Audit Icon (Replace Radar) */
.audit-badge-icon {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 20px;
    background: rgba(0, 180, 216, 0.05);
    border: 1px solid rgba(0, 180, 216, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00B4D8;
    animation: float-widget 4s ease-in-out infinite;
}

@keyframes float-widget {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Live Checklist */
.audit-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.audit-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: #94a3b8;
}

.audit-item.active {
    background: rgba(0, 180, 216, 0.1);
    border-color: rgba(0, 180, 216, 0.3);
    color: #f1f5f9;
}

.status-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
}

.status-verified {
    color: #10b981;
    /* Green */
    background: rgba(16, 185, 129, 0.1);
}

.status-entry {
    color: #F1D592;
    /* Gold for "Manual Entry" */
    background: rgba(212, 175, 55, 0.1);
}

/* Footer Stats */
.terminal-footer {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-box small {
    display: block;
    color: #000000;
    font-size: 0.7rem;
    margin-bottom: 2px;
}

.stat-box span {
    color: #f8fafc;
    font-weight: 700;
    font-size: 1rem;
}

/* Definition V2: The Digital Nexus */
.definition-v2 {
    position: relative;
    padding: 8rem 0;
    background: #020617;
    /* Matches Hero V3 */
    overflow: hidden;
    color: #f8fafc;
}

/* Background FX */
.definition-v2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 1) 0%, #020617 70%);
    z-index: 0;
}

.nexus-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(20, 184, 166, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 184, 166, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}

.nexus-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Header */
.nexus-badge {
    padding: 0.5rem 1.5rem;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.3);
    color: var(--color-cyan);
    border-radius: 100px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(20, 184, 166, 0.2);
}

.nexus-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    background: linear-gradient(180deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.nexus-desc {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 700px;
    margin-bottom: 5rem;
    line-height: 1.8;
}

/* The Core Visual */
.nexus-core-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 600px;
    /* Adjust based on content */
    display: flex;
    justify-content: center;
    align-items: center;
}

.nexus-dashboard-visual {
    position: relative;
    width: 60%;
    z-index: 5;
    transform: perspective(1000px) rotateX(10deg);
    transition: transform 0.5s ease;
}

.nexus-dashboard-visual img {
    width: 100%;
    border-radius: 12px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 20px 50px -10px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(20, 184, 166, 0.15);
    /* Cyan Glow */
}

.nexus-dashboard-visual:hover {
    transform: perspective(1000px) rotateX(0deg) scale(1.02);
}

/* Orbiting Nodes */
.nexus-node {
    position: absolute;
    width: 280px;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-align: left;
    transition: all 0.3s ease;
    z-index: 10;
}

.nexus-node:hover {
    background: rgba(15, 23, 42, 0.9);
    border-color: var(--color-gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
    transform: translateY(-5px);
}

.nexus-node h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nexus-node p {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* Positioning Nodes - 6 Point Satellite */
.nexus-core-container {
    height: 700px;
    /* Increased height for 6 nodes */
}

/* Left Column */
.node-1 {
    top: 5%;
    left: -5%;
    animation: float-slow 6s ease-in-out infinite;
}

.node-2 {
    top: 40%;
    left: -10%;
    animation: float-slow 7s ease-in-out infinite 1s;
}

.node-3 {
    bottom: 5%;
    left: -5%;
    animation: float-slow 8s ease-in-out infinite 0.5s;
}

/* Right Column */
.node-4 {
    top: 5%;
    right: -5%;
    animation: float-slow 6.5s ease-in-out infinite reverse;
}

.node-5 {
    top: 40%;
    right: -10%;
    animation: float-slow 7.5s ease-in-out infinite 1.5s reverse;
}

.node-6 {
    bottom: 5%;
    right: -5%;
    animation: float-slow 8.5s ease-in-out infinite 0.5s reverse;
}

/* Connecting Lines (Decorative) - Updated for 6 points */
.connection-line {
    /* Hidden for 6-node cleaner look or re-implement if needed */
    display: none;
}

.line-1 {
    display: none;
}

.line-2 {
    bottom: 30%;
    right: 15%;
    width: 250px;
    transform: rotate(-15deg);
}

/* Mobile */
@media (max-width: 968px) {
    .nexus-core-container {
        flex-direction: column;
        height: auto;
        gap: 2rem;
    }

    .nexus-dashboard-visual {
        width: 100%;
        transform: none;
        margin-bottom: 3rem;
    }

    .nexus-node {
        position: relative;
        width: 100%;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin-bottom: 1rem;
        animation: none;
    }

    .connection-line {
        display: none;
    }
}

/* Reality V2: The Binary Shift */
.reality-v2 {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
    background: #0f172a;
    /* Slate 900 */
    color: #f8fafc;
}

/* Detailed Background Grid */
.reality-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    opacity: 0.5;
}

/* Content Container */
.reality-content-wrapper {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Header Text */
.reality-header {
    max-width: 600px;
}

.reality-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(239, 68, 68, 0.1);
    /* Red tint for contrast/problem */
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    border-radius: 4px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-family: monospace;
}

.reality-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(180deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.reality-desc {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 3px solid #334155;
}

/* The Binary Cards */
.binary-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.binary-card {
    position: relative;
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

/* Card 1: Legacy (The Problem) */
.card-legacy {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(239, 68, 68, 0.2);
    /* Red border */
    border-left: 4px solid #ef4444;
}

.card-legacy:hover {
    transform: translateX(10px);
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 10px 30px -10px rgba(239, 68, 68, 0.15);
}

.legacy-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: #ef4444;
    opacity: 0.5;
}

.card-legacy h4 {
    color: #fca5a5;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-legacy ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.card-legacy li {
    font-size: 0.9rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
}

.card-legacy li::before {
    content: "×";
    color: #ef4444;
    font-weight: bold;
}

/* Card 2: Digital Ecosystem (The Solution) */
.card-digital {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(20, 184, 166, 0.3);
    /* Teal border */
    border-left: 4px solid #14b8a6;
    background-image:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.1), transparent 40%);
}

.card-digital:hover {
    transform: translateX(10px);
    border-color: #2dd4bf;
    box-shadow: 0 10px 40px -10px rgba(20, 184, 166, 0.25);
}

.digital-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: #14b8a6;
    opacity: 0.8;
    animation: pulse-glow 3s infinite;
}

.card-digital h4 {
    color: #5eead4;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-digital ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.card-digital li {
    font-size: 0.9rem;
    color: #f0f9ff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-digital li::before {
    content: "✓";
    color: #2dd4bf;
    font-weight: bold;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Contrast Text Highlight */
.contrast-text {
    margin-top: 2rem;
    font-size: 1.2rem;
    font-weight: 500;
    color: #e2e8f0;
}

.highlight-gold {
    color: var(--color-gold);
    font-weight: 700;
    display: block;
    margin-top: 0.5rem;
    font-size: 1.4rem;
}

/* Mobile */
@media (max-width: 968px) {
    .reality-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .reality-title {
        font-size: 2.5rem;
    }

    .card-legacy ul,
    .card-digital ul {
        grid-template-columns: 1fr;
    }
}

/* Sectors V2: The Matrix (Light Mode - Standard Brand) */
.sectors-v2 {
    padding: 8rem 0;
    background: #ffffff;
    color: #0f172a;
    position: relative;
    overflow: hidden;
}

/* Background FX - Subtle Grey Grid */
.sectors-bg-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(#f1f5f9 1px, transparent 1px),
        linear-gradient(90deg, #f1f5f9 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    opacity: 0.6;
}

.sectors-content {
    position: relative;
    z-index: 10;
}

/* Header */
.sectors-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

/* Matching .badge-v2 style from sections.css */
.sectors-badge {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    background: rgba(212, 175, 55, 0.15);
    /* var(--color-gold-muted) */
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #D4AF37;
    /* var(--color-gold) */
    border-radius: 100px;
    font-size: 0.75rem;
    letter-spacing: 2.5px;
    margin-bottom: 2rem;
    font-weight: 700;
}

.sectors-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #0f172a;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.sectors-title .text-gold {
    color: #D4AF37 !important;
    /* Force standard gold */
}

.sectors-desc {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
}

/* The Matrix Grid (3x3) */
.sector-matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.sector-card {
    position: relative;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.sector-card:hover {
    transform: translateY(-8px);
    border-color: #D4AF37;
    /* Gold Border */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* Card Image - Full Visible Color */
.sector-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    /* Clearly visible */
    transition: all 0.5s ease;
}

.sector-card:hover .sector-img {
    opacity: 1;
    transform: scale(1.05);
}

/* Card Content Overlay */
.sector-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.8) 40%, rgba(255, 255, 255, 1) 100%);
    transition: all 0.4s ease;
}

.sector-icon {
    margin-bottom: 1rem;
    color: #D4AF37;
    /* Gold Icon */
    transition: all 0.4s ease;
}

.sector-card h4 {
    font-size: 1.4rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.sector-card p {
    font-size: 0.95rem;
    color: #64748b;
    opacity: 0.9;
    transition: all 0.4s ease;
}

/* Mobile */
@media (max-width: 968px) {
    .sector-matrix {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .sector-card {
        height: 250px;
    }
}

/* Sectors CTA */
.sectors-cta {
    margin-top: 4rem;
    text-align: center;
}

/* Process V2: The Digital Timeline */
.process-v2 {
    padding: 8rem 0;
    background: #0f172a;
    /* Back to Dark Mode for rhythm */
    color: #f8fafc;
    position: relative;
    overflow: hidden;
}

/* Force Header Visibility */
.process-v2 .section-heading {
    color: #ffffff !important;
    position: relative;
    z-index: 20;
}

/* Background Texture - Animated Data Rain */
.process-bg-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image:
        linear-gradient(rgba(20, 184, 166, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 184, 166, 0.05) 1px, transparent 1px),
        linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(20, 184, 166, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
    background-size: 40px 40px, 40px 40px, 100% 200%;
    z-index: 1;
    /* Increased to ensure visibility over base bg */
    pointer-events: none;
    animation: data-rain 8s linear infinite;
    /* Sped up for visibility */
    opacity: 0.6;
    /* Increased opacity */
}

@keyframes data-rain {
    0% {
        background-position: 0 0, 0 0, 0 -200%;
    }

    100% {
        background-position: 0 0, 0 0, 0 200%;
    }
}

.process-content {
    position: relative;
    z-index: 10;
}

@keyframes data-rain {
    0% {
        background-position: 0 0, 0 0, 0 -200%;
    }

    100% {
        background-position: 0 0, 0 0, 0 200%;
    }
}

.process-content {
    position: relative;
    z-index: 10;
}

/* Header */
.process-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 6rem;
}

/* Timeline Container */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* The Central Line - Animated Flow */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(212, 175, 55, 0.2) 0%,
            rgba(212, 175, 55, 0.8) 50%,
            rgba(212, 175, 55, 0.2) 100%);
    background-size: 100% 200%;
    transform: translateX(-50%);
    z-index: 0;
    animation: line-flow 3s linear infinite;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

@keyframes line-flow {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 0% 200%;
    }
}

/* Timeline Items */
.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 4rem;
    margin-bottom: 4rem;
    box-sizing: border-box;
}

/* Left vs Right positioning */
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

/* The Connector Dot - Pulsing */
.timeline-dot {
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: #0f172a;
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 1);
    /* Spacing masking */
    animation: pulse-node 3s infinite ease-in-out;
}

@keyframes pulse-node {
    0% {
        box-shadow: 0 0 0 0px rgba(212, 175, 55, 0.4), 0 0 0 4px rgba(15, 23, 42, 1);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(212, 175, 55, 0), 0 0 0 4px rgba(15, 23, 42, 1);
    }

    100% {
        box-shadow: 0 0 0 0px rgba(212, 175, 55, 0), 0 0 0 4px rgba(15, 23, 42, 1);
    }
}

/* Dot positioning */
.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

/* Stagger animations for wave effect */
.timeline-item:nth-child(1) .timeline-dot {
    animation-delay: 0s;
}

.timeline-item:nth-child(2) .timeline-dot {
    animation-delay: 0.5s;
}

.timeline-item:nth-child(3) .timeline-dot {
    animation-delay: 1s;
}

.timeline-item:nth-child(4) .timeline-dot {
    animation-delay: 1.5s;
}

.timeline-item:nth-child(5) .timeline-dot {
    animation-delay: 2s;
}

.timeline-item:nth-child(6) .timeline-dot {
    animation-delay: 2.5s;
}

.timeline-item:nth-child(7) .timeline-dot {
    animation-delay: 3s;
}

.timeline-item:hover .timeline-dot {
    background: var(--color-gold);
    box-shadow: 0 0 15px var(--color-gold);
    animation: none;
    /* Scale up on hover, stop pulsing */
    transform: scale(1.2);
}

/* Card Content */
.timeline-card {
    background: rgba(30, 41, 59, 0.4);
    /* Slightly unrelated glass */
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(4px);
}

.timeline-item:hover .timeline-card {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Step Number */
.step-num {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 0;
    line-height: 1;
    pointer-events: none;
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .step-num {
    right: 1.5rem;
}

.timeline-item:nth-child(even) .step-num {
    left: 1.5rem;
}

.timeline-item:hover .step-num {
    color: rgba(212, 175, 55, 0.1);
}

.timeline-card h4 {
    margin-bottom: 0.5rem;
    color: #f1f5f9;
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
}

.timeline-card p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* The Final Item (7th) - Centered */
.timeline-item:last-child {
    width: 100%;
    left: 0;
    text-align: center;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    margin-top: 2rem;
}

.timeline-item:last-child .timeline-card {
    max-width: 500px;
    width: 100%;
    border-color: var(--color-gold);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
    /* Always active glow for container */
}

.timeline-item:last-child .timeline-dot {
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    /* Stronger pulse for final node */
    animation: pulse-node 2s infinite ease-in-out;
}

.timeline-item:last-child .step-num {
    right: 50%;
    transform: translateX(50%);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .timeline-container::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 9px;
        /* roughly half of 20px width centered on 20px line placement */
        right: auto;
    }

    .timeline-item:last-child .timeline-dot {
        left: 9px;
        top: 20px;
        transform: none;
    }

    .timeline-item:nth-child(odd) .step-num {
        right: 1.5rem;
    }

    .timeline-item:last-child {
        align-items: flex-start;
        text-align: left;
    }

    .timeline-item:last-child .timeline-card {
        max-width: 100%;
    }

    .timeline-item:last-child .step-num {
        right: 1.5rem;
        transform: none;
    }
}

/* Advantages V2: The Crystal Grid */
.advantages-v2 {
    padding: 8rem 0;
    background: #f8fafc;
    /* Light Theme for Rhythm */
    color: #0f172a;
    position: relative;
    overflow: hidden;
}

/* Background Texture - Hex Mesh */
.advantages-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image:
        radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    z-index: 0;
}

.advantages-content {
    position: relative;
    z-index: 10;
}

/* Header */
.advantages-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.advantages-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #0f172a;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Grid Layout - 2 Top (Large), 3 Bottom (Medium) */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Top Row: 2 Cards spanning 3 cols each */
.adv-card-large {
    grid-column: span 3;
    min-height: 320px;
}

/* Bottom Row: 3 Cards spanning 2 cols each */
.adv-card-medium {
    grid-column: span 2;
    min-height: 280px;
}

/* Card Styles */
.adv-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.adv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(15, 23, 42, 0.1);
    border-color: var(--color-gold);
}

/* Hover Gradient Border Effect */
.adv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold), #F1D592);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

/* Icon Container */
.adv-icon-box {
    width: 60px;
    height: 60px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    color: #64748b;
}

.adv-card:hover .adv-icon-box {
    background: #0f172a;
    color: var(--color-gold);
    transform: rotateY(180deg);
}

.adv-icon-box svg {
    width: 30px;
    height: 30px;
    transition: all 0.4s ease;
}

.adv-card:hover .adv-icon-box svg {
    transform: rotateY(-180deg);
    /* Counter rotation to keep icon facing forward if desired, or let it stick */
}

/* Typography */
.adv-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.adv-card p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
}

/* Mobile Responsiveness */
@media (max-width: 968px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .adv-card-large,
    .adv-card-medium {
        grid-column: span 1;
        min-height: auto;
    }
}

/* Blueprint Layout - Consolidated & Bulletproofed */

/* 1. Global Reset for Sticky Visibility */
.blueprint-section {
    overflow: visible !important;
}

.bg-blueprint {
    background-color: #F8FAFC;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* 2. Main Desktop Structure */
.blueprint-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    gap: 4rem;
    align-items: start;
    /* CRITICAL for sticky */
    overflow: visible !important;
}

/* 3. The Sticky Side Nav (Desktop) */
.blueprint-nav {
    position: sticky;
    top: 110px;
    /* Desktop offset to clear header */
    height: auto;
    z-index: 100;
}

.nav-blueprint-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 2px solid #E2E8F0;
}

.nav-blueprint-item a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--color-slate);
    text-decoration: none;
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s;
    font-size: 0.95rem;
    position: relative;
}

.nav-blueprint-item a::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 0;
    height: 100%;
    width: 2px;
    background: transparent;
    transition: all 0.3s;
}

.nav-blueprint-item.active a {
    color: var(--color-navy-deep);
    font-weight: 700;
    border-right: 3px solid var(--color-gold);
}

/* 4. Main Content Stream */
.blueprint-content {
    min-width: 0;
}

.blueprint-zone {
    margin-bottom: 8rem;
    scroll-margin-top: 150px;
    /* Offset for sticky nav */
}

.zone-title-wrap {
    margin-bottom: 4rem;
    padding: 4rem;
    background: var(--color-navy-deep);
    border-radius: 32px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.zone-title-wrap h2 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.zone-title-wrap p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.zone-bg-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    opacity: 0.4;
    z-index: 1;
    mask-image: linear-gradient(to left, black 50%, transparent);
}

/* 5. Sector Blueprint Card */
.sector-blueprint {
    display: grid;
    grid-template-columns: 120px 2fr 3fr;
    padding: 0;
    margin-bottom: 2rem;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.sector-blueprint:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
    border-color: var(--color-gold);
}

.sector-visual {
    background: var(--color-navy-deep);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.sector-visual i {
    font-size: 2rem;
    color: var(--color-gold);
}

.sector-id {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.65rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 2px;
}

.sector-main {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid #F1F5F9;
}

.sector-main h3 {
    font-size: 1.4rem;
    color: var(--color-navy-deep);
    margin-bottom: 0.75rem;
}

.compliance-blueprint {
    padding: 2rem;
    background: #FAFBFC;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.blueprint-check {
    background: #fff;
    border: 1px solid #E2E8F0;
    padding: 1.25rem;
    border-radius: 12px;
}

.check-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--color-gold);
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.check-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-navy-deep);
}

/* 6. Mobile & Tablet Overhaul */
@media (max-width: 1024px) {
    .blueprint-wrapper {
        display: block;
        padding: 0;
    }

    /* Mobile Sticky Pill Bar */
    .blueprint-nav {
        position: sticky;
        top: 80px;
        /* Aligns under header */
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 0.75rem 1rem;
        margin-bottom: 2rem;
        z-index: 1001;
        border-bottom: 1px solid #E2E8F0;
        margin: 0 -1.5rem 2rem -1.5rem;
        /* Full width mobile */
    }

    .nav-blueprint-list {
        display: flex;
        overflow-x: auto;
        border-left: none;
        gap: 0.75rem;
        padding: 0 1rem 0.5rem 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .nav-blueprint-list::-webkit-scrollbar {
        display: none;
    }

    .nav-blueprint-item {
        flex: 0 0 auto;
    }

    .nav-blueprint-item a {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
        background: #F8FAFC;
        border: 1px solid #E2E8F0;
        border-radius: 100px;
        white-space: nowrap;
    }

    .nav-blueprint-item.active a {
        background: var(--color-navy-deep);
        color: white;
        border-color: var(--color-navy-deep);
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
    }

    .blueprint-content {
        padding: 0 1.5rem;
    }

    .zone-title-wrap {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
        margin-bottom: 3rem;
    }

    .zone-title-wrap h2 {
        font-size: 2.2rem;
    }

    .sector-blueprint {
        grid-template-columns: 1fr;
        border-radius: 16px;
    }

    .sector-visual {
        height: 80px;
        flex-direction: row;
        padding: 1rem;
    }

    .sector-main {
        padding: 1.5rem;
        border-right: none;
        border-bottom: 1px solid #F1F5F9;
    }

    .compliance-blueprint {
        padding: 1.5rem;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .blueprint-zone {
        margin-bottom: 5rem;
    }
}

/* About Us V2: Gateway Protocol Styling */

/* Hero */
.about-hero {
    padding: 12rem 0 8rem;
    position: relative;
    background: #020617;
    overflow: hidden;
    text-align: center;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 120%, rgba(212, 175, 55, 0.15), transparent 70%);
}

/* Feature List Overrides */
.feature-item h4 {
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.feature-item p {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Challenge List in About */
.about-visual-panel .glass-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.challenge-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.challenge-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: #94a3b8;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.challenge-list li::before {
    content: '→';
    color: var(--color-gold);
    font-weight: bold;
}

/* Protocol Cards: What We Are vs Not */
.position-card {
    padding: 3rem;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.position-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.position-header i {
    font-size: 2rem;
}

.position-header h4 {
    font-size: 1.5rem;
    color: #fff;
    margin: 0;
}

.not-card .position-header i {
    color: #ef4444;
}

/* Red for NOT */
.is-card .position-header i {
    color: var(--color-gold);
}

/* Gold for IS */

.position-list {
    list-style: none;
    padding: 0;
}

.position-list li {
    padding: 1rem 0;
    color: #cbd5e1;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.position-list li strong {
    color: #fff;
}

.position-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.05);
}

.is-card:hover {
    border-color: var(--color-gold);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.1);
}

.position-disclaimer {
    text-align: center;
    margin-top: 3rem;
    color: #64748b;
    font-style: italic;
    font-size: 0.9rem;
}

/* Infrastructure Section */
.infra-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.infra-list li {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    color: var(--color-slate);
}

.infra-list li strong {
    color: var(--color-navy-deep);
    display: block;
    margin-bottom: 0.2rem;
}

.infrastructure-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.infra-node-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.infra-node {
    width: 100px;
    height: 100px;
    background: #f1f5f9;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-gold);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.infra-node:hover {
    background: var(--color-navy-deep);
    color: #fff;
    transform: rotate(10deg);
}

/* Sectors Grid */
.about-sector-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.sector-mini-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.sector-mini-card i {
    font-size: 2.2rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.sector-mini-card h5 {
    font-size: 1rem;
    color: var(--color-navy-deep);
    margin: 0;
}

.sector-mini-card:hover {
    background: var(--color-navy-deep);
    transform: translateY(-5px);
}

.sector-mini-card:hover i,
.sector-mini-card:hover h5 {
    color: white;
}

/* Vision Banner */
.vision-banner {
    background: url('../assets/images/halal-hero-cinematic.png');
    background-size: cover;
    background-position: center;
    padding: 10rem 0;
    position: relative;
    color: white;
}

.vision-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.85);
    /* Deep Void overlay */
}

.vision-values {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.vision-values span {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease;
}

.vision-values span:hover {
    color: var(--color-gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Responsive */
@media (max-width: 968px) {
    .about-visual-panel {
        order: -1;
        margin-bottom: 3rem;
    }

    .about-sector-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .infra-node-grid {
        margin-bottom: 3rem;
    }
}

@media (max-width: 600px) {
    .about-sector-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .vision-values {
        gap: 1.5rem;
    }

    .vision-values span {
        font-size: 1rem;
    }
}

/* Solution Page: Command Deck Styling */

/* Hero */
.solution-hero {
    padding: 12rem 0 6rem;
    position: relative;
    background: #020617;
    overflow: hidden;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
}

/* Scenario Grid */
.scenario-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: -4rem;
    /* Overlap hero slightly */
    padding-bottom: 4rem;
}

.scenario-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    height: 320px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;

}

.scenario-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.card-front,
.card-back {
    position: absolute;
    inset: 0;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.4s ease;
}

.card-front {
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent);
}

.scenario-card:hover .card-front {
    opacity: 0;
    /* Fade out front */
    transform: scale(0.95);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-gold);
    font-size: 1.8rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.card-front h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
}

.card-arrow {
    margin-top: 2rem;
    color: #475569;
    font-size: 1.2rem;
}

/* Back State */
.card-back {
    opacity: 0;
    transform: translateY(20px);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(2, 6, 23, 0.95));
    justify-content: flex-start;
    padding-top: 3rem;
    pointer-events: none;
    /* Prevent click when hidden */
}

.scenario-card:hover .card-back {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.card-back h4 {
    color: var(--color-gold);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.card-back ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.card-back li {
    color: #e2e8f0;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-back li i {
    color: var(--color-gold);
    font-size: 0.7rem;
}

.btn-micro {
    margin-top: auto;
    background: var(--color-gold);
    color: #000;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.8rem;
    transition: background 0.2s;
}

.btn-micro:hover {
    background: #fff;
}

/* Protocol Split Visuals */
.protocol-split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    padding: 2rem 0;
}

.reverse.protocol-split {
    flex-direction: row-reverse;
}

.problem-side,
.protocol-side {
    flex: 1;
    padding: 3rem;
    border-radius: 24px;
}

.problem-side {
    background: rgba(239, 68, 68, 0.05);
    /* Slight Red Tint */
    border: 1px solid rgba(239, 68, 68, 0.1);
}

.protocol-side {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.problem-header {
    color: #ef4444;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.protocol-header {
    color: var(--color-gold);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.problem-side h3,
.protocol-side h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.worry-list span {
    display: inline-block;
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-right: 8px;
    margin-bottom: 8px;
}

.protocol-list {
    list-style: none;
    padding: 0;
}

.protocol-list li {
    color: #e2e8f0;
    margin-bottom: 1rem;
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 1rem;
}

.protocol-list i {
    color: var(--color-gold);
    font-size: 1.1rem;
}

/* Connector Line */
.connector-line {
    width: 2px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.connector-node {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-cyan);
    background: #000;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

/* Verticals */
.vertical-scroll-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 4rem;
}

.vertical-card {
    background: rgba(15, 23, 42, 0.8);
    /* High Contrast Dark Background */
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2rem;
    border-radius: 16px;
    width: 200px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.vertical-card:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--color-gold);
    transform: translateY(-5px);
}

.v-icon {
    font-size: 2rem;
    color: #cbd5e1;
    /* Bright Slate Icon */
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.vertical-card:hover .v-icon {
    color: #fff;
}

.vertical-card h5 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.vertical-card span {
    color: var(--color-gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Mobile Refinement: 2-per-row square cards */
@media (max-width: 768px) {
    .vertical-scroll-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        margin-top: 2rem !important;
        padding: 0 1rem;
    }

    .vertical-card {
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        padding: 1.25rem !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: unset !important;
    }

    .v-icon {
        font-size: 1.5rem !important;
        margin-bottom: 0.75rem !important;
    }

    .vertical-card h5 {
        font-size: 1rem !important;
        margin-bottom: 0.25rem !important;
    }

    .vertical-card span {
        font-size: 0.6rem !important;
    }
}

/* Responsive */
@media (max-width: 968px) {
    .scenario-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .protocol-split {
        flex-direction: column;
        gap: 0;
    }

    .reverse.protocol-split {
        flex-direction: column;
        gap: 0;
    }

    .connector-line {
        height: 100px;
        width: 2px;
    }
}

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

    .solution-hero {
        padding: 9rem 0 4rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .protocol-side,
    .problem-side {
        padding: 2rem;
    }
}

/* Journey V3: Command Center Protocol Styling */
html {
    scroll-behavior: smooth;
}

/* Hero */
.journey-hero {
    padding: 14rem 0 10rem;
    position: relative;
    background: #020617;
    overflow: hidden;
    text-align: center;
}

.journey-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #0f172a 0%, #020617 100%);
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.journey-hero-content {
    position: relative;
    z-index: 10;
}

/* Journey Page Specific Visuals (Dark Theme) */
.journey-page h1,
.journey-page h2,
.journey-page h3,
.journey-page h4,
.journey-page h5,
.journey-page h6 {
    color: #ffffff;
}

.journey-page .white {
    color: #ffffff !important;
}

.journey-page .hero-title {
    color: #ffffff;
}

.journey-page .hero-title {
    color: #ffffff;
}

/* Timeline Infrastructure */
.journey-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 0;
}

/* Fiber-Optic Line */
.journey-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent,
            rgba(212, 175, 55, 0.5) 10%,
            var(--color-gold) 50%,
            rgba(212, 175, 55, 0.5) 90%,
            transparent);
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3),
        0 0 30px rgba(0, 180, 216, 0.1);
    opacity: 0.6;
}

/* Data Packet (Animated Scroll Indicator) */
.data-packet {
    position: absolute;
    left: 50%;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px #fff, 0 0 40px var(--color-gold);
    z-index: 20;
    transition: top 0.2s cubic-bezier(0.1, 0, 0.1, 1);
}

/* Stage Blocks */
.journey-stage {
    display: flex;
    justify-content: center;
    margin-bottom: 15rem;
    position: relative;
    width: 100%;
}

.stage-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.stage-number {
    width: 54px;
    height: 54px;
    background: #020617;
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.stage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12rem;
    width: 100%;
    align-items: center;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transition: var(--transition-modern);
}

.stage-grid:hover {
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(212, 175, 55, 0.05);
}

.reverse .stage-grid>*:first-child {
    order: 2;
}

.reverse .stage-grid>*:last-child {
    order: 1;
}

/* Content Styling */
.stage-content {
    padding: 0 2rem;
}

.stage-tag {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--color-gold);
    background: rgba(212, 175, 55, 0.1);
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.stage-content h3 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    line-height: 1;
}

.why-box {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--color-gold);
    border-radius: 0 16px 16px 0;
}

.why-box strong {
    color: var(--color-gold);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* Visual Mockups Engine: Crystal Architecture V5 */
.stage-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.visual-mockup {
    width: 100%;
    max-width: 440px;
    height: 380px;
    background: rgba(15, 23, 42, 0.75) !important;
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: var(--transition-modern);
}

/* Stage Specific Header Dot Accents */
.mockup-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.65rem;
    color: #94a3b8;
    font-family: monospace;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.mockup-header::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-gold);
    display: inline-block;
    box-shadow: 0 0 12px var(--color-gold);
}

.stage-01 .mockup-header::before {
    background: var(--db-blue);
    box-shadow: 0 0 12px var(--db-blue);
}

.stage-02 .mockup-header::before {
    background: var(--db-cyan);
    box-shadow: 0 0 12px var(--db-cyan);
}

.stage-03 .mockup-header::before {
    background: var(--db-purple);
    box-shadow: 0 0 12px var(--db-purple);
}

.stage-04 .mockup-header::before {
    background: #e91e63;
    box-shadow: 0 0 12px #e91e63;
}

.stage-05 .mockup-header::before {
    background: var(--db-green);
    box-shadow: 0 0 12px var(--db-green);
}

.stage-06 .mockup-header::before {
    background: var(--db-red);
    box-shadow: 0 0 12px var(--db-red);
}

.stage-07 .mockup-header::before {
    background: var(--db-gold);
    box-shadow: 0 0 12px var(--db-gold);
}

.stage-08 .mockup-header::before {
    background: var(--db-orange);
    box-shadow: 0 0 12px var(--db-orange);
}

/* Aurora Backdrop System */
.journey-stage {
    position: relative;
    overflow: visible;
}

.stage-aurora {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    z-index: -1;
    pointer-events: none;
    transition: var(--transition-modern);
    animation: auroraFloat 25s infinite alternate ease-in-out;
}

@keyframes auroraFloat {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
    }

    100% {
        transform: translateY(-80px) scale(1.15) rotate(15deg);
    }
}

.stage-01 .stage-aurora {
    top: -10%;
    left: -20%;
    background: var(--db-blue);
}

.stage-02 .stage-aurora {
    top: 10%;
    right: -20%;
    background: var(--db-cyan);
}

.stage-03 .stage-aurora {
    top: -10%;
    left: -20%;
    background: var(--db-purple);
}

.stage-04 .stage-aurora {
    top: 10%;
    right: -20%;
    background: #e91e63;
}

.stage-05 .stage-aurora {
    top: -10%;
    left: -20%;
    background: var(--db-green);
}

.stage-06 .stage-aurora {
    top: 10%;
    right: -20%;
    background: var(--db-red);
}

.stage-07 .stage-aurora {
    top: -10%;
    left: -20%;
    background: var(--db-gold);
}

.stage-08 .stage-aurora {
    top: 10%;
    right: -20%;
    background: var(--db-orange);
}

/* Colorful Glass Borders */
.stage-01 .visual-mockup {
    border-left: 2px solid rgba(63, 81, 181, 0.3);
}

.stage-02 .visual-mockup {
    border-left: 2px solid rgba(0, 188, 212, 0.3);
}

.stage-03 .visual-mockup {
    border-left: 2px solid rgba(156, 39, 176, 0.3);
}

.stage-04 .visual-mockup {
    border-left: 2px solid rgba(233, 30, 99, 0.3);
}

.stage-05 .visual-mockup {
    border-left: 2px solid rgba(76, 175, 80, 0.3);
}

.stage-06 .visual-mockup {
    border-left: 2px solid rgba(244, 67, 54, 0.3);
}

.stage-07 .visual-mockup {
    border-left: 2px solid rgba(255, 193, 7, 0.3);
}

.stage-08 .visual-mockup {
    border-left: 2px solid rgba(255, 152, 0, 0.3);
}

.visual-mockup:hover {
    transform: translateY(-10px) rotateX(2deg);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(212, 175, 55, 0.1);
}

.mockup-header {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--color-gold);
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mockup-header::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-gold);
}

/* S1: Onboarding Protocol */
.onboarding-ui {
    justify-content: flex-start;
}

.onboarding-form-mockup {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

.form-field-mock label {
    display: block;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.input-box,
.select-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 18px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cursor-blink {
    width: 2px;
    height: 18px;
    background: var(--color-gold);
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.btn-mock {
    background: var(--grad-accent);
    color: #000;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-footer-mock {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
}

/* S2: Scope Selector */
.selector-ui {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.selector-nodes {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem;
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 1;
}

.standard-node {
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition-modern);
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
}

.iso-node.active {
    background: rgba(63, 81, 181, 0.2) !important;
    border: 1px solid var(--db-blue) !important;
    box-shadow: 0 0 15px rgba(63, 81, 181, 0.3);
    color: #fff;
    transform: scale(1.05);
}

.gso-node.active {
    background: rgba(0, 188, 212, 0.2) !important;
    border: 1px solid var(--db-cyan) !important;
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.3);
    color: #fff;
    transform: scale(1.05);
}

.smiic-node {
    opacity: 0.4;
}

@media (max-width: 1100px) {
    .selector-nodes {
        flex-direction: column;
        justify-content: center;
        gap: 1.25rem;
        height: auto;
        padding: 2.5rem 1rem;
    }

    .standard-node {
        width: 85%;
        padding: 1rem;
    }

    .selector-ui svg {
        display: none;
        /* Hide svg lines on mobile stack */
    }
}

.connection-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    opacity: 0.3;
}

/* S3: Upload Protocol */
.upload-ui {
    align-items: center;
    justify-content: center;
}

.floating-doc {
    font-size: 4rem;
    color: var(--color-gold);
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
    animation: float 4s infinite ease-in-out;
    margin-bottom: 2rem;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.upload-progress {
    width: 80%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 99px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.progress-bar {
    height: 100%;
    background: var(--grad-accent);
    box-shadow: 0 0 15px var(--color-gold);
}

.progress-glow {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressScan 2s infinite linear;
}

@keyframes progressScan {
    0% {
        transform: translateX(-150%);
    }

    100% {
        transform: translateX(250%);
    }
}

.upload-text {
    margin-top: 1.5rem;
    font-family: monospace;
    font-size: 0.7rem;
    color: var(--color-gold);
    letter-spacing: 2px;
    opacity: 0.8;
}

/* S4: Review */
/* S4: AI-Review Protocol - Dashboard Visualization */
.review-ui {
    padding: 2.5rem;
    background: rgba(15, 23, 42, 0.8);
    display: flex;
    flex-direction: column;
}

.analytics-svg-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.analytics-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
}

.svg-doc-base {
    fill: rgba(255, 255, 255, 0.03);
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 1;
}

.doc-line-pulse {
    fill: rgba(255, 255, 255, 0.1);
    animation: lineGlow 3s infinite ease-in-out;
}

@keyframes lineGlow {

    0%,
    100% {
        fill: rgba(255, 255, 255, 0.1);
    }

    50% {
        fill: var(--color-cyan);
    }
}

.svg-dash-panel {
    fill: rgba(15, 23, 42, 0.4);
    stroke: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.status-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 4;
}

.status-ring-active {
    fill: none;
    stroke: var(--color-gold);
    stroke-width: 4;
    stroke-dasharray: 157;
    stroke-dashoffset: 157;
    animation: ringProgress 5s infinite ease-out;
    stroke-linecap: round;
}

@keyframes ringProgress {
    0% {
        stroke-dashoffset: 157;
    }

    50% {
        stroke-dashoffset: 30;
    }

    100% {
        stroke-dashoffset: 30;
    }
}

.ring-text {
    fill: var(--color-gold);
    font-size: 14px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    text-anchor: middle;
    opacity: 0;
    animation: fadeInOut 5s infinite;
}

@keyframes fadeInOut {

    0%,
    40% {
        opacity: 0;
    }

    50%,
    100% {
        opacity: 1;
    }
}

.dash-bar-bg {
    fill: rgba(255, 255, 255, 0.05);
}

.dash-bar-active {
    fill: var(--color-gold);
    width: 0;
    animation: barGrow 5s infinite ease-out;
}

.dash-bar-active-cyan {
    fill: var(--color-cyan);
    width: 0;
    animation: barGrow 5s infinite ease-out 0.5s;
}

@keyframes barGrow {
    0% {
        width: 0;
    }

    50%,
    100% {
        width: 55px;
    }
}

.node-verified {
    fill: var(--color-cyan);
    opacity: 0.2;
    animation: nodePulse 2s infinite ease-in-out;
}

@keyframes nodePulse {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

.data-particle {
    fill: var(--color-cyan);
    filter: blur(1px);
}

@keyframes flow1 {
    0% {
        transform: translate(130px, 90px);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translate(270px, 134px);
        opacity: 0;
    }
}

@keyframes flow2 {
    0% {
        transform: translate(130px, 140px);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translate(270px, 159px);
        opacity: 0;
    }
}

@keyframes flow3 {
    0% {
        transform: translate(130px, 180px);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translate(275px, 200px);
        opacity: 0;
    }
}

.svg-lens {
    fill: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    stroke: rgba(6, 182, 212, 0.2);
    stroke-dasharray: 5;
    animation: lensSpin 10s infinite linear;
}

@keyframes lensSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* S5: Audit Coordination */
.audit-ui {
    padding: 1.5rem;
}

/* S5: Audit Coordination - Readiness Mission Control */
.audit-ui {
    background: rgba(15, 23, 42, 0.8) !important;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
}

.readiness-flex-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.readiness-svg-container {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coordination-log {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    font-family: monospace;
    font-size: 0.65rem;
    color: #94a3b8;
    height: 180px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.log-line span {
    color: var(--color-gold);
    opacity: 0.6;
}

.log-line.active {
    color: var(--color-cyan);
    animation: pulse 2s infinite;
}

.readiness-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.1));
}

.protocol-core-bg {
    fill: rgba(212, 175, 55, 0.1);
    stroke: var(--color-gold);
    stroke-width: 2;
}

.protocol-core-pulse {
    fill: none;
    stroke: var(--color-gold);
    stroke-width: 1;
    animation: corePulse 4s infinite ease-out;
}

@keyframes corePulse {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.6) translate(-75px, -55px);
        opacity: 0;
    }
}

.sync-line {
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 1;
    stroke-dasharray: 4;
}

.node-bg {
    fill: rgba(15, 23, 42, 0.6);
    stroke: rgba(255, 255, 255, 0.1);
}

.node-icon-text {
    font-size: 20px;
    text-anchor: middle;
}

.node-status-glow {
    fill: none;
    stroke: var(--color-cyan);
    stroke-width: 2;
    stroke-dasharray: 188;
    stroke-dashoffset: 188;
    animation: glowSync 6s infinite ease-in-out;
}

.data-tag-bg {
    fill: rgba(15, 23, 42, 0.9);
    stroke: rgba(6, 182, 212, 0.3);
    stroke-width: 1;
}

.data-tag-text {
    fill: var(--color-cyan);
    font-family: monospace;
    font-size: 9px;
    text-anchor: middle;
    font-weight: bold;
}

.node-data-overlay {
    animation: fadeInOut 4s infinite ease-in-out;
}

@keyframes glowSync {

    0%,
    100% {
        stroke-dashoffset: 188;
        opacity: 0;
    }

    50% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

.packet {
    fill: var(--color-gold);
}

@keyframes packet-flow {
    0% {
        offset-distance: 0%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        offset-distance: 100%;
        opacity: 0;
    }
}

/* Using motion path for packets would be better, but we'll use simple translate for now */
.readiness-footer {
    margin-top: 1rem;
    text-align: center;
}

.status-ready {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--color-cyan);
    letter-spacing: 2px;
    background: rgba(6, 182, 212, 0.1);
    padding: 6px 12px;
    border-radius: 4px;
    animation: blink 2s infinite;
}

/* S6: Corrective Actions - Compliance Bridge */
.corrective-ui {
    background: rgba(15, 23, 42, 0.8) !important;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.bridge-svg-container {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bridge-svg {
    width: 100%;
    height: auto;
}

.bridge-module-bg {
    fill: rgba(6, 182, 212, 0.05);
    stroke: var(--color-cyan);
    stroke-width: 1;
}

.module-label {
    fill: var(--color-cyan);
    font-size: 8px;
    font-family: monospace;
    text-anchor: middle;
    opacity: 0.7;
}

.module-value {
    fill: white;
    font-size: 10px;
    font-family: monospace;
    text-anchor: middle;
    font-weight: bold;
}

.bridge-path {
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 2;
    stroke-dasharray: 4;
}

.remediation-pulse {
    fill: var(--color-cyan);
    filter: blur(2px);
    offset-path: path('M 110 100 L 290 100');
    animation: pulseMove 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pulseMove {
    0% {
        offset-distance: 0%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    90% {
        opacity: 0;
        offset-distance: 100%;
    }

    100% {
        offset-distance: 100%;
        opacity: 0;
    }
}

.nc-node-outer {
    fill: none;
    stroke: #ef4444;
    stroke-width: 1;
    animation: nodeVibrate 4s infinite linear;
}

.nc-node-inner {
    fill: rgba(239, 68, 68, 0.1);
    stroke: #ef4444;
    stroke-width: 2;
    animation: nodeShift 4s infinite linear;
}

@keyframes nodeShift {

    0%,
    75% {
        fill: rgba(239, 68, 68, 0.1);
        stroke: #ef4444;
        transform: scale(1);
    }

    80% {
        fill: var(--color-gold);
        stroke: var(--color-gold);
        transform: scale(1.1);
    }

    100% {
        fill: var(--color-gold);
        stroke: var(--color-gold);
        transform: scale(1);
    }
}

@keyframes nodeVibrate {

    0%,
    75% {
        transform: translate(0, 0);
        opacity: 1;
    }

    2%,
    73% {
        transform: translate(1px, -1px);
    }

    4%,
    71% {
        transform: translate(-1px, 1px);
    }

    75% {
        transform: translate(0, 0);
        opacity: 0.5;
    }

    80% {
        transform: scale(1.5);
        opacity: 0;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.nc-icon {
    font-size: 20px;
    text-anchor: middle;
    animation: iconChange 4s infinite linear;
}

@keyframes iconChange {

    0%,
    75% {
        opacity: 1;
        content: '⚠️';
    }

    80%,
    100% {
        opacity: 1;
        content: '✓';
        fill: var(--color-gold);
        font-size: 24px;
    }
}

.data-box-bg {
    fill: rgba(0, 0, 0, 0.3);
    stroke: rgba(255, 255, 255, 0.05);
}

.box-label {
    fill: #64748b;
    font-size: 7px;
    font-family: monospace;
}

.box-value {
    fill: #94a3b8;
    font-size: 8px;
    font-family: monospace;
    font-weight: bold;
}

.text-right {
    text-anchor: end;
}

.bridge-footer {
    margin-top: 1rem;
    text-align: center;
}

.resolution-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 4px;
    color: var(--color-cyan);
    font-family: monospace;
    font-size: 0.7rem;
    letter-spacing: 1px;
    animation: blink 2s infinite;
}

.nc-action {
    border-left-color: var(--color-cyan);
}

.nc-label {
    display: block;
    font-family: 'Outfit';
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 4px;
}

.nc-value {
    font-size: 0.85rem;
    font-weight: 600;
}

.status-indicator-gold {
    background: var(--color-gold);
    color: #000;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-block;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* S7: Decision Gate */
.decision-ui {
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.seal-icon {
    font-size: 5rem;
    color: var(--color-gold);
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.5));
    animation: scalePulse 3s infinite ease-in-out;
}

@keyframes scalePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.decision-text {
    margin-top: 2rem;
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 4px;
    color: var(--color-gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

/* S8: Lifecycle Management - Monitoring Dashboard */
.monitoring-ui {
    background: rgba(15, 23, 42, 0.8) !important;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 280px;
}

.monitoring-flex-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.monitoring-streams {
    flex: 1.5;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    height: 120px;
}

.stream-svg {
    width: 100%;
    height: 100%;
}

.stream-path-cyan {
    fill: none;
    stroke: var(--color-cyan);
    stroke-width: 1;
    opacity: 0.4;
    animation: waveMove 2s infinite linear;
}

.stream-path-gold {
    fill: none;
    stroke: var(--color-gold);
    stroke-width: 1;
    opacity: 0.3;
    animation: waveMove 3s infinite linear reverse;
}

@keyframes waveMove {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50px);
    }
}

.stream-label {
    fill: #475569;
    font-size: 6px;
    font-family: monospace;
}

.renewal-radar-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.radar-svg {
    width: 100px;
    height: 100px;
}

.radar-circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 1;
}

.radar-sweep {
    stroke: var(--color-cyan);
    stroke-width: 2;
    opacity: 0.5;
    animation: rotateSweep 4s infinite linear;
    transform-origin: 80px 80px;
}

@keyframes rotateSweep {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.marker-dot {
    fill: var(--color-gold);
    animation: blink 1.5s infinite;
}

.marker-text {
    fill: var(--color-gold);
    font-size: 8px;
    font-family: monospace;
    font-weight: bold;
}

.monitoring-data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem;
    border-radius: 6px;
}

.data-cell {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cell-label {
    font-size: 0.55rem;
    color: #475569;
    font-family: monospace;
}

.cell-value {
    font-size: 0.7rem;
    color: #94a3b8;
    font-family: monospace;
    font-weight: bold;
}

/* Section Logic: Distinction Cards */
.diff-card {
    padding: 3.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.6);
    /* Darker, more contrasty base */
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.diff-card:hover {
    transform: translateY(-5px);
}

.diff-card h4 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
}

.diff-card ul {
    list-style: none;
    padding: 0;
}

.diff-card li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: flex-start;
    /* Better for multi-line text on mobile */
    gap: 15px;
    font-size: 1rem;
    line-height: 1.6;
    color: #cbd5e1;
    /* Clear slate-gray for readability */
}

.diff-card li i {
    margin-top: 4px;
    /* Align icon with first line of text */
}

.diff-card li:last-child {
    border-bottom: none;
}

/* Legacy Card Specifics */
.legacy h4 {
    color: #f1f5f9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.legacy li {
    color: #e2e8f0;
}

/* Modern Card Specifics */
.modern {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(2, 6, 23, 0.8)) !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
}

.modern h4 {
    color: var(--color-gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.modern li {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Reveal Utility Classes */


/* Staggered Delay Tokens */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Responsive Evolution */
@media (max-width: 1100px) {
    .stage-grid {
        gap: 6rem;
    }

    .stage-content h3 {
        font-size: 2.2rem;
    }
}

@media (max-width: 968px) {
    .journey-timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .data-packet {
        left: 50%;
    }

    /* Mobile Stack Logic */
    .journey-stage {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .stage-marker {
        position: static;
        /* Remove absolute positioning */
        transform: none;
        margin-bottom: 1rem;
    }

    .stage-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 1.5rem !important;
        /* Balanced padding */
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Center children */
    }

    .stage-content {
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Center textual content */
        width: 100%;
    }

    .why-box {
        text-align: left;
        /* Keep internal text readable */
        max-width: 400px;
        margin: 2rem auto 0 !important;
        /* Force explicit center */
        width: 100%;
    }

    .visual-mockup {
        margin: 0 auto !important;
        /* Force explicit center */
        max-width: 100%;
    }

    .reverse .stage-grid>*:first-child {
        order: 1;
    }

    .reverse .stage-grid>*:last-child {
        order: 2;
    }

    /* Distinction Mobile */
    .grid-2 {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .diff-card {
        padding: 2rem;
    }
}

@media (max-width: 600px) {
    .journey-hero {
        padding: 8rem 0 4rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .journey-timeline {
        padding: 0 0 4rem;
    }

    .stage-grid {
        gap: 2.5rem;
    }

    .stage-content h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .stage-content p {
        font-size: 0.95rem;
        max-width: 90%;
        margin: 0 auto;
    }

    .stage-tag {
        font-size: 0.6rem;
        margin-bottom: 1rem;
    }

    .why-box {
        padding: 1rem;
        margin-top: 1.5rem;
    }

    .why-box p {
        font-size: 0.85rem;
    }

    .visual-mockup {
        height: 360px;
        padding: 1.5rem;
    }

    /* Distinction Mobile Fine-Tuning */
    .section-heading {
        font-size: 2rem;
    }

    .diff-card h4 {
        font-size: 1.4rem;
    }

    .diff-card li {
        font-size: 0.95rem;
        padding: 0.8rem 0;
    }
}

/* Industries Page Styling */

/* Hero */
.industry-hero {
    padding: 12rem 0 4rem;
    /* Specific padding for this page */
    position: relative;
    background: #020617;
    overflow: hidden;
}

/* Grid Layout */
.sector-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding-bottom: 4rem;
}

/* Base Module Style */
.sector-module {
    background: rgba(15, 23, 42, 0.8);
    /* Solid Dark Base */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);

    /* Just logical text, not CSS property */
}

.sector-module:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Zone Tinting (Subtle Accents) */
.sector-module.critical {
    border-left: 4px solid #ef4444;
}

/* Red for Meat/Slaughter */
.sector-module.science {
    border-left: 4px solid #06b6d4;
}

/* Cyan for Pharma/Dairy */
.sector-module.logistics {
    border-left: 4px solid var(--color-gold);
}

/* Gold */
.sector-module.export {
    border-left: 4px solid #8b5cf6;
}

/* Purple for Trade */
.sector-module.standard {
    border-left: 4px solid #64748b;
}

/* Slate */

.sector-module:hover.critical {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.05);
}

.sector-module:hover.science {
    border-color: rgba(6, 182, 212, 0.4);
    background: rgba(6, 182, 212, 0.05);
}

.sector-module:hover.logistics {
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(212, 175, 55, 0.05);
}

.sector-module:hover.export {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.05);
}

/* Typography & Content */
.sector-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sector-icon {
    font-size: 1.8rem;
    color: #fff;
    /* High Visibility */
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.critical .sector-icon {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.2);
}

.science .sector-icon {
    color: #67e8f9;
    background: rgba(6, 182, 212, 0.2);
}

.logistics .sector-icon {
    color: #fde047;
    background: rgba(212, 175, 55, 0.2);
}

.export .sector-icon {
    color: #c4b5fd;
    background: rgba(139, 92, 246, 0.2);
}

.sector-header h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.sector-desc {
    color: #cbd5e1;
    /* Clear Slate, not dim */
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Expansion List (The Details) */
.compliance-scope {
    list-style: none;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    margin: 0;
}

.compliance-scope li {
    color: #e2e8f0;
    /* Near White */
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}

.compliance-scope i {
    font-size: 0.6rem;
    color: var(--color-gold);
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 600px) {
    .sector-masonry {
        grid-template-columns: 1fr;
        /* Stack on phone */
        gap: 1rem;
    }

    .sector-module {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .industry-hero {
        padding: 9rem 0 3rem;
    }
}

/* Industries V2 CSS - The Crystal Theme */

/* 1. CRITICAL ANIMATION STYLES */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* 2. ZONE LAYOUT */
.industry-zone {
    padding: 5rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.zone-header {
    margin-bottom: 3rem;
    max-width: 800px;
}

.zone-header h2 {
    font-size: 2.2rem;
    color: var(--color-navy-deep);
    margin-bottom: 0.5rem;
}

.zone-header p {
    color: var(--color-slate);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* 3. DATA LIST LAYOUT (The fix for "Sticky Board") */
.industry-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.industry-row {
    display: grid;
    grid-template-columns: 70px 1.8fr 3fr 2fr;
    /* Icon | Name | Desc | KPIs */
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    /* Light Glass */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    gap: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.industry-row:hover {
    background: #fff;
    transform: translateX(8px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border-color: var(--color-gold-muted);
}

/* COLUMNS */
.row-icon {
    width: 50px;
    height: 50px;
    background: #f8fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--color-navy-deep);
    border: 1px solid #e2e8f0;
}

.industry-row:hover .row-icon {
    background: var(--color-navy-deep);
    color: var(--color-gold);
    border-color: var(--color-navy-deep);
}

.row-name h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.4rem 0;
    color: var(--color-navy-deep);
}

/* RISK PILLS */
.risk-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.risk-pill.critical {
    background: #fee2e2;
    color: #991b1b;
}

.risk-pill.science {
    background: #ecfeff;
    color: #155e75;
}

.risk-pill.logistics {
    background: #fef9c3;
    color: #854d0e;
}

.risk-pill.standard {
    background: #f1f5f9;
    color: #475569;
}

.risk-pill.export {
    background: #f3e8ff;
    color: #6b21a8;
}

.row-desc p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-slate);
    line-height: 1.5;
}

/* KPIS */
.row-kpi {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.kpi-tag {
    font-size: 0.8rem;
    color: var(--color-navy-deep);
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.kpi-tag i {
    color: var(--color-gold);
    font-size: 0.7rem;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .industry-row {
        grid-template-columns: 60px 1fr;
        grid-template-areas:
            "icon name"
            "icon desc"
            "kpi kpi";
        gap: 1rem;
        padding: 1.5rem;
    }

    .row-icon {
        grid-area: icon;
        align-self: start;
    }

    .row-name {
        grid-area: name;
    }

    .row-desc {
        grid-area: desc;
    }

    .row-kpi {
        grid-area: kpi;
        margin-top: 0.5rem;
    }
}

/* Technology & Tech Security - Secure Core Hybrid Aesthetic */

/* 1. Base Essentials & Constants */
:root {
    --tech-padding-v: 8rem;
    --hero-pt: 140px;
}

.bg-mesh {
    background: #F8FAFC;
    background-image:
        radial-gradient(circle at 100% 0%, rgba(0, 180, 216, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(212, 175, 55, 0.05) 0%, transparent 40%);
}

/* 2. Page Specific Hero (Restored Dark) */
.hero-tech-restored {
    min-height: 90vh;
    padding-top: var(--hero-pt);
    padding-bottom: 8rem;
    position: relative;
    background: #020617;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hud-pulse-restored {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: hud-glow 4s infinite alternate;
    pointer-events: none;
    z-index: 1;
}

@keyframes hud-glow {
    from {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.8);
    }

    to {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.tech-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 180, 216, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 180, 216, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
}

.hero-glass-shield {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 40px;
    padding: 4.5rem;
    max-width: 850px;
    position: relative;
    z-index: 10;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

/* 3. Cyber-Glass Metrics */
.tech-metrics-hub {
    display: flex;
    gap: 3rem;
    margin-top: 3.5rem;
}

.tech-metric-box {
    border-left: 2px solid var(--color-gold);
    padding-left: 1.5rem;
}

.tech-metric-value {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: #fff;
    line-height: 1;
}

.tech-metric-label {
    font-size: 0.85rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* 4. Infrastructure Panels (Navy Glass) */
.infra-panel-navy {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 3.5rem;
    transition: var(--transition-modern);
    height: 100%;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.infra-panel-navy:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 180, 216, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.panel-icon-tech {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.infra-panel-navy h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 700;
}

.infra-panel-navy p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 1rem;
}

.infra-panel-navy ul {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.infra-panel-navy li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.infra-panel-navy li i {
    color: var(--color-gold);
    font-size: 0.8rem;
}

/* 5. Terminal Log (Dark Aesthetic) */
.terminal-dark-wrap {
    background: #020617;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    font-family: 'JetBrains Mono', monospace;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow-x: auto;
    /* Handle overflow for small screens */
}

.terminal-header {
    display: flex;
    gap: 8px;
    margin-bottom: 2rem;
}

.term-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.5;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.log-entry-tech {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    display: flex;
    gap: 2rem;
    /* Removed min-width to prevent overflow */
}

.log-time-tech {
    color: rgba(255, 255, 255, 0.4);
    width: 80px;
}

.log-event-tech {
    color: #fff;
    font-weight: 400;
    flex-grow: 1;
}

.log-status-tech {
    color: var(--color-cyan);
    font-weight: 700;
}

/* 6. Protocol Enforcement Engine (SVG) */
.protocol-engine-wrap {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.protocol-svg {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 180, 216, 0.2));
}

.pulse-node {
    animation: node-pulse 2s infinite alternate ease-in-out;
    transform-origin: center;
}

@keyframes node-pulse {
    from {
        opacity: 0.6;
        transform: scale(1);
    }

    to {
        opacity: 1;
        transform: scale(1.1);
    }
}

.scan-beam {
    animation: beam-sweep 4s infinite linear;
}

@keyframes beam-sweep {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

.protocol-status-tag {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid var(--color-cyan);
    color: var(--color-cyan);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* 7. Boundaries Section (Balanced Light) */
.boundaries-light-blueprint {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 40px;
    padding: 5rem;
    box-shadow: var(--shadow-soft);
}

/* 8. UNIVERSAL RESPONSIVE OVERHAUL */
@media (max-width: 1200px) {
    .container {
        padding: 0 4%;
    }
}

@media (max-width: 1024px) {
    .hero-tech-restored {
        padding-top: 120px;
        padding-bottom: 6rem;
        text-align: center;
    }

    .hero-glass-shield {
        padding: 3rem 2rem;
        margin: 0 auto;
    }

    .grid-3,
    .grid-2 {
        gap: 2rem;
    }
}

@media (max-width: 768px) {

    /* Reset huge grid offsets */
    .grid-3 {
        margin-top: 0 !important;
    }

    .section {
        padding: 4rem 0 !important;
    }

    .hero-title-v3 {
        font-size: 2.8rem !important;
        line-height: 1.15;
    }

    .hero-description {
        font-size: 1.1rem !important;
        margin: 2rem auto;
    }

    .tech-metrics-hub {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .tech-metric-box {
        border-left: none;
        border-top: 2px solid var(--color-gold);
        padding-left: 0;
        padding-top: 1.5rem;
        width: 100%;
        max-width: 250px;
    }

    /* SVG Engine Mobile - Ensure centering and no overflow */
    .protocol-engine-wrap {
        padding: 2rem 1rem;
        min-height: 300px;
        width: 100%;
        margin: 0 auto;
    }

    .protocol-svg {
        width: 100%;
        height: auto;
    }

    .infra-panel-navy {
        padding: 2.5rem 1.5rem;
        text-align: center;
    }

    .panel-icon-tech {
        margin: 0 auto 1.5rem;
    }

    .infra-panel-navy li {
        justify-content: center;
    }

    /* SVG Engine Mobile */
    .protocol-engine-wrap {
        padding: 2rem 1rem;
        min-height: 300px;
    }

    /* Terminal Mobile */
    .terminal-dark-wrap {
        padding: 1.5rem;
    }

    /* Boundaries Mobile */
    .boundaries-light-blueprint {
        padding: 2.5rem 1.5rem;
    }

    .boundary-row {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 1.5rem 0 !important;
    }

    /* Column stacking and removal of offset padding */
    .reveal-hidden[style*="padding-left: 5rem"],
    .reveal-hidden[style*="padding-left: 4rem"] {
        padding-left: 0 !important;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title-v3 {
        font-size: 2.2rem !important;
    }

    .hero-glass-shield {
        padding: 2.5rem 1.5rem;
    }

    .tech-metric-value {
        font-size: 2.2rem;
    }
}

/* 
   HalalCortex | Standards Library CSS V4
   Aesthetic: Mobile-First Crystal Architecture
*/

/* Mobile-First Standards Base */
.standards-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1rem;
    /* Default mobile padding */
}

.standards-grid-wrapper {
    display: flex;
    flex-direction: column;
    /* Stack on mobile */
    gap: 2rem;
}

/* Sidebar as a horizontal scrollable menu on mobile */
.hud-sidebar {
    position: sticky;
    top: 80px;
    /* Accounts for header height */
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #E2E8F0;
    margin: 0 -1rem;
    /* Full span mobile */
    padding: 0.75rem 1rem;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.hud-sidebar::-webkit-scrollbar {
    display: none;
}

.hud-title {
    text-transform: uppercase;
    letter-spacing: 1px;
    display: none;
    /* Hide title on mobile scrollbar */
}

.toc-list {
    display: flex;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-slate);
    text-decoration: none;
    border: 1px solid #E2E8F0;
    border-radius: 99px;
    background: #F8FAFC;
    transition: all 0.3s ease;
}

.toc-item.active .toc-link {
    background: var(--color-navy-deep);
    color: white;
    border-color: var(--color-navy-deep);
}

/* Redesigned Protocol Cards - Mobile First */
.standards-main-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.protocol-section {
    scroll-margin-top: 130px;
}

.protocol-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* Stacked by default */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.protocol-card__visual {
    width: 100%;
    height: 220px;
    background: #F1F5F9;
}

.protocol-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.protocol-card__content {
    padding: 1.5rem;
}

.protocol-card__badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--color-gold-muted);
    color: var(--color-gold);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.protocol-card__title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-navy-deep);
    text-transform: uppercase;
}

.protocol-card__text {
    font-size: 0.95rem;
    color: var(--color-slate);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Checklists */
.protocol-card__checklist,
.scan-checklist {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.protocol-card__checklist li,
.scan-checklist li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-navy-deep);
}

.protocol-card__checklist i,
.scan-checklist i {
    color: var(--color-gold);
}

/* Data Box */
.protocol-card__data-box {
    background: #F8FAFC;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
}

.data-list {
    list-style: none;
    padding: 0;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Responsive Table */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin: 1rem 0;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    min-width: 450px;
    /* Small break point for table */
    border-collapse: collapse;
    font-size: 0.85rem;
}

.comparison-table th {
    text-align: left;
    padding: 0.75rem;
    background: #F1F5F9;
    font-weight: 600;
}

.comparison-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #E2E8F0;
}

/* Risk Matrix Grid */
.risk-matrix-grid {
    display: grid;
    gap: 1rem;
}

.risk-item {
    padding: 1.25rem;
    background: #F8FAFC;
    border-radius: 16px;
    border-left: 4px solid #CBD5E1;
}

.risk-item--high {
    border-left-color: #EF4444;
}

.risk-item--medium {
    border-left-color: var(--color-gold);
}

.risk-item--low {
    border-left-color: var(--color-cyan);
}

.risk-item__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.risk-item__tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.risk-item--high .risk-item__tag {
    background: #FEE2E2;
    color: #EF4444;
}

.risk-item--medium .risk-item__tag {
    background: #FEF3C7;
    color: #D4AF37;
}

.risk-item--low .risk-item__tag {
    background: #E0F2FE;
    color: #00B4D8;
}

.risk-item__title {
    font-size: 1rem;
    margin: 0;
}

.risk-item__desc {
    font-size: 0.85rem;
    color: var(--color-slate);
    margin: 0;
}

/* Glossary Grid */
.lexicon-grid-modern {
    display: grid;
    gap: 1rem;
}

.lex-item {
    padding: 1.25rem;
    background: #F8FAFC;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
}

.lex-item__tag {
    display: block;
    font-weight: 700;
    color: var(--color-gold);
    font-size: 0.7rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.lex-item__desc {
    font-size: 0.85rem;
    margin: 0;
}

/* Desktop Enhancements (768px+) */
@media (min-width: 768px) {
    .standards-container {
        padding: 0 2rem;
    }

    .risk-matrix-grid,
    .lexicon-grid-modern {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop Wide Enhancements (1024px+) */
@media (min-width: 1024px) {
    .standards-grid-wrapper {
        flex-direction: row;
        align-items: flex-start;
        padding-top: 4rem;
        gap: 4rem;
    }

    .hud-sidebar {
        position: sticky;
        top: 110px;
        /* Accounts for larger desktop header */
        width: 250px;
        flex: 0 0 auto;
        margin: 0;
        background: transparent;
        border: none;
        padding: 0;
        overflow: visible;
    }

    .hud-title {
        display: block;
        font-size: 0.75rem;
        font-weight: 800;
        letter-spacing: 2px;
        color: var(--color-gold);
        margin-bottom: 1.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #E2E8F0;
    }

    .toc-list {
        flex-direction: column;
        gap: 0.25rem;
    }

    .toc-link {
        border: none;
        background: transparent;
        border-right: 3px solid transparent;
        border-radius: 0;
        padding: 0.75rem 0;
        width: 100%;
        text-align: left;
    }

    /* Desktop Styles for Active State */
    .toc-item.active .toc-link {
        background: transparent;
        color: var(--color-navy-deep);
        border-right: 3px solid var(--color-gold) !important;
        font-weight: 700;
        box-shadow: none;
        border-radius: 0;
    }

    .protocol-card {
        flex-direction: row;
        min-height: 400px;
    }

    .protocol-card--reverse {
        flex-direction: row-reverse;
    }

    .protocol-card__visual {
        flex: 0 0 350px;
        height: auto;
    }

    .protocol-card__content {
        padding: 3rem;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .protocol-card__content--full {
        padding: 4rem;
    }

    .protocol-card__title {
        font-size: 2.25rem;
    }
}

/* Digital Journey CTA: Premium V3 */
.journey-cta {
    padding: 12rem 0;
    position: relative;
    background: url('../assets/images/halal-hero-cinematic.png') no-repeat center center/cover;
    color: white;
    overflow: hidden;
}

.journey-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(15, 23, 42, 0.95) 0%,
            rgba(15, 23, 42, 0.7) 50%,
            rgba(15, 23, 42, 0.95) 100%);
    z-index: 1;
}

.journey-cta .container {
    position: relative;
    z-index: 10;
}

.journey-cta .section-heading {
    margin-bottom: 2rem;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    color: white !important;
}

.journey-cta .cta-desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

.journey-cta .flex-center {
    transition: var(--transition-modern);
}

.journey-cta .btn-modern {
    white-space: nowrap;
    min-width: 240px;
}

/* Specific Aurora for CTA */
.journey-cta .stage-aurora {
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.4;
    filter: blur(150px);
}

@media (max-width: 768px) {
    .journey-cta {
        padding: 8rem 0;
    }

    .journey-cta .flex-center {
        flex-direction: column;
        gap: 1.25rem !important;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .journey-cta .btn-modern {
        width: 100%;
        text-align: center;
        padding: 1.25rem 2rem;
        min-width: unset;
    }
}

/* Body / HTML Global Reset handled at top of file */
* {
    box-sizing: border-box;
}