/* ==========================================================================
   HUMN Labs - Premium Cybernetic Styling Sheet
   Aesthetics: Matte Cyber-Black, Neon Cyan, Violet & Emerald Green
   ========================================================================== */

:root {
    --bg-darker: #030305;
    --bg-dark: #07070a;
    --bg-card: rgba(10, 10, 16, 0.5);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(0, 240, 255, 0.25);
    
    /* Core Neon Colors */
    --cyan: #00f0ff;
    --cyan-glow: rgba(0, 240, 255, 0.35);
    --violet: #7000ff;
    --violet-glow: rgba(112, 0, 255, 0.3);
    --green: #00ff87;
    --green-glow: rgba(0, 255, 135, 0.3);
    --magenta: #ff007f;
    --magenta-glow: rgba(255, 0, 127, 0.25);
    
    /* Text Palette */
    --text-pure: #ffffff;
    --text-bright: #f0f4f8;
    --text-muted: #8a99ad;
    --text-dark: #8596a9;
    
    /* Fonts */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Lora', Georgia, serif;
    --font-mono: 'Courier New', Courier, monospace;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-medium: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   Base Reset
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-darker);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-bright);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    transition: var(--transition-fast);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
}

/* ==========================================================================
   Cinematic Ambient Backgrounds & Glows
   ========================================================================== */
#canvas-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: all;
    opacity: 0.65;
}

.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 2;
    pointer-events: none;
    opacity: 0.08;
    mix-blend-mode: screen;
    will-change: transform;
}

.glow-1 {
    top: -10%;
    left: 15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
    animation: drift-glow 25s infinite alternate ease-in-out;
}

.glow-2 {
    bottom: 10%;
    right: 5%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--violet) 0%, transparent 70%);
    animation: drift-glow 30s infinite alternate-reverse ease-in-out;
}

.glow-3 {
    top: 40%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--magenta) 0%, transparent 70%);
    animation: drift-glow 20s infinite alternate ease-in-out;
}

@keyframes drift-glow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.15); }
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(3, 3, 5, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-medium);
    filter: drop-shadow(0 0 5px var(--cyan-glow));
}

.logo-link:hover .logo-icon {
    transform: rotate(90deg) scale(1.05);
    color: var(--green);
    filter: drop-shadow(0 0 8px var(--green-glow));
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 900;
    color: var(--text-pure);
    letter-spacing: 2px;
    white-space: nowrap;
}

.logo-text .thin {
    font-weight: 300;
    color: var(--cyan);
}

.main-nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    position: relative;
    padding: 6px 0;
}

/* Mobile Navigation Base & Toggle Buttons */
.mobile-menu-btn {
    display: none;
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 102;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    height: 30px;
    justify-content: center;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-bright);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease, background-color 0.3s ease;
    border-radius: 2px;
}

.mobile-nav-toggle[aria-expanded="true"] .line-1 {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--cyan);
}

.mobile-nav-toggle[aria-expanded="true"] .line-2 {
    opacity: 0;
    transform: scale(0);
}

.mobile-nav-toggle[aria-expanded="true"] .line-3 {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--cyan);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--cyan);
    transition: var(--transition-medium);
    box-shadow: 0 0 8px var(--cyan);
}

.nav-link:hover {
    color: var(--text-pure);
}

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

.header-actions {
    display: flex;
    align-items: center;
}

/* ==========================================================================
   Premium Buttons & UI Indicators
   ========================================================================== */
.btn-primary {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%);
    color: var(--bg-darker);
    padding: 14px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.25);
    position: relative;
    overflow: hidden;
    transition: var(--transition-medium);
    z-index: 10;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.3);
    color: #fff;
}

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

.btn-primary-mini {
    background: transparent;
    color: var(--cyan);
    border: 1px solid var(--cyan);
    padding: 8px 18px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-medium);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

.btn-primary-mini:hover {
    background: var(--cyan);
    color: var(--bg-darker);
    box-shadow: 0 0 12px var(--cyan-glow);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-bright);
    padding: 14px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-medium);
    z-index: 10;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.icon-slide {
    transition: var(--transition-fast);
}

.btn-primary:hover .icon-slide {
    transform: translateX(4px);
}

/* Badge styling */
.badge {
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.05);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
    animation: pulse-badge 1.8s infinite ease-in-out;
}

.badge-text {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--cyan);
}

@keyframes pulse-badge {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; transform: scale(1.2); }
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.main-container {
    position: relative;
    z-index: 10;
}

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

/* Glassmorphism Panel system */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-medium);
}

.glass-panel:hover {
    border-color: rgba(0, 240, 255, 0.15);
    background: rgba(14, 14, 25, 0.55);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 24px 130px 24px;
    text-align: center;
}

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

.hero-title {
    font-size: clamp(3.5rem, 6.5vw, 4.25rem); /* 56px to 68px desktop */
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--text-pure);
    margin-bottom: 20px;
    text-transform: uppercase;
    background: linear-gradient(180deg, #ffffff 30%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.75;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.hero-supporting-line {
    margin-top: 24px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-dark);
    letter-spacing: 0.3px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
}

/* Interactive Mouse Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
    opacity: 0.6;
    transition: var(--transition-medium);
    pointer-events: none;
}

.mouse-icon {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--cyan);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.6s infinite ease-in-out;
}

.scroll-text {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-muted);
}

@keyframes scroll-wheel {
    0% { opacity: 0; transform: translate(-50%, 0); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ==========================================================================
   Section Headers & Grid Architectures
   ========================================================================== */
.section-header {
    max-width: 650px;
    margin-bottom: 64px;
}

.section-header-centered {
    max-width: 650px;
    margin: 0 auto 64px auto;
    text-align: center;
}

.tag {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 3px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-bright);
    margin-bottom: 16px;
}

.section-title-left {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-bright);
    margin-bottom: 20px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-muted);
}

.section-desc-left {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Flexible Grid Frameworks */
.grid-layout {
    display: grid;
    gap: 24px;
}

.cols-4 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.cols-5 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cols-2-large {
    grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr));
}

@media (max-width: 900px) {
    .cols-2-large {
        grid-template-columns: 1fr;
    }
}

.cols-2-unequal {
    grid-template-columns: 1.1fr 0.9fr;
}

@media (max-width: 992px) {
    .cols-2-unequal {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

.gap-md {
    gap: 40px;
}

/* ==========================================================================
   Feature Cards - The Human Layer Grid
   ========================================================================== */
.feature-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    cursor: default;
    height: 100%;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 0% 0%, var(--cyan-glow) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-medium);
    pointer-events: none;
}

.feature-card:hover .card-glow {
    opacity: 0.2;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 240, 255, 0.04);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    transition: var(--transition-medium);
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card:hover .card-icon {
    background: rgba(0, 240, 255, 0.06);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.15);
    color: #fff;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ==========================================================================
   Narrative Cards - Why This Matters Section
   ========================================================================== */
.narrative-card {
    padding: 28px; /* Desktop narrative padding: 28px */
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    height: 100%;
}

.card-accent-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--cyan) 0%, var(--violet) 100%);
    opacity: 0.3;
    transition: var(--transition-medium);
}

.narrative-card:hover .card-accent-line {
    opacity: 0.85;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.narrative-card .num {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.02) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition-medium);
}

.narrative-card:hover .num {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.narrative-card h3 {
    font-size: 18px; /* Desktop narrative title: 18px */
    font-weight: 600;
    color: var(--text-bright);
}

.narrative-card p {
    font-size: 14.5px; /* Desktop narrative paragraph: 14.5px */
    color: rgba(138, 153, 173, 0.9);
    line-height: 1.65;
}

/* ==========================================================================
   Mission Question Styles
   ========================================================================== */
.mission-question-container {
    margin-top: 64px;
    margin-bottom: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.mission-question {
    font-family: var(--font-body);
    font-size: clamp(1.25rem, 2vw, 1.5rem); /* 20px to 24px desktop */
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-muted);
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

/* ==========================================================================
   Technology Section & Showroom Engine
   ========================================================================== */
.tech-section {
    position: relative;
}

.tech-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.tech-bullets li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.bullet-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    font-size: 16px;
    flex-shrink: 0;
    transition: var(--transition-medium);
}

.tech-bullets li:hover .bullet-icon {
    border-color: var(--cyan);
    box-shadow: 0 0 12px var(--cyan-glow);
    background: rgba(0, 240, 255, 0.05);
}

.tech-bullets h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-bright);
}

.tech-bullets p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Futuristic Dashboard Mockup */
.tech-mockup {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.mockup-frame {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 2px rgba(255, 255, 255, 0.1) inset;
    background: rgba(7, 7, 10, 0.85);
}

.mockup-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.mockup-dots .red { background-color: #ff5f56; }
.mockup-dots .yellow { background-color: #ffbd2e; }
.mockup-dots .green { background-color: #27c93f; }

.mockup-address {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 16px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.mockup-status {
    font-family: var(--font-heading);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pulse-dot {
    width: 5px;
    height: 5px;
    background-color: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--green);
    animation: pulse-badge 1s infinite ease-in-out;
}

.mockup-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Active Telemetry Scanner */
.scanner-block {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.scanner-header {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.code-font {
    font-family: var(--font-mono);
}

.scanner-screen {
    height: 120px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.04) 0%, transparent 80%);
    border-radius: 4px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.scan-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 10px 10px;
}

.scan-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    box-shadow: 0 0 10px var(--cyan);
    animation: scanner-move 3s infinite ease-in-out;
}

@keyframes scanner-move {
    0%, 100% { top: 0%; }
    50% { top: 100%; }
}

.scan-target {
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.biometric-fingerprint {
    width: 50px;
    height: 50px;
    color: var(--cyan);
    filter: drop-shadow(0 0 8px var(--cyan-glow));
    transition: var(--transition-medium);
}

.scan-status-text {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 1px;
    color: var(--cyan);
    text-transform: uppercase;
}

/* Telemetry Grid */
.telemetry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.tel-box {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 10px 12px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tel-box .label {
    font-family: var(--font-heading);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-dark);
}

.tel-box .value {
    font-size: 11px;
    color: var(--text-bright);
}

.tel-box .value.highlight {
    color: var(--green);
    text-shadow: 0 0 10px var(--green-glow);
    font-weight: 700;
}

.text-right {
    text-align: right;
    align-items: flex-end;
}

/* Verification progress bars */
.verification-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bar-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bar-label {
    font-family: var(--font-heading);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-dark);
}

.bar-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 2px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 1.5s cubic-bezier(0.1, 0.8, 0.1, 1);
}

.green-glow {
    background: var(--green);
    box-shadow: 0 0 8px var(--green-glow);
}

.blue-glow {
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan-glow);
}

.purple-glow {
    background: var(--violet);
    box-shadow: 0 0 8px var(--violet-glow);
}

/* Monospace Terminal Panel */
.terminal-log {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    font-family: var(--font-mono);
}

.terminal-header {
    font-size: 9px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-lines {
    font-size: 10px;
    line-height: 1.5;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.terminal-lines .line.green { color: var(--green); }
.terminal-lines .line.blue { color: var(--cyan); }
.terminal-lines .line.violet { color: var(--violet); }

/* ==========================================================================
   Waitlist & Early Access Systems
   ========================================================================== */
.waitlist-section {
    padding-bottom: 64px;
}

.waitlist-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 72px 48px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.waitlist-glow {
    position: absolute;
    bottom: -50%;
    left: 20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at bottom, var(--violet-glow) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.waitlist-container .section-title {
    margin-bottom: 16px;
}

.waitlist-container .section-desc {
    max-width: 520px;
    margin-bottom: 40px;
    line-height: 1.7;
    font-size: 15px;
}

.waitlist-supporting-line {
    font-size: 12px;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-weight: 500;
    text-transform: uppercase;
    opacity: 0.7;
}

.waitlist-form {
    display: flex;
    gap: 16px;
    width: 100%;
    max-width: 500px;
    z-index: 10;
    margin-bottom: 20px;
}

@media (max-width: 576px) {
    .waitlist-form {
        flex-direction: column;
    }
}

.input-wrapper {
    position: relative;
    flex-grow: 1;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dark);
    font-size: 15px;
    transition: var(--transition-fast);
}

.email-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    padding: 14px 16px 14px 44px;
    border-radius: 8px;
    color: var(--text-bright);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition-medium);
}

.email-input::placeholder {
    color: var(--text-dark);
}

.email-input:focus {
    border-color: var(--cyan);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.email-input:focus + .input-icon {
    color: var(--cyan);
}

.btn-submit {
    background: var(--text-bright);
    color: var(--bg-darker);
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-medium);
}

.btn-submit:hover {
    background: var(--cyan);
    box-shadow: 0 0 20px var(--cyan-glow);
    transform: translateY(-1px);
}

.btn-icon {
    transition: var(--transition-fast);
}

.btn-submit:hover .btn-icon {
    transform: translate(2px);
}

/* Feedback messages */
.form-feedback {
    min-height: 24px;
    z-index: 10;
    display: none;
    margin-bottom: 12px;
}

.success-message {
    color: var(--green);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 500;
    text-shadow: 0 0 10px var(--green-glow);
}

.security-caption {
    font-size: 11px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.app-footer {
    background: rgba(3, 3, 5, 0.9);
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 32px 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

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

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-tagline {
    font-size: 13.5px;
    color: var(--text-muted);
    max-width: 260px;
    line-height: 1.6;
    margin-top: 4px;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.link-group h5 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-bright);
    margin-bottom: 2px;
}

.link-group a {
    font-size: 13px;
    color: var(--text-muted);
}

.link-group a:hover {
    color: var(--cyan);
    transform: translateX(2px);
}

.footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.copyright {
    font-size: 12px;
    color: var(--text-dark);
}

.footer-legal-links {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 12px;
    color: var(--text-dark);
}

.legal-link {
    transition: var(--transition-fast);
}

.legal-link:hover {
    color: var(--cyan);
}

.footer-legal-links .divider {
    opacity: 0.3;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-medium);
}

.x-icon {
    width: 16px;
    height: 16px;
    display: block;
    transition: var(--transition-medium);
    filter: drop-shadow(0 0 0px transparent);
}

/* Desktop hover — only devices with a real pointer */
@media (hover: hover) {
    .social-icon:hover {
        color: var(--cyan);
        border-color: var(--cyan);
        box-shadow: 0 0 14px var(--cyan-glow), 0 0 4px var(--cyan-glow) inset;
        background: rgba(0, 240, 255, 0.06);
        transform: translateY(-2px);
    }

    .social-icon:hover .x-icon {
        filter: drop-shadow(0 0 6px var(--cyan));
    }
}

/* Mobile tap glow — triggered by JS touchstart/touchend via .is-touching class */
.social-icon.is-touching {
    color: var(--cyan) !important;
    border-color: var(--cyan) !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.7), 0 0 6px rgba(0, 240, 255, 0.4) inset !important;
    background: rgba(0, 240, 255, 0.1) !important;
    transform: scale(1.08) !important;
}

.social-icon.is-touching .x-icon {
    filter: drop-shadow(0 0 10px var(--cyan)) !important;
}

/* ==========================================================================
   Fixed Floating X / Twitter Follow Pill
   ========================================================================== */
.x-float-pill {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 14px 12px 14px;
    background: rgba(5, 5, 10, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-right: none;
    border-radius: 12px 0 0 12px;
    color: var(--cyan);
    text-decoration: none;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: -4px 0 20px rgba(0, 240, 255, 0.08), inset 0 0 16px rgba(0, 240, 255, 0.03);
    animation: pill-entrance 1s 1.5s both ease-out;
}

@keyframes pill-entrance {
    from { transform: translateY(-50%) translateX(100%); opacity: 0; }
    to   { transform: translateY(-50%) translateX(0);   opacity: 1; }
}

.x-float-glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse at 80% 50%, rgba(0, 240, 255, 0.12) 0%, transparent 70%);
    animation: pill-glow-pulse 3s infinite ease-in-out;
    pointer-events: none;
}

@keyframes pill-glow-pulse {
    0%, 100% { opacity: 0.5; }
    50%       { opacity: 1; }
}

.x-float-icon {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
    color: var(--cyan);
    fill: var(--cyan);
    filter: drop-shadow(0 0 5px var(--cyan));
    transition: var(--transition-medium);
}

.x-float-label {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--cyan);
    white-space: nowrap;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-width 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
}

.x-float-pill:hover {
    padding: 12px 18px 12px 14px;
    border-color: var(--cyan);
    box-shadow: -6px 0 28px var(--cyan-glow), inset 0 0 20px rgba(0, 240, 255, 0.06);
    color: var(--cyan);
    background: rgba(0, 240, 255, 0.06);
}

.x-float-pill:hover .x-float-label {
    max-width: 120px;
    opacity: 1;
}

.x-float-pill:hover .x-float-icon {
    filter: drop-shadow(0 0 10px var(--cyan));
    fill: var(--cyan);
    transform: scale(1.15);
}

/* ==========================================================================
   Interactive Scroll Reveals & Transitions
   ========================================================================== */
.reveal-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-slide {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Fallback: ensure content is always visible after page load even if JS observer fails */
@media (prefers-reduced-motion: reduce) {
    .reveal-fade,
    .reveal-slide {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   Premium Mobile & Tablet Compatibility Optimization (iOS, iPadOS, Android)
   ========================================================================== */
@media (max-width: 1024px) {
    /* Prevent heavy GPU filters from lagging on Safari/iOS */
    .ambient-glow {
        will-change: auto;
        filter: blur(100px);
    }
    .glow-1, .glow-2, .glow-3 {
        animation: none !important;
    }
    
    /* Section paddings optimized for tighter screens */
    .section-container {
        padding: 48px 20px;
    }
    
    /* Grid layout tweaks */
    .cols-2-large {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* Force reveal on tablets/mobile where observer may have timing issues */
    .reveal-fade,
    .reveal-slide {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    /* Header layout optimization */
    .header-container {
        padding: 14px 20px; /* At least 18px-20px distance from edge */
    }
    
    /* Mobile nav toggle */
    .mobile-nav-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(3, 3, 5, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 99;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }
    
    .main-nav .nav-link {
        font-size: 20px;
        font-weight: 600;
        letter-spacing: 1.5px;
    }
    
    .header-actions {
        display: none;
    }
    
    .x-float-pill {
        display: none !important;
    }
    
    body.nav-open {
        overflow: hidden;
    }
    
    /* Typography updates */
    body {
        font-size: 16px;
        line-height: 1.7;
    }
    p {
        font-size: 15px;
        line-height: 1.7;
    }
    .feature-card p,
    .research-area-card p,
    .research-project-card p,
    .tech-bullets p,
    .link-group a {
        font-size: 14px;
        line-height: 1.7;
    }

    .footer-brand {
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-tagline {
        font-size: 13px !important;
        line-height: 1.6;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .link-group {
        gap: 12px !important;
        align-items: center;
    }
    
    /* Hero section optimized for vertical flow and mobile readability */
    .hero-section {
        padding: 90px 16px 54px;
        min-height: auto;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 0;
    }
    .hero-section .badge {
        display: inline-flex;
        margin-bottom: 20px;
    }
    /* Tagline: minimum 14px clearly visible with clear spacing */
    .hero-tagline {
        display: block;
        font-size: 14px;
        letter-spacing: 2px;
        color: var(--text-muted);
        margin-bottom: 16px;
        opacity: 0.9;
    }
    .hero-supporting-line {
        display: none;
    }
    .hero-actions .btn-secondary {
        display: none;
    }
    .scroll-indicator {
        display: none;
    }
    /* Hero title: 36px to 42px balanced lines, max 3 lines */
    .hero-title {
        font-size: clamp(36px, 8.5vw, 42px);
        margin-bottom: 16px;
        line-height: 1.1;
        letter-spacing: -0.03em;
        word-break: keep-all;
        overflow-wrap: break-word;
    }
    /* Supporting description: 15px, line-height 1.7, max-width 320px centered */
    .hero-subtitle {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 24px;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        color: var(--text-muted);
        padding: 0 4px;
    }
    
    /* Stack buttons for easy thumb-reach */
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        margin-top: 20px; /* 20px above buttons */
    }
    .hero-actions .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }
    
    /* Stack cards in single-column layout on mobile */
    .cols-4,
    .cols-5,
    .cols-2-large,
    .current-research-grid,
    .grid-layout {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }
    
    .feature-card,
    .research-area-card,
    .research-project-card,
    .narrative-card {
        padding: 20px !important; /* Mobile card padding: 20px */
    }

    /* Research area cards: remove fixed height on mobile */
    .research-area-card {
        height: auto !important;
        min-height: auto !important;
    }

    .research-project-card {
        height: auto !important;
        gap: 16px;
    }

    /* Research area card num spacing tightened */
    .research-area-num {
        margin-bottom: 14px;
    }

    /* Research area question — slightly tighter on mobile */
    .research-area-question {
        font-size: 13px;
        line-height: 1.65;
    }

    /* Technology Section Mockup — centered and full-width */
    .tech-mockup {
        width: 100%;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 8px;
    }
    .mockup-body {
        padding: 14px;
    }
}

@media (max-width: 480px) {
    /* Ensure footer fits completely on narrow devices */
    .footer-container {
        padding: 30px 16px;
        gap: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }
    
    .footer-legal-links {
        justify-content: center;
    }
    
    /* Break Telemetry columns to single column or smaller size */
    .telemetry-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .tel-box.text-right {
        text-align: left;
        align-items: flex-start;
    }
    
    .scanner-screen {
        height: 100px;
    }
    
    /* Card padding tweaks */
    .feature-card {
        padding: 24px;
    }
    .narrative-card {
        padding: 24px;
    }
    
    .waitlist-container {
        padding: 48px 24px;
    }
}

/* ==========================================================================
   Core Insight Section — Research-Paper Serif Statement
   ========================================================================== */
.core-insight-section {
    position: relative;
    border-top: 1px solid var(--border-color);
}

.core-insight-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 900px) {
    .core-insight-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.core-insight-label-col {
    padding-top: 6px;
    border-top: 1px solid var(--border-color);
}

.core-insight-label-col .tag {
    margin-bottom: 0;
    display: block;
}

.core-insight-content {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
}

.insight-headline {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-pure);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

/* Signature variant — primary HUMNLABS statement */
.insight-headline--signature {
    font-size: clamp(2.625rem, 4.5vw, 3.125rem); /* 42px to 50px desktop */
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 32px;
    background: linear-gradient(170deg, #ffffff 40%, rgba(255,255,255,0.65) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 20px rgba(0, 240, 255, 0.08));
}

/* Paired variant — second core principle, visually secondary but clearly important */
.insight-headline--paired {
    font-size: clamp(1.75rem, 3.2vw, 2.25rem); /* 28px to 36px desktop */
    line-height: 1.25;
    letter-spacing: -0.018em;
    margin-bottom: 36px;
    color: var(--text-bright);
    opacity: 0.78;
    border-left: 3px solid rgba(0, 240, 255, 0.35);
    padding-left: 20px;
    -webkit-text-fill-color: unset;
    background: none;
    filter: none;
}

.insight-body {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 620px;
    margin-bottom: 20px; /* Paragraph spacing: 20px */
}

.insight-body:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   The Challenge Section — Major Thesis Statement
   ========================================================================== */
.challenge-section {
    position: relative;
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.challenge-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 900px) {
    .challenge-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.challenge-label-col {
    padding-top: 6px;
    border-top: 1px solid var(--border-color);
}

.challenge-content {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
}

.challenge-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.625rem, 4.5vw, 3.125rem); /* 42px to 50px desktop */
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-pure);
    margin-bottom: 36px;
    letter-spacing: -0.02em;
}

.challenge-headline em {
    font-style: italic;
    color: var(--cyan);
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
}

.challenge-body {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 580px;
}

/* ==========================================================================
   Research Focus Section — Visually Strong Cards with Question Framing
   ========================================================================== */
.research-areas-section {
    position: relative;
}

.research-area-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    cursor: default;
    height: 100%;
    border-left: 3px solid transparent;
    transition: border-color var(--transition-medium), transform var(--transition-medium), box-shadow var(--transition-medium);
}

.research-area-card:hover {
    border-left-color: var(--cyan);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 240, 255, 0.08);
}

.research-area-card .card-glow {
    background: radial-gradient(circle at 0% 100%, var(--cyan-glow) 0%, transparent 60%);
}

.research-area-num {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--cyan);
    margin-bottom: 24px;
    opacity: 0.7;
}

.research-area-card h3 {
    font-family: var(--font-serif);
    font-size: 19px;
    font-weight: 700;
    color: var(--text-pure);
    margin-bottom: 14px;
    line-height: 1.3;
}

.research-area-question {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    font-style: italic;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
    margin-top: 6px;
}

/* ==========================================================================
   Current Research Section — Active Research Project Index Cards
   ========================================================================== */
.current-research-section {
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--border-color);
}

.current-research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 24px;
    margin-top: 32px;
}

.research-project-card {
    padding: 24px; /* Desktop research project card padding: 24px */
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    cursor: default;
    height: 100%;
    transition: var(--transition-medium);
}

.research-project-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 240, 255, 0.12);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.research-project-card .card-glow {
    background: radial-gradient(circle at 100% 0%, rgba(0, 240, 255, 0.06) 0%, transparent 60%);
}

.research-project-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.research-project-type {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--text-dark);
    text-transform: uppercase;
}

.research-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

.research-status-pill.in-development {
    background: rgba(0, 240, 255, 0.06);
    border: 1px solid rgba(0, 240, 255, 0.2);
    color: var(--cyan);
}

.research-status-pill.research-draft {
    background: rgba(112, 0, 255, 0.06);
    border: 1px solid rgba(112, 0, 255, 0.2);
    color: #9b4dff;
}

.research-status-pill .status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.research-status-pill.in-development .status-dot {
    animation: pulse-badge 1.8s infinite ease-in-out;
}

.research-project-card h3 {
    font-family: var(--font-serif);
    font-size: 21px;
    font-weight: 700;
    color: var(--text-pure);
    line-height: 1.35;
}

.research-project-desc {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.research-project-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-dark);
    text-transform: uppercase;
}

@media (max-width: 640px) {
    .core-insight-inner,
    .challenge-inner {
        padding: 48px 16px;
        gap: 28px;
    }
    .research-area-card,
    .research-project-card {
        padding: 20px;
    }
    /* Core Insight: statement font-size 30-34px on mobile */
    .insight-headline--signature {
        font-size: clamp(30px, 7.5vw, 34px);
        margin-bottom: 24px;
        line-height: 1.25;
    }
    .insight-headline--paired {
        font-size: clamp(30px, 7.5vw, 34px);
        margin-bottom: 28px;
        padding-left: 14px;
        line-height: 1.25;
    }
    .insight-headline {
        font-size: clamp(30px, 7.5vw, 34px);
    }
    .challenge-headline {
        font-size: clamp(24px, 6vw, 28px);
        margin-bottom: 24px;
    }
    /* Body copy: font-size 15px mobile, line-height 1.75, paragraph spacing 20-24px */
    .insight-body {
        font-size: 15px;
        line-height: 1.75;
        margin-bottom: 22px; /* Paragraph spacing: 22px */
        max-width: 100%;
    }
    .challenge-body {
        font-size: 15px;
        line-height: 1.75;
        max-width: 100%;
    }
    .section-header-centered {
        margin-bottom: 28px;
    }
    .section-title {
        font-size: clamp(1.6rem, 6vw, 2.4rem);
    }
    .section-desc {
        font-size: 14px;
        line-height: 1.7;
    }
    .current-research-grid {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }
    .cols-4 {
        grid-template-columns: 1fr;
    }
    .boundaries-grid {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }
    .boundary-card {
        padding: 16px 20px; /* Mobile non-claims card padding: 16px to 20px */
        min-height: auto;
    }
    .boundary-text {
        font-size: 14px;
    }
    /* Waitlist section tighter on mobile */
    .waitlist-container {
        padding: 40px 20px;
    }
    .waitlist-form {
        flex-direction: column;
    }
}

/* ============================================================
   Extra-narrow breakpoint — 320px to 430px ultra-fine tuning
   ============================================================ */
@media (max-width: 430px) {
    /* Hero: spacing feels airy and balanced */
    .hero-section {
        padding: 80px 16px 48px;
    }
    .hero-title {
        font-size: clamp(38px, 10vw, 42px); /* Hero title: 38–42px on mobile */
        margin-bottom: 16px;
        line-height: 1.1;
    }
    .hero-tagline {
        font-size: 14px; /* Hero tagline: 14px on mobile */
        letter-spacing: 2px;
        margin-bottom: 16px;
    }
    .hero-subtitle {
        font-size: 15px; /* Hero description: 15px, line-height 1.65, max-width 320px on mobile */
        max-width: 320px;
        margin-bottom: 28px;
        line-height: 1.65;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        max-width: 280px;
    }
    .hero-actions .btn-primary {
        font-size: 14px;
        padding: 11px 20px;
    }

    /* Core Insight: very narrow screens */
    .core-insight-inner,
    .challenge-inner {
        padding: 40px 16px;
        gap: 24px;
    }
    .insight-headline--signature {
        font-size: clamp(30px, 9vw, 34px); /* Core Insight statement: 30-34px */
        margin-bottom: 20px;
        line-height: 1.25;
    }
    .insight-headline--paired {
        font-size: clamp(30px, 9vw, 34px); /* Core Insight statement: 30-34px */
        margin-bottom: 22px;
        padding-left: 12px;
        line-height: 1.25;
    }
    .insight-body {
        font-size: 15px;
        margin-bottom: 20px; /* Paragraph spacing: 20-24px */
        line-height: 1.75;
    }

    /* Section containers */
    .section-container {
        padding: 40px 16px;
    }

    /* Research area cards on small screens */
    .research-area-card,
    .research-project-card,
    .narrative-card,
    .feature-card {
        padding: 20px !important; /* Mobile card padding: 20px */
        height: auto !important;
        min-height: auto !important;
    }
    .research-area-num {
        margin-bottom: 10px;
        font-size: 10px;
    }
    .research-area-card h3 {
        font-size: 18px; /* Card titles: 18-20px */
    }
    .research-area-question {
        font-size: 14px; /* Card descriptions: 14-15px */
        line-height: 1.6;
    }

    /* Tech mockup */
    .tech-mockup {
        width: 100%;
        max-width: 420px; /* Screenshot mobile: width 100%, max-width 420px, margin: auto */
        margin: auto;
    }
    .telemetry-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    /* Boundaries */
    .boundary-card {
        padding: 16px 20px !important;
    }
    .boundary-text {
        font-size: 14px; /* Text: 14-15px on mobile */
    }

    /* Mission Question */
    .mission-question-container {
        margin-top: 36px;
    }
    .mission-question {
        font-size: clamp(17px, 4.5vw, 20px); /* 17px to 20px mobile */
        max-width: 300px;
        line-height: 1.55;
    }

    /* Footer */
    .footer-container {
        padding: 28px 16px;
        gap: 20px;
    }
}

/* ==========================================================================
   Research Boundaries Section (Human Protocol v6)
   ========================================================================== */
.boundaries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.boundary-card {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
    min-height: 72px; /* ensures equal height alignment on desktop */
}

.boundary-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(112, 0, 255, 0.05); /* violet glow background */
    border: 1px solid rgba(112, 0, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--violet);
    font-size: 14px;
    flex-shrink: 0;
    transition: var(--transition-medium);
}

.boundary-card:hover .boundary-icon {
    background: rgba(112, 0, 255, 0.15);
    border-color: rgba(112, 0, 255, 0.4);
    box-shadow: 0 0 10px rgba(112, 0, 255, 0.2);
}

.boundary-text {
    font-size: 15px;
    color: var(--text-bright);
    line-height: 1.4;
}

.boundaries-footer {
    text-align: center;
    margin-top: 40px;
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    font-weight: 450; /* Slightly stronger visual emphasis */
}

.boundaries-footer em {
    color: var(--cyan);
    font-style: normal;
    font-weight: 600; /* Subtle cyan emphasis */
}

/* Footer Disclaimer style */
.footer-disclaimer {
    font-size: 11px;
    color: var(--text-dark);
    margin-top: 12px;
    line-height: 1.5;
    max-width: 320px;
}

/* ==========================================================================
   Experiment CTA Section
   ========================================================================== */
.experiment-cta-section {
    padding: 80px 24px;
}

.experiment-cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 72px 48px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.experiment-cta-glow {
    position: absolute;
    top: -50%;
    left: 20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at top, var(--cyan-glow) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.experiment-cta-container .section-title {
    margin-bottom: 16px;
    font-size: clamp(2rem, 5vw, 2.75rem);
    z-index: 2;
}

.experiment-cta-container .section-desc {
    max-width: 540px;
    margin-bottom: 36px;
    line-height: 1.75;
    font-size: 16px;
    color: var(--text-muted);
    z-index: 2;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
    margin-bottom: 40px;
}

.cta-secondary-text {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-dark);
}

.disclaimer-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 580px;
    text-align: left;
    z-index: 2;
}

.disclaimer-icon {
    font-size: 18px;
    color: var(--cyan);
    opacity: 0.85;
    display: flex;
    align-items: center;
}

.disclaimer-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.disclaimer-text-primary {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-bright);
    margin: 0;
    line-height: 1.4;
}

.disclaimer-text-secondary {
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* Mobile responsive adjustments for the CTA section */
@media (max-width: 768px) {
    .experiment-cta-section {
        padding: 60px 16px;
    }
    .experiment-cta-container {
        padding: 48px 24px;
    }
    .disclaimer-card {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 18px;
    }
    .disclaimer-icon {
        justify-content: center;
    }
}

