/* CSS Design System for PowerCom v2 - Editorial/Blueprint Aesthetic */
/* Inspired by allgoodstudio.com, Coinbase, and Impeccable Design principles */

:root {
    --bg: #fdfdfb;               /* Off-white paper background */
    --bg-dark: #0d0e12;          /* Deep carbon blueprint black */
    --ink: #0f1115;              /* Dark slate primary text */
    --ink-secondary: #5a5851;    /* Muted slate-olive secondary text */
    --ink-tertiary: #8c8980;     /* Muted disabled gray */
    --line: rgba(15, 17, 21, 0.08); /* Hairline division lines */
    
    --accent: #10b981;           /* Emerald green — represents safety/safety loop active */
    --accent-blue: #38bdf8;      /* Sky blue — represents technology & Odoo databases */
    --accent-amber: #f59e0b;     /* Amber — represents solar energy */
    --accent-soft: rgba(16, 185, 129, 0.08);
    
    --font-heading: 'Onest', sans-serif;
    --font-serif: 'Instrument Serif', serif;
    --font-body: 'Onest', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg);
    color: var(--ink);
}

body {
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Accessibility skip link */
.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 10000;
    background: var(--ink);
    color: var(--bg);
    padding: 12px 24px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: top 0.25s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.skip-link:focus {
    top: 16px;
    outline: 2px solid var(--accent);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Page Grain overlay (Allgood Studio tactile-paper feeling) */
.paper-grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.06;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/></svg>");
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(253, 253, 251, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.logo-serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    font-size: 1.55rem;
    margin-left: 2px;
}

/* Uptime indicator pill in header */
.nav-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--ink-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: transparent;
    border: 1px solid var(--line);
    padding: 5px 12px;
    border-radius: 4px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulse-active 2s infinite;
}

@keyframes pulse-active {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: var(--ink-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.nav-btn {
    background-color: var(--ink);
    color: var(--bg);
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 17, 21, 0.15);
}

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

/* Floating Circular Badge (Allgood Studio style) */
.spin-badge {
    position: absolute;
    top: 135px;
    left: 45px;
    width: 130px;
    height: 130px;
    pointer-events: none;
    z-index: 2;
}

.spin-badge-ring {
    width: 100%;
    height: 100%;
    animation: spin-loop 24s linear infinite;
}

@keyframes spin-loop {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin-badge-ring svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.spin-badge-ring text {
    font-family: var(--font-mono);
    font-size: 7.2px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    fill: var(--ink);
    opacity: 0.6;
}

.spin-badge-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.1rem;
    color: var(--accent);
}

/* Hero Grid Layout */
.hero-container-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: transparent;
    color: var(--ink-secondary);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid var(--line);
    margin-bottom: 24px;
}

.badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent);
    display: inline-block;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--ink);
    margin-bottom: 24px;
}

.serif-title {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.5px;
    color: var(--ink-secondary);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--ink-secondary);
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 35px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 99px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.btn-primary {
    background-color: var(--ink);
    color: var(--bg);
    padding: 16px 32px;
    gap: 12px;
    box-shadow: 0 10px 24px -8px rgba(15, 17, 21, 0.3);
}

.btn-primary .arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -8px rgba(15, 17, 21, 0.4);
}

.btn-primary:hover .arrow {
    transform: translateX(3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
    padding: 15px 30px;
}

.btn-secondary:hover {
    background-color: rgba(15, 17, 21, 0.02);
    border-color: var(--ink);
    transform: translateY(-2px);
}

/* Telemetry Dashboard Visual (Minimalist Blueprint/Paper Aesthetic) */
.telemetry-dashboard {
    background-color: #f9f9f6;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 16px 40px rgba(15, 17, 21, 0.04);
    border: 1px solid var(--line);
}

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

.dash-title {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: 1px;
}

.dash-uptime {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 6px;
}

.dash-uptime::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent);
    animation: pulse-active 2s infinite;
}

.dash-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.dash-card {
    background-color: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(15, 17, 21, 0.02);
}

.dash-card-label {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    color: var(--ink-secondary);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.dash-card-val {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
    color: var(--ink);
}

.text-amber { color: var(--accent-amber); }
.text-green { color: var(--accent); }
.text-blue { color: var(--accent-blue); }
.text-emerald { color: #10b981; }

.dash-card-sub {
    font-size: 0.65rem;
    color: var(--ink-secondary);
    margin-bottom: 10px;
}

.bar-chart {
    height: 4px;
    background-color: rgba(15, 17, 21, 0.05);
    border-radius: 2px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 2px;
}

.bg-amber { background-color: var(--accent-amber); }
.bg-green { background-color: var(--accent); }
.bg-blue { background-color: var(--accent-blue); }
.bg-emerald { background-color: #10b981; }

/* Console Logs */
.dash-console {
    background-color: #f3f3f0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--ink-secondary);
}

.c-amber { color: #d97706; }
.c-blue { color: #0284c7; }
.c-emerald { color: #059669; }

.blink {
    animation: blink-anim 1.2s infinite steps(2, start);
}

@keyframes blink-anim {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Solutions Section (Split Sticky Scroll Layout) */
.solutions-split {
    border-top: 1px solid var(--line);
    background-color: #fcfcf9;
}

.split-grid {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 60px;
    align-items: start;
}

.split-left {
    position: sticky;
    top: 75px;
    height: calc(100vh - 75px);
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.sticky-wrapper {
    width: 100%;
}

.section-indicator {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--ink-secondary);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.split-heading {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.split-desc {
    font-size: 1rem;
    color: var(--ink-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.progress-track {
    width: 150px;
    height: 1px;
    background-color: var(--line);
    position: relative;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 60px;
    background-color: var(--ink);
}

/* Scrolling Right Panels (Editorial table design rather than card-in-card AI Slop) */
.split-right {
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.solution-panel {
    border-bottom: 1px solid var(--line);
    padding-bottom: 60px;
}

.solution-panel:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sol-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.sol-icon-box {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--bg);
    border: 1px solid var(--line);
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.sol-icon-svg {
    width: 34px;
    height: 34px;
    color: var(--accent-amber);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sol-icon-svg.svg-blue {
    color: var(--accent-blue);
}

.sol-icon-svg.svg-emerald {
    color: #10b981;
}

/* Hover effects */
.solution-panel:hover .sol-icon-box {
    transform: scale(1.08);
    border-color: var(--ink);
    box-shadow: 0 6px 16px rgba(15, 17, 21, 0.06);
}

.solution-panel:hover .sol-icon-svg {
    transform: rotate(5deg);
}

.sol-num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 2.2rem;
    color: var(--accent);
    line-height: 1;
}

.sol-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.sol-desc {
    font-size: 1rem;
    color: var(--ink-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.spec-table-v2 {
    width: 100%;
    border-top: 1px solid var(--line);
}

.spec-row-v2 {
    display: grid;
    grid-template-columns: 180px 1fr;
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
    font-size: 0.88rem;
    align-items: start;
}

.spec-row-v2:last-child {
    border-bottom: none;
}

.spec-label-v2 {
    font-weight: 600;
    color: var(--ink);
}

.spec-val-v2 {
    color: var(--ink-secondary);
    line-height: 1.5;
}

/* Telemetry Architecture Section */
.telemetry-specs {
    padding: 120px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background-color: var(--bg);
}

.section-heading-centered {
    text-align: center;
    margin-bottom: 70px;
}

.sec-title-centered {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.sec-subtitle-centered {
    font-size: 1.1rem;
    color: var(--ink-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feature-card {
    background-color: #fdfdfb;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.05);
    border-color: var(--ink);
}

.f-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.f-card-desc {
    font-size: 0.95rem;
    color: var(--ink-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
}

.terminal-box-v2 {
    background-color: #f3f3f0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--ink-secondary);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.log-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed var(--line);
    padding-bottom: 8px;
    font-weight: 700;
}

.log-title-text {
    color: var(--ink);
    letter-spacing: 0.5px;
}

.log-id {
    color: var(--ink-tertiary);
}

.log-rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.log-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.log-key {
    color: var(--ink-secondary);
}

.log-val {
    font-weight: 700;
    color: var(--ink);
}

.terminal-box-v2 .text-green {
    color: #15803d;
}

.terminal-box-v2 .text-amber {
    color: #b45309;
}

.text-red { color: #e11d48; }

/* Advantages Section */
.advantages {
    padding: 120px 0;
    background-color: #fcfcf9;
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.advantages-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.advantages-desc {
    font-size: 1.1rem;
    color: var(--ink-secondary);
    line-height: 1.6;
    margin-bottom: 35px;
}

.advantages-right {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.adv-list-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.adv-icon {
    width: 24px;
    height: 24px;
    background-color: var(--accent-soft);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.adv-item-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.adv-item-desc {
    font-size: 0.95rem;
    color: var(--ink-secondary);
    line-height: 1.6;
}

/* Contact Section */
.contact-v2 {
    padding: 120px 0;
    border-top: 1px solid var(--line);
    background-color: var(--bg);
}

.contact-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.contact-h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.contact-p {
    font-size: 1.1rem;
    color: var(--ink-secondary);
    line-height: 1.6;
    margin-bottom: 45px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.info-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ink-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-val {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Audit Form */
.audit-form {
    background-color: #fdfdfb;
    border: 1px solid var(--line);
    padding: 40px;
    border-radius: 16px;
}

.form-row {
    margin-bottom: 24px;
}

.form-row:last-child {
    margin-bottom: 0;
}

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

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

.form-field input, .form-field select, .form-field textarea {
    background-color: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 12px 16px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    border-color: var(--ink);
}

.submit-btn-v2 {
    background-color: var(--ink);
    color: var(--bg);
    border: none;
    padding: 16px;
    border-radius: 99px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn-v2:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -8px rgba(15, 17, 21, 0.3);
}

/* Footer */
.footer-v2 {
    background-color: var(--bg);
    padding: 45px 0;
    border-top: 1px solid var(--line);
    color: var(--ink-secondary);
    font-size: 0.85rem;
}

.footer-grid-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-meta-text {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile bottom nav defaults (hidden on desktop) */
.mobile-bottom-nav {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-container-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .spin-badge {
        display: none;
    }

    .split-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .split-left {
        position: static;
        height: auto;
        padding: 40px 0 0 0;
    }

    .progress-track {
        display: none; /* Hide progress line on mobile/tablet */
    }

    .split-right {
        padding: 40px 0;
        gap: 80px;
    }

    .feature-cards-grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid-v2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .nav-status {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .contact-h2 {
        font-size: 2.2rem;
    }

    /* Prevent iOS viewport zoom on form input focus */
    .form-field input, .form-field select, .form-field textarea {
        font-size: 16px !important;
    }

    .audit-form {
        padding: 24px;
    }
    
    .footer-v2 {
        padding-bottom: 95px; /* Clear space for floating bottom nav */
    }

    .footer-grid-v2 {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    /* Floating Mobile bottom nav bar (Allgood Studio style) */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 24px;
        left: 20px;
        right: 20px;
        background-color: rgba(253, 253, 251, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid var(--line);
        border-radius: 99px;
        padding: 8px 16px;
        box-shadow: 0 10px 30px rgba(15, 17, 21, 0.1);
        z-index: 1000;
        justify-content: space-around;
        align-items: center;
    }

    .mob-nav-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: var(--ink-secondary);
        font-size: 0.65rem;
        font-weight: 500;
        gap: 4px;
        flex: 1;
        transition: color 0.2s ease;
    }

    .mob-nav-link svg {
        width: 20px;
        height: 20px;
    }

    .mob-nav-link:hover, .mob-nav-link:focus {
        color: var(--ink);
    }

    .mob-nav-btn {
        color: var(--accent);
        font-weight: 600;
    }
}

@media (max-width: 580px) {
    /* Stack tables and metrics on very narrow screens */
    .spec-row-v2 {
        grid-template-columns: 1fr;
        gap: 6px;
    }

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

    .container {
        padding: 0 20px;
    }
}
