/* ========================================
   AURELIAN MANUFACTURING — DESIGN SYSTEM
   Primary: #F50537 (Pantone 032 C)
   Dark Theme with glassmorphism
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #F50537;
    --primary-light: #ff2d5a;
    --primary-dark: #c50430;
    --primary-glow: rgba(245, 5, 55, 0.3);
    --primary-glow-soft: rgba(245, 5, 55, 0.12);

    --bg-darkest: #050508;
    --bg-dark: #0a0a0f;
    --bg-surface: #111118;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);

    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;

    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-darkest);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 52px;
    width: auto;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--primary);
    color: white;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 20px var(--primary-glow);
}

.logo-text {
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--text-primary);
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

.nav-cta {
    padding: 10px 22px;
    background: var(--primary);
    color: white !important;
    border-radius: var(--radius-xl);
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 0 20px var(--primary-glow-soft);
}

.nav-cta:hover {
    background: var(--primary-light);
    box-shadow: 0 0 30px var(--primary-glow);
    transform: translateY(-1px);
}

/* Language Toggle */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 6px 14px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.lang-toggle:hover {
    border-color: var(--border-hover);
    background: var(--bg-card);
}

.lang-en,
.lang-no {
    color: var(--text-muted);
    transition: var(--transition);
}

.lang-en.active,
.lang-no.active {
    color: var(--primary);
    font-weight: 600;
}

.lang-divider {
    color: var(--text-muted);
    font-size: 0.7rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

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

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

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

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

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

.hero-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary-glow-soft) 0%, transparent 70%);
    z-index: 0;
    animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.15);
    }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 var(--primary-glow);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 6px transparent;
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #ff6b8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 64px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 24px var(--primary-glow-soft), 0 0 0 0 var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-light);
    box-shadow: 0 8px 40px var(--primary-glow), 0 0 0 4px var(--primary-glow-soft);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 28px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    50.1% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ---------- Sections ---------- */
.section {
    padding: 50px 0 120px;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ---------- About Section ---------- */
.about {
    background: var(--bg-dark);
}

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

.about-card {
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.about-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--primary-glow-soft);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    color: var(--primary);
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---------- Opportunity Section ---------- */
.opportunity-section {
    background: var(--bg-dark);
}

.opp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.content-card {
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    border-top: 3px solid var(--primary);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.content-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    border-top-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.content-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.content-card p strong {
    color: var(--text-primary);
}

.callout-card {
    padding: 28px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.callout-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.callout-card p strong {
    color: var(--text-primary);
}

/* ---------- HMLV Section ---------- */
.hmlv-section {
    background: var(--bg-darkest);
}

.hmlv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.hmlv-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 20px;
}

.hmlv-text p strong {
    color: var(--text-primary);
}

.hmlv-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.highlight-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateX(4px);
}

.highlight-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-glow-soft);
    border: 1px solid rgba(245, 5, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
}

.highlight-item h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.highlight-item p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ---------- Approach / Layers Section ---------- */
.approach-section {
    background: var(--bg-dark);
}

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

.layer-card {
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.layer-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    border-top-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.layer-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.06);
    line-height: 1;
    margin-bottom: 8px;
}

.layer-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.layer-card>p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.layer-list {
    list-style: none;
    margin-top: 20px;
}

.layer-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 8px 0 8px 18px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.layer-list li:last-child {
    border-bottom: none;
}

.layer-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* ---------- Platform / Software Section ---------- */
.platform-section {
    background: var(--bg-darkest);
}

.sw-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 48px;
}

.sw-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 20px;
}

.sw-text p strong {
    color: var(--text-primary);
}

.sw-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.sw-badge {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.sw-badge:hover {
    background: var(--bg-card-hover);
}

.sw-badge h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.sw-badge p {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.5;
}

/* Architecture Block */
.arch-block {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 40px;
}

.arch-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    letter-spacing: 0.15em;
    margin-bottom: 28px;
}

.arch-layers {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 720px;
    margin: 0 auto;
}

.arch-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    min-height: 44px;
}

.arch-label {
    background: rgba(255, 255, 255, 0.04);
    padding: 12px 16px;
    font-size: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.arch-content {
    background: rgba(255, 255, 255, 0.02);
    padding: 12px 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.arch-chip {
    font-size: 0.72rem;
    color: var(--text-primary);
    padding: 4px 12px;
    background: var(--primary-glow-soft);
    border: 1px solid rgba(245, 5, 55, 0.2);
    border-radius: var(--radius-sm);
}

/* Sovereignty Card */
.sovereignty-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.sovereignty-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: bold;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
}

.sovereignty-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.sovereignty-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---------- Customers Section ---------- */
.customers-section {
    background: var(--bg-dark);
}

.cv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.cv-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cv-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cv-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
}

.cv-feature h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.cv-feature p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.cv-program {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.cv-program h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.cv-tagline {
    display: inline-block;
    color: var(--primary);
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.cv-program p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 14px;
}

.cv-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    margin-top: 8px;
}

/* ---------- Sectors Section ---------- */
.sectors-section {
    background: var(--bg-darkest);
}

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

.sector-card {
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.sector-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    border-top-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.sector-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.sector-card>p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.sector-list {
    list-style: none;
    margin-top: 18px;
}

.sector-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 6px 0 6px 18px;
    position: relative;
}

.sector-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* ---------- Facility Section ---------- */
.facility-section {
    background: var(--bg-dark);
}

.fac-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.fac-image {
    background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(28, 45, 63, 0.6) 100%);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.fac-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fac-image-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    font-size: 0.72rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    font-weight: 600;
}

.fac-specs {
    display: flex;
    flex-direction: column;
}

.fac-spec {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.fac-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.fac-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.cert-row {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.cert-badge {
    flex: 1;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    text-align: center;
}

.cert-badge h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.cert-badge p {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* Placeholder photo for team members without images */
.placeholder-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(28, 45, 63, 0.6) 100%);
}

.team-initials {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-muted);
    z-index: 1;
}

/* ---------- CTA Cards ---------- */
.cta-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.cta-card {
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.cta-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.cta-card>p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.cta-contact-info {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cta-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.cta-role {
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 4px;
}

.cta-contact-info a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: var(--transition);
}

.cta-contact-info a:hover {
    color: var(--primary);
}

/* ---------- Team Sections ---------- */
.team-section {
    background: var(--bg-darkest);
}

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

.team-grid {
    display: grid;
    gap: 32px;
}

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

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

.team-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.team-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px var(--primary-glow-soft);
}

.team-card-inner {
    display: flex;
    flex-direction: column;
}

.team-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--bg-surface);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: var(--transition-slow);
}

.team-card:hover .team-photo img {
    transform: scale(1.05);
}

.team-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, var(--bg-darkest), transparent);
    pointer-events: none;
}

.team-info {
    padding: 20px;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-role {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 16px;
}

.team-bio {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.6;
}

.team-bio a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: var(--transition);
}

.team-bio a:hover {
    color: var(--primary-light);
}

.team-contribution {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.7;
}

.team-contribution strong {
    color: var(--text-primary);
}

/* ---------- Contact Section ---------- */
.contact-section {
    background: var(--bg-darkest);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow-soft) 0%, transparent 70%);
    pointer-events: none;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 64px;
    align-items: center;
}

.contact-info .section-tag,
.contact-info .section-title {
    text-align: left;
}

.contact-info .section-title {
    font-weight: 500;
    font-size: 2rem;
    line-height: 1.4;
}

.contact-info .section-description {
    text-align: left;
    margin: 0 0 32px;
}

.contact-location {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-location a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.contact-location a:hover {
    color: var(--primary);
}

.contact-location svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* Form */
.contact-form {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    position: relative;
}

.form-row {
    margin-bottom: 20px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.required {
    color: var(--primary);
}

.form-group input {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow-soft);
    background: rgba(255, 255, 255, 0.06);
}

.interest-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: block;
}

.interest-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.interest-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.interest-option:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-hover);
}

.interest-option input[type="checkbox"] {
    display: none;
}

.checkmark {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-hover);
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
    margin-top: 1px;
}

.checkmark::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: var(--transition);
}

.interest-option input:checked~.checkmark {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow-soft);
}

.interest-option input:checked~.checkmark::after {
    transform: rotate(45deg) scale(1);
}

.interest-option input:checked~.option-text {
    color: var(--text-primary);
}

.option-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    transition: var(--transition);
}

.btn-submit {
    width: 100%;
    justify-content: center;
    margin-top: 24px;
    padding: 16px;
    font-size: 1rem;
}

/* Form success state */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    color: var(--primary);
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 16px 0 8px;
}

.form-success p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-form.submitted .form-row,
.contact-form.submitted .form-group,
.contact-form.submitted .btn-submit {
    display: none;
}

.contact-form.submitted .form-success {
    display: flex;
}

/* ---------- Footer ---------- */
.footer {
    padding: 48px 0 32px;
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 8px;
    max-width: 300px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-location a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-location a:hover {
    color: var(--primary);
}

.footer-location svg {
    color: var(--primary);
}

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

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ---------- Scroll Animations ---------- */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.animate-in:nth-child(1) {
    animation-delay: 0.1s;
}

.animate-in:nth-child(2) {
    animation-delay: 0.3s;
}

.animate-in:nth-child(3) {
    animation-delay: 0.5s;
}

.animate-in:nth-child(4) {
    animation-delay: 0.7s;
}

.animate-in:nth-child(5) {
    animation-delay: 0.9s;
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

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

    .opp-grid,
    .hmlv-grid,
    .sw-grid,
    .cv-grid,
    .fac-grid {
        grid-template-columns: 1fr;
    }

    .layers-grid,
    .sectors-grid {
        grid-template-columns: 1fr;
    }

    .sw-badges {
        grid-template-columns: 1fr 1fr;
    }

    .cta-cards {
        grid-template-columns: 1fr;
    }

    .arch-row {
        grid-template-columns: 1fr;
    }

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

    .contact-info .section-tag,
    .contact-info .section-title,
    .contact-info .section-description {
        text-align: center;
    }

    .contact-info .section-description {
        margin: 0 auto 32px;
    }

    .contact-location {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(5, 5, 8, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.3rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding: 24px 28px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section {
        padding: 80px 0;
    }

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

    .contact-form {
        padding: 24px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }

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

    .cert-row {
        flex-direction: column;
    }

    .sw-badges {
        grid-template-columns: 1fr;
    }

    .sovereignty-card {
        flex-direction: column;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }
}