:root {
    --color-bg-deep: #050A14;
    --color-bg-dark: #0A1120;
    --color-gold-primary: #D4AF37;
    --color-gold-light: #F2D06B;
    --color-gold-dark: #8A6E18;
    --color-text-main: #F0F0F0;
    --color-text-muted: #A0A5B0;
    --color-accent-blue: #1E3A8A;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --transition-speed: 0.3s;
    --singularity-speed: 10s;
    --singularity-intensity: 1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg-deep);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Transmission Scanlines */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
        linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 9999;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
    opacity: 0.3;
}

/* Global Circuit Background */
.ambient-glow {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(30, 58, 138, 0.07) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

/* Typography */
h1,
h2,
h3,
h4,
.logo-text {
    font-family: var(--font-heading);
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) ease;
}

/* Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(5, 10, 20, 0.95), transparent);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.main-header.scrolled {
    position: fixed;
    padding: 1rem 4rem;
    background: rgba(5, 10, 20, 0.98);
    backdrop-filter: blur(10px);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-gold-primary);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-gold-primary);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.main-logo {
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.4));
    transition: transform 0.3s ease;
}

.logo-container:hover .main-logo {
    transform: scale(1.1) rotate(5deg);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--color-text-main);
}

.main-nav a:hover {
    color: var(--color-gold-light);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-selector {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    padding: 2px 4px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px 8px;
    letter-spacing: 1px;
    border-radius: 8px;
}

.lang-btn:hover {
    color: var(--color-gold-primary);
}

.lang-btn.active {
    color: var(--color-bg-deep);
    background: var(--color-gold-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.lang-divider {
    width: 1px;
    height: 10px;
    background: rgba(212, 175, 55, 0.2);
    margin: 0 2px;
}

.search-btn {
    background: none;
    border: none;
    color: var(--color-text-main);
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform var(--transition-speed);
}

.search-btn:hover {
    color: var(--color-gold-primary);
    transform: scale(1.1);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4rem;
    overflow: hidden;
    background-color: #02040a;
}

#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        /* Deep Vignette */
        radial-gradient(circle at center, transparent 20%, rgba(5, 10, 20, 0.9) 100%),
        /* Light Source from Right */
        radial-gradient(circle at 70% 50%, rgba(30, 58, 138, 0.2), transparent 60%),
        /* Bottom Fade */
        linear-gradient(to top, var(--color-bg-deep) 0%, transparent 40%);
    z-index: 1;
    pointer-events: none;
}

/* High-Tech Grid Overlay */
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(circle at center, black, transparent 90%);
    z-index: 2;
    pointer-events: none;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    width: 100%;
    /* Remove the fixed 40% padding-right to be more flexible */
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-gold-primary);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hero-title .highlight-text {
    color: #F8F1D1;
    /* Lighter gold/white */
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    position: relative;
    display: inline-block;
}

.hero-title .highlight-text::before,
.hero-title .highlight-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.hero-title .highlight-text::before {
    color: #0ff;
    z-index: -1;
    animation: glitch 3s infinite;
}

.hero-title .highlight-text::after {
    color: #f0f;
    z-index: -2;
    animation: glitch 2s infinite reverse;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-main);
    margin-bottom: 2.5rem;
    max-width: 600px;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 2px solid var(--color-accent-blue);
    background: linear-gradient(90deg, rgba(30, 58, 138, 0.4), rgba(5, 10, 20, 0.6));
    color: #fff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    border-radius: 50px;
    box-shadow: 0 0 15px rgba(30, 58, 138, 0.5), inset 0 0 10px rgba(30, 58, 138, 0.3);
    backdrop-filter: blur(5px);
    transition: all 0.4s ease;
    text-transform: uppercase;
    animation: ctaPulse 3s infinite ease-in-out;
}

@keyframes ctaPulse {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(30, 58, 138, 0.5);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 30px rgba(30, 58, 138, 0.8);
        transform: scale(1.05);
    }
}

.cta-button:hover {
    background: linear-gradient(90deg, rgba(30, 58, 138, 0.8), rgba(60, 100, 180, 0.8));
    box-shadow: 0 0 25px rgba(60, 100, 250, 0.6), inset 0 0 15px rgba(60, 100, 250, 0.4);
    border-color: #4A7AFF;
    transform: translateY(-2px);
    animation: none;
}

/* Features Section */
.features-section {
    padding: 5rem 4rem;
    background-color: var(--color-bg-deep);
    border-top: 2px solid var(--color-gold-dark);
    position: relative;
    z-index: 20;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
    background: rgba(10, 17, 32, 0.4);
    border-radius: 8px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(212, 175, 55, 0.3), transparent 30%);
    animation: rotateBorder 6s linear infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before {
    opacity: 1;
}

@keyframes rotateBorder {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.1);
    border-color: var(--color-gold-primary);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-icon-wrapper {
    transform: rotateY(360deg);
}

.feature-icon {
    width: 60%;
    height: 60%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
    animation: floatIcon 4s infinite ease-in-out;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.feature-title {
    font-size: 1.3rem;
    color: var(--color-gold-light);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more-btn {
    display: inline-block;
    padding: 0.6rem 1.8rem;
    border: 1px solid var(--color-gold-dark);
    color: var(--color-text-main);
    font-size: 0.8rem;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.read-more-btn:hover {
    background: var(--color-gold-primary);
    color: var(--color-bg-deep);
    border-color: var(--color-gold-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Footer (Minimal) */
.main-footer {
    padding: 2rem 4rem;
    background-color: var(--color-bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    margin-right: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.footer-links a:hover {
    color: var(--color-gold-primary);
}

.social-icons a {
    color: var(--color-text-muted);
    /* Gold circles in original? Let's use clean icons first */
    margin-left: 1rem;
    font-size: 1.2rem;
    display: inline-block;
}

.social-icons a:hover {
    color: var(--color-gold-primary);
}

/* Content Sections */
.content-section {
    padding: 8rem 4rem;
    background-color: var(--color-bg-deep);
    position: relative;
}

.content-section.alternate {
    background-color: var(--color-bg-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-gold-primary);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--color-gold-primary);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 4rem;
    align-items: center;
}

.text-block p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--color-text-main);
    opacity: 0.9;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: rgba(30, 58, 138, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Genesis Visual - The Geometric Seed */
.genesis-visual {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 80%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.genesis-seed {
    width: 80px;
    height: 120px;
    background: linear-gradient(135deg, var(--color-gold-primary), var(--color-gold-dark));
    border-radius: 4px;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.6);
    position: relative;
    animation: seedFloat 6s infinite ease-in-out;
    transform-style: preserve-3d;
}

.genesis-seed::before {
    content: '';
    position: absolute;
    inset: -10px;
    border: 1px solid var(--color-gold-light);
    opacity: 0.3;
    animation: seedOrbit 10s infinite linear;
}

.genesis-seed::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold-primary), transparent);
    top: 50%;
    left: -50%;
    animation: scanLine 4s infinite ease-in-out;
}

.genesis-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: var(--color-gold-light);
    border-radius: 50%;
    opacity: 0.5;
    animation: particleDrift 8s infinite linear;
}

@keyframes seedFloat {

    0%,
    100% {
        transform: translateY(0) rotateY(0deg);
    }

    50% {
        transform: translateY(-20px) rotateY(180deg);
    }
}

@keyframes seedOrbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes scanLine {
    0% {
        top: 0%;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

@keyframes particleDrift {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        transform: translate(var(--x, 50px), var(--y, 50px)) scale(0);
        opacity: 0;
    }
}

/* Gnosis Visual - Canvas Matrix */
.gnosis-visual {
    width: 100%;
    height: 100%;
    background: black;
    position: relative;
    overflow: hidden;
}

#matrixCanvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Singularidad Visual - Digital Vortex */
.singularidad-visual {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    position: relative;
    background: black;
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.4), inset 0 0 40px rgba(30, 58, 138, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotateSingularity 20s linear infinite;
}

.singularidad-visual::before,
.singularidad-visual::after {
    content: '';
    position: absolute;
    width: 110%;
    height: 110%;
    border: 1px solid var(--color-gold-primary);
    border-radius: 48% 52% 50% 50% / 50% 50% 50% 50%;
    animation: warpSingularity 8s linear infinite;
}

.singularidad-visual::after {
    border-color: var(--color-accent-blue);
    animation-duration: 5s;
    animation-delay: -2s;
}

.singularity-core {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 40px 10px white, 0 0 100px 30px var(--color-gold-primary);
    z-index: 5;
    animation: corePulse 2s ease-in-out infinite alternate;
}

@keyframes rotateSingularity {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes warpSingularity {
    0% {
        transform: rotate(0deg) scale(1);
        border-radius: 48% 52% 50% 50% / 50% 50% 50% 50%;
    }

    50% {
        transform: rotate(180deg) scale(1.1);
        border-radius: 52% 48% 55% 45% / 45% 55% 45% 55%;
    }

    100% {
        transform: rotate(360deg) scale(1);
        border-radius: 48% 52% 50% 50% / 50% 50% 50% 50%;
    }
}

@keyframes corePulse {
    from {
        transform: scale(0.8);
        box-shadow: 0 0 30px 5px white, 0 0 80px 20px var(--color-gold-primary);
    }

    to {
        transform: scale(1.2);
        box-shadow: 0 0 50px 15px white, 0 0 120px 40px var(--color-gold-primary);
    }
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
    animation: pulseGlow 8s infinite alternate;
}

.glow-effect.reverse {
    background: radial-gradient(circle, rgba(30, 58, 138, 0.15) 0%, transparent 60%);
    animation: pulseGlow 6s infinite alternate-reverse;
}

@keyframes pulseGlow {
    from {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }

    to {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.protocol-list {
    list-style: none;
    margin-top: 2rem;
}

.protocol-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-gold-light);
    font-weight: 500;
}

.protocol-list i {
    color: var(--color-gold-primary);
    font-size: 0.9rem;
}

.hero-quote {
    text-align: center;
    max-width: 800px;
    margin: 4rem auto;
    padding: 3rem;
    border-left: 2px solid var(--color-gold-primary);
    border-right: 2px solid var(--color-gold-primary);
    background: rgba(255, 255, 255, 0.02);
}

.hero-quote blockquote {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--color-text-main);
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.quote-author {
    font-size: 0.9rem;
    color: var(--color-gold-primary);
    letter-spacing: 2px;
    font-weight: 600;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.feature-item {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-gold-primary);
    transform: translateY(-10px);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--color-gold-primary);
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    margin-bottom: 1rem;
    color: var(--color-gold-light);
}

/* Responsive Updates */
@media (max-width: 768px) {
    .main-header {
        padding: 1rem 2rem;
    }

    .main-nav {
        display: none;
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        height: auto;
        padding-bottom: 4rem;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .features-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-quote blockquote {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Protocolo Apeiron Section Styles */
.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 4rem;
    font-style: italic;
    letter-spacing: 0.5px;
}

.apeiron-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
    align-items: start;
}

/* Markov Blanket Visualization */
.markov-blanket-container {
    background: rgba(10, 17, 32, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.markov-blanket {
    width: 100%;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.internal-states {
    width: 120px;
    height: 120px;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid var(--color-gold-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    animation: corePulseApeiron 3s ease-in-out infinite alternate;
}

.internal-states .label {
    font-size: 0.6rem;
    color: var(--color-gold-light);
    margin-bottom: 5px;
}

.core-logic {
    font-family: var(--font-heading);
    font-weight: bold;
    color: #fff;
    letter-spacing: 2px;
}

.sensory-boundary {
    position: absolute;
    width: 220px;
    height: 220px;
    border: 1px dashed rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    animation: rotateSingularity 30s linear infinite;
}

.sensory-boundary::before {
    content: 'INTERFACE SENSORIAL';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.5rem;
    color: var(--color-gold-primary);
    letter-spacing: 1px;
}

.external-world {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(30, 58, 138, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 10px;
    font-size: 0.7rem;
    color: var(--color-accent-blue);
    letter-spacing: 2px;
}

.blanket-info h3 {
    color: var(--color-gold-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.blanket-info p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Memory Tetrafunctional */
.memory-tetrafunctional h3 {
    margin-bottom: 2rem;
    color: var(--color-gold-light);
    font-size: 1.4rem;
    border-left: 3px solid var(--color-gold-primary);
    padding-left: 1rem;
}

.memory-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.memory-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.memory-item:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
}

.memory-item i {
    font-size: 1.5rem;
    color: var(--color-gold-primary);
    margin-bottom: 1rem;
}

.memory-item h4 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.memory-item p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Darwin-Gödel Machine */
.darwin-godel-machine {
    background: linear-gradient(135deg, rgba(10, 17, 32, 0.8), rgba(5, 10, 20, 0.9));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 4rem;
    margin-bottom: 5rem;
    text-align: center;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.machine-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.machine-header i {
    font-size: 2rem;
    color: var(--color-gold-primary);
    animation: rotateSingularity 10s linear infinite;
}

.machine-header h3 {
    font-size: 1.8rem;
    color: var(--color-gold-primary);
    letter-spacing: 3px;
}

.machine-cycle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cycle-step {
    padding: 1rem 2rem;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid var(--color-gold-dark);
    border-radius: 5px;
    font-family: var(--font-heading);
    color: var(--color-gold-light);
    transition: all 0.3s ease;
    cursor: default;
}

.cycle-step:hover {
    background: var(--color-gold-primary);
    color: var(--color-bg-deep);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.machine-cycle i {
    color: var(--color-gold-dark);
}

.machine-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 800px;
    margin: 0 auto;
}

/* Axiomas de Seguridad */
.axiomas-seguridad {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.axiomas-seguridad h3 {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--color-gold-primary);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.axiomas-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.axioma {
    background: rgba(30, 58, 138, 0.1);
    border-left: 4px solid var(--color-accent-blue);
    padding: 1.5rem;
    border-radius: 0 10px 10px 0;
}

.axioma strong {
    color: var(--color-gold-light);
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.quote-box {
    background: rgba(212, 175, 55, 0.05);
    border: 1px dashed var(--color-gold-primary);
    padding: 3rem;
    border-radius: 20px;
    position: relative;
}

.quote-box p {
    font-style: italic;
    font-size: 1.2rem;
    color: #fff;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.quote-box::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 8rem;
    color: rgba(212, 175, 55, 0.1);
    font-family: serif;
    line-height: 1;
}

@keyframes corePulseApeiron {
    from {
        transform: scale(0.95);
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    }

    to {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
    }
}

/* Responsive */
/* Markov Nodes */
.node {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px currentColor;
}

.action-node {
    color: var(--color-gold-primary);
    background-color: var(--color-gold-primary);
    animation: nodePulse 2s infinite alternate;
}

.perception-node {
    color: var(--color-accent-blue);
    background-color: var(--color-accent-blue);
    animation: nodePulse 2s infinite alternate-reverse;
}

@keyframes nodePulse {
    from {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }

    to {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 1;
    }
}

/* Cycle Step Active State */
.active-step {
    background: var(--color-gold-primary) !important;
    color: var(--color-bg-deep) !important;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
    transform: scale(1.1);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-gold-primary);
    color: var(--color-bg-deep);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-gold-light);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

.back-to-top i {
    font-size: 1.2rem;
}

/* Gnosis Section Enhancements */
.gnosis-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.gnosis-visual-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

.overlay-binary {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(5, 10, 20, 0.8);
    padding: 1rem 2rem;
    border: 1px solid var(--color-gold-primary);
    color: var(--color-gold-primary);
    font-family: 'Courier New', monospace;
    font-weight: bold;
    letter-spacing: 3px;
    z-index: 10;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    pointer-events: none;
    animation: coreFlicker 4s infinite;
}

@keyframes coreFlicker {

    0%,
    100% {
        opacity: 1;
        text-shadow: 0 0 10px var(--color-gold-primary);
    }

    50% {
        opacity: 0.7;
        text-shadow: 0 0 5px var(--color-gold-primary);
    }

    55% {
        opacity: 1;
    }

    57% {
        opacity: 0.8;
    }
}

.transformation-box {
    background: rgba(10, 17, 32, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.side-by-side {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}


.side {
    flex: 1;
    padding: 1.5rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.side:hover {
    background: rgba(255, 255, 255, 0.05);
}

.side h4 {
    color: var(--color-gold-light);
    margin-bottom: 5px;
    font-size: 1rem;
}

.side .type {
    display: inline-block;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(212, 175, 55, 0.2);
    color: var(--color-gold-primary);
    margin-bottom: 10px;
    font-weight: bold;
}

.side p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.side.successor {
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.arrow-transform {
    color: var(--color-gold-primary);
    font-size: 1.5rem;
    animation: arrowPulse 2s infinite ease-in-out;
}

@keyframes arrowPulse {

    0%,
    100% {
        transform: translateX(0) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translateX(5px) scale(1.2);
        opacity: 1;
    }
}

.gnosis-axiomas h3 {
    font-size: 1.3rem;
    color: var(--color-gold-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.gnosis-axiomas .axiomas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.axioma-card {
    background: rgba(5, 10, 20, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.axioma-card:hover {
    border-color: var(--color-gold-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.axioma-card i {
    font-size: 1.8rem;
    color: var(--color-gold-primary);
    margin-bottom: 1rem;
}

.axioma-card h5 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.axioma-card p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.gnosis-quote {
    text-align: center;
    padding: 4rem;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.quote-content .main-quote {
    font-size: 2rem;
    font-style: italic;
    color: #fff;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.quote-content .command {
    font-size: 3rem;
    color: var(--color-gold-primary);
    font-family: var(--font-heading);
    letter-spacing: 10px;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    animation: commandBreathe 4s infinite ease-in-out;
}

@keyframes commandBreathe {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
        filter: blur(0px);
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
        filter: blur(1px);
    }
}

/* LLM Architecture Styles */
.llm-architecture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
    align-items: start;
}

.cognitive-pillars h3,
.tech-implementation h3 {
    font-size: 1.3rem;
    color: var(--color-gold-primary);
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 0.5rem;
}

.pillar-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pillar-card {
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.pillar-card:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: var(--color-gold-primary);
    transform: translateX(10px);
}

.pillar-icon {
    font-size: 1.5rem;
    color: var(--color-gold-primary);
}

.pillar-info h4 {
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 5px;
}

.pillar-info p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Sovereignty Visual */
.sovereignty-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.aice-core {
    width: 200px;
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-gold-primary);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphCore 8s linear infinite;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
}

@keyframes morphCore {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(0deg);
    }

    33% {
        border-radius: 42% 58% 46% 54% / 46% 54% 42% 58%;
    }

    66% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(360deg);
    }
}

.core-text {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    letter-spacing: 5px;
    z-index: 2;
}

.status-badge {
    position: absolute;
    bottom: -40px;
    font-size: 0.6rem;
    color: var(--color-gold-primary);
    background: rgba(212, 175, 55, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--color-gold-primary);
    letter-spacing: 2px;
}

.internal-actions {
    margin-top: 5rem;
    text-align: center;
}

.internal-actions span {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    letter-spacing: 1px;
}

.internal-actions .action-list {
    font-family: 'Courier New', monospace;
    color: var(--color-gold-light);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Tech Implementation */
.tech-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.tech-steps li {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-steps i {
    color: var(--color-gold-primary);
    width: 20px;
}

.terminal-mini {
    background: #000;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: #4CAF50;
    line-height: 1.5;
    height: 180px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-gold-dark) #000;
}

.terminal-mini code {
    display: block;
}

/* Mohundro Axioms */
.mohundro-axioms {
    margin-top: 6rem;
    padding: 4rem;
    background: rgba(30, 58, 138, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.mohundro-axioms::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.05), transparent);
    pointer-events: none;
}

.mohundro-header {
    text-align: center;
    margin-bottom: 4rem;
}

.mohundro-header i {
    font-size: 2rem;
    color: var(--color-gold-primary);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.mohundro-header h3 {
    font-size: 1.8rem;
    color: var(--color-gold-primary);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.mohundro-header p {
    color: var(--color-text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.axioms-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.axiom-card-detailed {
    background: rgba(10, 17, 32, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.axiom-card-detailed:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold-primary);
    background: rgba(212, 175, 55, 0.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.axiom-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-gold-primary);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.axiom-card-detailed:hover .axiom-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--color-gold-primary);
    color: var(--color-bg-deep);
}

.axiom-card-detailed h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.axiom-card-detailed p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .llm-architecture-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sovereignty-visual {
        grid-column: 1 / -1;
        order: -1;
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .llm-architecture-grid {
        grid-template-columns: 1fr;
    }

    .axioms-grid-detailed {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .gnosis-grid {
        grid-template-columns: 1fr;
    }

    .side-by-side {
        flex-direction: column;
        gap: 1rem;
    }

    .arrow-transform {
        transform: rotate(90deg);
    }

    @keyframes arrowPulse {

        0%,
        100% {
            transform: translateY(0) rotate(90deg) scale(1);
            opacity: 0.5;
        }

        50% {
            transform: translateY(5px) rotate(90deg) scale(1.2);
            opacity: 1;
        }
    }

    .quote-content .main-quote {
        font-size: 1.5rem;
    }

    .quote-content .command {
        font-size: 2rem;
    }

    .apeiron-grid,
    .axiomas-seguridad {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .darwin-godel-machine {
        padding: 2rem;
    }

    .machine-cycle {
        gap: 1rem;
    }

    .cycle-step {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* WebGPU Incentive Styles */
.webgpu-incentive-section {
    margin-top: 6rem;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(212, 175, 55, 0.05));
    border-radius: 30px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.incentive-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.incentive-header i {
    font-size: 2.5rem;
    color: var(--color-gold-primary);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.incentive-header h3 {
    font-size: 1.8rem;
    color: var(--color-gold-primary);
    letter-spacing: 2px;
}

.incentive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.incentive-card {
    background: rgba(10, 17, 32, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
}

.incentive-card:hover {
    border-color: var(--color-gold-primary);
    transform: translateY(-10px);
    background: rgba(212, 175, 55, 0.05);
}

.incentive-card i {
    font-size: 2rem;
    color: var(--color-gold-primary);
    margin-bottom: 1.5rem;
}

.incentive-card h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.incentive-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.cta-mini-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cta-button.mini {
    padding: 0.8rem 2rem;
    font-size: 0.9rem !important;
    background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold-primary)) !important;
    border: none !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3) !important;
    border-radius: 30px !important;
}

.profit-share-stat {
    font-family: 'Courier New', monospace;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.profit-share-stat .highlight {
    color: #4CAF50;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.4);
}

@media (max-width: 992px) {
    .incentive-grid {
        grid-template-columns: 1fr;
    }

    .webgpu-incentive-section {
        padding: 2rem;
    }
}

/* Singularity Section Enhancements */
.singularity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.visual-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
    margin: 0 auto;
}

.digital-vortex {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.singularity-core {
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 50px 10px #fff, 0 0 100px 30px var(--color-gold-primary);
    z-index: 10;
    animation: coreBreathe 3s infinite ease-in-out;
}

.event-horizon {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-gold-primary);
    border-radius: 50%;
    animation: portalRotate var(--singularity-speed) linear infinite;
    box-shadow: inset 0 0 50px rgba(212, 175, 55, 0.2);
}

.data-swirl {
    position: absolute;
    width: 80%;
    height: 80%;
    border: 2px dashed var(--color-accent-blue);
    border-radius: 40% 60% 70% 30% / 40% 40% 60% 60%;
    animation: swirlWarp calc(var(--singularity-speed) * 0.8) ease-in-out infinite alternate;
}

@keyframes coreBreathe {

    0%,
    100% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes portalRotate {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes swirlWarp {
    0% {
        border-radius: 40% 60% 70% 30%;
        transform: rotate(0) scale(1);
    }

    100% {
        border-radius: 60% 40% 30% 70%;
        transform: rotate(180deg) scale(1.1);
    }
}

.horizon-stat {
    text-align: center;
    margin-top: 3rem;
}

.horizon-stat .label {
    display: block;
    font-size: 0.7rem;
    color: var(--color-text-muted);
    letter-spacing: 2px;
}

.horizon-stat .value {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-gold-light);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* Timeline */
.stages-timeline {
    position: relative;
    padding-left: 2rem;
}

.stages-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-gold-primary), transparent);
}

.stage-item {
    position: relative;
    padding-bottom: 2.5rem;
}

.stage-dot {
    position: absolute;
    left: -2.3rem;
    top: 0.3rem;
    width: 10px;
    height: 10px;
    background: var(--color-bg-deep);
    border: 2px solid var(--color-gold-primary);
    border-radius: 50%;
}

.stage-dot.pulse {
    background: var(--color-gold-primary);
    box-shadow: 0 0 15px var(--color-gold-primary);
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        transform: scale(1.2);
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.stage-info h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 5px;
}

.stage-info p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Quotes Refined */
.singularity-quotes-refined {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 5rem;
}

.quote-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 2.5rem;
    border-radius: 15px;
    position: relative;
}

.quote-card blockquote {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.quote-card .author {
    font-size: 0.8rem;
    color: var(--color-gold-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {

    .singularity-grid,
    .singularity-quotes-refined,
    .axiomas-grid-detailed {
        grid-template-columns: 1fr;
    }

    .main-header,
    .main-header.scrolled {
        padding: 1rem 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-content {
        text-align: center;
        padding-right: 0;
    }

    .cta-container {
        justify-content: center;
    }

    /* Mobile Menu Styles */
    .mobile-nav-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(5, 10, 20, 0.98);
        backdrop-filter: blur(15px);
        z-index: 1000;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        align-items: center;
        justify-content: center;
        border-left: 1px solid rgba(212, 175, 55, 0.2);
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .main-nav a {
        font-size: 1.5rem;
        color: var(--color-gold-primary);
    }

    .content-section {
        padding: 4rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .image-placeholder {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .mohundro-axioms {
        padding: 2rem 1rem;
    }

    .axiom-card-detailed {
        padding: 1.5rem;
    }
}

/* Cleanup: Ensure no horizontal scroll */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Login Button in Header */
.login-btn {
    background: transparent;
    border: 1px solid var(--color-gold-primary);
    color: var(--color-gold-primary);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-right: 1rem;
}

.login-btn:hover {
    background: var(--color-gold-primary);
    color: var(--color-bg-deep);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.login-btn i {
    font-size: 0.9rem;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

/* Glassmorphism Modal Content */
.glass-morphism {
    background: rgba(10, 17, 32, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(212, 175, 55, 0.05);
    animation: modalSlide 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-gold-dark) rgba(0, 0, 0, 0.3);
}

@keyframes modalSlide {
    from {
        transform: translateY(30px) scale(0.9);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--color-gold-primary);
}

/* Coming Soon View Styles */
.coming-soon-view {
    text-align: center;
    padding: 2rem 1rem;
    animation: epicFadeIn 0.8s ease-out;
}

.coming-soon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.epic-title {
    font-size: clamp(1.5rem, 5vw, 3rem);
    color: #fff;
    font-family: var(--font-heading);
    letter-spacing: 5px;
    position: relative;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    white-space: nowrap;
}

.epic-title::before,
.epic-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.epic-title::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 12s infinite linear alternate-reverse;
}

.epic-title::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 12s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(31px, 9999px, 94px, 0);
        transform: skew(0.85deg);
    }

    5% {
        clip: rect(70px, 9999px, 71px, 0);
        transform: skew(0.02deg);
    }

    10% {
        clip: rect(62px, 9999px, 81px, 0);
        transform: skew(0.79deg);
    }

    15% {
        clip: rect(15px, 9999px, 47px, 0);
        transform: skew(0.53deg);
    }

    20% {
        clip: rect(81px, 9999px, 91px, 0);
        transform: skew(0.52deg);
    }

    25% {
        clip: rect(95px, 9999px, 20px, 0);
        transform: skew(0.9deg);
    }

    30% {
        clip: rect(10px, 9999px, 40px, 0);
        transform: skew(0.1deg);
    }

    35% {
        clip: rect(40px, 9999px, 60px, 0);
        transform: skew(0.6deg);
    }

    40% {
        clip: rect(20px, 9999px, 80px, 0);
        transform: skew(0.2deg);
    }

    45% {
        clip: rect(60px, 9999px, 30px, 0);
        transform: skew(0.8deg);
    }

    50% {
        clip: rect(30px, 9999px, 70px, 0);
        transform: skew(0.4deg);
    }

    100% {
        clip: rect(67px, 9999px, 98px, 0);
        transform: skew(0.35deg);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(65px, 9999px, 100px, 0);
        transform: skew(0.15deg);
    }

    5% {
        clip: rect(52px, 9999px, 60px, 0);
        transform: skew(0.97deg);
    }

    10% {
        clip: rect(15px, 9999px, 40px, 0);
        transform: skew(0.5deg);
    }

    15% {
        clip: rect(40px, 9999px, 80px, 0);
        transform: skew(0.1deg);
    }

    20% {
        clip: rect(80px, 9999px, 20px, 0);
        transform: skew(0.7deg);
    }

    100% {
        clip: rect(10px, 9999px, 30px, 0);
        transform: skew(0.4deg);
    }
}

.glow-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold-primary), transparent);
    box-shadow: 0 0 15px var(--color-gold-primary);
    animation: glowExpand 3s infinite ease-in-out;
}

@keyframes glowExpand {

    0%,
    100% {
        width: 50px;
        opacity: 0.5;
    }

    50% {
        width: 200px;
        opacity: 1;
    }
}

.epic-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    font-weight: 300;
    max-width: 400px;
    line-height: 1.6;
}

.transmission-status {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--color-gold-primary);
    opacity: 0.7;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--color-gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-gold-primary);
}

.status-dot.pulse {
    animation: dotPulse 1.5s infinite ease-in-out;
}

@keyframes dotPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

@keyframes epicFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.social-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.8rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
}

.social-login:hover {
    transform: translateY(-2px);
}

.social-login.google {
    background: #fff;
    color: #444;
}

.social-login.google:hover {
    background: #f0f0f0;
}

.social-login.apple {
    background: #000;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-login.apple:hover {
    background: #111;
}

.auth-privacy {
    margin-top: 2rem;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-align: center;
}

/* Dashboard View Styles */
.dashboard-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: var(--color-gold-primary);
    color: var(--color-bg-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
}

.user-info h3 {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.user-status-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.user-status,
.net-status {
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.user-status {
    color: #4ade80;
}

.net-status {
    color: var(--color-text-muted);
}

.user-status i,
.net-status i {
    font-size: 0.5rem;
}

.net-status.connected {
    color: #60a5fa;
    /* Blue for network */
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1rem;
    font-weight: bold;
}

.stat-progress-bg {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.stat-progress {
    width: 0%;
    height: 100%;
    background: var(--color-gold-primary);
    transition: width 0.5s ease;
}

.gpu-monitor-mini {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.monitor-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 10px;
    color: var(--color-text-muted);
}

.monitor-header .temp {
    color: var(--color-gold-light);
}

#gpuChartMini {
    width: 100%;
    height: 50px;
}

.global-brain-view {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(96, 165, 250, 0.1);
    margin-bottom: 2rem;
}

.apeiron-ego-monitor {
    background: rgba(212, 175, 55, 0.05);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 1.5rem;
}

.ego-level {
    color: var(--color-gold-light);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.ego-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ego-stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.ego-stat-item .label {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    min-width: 60px;
}

.ego-bar {
    flex-grow: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.ego-bar .fill {
    height: 100%;
    width: 0%;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.fill.blue {
    background: #60a5fa;
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

.fill.gold {
    background: #D4AF37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.fill.green {
    background: #4ade80;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

/* Digital Body Canvas (Phase 5) */
.digital-body-container {
    width: 100%;
    height: 250px;
    background: radial-gradient(circle at center, rgba(30, 58, 138, 0.1), transparent 70%);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.digital-body-container canvas {
    max-width: 100%;
    max-height: 100%;
}

/* Atmósfera Viva */
.breathing-bg {
    animation: breatheBg 4s infinite alternate ease-in-out;
}

@keyframes breatheBg {
    from {
        background-color: var(--color-bg-deep);
    }

    to {
        background-color: #081020;
    }

    /* Slightly lighter/bluer */
}

.brain-map-container {
    width: 100%;
    height: 200px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    overflow: hidden;
    margin: 10px 0;
    border: 1px solid rgba(96, 165, 250, 0.2);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
}

.brain-map-container canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.p2p-status {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.p2p-status i {
    font-size: 0.6rem;
}

.p2p-status.connected {
    color: #60a5fa;
}

.dashboard-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logout-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
}

.logout-btn:hover {
    color: #ff4d4d;
}

.cta-button.mini {
    padding: 0.6rem 1.5rem;
    font-size: 0.8rem;
}

.pulse {
    animation: shadowPulse 2s infinite;
}

@keyframes shadowPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(30, 58, 138, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(30, 58, 138, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(30, 58, 138, 0);
    }
}

@media (max-width: 600px) {
    .dashboard-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* AI Status Card */
.ai-status-card {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.5s ease;
}

.ai-status-card.titan-mode {
    border-color: var(--color-gold-primary);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.ai-status-card.explorer-mode {
    border-color: var(--color-blue-primary);
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.2);
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #555;
    box-shadow: 0 0 5px #555;
    transition: all 0.5s ease;
}

.ai-status-card.titan-mode .status-indicator {
    background: var(--color-gold-primary);
    box-shadow: 0 0 10px var(--color-gold-primary), 0 0 20px var(--color-gold-primary);
    animation: pulseTitan 2s infinite;
}

.ai-status-card.explorer-mode .status-indicator {
    background: var(--color-blue-primary);
    box-shadow: 0 0 10px var(--color-blue-primary);
    animation: pulseExplorer 2s infinite;
}

@keyframes pulseTitan {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }

    100% {
        opacity: 0.8;
        transform: scale(1);
    }
}

@keyframes pulseExplorer {
    0% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.7;
    }
}

.small-text {
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Chat Interface Styles */
.chat-interface {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-messages {
    height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 5px;
    scrollbar-width: thin;
    scrollbar-color: var(--color-gold-dark) transparent;
}

.msg {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.4;
    position: relative;
}

.msg.bot {
    align-self: flex-start;
    background: rgba(212, 175, 55, 0.1);
    border-left: 2px solid var(--color-gold-primary);
    color: var(--color-text-main);
}

.msg.user {
    align-self: flex-end;
    background: rgba(30, 58, 138, 0.2);
    border-right: 2px solid var(--color-accent-blue);
    color: #fff;
}

.chat-input-area {
    display: flex;
    gap: 10px;
}

#chatInput {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 4px;
    padding: 8px 12px;
    color: #fff;
    font-family: inherit;
    font-size: 0.85rem;
}

#chatInput:focus {
    outline: none;
    border-color: var(--color-gold-primary);
    background: rgba(212, 175, 55, 0.05);
}

#sendChatBtn {
    background: var(--color-gold-primary);
    color: var(--color-bg-deep);
    border: none;
    border-radius: 4px;
    padding: 0 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#sendChatBtn:hover {
    background: var(--color-gold-light);
    transform: scale(1.05);
}

.chat-mode {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Ollama Setup View Styles */
.ollama-setup-view {
    animation: fadeIn 0.4s ease;
}

.setup-header {
    text-align: center;
    margin-bottom: 2rem;
}

.setup-icon {
    font-size: 2.5rem;
    color: var(--color-gold-primary);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.setup-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.setup-step-card {
    display: flex;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    align-items: flex-start;
}

.setup-step-card.highlight {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(212, 175, 55, 0.05);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-gold-primary);
    opacity: 0.5;
}

.step-content h4 {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 15px;
}

.setup-link {
    font-size: 0.8rem;
    color: var(--color-gold-primary);
    text-decoration: underline;
    font-weight: bold;
}

.terminal-command {
    background: #000;
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid var(--color-gold-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.terminal-command code {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #4ade80;
}

.copy-cmd {
    background: none;
    border: none;
    color: var(--color-gold-primary);
    cursor: pointer;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.copy-cmd:hover {
    opacity: 1;
}

.back-link {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--color-gold-primary);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hardware & Recommendation Styles */
.hardware-caps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.cap-badge {
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    color: #60a5fa;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: 'Courier New', monospace;
}

.recommendation-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.recommend-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.recommend-item:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateX(5px);
}

.recommend-info h5 {
    font-size: 0.9rem;
    color: var(--color-gold-light);
    margin: 0;
}

.recommend-info span {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.download-link {
    font-size: 0.75rem;
    color: var(--color-gold-primary);
    background: rgba(212, 175, 55, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid var(--color-gold-dark);
}

.download-link:hover {
    background: var(--color-gold-primary);
    color: var(--color-bg-deep);
}

.model-selector-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.model-select {
    background: #000;
    color: var(--color-gold-primary);
    border: 1px solid var(--color-gold-dark);
    padding: 10px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    width: 100%;
    cursor: pointer;
}

.model-select:focus {
    outline: none;
    border-color: var(--color-gold-primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.model-select option {
    background: #0a1120;
    color: #fff;
}

/* Interactive VRAM Monitor Styles */
.vram-monitor-interactive {
    margin-top: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.monitor-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#liveVramPerc {
    color: var(--color-gold-primary);
    font-weight: bold;
}

.vram-visualizer-container {
    width: 100%;
    height: 80px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

#vramLiveCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

.monitor-controls {
    display: flex;
    gap: 10px;
}

.monitor-btn {
    flex: 1;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--color-gold-dark);
    color: var(--color-gold-primary);
    padding: 6px;
    font-size: 0.65rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.monitor-btn:hover {
    background: var(--color-gold-primary);
    color: var(--color-bg-deep);
}

.monitor-btn.secondary {
    border-color: rgba(96, 165, 250, 0.5);
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.05);
}

.monitor-btn.secondary:hover {
    background: #60a5fa;
    color: #fff;
}