/* --- 1. DESIGN SYSTEM --- */
:root {
    /* Palette */
    --bg: #050505;
    --bg-panel: #0A0A0A;
    --bg-panel-hover: #111111;

    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.15);

    --primary: #FFFFFF;
    /* White */
    --primary-dim: rgba(255, 255, 255, 0.1);
    --accent: #333333;
    /* Dark Grey */

    --text-main: #EDEDED;
    --text-muted: #888888;

    --success: #00FF41;
    --warning: #CCCCCC;

    /* Layout Specs */
    --nav-height: 72px;
    --container-width: 1800px;
    /* Wide layout for Laptops */
    --pad-mobile: 1.5rem;
    --pad-desktop: 4rem;

    /* Animation */
    --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

/* --- 2. RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    background: var(--bg);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Typography Engine */
h1,
h2,
h3,
h4,
.font-display {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.05em;
}

.text-xl {
    font-size: clamp(2.5rem, 5vw, 5rem);
}

.text-lg {
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.text-md {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.text-base {
    font-size: clamp(0.95rem, 1vw, 1.1rem);
    color: var(--text-muted);
}

.text-sm {
    font-size: 0.85rem;
}

.text-xs {
    font-size: 0.75rem;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-primary {
    color: var(--primary);
}

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

.text-center {
    text-align: center;
}

/* --- 3. LAYOUT UTILITIES --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    /* Responsive Padding Logic */
    padding-inline: max(var(--pad-mobile), 4vw);
}

.section-pad {
    padding-block: 5rem;
}

@media (min-width: 1024px) {
    .section-pad {
        padding-block: 8rem;
    }
}

.grid {
    display: grid;
    gap: 1.5rem;
}

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

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

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

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- 4. COMPONENTS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Ensure centered text */
    gap: 10px;
    padding: 14px 28px;
    background: var(--text-main);
    color: #000;
    border: 1px solid var(--text-main);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s var(--ease);
    text-decoration: none;
    min-width: 140px;
    /* Enforce minimum width for consistency */
}

.btn:hover {
    background: #00F3FF;
    /* Neon Cyan */
    color: #000000;
    border-color: #00F3FF;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 243, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
}

/* --- ANIMATIONS --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s var(--ease) forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glitch Effect for Text */
.glitch-text {
    position: relative;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
}

.glitch-text::before {
    left: 2px;
    text-shadow: -1px 0 #FFFFFF;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -1px 0 #888888;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(30px, 9999px, 10px, 0);
    }

    5% {
        clip: rect(80px, 9999px, 90px, 0);
    }

    10% {
        clip: rect(10px, 9999px, 40px, 0);
    }

    15% {
        clip: rect(50px, 9999px, 20px, 0);
    }

    20% {
        clip: rect(20px, 9999px, 60px, 0);
    }

    100% {
        clip: rect(60px, 9999px, 30px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(10px, 9999px, 80px, 0);
    }

    5% {
        clip: rect(40px, 9999px, 10px, 0);
    }

    10% {
        clip: rect(90px, 9999px, 30px, 0);
    }

    15% {
        clip: rect(20px, 9999px, 50px, 0);
    }

    20% {
        clip: rect(60px, 9999px, 10px, 0);
    }

    100% {
        clip: rect(30px, 9999px, 70px, 0);
    }
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    animation: blink 2s infinite;
}

@keyframes blink {
    50% {
        opacity: 0.4;
    }
}

/* --- 15. HERO ANIMATION & MAP --- */
#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.4;
}

/* Fix Service Card Links */
.card {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
    display: block;
}

.card:hover {
    color: inherit;
}

.card h3 {
    color: var(--text-main);
    transition: color 0.3s;
}

.card:hover h3 {
    color: var(--primary);
}

/* Accurate Map Styles */
.map-stage {
    position: relative;
    width: 100%;
    height: 500px;
    background: #0a0a0a;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.world-map {
    width: 100%;
    height: 100%;
    fill: #1a1a1a;
    stroke: #333;
    stroke-width: 0.5;
}

.pin {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transform: translate(-50%, -50%);
}

.pin-circle {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite;
}

.pin-text {
    font-family: 'JetBrains Mono';
    font-size: 0.7rem;
    color: var(--text-main);
    background: rgba(0, 0, 0, 0.7);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--border);
    white-space: nowrap;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 243, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 243, 255, 0);
    }
}

/* --- 5. NAVIGATION ENGINE --- */
.sys-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: 'Space Grotesk';
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Desktop Links */
.nav-links {
    display: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-item {
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
    text-decoration: none;
    /* Ensure no default underline */
}

.nav-item:hover,
.nav-item.active,
.footer-link:hover,
.footer-link.active {
    color: var(--primary);
}

/* Removed active underline as requested */

.burger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    cursor: pointer;
    z-index: 1100;
}

.burger span {
    width: 100%;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }

    .burger {
        display: none;
    }
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    padding-bottom: 0;
    /* Remove bottom padding */
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    overflow: hidden;
    /* Prevent full menu scroll */
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Scrollable container for navigation links */
.mobile-menu-links {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center links vertically when they don't overflow */
}

/* Status footer stays fixed at bottom */
.mobile-menu-footer {
    flex-shrink: 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    background: var(--bg);
    /* Ensure it has background */
}

.mob-link {
    font-family: 'Space Grotesk';
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
    transform: translateX(50px);
    opacity: 0;
    text-decoration: none;
    flex-shrink: 0;
    /* Prevent links from shrinking */
}

.mobile-menu.open .mob-link {
    transform: translateX(0);
    opacity: 1;
}

.mob-link:hover,
.mob-link.active {
    color: var(--primary);
    padding-left: 20px;
}

/* Stagger Delays */
.mobile-menu-links .mob-link:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu-links .mob-link:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-menu-links .mob-link:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-menu-links .mob-link:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-menu-links .mob-link:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-menu-links .mob-link:nth-child(6) {
    transition-delay: 0.35s;
}

.mobile-menu-links .mob-link:nth-child(7) {
    transition-delay: 0.4s;
}

.mobile-menu-links .mob-link:nth-child(8) {
    transition-delay: 0.45s;
}

/* --- 6. HERO & DATA --- */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--nav-height) + 2rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Data Grid Overlay */
.bg-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
}

/* Metrics Dashboard */
.metrics-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-val {
    font-family: 'JetBrains Mono';
    font-size: 1.25rem;
    color: var(--text-main);
    font-weight: 700;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- 7. CARDS (Hover & Interaction) --- */
.card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    padding: 2rem;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background: var(--primary);
    transition: 0.4s var(--ease);
}

.card:hover {
    border-color: var(--border-light);
    transform: translateY(-5px);
    background: var(--bg-panel-hover);
}

.card:hover::before {
    height: 100%;
}

.card-stat-row {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-family: 'JetBrains Mono';
    font-size: 0.8rem;
}

/* --- 8. GLOBAL OPS (Map + Console) --- */
.ops-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    background: var(--bg-panel);
    border: 1px solid var(--border);
}

@media (min-width: 1024px) {
    .ops-wrapper {
        grid-template-columns: 2fr 1fr;
    }
}

.map-stage {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: #020202;
}

@media (min-width: 768px) {
    .map-stage {
        height: 550px;
    }
}

.console {
    background: #080808;
    border-left: 1px solid var(--border);
    padding: 1.5rem;
    font-family: 'JetBrains Mono';
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.log-entry {
    margin-bottom: 8px;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 4px;
}

.log-ts {
    color: var(--primary);
    margin-right: 8px;
}

/* Pins */
.pin {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.pin-circle {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary);
}

.pin-text {
    font-family: 'JetBrains Mono';
    font-size: 0.75rem;
    color: var(--text-main);
    background: rgba(0, 0, 0, 0.7);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--border);
    opacity: 0.6;
    transition: 0.3s;
}

.pin:hover .pin-text {
    opacity: 1;
    border-color: var(--primary);
}

/* --- 9. PAGE TRANSITIONS --- */
.view-container {
    position: relative;
    min-height: 100vh;
}

.view {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.view.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* --- 10. FORMS --- */
.input-field {
    width: 100%;
    background: #0F0F0F;
    border: 1px solid var(--border);
    padding: 1rem;
    color: #fff;
    font-family: 'Inter';
    margin-bottom: 1rem;
    transition: 0.3s;
}

/* --- 11. TOAST NOTIFICATIONS --- */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.toast {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    color: var(--text-main);
    font-family: 'JetBrains Mono';
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    opacity: 0;
    transition: 0.3s var(--ease);
    display: flex;
    align-items: center;
    gap: 1rem;
    pointer-events: all;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.error {
    border-left-color: #ff4444;
}

.toast.success {
    border-left-color: var(--success);
}

.input-field:focus {
    outline: none;
    border-color: var(--primary);
}

/* --- 11. NEWS & UPDATES --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.news-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    transition: 0.3s var(--ease);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.news-img-wrapper {
    height: 200px;
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.news-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #111, #222);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-family: 'JetBrains Mono';
    font-size: 0.8rem;
}

.news-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-family: 'JetBrains Mono';
    font-size: 0.7rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.news-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.7rem;
    padding: 2px 8px;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-muted);
}

/* --- 12. TECH SPECS TABLES --- */
.tech-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    font-family: 'JetBrains Mono';
    font-size: 0.9rem;
}

.tech-table th,
.tech-table td {
    text-align: left;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.tech-table th {
    color: var(--primary);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.tech-table td {
    color: var(--text-muted);
}

.tech-table tr:hover td {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.02);
}

/* Responsive table wrapper for mobile devices */
.tech-table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .tech-table {
        min-width: 600px;
        /* Ensures table doesn't compress too much */
        font-size: 0.75rem;
        /* Slightly smaller on mobile */
    }

    .tech-table th,
    .tech-table td {
        padding: 0.75rem 0.5rem;
        /* Reduce padding on mobile */
    }
}

/* --- 13. EXPANDED CONTENT --- */
.content-block {
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border);
}

.content-block:last-child {
    border-bottom: none;
}

.block-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.block-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 900px;
    margin-bottom: 2rem;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    border-left: 2px solid var(--primary);
    padding-left: 1.5rem;
}

.feature-item h4 {
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- 14. NEWS MODAL --- */
.news-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
}

.news-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.news-modal-content {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 3rem;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.close-btn:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
}

.modal-header {
    display: flex;
    gap: 1rem;
    font-family: 'JetBrains Mono';
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.modal-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.modal-img-placeholder {
    width: 100%;
    height: 400px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono';
}

.modal-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.modal-body p {
    margin-bottom: 1.5rem;
}

.modal-tags {
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

/* --- GLOBAL INTERACTIVITY --- */

/* Standard Links */
a:not(.btn):not(.nav-item):not(.mob-link):not(.logo):not(.card):not(.close-btn) {
    transition: all 0.3s var(--ease);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

a:not(.btn):not(.nav-item):not(.mob-link):not(.logo):not(.card):not(.close-btn):hover {
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary-dim);
    border-bottom-color: var(--primary);
}

/* Important Text Highlights */
strong,
b,
em,
.text-primary,
.highlight-text {
    transition: all 0.3s var(--ease);
    cursor: default;
}

strong:hover,
b:hover,
em:hover,
.text-primary:hover,
.highlight-text:hover {
    color: var(--primary);
    text-shadow: 0 0 12px rgba(0, 243, 255, 0.6);
    transform: scale(1.02);
    /* Subtle pop */
    display: inline-block;
    /* Required for transform */
}

/* --- ABOUT PAGE IMAGE HOVER EFFECTS --- */
.founder-profile-image:hover {
    filter: grayscale(100%);
}

.about-social-image:hover {
    filter: invert(1);
}
