@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* --- Technical Design Tokens --- */
:root {
    --bg-main: #040d1a;            /* Deepest Navy */
    --bg-darker: #02070f;          /* Near Black */
    --bg-surface: #071526;         /* Trust Navy surface */
    --bg-charcoal: #0e1726;        /* High contrast surface */
    --bg-card: rgba(11, 25, 44, 0.7);
    --bg-card-hover: rgba(16, 37, 66, 0.9);
    
    --primary: #D6A84F;            /* Premium Gold */
    --primary-glow: rgba(214, 168, 79, 0.3);
    --primary-hover: #e5b860;
    
    --secondary: #38BDF8;          /* Technical Cyan accent */
    --secondary-glow: rgba(56, 189, 248, 0.2);
    
    --text-primary: #FFFFFF;
    --text-muted: #9CA3AF;
    --text-light: #E5E7EB;
    
    --border-color: rgba(255, 255, 255, 0.05);
    --border-glow: rgba(214, 168, 79, 0.2);
    --border-cyan: rgba(56, 189, 248, 0.25);
    
    --success: #22C55E;            /* Pass Green */
    --success-glow: rgba(34, 197, 94, 0.15);
    --warning: #F59E0B;            /* Monitor Amber */
    --warning-glow: rgba(245, 158, 11, 0.15);
    --danger: #EF4444;             /* Fault Red */
    --danger-glow: rgba(239, 68, 68, 0.15);
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 18px;
    
    --container-width: 1240px;
}

/* --- Global Elements & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Engineering Grid Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.007) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.007) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -10;
    pointer-events: none;
}

/* Atmospheric Digital Telemetry Orbs */
.glow-orb-1 {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(214, 168, 79, 0.03) 0%, transparent 60%);
    top: -200px;
    right: -200px;
    z-index: -5;
    pointer-events: none;
}

.glow-orb-2 {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.02) 0%, transparent 70%);
    top: 1200px;
    left: -200px;
    z-index: -5;
    pointer-events: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.01em;
}

p {
    color: var(--text-muted);
}

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

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

/* --- Interactive Navigation Header --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2, 7, 15, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

header.scrolled {
    background: var(--bg-darker);
    padding: 5px 0;
    box-shadow: 0 10px 30px rgba(2, 7, 15, 0.5);
    border-bottom: 1px solid rgba(214, 168, 79, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    font-family: var(--font-heading);
}

.logo span.highlight {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    display: block;
    margin-top: -3px;
}

.logo-icon-box {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--bg-charcoal), var(--bg-main));
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 28px;
}

nav ul a {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

nav ul a:hover, nav ul a.active {
    color: var(--primary);
}

nav ul a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

nav ul a:hover::after, nav ul a.active::after {
    width: 100%;
}

.nav-cta {
    background: rgba(214, 168, 79, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary) !important;
    padding: 10px 20px !important;
    border-radius: var(--radius-sm);
    font-weight: 700 !important;
}

.nav-cta:hover {
    background: var(--primary) !important;
    color: var(--bg-darker) !important;
    box-shadow: 0 0 15px var(--primary-glow);
}

.nav-cta::after {
    display: none !important;
}

/* --- Mobile Nav Toggle Button --- */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    padding: 170px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(214, 168, 79, 0.07);
    border: 1px solid var(--primary);
    border-radius: 4px;
    color: var(--primary);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 span.gold-text {
    background: linear-gradient(to right, var(--primary), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero p.lead {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 12px;
    font-weight: 500;
}

.hero p.supporting {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 580px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-darker);
    border: 1px solid var(--primary);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 168, 79, 0.5);
}

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

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

.btn-text {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
}

.btn-text:hover {
    color: white;
}

/* Hero Telemetry Overlay Panel */
.hero-visual-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.hero-visual-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.telemetry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.telemetry-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.telemetry-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--success);
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--success);
    animation: flash 1.5s infinite;
}

@keyframes flash {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

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

.telemetry-card {
    background: rgba(2, 7, 15, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 15px;
    text-align: left;
}

.telemetry-card.highlighted {
    border-color: rgba(214, 168, 79, 0.3);
    background: rgba(214, 168, 79, 0.02);
}

.telemetry-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}

.telemetry-val {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 700;
}

.telemetry-val span {
    font-size: 0.8rem;
    color: var(--primary);
    margin-left: 2px;
}

/* --- Section Styling --- */
section.dark-section {
    padding: 90px 0;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

section.normal-section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 55px;
}

.section-header h2 {
    font-size: 2.2rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: -0.01em;
}

.section-header h2 span {
    color: var(--primary);
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.section-header .tag {
    color: var(--primary);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

/* --- Problem Statement (Pass/Fail) --- */
.split-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.split-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
    position: relative;
}

.split-card.faulty {
    border-left: 4px solid var(--danger);
}

.split-card.oracle {
    border-left: 4px solid var(--primary);
    background: linear-gradient(135deg, rgba(214, 168, 79, 0.03) 0%, rgba(7, 21, 38, 0.7) 100%);
    box-shadow: 0 10px 30px rgba(214, 168, 79, 0.03);
}

.split-card h3 {
    font-size: 1.35rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.split-card.faulty h3 { color: var(--danger); }
.split-card.oracle h3 { color: var(--primary); }

.split-list {
    list-style: none;
}

.split-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.split-list li svg {
    flex-shrink: 0;
    margin-top: 4px;
}

.split-list.faulty-list li svg { color: var(--danger); }
.split-list.oracle-list li svg { color: var(--primary); }

/* --- What is NetBrake Oracle? --- */
.intro-box {
    background: var(--bg-charcoal);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 50px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.intro-tagline {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: white;
    font-weight: 700;
    margin: 25px 0;
    padding: 15px 0;
    border-top: 1px dashed var(--border-color);
    border-bottom: 1px dashed var(--border-color);
}

.intro-tagline span {
    color: var(--primary);
}

.intro-box p.body-text {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.05rem;
}

/* --- Data Sources (6 Cards Grid) --- */
.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.data-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 35px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.data-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px var(--primary-glow);
}

.data-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(214, 168, 79, 0.1) 0%, transparent 70%);
}

.data-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.data-card:hover .data-icon {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.data-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.data-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- Standard vs Oracle Comparison --- */
.table-container {
    width: 100%;
    overflow-x: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

table.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 600px;
}

table.comparison-table th {
    background-color: var(--bg-charcoal);
    padding: 20px 24px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-color);
}

table.comparison-table th.oracle-th {
    color: var(--primary);
    background: rgba(214, 168, 79, 0.03);
    border-left: 2px solid var(--primary);
}

table.comparison-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

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

table.comparison-table td.oracle-td {
    background: rgba(214, 168, 79, 0.01);
    border-left: 2px solid rgba(214, 168, 79, 0.2);
    font-weight: 500;
    color: white;
}

table.comparison-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.01);
}

table.comparison-table tr:hover td.oracle-td {
    background-color: rgba(214, 168, 79, 0.02);
}

/* --- Diagnostic Findings --- */
.findings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.finding-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
}

.finding-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
    box-shadow: 0 0 6px var(--primary-glow);
    flex-shrink: 0;
}

.finding-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
}

/* --- Service Workflow (Timeline) --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25px;
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-charcoal);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    z-index: 10;
}

.timeline-item:hover .timeline-icon {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
}

.timeline-content h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 0.9rem;
}

/* --- Industries & Dynamic Subpages --- */
.industry-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 50px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.industry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.industry-box.reverse .industry-grid {
    direction: rtl;
}

.industry-box.reverse .industry-grid > * {
    direction: ltr; /* Reset text direction */
}

.industry-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.industry-content .industry-sub {
    font-family: var(--font-mono);
    color: var(--secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    display: block;
}

.industry-content p {
    font-size: 0.98rem;
    margin-bottom: 24px;
}

.industry-content ul {
    list-style: none;
    margin-bottom: 30px;
}

.industry-content ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.industry-content ul li svg {
    color: var(--primary);
}

.industry-visual-card {
    background: rgba(2, 7, 15, 0.4);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
    text-align: center;
}

.industry-visual-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* --- Dynamic Simulator Calculator Block --- */
.calc-block {
    background: linear-gradient(180deg, rgba(7, 21, 38, 0.3) 0%, rgba(4, 13, 26, 0.8) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.calc-panel {
    background: var(--bg-charcoal);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
}

.calc-panel h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.calc-desc h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.calc-desc p {
    font-size: 0.98rem;
    margin-bottom: 24px;
}

.formula-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px dashed var(--border-color);
    padding: 20px;
    border-radius: var(--radius-sm);
}

.formula-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}

.formula-card code {
    font-family: var(--font-mono);
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
}

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

.form-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    background: rgba(2, 7, 15, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px;
    color: white;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.input-unit {
    position: absolute;
    right: 14px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-family: var(--font-mono);
}

.form-range {
    width: 100%;
    margin-top: 10px;
    accent-color: var(--primary);
    background: rgba(2, 7, 15, 0.8);
    height: 4px;
    border-radius: 2px;
}

.calc-display {
    background: rgba(2, 7, 15, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 24px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.calc-pct {
    font-family: var(--font-mono);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
    color: var(--primary);
}

.result-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.badge-pass {
    background: var(--success-glow);
    border: 1px solid var(--success);
    color: var(--success);
}

.badge-warn {
    background: var(--warning-glow);
    border: 1px solid var(--warning);
    color: var(--warning);
}

.badge-fail {
    background: var(--danger-glow);
    border: 1px solid var(--danger);
    color: var(--danger);
}

.calc-desc-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 380px;
}

/* --- Report Preview Page & Mockup --- */
.report-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.report-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.report-feature-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: var(--radius-sm);
}

.report-feature-item h4 {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.report-feature-item p {
    font-size: 0.8rem;
}

.report-preview-box {
    background: #02070f;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    overflow: hidden;
}

.report-preview-box::before {
    content: 'SAMPLE DIAGNOSTIC DOCUMENT';
    position: absolute;
    top: 25px;
    right: -55px;
    background-color: var(--primary);
    color: var(--bg-darker);
    font-size: 0.55rem;
    font-weight: 800;
    font-family: var(--font-heading);
    padding: 5px 60px;
    transform: rotate(45deg);
    letter-spacing: 0.05em;
}

.report-preview-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 18px;
}

.report-preview-logo {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.report-preview-logo span { color: var(--primary); }

.report-preview-meta {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.report-preview-graph {
    height: 120px;
    background: rgba(255,255,255,0.01);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 10px;
}

.report-graph-line {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    stroke: var(--primary);
    fill: none;
}

.report-preview-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.report-preview-stat {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: var(--radius-sm);
    text-align: center;
}

.report-stat-lbl {
    font-size: 0.55rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.report-stat-val {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    margin-top: 4px;
}

.report-stat-val.pass { color: var(--success); }

/* --- FAQ Accordion --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(214, 168, 79, 0.2);
}

.faq-item.active {
    border-color: var(--primary);
    background: var(--bg-charcoal);
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: white;
}

.faq-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-answer-content {
    padding: 0 24px 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Contact qualification & booking form --- */
.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    align-items: flex-start;
}

.contact-channels {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.channel-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 20px;
}

.channel-icon {
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.channel-info h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.channel-info p {
    font-size: 0.85rem;
}

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 45px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

textarea.form-input {
    min-height: 140px;
    resize: none;
}

.form-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 15px;
    line-height: 1.4;
}

/* Diagnostic Output Console */
.diag-console {
    background: #01060e;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    margin-top: 30px;
    overflow: hidden;
}

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

.console-title {
    color: var(--secondary);
    font-size: 0.7rem;
    font-weight: 700;
}

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

.console-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #555;
}

.console-dot.red { background-color: var(--danger); }
.console-dot.yellow { background-color: var(--warning); }
.console-dot.green { background-color: var(--success); }

.console-body {
    padding: 20px;
    max-height: 250px;
    overflow-y: auto;
    color: var(--secondary);
}

.console-line {
    margin-bottom: 6px;
}

.console-line.success { color: var(--success); }
.console-line.warn { color: var(--warning); }
.console-line.danger { color: var(--danger); }
.console-line.white { color: white; }

/* --- Modular Footer --- */
footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-about p {
    font-size: 0.9rem;
    margin-top: 15px;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 25px;
    color: var(--primary);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-col ul a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-col.footer-contact p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-disclaimer-text {
    max-width: 800px;
    line-height: 1.5;
}

/* --- Reveal-on-scroll Micro-animations --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Adaptations --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero-badge, .hero-ctas {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero p.supporting {
        margin-left: auto;
        margin-right: auto;
    }
    
    .split-card-grid, .calc-grid, .contact-layout, .report-layout, .industry-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .industry-box.reverse .industry-grid {
        direction: ltr;
    }
    
    .contact-channels {
        position: static;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-darker);
        border-top: 1px solid var(--border-color);
        padding: 50px 30px;
        transition: var(--transition);
        z-index: 1000;
        overflow-y: auto;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        width: 100%;
    }
    
    nav ul a {
        font-size: 1.1rem;
        width: 100%;
        display: block;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom > * {
        width: 100%;
    }
}
