/* ==========================================
           GLOBAL: Rainbow - Yellow (Apps)
           ========================================== */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
            font-family: 'Inter', -apple-system, sans-serif;
            background: #070709;
            color: #ffffff;
            min-height: 100vh;
        }

        :root {
            --bg: #070709;
            --primary: #ffcc00;
            --primary-light: #ffdd66;
            --primary-dark: #997a00;
            --secondary: #ff8000;
            --secondary-light: #ffb366;
            --secondary-dark: #994d00;
            --text: #ffffff;
            --text-muted: #888888;
            --text-dim: #333333;
        }

        /* ==========================================
           HERO
           ========================================== */
        .hero {
            min-height: 35vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 2rem 2rem 1.5rem;
            position: relative;
            overflow: hidden;
        }

        .hero-bg {
            position: absolute;
            inset: 0;
            background:
                radial-gradient(circle at 20% 30%, rgba(255, 204, 0, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 224, 102, 0.06) 0%, transparent 50%);
        }

        .hero-content {
            position: relative;
            z-index: 10;
            max-width: 800px;
        }

        .hero-eyebrow {
            font-size: 0.75rem;
            letter-spacing: 0.4em;
            text-transform: uppercase;
            color: var(--primary);
            margin-bottom: 1.5rem;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeUp 0.8s ease 0.3s forwards;
        }

        .hero-title {
            font-size: clamp(2.5rem, 8vw, 5rem);
            font-weight: 900;
            letter-spacing: -0.04em;
            line-height: 1.1;
            margin-bottom: 1.5rem;
            opacity: 0;
            transform: translateY(60px);
            animation: fadeUp 0.8s ease 0.4s forwards;
        }

        .hero-title .accent {
            color: var(--primary);
            text-shadow: 0 0 60px rgba(255, 204, 0, 0.5);
        }

        .hero-tagline {
            font-size: clamp(1rem, 2vw, 1.2rem);
            font-weight: 300;
            color: var(--text-muted);
            line-height: 1.8;
            opacity: 0;
            animation: fadeUp 0.8s ease 0.6s forwards;
        }

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

        /* ==========================================
           MARQUEE BAND (moving text)
           ========================================== */
        .marquee-section {
            overflow: hidden;
            padding: 0.5rem 0;
            background: linear-gradient(90deg,
                transparent 0%,
                rgba(255, 204, 0, 0.03) 20%,
                rgba(255, 204, 0, 0.05) 50%,
                rgba(255, 204, 0, 0.03) 80%,
                transparent 100%);
            border-top: 1px solid rgba(255, 204, 0, 0.1);
            border-bottom: 1px solid rgba(255, 204, 0, 0.1);
        }

        .marquee-track {
            display: flex;
            gap: 3rem;
            animation: marquee 30s linear infinite;
            white-space: nowrap;
            width: max-content;
        }

        .marquee-item {
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.3em;
            text-transform: uppercase;
            color: var(--primary);
            opacity: 0.6;
        }

        .marquee-item.dot {
            opacity: 0.3;
        }

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

        .marquee-section:hover .marquee-track {
            animation-play-state: paused;
        }

        /* ==========================================
           SCROLL RIBBON (behind app cards)
           ========================================== */
        @keyframes ribbonMove {
            0% { background-position: 0% 0; }
            100% { background-position: 200% 0; }
        }

        /* ==========================================
           FILTER TABS
           ========================================== */
        .filter-section {
            padding: 0.75rem 5vw;
            position: sticky;
            top: 0;
            background: rgba(7, 7, 9, 0.95);
            backdrop-filter: blur(20px);
            z-index: 100;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .filter-tabs {
            display: flex;
            gap: 0.5rem;
            max-width: 1400px;
            margin: 0 auto;
            flex-wrap: wrap;
        }

        .filter-tab {
            padding: 0.6rem 1.2rem;
            background: rgba(255, 204, 0, 0.1);
            border: 1px solid rgba(255, 204, 0, 0.25);
            border-radius: 100px;
            color: var(--primary-light);
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .filter-tab:hover {
            background: rgba(255, 204, 0, 0.2);
            border-color: var(--primary);
            color: #ffffff;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(255, 204, 0, 0.15);
        }

        .filter-tab.active {
            background: var(--primary);
            border-color: var(--primary);
            color: #000;
            font-weight: 600;
        }

        /* ==========================================
           HORIZONTAL SCROLL ROW
           ========================================== */
        .scroll-section {
            position: relative;
            padding: 0 0 2rem 0;
            overflow: visible;
        }

        .scroll-ribbon {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            height: 180px;
            background: linear-gradient(90deg,
                var(--primary) 0%,
                var(--secondary) 25%,
                var(--primary) 50%,
                var(--secondary) 75%,
                var(--primary) 100%);
            background-size: 200% 100%;
            animation: ribbonMove 8s linear infinite;
            z-index: 0;
        }

        .scroll-track {
            position: relative;
            z-index: 1;
            display: flex;
            gap: 1rem;
            padding: 1.5rem 20vw 1rem 5vw;
            overflow-x: scroll;
            overflow-y: visible;
            scroll-snap-type: x mandatory;
            scroll-padding-left: 5vw;
            scrollbar-width: none;
            -webkit-overflow-scrolling: touch;
            cursor: grab;
        }

        .scroll-track:active {
            cursor: grabbing;
        }

        .scroll-track::-webkit-scrollbar {
            display: none;
        }

        /* ==========================================
           COMPACT CARDS (in scroll row)
           ========================================== */
        .app-card {
            flex-shrink: 0;
            width: 280px;
            background: rgba(7, 7, 9, 0.95);
            border: 2px solid rgba(255, 204, 0, 0.3);
            border-radius: 16px;
            overflow: hidden;
            scroll-snap-align: start;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        }

        .app-card:hover {
            transform: translateY(-4px);
            border-color: rgba(255, 204, 0, 0.3);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .app-card.active {
            border-color: var(--primary);
            background: var(--primary);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.9), 0 8px 25px rgba(0, 0, 0, 0.7);
        }

        .card-header {
            display: flex;
            gap: 1rem;
            padding: 1rem;
            align-items: center;
        }

        .card-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, rgba(255, 204, 0, 0.1) 0%, rgba(255, 224, 102, 0.05) 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Space Mono', monospace;
            font-size: 1.25rem;
            color: var(--primary);
            flex-shrink: 0;
            transition: all 0.3s ease;
        }

        .app-card:hover .card-icon {
            background: var(--primary);
            color: #000;
        }

        .app-card.active .card-icon {
            background: #000;
            color: var(--primary);
        }

        .card-info {
            flex: 1;
            min-width: 0;
        }

        .card-category {
            font-family: 'Space Mono', monospace;
            font-size: 0.6rem;
            color: var(--primary);
            letter-spacing: 0.1em;
            text-transform: uppercase;
            margin-bottom: 0.2rem;
        }

        .card-title {
            font-size: 1rem;
            font-weight: 600;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            transition: color 0.3s ease;
        }

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

        .app-card.active .card-title {
            color: #000;
        }

        .app-card.active .card-category {
            color: #333;
        }

        .card-tagline {
            font-size: 0.75rem;
            color: var(--text-muted);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .app-card.active .card-tagline {
            color: #444;
        }

        .card-status {
            position: absolute;
            top: 0.75rem;
            right: 0.75rem;
            font-family: 'Space Mono', monospace;
            font-size: 0.55rem;
            padding: 0.2rem 0.5rem;
            background: rgba(0, 0, 0, 0.5);
            border-radius: 4px;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .card-status.live { color: var(--primary); }
        .card-status.beta { color: var(--secondary); }

        .app-card.active .card-status {
            background: rgba(0, 0, 0, 0.8);
        }

        /* ==========================================
           EXPANDED DETAIL PANEL
           ========================================== */
        .detail-panel {
            position: relative;
            z-index: 50;
            display: grid;
            grid-template-rows: 0fr;
            overflow: hidden;
            background: #070709;
            transition: grid-template-rows 0.5s ease, padding 0.5s ease;
        }

        .detail-panel > .detail-wrapper {
            overflow: hidden;
        }

        .detail-panel.active {
            grid-template-rows: 1fr;
            padding: 3rem 5vw;
        }

        .detail-content {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
        }

        .detail-panel.active .detail-content {
            opacity: 1;
            transform: translateY(0);
        }

        /* Detail Media */
        .detail-media {
            aspect-ratio: 16/10;
            background: linear-gradient(135deg, rgba(255, 204, 0, 0.08) 0%, rgba(255, 224, 102, 0.03) 100%);
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .detail-media .placeholder-icon {
            font-family: 'Space Mono', monospace;
            font-size: 5rem;
            color: var(--primary);
            opacity: 0.3;
        }

        /* Detail Info */
        .detail-info {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .detail-category {
            font-family: 'Space Mono', monospace;
            font-size: 0.75rem;
            color: var(--primary);
            letter-spacing: 0.2em;
            text-transform: uppercase;
            margin-bottom: 0.75rem;
        }

        .detail-title {
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 1rem;
            color: var(--text);
        }

        .detail-description {
            font-size: 1.1rem;
            color: var(--text-muted);
            line-height: 1.7;
            margin-bottom: 2rem;
        }

        .detail-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 2rem;
        }

        .detail-tag {
            padding: 0.4rem 0.8rem;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 100px;
            font-size: 0.75rem;
            color: var(--text-muted);
        }

        /* Under the Hood */
        .under-hood {
            padding: 1.5rem;
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 16px;
        }

        .hood-title {
            font-family: 'Space Mono', monospace;
            font-size: 0.7rem;
            color: var(--primary);
            letter-spacing: 0.15em;
            text-transform: uppercase;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid rgba(255, 204, 0, 0.2);
        }

        .hood-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.75rem;
        }

        .hood-item {
            padding: 0.75rem;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .hood-label {
            font-size: 0.65rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 0.25rem;
        }

        .hood-value {
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--text);
        }

        /* Close button */
        .close-btn {
            position: absolute;
            top: 1rem;
            right: 5vw;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: var(--text-muted);
            font-size: 1.25rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: none;
        }

        .detail-panel.active .close-btn {
            display: flex;
            align-items: center;
            justify-content: center;
        }

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

        .detail-wrapper {
            position: relative;
        }

        /* ==========================================
           RESPONSIVE
           ========================================== */
        @media (max-width: 1024px) {
            .detail-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            .detail-media {
                display: flex !important;
                visibility: visible !important;
                order: -1; /* Image first on mobile */
            }
        }

        /* ==========================================
           DESKTOP NAV
           ========================================== */
        .nav-desktop {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            padding: 1.25rem 5vw;
            background: transparent;
            z-index: 1000;
        }

        .nav-desktop a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 500;
            transition: all 0.3s ease;
            background: rgba(7, 7, 9, 0.9);
            padding: 0.5rem 1rem;
            border-radius: 6px;
        }

        .nav-desktop a:hover {
            color: var(--text);
        }

        .nav-desktop a.active {
            color: var(--primary);
        }

        @media (max-width: 1023px) {
            .nav-desktop { display: none; }
        }

        /* ==========================================
           MOBILE NAV
           ========================================== */
        .nav-mobile {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            display: flex;
            justify-content: space-around;
            padding: 1rem;
            background: rgba(7, 7, 9, 0.95);
            backdrop-filter: blur(20px);
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            z-index: 100;
        }

        .nav-mobile a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.7rem;
            text-align: center;
            transition: color 0.3s;
        }

        .nav-mobile a:hover,
        .nav-mobile a.active {
            color: var(--primary);
        }

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

        @media (max-width: 768px) {
            .app-card {
                width: 200px;
                min-width: 160px;
            }
            .header h1 {
                font-size: 2rem;
            }
            .detail-title {
                font-size: 1.5rem;
            }
            .detail-description {
                font-size: 1rem;
            }
            .detail-panel.active {
                padding: 2rem 4vw;
            }
            .detail-media {
                aspect-ratio: 16/9;
                min-height: 200px;
                display: flex !important;
                visibility: visible !important;
            }
            .hood-grid {
                grid-template-columns: 1fr;
            }
            .site-footer {
                padding-bottom: 100px;
            }
            .detail-problem, .detail-solution, .detail-now-possible {
                padding: 1rem;
            }
            .hood-section h3 {
                font-size: 1rem;
            }
        }

        @media (max-width: 480px) {
            .app-card {
                width: 160px;
                min-width: 140px;
            }
            .card-icon {
                font-size: 1.5rem;
            }
            .card-title {
                font-size: 0.85rem;
            }
            .detail-title {
                font-size: 1.25rem;
            }
            .detail-content {
                gap: 1.5rem;
            }
            .filter-tabs {
                gap: 0.3rem;
            }
            .filter-tab {
                padding: 0.5rem 0.8rem;
                font-size: 0.75rem;
            }
            .detail-media {
                min-height: 180px;
            }
        }

        /* ==========================================
           BACK LINK
           ========================================== */
        .back-link {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            padding: 0.8rem 1.5rem;
            background: var(--primary);
            color: #000;
            text-decoration: none;
            border-radius: 100px;
            font-weight: 600;
            font-size: 0.85rem;
            transition: all 0.3s ease;
            z-index: 1000;
        }

        .back-link:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 30px rgba(255, 204, 0, 0.3);
        }

        /* Scroll hint row with arrows */
        .scroll-hint-row {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            padding: 3.25rem 2rem 0.75rem 2rem;
            margin-bottom: -1.4rem;
        }

        .scroll-hint {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            font-size: 0.75rem;
            font-weight: 500;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: #000;
        }

        /* Scroll arrows container */
        .scroll-container {
            position: relative;
            overflow: visible;
        }

        .scroll-arrow {
            width: 36px;
            height: 36px;
            background: transparent;
            border: 2px solid #000;
            border-radius: 50%;
            color: #000;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .scroll-arrow.visible {
            opacity: 1;
        }

        .scroll-arrow:hover {
            background: rgba(0, 0, 0, 0.1);
            color: #000;
            transform: scale(1.1);
        }

        .scroll-arrow.left::after {
            content: '◀';
            font-size: 1rem;
        }

        .scroll-arrow.right::after {
            content: '▶';
            font-size: 1rem;
        }

        /* Coming Soon cards */
        .app-card.coming-soon {
            opacity: 0.6;
            border-style: dashed;
        }
        .app-card.coming-soon .card-icon {
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-muted);
        }
        .app-card.coming-soon:hover {
            opacity: 0.8;
            border-color: rgba(255, 204, 0, 0.2);
        }
        .app-card.coming-soon:hover .card-icon {
            background: rgba(255, 204, 0, 0.1);
            color: var(--primary);
        }

        /* ==========================================
           FULL BLURBS VIEW
           ========================================== */
        .full-blurbs-section {
            display: none;
            padding: 2rem 5vw;
            max-width: 1400px;
            margin: 0 auto;
        }

        .full-blurbs-section.active {
            display: block;
        }

        .full-blurb-card {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            padding: 2rem;
            margin-bottom: 1.5rem;
            transition: all 0.3s ease;
        }

        .full-blurb-card:hover {
            border-color: rgba(255, 204, 0, 0.3);
            background: rgba(255, 204, 0, 0.02);
        }

        .full-blurb-header {
            display: flex;
            gap: 1.5rem;
            align-items: flex-start;
            margin-bottom: 1rem;
        }

        .full-blurb-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, rgba(255, 204, 0, 0.15) 0%, rgba(255, 224, 102, 0.05) 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Space Mono', monospace;
            font-size: 1.5rem;
            color: var(--primary);
            flex-shrink: 0;
        }

        .full-blurb-meta {
            flex: 1;
        }

        .full-blurb-category {
            font-family: 'Space Mono', monospace;
            font-size: 0.7rem;
            color: var(--primary);
            letter-spacing: 0.15em;
            text-transform: uppercase;
            margin-bottom: 0.25rem;
        }

        .full-blurb-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }

        .full-blurb-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem;
        }

        .full-blurb-tag {
            padding: 0.25rem 0.6rem;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 100px;
            font-size: 0.7rem;
            color: var(--text-muted);
        }

        .full-blurb-description {
            font-size: 1rem;
            color: var(--text-muted);
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }

        .full-blurb-hood {
            padding: 1rem;
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 12px;
        }

        .full-blurb-hood-title {
            font-family: 'Space Mono', monospace;
            font-size: 0.65rem;
            color: var(--primary);
            letter-spacing: 0.15em;
            text-transform: uppercase;
            margin-bottom: 0.75rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid rgba(255, 204, 0, 0.2);
        }

        .full-blurb-hood-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 0.75rem;
        }

        .full-blurb-hood-item {
            padding: 0.5rem 0.75rem;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 6px;
            border: 1px solid rgba(255, 255, 255, 0.03);
        }

        /* ==========================================
           NEW STRUCTURE STYLES
           ========================================== */
        .section-label {
            font-family: 'Space Mono', monospace;
            font-size: 0.7rem;
            color: var(--primary);
            letter-spacing: 0.1em;
            text-transform: uppercase;
            margin-bottom: 0.5rem;
        }

        .detail-problem, .detail-solution {
            margin-bottom: 1.25rem;
        }

        .detail-problem p, .detail-solution p {
            font-size: 1rem;
            color: var(--text-muted);
            line-height: 1.7;
        }

        /* Now Possible Section - Highlight new affordances */
        .detail-now-possible {
            margin-bottom: 1.5rem;
            padding: 1.25rem;
            background: linear-gradient(135deg, rgba(57, 255, 20, 0.06) 0%, rgba(0, 229, 255, 0.04) 100%);
            border: 1px solid rgba(57, 255, 20, 0.2);
            border-radius: 12px;
            position: relative;
        }

        .detail-now-possible::before {
            content: '✦';
            position: absolute;
            top: -8px;
            left: 1rem;
            background: var(--bg);
            padding: 0 0.5rem;
            color: var(--secondary);
            font-size: 0.9rem;
        }

        .now-possible-list {
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .now-possible-item {
            font-size: 0.9rem;
            color: var(--text);
            line-height: 1.5;
            padding-left: 1.5rem;
            position: relative;
        }

        .now-possible-item::before {
            content: '→';
            position: absolute;
            left: 0;
            color: var(--secondary);
            font-weight: 600;
        }

        .detail-precision, .detail-bridge {
            margin-bottom: 1.25rem;
            padding: 1rem;
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 12px;
        }

        .precision-grid, .bridge-grid {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .precision-item {
            display: flex;
            gap: 0.75rem;
            padding: 0.5rem 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        }

        .precision-item:last-child {
            border-bottom: none;
        }

        .precision-label {
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--text);
            min-width: 140px;
            flex-shrink: 0;
        }

        .precision-value {
            font-size: 0.85rem;
            color: var(--text-muted);
            line-height: 1.5;
        }

        .bridge-item {
            display: flex;
            gap: 0.75rem;
            padding: 0.5rem 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        }

        .bridge-item:last-child {
            border-bottom: none;
        }

        .bridge-label {
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--text);
            min-width: 140px;
            flex-shrink: 0;
        }

        .bridge-value {
            font-size: 0.85rem;
            color: var(--text-muted);
            line-height: 1.5;
        }

        .detail-tech {
            margin-bottom: 1rem;
        }

        .tech-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem;
        }

        .tech-tag {
            padding: 0.3rem 0.7rem;
            background: rgba(0, 229, 255, 0.08);
            border: 1px solid rgba(0, 229, 255, 0.2);
            border-radius: 6px;
            font-size: 0.75rem;
            font-family: 'Space Mono', monospace;
            color: #00e5ff;
        }

        .detail-keywords {
            display: flex;
            flex-wrap: wrap;
            gap: 0.3rem;
            padding-top: 0.75rem;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        .detail-launch {
            margin-top: 1.5rem;
            padding-top: 1rem;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
        }

        .launch-button {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.85rem 1.75rem;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #000;
            font-weight: 600;
            font-size: 0.95rem;
            border-radius: 6px;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(255, 204, 0, 0.2);
        }

        .launch-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(255, 204, 0, 0.35);
        }

        .launch-arrow {
            font-size: 1.1rem;
            transition: transform 0.3s ease;
        }

        .launch-button:hover .launch-arrow {
            transform: translateX(4px);
        }

        .coming-soon-button {
            display: inline-flex;
            align-items: center;
            padding: 0.85rem 1.75rem;
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-muted);
            font-weight: 600;
            font-size: 0.95rem;
            border-radius: 6px;
            border: 1px dashed rgba(255, 255, 255, 0.3);
        }

        .keyword-tag {
            padding: 0.2rem 0.5rem;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 4px;
            font-size: 0.65rem;
            color: var(--text-muted);
            text-transform: lowercase;
        }

        .keyword-tag::before {
            content: '#';
            opacity: 0.5;
        }

        /* Terminology Section */
        .detail-terminology {
            margin-top: 1.5rem;
            padding-top: 1rem;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
        }

        .terminology-grid {
            display: grid;
            gap: 0.75rem;
        }

        .terminology-item {
            padding: 0.75rem 1rem;
            background: rgba(255, 204, 0, 0.03);
            border: 1px solid rgba(255, 204, 0, 0.1);
            border-radius: 8px;
            border-left: 3px solid var(--primary);
        }

        .terminology-term {
            font-family: 'Space Mono', monospace;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 0.25rem;
        }

        .terminology-definition {
            font-size: 0.8rem;
            color: var(--text-muted);
            line-height: 1.5;
        }

        /* Full blurb new structure */
        .full-blurb-section-block {
            margin-bottom: 1.25rem;
        }

        .full-blurb-section-block h4 {
            font-family: 'Space Mono', monospace;
            font-size: 0.7rem;
            color: var(--primary);
            letter-spacing: 0.1em;
            text-transform: uppercase;
            margin-bottom: 0.5rem;
        }

        .full-blurb-section-block p {
            font-size: 1rem;
            color: var(--text-muted);
            line-height: 1.7;
        }

        .full-blurb-now-possible {
            margin-bottom: 1.25rem;
            padding: 1rem;
            background: linear-gradient(135deg, rgba(57, 255, 20, 0.06) 0%, rgba(0, 229, 255, 0.04) 100%);
            border: 1px solid rgba(57, 255, 20, 0.2);
            border-radius: 10px;
        }

        .full-blurb-now-possible h4 {
            font-family: 'Space Mono', monospace;
            font-size: 0.7rem;
            color: var(--secondary);
            letter-spacing: 0.1em;
            text-transform: uppercase;
            margin-bottom: 0.75rem;
        }

        .full-blurb-hood-label {
            font-size: 0.6rem;
            color: var(--text-dim);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 0.15rem;
        }

        .full-blurb-hood-value {
            font-size: 0.8rem;
            font-weight: 500;
            color: var(--text);
        }

        .scroll-section.hidden {
            display: none;
        }

        /* ==========================================
           CATEGORY INTRO SECTION
           ========================================== */
        .category-intro {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0.75rem 5vw 0.25rem;
        }

        .category-intro-title {
            font-size: clamp(1.75rem, 4vw, 2.5rem);
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }

        .category-intro-description {
            font-size: 0.9rem;
            color: var(--text-muted);
            line-height: 1.6;
            max-width: 800px;
        }

        .category-intro-description strong {
            color: var(--text);
        }

        .category-intro-cta {
            margin-top: 0.75rem;
            font-size: 0.75rem;
            color: #666666;
            font-style: italic;
        }

        /* ==========================================
           FOOTER COMPONENT - uses var(--primary) for auto color adaptation
           ========================================== */
        .site-footer {
            margin-top: 4rem;
            padding: 2rem 5vw;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            text-align: center;
        }

        .footer-contact {
            margin: 1rem auto;
            max-width: 400px;
        }

        .footer-contact-btn {
            display: inline-block;
            padding: 0.75rem 1.5rem;
            background: transparent;
            border: 1px solid var(--primary);
            border-radius: 8px;
            color: var(--primary);
            font-weight: 500;
            font-size: 0.85rem;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .footer-contact-btn:hover {
            background: var(--primary);
            color: #000;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 204, 0, 0.3);
        }

        .footer-social {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin: 1.5rem 0;
        }

        .footer-social a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.85rem;
            transition: all 0.3s ease;
        }

        .footer-social a:hover {
            color: var(--primary);
            transform: translateY(-2px);
        }

        .social-icon {
            width: 20px;
            height: 20px;
            opacity: 0.5;
            transition: opacity 0.3s ease;
        }

        .footer-social a:hover .social-icon {
            opacity: 1;
        }

        .footer-copyright {
            font-size: 0.75rem;
            color: var(--text-muted);
            margin-top: 1rem;
        }

        .footer-credit {
            font-size: 0.65rem;
            color: #555;
            margin-top: 0.5rem;
            letter-spacing: 0.02em;
        }

        /* ==========================================
           DECORATIVE FOOTER IMAGE - CYCLING
           ========================================== */
        .deco-footer-container {
            position: fixed;
            left: 20px;
            bottom: 0;
            z-index: 9999;
            pointer-events: none;
        }

        .deco-footer-image {
            position: absolute;
            left: 0;
            bottom: 0;
            width: auto;
            height: 42vh;
            max-width: 50vw;
            opacity: 0;
            transition: opacity 1.5s ease-in-out;
        }

        .deco-footer-image.active {
            opacity: 1;
        }

        @media (max-width: 1200px) {
            .deco-footer-image {
                height: 34vh;
                max-width: 56vw;
            }
        }

        @media (max-width: 768px) {
            .deco-footer-image {
                height: 28vh;
                max-width: 70vw;
            }
        }

        /* ==========================================
           TERMINOLOGY TOOLTIPS
           ========================================== */
        .term {
            border-bottom: 1px dotted var(--primary);
            cursor: help;
            position: relative;
            display: inline;
        }

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

        .term-tooltip {
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(20, 20, 24, 0.98);
            border: 1px solid var(--primary-dark);
            border-radius: 8px;
            padding: 0.75rem 1rem;
            font-size: 0.8rem;
            color: var(--text);
            min-width: 280px;
            max-width: 350px;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s ease, visibility 0.2s ease;
            pointer-events: none;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
            line-height: 1.5;
            text-align: left;
            margin-bottom: 8px;
        }

        .term-tooltip::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            border: 6px solid transparent;
            border-top-color: var(--primary-dark);
        }

        .term:hover .term-tooltip {
            opacity: 1;
            visibility: visible;
        }

        .term-tooltip strong {
            color: var(--primary);
            display: block;
            margin-bottom: 0.25rem;
        }

        .term-tooltip em {
            color: var(--text-muted);
            font-style: italic;
        }
