/* ═══════════════════════════════════════════════════════════
   WELLTEGRA SOVEREIGN AI PLATFORM - STYLES
   Forensic Dark Mode | Product-Led Design
   SC876023 | January 21, 2026
   ═══════════════════════════════════════════════════════════ */

/* ───────────────────────────────────────────────────────────
   FOUNDATION & VARIABLES
   ─────────────────────────────────────────────────────────── */

:root {
    /* Chromebook-Optimized Dark Mode Palette - Lean Engineering UI */
    --deep-ocean: #051122;        /* Deep Ocean Blue - Primary Background */
    --ocean-mid: #0a1e3d;         /* Mid Ocean Blue - Secondary Background */
    --ocean-light: #1e4d7b;       /* Light Ocean Blue - Borders & Accents */
    --slate-dark: #2d3748;        /* Slate Grey Dark */
    --slate: #475569;             /* Slate Grey - Mid Tone */
    --slate-light: #64748b;       /* Slate Grey Light */
    --silver: #94a3b8;            /* Silver Grey */
    --mist: #e2e8f0;              /* Light Text */
    --cloud: #f1f5f9;
    --white: #ffffff;

    /* Terminal Accent Colors */
    --terminal-green: #22d3ee;    /* Terminal Green/Cyan - Primary Accent */
    --terminal-green-dark: #14b8a6;
    --terminal-glow: rgba(34, 211, 238, 0.15);

    --warning-amber: #f59e0b;     /* Warning/Status Amber */
    --success: #10b981;           /* Success Green */
    --signal-blue: #3b82f6;

    /* Typography */
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Layout */
    --max-width: 1200px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--mist);
    background: var(--deep-ocean);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    /* Chromebook optimization: reduce rendering complexity */
    text-rendering: optimizeLegibility;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ───────────────────────────────────────────────────────────
   NAVIGATION
   ─────────────────────────────────────────────────────────── */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.25rem 2rem; /* Increased from 1rem for more breathing room */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.05em;
}

.logo-subtitle {
    font-size: 0.625rem;
    color: var(--terminal-green);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: -0.25rem;
    font-weight: 600;
}

.nav-logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(0.95); /* Slight adjustment for dark nav background */
    transition: filter 0.3s ease;
}

.nav-logo:hover .nav-logo-image {
    filter: brightness(1.1);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--silver);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-cta {
    background: var(--accent);
    color: var(--white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
}

.nav-cta:hover {
    background: var(--accent-dark);
}

/* ───────────────────────────────────────────────────────────
   HERO SECTION
   ─────────────────────────────────────────────────────────── */

.hero {
    /* Chromebook-Optimized: No video, pure CSS gradient background */
    background: linear-gradient(135deg, var(--ocean-mid) 0%, var(--deep-ocean) 100%);
    border-bottom: 2px solid var(--ocean-light);
    min-height: 85vh; /* Reduced from 100vh to ensure CTA always visible on 13" displays */
    max-height: 900px; /* Cap height for smaller displays */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    overflow: visible; /* Allow content to extend if needed */
}

/* Remove video-related styles for lean UI */
.hero-video {
    display: none; /* Disabled for Chromebook optimization */
}

.hero-overlay {
    display: none; /* No overlay needed without video */
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1150px;
    width: 100%;
    padding: 4rem 2rem 2.5rem 2rem; /* Optimized padding for 13" displays */
    /* Ensure content never pushes CTA off-screen */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.badge-icon {
    font-size: 1rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    /* Terminal aesthetic: subtle text shadow for depth */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-title-accent {
    color: var(--terminal-green); /* Terminal Green for accent */
    /* Subtle glow effect for terminal aesthetic */
    text-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--mist);
    line-height: 1.2;
    margin-bottom: 2.5rem; /* Increased from 2rem for better spacing */
}

.hero-subtitle-accent {
    color: var(--success);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--silver);
    line-height: 1.8;
    margin-bottom: 2.5rem; /* Adjusted for better rhythm with CTA buttons */
}

.hero-description strong {
    color: var(--accent);
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--silver);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
}

/* ───────────────────────────────────────────────────────────
   BUTTONS
   ─────────────────────────────────────────────────────────── */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--steel);
    color: var(--mist);
}

.btn-secondary:hover {
    border-color: var(--white);
    color: var(--white);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ───────────────────────────────────────────────────────────
   SYSTEM STATUS DASHBOARD
   ─────────────────────────────────────────────────────────── */

.status-dashboard {
    padding: 4rem 0;
    background: var(--ink-light);
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.status-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: relative;
}

.status-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.status-label {
    font-size: 0.75rem;
    color: var(--steel);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.status-value {
    font-size: 1rem;
    color: var(--white);
    font-weight: 600;
}

.status-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-active {
    background: var(--success);
    box-shadow: 0 0 12px var(--success);
    animation: pulse 2s ease-in-out infinite;
}

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

/* ───────────────────────────────────────────────────────────
   SECTIONS
   ─────────────────────────────────────────────────────────── */

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--silver);
    line-height: 1.8;
}

/* ───────────────────────────────────────────────────────────
   PROBLEM SECTION (ANALOG LIMITATION)
   ─────────────────────────────────────────────────────────── */

.problem-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.95), rgba(26, 45, 74, 0.95));
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.problem-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition);
}

.problem-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.problem-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.problem-card p {
    color: var(--silver);
    line-height: 1.8;
}

.problem-card strong {
    color: var(--accent);
    font-weight: 600;
}

.problem-summary {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(249, 115, 22, 0.05);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
}

.problem-summary p {
    font-size: 1.125rem;
    color: var(--mist);
    line-height: 1.8;
}

.problem-summary strong {
    color: var(--white);
    font-weight: 600;
}

/* ───────────────────────────────────────────────────────────
   SOVEREIGN AI SECTION
   ─────────────────────────────────────────────────────────── */

.sovereign-section {
    padding: 6rem 0;
    background: var(--ink);
}

.sovereign-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.sovereign-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(147, 51, 234, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition);
}

.sovereign-card:hover {
    border-color: var(--signal-blue);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
}

.sovereign-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.sovereign-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.sovereign-card p {
    color: var(--silver);
    line-height: 1.8;
}

.sovereign-card strong {
    color: var(--signal-blue);
    font-weight: 600;
}

.sovereign-guarantee {
    margin-top: 4rem;
    padding: 3rem;
    background: rgba(15, 23, 42, 0.6);
    border: 2px solid var(--signal-blue);
    border-radius: var(--radius-lg);
}

.sovereign-guarantee h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 2rem;
    text-align: center;
}

.sovereign-principles {
    list-style: none;
    margin-bottom: 2rem;
}

.sovereign-principles li {
    font-size: 1.125rem;
    color: var(--silver);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(100, 116, 139, 0.2);
}

.sovereign-principles li:last-child {
    border-bottom: none;
}

.sovereign-principles strong {
    color: var(--signal-blue);
    font-weight: 600;
}

.sovereign-tagline {
    text-align: center;
    font-size: 1.125rem;
    color: var(--mist);
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(100, 116, 139, 0.2);
}

.sovereign-tagline strong {
    color: var(--white);
    font-weight: 600;
}

/* ───────────────────────────────────────────────────────────
   PLATFORM SECTION (BRAHAN ENGINE)
   ─────────────────────────────────────────────────────────── */

.platform-section {
    padding: 6rem 0;
    background: var(--ink);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--silver);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-tag {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--signal-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* ───────────────────────────────────────────────────────────
   CALCULATOR SECTION
   ─────────────────────────────────────────────────────────── */

.calculator-section {
    padding: 6rem 0;
    background: var(--ink-light);
}

.calculator-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: var(--radius-lg);
    padding: 3rem;
}

.calculator-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.input-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.input-group input {
    background: var(--ink);
    border: 1px solid var(--steel);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--white);
    font-family: var(--font-body);
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent);
}

.input-hint {
    font-size: 0.75rem;
    color: var(--steel);
    margin-top: 0.25rem;
}

.calculator-inputs button {
    grid-column: span 2;
}

.calculator-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.result-card {
    background: rgba(10, 22, 40, 0.6);
    border: 1px solid rgba(100, 116, 139, 0.2);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.result-label {
    font-size: 0.75rem;
    color: var(--steel);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.result-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.result-description {
    font-size: 0.75rem;
    color: var(--silver);
    line-height: 1.6;
}

.calculator-roi {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
}

.roi-label {
    font-size: 0.875rem;
    color: var(--steel);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.roi-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--success);
    margin-bottom: 1rem;
}

.roi-bar {
    background: rgba(100, 116, 139, 0.2);
    height: 8px;
    border-radius: 100px;
    overflow: hidden;
}

.roi-bar-fill {
    background: linear-gradient(90deg, var(--success), var(--signal-blue));
    height: 100%;
    transition: width 0.5s ease-out;
}

/* ───────────────────────────────────────────────────────────
   HERITAGE SECTION (PERFECT 11)
   ─────────────────────────────────────────────────────────── */

.heritage-section {
    padding: 6rem 0;
    background: var(--ink);
}

.heritage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.heritage-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.heritage-card:hover {
    border-color: var(--accent);
    transform: scale(1.05);
}

.heritage-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.heritage-card h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.heritage-card p {
    font-size: 0.875rem;
    color: var(--silver);
}

.heritage-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

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

.heritage-stat-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--success);
    line-height: 1;
}

.heritage-stat-label {
    font-size: 0.875rem;
    color: var(--steel);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
}

/* ───────────────────────────────────────────────────────────
   TECHNOLOGY SECTION
   ─────────────────────────────────────────────────────────── */

.technology-section {
    padding: 6rem 0;
    background: var(--ink-light);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.tech-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: var(--radius-md);
    padding: 2rem;
}

.tech-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.tech-specs {
    list-style: none;
}

.tech-specs li {
    font-size: 0.875rem;
    color: var(--silver);
    line-height: 1.8;
    padding-left: 1rem;
    position: relative;
}

.tech-specs li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.tech-specs li strong {
    color: var(--white);
}

.tech-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ───────────────────────────────────────────────────────────
   THE INDUSTRIAL SEER SECTION
   ─────────────────────────────────────────────────────────── */

.seer-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--ink), var(--ink-light));
    border-top: 3px solid var(--steel);
}

.seer-content {
    max-width: 900px;
    margin: 3rem auto 0;
}

.seer-legend,
.seer-modern,
.seer-grit,
.seer-sovereign,
.seer-credentials {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.seer-legend {
    border-left: 4px solid var(--accent);
}

.seer-modern {
    border-left: 4px solid var(--signal-blue);
}

.seer-grit {
    border-left: 4px solid var(--steel);
}

.seer-sovereign {
    border-left: 4px solid var(--success);
}

.seer-credentials {
    background: rgba(100, 116, 139, 0.1);
    border: 2px solid var(--steel);
}

.seer-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.seer-content p {
    font-size: 1.05rem;
    color: var(--silver);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.seer-content p:last-child {
    margin-bottom: 0;
}

.seer-content strong {
    color: var(--white);
    font-weight: 600;
}

.seer-quote {
    border-left: 4px solid var(--accent);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--mist);
    font-weight: 500;
}

.seer-tagline {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 700;
    text-align: center;
    margin: 2rem 0 0;
    padding: 1.5rem;
    background: rgba(249, 115, 22, 0.1);
    border: 2px solid var(--accent);
    border-radius: var(--radius-md);
}

.seer-bio {
    font-size: 1rem;
    color: var(--steel);
    line-height: 1.8;
    font-style: italic;
}

/* ───────────────────────────────────────────────────────────
   TACTICAL EDGE ARCHITECTURE SECTION
   ─────────────────────────────────────────────────────────── */

.edge-section {
    padding: 6rem 0;
    background: var(--ink);
    border-top: 3px solid var(--accent);
}

.edge-problem,
.edge-solution,
.edge-hardware,
.edge-workflow,
.edge-nvidia,
.edge-benefits,
.edge-footer {
    margin-top: 3rem;
}

.edge-problem h3,
.edge-solution h3,
.edge-hardware h3,
.edge-workflow h3,
.edge-nvidia h3,
.edge-benefits h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.edge-problem p,
.edge-solution p,
.edge-workflow p {
    font-size: 1.05rem;
    color: var(--silver);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.edge-risks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.risk-card {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
}

.risk-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}

.risk-card h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: #ef4444;
    margin-bottom: 0.5rem;
}

.risk-card p {
    font-size: 0.875rem;
    color: var(--silver);
    line-height: 1.6;
    margin: 0;
}

.edge-disclaimer {
    font-size: 1.25rem;
    color: var(--accent);
    font-weight: 700;
    text-align: center;
    padding: 1.5rem;
    background: rgba(249, 115, 22, 0.1);
    border: 2px solid var(--accent);
    border-radius: var(--radius-md);
    margin-top: 2rem;
}

.hardware-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.hardware-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: var(--radius-md);
    padding: 2rem;
    position: relative;
}

.hardware-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.atex-zone1 {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #ef4444;
}

.atex-zone2 {
    background: rgba(251, 146, 60, 0.2);
    border: 1px solid #fb923c;
    color: #fb923c;
}

.hardware-card h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hardware-specs {
    list-style: none;
}

.hardware-specs li {
    font-size: 0.95rem;
    color: var(--silver);
    line-height: 2;
    padding-left: 1.5rem;
    position: relative;
}

.hardware-specs li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.edge-scenario {
    font-size: 1.125rem;
    color: var(--mist);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.edge-scenario strong {
    color: var(--white);
    font-weight: 600;
}

.workflow-example {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 2rem 0;
}

.workflow-step {
    flex: 1;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: relative;
}

.step-number {
    position: absolute;
    top: -12px;
    left: 1rem;
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.workflow-step p {
    font-size: 0.95rem;
    color: var(--silver);
    line-height: 1.6;
    margin: 0;
}

.workflow-step strong {
    color: var(--accent);
}

.workflow-arrow {
    font-size: 2rem;
    color: var(--accent);
    font-weight: bold;
}

.edge-tagline {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 700;
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(249, 115, 22, 0.1);
    border: 2px solid var(--accent);
    border-radius: var(--radius-md);
}

.nvidia-features {
    list-style: none;
    margin-top: 1.5rem;
}

.nvidia-features li {
    font-size: 1rem;
    color: var(--silver);
    line-height: 1.8;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 1.5rem;
}

.nvidia-features li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.nvidia-features strong {
    color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-card {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
}

.benefit-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.benefit-card h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--success);
    margin-bottom: 0.75rem;
}

.benefit-card p {
    font-size: 0.875rem;
    color: var(--silver);
    line-height: 1.6;
    margin: 0;
}

.edge-note {
    font-size: 1rem;
    color: var(--steel);
    line-height: 1.8;
    text-align: center;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

/* ───────────────────────────────────────────────────────────
   COMPARISON TABLE SECTION
   ─────────────────────────────────────────────────────────── */

.comparison-section {
    padding: 6rem 0;
    background: var(--ink-light);
}

.comparison-table-wrapper {
    margin-top: 3rem;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: var(--radius-md);
}

.comparison-table thead {
    background: rgba(10, 22, 40, 0.95);
}

.comparison-table th {
    padding: 1.5rem;
    text-align: left;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    border-bottom: 2px solid var(--accent);
}

.comparison-table tbody tr {
    border-bottom: 1px solid rgba(100, 116, 139, 0.2);
}

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

.comparison-table td {
    padding: 1.5rem;
    vertical-align: top;
}

.param-label {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent);
    width: 20%;
}

.legacy-cell {
    background: rgba(239, 68, 68, 0.05);
    border-left: 3px solid #ef4444;
    color: var(--silver);
}

.legacy-cell strong {
    color: #ef4444;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.legacy-cell em {
    font-style: normal;
    font-size: 0.875rem;
    line-height: 1.6;
    display: block;
}

.welltegra-cell {
    background: rgba(34, 197, 94, 0.05);
    border-left: 3px solid var(--success);
    color: var(--silver);
}

.welltegra-cell strong {
    color: var(--success);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.welltegra-cell em {
    font-style: normal;
    font-size: 0.875rem;
    line-height: 1.6;
    display: block;
}

.comparison-summary {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(249, 115, 22, 0.05);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
}

.comparison-summary p {
    font-size: 1.125rem;
    color: var(--mist);
    line-height: 1.8;
}

.comparison-summary strong {
    color: var(--white);
    font-weight: 600;
}

/* ───────────────────────────────────────────────────────────
   PILOT PROGRAM SECTION
   ─────────────────────────────────────────────────────────── */

.pilot-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05), rgba(34, 197, 94, 0.05));
    border-top: 2px solid var(--accent);
    border-bottom: 2px solid var(--success);
}

.hero-pilot-note {
    font-size: 0.875rem;
    color: var(--mist); /* Increased from silver for better readability */
    text-align: center;
    margin-top: 1rem;
    padding: 1rem 1.5rem; /* Increased vertical padding */
    background: rgba(0, 0, 0, 0.6); /* Much darker background for contrast */
    border: 1px solid rgba(249, 115, 22, 0.4); /* Slightly stronger orange border */
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px); /* Added blur for glass-morphism effect */
}

.hero-pilot-note strong {
    color: var(--accent);
}

.pilot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.pilot-value-card,
.pilot-requirements-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: var(--radius-md);
    padding: 2.5rem;
}

.pilot-value-card {
    border-left: 4px solid var(--success);
}

.pilot-requirements-card {
    border-left: 4px solid var(--accent);
}

.pilot-value-card h3,
.pilot-requirements-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.pilot-checklist,
.pilot-requirements {
    list-style: none;
    margin-bottom: 2rem;
}

.pilot-checklist li,
.pilot-requirements li {
    font-size: 0.95rem;
    color: var(--silver);
    line-height: 2;
    padding-left: 0.5rem;
    margin-bottom: 0.75rem;
}

.pilot-checklist li strong,
.pilot-requirements li strong {
    color: var(--white);
}

.pilot-value {
    font-size: 1.125rem;
    color: var(--success);
    padding: 1.5rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-md);
    text-align: center;
}

.pilot-value strong {
    display: block;
    margin-bottom: 0.25rem;
}

.pilot-why {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    margin: 3rem 0;
}

.pilot-why h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.pilot-why p {
    font-size: 1rem;
    color: var(--silver);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.pilot-why ul {
    list-style: none;
    margin: 1rem 0;
}

.pilot-why ul li {
    font-size: 1rem;
    color: var(--silver);
    line-height: 1.8;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.pilot-why ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.pilot-cta {
    text-align: center;
    padding: 3rem;
    background: rgba(249, 115, 22, 0.05);
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    margin: 3rem 0;
}

.pilot-cta h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.pilot-urgency {
    font-size: 0.95rem;
    color: var(--accent);
    margin-top: 1rem;
    font-weight: 600;
}

.pilot-faq {
    margin-top: 4rem;
}

.pilot-faq h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 2rem;
}

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

.faq-item {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.faq-item h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.faq-item p {
    font-size: 0.875rem;
    color: var(--silver);
    line-height: 1.6;
}

.faq-item p strong {
    color: var(--white);
}

.cta-note {
    font-size: 0.95rem;
    color: var(--steel);
    margin-top: 1.5rem;
}

.cta-note a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

.cta-note a:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

/* ───────────────────────────────────────────────────────────
   CTA SECTION
   ─────────────────────────────────────────────────────────── */

.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--ink), var(--ink-light));
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.125rem;
    color: var(--silver);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ───────────────────────────────────────────────────────────
   DEVELOPER SECTION
   ─────────────────────────────────────────────────────────── */

.developer-section {
    padding: 6rem 0;
    background: var(--ink);
}

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

.developer-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-decoration: none;
    transition: var(--transition);
    text-align: center;
}

.developer-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.developer-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.developer-card h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.developer-card p {
    font-size: 0.875rem;
    color: var(--silver);
    line-height: 1.6;
}

/* ───────────────────────────────────────────────────────────
   FOOTNOTES & DISCLAIMERS
   ─────────────────────────────────────────────────────────── */

.footnotes-section {
    background: rgba(26, 45, 74, 0.5);
    border-top: 1px solid rgba(100, 116, 139, 0.2);
    padding: 2rem 0;
}

.footnote {
    font-size: 0.875rem;
    color: var(--steel);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footnote:last-child {
    margin-bottom: 0;
}

.footnote strong {
    color: var(--white);
}

.calculator-disclaimer {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: var(--radius-md);
}

.calculator-disclaimer p {
    font-size: 0.875rem;
    color: var(--silver);
    line-height: 1.8;
    margin: 0;
}

.calculator-disclaimer a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

.calculator-disclaimer a:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

/* ───────────────────────────────────────────────────────────
   FOOTER
   ─────────────────────────────────────────────────────────── */

.footer {
    background: var(--ink-light);
    border-top: 1px solid rgba(100, 116, 139, 0.2);
    padding: 3rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.footer-col p, .footer-col a {
    font-size: 0.875rem;
    color: var(--steel);
    line-height: 1.8;
}

.footer-col a {
    display: block;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(100, 116, 139, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--steel);
    margin-bottom: 0.5rem;
}

/* ───────────────────────────────────────────────────────────
   RESPONSIVE
   ─────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    /* Mobile Nav Logo Optimization */
    .nav-logo-image {
        height: 40px; /* Smaller logo on mobile */
    }

    .logo-text {
        font-size: 1.25rem; /* Slightly smaller text on mobile */
    }

    .logo-subtitle {
        font-size: 0.5rem;
    }

    .hero {
        min-height: 70vh; /* Chromebook-optimized: reduced height for smaller displays */
        max-height: 700px;
    }

    /* Hide hero watermark on mobile for performance */
    .hero > div:first-of-type {
        display: none;
    }

    .hero-content {
        padding: 3.5rem 1.25rem 2rem 1.25rem; /* Compact padding for mobile/Chromebook */
    }

    .hero-title {
        font-size: 1.85rem; /* Chromebook-optimized: smaller for mobile */
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
    }

    .hero-cta-group {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 0.75rem;
        margin-bottom: 2rem; /* Ensure spacing before stats */
    }

    .hero-pilot-note {
        font-size: 0.8rem;
        padding: 0.75rem 1rem;
    }

    .hero-features {
        /* Chromebook optimization: simplify grid on mobile */
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
        margin-bottom: 2rem !important;
    }

    .hero-stats,
    .status-grid,
    .problem-grid,
    .feature-grid,
    .tech-grid,
    .sovereign-grid,
    .heritage-stats,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .calculator-inputs,
    .calculator-results {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .edge-risks,
    .hardware-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .workflow-example {
        flex-direction: column;
    }

    .workflow-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
}
