/* Font Imports */
@font-face {
  font-family: 'Outfit';
  src: url('./fonts/Outfit-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SourceCodePro';
  src: url('./fonts/SourceCodePro-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SourceCodePro';
  src: url('./fonts/SourceCodePro-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
    --bg-color: #0a0a0a;
    --text-color: #e8e8e8;
    --primary-color: #00a8ff;
    --primary-rgb: 0, 168, 255;
    --card-bg-color: #1a1a1a;
    --border-color: #333;
    --glass-bg: rgba(15, 15, 15, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.03);
    --liquid-glass: rgba(255, 255, 255, 0.02);
    --glare-angle: 0deg;
    --glare-x: 50%;
    --glare-y: 50%;
}

body {
    font-family: 'Outfit', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 168, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 20, 147, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: var(--text-color);
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.005) 2px,
            rgba(255, 255, 255, 0.005) 4px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.005) 2px,
            rgba(255, 255, 255, 0.005) 4px
        );
    pointer-events: none;
    z-index: 1;
}

a {
  white-space: nowrap;
}

.container {
    max-width: 800px;
    width: 100%;
    background: var(--glass-bg);
    border-radius: 20px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 0 1px var(--glass-border),
        inset 0 1px 0 var(--glass-highlight);
    overflow: hidden;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    position: relative;
    z-index: 2;
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%);
    z-index: 1;
}

.container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.01) 0%, transparent 50%);
    pointer-events: none;
    border-radius: 20px;
}

header {
    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(255, 255, 255, 0.02) 100%);
    padding: 40px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at top, rgba(0, 168, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.profile-pic-wrapper {
    display: flex;
    justify-content: center;
}

.profile-pic-highlight {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
    padding: 3px;
    background:
        linear-gradient(135deg,
            rgba(var(--primary-rgb), 0.6) 0%,
            rgba(var(--primary-rgb), 0.2) 50%,
            rgba(255, 255, 255, 0.08) 100%);
    box-shadow:
        0 0 20px rgba(var(--primary-rgb), 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.3s ease;
    overflow: hidden;
    box-sizing: border-box;
    transform-style: preserve-3d;
    cursor: pointer;
}

.profile-pic-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background:
        conic-gradient(
            from var(--glare-angle, 0deg) at var(--glare-x, 50%) var(--glare-y, 50%),
            rgba(var(--primary-rgb), 0.4) 0deg,
            transparent 25deg,
            transparent 335deg,
            rgba(var(--primary-rgb), 0.4) 360deg
        );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.profile-pic-highlight:hover::before {
    opacity: 1;
}

.profile-pic-highlight:hover {
    box-shadow:
        0 0 30px rgba(var(--primary-rgb), 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 8px 25px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.profile-pic-highlight img {
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    border-radius: 50%;
    display: block;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    margin: 3px;
    position: relative;
    z-index: 1;
    box-shadow:
        inset 0 0 20px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    filter: contrast(1.05) saturate(1.1);
}

h1 {
    margin: 0;
    font-size: 2.5em;
    font-weight: 700;
    background: linear-gradient(135deg,
        rgba(var(--primary-rgb), 1) 0%,
        rgba(var(--primary-rgb), 0.8) 50%,
        rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    letter-spacing: -0.02em;
    position: relative;
}

h2 {
    margin: 5px 0 0;
    font-weight: 300;
    font-size: 1.2em;
    color: #bbb;
}

.main-content {
    padding: 40px 30px 30px;
    position: relative;
    z-index: 2;
}

.section {
    margin-bottom: 40px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section:hover {
    transform: translateY(-2px);
}

h3 {
    color: rgba(var(--primary-rgb), 0.9);
    border: none;
    padding-bottom: 8px;
    margin-bottom: 20px;
    margin-top: 0;
    font-weight: 600;
    font-size: 1.3em;
    position: relative;
    background: linear-gradient(135deg,
        rgba(var(--primary-rgb), 1) 0%,
        rgba(var(--primary-rgb), 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg,
        rgba(var(--primary-rgb), 0.8) 0%,
        rgba(var(--primary-rgb), 0.2) 100%);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.brand-text {
  font-family: 'SourceCodePro', Menlo, Consolas, "Courier New", monospace;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.section:hover h3::after {
    width: 120px;
}

p {
    line-height: 1.7;
    margin-bottom: 0;
    margin-top: 0;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

.skills ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
}

.skills li {
    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.06) 0%,
            rgba(255, 255, 255, 0.02) 50%,
            rgba(var(--primary-rgb), 0.02) 100%);
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.9em;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
}

.skill-descriptions {
    margin-top: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 0;
    opacity: 0;
    transform: translateY(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.2),
        0 0 0 1px rgba(var(--primary-rgb), 0.15);
    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.04) 0%,
            rgba(255, 255, 255, 0.01) 50%,
            rgba(var(--primary-rgb), 0.01) 100%);
}

.skill-descriptions.active {
    opacity: 1;
    transform: translateY(0);
}

.skill-description {
    width: 100%;
    padding: 16px;
    font-size: 0.85em;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    background: transparent;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.skill-description h4 {
    margin: 0 0 12px 0;
    padding: 0;
    font-size: 1.1em;
    font-weight: 600;
    color: rgba(var(--primary-rgb), 0.95);
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg,
        rgba(var(--primary-rgb), 1) 0%,
        rgba(var(--primary-rgb), 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skill-description h4 svg {
    width: 20px;
    height: 20px;
    color: rgba(var(--primary-rgb), 0.8);
    stroke-width: 2;
    flex-shrink: 0;
}

.skill-description .skill-meta {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    line-height: 1.4;
}

.skill-description .skill-content {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.skill-description.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.skills li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 50% 0%,
            rgba(var(--primary-rgb), 0.1) 0%,
            transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skills li::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 100%);
    transition: left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.skills li:hover {
    background:
        linear-gradient(135deg,
            rgba(var(--primary-rgb), 0.08) 0%,
            rgba(255, 255, 255, 0.04) 50%,
            rgba(var(--primary-rgb), 0.03) 100%);
    border-color: rgba(var(--primary-rgb), 0.2);
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 8px 25px rgba(var(--primary-rgb), 0.15),
        0 0 0 1px rgba(var(--primary-rgb), 0.1);
    color: rgba(255, 255, 255, 1);
}

.skills li.active {
    background:
        linear-gradient(135deg,
            rgba(var(--primary-rgb), 0.12) 0%,
            rgba(255, 255, 255, 0.06) 50%,
            rgba(var(--primary-rgb), 0.05) 100%);
    border-color: rgba(var(--primary-rgb), 0.3);
    color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow:
        0 6px 20px rgba(var(--primary-rgb), 0.2),
        0 0 0 1px rgba(var(--primary-rgb), 0.15);
}

.skills li:hover::before {
    opacity: 1;
}

.skills li:hover::after {
    left: 100%;
}

footer {
    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.03) 0%,
            rgba(255, 255, 255, 0.01) 100%);
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 100%);
}

a {
    color: rgba(var(--primary-rgb), 0.9);
    text-decoration: none;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: linear-gradient(135deg,
        rgba(var(--primary-rgb), 1) 0%,
        rgba(var(--primary-rgb), 0.8) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg,
        rgba(var(--primary-rgb), 0.8) 0%,
        rgba(var(--primary-rgb), 0.4) 100%);
    transition: width 0.3s ease;
}

/* Remove underline effect from image-only links */
a:has(img):not(:has(*:not(img)))::after {
    display: none;
}

a:hover {
    filter: brightness(1.1) saturate(120%);
}

a:hover::after {
    width: 100%;
}

/* Navigation Styles */
.main-navigation {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 40px);
    max-width: 800px;
}

.nav-container {
    background: var(--glass-bg);
    border-radius: 16px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px var(--glass-border),
        inset 0 1px 0 var(--glass-highlight);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%);
    border-radius: 16px 16px 0 0;
}

.nav-brand .brand-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1.1em;
    text-decoration: none;
    background: linear-gradient(135deg,
        rgba(var(--primary-rgb), 1) 0%,
        rgba(var(--primary-rgb), 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.nav-brand .brand-link::after {
    display: none;
}

.nav-brand .brand-link:hover {
    filter: brightness(1.2) saturate(120%);
    text-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3);
}

.nav-brand .brand-link svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    color: rgba(var(--primary-rgb), 0.9);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nav-brand .brand-link:hover svg {
    color: rgba(var(--primary-rgb), 1);
    filter: drop-shadow(0 0 12px rgba(var(--primary-rgb), 0.5));
}

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

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.nav-link::after {
    display: none;
}

.nav-link svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    color: currentColor;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
}

.nav-link.active {
    background: linear-gradient(135deg,
        rgba(var(--primary-rgb), 0.15) 0%,
        rgba(var(--primary-rgb), 0.08) 100%);
    border-color: rgba(var(--primary-rgb), 0.2);
    color: rgba(var(--primary-rgb), 1);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.2);
}

.nav-link.active svg {
    color: rgba(var(--primary-rgb), 0.9);
}

/* Adjust body padding to account for fixed navigation */
body {
    padding-top: 100px;
}

/* Mobile responsiveness for navigation */
@media (max-width: 768px) {
    .main-navigation {
        top: 10px;
        width: calc(100% - 20px);
    }
    
    .nav-container {
        padding: 10px 16px;
    }
    
    .nav-brand .brand-link {
        font-size: 1em;
    }
    
    .nav-link {
        padding: 6px 10px;
        font-size: 0.85em;
    }
    
    .nav-link span {
        display: none;
    }
    
    .nav-link svg {
        width: 20px;
        height: 20px;
    }
    
    body {
        padding-top: 100px;
    }
}

@media (max-width: 480px) {
    .main-navigation {
        top: 5px;
        width: calc(100% - 10px);
    }
    
    .nav-container {
        padding: 8px 12px;
    }
    
    body {
        padding-top: 60px;
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Tools Page Styles */
.tools-header-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tools-header-icon svg {
    color: rgba(var(--primary-rgb), 0.8);
    filter: drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.3));
}

/* Constellation Layout */
.constellation-container {
    position: relative;
    height: 500px;
    margin: 20px 0;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.02) 0%,
        rgba(var(--primary-rgb), 0.01) 50%,
        rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    overflow: hidden;
}

.connection-line {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

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


.tool-node {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 2;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tool-node.central {
    z-index: 3;
}

.node-core {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg,
        rgba(var(--primary-rgb), 0.15) 0%,
        rgba(var(--primary-rgb), 0.05) 100%);
    border: 2px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow:
        0 8px 32px rgba(var(--primary-rgb), 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-node.central .node-core {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg,
        rgba(var(--primary-rgb), 0.25) 0%,
        rgba(var(--primary-rgb), 0.1) 100%);
    border-color: rgba(var(--primary-rgb), 0.5);
    box-shadow:
        0 12px 40px rgba(var(--primary-rgb), 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.node-core::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%);
    border-radius: 50%;
}

.node-core svg {
    color: rgba(var(--primary-rgb), 0.9);
    z-index: 1;
    transition: all 0.3s ease;
}

.tool-node:hover .node-core {
    transform: scale(1.1);
    border-color: rgba(var(--primary-rgb), 0.6);
    box-shadow:
        0 12px 40px rgba(var(--primary-rgb), 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.tool-node:hover .node-core svg {
    color: rgba(var(--primary-rgb), 1);
    filter: drop-shadow(0 0 8px rgba(var(--primary-rgb), 0.5));
}

.tool-node.selected .node-core {
    border-color: rgba(var(--primary-rgb), 0.8);
    background: linear-gradient(135deg,
        rgba(var(--primary-rgb), 0.3) 0%,
        rgba(var(--primary-rgb), 0.15) 100%);
    box-shadow:
        0 12px 40px rgba(var(--primary-rgb), 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.tool-node.selected .node-core svg {
    color: rgba(var(--primary-rgb), 1);
    filter: drop-shadow(0 0 12px rgba(var(--primary-rgb), 0.6));
}

.node-label {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 3px;
    font-size: 0.95em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    white-space: nowrap;
    background: linear-gradient(135deg,
        rgba(var(--primary-rgb), 1) 0%,
        rgba(var(--primary-rgb), 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 10;
}

.node-details {
    position: absolute;
    margin-top: 26px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    font-size: 0.75em;
    z-index: 10;
}

.node-cost,
.node-type {
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.node-cost {
    background: linear-gradient(135deg,
        rgba(var(--primary-rgb), 0.1) 0%,
        rgba(var(--primary-rgb), 0.05) 100%);
    border-color: rgba(var(--primary-rgb), 0.2);
    color: rgba(var(--primary-rgb), 0.8);
}

/* Tool Details Panel */
.tool-details-panel {
    margin-top: 30px;
    padding: 24px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-height: 120px;
    overflow: hidden;
}

.panel-content {
    position: relative;
}

.tool-content {
    width: 100%;
    position: relative;
    min-height: 120px;
}

.panel-icon {
    position: absolute;
    left: -80px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.25;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.panel-icon svg {
    width: 180px;
    height: 180px;
    color: rgba(var(--primary-rgb), 0.4);
}

.panel-icon img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
}

.panel-text {
    position: relative;
    z-index: 2;
    width: 100%;
}

.panel-text h4 {
    margin: 0 0 12px 0;
    font-size: 1.2em;
    font-weight: 600;
    color: rgba(var(--primary-rgb), 0.9);
    background: linear-gradient(135deg,
        rgba(var(--primary-rgb), 1) 0%,
        rgba(var(--primary-rgb), 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.panel-text p {
    margin: 0 0 16px 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.tool-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tool-stats .stat-item {
    padding: 6px 12px;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 8px;
    font-size: 0.85em;
    color: rgba(var(--primary-rgb), 0.9);
}

/* Workflow Steps */
.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.workflow-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(5px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.workflow-step:hover {
    transform: translateX(8px);
    border-color: rgba(var(--primary-rgb), 0.2);
    background: linear-gradient(135deg,
        rgba(var(--primary-rgb), 0.05) 0%,
        rgba(255, 255, 255, 0.02) 100%);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg,
        rgba(var(--primary-rgb), 0.8) 0%,
        rgba(var(--primary-rgb), 0.6) 100%);
    border-radius: 50%;
    font-weight: 600;
    font-size: 1.1em;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.step-content h4 {
    margin: 0 0 8px 0;
    font-size: 1.1em;
    font-weight: 600;
    color: rgba(var(--primary-rgb), 0.9);
}

.step-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Insights Grid */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.insight-card {
    padding: 20px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(5px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
}

.insight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.insight-card.positive {
    border-color: rgba(34, 197, 94, 0.3);
}

.insight-card.positive:hover {
    background: linear-gradient(135deg,
        rgba(34, 197, 94, 0.08) 0%,
        rgba(34, 197, 94, 0.02) 100%);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.15);
}

.insight-card.neutral {
    border-color: rgba(251, 191, 36, 0.3);
}

.insight-card.neutral:hover {
    background: linear-gradient(135deg,
        rgba(251, 191, 36, 0.08) 0%,
        rgba(251, 191, 36, 0.02) 100%);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.15);
}

.insight-card.negative {
    border-color: rgba(239, 68, 68, 0.3);
}

.insight-card.negative:hover {
    background: linear-gradient(135deg,
        rgba(239, 68, 68, 0.08) 0%,
        rgba(239, 68, 68, 0.02) 100%);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.15);
}

.insight-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.insight-card.positive .insight-icon svg {
    color: rgba(34, 197, 94, 0.8);
}

.insight-card.neutral .insight-icon svg {
    color: rgba(251, 191, 36, 0.8);
}

.insight-card.negative .insight-icon svg {
    color: rgba(239, 68, 68, 0.8);
}

.insight-card h4 {
    margin: 0 0 8px 0;
    font-size: 1em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.insight-card p {
    margin: 0;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Mobile Responsiveness for Tools Page */
@media (max-width: 768px) {
    .constellation-container {
        height: 400px;
    }
    
    .tool-node .node-core {
        width: 50px;
        height: 50px;
    }
    
    .tool-node.central .node-core {
        width: 65px;
        height: 65px;
    }
    
    .tool-details-panel {
        padding: 20px;
    }
    
    .tool-content {
        min-height: 100px;
    }
    
    .panel-icon {
        left: -60px;
        width: 150px;
        height: 150px;
    }
    
    .panel-icon svg {
        width: 130px;
        height: 130px;
    }
    
    .panel-icon img {
        width: 130px;
        height: 130px;
    }
    
    .workflow-step {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .workflow-step:hover {
        transform: translateY(-2px);
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .constellation-container {
        height: 350px;
    }
    
    .tool-node .node-core {
        width: 40px;
        height: 40px;
    }
    
    .tool-node.central .node-core {
        width: 55px;
        height: 55px;
    }
    
    .tool-details-panel {
        padding: 16px;
        min-height: 100px;
    }
    
    .tool-content {
        min-height: 80px;
    }
    
    .panel-icon {
        left: -50px;
        width: 120px;
        height: 120px;
    }
    
    .panel-icon svg {
        width: 100px;
        height: 100px;
    }
    
    .panel-icon img {
        width: 100px;
        height: 100px;
    }
    
    .workflow-step {
        padding: 16px;
    }
    
    .insight-card {
        padding: 16px;
    }
}

/* 404 Page Styles */
.error-container {
    text-align: center;
    padding: 60px 40px 40px;
}

.error-code {
    font-size: 8rem;
    font-weight: 900;
    margin: 0;
    background: linear-gradient(135deg,
        rgba(var(--primary-rgb), 1) 0%,
        rgba(var(--primary-rgb), 0.6) 50%,
        rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.05em;
    text-shadow: 0 0 40px rgba(var(--primary-rgb), 0.3);
    position: relative;
}

.error-title {
    font-size: 2rem;
    font-weight: 600;
    margin: 20px 0 30px;
    color: rgba(255, 255, 255, 0.9);
}

.meme-section {
    position: relative;
    margin: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.meme-container {
    position: relative;
    max-width: 500px;
    width: 100%;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.meme-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    filter: contrast(1.1) saturate(1.2);
}

.meme-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    padding: 30px 20px 20px;
    color: white;
    text-align: center;
}

.meme-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    background: linear-gradient(135deg,
        rgba(var(--primary-rgb), 1) 0%,
        rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quote-section {
    margin: 50px 0 40px;
    padding: 40px 35px 35px;
    position: relative;
}

.quote-icon {
    position: absolute;
    width: 48px;
    height: 48px;
    color: rgba(var(--primary-rgb), 0.3);
    filter: drop-shadow(0 0 15px rgba(var(--primary-rgb), 0.15));
    z-index: 1;
}

.quote-icon.opening {
    top: 10px;
    left: 20px;
}

.quote-icon.closing {
    bottom: 10px;
    right: 20px;
    transform: rotate(180deg);
}

.quote-text {
    font-size: 1.4rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 25px;
    line-height: 1.7;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 2;
    text-wrap: balance;
    hyphens: none;
    word-break: keep-all;
    text-align-last: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.quote-author {
    font-size: 1.1rem;
    color: rgba(var(--primary-rgb), 0.9);
    text-align: right;
    margin-right: 50px;
    font-weight: 600;
    background: linear-gradient(135deg,
        rgba(var(--primary-rgb), 1) 0%,
        rgba(var(--primary-rgb), 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.quote-author::before {
    content: "— ";
    color: rgba(var(--primary-rgb), 0.6);
}

.navigation-help {
    margin: 40px 0;
}

.navigation-help p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.nav-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg,
        rgba(var(--primary-rgb), 0.15) 0%,
        rgba(var(--primary-rgb), 0.08) 100%);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 12px;
    color: rgba(var(--primary-rgb), 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.1);
}

.nav-button::after {
    display: none;
}

.nav-button:hover {
    background: linear-gradient(135deg,
        rgba(var(--primary-rgb), 0.25) 0%,
        rgba(var(--primary-rgb), 0.15) 100%);
    border-color: rgba(var(--primary-rgb), 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.2);
    color: rgba(var(--primary-rgb), 1);
}

.nav-button svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

/* Hidden quotes */
.quote-hidden {
    display: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .error-container {
        padding: 40px 20px 20px;
    }

    .error-code {
        font-size: 6rem;
    }

    .error-title {
        font-size: 1.5rem;
    }

    .meme-section {
        min-height: 250px;
        margin: 30px 0;
    }

    .meme-container {
        max-width: 400px;
    }

    .meme-text {
        font-size: 1rem;
    }

    .quote-section {
        margin: 30px 0;
        padding: 30px 25px 25px;
    }

    .quote-icon {
        width: 36px;
        height: 36px;
    }
    
    .quote-icon.opening {
        top: 8px;
        left: 15px;
    }

    .quote-icon.closing {
        bottom: 8px;
        right: 15px;
    }

    .quote-text {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .quote-author {
        font-size: 1rem;
    }

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

    .nav-button {
        width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .error-code {
        font-size: 4.5rem;
    }

    .error-title {
        font-size: 1.3rem;
    }

    .meme-container {
        max-width: 320px;
    }

    .quote-section {
        padding: 25px 20px 20px;
    }

    .quote-icon {
        width: 30px;
        height: 30px;
    }
    
    .quote-icon.opening {
        top: 6px;
        left: 12px;
    }

    .quote-icon.closing {
        bottom: 6px;
        right: 12px;
    }

    .quote-text {
        font-size: 1.1rem;
        margin-bottom: 18px;
        line-height: 1.6;
    }

    .quote-author {
        font-size: 0.95rem;
    }
}