/* ═══════════════════════════════════════════════════════════════════
   BORDER PROBE MESH — Landing Page Styles
   Dark military/tech theme with teal accents
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Design Tokens ──────────────────────────────────────────────── */
:root {
    --bg-primary: #0a0f0d;
    --bg-secondary: #111a16;
    --bg-card: #1a2620;
    --bg-card-hover: #1f2f28;

    --accent: #00d4aa;
    --accent-dark: #00b894;
    --accent-amber: #f39c12;
    --accent-red: #e74c3c;
    --accent-blue: #3498db;

    --text: #e8f0ed;
    --text-muted: #9ab0a6;
    --text-dim: #5a7a6d;

    --border: #2a3f34;
    --glow: rgba(0, 212, 170, 0.3);
    --glow-strong: rgba(0, 212, 170, 0.5);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'JetBrains Mono', 'Fira Code', monospace;

    --nav-h: 64px;
    --container: 1200px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
}

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-dark); }

.mono { font-family: var(--mono); font-size: 0.9em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }
.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Navigation ─────────────────────────────────────────────────── */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    transition: background 0.3s, box-shadow 0.3s;
}

#main-nav.nav--scrolled {
    background: rgba(10, 15, 13, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--border);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-decoration: none;
}

.nav-logo-icon { width: 28px; height: 28px; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.2rem;
}

.nav-links a {
    display: block;
    padding: 0.4rem 0.7rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
    background: rgba(0, 212, 170, 0.08);
}

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

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-muted);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ───────────────────────────────────────────────────────── */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/hero-forest.jpg') center/cover no-repeat;
    filter: brightness(0.3) saturate(0.6);
    transform: scale(1.05);
    transition: transform 0.1s linear;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 15, 13, 0.7) 0%,
        rgba(10, 15, 13, 0.4) 40%,
        rgba(10, 15, 13, 0.8) 100%
    );
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    margin-bottom: 2rem;
    background: rgba(26, 38, 32, 0.6);
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 1.2rem;
}

.hero-description {
    font-size: 0.95rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-cta {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--accent);
    color: var(--bg-primary);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    letter-spacing: 0.02em;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.hero-cta:hover {
    background: var(--accent-dark);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 170, 0.25);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dim);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    animation: float 3s ease-in-out infinite;
    z-index: 2;
}

.hero-scroll-indicator svg { width: 20px; height: 20px; }

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ─── Sections Common ────────────────────────────────────────────── */
.section {
    padding: 6rem 0;
}

.section--alt {
    background: var(--bg-secondary);
}

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

.section-header h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ─── Reveal Animations ──────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal[data-reveal="fade-right"] { transform: translateX(-30px); }
.reveal[data-reveal="fade-left"] { transform: translateX(30px); }
.reveal[data-reveal="scale"] { transform: scale(0.95); }

.reveal.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* ─── Overview ───────────────────────────────────────────────────── */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.overview-text h3 {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 0.8rem;
    margin-top: 2rem;
}

.overview-text h3:first-child { margin-top: 0; }

.overview-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 0.6rem;
}

.overview-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.overview-image-wrapper img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    filter: brightness(0.6) saturate(0.7);
}

.overview-image-overlay {
    position: absolute;
    inset: 0;
}

.probe-dot {
    position: absolute;
    width: 12px;
    height: 12px;
}

.probe-dot::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    z-index: 2;
}

.probe-pulse {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(4); opacity: 0; }
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 1.8rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--glow);
}

.stat-number {
    display: block;
    font-family: var(--mono);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.4rem;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* ─── Detection Pipeline ─────────────────────────────────────────── */
.pipeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 3rem;
    overflow-x: auto;
    padding: 2rem 0;
}

.pipeline-stage {
    flex: 0 0 auto;
    width: 150px;
    text-align: center;
    position: relative;
}

.pipeline-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pipeline-icon svg { width: 36px; height: 36px; }

.pipeline-icon--green { border-color: var(--accent); color: var(--accent); background: rgba(0, 212, 170, 0.08); }
.pipeline-icon--amber { border-color: var(--accent-amber); color: var(--accent-amber); background: rgba(243, 156, 18, 0.08); }
.pipeline-icon--blue { border-color: var(--accent-blue); color: var(--accent-blue); background: rgba(52, 152, 219, 0.08); }
.pipeline-icon--red { border-color: var(--accent-red); color: var(--accent-red); background: rgba(231, 76, 60, 0.08); }

.pipeline-stage:hover .pipeline-icon {
    transform: scale(1.08);
    box-shadow: 0 0 20px currentColor;
}

.pipeline-stage h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.pipeline-detail {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0.6rem;
}

.pipeline-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pipeline-badge--green { background: rgba(0, 212, 170, 0.12); color: var(--accent); }
.pipeline-badge--amber { background: rgba(243, 156, 18, 0.12); color: var(--accent-amber); }
.pipeline-badge--blue { background: rgba(52, 152, 219, 0.12); color: var(--accent-blue); }
.pipeline-badge--red { background: rgba(231, 76, 60, 0.12); color: var(--accent-red); }

.pipeline-arrow {
    flex: 0 0 auto;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
    color: var(--text-dim);
}

.pipeline-arrow svg { width: 60px; height: 24px; }

/* Branch */
.pipeline-branch {
    position: absolute;
    bottom: -70px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.branch-arrow {
    width: 24px;
    height: 40px;
    color: var(--accent);
}

.branch-label {
    font-size: 0.7rem;
    color: var(--accent);
    white-space: nowrap;
}

.branch-percent {
    font-weight: 700;
    font-family: var(--mono);
}

/* Pipeline summary */
.pipeline-summary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-top: 3rem;
}

.pipeline-summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    text-align: center;
}

.pipeline-summary-item .mono {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
}

.pipeline-summary-item span:last-child {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

/* ─── Hardware Gallery ───────────────────────────────────────────── */
.hw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hw-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.hw-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 24px var(--glow);
    transform: translateY(-4px);
}

.hw-card__image {
    height: 180px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.hw-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hw-card__fallback {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
}

.hw-card__fallback svg { width: 64px; height: 64px; }

.hw-card__image img[src=""],
.hw-card__image img:not([src]) {
    display: none;
}

.hw-card__image img[src=""]+.hw-card__fallback,
.hw-card__image img:not([src])+.hw-card__fallback {
    display: flex;
}

.hw-card__body {
    padding: 1.2rem;
}

.hw-card__body h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.hw-card__price {
    font-family: var(--mono);
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 0.6rem;
}

.hw-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
}

.tag {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    background: rgba(0, 212, 170, 0.08);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 4px;
    font-size: 0.68rem;
    color: var(--accent);
    font-family: var(--mono);
}

.hw-card__desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* HW Total */
.hw-total {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: 12px;
    box-shadow: 0 0 30px var(--glow);
}

.hw-total__label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hw-total__range {
    font-family: var(--mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.4rem;
}

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

/* ─── Technical Specs ────────────────────────────────────────────── */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.spec-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.spec-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--accent);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table th,
.spec-table td {
    padding: 0.5rem 0.6rem;
    text-align: left;
    font-size: 0.82rem;
    border-bottom: 1px solid var(--border);
}

.spec-table th {
    color: var(--text-dim);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
}

.spec-table td { color: var(--text-muted); }
.spec-table td.mono { color: var(--accent); }

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

/* Solar Chart */
.solar-chart { display: flex; flex-direction: column; gap: 1rem; }

.solar-row {
    display: grid;
    grid-template-columns: 100px 1fr 50px;
    align-items: center;
    gap: 0.8rem;
}

.solar-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: right;
}

.solar-bars {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.solar-bar {
    height: 22px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    font-size: 0.68rem;
    font-family: var(--mono);
    min-width: 60px;
}

.solar-bar span { white-space: nowrap; }

.solar-bar--production {
    background: linear-gradient(90deg, rgba(0, 212, 170, 0.3), rgba(0, 212, 170, 0.15));
    border: 1px solid rgba(0, 212, 170, 0.3);
    color: var(--accent);
}

.solar-bar--consumption {
    background: rgba(243, 156, 18, 0.15);
    border: 1px solid rgba(243, 156, 18, 0.25);
    color: var(--accent-amber);
    min-width: 40px;
}

.solar-margin {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--accent);
    font-weight: 600;
}

.spec-note {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--text-dim);
    font-style: italic;
}

/* Base Station */
.base-station {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.base-station h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.base-station__note {
    color: var(--text-dim);
    font-weight: 400;
    font-size: 0.85rem;
}

.base-station-grid {
    display: flex;
    flex-direction: column;
}

.base-item {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.base-item span:last-child {
    font-family: var(--mono);
    color: var(--accent);
}

.base-item--total {
    border-bottom: none;
    padding-top: 1rem;
    font-weight: 600;
    color: var(--text);
}

.base-item--total span:last-child { font-size: 1.1rem; }

/* ─── Network Topology ───────────────────────────────────────────── */
.network-diagram {
    margin-bottom: 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    overflow: hidden;
}

.topology-svg {
    width: 100%;
    height: auto;
    max-height: 420px;
}

.probe-ping {
    animation: ping 2.5s ease-in-out infinite;
}

.probe-node:nth-child(odd) .probe-ping { animation-delay: 0.5s; }
.probe-node:nth-child(even) .probe-ping { animation-delay: 1.2s; }

@keyframes ping {
    0%, 60%, 100% { r: 4; opacity: 1; }
    30% { r: 8; opacity: 0.4; }
}

.network-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.network-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.network-card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.network-card__icon svg { width: 28px; height: 28px; }

.network-card__icon--teal { background: rgba(0, 212, 170, 0.1); color: var(--accent); }
.network-card__icon--amber { background: rgba(243, 156, 18, 0.1); color: var(--accent-amber); }
.network-card__icon--blue { background: rgba(52, 152, 219, 0.1); color: var(--accent-blue); }

.network-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.network-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ─── Triangulation ──────────────────────────────────────────────── */
.triangulation-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: start;
}

.triangulation-diagram {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.triangulation-controls {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tri-btn {
    padding: 0.4rem 1rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-family: var(--font);
    font-size: 0.78rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.tri-btn.active {
    background: rgba(0, 212, 170, 0.1);
    border-color: var(--accent);
    color: var(--accent);
}

.tri-btn:hover:not(.active) {
    border-color: var(--text-dim);
    color: var(--text);
}

.triangulation-svg {
    width: 100%;
    height: auto;
}

.tri-ray { opacity: 0.8; }
.tri-zone-pulse { animation: zone-pulse 3s ease-in-out infinite; }

@keyframes zone-pulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.25; }
}

/* 1-probe mode transitions */
.triangulation-svg.one-probe .tri-probe--2,
.triangulation-svg.one-probe .tri-ray--2,
.triangulation-svg.one-probe .tri-fov--probe2,
.triangulation-svg.one-probe .tri-intersection,
.triangulation-svg.one-probe .tri-intersection-label {
    opacity: 0.1;
    transition: opacity 0.5s;
}

.triangulation-svg.one-probe .tri-direction-label { display: block !important; }
.triangulation-svg.one-probe .tri-intersection-label { display: none !important; }

/* Triangulation steps */
.triangulation-text { display: flex; flex-direction: column; gap: 1.5rem; }

.tri-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.tri-step__num {
    flex: 0 0 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.tri-step h4 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.tri-step p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ─── Partners ───────────────────────────────────────────────────── */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.partner-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.partner-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--glow);
}

.partner-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 212, 170, 0.08);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent);
    letter-spacing: 0.05em;
}

.partner-card h4 {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.partner-card p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ─── Compliance ─────────────────────────────────────────────────── */
.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.compliance-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    border-top: 3px solid;
    transition: transform 0.3s, box-shadow 0.3s;
}

.compliance-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.compliance-card--fra { border-top-color: var(--accent); }
.compliance-card--ai { border-top-color: var(--accent-blue); }
.compliance-card--gdpr { border-top-color: var(--accent-amber); }
.compliance-card--nis2 { border-top-color: var(--accent-red); }

.compliance-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 1rem;
}

.compliance-icon svg { width: 100%; height: 100%; }

.compliance-card--fra .compliance-icon { color: var(--accent); }
.compliance-card--ai .compliance-icon { color: var(--accent-blue); }
.compliance-card--gdpr .compliance-icon { color: var(--accent-amber); }
.compliance-card--nis2 .compliance-icon { color: var(--accent-red); }

.compliance-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
}

.compliance-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ─── Targets ────────────────────────────────────────────────────── */
.targets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.target-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem 1rem;
    text-align: center;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.target-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--glow);
}

.target-number {
    display: block;
    font-family: var(--mono);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.target-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Deliverables */
.deliverables {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
}

.deliverables h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.deliverables-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0.8rem;
}

.deliverable-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.6rem 0;
}

.deliverable-check {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.deliverable-item span:last-child {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ─── Footer ─────────────────────────────────────────────────────── */
#footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1.5rem;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--accent);
}

.footer-logo { width: 32px; height: 32px; }

.footer-brand-text {
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.footer-info p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-info strong { color: var(--text); }

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: flex-end;
    align-content: flex-start;
}

.footer-links a {
    font-size: 0.78rem;
    color: var(--text-dim);
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    text-align: center;
}

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

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .overview-grid { grid-template-columns: 1fr; gap: 2rem; }
    .triangulation-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-links { justify-content: flex-start; }
}

@media (max-width: 768px) {
    :root { --nav-h: 56px; }

    .nav-hamburger { display: flex; }

    .nav-links {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 15, 13, 0.95);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 2rem;
        gap: 0.5rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .nav-links.open { transform: translateX(0); }

    .nav-links a {
        font-size: 1rem;
        padding: 0.8rem;
    }

    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .network-cards { grid-template-columns: 1fr; }

    .pipeline {
        flex-direction: column;
        align-items: center;
    }

    .pipeline-arrow {
        transform: rotate(90deg);
        padding-top: 0;
        height: 40px;
        width: auto;
    }

    .pipeline-branch {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 0.5rem;
    }

    .branch-arrow { transform: rotate(0); height: 30px; }

    .pipeline-summary {
        flex-direction: column;
        gap: 1rem;
    }

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

    .section { padding: 4rem 0; }
    .section-header { margin-bottom: 2.5rem; }
}

@media (max-width: 480px) {
    .stats-row { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
    .stat-number { font-size: 1.2rem; }
    .hw-grid { grid-template-columns: 1fr; }
    .targets-grid { grid-template-columns: repeat(2, 1fr); }
    .deliverables-list { grid-template-columns: 1fr; }
    .specs-grid { grid-template-columns: 1fr; }
    .container { padding: 0 1rem; }
    .hero-badge { font-size: 0.65rem; padding: 0.3rem 0.8rem; }
}
