:root {
    /* Colors */
    --bg-main: #0a0a0c;
    --bg-secondary: #111116;
    --accent-primary: #3b82f6; /* Modern Blue */
    --accent-secondary: #06b6d4; /* Cyan */
    --accent-glow: rgba(59, 130, 246, 0.5);
    
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-tertiary: #64748b;

    --border-color: rgba(255, 255, 255, 0.08);
    --card-bg: rgba(255, 255, 255, 0.02);
    --glass-bg: rgba(10, 10, 12, 0.7);
    --glass-blur: 20px;

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

/* -------------------------------------------------------------------------- */
/*                                    Reset                                   */
/* -------------------------------------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
ul { list-style: none; }

/* -------------------------------------------------------------------------- */
/*                                 Components                                 */
/* -------------------------------------------------------------------------- */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--accent-contrast);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover:not(.disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

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

.btn-outline:hover {
    border-color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title p, #release-status {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 500;
    max-width: 850px;
    margin: 0 auto;
    opacity: 0.85;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------------------------------------------- */
/*                                Breathing & Life                            */
/* -------------------------------------------------------------------------- */
.stardust {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.05) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 1.5px, transparent 1.5px),
        radial-gradient(circle at 40% 80%, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 400px 400px;
    animation: driftStars 60s linear infinite;
}

@keyframes driftStars {
    from { transform: translateY(0); }
    to { transform: translateY(-400px); }
}

.narrative-card, .info-card, .release-card, .bento-item {
    animation: breathingCard 10s ease-in-out infinite alternate;
}

@keyframes breathingCard {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-5px) scale(1.005); }
}

.hero h1 span {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 8s linear infinite;
}

@keyframes textShimmer {
    to { background-position: 200% center; }
}

/* -------------------------------------------------------------------------- */
/*                                Aurora Background                           */
/* -------------------------------------------------------------------------- */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background: #0a0a0c;
    overflow: hidden;
}

/* Shifting Transparency Layer */
.bg-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(225deg, var(--accent-primary) 0%, transparent 100%);
    z-index: 1;
    animation: transparencyShift 12s infinite alternate ease-in-out;
    mix-blend-mode: plus-lighter;
}

@keyframes transparencyShift {
    0% { opacity: 0.4; transform: scale(1) translate(0, 0); }
    50% { opacity: 0.8; transform: scale(1.2) translate(10%, 10%); }
    100% { opacity: 0.5; transform: scale(1) translate(0, 0); }
}

.bg-gradient::after {
    content: '';
    position: absolute;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, #7000ff 0%, transparent 70%);
    filter: blur(120px);
    opacity: 0.1;
    bottom: -20%;
    right: -20%;
    z-index: -1;
    animation: aurora 25s infinite alternate ease-in-out;
}

@keyframes aurora {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-10%, -10%) scale(1.3); }
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
}

#ambient-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(59, 130, 246, 0.05) 0%, transparent 40%);
    transition: background 0.1s ease;
}

/* -------------------------------------------------------------------------- */
/*                                   Navbar                                   */
/* -------------------------------------------------------------------------- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Lobster', cursive;
    font-weight: 400;
    font-size: 1.8rem;
    color: white;
    letter-spacing: 0.5px;
}

.logo img {
    height: 36px;
    width: 36px;
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-links a:not(.btn):hover {
    color: var(--text-primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: 0.3s;
}

/* -------------------------------------------------------------------------- */
/*                                    Hero                                    */
/* -------------------------------------------------------------------------- */
.hero {
    padding-top: calc(var(--header-height) + 6rem);
    padding-bottom: 4rem;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3.5rem;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-secondary);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.pill-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-secondary);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* -------------------------------------------------------------------------- */
/*                                Narrative Styles                            */
/* -------------------------------------------------------------------------- */
.narrative {
    padding: 6rem 0;
}

.narrative-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 4rem;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(30px);
    position: relative;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.card-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.narrative-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    letter-spacing: -1px;
}

.lead {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.accent-quote {
    border-left: 3px solid var(--accent-primary);
    padding: 2rem;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.05), transparent);
    margin: 3rem 0;
    font-size: 1.25rem;
    line-height: 1.6;
    color: #fff;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.comp-item {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.comp-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-primary);
    transform: translateY(-5px);
}

.comp-item .label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.comp-item strong {
    font-size: 1.1rem;
    color: #fff;
}

/* -------------------------------------------------------------------------- */
/*                                Tech Table                                  */
/* -------------------------------------------------------------------------- */
.tech-stack-section {
    padding: 6rem 0;
}

.tech-table-wrapper {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: 2rem;
}

.tech-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.tech-table th, .tech-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.tech-table th {
    background: rgba(255,255,255,0.02);
    color: var(--accent-primary);
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.tech-table tr:last-child td { border-bottom: none; }

/* -------------------------------------------------------------------------- */
/*                                Bottom Showcase                             */
/* -------------------------------------------------------------------------- */
.bottom-preview {
    padding: 6rem 0 10rem;
    text-align: center;
}

.image-showcase {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    transition: transform 0.1s ease-out;
}

.main-preview-img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 50px 100px rgba(0,0,0,0.8);
    position: relative;
    z-index: 2;
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: 1;
    opacity: 0.3;
}

/* -------------------------------------------------------------------------- */
/*                                Bento Grid                                  */
/* -------------------------------------------------------------------------- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 1.5rem;
}

.bento-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.bento-item:hover {
    border-color: var(--accent-primary);
    background: #1a1a20;
    transform: translateY(-5px);
}

.bento-item.large { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: center; }
.bento-item.wide { grid-column: span 2; }
.bento-item.tall { grid-row: span 2; }

.bento-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; }
.badge-new { font-size: 0.7rem; background: var(--accent-primary); color: white; padding: 0.2rem 0.6rem; border-radius: 20px; text-transform: uppercase; font-weight: 800; letter-spacing: 1px; }

.feature-icon { width: 48px; height: 48px; background: rgba(59, 130, 246, 0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--accent-primary); margin-bottom: 1.5rem; }

.bento-visual { margin-top: 2rem; height: 120px; display: flex; align-items: center; justify-content: center; position: relative; }

/* Node Graph Visual */
.node-graph { position: relative; width: 200px; height: 120px; }
.node { position: absolute; border-radius: 50%; background: var(--accent-primary); box-shadow: 0 0 15px var(--accent-glow); }
.node.central { width: 20px; height: 20px; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; }
.node.branch-1 { width: 10px; height: 10px; top: 20%; left: 20%; animation: pulse-node 2s infinite; }
.node.branch-2 { width: 12px; height: 12px; top: 30%; left: 80%; animation: pulse-node 2.5s infinite; }
.node.branch-3 { width: 8px; height: 8px; top: 80%; left: 50%; animation: pulse-node 3s infinite; }

.lines { width: 100%; height: 100%; stroke: var(--accent-primary); stroke-width: 1; opacity: 0.3; }

@keyframes pulse-node { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.3); opacity: 1; } }

/* Tool Strips */
.tool-strips { display: flex; flex-direction: column; gap: 2rem; }
.tool-strip-category { display: flex; align-items: center; gap: 2rem; padding: 1.25rem; background: rgba(255, 255, 255, 0.02); border-radius: var(--radius-md); border: 1px solid var(--border-color); }
.category-label { min-width: 130px; font-weight: 700; color: var(--accent-primary); display: flex; align-items: center; gap: 0.5rem; }
.tool-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.tool-tags span { background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.2); padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.85rem; color: var(--text-secondary); transition: all 0.3s; }
.tool-tags span:hover { background: var(--accent-primary); color: white; transform: translateY(-2px); }

/* -------------------------------------------------------------------------- */
/*                                  Releases                                  */
/* -------------------------------------------------------------------------- */
.releases {
    padding: 6rem 0;
}

.release-container {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.release-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.release-card:hover {
    border-color: var(--accent-primary);
    background: #1a1a20;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.release-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.version-badge {
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-primary);
    padding: 0.4rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.release-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.github-link {
    color: var(--text-tertiary);
    transition: color 0.2s;
}

.github-link:hover {
    color: white;
}

/* Markdown Styles for Release Body */
.markdown-body {
    font-size: 1.05rem;
    line-height: 1.8;
}

.markdown-body h1, .markdown-body h2, .markdown-body h3 {
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.markdown-body h2 { 
    font-size: 1.6rem; 
    border-bottom: 1px solid var(--border-color); 
    padding-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.markdown-body h2::before {
    content: '';
    width: 4px;
    height: 1.5rem;
    background: var(--accent-primary);
    border-radius: 4px;
}

.markdown-body h3 { font-size: 1.3rem; color: var(--accent-secondary); }

.markdown-body p { margin-bottom: 1.25rem; color: var(--text-secondary); }

.markdown-body ul, .markdown-body ol { 
    margin-left: 0;
    padding-left: 0;
    margin-bottom: 2rem; 
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.markdown-body li { 
    position: relative;
    padding-left: 1.75rem;
    color: var(--text-secondary);
}

.markdown-body li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 800;
    opacity: 0.7;
}

.markdown-body strong {
    color: var(--text-primary);
    font-weight: 600;
    background: rgba(255,255,255,0.05);
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
}

.markdown-body code {
    background: rgba(59, 130, 246, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-family: 'Fira Code', monospace;
    font-size: 0.9em;
    color: var(--accent-primary);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.markdown-body pre {
    background: #050507;
    padding: 1.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow-x: auto;
    margin: 2rem 0;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.5);
}

.markdown-body pre code {
    background: transparent;
    padding: 0;
    color: #cbd5e1;
    font-size: 0.9rem;
    border: none;
}

.markdown-body blockquote {
    border-left: 4px solid var(--accent-primary);
    padding: 1.5rem 2rem;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.05), transparent);
    margin: 2.5rem 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text-primary);
}

/* -------------------------------------------------------------------------- */
/*                               Documentation                                */
/* -------------------------------------------------------------------------- */
.docs {
    padding: 6rem 0;
}

.docs-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    align-items: start;
}

.docs-nav {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.docs-search-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.docs-search-wrapper input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    outline: none;
}

.docs-search-wrapper input:focus { border-color: var(--accent-primary); }

.docs-search-wrapper .search-icon {
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    color: var(--text-tertiary);
}

.docs-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.docs-nav a {
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.docs-nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.doc-block {
    margin-bottom: 5rem;
    scroll-margin-top: 120px;
}

.doc-block h3 {
    font-size: 2rem;
    font-family: var(--font-heading);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
}

.info-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.info-card h4 {
    color: var(--accent-primary);
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    font-family: var(--font-heading);
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.code-wrapper {
    position: relative;
}

.copy-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--text-secondary);
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s;
}

.code-wrapper:hover .copy-btn { opacity: 1; }
.copy-btn:hover { background: var(--accent-primary); color: white; }

/* -------------------------------------------------------------------------- */
/*                               System Status                                */
/* -------------------------------------------------------------------------- */
.system-status {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    border: 1px solid var(--border-color);
    z-index: 100;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.status-pulse {
    width: 8px;
    height: 8px;
    background: #27c93f;
    border-radius: 50%;
    box-shadow: 0 0 10px #27c93f;
    animation: pulse-online 2s infinite;
}

@keyframes pulse-online {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

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

/* -------------------------------------------------------------------------- */
/*                                Premium Glass                               */
/* -------------------------------------------------------------------------- */
.narrative-card, .info-card, .release-card, .bento-item, .docs-nav {
    position: relative;
}

.narrative-card::after, .info-card::after, .release-card::after, .bento-item::after, .docs-nav::after {
    content: '';
    position: absolute;
    inset: 0;
    filter: url(#glass-noise);
    pointer-events: none;
    border-radius: inherit;
    z-index: 1;
}

/* -------------------------------------------------------------------------- */
/*                                Tool Marquees                               */
/* -------------------------------------------------------------------------- */
.tool-strips {
    overflow: hidden;
    padding: 2rem 0;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.tool-tags {
    display: flex;
    width: max-content;
    gap: 1rem;
    animation: marquee 60s linear infinite;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.tool-tags span {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.tool-tags span:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* -------------------------------------------------------------------------- */
/*                                Tab Transitions                             */
/* -------------------------------------------------------------------------- */
.tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tab-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.nav-links a.tab-link.active { color: var(--text-primary); position: relative; }
.nav-links a.tab-link.active::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 100%; height: 2px; background: var(--accent-primary); border-radius: 2px; }

/* Footer */
footer { padding: 4rem 0; border-top: 1px solid var(--border-color); text-align: center; background: var(--bg-secondary); }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--text-secondary); }
.copyright { color: var(--text-tertiary); font-size: 0.9rem; }

/* Back to Top */
.back-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 50px; height: 50px; border-radius: 50%; background: var(--accent-primary); color: white; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 999; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.back-to-top.visible { opacity: 1; visibility: visible; }

@media (max-width: 900px) {
    .docs-wrapper { grid-template-columns: 1fr; }
    .docs-nav { position: static; display: flex; overflow-x: auto; gap: 1rem; }
}

@media (max-width: 768px) {
    .comparison-grid { grid-template-columns: 1fr; }
    .tool-strip-category { flex-direction: column; align-items: flex-start; }
    .hero h1 { font-size: 2.8rem; }
    .hero-subtext { font-size: 1.1rem; }
}
