:root {
    --primary: #ffd700;
    /* Genesis Gold */
    --accent: #ffae00;
    /* Deep Neon Gold */
    --neon-gold: #ffcc33;
    --dark: #02040a;
    /* Obsidian Black */
    --glass: rgba(10, 15, 25, 0.7);
    --border: rgba(255, 204, 51, 0.2);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-mono: 'Fira Code', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark);
    color: #ffffff;
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Effects */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 229, 255, 0.05) 0%, transparent 100%),
        url('web_background.png');
    background-size: cover;
    background-position: center;
    z-index: -3;
    filter: brightness(0.4);
}

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.1;
    pointer-events: none;
    z-index: -2;
}

.scanlines {
    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));
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
    z-index: -1;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.nav-container .logo-img {
    height: 90px;
    margin-right: 20px;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.4));
}

.logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #fff;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.logo .accent {
    color: var(--primary);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-item {
    color: #ddd;
    text-decoration: none;
    margin-right: 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.nav-item:hover {
    color: var(--primary);
    text-shadow: 0 0 8px var(--primary);
}

.btn-buy-nav {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.btn-buy-nav:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 20px var(--primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    padding-top: 100px;
    padding-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    background: linear-gradient(to bottom, rgba(2, 4, 10, 0.4), rgba(2, 4, 10, 0.8)),
        url('auber_soul_hands_final.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    text-align: center;
    z-index: 10;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    align-items: center;
}

.btn-buy-hero {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary), #fff1a8);
    color: #000;
    text-decoration: none;
    font-weight: 800;
    font-family: var(--font-fancy);
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.3);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-buy-hero:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 0 50px var(--primary);
    background: #fff;
}

.badge-trust {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid var(--border);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    font-size: 0.75rem;
    letter-spacing: 2px;
}

.dot.pulse {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 5rem);
    /* Reduced to prevent cutting off */
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.8rem;
    background: linear-gradient(to bottom, #fff, #ffd700, #ffae00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle-top {
    font-family: var(--font-heading);
    font-size: clamp(0.7rem, 2vw, 1rem);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 8px;
    /* Reduced from 12px for better fit */
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-tagline-main {
    font-size: 1rem;
    /* Slightly reduced to prevent awkward word wrapping */
    color: #ccc;
    margin-bottom: 3.5rem;
    font-style: italic;
}

.hero-tagline {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 3rem;
}

.hero-tagline .highlight {
    color: var(--primary);
    font-weight: 700;
}

/* Terminal Window */
.terminal-window {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--border);
    border-radius: 8px;
    max-width: 500px;
    margin: 0 auto 3rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

/* Hud Elements */
.hud-canvas-container {
    position: relative;
    width: 100%;
    height: 300px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--primary);
    border-radius: 12px;
    margin-bottom: 2rem;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hud-image-fixed {
    max-width: 200px;
    opacity: 0.5;
    filter: drop-shadow(0 0 20px var(--primary));
    animation: glow-pulse 3s infinite alternate;
}

.hud-scanner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: scan 4s linear infinite;
}

.hud-grid-bg {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(rgba(255, 215, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 215, 0, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: grid-move 20s linear infinite;
}

.connection-status {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.connection-status .highlight {
    color: #ffd700;
}

@keyframes scan {
    0% {
        top: -100px;
    }

    100% {
        top: 400px;
    }
}

@keyframes grid-move {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(10deg);
    }
}

/* Interim Scan Effect */
@keyframes scan-v2 {
    0% {
        top: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.scan-line-v2 {
    pointer-events: none;
    z-index: 5;
}

@keyframes glow-pulse {
    from {
        filter: drop-shadow(0 0 10px var(--primary));
    }

    to {
        filter: drop-shadow(0 0 40px var(--primary));
    }
}

/* Footer & Logo refinements */
.logo-img {
    height: 45px;
    width: 45px;
    object-fit: cover;
    margin-right: 12px;
}

.terminal-header .dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    background: rgba(255, 255, 255, 0.2);
}

.terminal-header .title {
    margin-left: auto;
    font-size: 0.6rem;
    letter-spacing: 1px;
    color: #666;
}

.terminal-body {
    padding: 1.5rem;
    height: 200px;
    overflow-y: hidden;
    text-align: left;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #1afc1a;
}

.line {
    margin-bottom: 0.4rem;
    opacity: 0.7;
}

.line.active {
    opacity: 1;
    color: var(--primary);
}

/* Buttons */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn-cyber {
    background: var(--primary);
    color: #000;
    border: none;
    padding: 1rem 3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
    transition: 0.3s;
}

.btn-cyber:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.4);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Info Grid */
.info-grid {
    background: rgba(2, 4, 8, 0.8);
    backdrop-filter: blur(20px);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-subtitle {
    color: #888;
    font-size: 0.9rem;
    max-width: 600px;
    margin: 0 auto;
}

.intelligence-hub {
    display: flex;
    gap: 2rem;
    margin: 3rem auto;
    max-width: 1100px;
    width: 100%;
}

.terminal-window {
    flex: 1;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    font-family: var(--font-mono);
    box-shadow: 0 10px 50px rgba(0, 255, 213, 0.15);
}

.terminal-body {
    padding: 1.5rem;
    height: 180px;
    font-size: 0.75rem;
    /* Reduced font size to prevent wrapping */
    line-height: 1.6;
    overflow-y: hidden;
}

.terminal-window.strategy {
    border-color: var(--accent);
    box-shadow: 0 10px 50px rgba(188, 0, 255, 0.15);
}

.terminal-window.strategy .title {
    color: var(--accent);
}

.terminal-window.strategy .highlight {
    color: var(--accent);
    font-weight: bold;
}

.terminal-window.strategy .terminal-body {
    color: #e0b0ff;
}

/* Grid & Items Centering */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-item {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 3rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
    /* Center Content */
}

.grid-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    background: rgba(0, 255, 213, 0.05);
}

/* Icons Overhaul */
.item-icon {
    width: 6rem;
    /* 2.5x increase roughly */
    height: 6rem;
    margin: 0 auto 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 213, 0.05);
    border-radius: 50%;
    border: 1px solid var(--border);
    box-shadow: 0 0 30px rgba(0, 255, 213, 0.1);
    transition: all 0.4s ease;
}

.grid-item:hover .item-icon {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(0, 255, 213, 0.2);
    background: rgba(0, 255, 213, 0.1);
}

.item-icon svg {
    width: 3rem;
    height: 3rem;
    fill: var(--primary);
    filter: drop-shadow(0 0 10px var(--primary));
}

.grid-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: #fff;
    font-family: var(--font-heading);
}

.grid-item p {
    font-size: 1rem;
    color: #888;
    max-width: 250px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.vision-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #aaa;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Roadmap Centering */
.roadmap-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

@media (max-width: 900px) {
    .intelligence-hub {
        flex-direction: column;
    }
}

/* Trust Bar */
.trust-bar {
    display: flex;
    justify-content: space-around;
    padding: 3rem 10%;
    background: var(--dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-item {
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.trust-item .label {
    color: #666;
    margin-right: 10px;
}

.trust-item .value.green {
    color: #0f0;
}

.trust-item .value.cyan {
    color: var(--primary);
}

.trust-item .value.highlight {
    color: var(--accent);
}

/* Footer */
footer {
    padding: 5rem 10% 2rem;
    border-top: 1px solid var(--border);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-info .logo {
    margin-bottom: 1rem;
}

.footer-info p {
    color: #666;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.link-group h4 {
    font-size: 0.7rem;
    color: #444;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.link-group a {
    display: block;
    color: #888;
    text-decoration: none;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
    transition: 0.3s;
}

.link-group a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    font-size: 0.7rem;
    color: #444;
}

/* Roadmap Enhanced Styling */
.roadmap-visual {
    max-width: 1000px;
    margin: 4rem auto;
    position: relative;
    padding: 2rem 0;
}

.roadmap-track {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0.2;
    transform: translateY(-50%);
}

.roadmap-cards {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.roadmap-card {
    flex: 1;
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.roadmap-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 255, 213, 0.1);
}

.roadmap-card.active {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(0, 255, 213, 0.15);
}

.phase-badge {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.roadmap-card h3 {
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.roadmap-card ul {
    list-style: none;
    padding: 0;
}

.roadmap-card ul li {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    padding-left: 1.2rem;
    position: relative;
}

.roadmap-card ul li::before {
    content: '??;
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.6rem;
    top: 4px;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle-top {
        letter-spacing: 4px;
        font-size: 0.8rem;
    }

    .hero-tagline-main {
        font-size: 0.9rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
        padding: 0 2rem;
    }

    .btn-cyber,
    .btn-buy-hero,
    .btn-ghost {
        width: 100%;
        padding: 0.8rem 1.5rem;
        justify-content: center;
    }

    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }

    .section-padding {
        padding: 40px 0;
    }

    .pillars-genesis {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hud-panel {
        padding: 20px 10px;
    }

    .hud-canvas-container {
        height: 200px;
    }

    .calc-grid-horizontal {
        flex-wrap: wrap;
        gap: 5px;
    }

    .calc-entry {
        border-right: none;
        border-bottom: 1px solid rgba(255, 215, 0, 0.1);
        padding: 0.6rem;
        min-width: 100%;
        text-align: center;
    }

    /* Fixed Protocol Decoding Guide for Mobile */
    #protocol-decode-guide {
        padding: 15px !important;
        margin: 20px 10px 0 !important;
    }

    #relative-stats {
        width: 95% !important;
        flex-direction: column;
        gap: 10px !important;
        padding: 15px !important;
    }

    #multi-llm-judgment {
        width: 95% !important;
    }

    #share-buttons-container {
        width: 95% !important;
        grid-template-columns: 1fr !important;
    }

    #onchain-seal-btn {
        width: 95% !important;
        font-size: 1rem !important;
    }

    /* Fixed responsive widths */
    .responsive-width-70,
    .responsive-width-60,
    .responsive-width-80 {
        width: 95% !important;
    }
}

/* Manifesto Section */
.manifesto-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(88, 204, 255, 0.05) 0%, transparent 70%);
    padding: 50px 0;
}

.heartbeat-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(88, 204, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: heartbeat 2s infinite ease-in-out;
}

@keyframes heartbeat {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }

    30% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.7;
    }

    40% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    60% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }
}

.manifesto-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.manifesto-image-wrapper {
    position: relative;
}

.manifesto-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(88, 204, 255, 0.3);
    border: 1px solid var(--border);
}

.manifesto-content {
    text-align: left;
}

.manifesto-slogan {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2rem;
    line-height: 1.4;
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
}

.manifesto-item {
    margin-bottom: 2.5rem;
}

.manifesto-item h3 {
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.manifesto-item h3::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
}

.manifesto-item p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .manifesto-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .manifesto-content {
        text-align: center;
    }

    .manifesto-slogan {
        border-left: none;
        border-top: 4px solid var(--primary);
        padding-left: 0;
        padding-top: 1.5rem;
    }
}

/* Genesis Visualization System */
.genesis-core-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.genesis-core-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    z-index: 2;
}

.genesis-core {
    width: 100%;
    filter: drop-shadow(0 0 80px rgba(255, 204, 51, 0.4));
    animation: core-breathe 6s infinite ease-in-out;
}

@keyframes core-breathe {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 60px rgba(255, 204, 51, 0.3));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 100px rgba(255, 204, 51, 0.6));
    }
}

/* Genesis Pillars Dashboard */
.pillars-genesis {
    padding: 80px 0;
    background: radial-gradient(circle at center, rgba(255, 204, 51, 0.05) 0%, transparent 70%);
}

.pillar-genesis-card {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 4rem 2rem;
    border-radius: 24px;
    height: 100%;
    transition: 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.pillar-genesis-card:hover {
    transform: translateY(-20px);
    border-color: var(--neon-gold);
    box-shadow: 0 30px 60px rgba(255, 204, 51, 0.15);
}

.pillar-genesis-card h3 {
    font-family: var(--font-heading);
    color: var(--neon-gold);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 204, 51, 0.3);
}

.cq-index-wrapper {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 204, 51, 0.1);
}

.cq-label {
    font-size: 0.7rem;
    color: #666;
    letter-spacing: 2px;
}

.cq-value {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    color: var(--neon-gold);
}

/* Command Center HUD */
.command-center {
    padding: 60px 0;
}

.hud-panel {
    background: #000;
    border: 2px solid var(--border);
    border-radius: 30px;
    padding: 60px;
    position: relative;
    box-shadow: 0 0 120px rgba(255, 204, 51, 0.05);
}

.hud-image {
    width: 100%;
    border-radius: 15px;
    border: 1px solid rgba(255, 204, 51, 0.1);
    margin-bottom: 3rem;
}

/* Genesis Terminal */
.terminal-genesis {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid var(--border);
    padding: 2.5rem;
    font-family: var(--font-mono);
    color: var(--neon-gold);
    border-radius: 12px;
    height: 350px;
    overflow-y: hidden;
    margin-top: 3rem;
}

.terminal-header {
    display: none;
}

.terminal-output {
    height: 100%;
    overflow: hidden;
}

.terminal-input-line {
    display: none;
}

.terminal-input-line .prompt {
    color: var(--primary);
    font-weight: bold;
}

.terminal-input-line input {
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    width: 100%;
    outline: none;
}

.hud-metrics-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 5;
}

.metric-box {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--primary);
    padding: 10px 15px;
    border-radius: 6px;
    text-align: right;
}

.m-label {
    display: block;
    font-size: 0.6rem;
    color: #666;
    letter-spacing: 1px;
}

.m-value {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--primary);
}

.robot-status-list {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 250px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 15px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    z-index: 5;
}

.robot-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 4px;
}

.r-id {
    color: #888;
}

.r-irq {
    color: var(--primary);
}

.r-status {
    color: #0f0;
}

.r-status.offline {
    color: #f00;
}

/* Risk Protocol Guide */
.risk-protocol-guide {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 12px;
}

.risk-protocol-guide h3 {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.protocol-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.protocol-row {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    font-size: 0.8rem;
    align-items: center;
}

.protocol-row.header {
    background: rgba(255, 215, 0, 0.05);
    color: var(--primary);
    font-weight: bold;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.risk-low {
    color: #00ffcc;
    font-weight: bold;
}

.risk-med {
    color: #ffff00;
    font-weight: bold;
}

.risk-high {
    color: #ff9900;
    font-weight: bold;
}

.risk-crit {
    color: #ff3333;
    font-weight: bold;
    text-shadow: 0 0 10px #ff3333;
}

/* Auber Sentient Analyzer */
.sentient-analyzer {
    background: rgba(10, 20, 30, 0.9);
    border: 1px solid var(--primary);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    color: var(--neon-gold);
}

.analyzer-content {
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.analyzer-metrics {
    display: flex;
    gap: 3rem;
    margin: 1.5rem 0;
    font-weight: bold;
    color: var(--primary);
}

.analyzer-input {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.analyzer-input input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: #fff;
    padding: 0.8rem;
    flex: 1;
    border-radius: 4px;
    outline: none;
}

.analyzer-input button {
    background: var(--primary);
    color: #000;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.analyzer-input button:hover {
    box-shadow: 0 0 15px var(--primary);
    transform: translateY(-2px);
}

.analyzer-help {
    font-size: 0.75rem;
    color: #666;
    margin-top: 0.5rem;
    font-style: italic;
    letter-spacing: 1px;
}

.analyzer-result {
    margin-top: 1.5rem;
    color: #fff;
    padding: 1rem;
    border-left: 3px solid var(--primary);
    background: rgba(255, 215, 0, 0.03);
    display: none;
    line-height: 1.4;
}

.terminal-genesis .line {
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.terminal-genesis .line.active {
    opacity: 1;
    color: #fff;
    text-shadow: 0 0 8px var(--neon-gold);
}

/* Proprietary Technical Layer */
.proprietary-section {
    background: linear-gradient(135deg, rgba(2, 4, 10, 1) 0%, rgba(15, 20, 35, 1) 100%);
    padding: 80px 0;
    border-top: 1px solid rgba(255, 204, 51, 0.15);
    position: relative;
    overflow: hidden;
}

.sec-shield-container {
    text-align: center;
    margin-bottom: 4rem;
}

.sec-shield {
    font-size: 5rem;
    color: var(--neon-gold);
    background: rgba(255, 204, 51, 0.05);
    width: 120px;
    height: 120px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border);
    box-shadow: 0 0 50px rgba(255, 204, 51, 0.1);
    animation: shield-pulse 3s infinite ease-in-out;
}

@keyframes shield-pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 40px rgba(255, 204, 51, 0.1);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 80px rgba(255, 204, 51, 0.3);
    }
}

.logic-box {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 204, 51, 0.1);
    padding: 3rem;
    border-radius: 12px;
    margin: 0 auto 2rem auto;
    max-width: 800px;
    position: relative;
    transition: 0.4s;
    text-align: center;
}

.logic-box:hover {
    border-color: var(--neon-gold);
    background: rgba(255, 204, 51, 0.03);
    transform: translateY(-5px);
}

.status-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: red;
    border: 1px solid red;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-top: 1rem;
    background: rgba(255, 0, 0, 0.05);
}

/* Tooltip Implementation */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: var(--neon-gold);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid var(--neon-gold);
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
    z-index: 1001;
}

[data-tooltip]:hover::after {
    opacity: 1;
}

.final-statement {
    text-align: center;
    margin-top: 5rem;
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 3rem;
}

/* Economy Genesis Section */
.economy-genesis {
    background: linear-gradient(to bottom, rgba(2, 4, 10, 0.9), rgba(5, 10, 20, 0.95));
}

.economy-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /* Allow wrapping on mobile */
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 4rem;
}

.economy-card {
    flex: 1;
    min-width: 0;
    /* Important for flex squishing */
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: 0.4s;
    backdrop-filter: blur(15px);
}

.economy-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
}

.economy-card.highlight {
    border-color: var(--primary);
    background: rgba(255, 215, 0, 0.05);
}

.economy-card.burn {
    border-color: #ff3333;
    background: rgba(255, 51, 51, 0.05);
}

.economy-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.economy-card h3 {
    margin-bottom: 1rem;
    color: #fff;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.economy-card p {
    font-size: 0.85rem !important;
    color: #888;
}

.phase-box h4 {
    font-size: 15px !important;
    margin-bottom: 0.8rem;
}

.phase-box p {
    font-size: 13px !important;
    line-height: 1.5;
}

.calculation-preview {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--primary);
    border-radius: 8px;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 1.2rem;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.calc-grid-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
}

.calc-entry {
    flex: 1;
    text-align: center;
    border-right: 1px solid rgba(255, 215, 0, 0.1);
    padding: 0.5rem;
}

.calc-entry:last-child {
    border-right: none;
}

.calc-entry .label {
    display: block;
    font-size: 0.55rem;
    color: #666;
    margin-bottom: 0.3rem;
    font-family: var(--font-mono);
    letter-spacing: 1px;
}

.calc-entry .value {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-heading);
}

.calc-entry.highlight .value {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

.sacred-ratio {
    text-align: center;
    margin-top: 4rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary);
    font-style: italic;
    letter-spacing: 2px;
    opacity: 0.8;
}

/* Live Burn Gauge UI */
.live-burn-gauge-container {
    max-width: 800px;
    margin: 4rem auto;
    background: var(--glass);
    border: 1px solid var(--primary);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
}

.gauge-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.gauge-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary);
}

.gauge-stage {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--primary);
    border-radius: 4px;
}

.progress-track {
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    box-shadow: 0 0 20px var(--primary);
    transition: width 1s ease-in-out;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: flow 2s infinite linear;
}

@keyframes flow {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.gauge-stats {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #888;
}

.gauge-stats .highlight {
    color: #fff;
}

.pulse-text {
    animation: textPulse 2s infinite;
}

@keyframes textPulse {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }

}

/* Security Hub Styles */
.security-hub {
    margin: 6rem auto;
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 215, 0, 0.02);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    max-width: 1200px;
}

.split-view {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.split-image {
    flex: 1;
}

.vision-img-large {
    width: 100%;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.1));
    border-radius: 20px;
}

.split-content {
    flex: 1.2;
}

.manifesto-item {
    text-align: left;
    /* Reverted to side-aligned within split context */
    margin-bottom: 3rem;
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 215, 0, 0.1);
}

.manifesto-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--neon-gold);
}

.manifesto-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
}

.grid-item p,
.pillar-genesis-card p {
    text-align: center;
    margin: 0 auto;
    font-size: 0.9rem;
}

.grid-item p,
.pillar-genesis-card p {
    text-align: center;
    margin: 0 auto;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 3rem auto;
}

.security-card {
    background: var(--glass);
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.security-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.security-card h3 {
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: #fff;
}

.status-badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 215, 0, 0.05);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 4px;
    font-weight: bold;
    font-family: var(--font-mono);
    margin: 1.5rem 0;
}

.security-card p {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.6;
}

.pulse {
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

.proof-display {
    margin-top: 2rem;
}

.proof-display img {
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color 0.3s ease;
}

.proof-display img:hover {
    border-color: var(--primary);
}

/* Whitepaper Section */
.whitepaper-section {
    background: #050a14;
    padding: 100px 0;
}

.whitepaper-doc {
    background: #fff;
    color: #333;
    padding: 60px;
    border-radius: 4px;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
}

.doc-header {
    text-align: center;
    border-bottom: 2px solid #333;
    padding-bottom: 30px;
    margin-bottom: 40px;
}

.doc-badge {
    display: inline-block;
    background: #000;
    color: var(--primary);
    padding: 4px 12px;
    font-size: 0.7rem;
    font-family: var(--font-mono);
    margin-bottom: 1rem;
}

.doc-header h1 {
    font-family: var(--font-heading);
    color: #000;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.doc-header .subtitle {
    color: #666;
    font-style: italic;
}

.doc-content h2 {
    font-family: var(--font-heading);
    color: #000;
    font-size: 1.4rem;
    margin: 2.5rem 0 1rem 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.doc-content p {
    margin-bottom: 1rem;
}

.doc-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.doc-content li {
    margin-bottom: 0.5rem;
}

.doc-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
}

.doc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.doc-table th,
.doc-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.doc-table th {
    background: #f8f8f8;
}

.doc-footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
    font-style: italic;
    color: #888;
}

/* Twinkling Stars Animation for Gauge Achievement */
@keyframes twinkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.goal-achieved .progress-track::after {
    content: "?”± GOAL REACHED! ?”±";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffd700;
    font-weight: 900;
    font-size: 0.9rem;
    letter-spacing: 5px;
    z-index: 5;
    text-shadow: 0 0 10px #000;
    animation: pulse 1s infinite;
}

.goal-achieved .progress-bar {
    background: linear-gradient(90deg, #ffd700, #fff) !important;
    box-shadow: 0 0 30px #ffd700 !important;
}

#stars-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: none;
}

.goal-achieved #stars-overlay {
    display: block;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 5px #fff;
    animation: twinkle 1.5s infinite;
}

.star:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0.1s;
}

.star:nth-child(2) {
    top: 40%;
    left: 30%;
    animation-delay: 0.5s;
}

.star:nth-child(3) {
    top: 70%;
    left: 20%;
    animation-delay: 0.8s;
}

.star:nth-child(4) {
    top: 20%;
    left: 60%;
    animation-delay: 1.2s;
}

.star:nth-child(5) {
    top: 50%;
    left: 80%;
    animation-delay: 0.3s;
}

.star:nth-child(6) {
    top: 80%;
    left: 90%;
    animation-delay: 0.9s;
}

.star:nth-child(7) {
    top: 15%;
    left: 45%;
    animation-delay: 0.2s;
}

.star:nth-child(8) {
    top: 75%;
    left: 65%;
    animation-delay: 0.4s;
}

@media (max-width: 850px) {
    .economy-grid {
        flex-direction: column;
    }

    .economy-card {
        width: 100%;
    }

    .calc-grid-horizontal {
        flex-direction: column;
        gap: 10px;
    }

    .calc-entry {
        border-right: none;
        border-bottom: 1px solid rgba(255, 215, 0, 0.1);
        width: 100%;
        padding: 10px 0;
    }

    .calc-entry:last-child {
        border-bottom: none;
    }
}

.highlight {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
    font-weight: 700;
}

/* --- Mobile Optimization & Scroll Gap Reduction --- */
@media (max-width: 768px) {

    .section-padding,
    .manifesto-section,
    .pillars-genesis,
    .command-center,
    .genesis-core-section,
    .proprietary-section,
    .economy-genesis,
    #whitepaper {
        padding: 40px 0 !important;
    }

    .hud-panel {
        padding: 30px 15px !important;
        border-radius: 15px !important;
    }

    .section-header {
        margin-bottom: 2rem !important;
    }

    .hero {
        padding-top: 80px !important;
        padding-bottom: 40px !important;
    }

    .hero-title {
        font-size: 2.8rem !important;
        letter-spacing: 1px !important;
    }

    .sentient-analyzer {
        padding: 20px 5% !important;
    }

    .container {
        padding: 0 15px !important;
    }
    .container { padding: 0 15px !important; }
    .nav-links { gap: 8px !important; }
    .nav-item { margin-right: 0.3rem !important; font-size: 0.75rem !important; }
    .btn-buy-nav { padding: 0.4rem 0.6rem !important; font-size: 0.65rem !important; }
    #analyzer-result-profile { padding: 20px 10px !important; }
    .neural-card-container { min-width: 100% !important; max-width: 100% !important; }
}


/* Layout adjustment for 3 security cards on the same line */
.security-grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 1rem !important; max-width: 1100px !important; margin: 3rem auto !important; }
.security-card { padding: 1.25rem 1rem !important; }
.security-card h3 { font-size: 0.9rem !important; white-space: nowrap !important; }
.status-badge { padding: 0.4rem 0.8rem !important; font-size: 0.8rem !important; margin: 1rem 0 !important; }
.security-card p { font-size: 0.75rem !important; line-height: 1.4 !important; }
