/* === CSS RESET & BASE === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-obsidian: #0a0a0a;
    --accent-green: #39ff14;
    --accent-green-soft: rgba(57, 255, 20, 0.15);
    --frosted-light: rgba(255, 255, 255, 0.08);
    --frosted-border: rgba(255, 255, 255, 0.18);
    --text-main: #f5f5f5;
    --text-muted: #f4f4f4;
    --danger: #ff3366;
    --glass-blur: 22px;
    --radius-xl: 24px;
    --radius-lg: 18px;
    --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.6);
    --transition-fast: 180ms ease-out;
    --transition-slow: 280ms ease-out;
    --grad-mesh:
        radial-gradient(circle at 10% 20%, rgba(57, 255, 20, 0.18), transparent 55%),
        radial-gradient(circle at 70% 80%, rgba(96, 165, 250, 0.12), transparent 55%),
        radial-gradient(circle at 90% 10%, rgba(244, 63, 94, 0.16), transparent 40%);
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    --font-mono: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

body {
    font-family: var(--font-sans);
    /* background: var(--bg-obsidian); */
    background-image: url("assets/prmace_background.png");
    background-size: cover;
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Mesh backdrop */
body::before {
    content: "";
    position: fixed;
    inset: -20%;
    background-image: var(--grad-mesh);
    opacity: 0.45;
    filter: blur(40px);
    z-index: -3;
}

/* Noise overlay */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='noStitch'/%3E%3CfeColorMatrix type='saturate' values='0'%3E%3C/feColorMatrix%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
    opacity: 0.35;
    z-index: -1;
}

main {
    position: relative;
    z-index: 1;
}

.page-shell {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 16px 72px;
}

@media (min-width: 768px) {
    .page-shell {
        padding: 40px 32px 96px;
    }
}

/* === BACKGROUND CANVAS === */
#forest-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    opacity: 0.25;
    pointer-events: none;
    filter: blur(0.6px);
}

/* === UTILITIES === */
.glass-card {
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.06), rgba(10, 10, 10, 0.9));
    border-radius: var(--radius-xl);
    border: 1px solid var(--frosted-border);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background-image: var(--grad-mesh);
    opacity: 0.12;
    filter: blur(35px);
    z-index: -1;
}

.subtle-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-green);
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.6);
}

.muted {
    color: var(--text-muted);
}

.pill {
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(16px);
}

.pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent-green);
    box-shadow: 0 0 12px rgba(57, 255, 20, 0.7);
}

/* === HEADER / NAV === */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}

.logo {
    width: 150px;
    height: auto;
    max-width: 100%;
}

.logo-mark {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text-main {
    font-weight: 600;
    font-size: 2rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

nav {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

nav a {
    text-decoration: none;
    color: inherit;
    position: relative;
    padding-bottom: 2px;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 1px;
    background: var(--accent-green);
    transition: width var(--transition-fast);
    box-shadow: 0 0 6px rgba(57, 255, 20, 0.7);
}

nav a:hover::after {
    width: 100%;
}

/* === HERO === */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    margin-bottom: 56px;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
    }
}

.hero-text {
    position: relative;
}

.hero-blur {
    position: absolute;
    inset: -30%;
    background: var(--grad-mesh);
    opacity: 0.18;
    filter: blur(50px);
    z-index: -1;
    pointer-events: none;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.18;
    font-weight: 600;
    margin-top: 12px;
    margin-bottom: 16px;
}

.hero-highlight {
    color: var(--accent-green);
    text-shadow: 0 0 16px rgba(57, 255, 20, 0.8);
}

.hero-typewriter {
    white-space: nowrap;
    border-right: 2px solid var(--accent-green);
    padding-right: 4px;
    margin-left: 4px;
    font-family: var(--font-mono);
    font-size: 0.9em;
}

.hero-subtitle {
    font-size: 0.98rem;
    max-width: 34rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* CTA button */
.btn-primary {
    border: none;
    background: radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.2), rgba(57, 255, 20, 0.1));
    color: var(--accent-green);
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: 1px solid rgba(148, 255, 183, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.9), 0 0 40px rgba(57, 255, 20, 0.5);
    position: relative;
    overflow: hidden;
    animation: breathing 2.4s ease-in-out infinite;
}

.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(57, 255, 20, 0.4), transparent, rgba(96, 165, 250, 0.2));
    opacity: 0;
    transform: translateX(-30%);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    mix-blend-mode: screen;
}

.btn-primary:hover::before {
    opacity: 1;
    transform: translateX(0%);
}

.btn-primary span.icon {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: 1px solid rgba(148, 255, 183, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    box-shadow: 0 0 8px rgba(57, 255, 20, 0.7);
}

/* Orbit */
.hero-right {
    min-height: 240px;
    position: relative;
}

.hero-orbit {
    position: relative;
    width: 100%;
    padding-top: 100%;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: radial-gradient(circle at 50% 0%, rgba(57, 255, 20, 0.25), rgba(15, 23, 42, 0.9));
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.4), inset 0 0 40px rgba(0, 0, 0, 0.9);
    overflow: hidden;
}

.hero-orbit-inner {
    position: absolute;
    inset: 12%;
    border-radius: inherit;
    border: 1px dashed rgba(148, 163, 184, 0.5);
    display: grid;
    place-items: center;
}

.hero-orbit-particle {
    position: absolute;
    width: auto;
    height: auto;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 12px rgba(57, 255, 20, 0.85);
    padding: 6px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #021;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 400ms ease-in-out;
    white-space: nowrap;
}

/* Particle positions */
.hero-orbit-particle:nth-child(1) {
    top: 15%;
    left: 20%;
}

.hero-orbit-particle:nth-child(2) {
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
}

.hero-orbit-particle:nth-child(3) {
    top: 15%;
    right: 20%;
}

.hero-orbit-particle:nth-child(4) {
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.hero-orbit-particle:nth-child(5) {
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
}

.hero-orbit-particle:nth-child(6) {
    bottom: 15%;
    left: 20%;
}

.hero-orbit-particle:nth-child(7) {
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
}

.hero-orbit-particle:nth-child(8) {
    bottom: 15%;
    right: 20%;
}

.hero-orbit-particle:nth-child(9) {
    top: 35%;
    left: 35%;
}

.hero-orbit-particle:nth-child(10) {
    top: 35%;
    right: 35%;
}

.hero-orbit-particle:nth-child(11) {
    bottom: 35%;
    left: 35%;
}

.hero-orbit-particle:nth-child(12) {
    bottom: 35%;
    right: 35%;
}

.hero-orbit-core {
    width: 38%;
    height: 38%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, #ffffff, var(--accent-green));
    box-shadow: 0 0 24px rgba(57, 255, 20, 0.9), 0 0 64px rgba(57, 255, 20, 0.6);
    position: relative;
    display: grid;
    place-items: center;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.hero-orbit-core span {
    font-size: 0.6rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    opacity: 0.92;
}

.hero-orbit-core strong {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-orbit-core::after {
    content: "";
    position: absolute;
    inset: 8%;
    border-radius: inherit;
    border: 2px solid rgba(0, 0, 0, 0.7);
    mix-blend-mode: soft-light;
}

/* === SECTION GENERAL === */
.section {
    margin-bottom: 64px;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 500;
}

.section-kicker {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* === PRMACE HEX GRID === */
.prmace-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}

@media (max-width: 960px) {
    .prmace-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.hex-layout {
    position: relative;
    padding: 22px 16px 20px;
}

.hex-layout-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    justify-items: center;
    align-items: center;
}

@media (max-width: 600px) {
    .hex-layout-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.hex-node {
    width: 120px;
    aspect-ratio: 1 / 1;
    clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0% 50%);
    background: radial-gradient(circle at 50% 0%, rgba(57, 255, 20, 0.20), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(148, 255, 183, 0.6);
    position: relative;
    padding: 16px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: transform var(--transition-slow), box-shadow var(--transition-slow), background var(--transition-slow), border-color var(--transition-fast);
    box-shadow: 0 0 0 rgba(57, 255, 20, 0);
    color: #e5e7eb;
}

.hex-node::before {
    content: "";
    position: absolute;
    inset: 10%;
    border-radius: 18px;
    border: 1px dashed rgba(148, 163, 184, 0.5);
    opacity: 0.4;
    pointer-events: none;
}

.hex-node-content {
    position: relative;
    z-index: 1;
}

.hex-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #e5e7eb;
}

.hex-icon {
    font-size: 1.4rem;
    margin-bottom: 6px;
    color: #e5e7eb;
}

/* Active/hover style */
.hex-node[data-active="true"],
.hex-node:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: var(--accent-green);
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.96), rgba(148, 163, 184, 0.22));
    box-shadow: 0 0 22px rgba(57, 255, 20, 0.9), 0 0 40px rgba(57, 255, 20, 0.35);
    color: #020617;
}

.hex-node[data-active="true"] .hex-label,
.hex-node:hover .hex-label,
.hex-node[data-active="true"] .hex-icon,
.hex-node:hover .hex-icon {
    color: #020617 !important;
}

.hex-node[data-center="true"] {
    width: 140px;
    aspect-ratio: 1 / 1;
    border-style: double;
    border-width: 2px;
}

.hex-node[data-center="true"] .hex-label {
    font-size: 0.7rem;
}

.hex-node[data-center="true"] .hex-icon {
    font-size: 1.2rem;
}

.prmace-info {
    padding: 20px 22px;
    margin-right: 20px;
    /* moves the entire box LEFT */
    border-radius: var(--radius-xl);
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.prmace-info-label {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.9);
    margin-bottom: 6px;
}

.prmace-info-name {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--accent-green);
}

.prmace-info-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.prmace-info-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.9;
}

/* === DASHBOARD === */
.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.dashboard-card {
    padding: 18px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), rgba(3, 7, 18, 0.98));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    display: grid;
    grid-template-columns: 0.9fr 1.4fr 1fr;
    gap: 12px;
}

@media (max-width: 900px) {
    .dashboard-card {
        grid-template-columns: minmax(0, 1fr);
    }
}

.dash-column {
    border-radius: 16px;
    padding: 10px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(55, 65, 81, 0.7);
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    overflow: hidden;
}

.dash-column::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.08), transparent);
    opacity: 0.3;
    pointer-events: none;
}

.dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 4px;
    z-index: 1;
}

.dash-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(148, 163, 184, 0.9);
}

.dash-badges {
    display: flex;
    gap: 4px;
}

.dash-badge {
    padding: 1px 6px;
    border-radius: 999px;
    border: 1px solid rgba(75, 85, 99, 0.9);
    font-size: 0.6rem;
    color: rgba(209, 213, 219, 0.9);
}

.dash-list {
    list-style: none;
    margin-top: 2px;
    max-height: 140px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dash-item {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    align-items: center;
    padding: 3px 4px;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.7);
}

.dash-chip {
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 0.58rem;
    background: rgba(17, 24, 39, 0.9);
    border: 1px solid rgba(55, 65, 81, 0.9);
}

.dash-pill-green {
    border-color: var(--accent-green);
    color: var(--accent-green);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.8);
}

.dash-stream {
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 140px;
    overflow: hidden;
}

.stream-line {
    display: flex;
    gap: 6px;
    align-items: baseline;
    padding: 2px 0;
}

.stream-role {
    font-size: 0.68rem;
    color: rgba(148, 163, 184, 0.9);
    min-width: 48px;
}

.stream-content {
    font-size: 0.78rem;
    color: rgba(229, 231, 235, 0.92);
}

.stream-content span {
    color: var(--accent-green);
}

.dash-logs {
    margin-top: 4px;
    font-size: 0.7rem;
    color: rgba(148, 163, 184, 0.9);
    max-height: 140px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dash-log-line {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.dash-log-line span {
    color: var(--accent-green);
}

.dashboard-caption {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* === BIO-SYNC === */
.bio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

@media (max-width: 800px) {
    .bio-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.bio-card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148, 163, 184, 0.6);
    padding: 18px 18px 16px;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.bio-tag {
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.bio-title {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.bio-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.bio-metric-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(209, 213, 219, 0.9);
}

.bio-metric {
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(55, 65, 81, 0.9);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.bio-metric .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent-green);
    box-shadow: 0 0 8px rgba(57, 255, 20, 0.7);
}

.bio-badge {
    position: absolute;
    right: 12px;
    top: 12px;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.95);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(209, 213, 219, 0.9);
}

.bio-badge-green {
    border-color: var(--accent-green);
    color: var(--accent-green);
    box-shadow: 0 0 14px rgba(57, 255, 20, 0.8);
}

/* === FOOTER === */
footer {
    position: relative;
    padding-top: 40px;
}

.root-visual {
    position: relative;
    height: 140px;
    margin-bottom: 16px;
    overflow: hidden;
}

.root-lines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(to top,
            rgba(57, 255, 20, 0.08) 0px,
            rgba(57, 255, 20, 0.12) 1px,
            transparent 1px,
            transparent 4px);
    mask-image: radial-gradient(circle at 50% 120%, rgba(0, 0, 0, 1), transparent 60%);
    opacity: 0.9;
    transform-origin: bottom center;
    animation: rootPulse 5s ease-in-out infinite;
}

.root-nodes {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    font-size: 0.75rem;
}

.root-node {
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.root-node span.dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--accent-green);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.9);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(31, 41, 55, 1);
    padding-top: 12px;
}

.footer-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    position: relative;
    padding-bottom: 1px;
}

.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: rgba(148, 163, 184, 0.9);
    transition: width var(--transition-fast);
}

.footer-links a:hover::after {
    width: 100%;
}

/* === ANIMATIONS === */
@keyframes breathing {
    0% {
        box-shadow: 0 0 12px rgba(57, 255, 20, 0.7), 0 0 28px rgba(57, 255, 20, 0.3);
        transform: translateY(0);
    }

    50% {
        box-shadow: 0 0 20px rgba(57, 255, 20, 1), 0 0 52px rgba(57, 255, 20, 0.8);
        transform: translateY(-1px);
    }

    100% {
        box-shadow: 0 0 12px rgba(57, 255, 20, 0.7), 0 0 28px rgba(57, 255, 20, 0.3);
        transform: translateY(0);
    }
}

@keyframes rootPulse {

    0%,
    100% {
        transform: scaleY(1);
        opacity: 0.8;
    }

    50% {
        transform: scaleY(1.2);
        opacity: 1;
    }
}

/* === SMALL SCREEN === */
@media (max-width: 480px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .dashboard-card {
        font-size: 0.72rem;
    }

    .hero-title {
        font-size: 1.9rem;
    }
}