/* ==========================================================================
   DECOUPLED LABS — CORE DESIGN SYSTEM & CUSTOM PREMIUM THEME
   ========================================================================== */

/* 1. Global Setup & Custom Variables */
:root {
    --bg-primary: #050507;
    --bg-secondary: #0c0c10;
    --accent-blue: #007aff;
    --accent-blue-glow: rgba(0, 122, 255, 0.2);
    --accent-pink: #ff2d55;
    --accent-pink-glow: rgba(255, 45, 85, 0.2);
    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(12, 12, 16, 0.65);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-blur: blur(24px);

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

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-snappy: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 2. Reset & Baselines */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Base Layout Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 3. Mesh Glow Background Effects */
.mesh-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.25;
    mix-blend-mode: screen;
}
.mesh-glow-1 {
    top: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
    animation: floatGlow 15s infinite alternate ease-in-out;
}
.mesh-glow-2 {
    top: 40%;
    left: -20%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, var(--accent-pink) 0%, transparent 70%);
    animation: floatGlow 20s infinite alternate-reverse ease-in-out;
}
.mesh-glow-3 {
    bottom: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(80px, 50px) scale(1.1); }
}

/* 4. Navigation Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.75rem 0;
}

.header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.main-header.scrolled .header-container {
    padding: 0.5rem 2rem;
}

/* Logo */
.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    font-weight: 300;
    color: var(--text-secondary);
}

.logo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-pink));
    box-shadow: 0 0 10px var(--accent-blue);
    display: inline-block;
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 2.25rem;
}

.nav-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-snappy);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-pink));
    transition: var(--transition-snappy);
}

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

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

/* Buttons System */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-header {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-header:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.btn-glow {
    position: relative;
    z-index: 1;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-pink));
    border-radius: 100px;
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
    filter: blur(8px);
}

.btn-glow:hover::before {
    opacity: 0.6;
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.02);
}

.btn-block {
    width: 100%;
    padding: 0.9rem;
}

/* Cards & Styling Utilities */
.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 2rem;
    transition: var(--transition-smooth);
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.badge-pulse {
    border-color: rgba(0, 122, 255, 0.3);
    color: var(--accent-blue);
    background: rgba(0, 122, 255, 0.05);
}

.section-badge {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.gradient-text {
    background: linear-gradient(135deg, #00c6ff 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* 5. Hero Section */
.hero-section {
    padding-top: 10rem;
    padding-bottom: 6rem;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 4rem;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-val {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Hero Visual Frame */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 0.8 / 1;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-ring {
    position: absolute;
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, var(--accent-blue-glow) 0%, transparent 60%);
    z-index: -1;
    animation: pulseAmbient 4s infinite ease-in-out;
}

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

.product-image {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    transition: var(--transition-smooth);
}

.product-image:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), 0 0 30px var(--accent-blue-glow);
}

.floating-telemetry {
    position: absolute;
    bottom: -1rem;
    left: 2rem;
    background: rgba(5, 5, 7, 0.85);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 12px;
    padding: 0.6rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

.telemetry-dot {
    width: 8px;
    height: 8px;
    background-color: #30d158;
    border-radius: 50%;
    position: relative;
}

.animated-ping {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #30d158;
    border-radius: 50%;
    animation: ping 1.5s infinite ease-in-out;
}

@keyframes ping {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* 6. Manifesto Section */
.manifesto-section {
    padding: 8rem 0;
    border-top: 1px solid var(--border-color);
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: flex-start;
}

.manifesto-left h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.manifesto-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.manifesto-p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.manifesto-p.highlighted {
    color: var(--text-primary);
    font-weight: 500;
    border-left: 3px solid var(--accent-blue);
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

/* 7. Simulator Section */
.simulator-section {
    padding: 8rem 0;
    border-top: 1px solid var(--border-color);
}

.section-header {
    margin-bottom: 4rem;
    max-width: 650px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3rem;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.section-lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.simulator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.sim-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
}

.panel-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.panel-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.panel-sub {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.food-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.food-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-snappy);
    width: 100%;
}

.food-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.food-card.active {
    background: rgba(0, 122, 255, 0.06);
    border-color: rgba(0, 122, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 122, 255, 0.08);
}

.food-emoji {
    font-size: 1.5rem;
}

.food-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    flex-grow: 1;
}

.food-kcal {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.food-card.active .food-kcal {
    color: var(--accent-blue);
    background: rgba(0, 122, 255, 0.1);
    border-color: rgba(0, 122, 255, 0.2);
}

/* Slider Controls */
.slider-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.slider-header #proportion-val {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
}

/* Sleek Slider Track styling */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--text-primary);
    border: 2px solid var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue);
    transition: var(--transition-snappy);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

/* Telemetry Output */
.telemetry-panel {
    border-color: rgba(0, 122, 255, 0.15);
    background: radial-gradient(circle at top right, rgba(0, 122, 255, 0.05) 0%, transparent 60%), var(--glass-bg);
}

.kcal-output {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.kcal-huge {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 4px;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: zoomKcal 0.5s ease-out;
}

.kcal-unit {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-blue);
    -webkit-text-fill-color: var(--accent-blue);
}

.kcal-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
}

@keyframes zoomKcal {
    0% { transform: scale(0.95); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.telemetry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.tele-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tele-val {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
}

.tele-lbl {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Oscilloscope Canvas container */
.canvas-container {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.canvas-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.active-pulse {
    color: #30d158;
    display: flex;
    align-items: center;
    gap: 6px;
}

.active-pulse::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #30d158;
    border-radius: 50%;
    display: inline-block;
    animation: ping 1s infinite alternate;
}

#resonance-canvas {
    width: 100%;
    height: 100px;
    background: #030305;
    border-radius: 6px;
}

/* 8. Science Section */
.science-section {
    padding: 8rem 0;
    border-top: 1px solid var(--border-color);
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.science-tabs {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 4rem;
}

.tab-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

.tab-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(255, 45, 85, 0.05) 100%);
    border-color: rgba(0, 122, 255, 0.35);
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.05);
}

.tab-num {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.tab-btn.active .tab-num {
    color: var(--accent-blue);
}

.tab-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.tab-contents {
    position: relative;
    min-height: 400px;
}

.tab-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
    pointer-events: none;
}

.tab-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
    pointer-events: auto;
}

.tab-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.tab-text {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.tab-text h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.85rem;
    margin-bottom: 0.5rem;
}

.tab-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

.tech-bullet {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

.bullet-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    margin-top: 8px;
}

/* Tab Graphic Boxes with pure animated CSS vectors */
.tab-graphic-box {
    background: #030305;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    aspect-ratio: 1.2 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.graphic-caption {
    position: absolute;
    bottom: 1rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
}

/* Phase 1 Animation */
.atomic-animation {
    width: 200px;
    height: 200px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nucleus {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-pink) 0%, #a00c30 100%);
    box-shadow: 0 0 20px var(--accent-pink);
    position: relative;
    z-index: 2;
}

.electron-orbit {
    position: absolute;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.orbit-1 {
    width: 120px;
    height: 120px;
    animation: rotateOrbit 6s infinite linear;
}

.orbit-2 {
    width: 170px;
    height: 170px;
    animation: rotateOrbit 10s infinite linear reverse;
    transform: rotate(45deg);
}

.electron {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-blue);
    box-shadow: 0 0 8px var(--accent-blue);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes rotateOrbit {
    100% { transform: rotate(360deg); }
}

.spin-vectors {
    position: absolute;
    display: flex;
    gap: 1.5rem;
    bottom: 10px;
}

.vector-arrow {
    color: var(--accent-blue);
    font-weight: 800;
    font-size: 1.5rem;
    text-shadow: 0 0 10px var(--accent-blue);
    animation: floatArrow 2s infinite alternate ease-in-out;
}

.vector-arrow:nth-child(2) { animation-delay: 0.4s; }
.vector-arrow:nth-child(3) { animation-delay: 0.8s; }

@keyframes floatArrow {
    0% { transform: translateY(0); opacity: 0.5; }
    100% { transform: translateY(-10px); opacity: 1; }
}

/* Phase 2 Animation */
.handle-resonance-visual {
    width: 180px;
    height: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hand-line {
    width: 20px;
    height: 120px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.2), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 15px rgba(255,255,255,0.05);
    border-radius: 100px;
}

.wave-lines {
    display: flex;
    gap: 8px;
    align-items: center;
}

.wave-lines span {
    width: 3px;
    height: 40px;
    background: linear-gradient(180deg, var(--accent-blue), var(--accent-pink));
    border-radius: 10px;
    display: block;
    animation: expandWave 1s infinite alternate ease-in-out;
}

.wave-lines span:nth-child(2) { animation-delay: 0.2s; height: 60px; }
.wave-lines span:nth-child(3) { animation-delay: 0.4s; height: 80px; }
.wave-lines span:nth-child(4) { animation-delay: 0.6s; height: 50px; }

@keyframes expandWave {
    0% { transform: scaleY(0.6); opacity: 0.5; filter: blur(1px); }
    100% { transform: scaleY(1.2); opacity: 1; filter: blur(0); }
}

/* Phase 3 Animation */
.mitochondria-visual {
    width: 200px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.mito-body {
    width: 150px;
    height: 80px;
    border-radius: 100px;
    border: 2px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.02);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cristae {
    position: absolute;
    width: 130px;
    height: 60px;
    border: 1px dashed rgba(255, 45, 85, 0.4);
    border-radius: 100px;
    background: radial-gradient(ellipse, rgba(255,45,85,0.05) 0%, transparent 80%);
}

.cristae::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(90deg, transparent, transparent 15px, rgba(255,45,85,0.1) 15px, rgba(255,45,85,0.1) 18px);
}

.proton-flow {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 8px;
    right: 15px;
}

.proton {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-blue);
    animation: flowOut 1.5s infinite linear;
}

.proton:nth-child(2) { animation-delay: 0.5s; }
.proton:nth-child(3) { animation-delay: 1s; }

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

.heat-waves {
    position: absolute;
    left: -10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.heat-waves span {
    width: 25px;
    height: 2px;
    background-color: var(--accent-pink);
    border-radius: 10px;
    box-shadow: 0 0 8px var(--accent-pink);
    animation: waveHeat 1.2s infinite linear;
}

.heat-waves span:nth-child(2) { animation-delay: 0.4s; }
.heat-waves span:nth-child(3) { animation-delay: 0.8s; }

@keyframes waveHeat {
    0% { transform: translateX(0) scaleY(1); opacity: 0.8; }
    100% { transform: translateX(-40px) scaleY(2); opacity: 0; }
}

/* 9. Specifications Section */
.specs-section {
    padding: 8rem 0;
    border-top: 1px solid var(--border-color);
}

.specs-table-container {
    overflow: hidden;
    padding: 0;
    margin-top: 4rem;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.specs-table th, .specs-table td {
    padding: 1.75rem 2.5rem;
    border-bottom: 1px solid var(--border-color);
}

.specs-table th {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-secondary);
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.01);
}

.specs-table tbody tr:last-child td {
    border-bottom: none;
}

.spec-category {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    width: 30%;
    vertical-align: top;
}

.specs-table td:not(.spec-category) {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.highlight-spec {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.05rem;
}

/* 10. FAQ Section */
.faq-section {
    padding: 8rem 0;
    border-top: 1px solid var(--border-color);
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 4rem;
}

.faq-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 16px;
    padding: 1.75rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    height: fit-content;
}

.faq-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.01);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-question h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--text-secondary);
    border-radius: 10px;
}

.faq-icon::before {
    top: 9px;
    left: 0;
    width: 20px;
    height: 2px;
}

.faq-icon::after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 20px;
    transition: var(--transition-smooth);
}

.faq-card.active .faq-icon {
    transform: rotate(135deg);
}

.faq-card.active .faq-icon::before, .faq-card.active .faq-icon::after {
    background-color: var(--text-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.faq-card.active .faq-answer {
    max-height: 200px;
    opacity: 1;
    margin-top: 1.25rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 11. CTA Section */
.cta-section {
    padding: 6rem 0 10rem 0;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, var(--accent-blue-glow) 0%, transparent 70%);
    z-index: -1;
    opacity: 0.5;
}

.cta-container {
    max-width: 900px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
}

.cta-container h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.5rem;
    letter-spacing: -2px;
    line-height: 1.1;
}

.cta-container p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 580px;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.cta-limit {
    font-size: 0.8rem;
    color: var(--accent-pink);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 12. Footer */
.main-footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 0;
    background: #030305;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.footer-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-brand span {
    font-weight: 300;
    color: var(--text-secondary);
}

.footer-tagline {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-top: 4px;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-snappy);
}

.footer-legal a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.divider {
    color: var(--border-color);
}

/* 13. Modal Dialog */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 5, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: #09090d;
    border: 1px solid var(--glass-border);
    width: 100%;
    max-width: 580px;
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 122, 255, 0.05);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-snappy);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

.modal-header {
    margin-bottom: 2rem;
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.modal-header p {
    font-size: 0.9rem;
    color: var(--accent-blue);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Modal Form Styles */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.modal-form.hidden {
    display: none;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input, .form-group select, .form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-snappy);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(0, 122, 255, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
    accent-color: var(--accent-blue);
}

/* Success State */
.modal-success-state {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.25rem;
    padding: 1rem 0;
}

.modal-success-state.active {
    display: flex;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: rgba(48, 209, 88, 0.1);
    border: 2px solid #30d158;
    color: #30d158;
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(48, 209, 88, 0.2);
}

.modal-success-state h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
}

.modal-success-state p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 380px;
    margin-bottom: 1rem;
}

/* 14. Responsive Layout Adjustments */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-metrics {
        justify-content: center;
    }

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

    .simulator-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .tab-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .main-header {
        padding: 1rem 0;
    }

    .nav-links {
        display: none; /* Mobile menu would sit here */
    }

    .header-actions {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.75rem;
    }

    .hero-metrics {
        flex-direction: column;
        gap: 1rem;
    }

    .metric-divider {
        display: none;
    }

    .tab-buttons {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .specs-table th, .specs-table td {
        padding: 1.25rem 1.5rem;
    }

    .spec-category {
        width: 100%;
        display: block;
        margin-bottom: 0.5rem;
    }

    .specs-table td:not(.spec-category) {
        display: block;
    }

    .cta-container h2 {
        font-size: 2.5rem;
    }

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

  /* ==========================================================================
     15. Briefing & Media Section
     ========================================================================== */

  .briefing-section {
      padding: 8rem 0;
      border-top: 1px solid var(--border-color);
  }

  .briefing-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
  }

  .briefing-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      gap: 1rem;
  }

  .briefing-card h3 {
      font-family: var(--font-heading);
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--text-primary);
      margin: 0;
  }

  .briefing-card p {
      color: var(--text-secondary);
      font-size: 0.95rem;
      margin-bottom: 1rem;
  }

  /* Responsive Adjustments for Mobile */
  @media (max-width: 1024px) {
      .briefing-grid {
          grid-template-columns: 1fr;
          gap: 2rem;
      }
  }
