/* DOPAMINA — V16.0 SYSTEM STYLES */

:root {
    --bg: #F4F4F6;
    --ink: #111111;
    --muted: #888888;
    --glass: rgba(255, 255, 255, 0.90);
    --border: 1px solid rgba(0, 0, 0, 0.06);
    --blur: blur(30px);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.03);

    --font-mono: "SF Mono", "Menlo", monospace;
    --font-sans: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
    --ease: cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    box-sizing: border-box;
}

body.info-body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-sans);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.noise-overlay {
    position: fixed;
    inset: 0;
    opacity: 0.035;
    pointer-events: none;
    z-index: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- NAV V16 --- */
.glass-nav-fixed {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1000px;
    height: 50px;
    background: var(--glass);
    backdrop-filter: var(--blur);
    border: var(--border);
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px;
    z-index: 100;
    font-family: var(--font-mono);
    font-size: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

/* LEFT: BRAND IDENTITY */
.nav-left {
    display: flex;
    align-items: center;
    width: 140px;
}

.brand-identity {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--ink);
    padding-left: 4px;
}

.nav-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.brand-name {
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: 11px;
}

/* CENTER: SLIDER NAV */
.nav-center {
    position: relative;
    display: flex;
    gap: 2px;
    background: rgba(0, 0, 0, 0.04);
    padding: 4px;
    border-radius: 100px;
}

.nav-glider {
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    background: #fff;
    border-radius: 100px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1;
    pointer-events: none;
    width: 0;
}

.nav-link {
    position: relative;
    z-index: 2;
    text-decoration: none;
    color: var(--muted);
    padding: 6px 14px;
    border-radius: 100px;
    transition: color 0.2s;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
}

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

/* RIGHT: WIDGETS */
.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 140px;
    padding-right: 10px;
    color: var(--muted);
    gap: 8px;
}

/* --- LAYOUT --- */
.dashboard-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 92%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 100px 0 40px;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.module-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    border: var(--border);
    overflow: hidden;
    transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
    transform-style: preserve-3d;
    flex: 1;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.module-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.module-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 24px 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.module-header h2 {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.05em;
    color: var(--muted);
}

/* HARDWARE */
.split-layout {
    display: grid;
    grid-template-columns: 40% 60%;
    height: 100%;
}

.tech-panel {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    background: #FAFAFC;
    border-right: 1px solid rgba(0, 0, 0, 0.04);
}

.tech-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 5px;
    letter-spacing: 0.05em;
}

.tech-val {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.fit-panel {
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.size-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-mono);
    font-size: 12px;
}

.size-table th {
    text-align: left;
    color: var(--muted);
    padding-bottom: 14px;
    font-size: 10px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.size-table td {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    color: var(--ink);
    font-weight: 600;
}

.size-badge {
    background: var(--ink);
    color: #fff;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px;
    margin-right: 10px;
}

/* PROTOCOL */
.protocol-layout {
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.step-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    position: relative;
}

.step-timeline::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: #F0F0F2;
    z-index: 0;
}

.timeline-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    flex: 1;
}

.step-number {
    font-family: var(--font-mono);
    font-size: 11px;
    color: #fff;
    background: var(--ink);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 4px #fff;
}

.step-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.step-desc {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.4;
    max-width: 160px;
    margin: 0 auto;
}

.shipping-widget {
    background: #F2F8F4;
    border: 1px solid rgba(52, 199, 89, 0.15);
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ship-icon {
    font-size: 20px;
    margin-right: 16px;
}

.ship-info {
    display: flex;
    flex-direction: column;
}

.ship-title {
    font-size: 12px;
    font-weight: 700;
    color: #107036;
    margin-bottom: 2px;
}

.ship-desc {
    font-size: 11px;
    color: #107036;
    opacity: 0.7;
}

.ship-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    color: #107036;
    background: #fff;
    padding: 4px 10px;
    border-radius: 100px;
    border: 1px solid rgba(52, 199, 89, 0.2);
}

.ship-dot {
    width: 6px;
    height: 6px;
    background: #34C759;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

/* X-RAY & FOOTER */
.xray-layer {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 1;
}

.xray-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.xray-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.module-card:hover .xray-layer {
    opacity: 1;
}

.module-card:hover .tech-panel,
.module-card:hover .fit-panel,
.module-card:hover .protocol-layout {
    opacity: 0;
    transition: opacity 0.2s;
}

.module-card:hover .module-header {
    position: relative;
    z-index: 10;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.module-card:hover .module-header h2 {
    color: #fff;
}

.micro-footer {
    display: flex;
    justify-content: space-between;
    padding: 24px 20px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--muted);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: auto;
}

.f-link {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 2px;
    transition: all 0.2s;
}

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

@media (max-width: 900px) {
    .glass-nav-fixed {
        width: 94%;
        top: 15px;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .tech-panel {
        padding: 24px;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .step-timeline::after {
        display: none;
    }
}

@media (max-width: 600px) {
    .dashboard-container {
        padding-top: 80px;
        gap: 16px;
        width: 94%;
    }

    .step-timeline {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
        margin-left: 10px;
        border-left: 2px solid #F0F0F2;
        padding-left: 24px;
    }

    .timeline-step {
        flex-direction: row;
        text-align: left;
        width: 100%;
        align-items: flex-start;
    }

    .nav-center {
        display: none;
    }
}

.js-anim {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s var(--ease);
}

.js-anim.in-view {
    opacity: 1;
    transform: translateY(0);
}