/* 
   THE CHIRON PROJECT - DESIGN SYSTEM 
   Main Stylesheet
*/

:root {
    /* Base Color Palette */
    --navy-primary: #1a2845;
    --navy-secondary: #2c3e50;
    --white-primary: #f0f2f5;
    --white-pure: #f7f9fa;
    --signal-red: #ed2027;
    --slate-gray: #3e4b5c;
    --light-gray: #e9e9ea;
    --blue-accent: #00c3ff;

    /* Theme-specific variables (Default Light) */
    --bg-main: radial-gradient(circle at 50% 50%, #f7f9fa 0%, #ebedf0 100%);
    --bg-section-alt: var(--white-primary);
    --text-main: var(--navy-primary);
    --text-muted: var(--slate-gray);
    --border-color: rgba(26, 40, 69, 0.1);
    --card-bg: var(--white-pure);
    --header-bg: var(--navy-primary);
    --header-text: var(--white-pure);

    /* Typography */
    --font-heading: 'Cormorant', serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Type Scale */
    --heading-xl: 4.5rem;
    /* 72px */
    --heading-lg: 3rem;
    /* 48px */
    --heading-md: 2rem;
    /* 32px */
    --heading-sm: 1.5rem;
    /* 24px */
    --body-lg: 1.125rem;
    /* 18px */
    --body-md: 1rem;
    /* 16px */
    --body-sm: 0.875rem;
    /* 14px */
    --body-xs: 0.75rem;
    /* 12px */

    /* Spacing System */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 72px;
    --space-xxl: 120px;

    /* Layout */
    --container-max: 1200px;
    --container-narrow: 800px;
    --header-height: 80px;
    --site-padding: 5%;

    /* Effects */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --transition-standard: 0.3s ease;
    --glow-color: rgba(74, 144, 226, 0.3);
    --dot-grid-opacity: 0.15;

    /* Mobile Refinements */
    --section-padding-mob: 80px;
    --header-height-mob: 70px;

    /* Technical Accents */
    --blue-accent: #00c3ff;
}

[data-theme="dark"] {
    --bg-main: radial-gradient(circle at 50% 50%, #0c1421 0%, #050a14 100%);
    --bg-section-alt: #0e1726;
    --text-main: var(--white-pure);
    --text-muted: rgba(255, 255, 255, 0.6);
    --border-color: rgba(255, 255, 255, 0.1);
    --card-bg: #1a2845;
    --header-bg: #050a14;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: var(--body-md);
    line-height: 1.6;
    color: var(--text-main);
    background: var(--bg-main);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-standard);
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--header-bg);
    color: var(--header-text);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all var(--transition-standard);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.main-nav {
    margin-left: auto;
    margin-right: 40px;
}

.header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
}

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

.logo-dark {
    display: none;
}

.logo-light {
    display: block;
}


/* Standardize main-nav color */
.main-nav a {
    color: var(--white-pure);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    font-size: var(--body-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: inherit;
    opacity: 0.9;
    position: relative;
    padding: 8px 0;
}

.main-nav a:not(.cta-button)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--signal-red);
    transition: width 0.3s ease;
}

.main-nav a:not(.cta-button):hover::after {
    width: 100%;
}

.main-nav a:not(.cta-button):hover {
    opacity: 1;
}

/* Active page indication */
.main-nav a.active::after {
    width: 100%;
    background-color: var(--signal-red);
}

/* Dropdown Menu Styles */
.main-nav .has-dropdown {
    position: relative;
}

.main-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
    background-color: var(--navy-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, margin-top 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.main-nav .has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 15px;
}

.main-nav .dropdown-menu li {
    list-style: none;
}

.main-nav .dropdown-menu a {
    display: block;
    padding: 16px 24px;
    font-size: var(--body-sm);
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.main-nav .dropdown-menu li:last-child a {
    border-bottom: none;
}

.main-nav .dropdown-menu a:hover {
    background-color: rgba(237, 32, 39, 0.1);
    padding-left: 32px;
}

.main-nav .dropdown-menu a::after {
    display: none;
}

/* Standardize dropdown as always navy to match standardized header */
.main-nav .dropdown-menu {
    background-color: var(--navy-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.main-nav .dropdown-menu a {
    color: var(--white-pure);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.main-nav .dropdown-menu a:hover {
    background-color: rgba(237, 32, 39, 0.1);
}

/* Iteration Control Panel */
.iteration-control-panel {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 320px;
    background-color: rgba(10, 15, 25, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    color: var(--white-pure);
    padding: 30px;
    z-index: 9999;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: none;
    /* Toggle via JS */
    animation: panelSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes panelSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

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

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.panel-header h4 {
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white-pure);
}

.panel-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.panel-close:hover {
    color: var(--signal-red);
}

.panel-info {
    font-size: var(--body-xs);
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
}

.version-selectors {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.version-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white-pure);
    padding: 14px 20px;
    text-align: left;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: var(--body-sm);
    font-weight: 500;
    transition: all 0.3s ease;
}

.version-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--signal-red);
}

.version-btn.active {
    background: var(--signal-red);
    border-color: var(--signal-red);
    font-weight: 700;
}

.panel-footer {
    margin-top: 24px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-footer p {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Global Theme Toggle - Re-positioned to Fixed Top Right */
.theme-toggle-wrapper {
    position: fixed;
    top: 25px;
    right: 30px;
    z-index: 2005;
    /* Above header and most overlays */
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white-pure);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Light Mode Overrides for Toggle */
[data-theme="light"] .theme-toggle {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--navy-primary);
}

.theme-toggle:hover {
    transform: rotate(180deg) scale(1.1);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--blue-accent);
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: var(--signal-red);
}

.theme-label {
    display: none;
    /* Hide words as requested */
}

.theme-icon {
    font-size: 18px;
    line-height: 1;
}

.cta-button {
    background-color: var(--signal-red);
    color: var(--white-pure);
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    font-size: var(--body-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #d11921;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(237, 32, 39, 0.2);
}

.cta-button:active {
    transform: translateY(0);
}

/* HERO SECTION */
.hero {
    position: relative;
    background-color: var(--white-pure);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

/* Subtle dot grid */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(var(--light-gray) 1px, transparent 1px),
        radial-gradient(var(--light-gray) 1px, transparent 1px);
    background-size: 40px 40px, 80px 80px;
    background-position: 0 0, 20px 20px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}



/* Data Scan Line */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--signal-red), transparent);
    opacity: 0.3;
    z-index: 20;
    pointer-events: none;
    animation: data-scan 10s linear infinite;
}

@keyframes data-scan {
    0% {
        top: 0%;
        opacity: 0;
    }

    5% {
        opacity: 0.3;
    }

    95% {
        opacity: 0.3;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.hero .hero-bg-graphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background-image: url('../brand-assets/placeholders/hero-mountain-wash.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Blend mountain with white to make animation pop */
    background-color: var(--white-pure);
    background-blend-mode: overlay;
}

#hero-animation-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.8;
}

.giant-arch-mask {
    width: 140%;
    height: 140%;
    border: 1px solid rgba(26, 40, 69, 0.1);
    border-radius: 100% 0 0 0;
    transform: rotate(45deg) translate(-20%, -20%);
    position: relative;
    z-index: 3;
    opacity: 0.4;
}

.giant-arch-mask::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    border: 1px solid rgba(26, 40, 69, 0.03);
    border-radius: 100% 0 0 0;
}

.hero .hero-layout {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 160px var(--site-padding) 80px;
    position: relative;
    z-index: 10;
}

.hero .hero-content {
    max-width: 600px;
    width: 45%;
    position: relative;
    z-index: 20;
}

.hero-footer {
    position: relative;
    width: 100%;
    background-color: var(--white-primary);
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
    padding: 48px 0;
    z-index: 20;
}

.hero-footer-content {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.footer-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: var(--body-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--slate-gray);
    font-weight: 600;
}

.stat-value {
    font-size: var(--body-sm);
    color: var(--navy-primary);
    font-weight: 700;
}

.hero-title {
    font-size: 4rem;
    color: var(--navy-primary);
    margin-bottom: 32px;
    line-height: 1.1;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.hero-title span {
    color: var(--navy-primary);
    font-style: italic;
    display: block;
}

.hero-subtitle {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--signal-red);
    margin-bottom: 16px;
    letter-spacing: 0.15em;
    line-height: 1;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--slate-gray);
    margin-bottom: 48px;
    line-height: 1.45;
    max-width: 520px;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

/* Strategic Moment */
.strategic-moment {
    background-color: var(--navy-primary);
    color: var(--white-pure);
    text-align: center;
    padding: 120px 0;
    /* Equal padding for vertical balance */
}

.strategic-moment .section-title {
    color: var(--white-pure);
    margin-bottom: 56px;
}

.strategic-moment .emphasis-text {
    font-size: 1.875rem;
    /* Slightly larger: 30px */
    font-family: var(--font-heading);
    line-height: 1.4;
    margin-bottom: 0;
    opacity: 0.95;
}

.strategic-moment .body-text {
    font-size: var(--body-lg);
    opacity: 0.85;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

.strategic-moment strong {
    color: var(--signal-red);
    font-weight: 600;
}

/* Approach Model */
.approach-model {
    background-color: var(--white-pure);
}

.approach-card {
    padding: 56px 40px;
    /* Refined internal padding */
    border: 1px solid var(--light-gray);
    background-color: var(--white-pure);
    transition: var(--transition-standard);
    position: relative;
}

.approach-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--slate-gray);
}

.approach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--light-gray);
    transition: var(--transition-standard);
}

.approach-card:hover::before {
    background-color: var(--navy-primary);
}

.card-icon {
    color: var(--navy-primary);
    margin-bottom: var(--space-md);
}

.card-title {
    font-size: var(--heading-sm);
    margin-bottom: var(--space-sm);
    color: var(--navy-primary);
}

.card-description {
    font-size: var(--body-md);
    color: var(--slate-gray);
    line-height: 1.7;
}

/* Competitive Position */
.competitive-position {
    background-color: var(--white-primary);
}

.comparison-card {
    background-color: var(--white-pure);
    padding: 48px;
    /* Refined internal padding */
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--light-gray);
    transition: var(--transition-standard);
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.org-name {
    font-size: var(--body-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--slate-gray);
    margin-bottom: var(--space-xs);
}

.org-role {
    font-size: var(--body-lg);
    font-weight: 600;
    color: var(--navy-primary);
    margin-bottom: var(--space-md);
}

.org-description {
    font-size: var(--body-md);
    color: var(--slate-gray);
}

.comparison-card.highlight-card {
    border-left: 4px solid var(--signal-red);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.comparison-card.highlight-card .org-name {
    color: var(--signal-red);
}

/* Use Case Showcase */
.use-cases-listing {
    padding: 80px 0 120px;
}

.use-case-cards {
    display: flex;
    flex-direction: column;
    gap: 56px;
    /* Refined gap between cards */
}

.use-case-preview-card {
    display: flex;
    background-color: var(--white-pure);
    border: 1px solid var(--light-gray);
    overflow: hidden;
    transition: var(--transition-standard);
}

.use-case-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--slate-gray);
}

.use-case-visual {
    flex: 0 0 40%;
    min-height: 300px;
    /* Slightly taller for better proportion */
    position: relative;
    overflow: hidden;
}

.use-case-content {
    flex: 1;
    padding: 56px;
    /* Refined padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.use-case-title {
    font-size: var(--heading-sm);
    color: var(--navy-primary);
    margin-bottom: var(--space-sm);
}

.use-case-excerpt {
    font-size: var(--body-md);
    color: var(--slate-gray);
    margin-bottom: var(--space-lg);
}

.read-more {
    font-size: var(--body-sm);
    font-weight: 600;
    color: var(--navy-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.use-case-preview-card:hover .read-more {
    color: var(--signal-red);
}

/* Preview SVG Styling */
.preview-svg {
    width: 100%;
    height: 100%;
    opacity: 0.8;
    transition: all 0.4s ease;
}

.use-case-preview-card:hover .preview-svg {
    opacity: 1;
    transform: scale(1.02);
}

/* Schematic Graphics */
.schematic-graphic {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--theme-bg);
    overflow: hidden;
}

.schematic-graphic::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, var(--theme-color) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.1;
}

.schematic-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to right, var(--theme-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--theme-color) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.05;
}

/* Theme variations */
.gray-theme {
    --theme-bg: #f6f8fc;
    --theme-color: #3e4b5c;
}

.red-theme {
    --theme-bg: #fff5f5;
    --theme-color: #ed2027;
}

.blue-theme {
    --theme-bg: #f0f7ff;
    --theme-color: #2c5f8d;
}

/* Use Case Pages */
.use-case-hero {
    padding: 160px 0 120px;
    /* Refined from excessive 200px */
    text-align: center;
}

.use-case-label {
    display: block;
    font-size: var(--body-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--slate-gray);
    margin-bottom: var(--space-md);
}

.use-case-hero-title {
    font-size: var(--heading-lg);
    color: var(--navy-primary);
    max-width: 800px;
    margin: 0 auto;
}

/* Page Hero (for static pages like Approach, Team) */
.page-hero {
    padding: 200px 0 100px;
    text-align: center;
    background-color: var(--white-pure);
}

.page-title {
    font-size: var(--heading-xl);
    color: var(--white-pure);
    margin-bottom: var(--space-md);
}

.page-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white-pure);
    opacity: 0.9;
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.page-intro {
    font-size: var(--body-lg);
    color: var(--white-pure);
    opacity: 0.95;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Approach Detail Sections */
.approach-detail {
    padding: 120px 0;
}

.approach-detail.alternate {
    background-color: var(--white-primary);
}

.approach-cta {
    padding: 120px 0;
    text-align: center;
    background-color: var(--navy-primary);
    color: var(--white-pure);
}

.approach-cta .section-title {
    color: var(--white-pure);
}

.approach-cta .section-intro {
    color: rgba(255, 255, 255, 0.85);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-lg);
}

.use-case-detail {
    padding: 100px 0;
    /* Refined spacing */
}

.use-case-detail.alternate {
    background-color: var(--white-primary);
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    /* Refined gap */
    align-items: center;
}

.detail-layout.reverse {
    direction: ltr;
}

.detail-layout.reverse .detail-visual {
    order: 2;
}

.detail-layout.reverse .detail-content {
    order: 1;
}

.detail-visual {
    height: 400px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.schematic-svg {
    width: 100%;
    height: 100%;
    padding: var(--space-xl);
    color: var(--theme-color);
}

.detail-label {
    font-size: var(--body-xs);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--slate-gray);
    margin-bottom: var(--space-sm);
}

.detail-headline {
    font-size: var(--heading-md);
    color: var(--navy-primary);
    margin-bottom: var(--space-md);
}

.detail-text {
    font-size: var(--body-lg);
    color: var(--slate-gray);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.detail-list {
    list-style: none;
    padding-left: 0;
}

.detail-list li {
    font-size: var(--body-md);
    color: var(--navy-primary);
    margin-bottom: var(--space-sm);
    padding-left: var(--space-md);
    position: relative;
}

.detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--signal-red);
    border-radius: 50%;
}

.solution-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.feature-item h4 {
    font-size: var(--body-md);
    color: var(--navy-primary);
    margin-bottom: 4px;
}

.feature-item p {
    font-size: var(--body-sm);
    color: var(--slate-gray);
}

.use-case-deliverables {
    padding: 120px 0;
    /* Refined spacing */
    background-color: var(--navy-primary);
    color: var(--white-pure);
    text-align: center;
}

.deliverables-title {
    font-size: var(--heading-md);
    margin-bottom: 48px;
    /* Refined spacing */
}

.deliverables-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.deliverables-list li {
    font-size: var(--body-md);
    opacity: 0.85;
    line-height: 1.7;
}

/* Team Pages */
.team-founder {
    padding: 80px 0;
    background-color: var(--white-primary);
}

.founder-layout {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 56px;
    align-items: start;
}

.founder-photo {
    position: relative;
}

.founder-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--light-gray);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.founder-content {
    padding-top: 8px;
}

.founder-name {
    font-size: var(--heading-lg);
    color: var(--navy-primary);
    margin-bottom: var(--space-xs);
}

.founder-title {
    font-size: var(--body-lg);
    color: var(--slate-gray);
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.founder-bio {
    font-size: var(--body-md);
    color: var(--slate-gray);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

@media (max-width: 768px) {
    .founder-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .founder-photo {
        max-width: 240px;
        margin: 0 auto;
    }
}

.founders-foreword {
    padding: 120px 0;
    background-color: var(--navy-primary);
    color: var(--white-pure);
}

.founders-foreword .section-title {
    color: var(--white-pure);
}

.foreword-content p {
    font-size: var(--body-lg);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    opacity: 0.9;
}

.foreword-signature {
    margin-top: var(--space-xl);
    font-style: italic;
    opacity: 1 !important;
}

.team-core,
.team-advisors {
    padding: 120px 0;
}

.team-core {
    background-color: var(--white-pure);
}

.team-advisors {
    background-color: var(--white-primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.team-member {
    padding: 40px;
    background-color: var(--white-pure);
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-standard);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: var(--slate-gray);
}

.team-member:hover .role-icon {
    transform: scale(1.05);
    opacity: 1;
}

.member-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.role-icon {
    width: 100%;
    height: 100%;
    color: var(--slate-gray);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.member-role {
    font-size: var(--body-lg);
    font-weight: 600;
    color: var(--navy-primary);
    margin-bottom: var(--space-xs);
}

.member-status {
    display: inline-block;
    font-size: var(--body-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: var(--space-md);
}

.member-status.committed {
    background-color: rgba(46, 125, 50, 0.1);
    color: #2e7d32;
}

.member-status.recruiting {
    background-color: rgba(25, 118, 210, 0.1);
    color: #1976d2;
}

.member-bio {
    font-size: var(--body-sm);
    color: var(--slate-gray);
    line-height: 1.7;
}

.advisor-featured {
    max-width: 1000px;
    margin: 0 auto 56px;
    padding: 48px;
    background-color: var(--white-pure);
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius-sm);
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: start;
}

.advisor-photo {
    position: relative;
}

.advisor-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--light-gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.advisor-content {
    padding-top: 4px;
}

.advisor-name {
    font-size: var(--heading-md);
    color: var(--navy-primary);
    margin-bottom: var(--space-xs);
}

.advisor-status {
    display: inline-block;
    font-size: var(--body-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: var(--space-md);
    background-color: rgba(46, 125, 50, 0.1);
    color: #2e7d32;
}

.advisor-bio {
    font-size: var(--body-md);
    color: var(--slate-gray);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

@media (max-width: 768px) {
    .advisor-featured {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px;
    }

    .advisor-photo {
        max-width: 180px;
        margin: 0 auto;
    }
}

.advisor-bio:last-child {
    margin-bottom: 0;
}

/* Standardize Header Navigation links color */
.main-nav a {
    color: var(--white-pure);
}

.footer-legal-links a:hover {
    color: var(--white-pure);
}

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

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--white-pure);
    position: relative;
    transition: background-color 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--white-pure);
    left: 0;
    transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.mobile-menu-toggle.active .hamburger {
    background-color: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    :root {
        --heading-xl: 3.5rem;
        --heading-lg: 2.5rem;
    }
}

@media (max-width: 900px) {
    .detail-layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .detail-layout.reverse .detail-visual {
        order: 1;
    }

    .detail-layout.reverse .detail-content {
        order: 2;
    }

    .detail-visual {
        height: 300px;
    }

    .use-case-preview-card {
        flex-direction: column;
    }

    .use-case-visual {
        flex: 0 0 200px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: var(--header-height-mob);
    }

    .site-header {
        height: var(--header-height-mob);
    }

    .logo-img {
        height: 45px;
    }

    .main-nav {
        display: none;
    }

    .main-nav.active {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--navy-primary);
        z-index: 1000;
        padding: 40px var(--space-md);
        overflow: hidden;
        animation: mobileMenuFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

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

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

    .main-nav.active ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        width: 100%;
        max-width: 300px;
    }

    .main-nav.active li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        animation: menuItemSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .main-nav.active li:nth-child(1) {
        animation-delay: 0.1s;
    }

    .main-nav.active li:nth-child(2) {
        animation-delay: 0.15s;
    }

    .main-nav.active li:nth-child(3) {
        animation-delay: 0.2s;
    }

    .main-nav.active li:nth-child(4) {
        animation-delay: 0.25s;
    }

    .main-nav.active li:nth-child(5) {
        animation-delay: 0.3s;
    }

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

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

    .main-nav.active a {
        font-size: 1.1rem;
        font-family: var(--font-body);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;

        display: block;
        padding: 12px 0;
        color: var(--white-pure);
        letter-spacing: 1px;
    }

    .main-nav.active .dropdown-menu {
        position: static;
        transform: none;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        transition: all 0.4s ease;

        background: transparent;
        border: none;
        box-shadow: none;
        margin-top: 0;
        padding: 0;
        min-width: unset;
    }

    .main-nav.active .has-dropdown.open .dropdown-menu {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        margin-top: 10px;
    }


    .main-nav.active .dropdown-menu a {
        font-size: 1.1rem;
        font-weight: 500;
        padding: 8px 0;
        opacity: 0.7;
    }

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

    .header-actions {
        gap: 15px;
    }

    .header-cta-container {
        display: none;
        /* Hide top CTA on small mobile header, could move to menu */
    }

    .main-nav.active .header-cta-container {
        display: block;
        margin-top: 2rem;
    }

    .footer-primary {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 40px;
        margin-bottom: 40px;
    }

    .footer-mission {
        grid-column: auto;
    }

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

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
        text-align: center;
    }

    .footer-nav-column h4 {
        margin-bottom: 16px;
    }

    .footer-secondary {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
        gap: 20px;
    }

    .hero {
        height: auto;
        padding: var(--space-xxl) 0;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 0 var(--space-md);
    }

    .hero-visual {
        height: 400px;
        order: -1;
        /* Move graphic above text on mobile */
    }

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

    .hero-ctas {
        flex-direction: column;
    }

    .hero-background::after {
        width: 100%;
        opacity: 0.3;
    }

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

    .cta-buttons {
        flex-direction: column;
    }
}

/* Tech Overlay Styles */
.tech-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
    color: var(--primary-color);
}

/* BLUEPRINT ANNOTATIONS (V4 flagship) */
.v4-annotation {
    position: absolute;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    text-transform: uppercase;
    color: rgba(26, 40, 69, 0.4);
    letter-spacing: 2px;
    pointer-events: none;
    z-index: 10;
}

.v4-annotation.top-left {
    top: 60px;
    left: 60px;
}

.v4-annotation.top-right {
    top: 60px;
    right: 60px;
}

.v4-annotation.bottom-left {
    bottom: 60px;
    left: 60px;
}

.v4-annotation.bottom-right {
    bottom: 60px;
    right: 60px;
}

.v4-coord-box {
    border-left: 1px solid var(--signal-red);
    padding-left: 15px;
}

.schematic-svg {
    width: 100%;
    height: 100%;
    opacity: 0.15;
}

/* IMPLEMENTATION HUB MODULE */
.implementation-hub {
    position: relative;
    padding: 120px 0;
    background-color: var(--white-primary);
    border-bottom: 1px solid var(--light-gray);
    overflow: hidden;
}

.hub-header {
    text-align: center;
    margin-bottom: 80px;
}

.hub-subtitle {
    font-size: 1.2rem;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

.hub-interaction-container {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hub-connectors {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hub-grid {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hub-node {
    position: absolute;
    width: 300px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.node-content {
    background: white;
    padding: 35px;
    border-radius: 12px;
    border: 1px solid rgba(26, 40, 69, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: inherit;
}

.hub-node:hover .node-content {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--signal-red);
}

.node-number {
    font-family: 'JetBrains Mono', monospace;
    color: var(--signal-red);
    font-size: 0.8rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.node-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--navy-primary);
}

.node-desc {
    font-size: 0.95rem;
    opacity: 0.7;
    margin-bottom: 20px;
    line-height: 1.4;
}

.node-link {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--navy-primary);
    font-weight: 600;
    transition: hide 0.3s;
}

.node-link:hover {
    color: var(--signal-red);
}

/* Node Positioning */
.hub-node.node-cap {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
}

.hub-node.node-md {
    bottom: 5%;
    left: 5%;
}

.hub-node.node-ea {
    bottom: 5%;
    right: 5%;
}

@media (max-width: 1024px) {
    .hub-interaction-container {
        height: auto;
        flex-direction: column;
        gap: 40px;
    }

    .hub-node {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 100%;
        max-width: 400px;
    }

    .hub-connectors {
        display: none;
    }
}