        /* Basic Reset & Font */
        :root {
            --brand-orange: #F15F22;
            --brand-orange-dark: #D9501A;
            --brand-green: #4ade80;
            --brand-red: #f87171;
            --brand-yellow: #facc15;
            --brand-blue: #38bdf8; /* Replaces purple for PLAN */
            --bg-dark: #111827;
            --bg-panel: rgba(31, 41, 55, 0.5);
            --bg-dropdown: #1f2937;
            --text-light: #E5E7EB;
            --text-medium: #9CA3AF;
            --border-color: rgba(255, 255, 255, 0.1);
        }
        html {
            -webkit-text-size-adjust: 100%;
            text-size-adjust: 100%;
        }
        body {
            background-color: var(--bg-dark);
            color: var(--text-light);
            font-family: 'Inter', sans-serif;
            margin: 0;
            line-height: 1.6;
            scroll-behavior: smooth;
            position: relative;
            width: 100%;
            min-width: 100%;
            -webkit-text-size-adjust: 100%;
            text-size-adjust: 100%;
            overflow-x: clip; /* Use clip instead of hidden to preserve sticky */
        }
        body.mobile-nav-open {
            overflow: hidden;
        }
        .fira-code {
            font-family: 'Fira Code', monospace;
        }
        /* Page Structure */
        main {
            padding-top: 64px;
        }
        .container {
            width: 100%;
            max-width: 1280px;
            margin-left: auto;
            margin-right: auto;
            padding-left: 1rem;
            padding-right: 1rem;
        }
        section {
            padding-top: 5rem;
            padding-bottom: 5rem;
            position: relative;
        }
        .section-divider {
            height: 1px;
            background: linear-gradient(to right, transparent, var(--border-color), transparent);
            margin: 0 auto;
            max-width: 24rem;
        }
        
        /* Supersection styling */
        .supersection {
            padding: 0;
        }
        .supersection > section {
            padding-top: 0;
        }
        .supersection > section:first-of-type {
            padding-top: 3rem;
        }
        .supersection-header {
            text-align: center;
            padding: 0.5rem 0.5rem;
            border-bottom: 2px solid rgba(255, 255, 255, 0.5);
            position: sticky;
            top: 68px;
            background: rgba(17, 24, 39, 0.95);
            backdrop-filter: blur(20px);
            z-index: 40;
            margin-bottom: 0;
            margin-top: 0;
        }
        @media (min-width: 1400px) {
            .supersection-header {
                top: 65px;
                padding: 1.25rem 1rem;
            }
            .supersection-title {
                font-size: 2.5rem;
                margin: 0 0 0.5rem 0;
                gap: 1rem;
            }
            .supersection-icon {
                width: 2.5rem;
                height: 2.5rem;
            }
            .supersection-subtitle {
                font-size: 1rem;
            }
        }
        @media (max-width: 768px) {
            .supersection-header {
                top: 65px;
                padding: 0.35rem 0.5rem;
            }
            .supersection-title {
                font-size: 1.125rem;
                margin: 0 0 0.15rem 0;
                gap: 0.5rem;
            }
            .supersection-icon {
                width: 1.125rem;
                height: 1.125rem;
            }
            .supersection-subtitle {
                font-size: 0.65rem;
                line-height: 1.15;
            }
        }
        .supersection-title {
            font-size: 1.5rem;
            font-weight: 800;
            margin: 0 0 0.25rem 0;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.625rem;
            letter-spacing: -0.03em;
        }
        .supersection-icon {
            width: 1.5rem;
            height: 1.5rem;
        }
        .supersection-subtitle {
            font-size: 0.8125rem;
            color: var(--text-medium);
            margin: 0;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.2;
        }
        
        /* Sovereignty Supersection Theme (Neutral with subtle accent) */
        .sovereignty-supersection {
            padding-bottom: 4rem;
        }
        .sovereignty-supersection .supersection-header {
            border-bottom-color: rgba(255, 255, 255, 0.5);
            background: rgba(17, 24, 39, 0.95);
        }
        .sovereignty-supersection .supersection-title {
            color: #e2e8f0;
        }
        .sovereignty-supersection .supersection-icon {
            color: #94a3b8;
        }
        
        /* Intelligence Supersection Theme (Neutral with subtle accent) */
        .intelligence-supersection {
            padding-bottom: 4rem;
        }
        .intelligence-supersection .supersection-header {
            border-bottom-color: rgba(255, 255, 255, 0.5);
            background: rgba(17, 24, 39, 0.95);
        }
        .intelligence-supersection .supersection-title {
            color: #e2e8f0;
        }
        .intelligence-supersection .supersection-icon {
            color: #94a3b8;
        }
        
        /* Efficiency Supersection Theme (Neutral with subtle accent) */
        .efficiency-supersection .supersection-header {
            border-bottom-color: rgba(255, 255, 255, 0.5);
            background: rgba(17, 24, 39, 0.95);
        }
        .efficiency-supersection .supersection-title {
            color: #e2e8f0;
        }
        .efficiency-supersection .supersection-icon {
            color: #94a3b8;
        }

        /* Explore Supersection Theme */
        .explore-supersection {
            padding-bottom: 4rem;
        }
        .explore-supersection .supersection-icon {
            color: #94a3b8;
        }

        /* Trust Supersection Theme (Blue-tinted for trust/security) */
        .trust-supersection {
            padding-bottom: 4rem;
        }
        .trust-supersection .supersection-header {
            border-bottom-color: rgba(255, 255, 255, 0.5);
            background: rgba(17, 24, 39, 0.95);
        }
        .trust-supersection .supersection-title {
            color: #e2e8f0;
        }
        .trust-supersection .supersection-icon {
            color: #94a3b8;
        }

        /* Audit Card Styles */
        .audit-card {
            background-color: var(--bg-panel);
            border: 1px solid var(--border-color);
            padding: 1.5rem;
            border-radius: 0.75rem;
            text-align: left;
            transition: background-color 0.2s ease, transform 0.2s ease;
            display: flex;
            flex-direction: column;
        }
        .audit-card:hover {
            background-color: rgba(31, 41, 55, 0.8);
            transform: translateY(-5px);
        }
        .audit-card-header {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        .audit-card-header .icon {
            color: var(--brand-blue);
            width: 2.5rem;
            height: 2.5rem;
            flex-shrink: 0;
        }
        .audit-card-header h4 {
            font-size: 1.125rem;
            font-weight: 700;
            color: white;
            margin: 0;
        }
        .audit-card-header .value-prop {
            font-size: 0.8rem;
            color: var(--brand-orange);
            margin-top: 0.25rem;
            font-style: italic;
        }
        .audit-card p.description {
            font-size: 0.875rem;
            color: var(--text-medium);
            margin: 0 0 1rem 0;
            line-height: 1.6;
        }
        .audit-card-animation {
            flex-grow: 1;
            min-height: 180px;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 0.5rem;
            border: 1px solid var(--border-color);
            padding: 0.75rem;
            font-family: 'Fira Code', monospace;
            font-size: 0.7rem;
            overflow: hidden;
            position: relative;
        }

        /* Event Stream Animation (Card 2: Total Recall) */
        .event-stream {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
            height: 100%;
        }
        .event-stream-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.25rem 0.5rem;
            border-radius: 0.25rem;
            opacity: 0;
            animation: fadeInEvent 0.3s ease forwards;
            background: rgba(0, 0, 0, 0.2);
        }
        .event-stream-item.success { border-left: 2px solid var(--brand-green); }
        .event-stream-item.warning { border-left: 2px solid var(--brand-yellow); }
        .event-stream-item.error { border-left: 2px solid var(--brand-red); }
        .event-stream-item .dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            flex-shrink: 0;
        }
        .event-stream-item.success .dot { background: var(--brand-green); }
        .event-stream-item.warning .dot { background: var(--brand-yellow); }
        .event-stream-item.error .dot { background: var(--brand-red); animation: pulse-dot 1s infinite; }
        .event-stream-item .time { color: var(--text-medium); }
        .event-stream-item .action { color: var(--text-light); flex-grow: 1; }
        .event-stream-item .user { color: var(--text-medium); }
        .event-stream-counter {
            text-align: center;
            color: var(--text-medium);
            font-size: 0.65rem;
            margin-top: 0.5rem;
            padding-top: 0.5rem;
            border-top: 1px solid var(--border-color);
        }
        .event-stream-counter span {
            color: var(--brand-blue);
            font-weight: 600;
        }
        @keyframes fadeInEvent {
            from { opacity: 0; transform: translateY(-5px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes pulse-dot {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.4; }
        }

        /* Diff Viewer Animation (Card 3: Perfect Memory) */
        .diff-viewer {
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        .diff-viewer-header {
            color: var(--text-medium);
            font-size: 0.65rem;
            margin-bottom: 0.5rem;
            padding-bottom: 0.25rem;
            border-bottom: 1px solid var(--border-color);
        }
        .diff-line {
            padding: 0.2rem 0.4rem;
            border-radius: 0.2rem;
            margin: 0.15rem 0;
        }
        .diff-line.removed {
            background: rgba(248, 113, 113, 0.15);
            color: var(--brand-red);
            text-decoration: line-through;
            opacity: 0;
            animation: diffRemove 8s ease-in-out infinite;
        }
        .diff-line.added {
            background: rgba(74, 222, 128, 0.15);
            color: var(--brand-green);
            opacity: 0;
            animation: diffAdd 8s ease-in-out 2s infinite;
        }
        .diff-timeline {
            display: flex;
            align-items: center;
            gap: 0.25rem;
            margin: 0.75rem 0 0.5rem 0;
            font-size: 0.6rem;
        }
        .diff-timeline-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--text-medium);
            transition: all 0.3s ease;
        }
        .diff-timeline-dot.active {
            background: var(--brand-blue);
            box-shadow: 0 0 6px var(--brand-blue);
        }
        /* Animated timeline dots - v1, v2, v3 progression (8s cycle) */
        .diff-timeline-dot.dot-v1 {
            animation: dotV1 8s ease-in-out infinite;
        }
        .diff-timeline-dot.dot-v2 {
            animation: dotV2 8s ease-in-out infinite;
        }
        .diff-timeline-dot.dot-v3 {
            animation: dotV3 8s ease-in-out infinite;
        }
        @keyframes dotV1 {
            0%, 5% { background: var(--text-medium); box-shadow: none; }
            8%, 28% { background: var(--brand-blue); box-shadow: 0 0 6px var(--brand-blue); }
            33%, 100% { background: var(--text-medium); box-shadow: none; }
        }
        @keyframes dotV2 {
            0%, 30% { background: var(--text-medium); box-shadow: none; }
            35%, 55% { background: var(--brand-blue); box-shadow: 0 0 6px var(--brand-blue); }
            60%, 100% { background: var(--text-medium); box-shadow: none; }
        }
        @keyframes dotV3 {
            0%, 55% { background: var(--text-medium); box-shadow: none; }
            60%, 92% { background: var(--brand-blue); box-shadow: 0 0 6px var(--brand-blue); }
            97%, 100% { background: var(--text-medium); box-shadow: none; }
        }
        .diff-timeline-line {
            height: 2px;
            width: 20px;
            background: var(--border-color);
        }
        .diff-meta {
            font-size: 0.6rem;
            color: var(--text-medium);
            margin-top: auto;
            padding-top: 0.5rem;
            border-top: 1px solid var(--border-color);
            opacity: 0;
            animation: fadeIn 0.3s ease 0.6s forwards;
        }
        .diff-meta .user { color: var(--brand-orange); }
        @keyframes diffRemove {
            0% { opacity: 0; }
            8% { opacity: 0.8; }
            35% { opacity: 0.8; }
            45% { opacity: 0.3; }
            90% { opacity: 0.3; }
            100% { opacity: 0; }
        }
        @keyframes diffAdd {
            0% { opacity: 0; transform: translateX(-10px); }
            8% { opacity: 0; transform: translateX(-10px); }
            20% { opacity: 1; transform: translateX(0); }
            90% { opacity: 1; transform: translateX(0); }
            100% { opacity: 0; transform: translateX(0); }
        }
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        /* Export Dashboard Animation (Card 1: Compliance Ready) */
        .export-dashboard {
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        .export-dashboard-title {
            color: var(--text-light);
            font-size: 0.7rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            text-align: center;
        }
        .export-metrics {
            display: flex;
            justify-content: space-around;
            gap: 0.5rem;
            margin-bottom: 0.75rem;
        }
        .export-metric {
            text-align: center;
            padding: 0.5rem;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 0.375rem;
            border: 1px solid var(--border-color);
            flex: 1;
        }
        .export-metric-value {
            font-size: 1rem;
            font-weight: 700;
            color: var(--brand-blue);
            display: block;
        }
        .export-metric-label {
            font-size: 0.55rem;
            color: var(--text-medium);
            text-transform: uppercase;
        }
        .export-badges {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin-bottom: 0.75rem;
        }
        .export-badge {
            padding: 0.25rem 0.5rem;
            border-radius: 0.25rem;
            font-size: 0.6rem;
            font-weight: 600;
            background: rgba(74, 222, 128, 0.15);
            color: var(--brand-green);
            border: 1px solid rgba(74, 222, 128, 0.3);
            animation: badgePulse 2s ease-in-out infinite;
        }
        .export-badge:nth-child(2) {
            animation-delay: 0.5s;
        }
        .export-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.25rem;
            padding: 0.4rem 0.75rem;
            background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
            color: white;
            border: none;
            border-radius: 0.375rem;
            font-size: 0.65rem;
            font-weight: 600;
            cursor: default;
            margin: 0 auto 0.5rem auto;
            position: relative;
            overflow: hidden;
        }
        .export-btn::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            animation: shimmer 2s infinite;
        }
        .export-footer {
            font-size: 0.55rem;
            color: var(--text-medium);
            text-align: center;
            margin-top: auto;
            padding-top: 0.5rem;
            border-top: 1px solid var(--border-color);
        }
        @keyframes badgePulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.8; transform: scale(1.02); }
        }
        @keyframes shimmer {
            0% { left: -100%; }
            50%, 100% { left: 100%; }
        }

        /* Audit Comparison Panel (Tab 2) */
        .audit-comparison {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
            margin-top: 2rem;
        }
        @media (min-width: 768px) {
            .audit-comparison {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        .audit-comparison-panel {
            background: var(--bg-panel);
            border: 1px solid var(--border-color);
            border-radius: 0.75rem;
            padding: 1.25rem;
            text-align: center;
        }
        .audit-comparison-panel h4 {
            font-size: 1rem;
            font-weight: 700;
            color: white;
            margin: 0 0 0.5rem 0;
        }
        .audit-comparison-panel .subtitle {
            font-size: 0.8rem;
            color: var(--text-medium);
            margin-bottom: 1rem;
        }
        .audit-comparison-panel.uderia {
            border-color: rgba(241, 95, 34, 0.3);
        }
        .audit-comparison-panel.uderia h4 {
            color: var(--brand-orange);
        }
        .audit-event-display {
            background: rgba(0, 0, 0, 0.4);
            border-radius: 0.5rem;
            padding: 1rem;
            font-family: 'Fira Code', monospace;
            font-size: 0.7rem;
            text-align: left;
            min-height: 200px;
        }
        .audit-event-line {
            color: var(--text-medium);
            margin: 0.2rem 0;
            opacity: 0;
        }
        .audit-event-line.visible {
            animation: typeIn 0.3s ease forwards;
        }
        .audit-event-line .label { color: var(--text-medium); }
        .audit-event-line .value { color: var(--brand-blue); }
        .audit-event-line .value.highlight { color: var(--brand-orange); }
        .audit-event-line .value.success { color: var(--brand-green); }
        @keyframes typeIn {
            from { opacity: 0; transform: translateX(-5px); }
            to { opacity: 1; transform: translateX(0); }
        }
        .audit-result-box {
            margin-top: 1rem;
            padding: 0.75rem;
            border-radius: 0.5rem;
            text-align: center;
            opacity: 0;
        }
        .audit-result-box.visible {
            animation: fadeIn 0.5s ease forwards;
        }
        .audit-result-box.unknown {
            background: rgba(156, 163, 175, 0.1);
            border: 1px solid rgba(156, 163, 175, 0.2);
        }
        .audit-result-box.verified {
            background: rgba(241, 95, 34, 0.1);
            border: 1px solid rgba(241, 95, 34, 0.3);
        }
        .audit-result-box .title {
            font-weight: 600;
            font-size: 0.85rem;
            margin: 0;
        }
        .audit-result-box.unknown .title { color: var(--text-medium); }
        .audit-result-box.verified .title { color: var(--brand-orange); }
        .audit-result-box .desc {
            font-size: 0.7rem;
            color: var(--text-medium);
            margin: 0.25rem 0 0 0;
        }

        @media (max-width: 768px) {
            .supersection-title {
                font-size: 1.25rem;
                margin: 0 0 0.25rem 0;
                gap: 0.5rem;
            }
            .supersection-icon {
                width: 1.25rem;
                height: 1.25rem;
            }
            .supersection-subtitle {
                font-size: 0.75rem;
                line-height: 1.2;
            }
        }
        /* Header & Navigation */
        header {
            width: 100%;
            background-color: rgba(17, 24, 39, 0.7);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border-color);
            padding: 1rem 1rem;
            position: fixed;
            top: 0;
            z-index: 50;
            overflow: visible;
        }
        @media (min-width: 1400px) {
            header {
                padding: 0.75rem 0;
            }
        }
        header .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: none !important;
            width: 100%;
            padding-left: 1rem;
            padding-right: 1rem;
            margin: 0;
            box-sizing: border-box;
        }
        @media (min-width: 1400px) {
            header .container {
                padding-left: 3rem;
                padding-right: 3rem;
            }
        }
        header .logo-container {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            z-index: 101;
            flex-shrink: 0;
        }
        
        /* Mobile Navigation */
        .mobile-nav-toggle {
            display: none;
            background: none;
            border: none;
            padding: 0.5rem;
            z-index: 101;
        }
        @media (max-width: 1024px) {
            .mobile-nav-toggle { display: block; }
        }
        .mobile-nav-toggle .icon-hamburger,
        .mobile-nav-toggle .icon-close {
            display: block;
            width: 24px;
            height: 24px;
            color: var(--text-light);
        }
        .mobile-nav-toggle .icon-close { display: none; }
        .mobile-nav-open .mobile-nav-toggle .icon-hamburger { display: none; }
        .mobile-nav-open .mobile-nav-toggle .icon-close { display: block; }
        
        .nav-links-container {
            display: flex;
            align-items: center;
            gap: 1rem;
            overflow: visible;
            flex-shrink: 0;
        }
        @media (max-width: 1024px) {
            .nav-links-container {
                position: fixed;
                inset: 0;
                background-color: rgba(17, 24, 39, 0.95);
                backdrop-filter: blur(10px);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 2rem;
                opacity: 0;
                transform: translateY(-1rem);
                pointer-events: none;
                transition: opacity 0.3s ease, transform 0.3s ease;
            }
            .mobile-nav-open .nav-links-container {
                opacity: 1;
                transform: translateY(0);
                pointer-events: auto;
            }
        }
        header nav {
            display: flex;
            align-items: center;
            gap: 0.65rem;
            flex-shrink: 1;
            flex-wrap: nowrap;
        }
        @media (max-width: 1024px) {
            header nav {
                flex-direction: column;
                gap: 2rem;
            }
            header nav a, .dropdown .drop-btn {
                font-size: 1.25rem !important;
            }
        }
        header nav a {
            font-size: 0.8125rem;
            font-weight: 500;
            color: var(--text-medium);
            text-decoration: none;
            transition: color 0.2s ease;
            white-space: nowrap;
            flex-shrink: 1;
            position: relative;
        }
        header nav a:hover,
        header nav a:focus-visible {
            color: white;
        }
        header nav a.active {
            color: var(--primary-color);
            font-weight: 600;
        }
        header nav a.active::after {
            content: '';
            position: absolute;
            bottom: -0.5rem;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--primary-color);
        }

        /* Nav Dropdown */
        .dropdown {
            position: relative;
            display: inline-block;
        }
        .dropdown .drop-btn {
            background: none;
            border: none;
            color: var(--text-medium);
            font-family: 'Inter', sans-serif;
            font-size: 0.8125rem;
            font-weight: 500;
            cursor: pointer;
            transition: color 0.2s ease;
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }
        .dropdown .drop-btn .arrow-icon {
            width: 16px;
            height: 16px;
            transition: transform 0.2s ease-in-out;
        }
        .dropdown .drop-btn:hover,
        .dropdown .drop-btn:focus-visible { 
            color: white; 
        }
        .dropdown-content {
            display: none;
            position: absolute;
            background: linear-gradient(135deg, rgba(31, 41, 55, 0.98), rgba(17, 24, 39, 0.98));
            min-width: 180px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
            z-index: 1000;
            border-radius: 0.75rem;
            border: 1px solid rgba(241, 95, 34, 0.2);
            top: 100%;
            right: 0;
            margin-top: 0.5rem;
            overflow: hidden;
            animation: fadeIn 0.2s ease-in-out;
            backdrop-filter: blur(20px);
            padding: 0.375rem;
        }
        .dropdown.open .dropdown-content { display: block; }
        .dropdown.open .arrow-icon { transform: rotate(180deg); }

        @media (max-width: 1024px) {
            .dropdown-content {
                background-color: transparent;
                box-shadow: none;
                border: none;
                position: static;
                transform: none;
                text-align: center;
                margin-top: 0;
                padding: 0.5rem 0;
            }
            .dropdown-content a { padding: 0.75rem 1rem; }
        }
        .dropdown-content a {
            color: var(--text-light);
            padding: 0.65rem 1rem;
            text-decoration: none;
            display: block;
            font-size: 0.8125rem;
            font-weight: 500;
            border-radius: 0.5rem;
            transition: all 0.2s ease;
            position: relative;
        }
        .dropdown-content a:hover,
        .dropdown-content a:focus-visible {
            background-color: rgba(241, 95, 34, 0.1);
            color: var(--brand-orange);
            transform: translateX(4px);
        }
        .dropdown-content a:not(:last-child) {
            margin-bottom: 0.125rem;
        }
        
        .btn-nav-cta {
            background-color: transparent;
            border: 1px solid var(--brand-orange);
            color: var(--brand-orange) !important;
            padding: 0.5rem 1rem;
            border-radius: 0.375rem;
            font-size: 0.8125rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.2s ease;
            white-space: nowrap;
            flex-shrink: 0;
            min-width: fit-content;
            cursor: pointer;
        }
        .btn-nav-cta:hover,
        .btn-nav-cta:focus-visible {
            background-color: var(--brand-orange);
            color: white !important;
        }
        .btn-nav-cta svg {
            transition: transform 0.2s ease;
        }

        /* Hero Section */
        .hero {
            position: relative;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            overflow: hidden;
            background-color: #0c1222;
            padding: 80px 0 64px 0;
            box-sizing: border-box;
        }
        .particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            background-image:
                radial-gradient(circle at center, rgba(241, 95, 34, 0.1) 0, transparent 3px),
                radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0, transparent 1px);
            background-size: 50px 50px, 25px 25px;
            animation: moveParticles 20s linear infinite;
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
            -webkit-transform: translateZ(0);
            transform: translateZ(0);
        }
        /* Disable particles animation on touch devices to prevent Safari rendering artifacts */
        @media (hover: none) and (pointer: coarse) {
            .particles {
                animation: none;
                background-position: 0 0, 0 0;
            }
        }
        @keyframes moveParticles {
            from { background-position: 0 0, 0 0; }
            to { background-position: 500px 500px, 250px 250px; }
        }
        @keyframes taglineSlideIn {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 0.75; transform: translateY(0); }
        }
        @keyframes titleFadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes logoFadeIn {
            from { opacity: 0; transform: scale(0.92); }
            to { opacity: 1; transform: scale(1); }
        }
        @keyframes logoFloat {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-12px); }
        }
        @keyframes logoFloatLower {
            0%, 100% { transform: translateY(8px); }
            50% { transform: translateY(-4px); }
        }
        @keyframes textFadeIn {
            from { opacity: 0; transform: translateY(15px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes buttonSlideIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .hero-overlay {
            position: absolute;
            inset: 0;
            background: 
                radial-gradient(ellipse 900px 700px at 50% 10%, rgba(241, 95, 34, 0.08), transparent),
                radial-gradient(ellipse at 50% 50%, transparent 35%, rgba(10, 14, 26, 0.95) 100%);
            z-index: 1;
        }
        .hero-content {
            position: relative;
            z-index: 10;
            max-width: 56rem;
            width: 100%;
            margin: 0 auto;
            padding: 2rem 1rem;
            animation: fadeIn 1.5s ease-in-out;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        .hero-taglines {
            display: flex;
            justify-content: center;
            gap: 0.5rem 1.5rem;
            color: var(--text-medium);
            font-size: 1rem;
            font-weight: 500;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
            text-shadow: 0 0 5px rgba(0,0,0,0.5);
        }
         @media (min-width: 640px) {
            .hero-taglines { font-size: 1.125rem; }
        }
        .hero-taglines .separator {
            color: var(--brand-orange);
            opacity: 0.6;
            display: none;
        }
        @media (min-width: 768px) {
            .hero-taglines .separator { display: inline; }
        }
        .hero-primary-tagline {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--brand-orange);
            margin-bottom: 2rem;
            display: block;
            letter-spacing: 0.05em;
        }
        @media (min-width: 640px) {
            .hero-primary-tagline { font-size: 1.5rem; }
        }

        .hero-buttons {
            margin-top: 2.5rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 1rem;
        }
        @media (min-width: 640px) {
            .hero-buttons { flex-direction: row; }
        }

        /* Typography */
        h1, h2, h3 {
            font-weight: 800;
            color: white;
        }
        h1 { font-size: 2.5rem; margin-bottom: 1rem; }
        @media (min-width: 768px) { h1 { font-size: 3.75rem; } }
        h2 { font-size: 2.25rem; margin-bottom: 1rem; }
        h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
        .header-title {
            text-shadow: 0 0 15px rgba(241, 95, 34, 0.6);
        }
        .gradient-text {
            background: linear-gradient(to right, var(--brand-orange), #FF8C00);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .section-intro {
            max-width: 48rem;
            margin-left: auto;
            margin-right: auto;
            color: var(--text-medium);
            text-align: center;
        }
        .tagline {
            font-size: 1.25rem;
            font-weight: 500;
            color: var(--text-medium);
            margin-top: -0.5rem;
            margin-bottom: 2.5rem;
            letter-spacing: 0.025em;
        }

        /* Buttons */
        .btn {
            padding: 0.75rem 2rem;
            border-radius: 0.5rem;
            font-weight: 600;
            font-size: 1.125rem;
            text-decoration: none;
            text-align: center;
            width: 100%;
            transition: all 0.2s ease;
        }
        @media (min-width: 640px) {
            .btn { width: auto; }
        }
        .btn-primary {
            background-color: var(--brand-orange);
            color: white;
        }
        .btn-primary:hover,
        .btn-primary:focus-visible {
            background-color: var(--brand-orange-dark);
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(241, 95, 34, 0.2);
        }
        .btn-secondary {
            background-color: transparent;
            border: 1px solid var(--brand-orange);
            color: var(--brand-orange);
        }
        .btn-secondary:hover,
        .btn-secondary:focus-visible {
            background-color: var(--brand-orange);
            color: white;
            transform: translateY(-2px);
        }
        /* Cards & Panels */
        .card {
            background-color: var(--bg-panel);
            border: 1px solid var(--border-color);
            backdrop-filter: blur(10px);
            padding: 1.5rem;
            border-radius: 0.75rem;
        }
        .bg-gray-900-50 {
            background-color: rgba(17, 24, 39, 0.5);
        }
        
        /* Clarity Demonstrator Styles */
        .clarity-demonstrator {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            margin-top: 3rem;
        }
        @media (min-width: 1024px) {
            .clarity-demonstrator {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        .clarity-panel {
            display: flex;
            flex-direction: column;
        }
        .clarity-panel-content {
            flex-grow: 1;
            padding: 1.5rem;
            border-radius: 0.75rem;
            border: 1px solid var(--border-color);
            background-color: var(--bg-panel);
        }
        .clarity-panel h4 {
            font-size: 1.125rem;
            font-weight: 600;
            margin: 0 0 0.25rem 0;
            color: white;
        }
        .clarity-panel .subtitle {
            font-size: 0.75rem;
            color: var(--text-medium);
            margin-bottom: 1rem;
        }
        .clarity-panel .result-box {
            margin-top: 1rem;
            text-align: center;
            width: 100%;
        }
        .clarity-panel .result-box .arrow {
            width: 1.5rem;
            height: 1.5rem;
            margin: 0 auto 0.5rem auto;
            color: var(--text-medium);
        }
        .clarity-panel .result-box .result-text {
            background-color: rgba(17, 24, 39, 0.7);
            border: 1px solid var(--border-color);
            padding: 0.75rem;
            border-radius: 0.5rem;
        }
        .clarity-panel .result-box .result-text .title {
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--text-light);
        }
        .clarity-panel .result-box .result-text .desc {
            font-size: 0.75rem;
            color: var(--text-medium);
        }
        .glass-box {
            position: relative;
            background: rgba(241, 95, 34, 0.05);
            border: 1px solid rgba(241, 95, 34, 0.2);
            backdrop-filter: blur(10px);
            box-shadow: 0 0 15px rgba(241, 95, 34, 0.2), inset 0 0 15px rgba(241, 95, 34, 0.1);
            animation: pulse-glow-orange 5s infinite alternate;
        }
        @keyframes pulse-glow-orange {
            from {
                box-shadow: 0 0 15px rgba(241, 95, 34, 0.2), inset 0 0 15px rgba(241, 95, 34, 0.1);
                border-color: rgba(241, 95, 34, 0.2);
            }
            to {
                box-shadow: 0 0 30px rgba(241, 95, 34, 0.4), inset 0 0 20px rgba(241, 95, 34, 0.2);
                border-color: rgba(241, 95, 34, 0.4);
            }
        }
        .black-box {
            position: relative;
            background-color: #020205;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }
        .black-box-content {
             flex-grow: 1; display: flex; align-items: center; justify-content: center;
        }
        .black-box::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 200%;
            height: 200%;
            background: conic-gradient(
                from 0deg at 50% 50%,
                #6366f1, #a855f7, #ec4899, #f59e0b, #6366f1
            );
            opacity: 0.1;
            transform: translate(-50%, -50%);
            animation: swirl 8s linear infinite;
        }
        @keyframes swirl {
            0% { transform: translate(-50%, -50%) rotate(0deg); }
            100% { transform: translate(-50%, -50%) rotate(360deg); }
        }
#animation-log {
    min-height: 10.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0.5rem;
    overflow-y: auto;
    max-height: 12rem;
}
#animation-log > div {
    margin-bottom: 0.5rem;
    width: 100%;
    text-align: left;
}        .clarity-features-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
            margin-top: 3rem;
        }
        @media (min-width: 768px) {
            .clarity-features-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        .clarity-feature-card {
            background-color: var(--bg-panel);
            border: 1px solid var(--border-color);
            padding: 1.5rem;
            border-radius: 0.75rem;
            text-align: left;
            transition: background-color 0.2s ease, transform 0.2s ease;
        }
        .clarity-feature-card:hover,
        .clarity-feature-card:focus-visible {
            background-color: rgba(31, 41, 55, 0.8);
            transform: translateY(-5px);
            outline: none;
        }
        .clarity-feature-card .icon {
            color: var(--brand-orange);
            width: 2.5rem;
            height: 2.5rem;
            margin-bottom: 1rem;
        }
        .clarity-feature-card h4 {
            font-size: 1.125rem;
            font-weight: 700;
            color: white;
            margin-bottom: 0.5rem;
        }
        .clarity-feature-card p {
            font-size: 0.875rem;
            color: var(--text-medium);
            margin: 0;
            line-height: 1.6;
        }

        /* Interactive Features Section */
        .features-container {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            max-width: 64rem;
            margin: auto;
        }
        @media (min-width: 768px) {
            .features-container {
                grid-template-columns: 1fr 2fr;
            }
        }
        .feature-tabs { display: flex; flex-direction: column; gap: 0.5rem; }
        .feature-tab {
            background-color: transparent;
            border: 1px solid var(--border-color);
            color: var(--text-medium);
            padding: 1rem;
            border-radius: 0.5rem;
            text-align: left;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        .feature-tab .tab-icon {
            width: 1.25rem;
            height: 1.25rem;
            flex-shrink: 0;
        }
        .feature-tab:hover,
        .feature-tab:focus-visible { background-color: var(--bg-panel); color: white; }
        .feature-tab.active { background-color: var(--brand-orange); color: white; border-color: var(--brand-orange); }

        /* Section tabs styling */
        .section-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            justify-content: center;
            margin: 2rem 0;
            padding: 0.5rem;
            background: rgba(17, 24, 39, 0.4);
            border-radius: 3rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            width: fit-content;
            margin-left: auto;
            margin-right: auto;
        }
        .section-tab {
            background-color: transparent;
            border: none;
            color: var(--text-medium);
            padding: 0.875rem 2rem;
            border-radius: 2.5rem;
            text-align: center;
            font-size: 0.9375rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            white-space: nowrap;
            position: relative;
            letter-spacing: 0.01em;
        }
        .section-tab:hover {
            background-color: rgba(241, 95, 34, 0.15);
            color: white;
            transform: translateY(-1px);
        }
        .section-tab.active {
            background: linear-gradient(135deg, #F15F22 0%, #FF8C50 100%);
            color: white;
            box-shadow: 0 4px 16px rgba(241, 95, 34, 0.4), 0 2px 8px rgba(241, 95, 34, 0.2);
        }
        .section-tab.active:hover {
            background: linear-gradient(135deg, #FF6D2E 0%, #FFA066 100%);
            box-shadow: 0 6px 20px rgba(241, 95, 34, 0.5), 0 3px 10px rgba(241, 95, 34, 0.3);
        }
        .section-tab-content {
            display: none;
            animation: fadeIn 0.3s ease;
            border: 1px solid rgba(241, 95, 34, 0.2);
            border-radius: 1rem;
            padding: 2rem;
            margin-top: 2rem;
            background: linear-gradient(145deg, rgba(30, 41, 59, 0.2), rgba(17, 24, 39, 0.2));
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }
        .section-tab-content.active {
            display: block;
            border-color: rgba(241, 95, 34, 0.4);
        }
        .feature-content { 
            display: none; 
            background: linear-gradient(145deg, rgba(30, 41, 59, 0.4), rgba(17, 24, 39, 0.4));
            border: 1px solid var(--border-color);
            padding: 2rem;
            border-radius: 1rem;
        }
        .feature-content.active { display: block; animation: fadeIn 0.5s ease-in-out; }
        .feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.5rem; }
        .feature-list li { display: flex; align-items: flex-start; gap: 1rem; }
        .feature-list .icon { flex-shrink: 0; width: 1.5rem; height: 1.5rem; margin-top: 0.25rem; color: var(--brand-orange); }
        .feature-list h4 { font-size: 1.125rem; color: white; margin: 0 0 0.25rem 0; }
        .feature-list p { font-size: 0.875rem; color: var(--text-medium); margin: 0; }

        /* Optimizer Section */
        .optimizer-flow { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 2rem; margin-top: 3rem; }
        .optimizer-card {
            background: linear-gradient(145deg, rgba(30, 41, 59, 0.4), rgba(17, 24, 39, 0.4));
            border: 1px solid var(--border-color);
            padding: 2rem; border-radius: 1rem; text-align: center; flex: 1; position: relative;
            overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .optimizer-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.3); }
        .optimizer-card::before {
            content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
            background: linear-gradient(to right, transparent, var(--brand-orange), transparent); opacity: 0.7;
        }
        .clarity-panel-content.optimizer-card::before {
            display: none;
        }
        .optimizer-icon { margin: 0 auto 1.5rem auto; height: 3.5rem; width: 3.5rem; color: var(--brand-orange); filter: drop-shadow(0 0 10px var(--brand-orange)); }
        .optimizer-card h3 { font-size: 1.5rem; margin-bottom: 0.75rem; color: white; }
        .optimizer-card p { color: var(--text-medium); font-size: 0.9rem; }
        .optimizer-arrow { display: none; }
        @media (min-width: 1024px) {
            .optimizer-flow { flex-direction: row; align-items: center; }
            .optimizer-arrow { display: block; color: var(--border-color); flex-shrink: 0; }
        }

        /* Planner-Executor Flow */
        .planner-executor-flow {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2rem;
            margin: 3rem auto;
            max-width: 100%;
            padding: 2rem 0;
        }
        @media (min-width: 1024px) {
            .planner-executor-flow {
                flex-direction: row;
                justify-content: center;
                align-items: center;
                gap: 1rem;
            }
        }
        .flow-section {
            flex: 1;
            display: flex;
            justify-content: center;
            animation: fadeInUp 0.8s ease-out forwards;
            opacity: 0;
        }
        .flow-section:nth-child(1) { animation-delay: 0.2s; }
        .flow-section:nth-child(3) { animation-delay: 0.6s; }
        .flow-section:nth-child(5) { animation-delay: 1s; }
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .flow-card {
            background: rgba(17, 24, 39, 0.8);
            border: 2px solid;
            border-radius: 1.25rem;
            padding: 2rem 1.5rem;
            text-align: center;
            width: 100%;
            max-width: 280px;
            min-height: 280px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            backdrop-filter: blur(10px);
        }
        .flow-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.1), transparent 70%);
            opacity: 0;
            transition: opacity 0.4s ease;
        }
        .flow-card:hover::before {
            opacity: 1;
        }
        .flow-card:hover {
            transform: translateY(-10px) scale(1.02);
        }
        .flow-card.cloud-planner {
            border-color: #38bdf8;
            box-shadow: 0 10px 40px rgba(56, 189, 248, 0.2);
        }
        .flow-card.cloud-planner:hover {
            box-shadow: 0 20px 60px rgba(56, 189, 248, 0.4);
            border-color: #7dd3fc;
        }
        .flow-card.local-executor {
            border-color: #4ade80;
            box-shadow: 0 10px 40px rgba(74, 222, 128, 0.2);
        }
        .flow-card.local-executor:hover {
            box-shadow: 0 20px 60px rgba(74, 222, 128, 0.4);
            border-color: #86efac;
        }
        .flow-card.result {
            border-color: #F15F22;
            box-shadow: 0 10px 40px rgba(241, 95, 34, 0.2);
        }
        .flow-card.result:hover {
            box-shadow: 0 20px 60px rgba(241, 95, 34, 0.4);
            border-color: #FF8C50;
        }
        .flow-icon {
            width: 3.5rem;
            height: 3.5rem;
            margin: 0 auto 1rem;
            filter: drop-shadow(0 4px 12px currentColor);
            animation: float 3s ease-in-out infinite;
        }
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
        }
        .flow-card.cloud-planner .flow-icon {
            color: #38bdf8;
            animation-delay: 0s;
        }
        .flow-card.local-executor .flow-icon {
            color: #4ade80;
            animation-delay: 0.3s;
        }
        .flow-card.result .flow-icon {
            color: #F15F22;
            animation-delay: 0.6s;
        }
        .flow-card h4 {
            font-size: 1.25rem;
            font-weight: 700;
            color: white;
            margin: 0 0 0.5rem 0;
            letter-spacing: -0.02em;
        }
        .flow-card p {
            font-size: 0.875rem;
            color: #9ca3af;
            margin: 0 0 1rem 0;
            line-height: 1.5;
        }
        .flow-card .badge {
            display: inline-block;
            border-radius: 0.5rem;
            padding: 0.5rem 1rem;
            font-size: 0.8125rem;
            font-weight: 600;
            letter-spacing: 0.02em;
        }
        .flow-card.cloud-planner .badge {
            background: rgba(56, 189, 248, 0.15);
            color: #7dd3fc;
            border: 1px solid rgba(56, 189, 248, 0.3);
        }
        .flow-card.local-executor .badge {
            background: rgba(74, 222, 128, 0.15);
            color: #86efac;
            border: 1px solid rgba(74, 222, 128, 0.3);
        }
        .flow-card.result .badge {
            background: rgba(241, 95, 34, 0.15);
            color: #FF8C50;
            border: 1px solid rgba(241, 95, 34, 0.3);
        }
        .flow-divider {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0;
            position: relative;
            z-index: 20;
            animation: fadeIn 1s ease-out 0.4s forwards;
            opacity: 0;
        }
        @keyframes fadeIn {
            to { opacity: 1; }
        }
        @media (min-width: 1024px) {
            .flow-divider {
                flex-direction: row;
                margin: 0 -1rem;
            }
        }
        .arrow-down {
            color: #4b5563;
            animation: arrowPulse 2s ease-in-out infinite;
        }
        @media (min-width: 1024px) {
            .arrow-down {
                transform: rotate(-90deg);
            }
        }
        @keyframes arrowPulse {
            0%, 100% { opacity: 0.5; }
            50% { opacity: 1; }
        }
        .champion-badge {
            display: flex;
            align-items: center;
            gap: 0.625rem;
            background: linear-gradient(135deg, #F15F22 0%, #FF8C50 100%);
            padding: 0.875rem 1.75rem;
            border-radius: 2rem;
            box-shadow: 0 8px 32px rgba(241, 95, 34, 0.4);
            animation: championGlow 2s ease-in-out infinite;
            position: relative;
            z-index: 10;
        }
        .champion-badge::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(135deg, #F15F22, #FF8C50, #F15F22);
            border-radius: 2rem;
            z-index: -1;
            opacity: 0;
            animation: borderGlow 2s ease-in-out infinite;
        }
        @keyframes championGlow {
            0%, 100% { 
                transform: scale(1);
                box-shadow: 0 8px 32px rgba(241, 95, 34, 0.4);
            }
            50% { 
                transform: scale(1.05);
                box-shadow: 0 12px 48px rgba(241, 95, 34, 0.6);
            }
        }
        @keyframes borderGlow {
            0%, 100% { opacity: 0; }
            50% { opacity: 0.8; }
        }
        .champion-badge .badge-icon {
            width: 1.5rem;
            height: 1.5rem;
            color: white;
            animation: sparkle 1.5s ease-in-out infinite;
        }
        @keyframes sparkle {
            0%, 100% { transform: rotate(0deg) scale(1); }
            25% { transform: rotate(-10deg) scale(1.1); }
            75% { transform: rotate(10deg) scale(1.1); }
        }
        .champion-badge span {
            font-size: 0.9375rem;
            font-weight: 700;
            color: white;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            text-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }
        
        /* Optimizer Feature Grid */
        .sub-section-title {
            text-align: center;
            font-size: 1.5rem;
            font-weight: 700;
            margin-top: 4rem;
            margin-bottom: 1rem;
            color: var(--text-light);
        }

        /* Summary statement styling - visually links to preceding content */
        .section-summary-title {
            text-align: center;
            font-size: 1.25rem;
            font-weight: 600;
            margin-top: 2.5rem;
            margin-bottom: 0.75rem;
            color: var(--text-light);
            position: relative;
        }
        .section-summary-title::before {
            content: '';
            display: block;
            width: 60px;
            height: 2px;
            background: linear-gradient(to right, transparent, var(--brand-orange), transparent);
            margin: 0 auto 1.5rem auto;
        }
        .section-summary {
            max-width: 42rem;
            margin-left: auto;
            margin-right: auto;
            color: var(--text-medium);
            text-align: center;
            font-size: 0.95rem;
            line-height: 1.7;
            margin-bottom: 2rem;
        }

        .optimizer-features { margin-top: 4rem; }
        .optimizer-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
        @media (min-width: 768px) { .optimizer-grid { grid-template-columns: repeat(2, 1fr); } }
        
        .optimizer-feature-card {
            background-color: rgba(31, 41, 55, 0.3);
            padding: 1.5rem;
            border-radius: 0.75rem;
            border: 1px solid var(--border-color);
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            transition: background-color 0.2s ease;
            position: relative;
            overflow: hidden;
        }
        .optimizer-feature-card:hover { background-color: rgba(31, 41, 55, 0.6); }
        .optimizer-feature-card .icon {
            flex-shrink: 0; width: 2rem; height: 2rem;
            color: var(--brand-orange); opacity: 0.8; margin-top: 0.25rem;
        }
        .optimizer-feature-card-content { flex-grow: 1; }
        .optimizer-card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 1rem;
            margin-bottom: 0.5rem;
        }
        .optimizer-card-header h4 { margin: 0; color: white; font-size: 1.1rem; font-weight: 600; }
        .optimizer-feature-card p { margin: 0; color: var(--text-medium); font-size: 0.875rem; line-height: 1.5; }
        
        .mini-anim-canvas {
            position: relative;
            width: 50px;
            height: 24px;
            flex-shrink: 0;
            opacity: 0.4;
            transition: opacity 0.3s ease;
        }
        .optimizer-feature-card:hover .mini-anim-canvas { opacity: 1; }

        .mini-anim-canvas > * { position: absolute; }
        
        .re-planning-anim .line-jagged { top: 50%; left: 0; width: 100%; height: 1px; background: var(--brand-red); clip-path: polygon(0% 50%, 15% 0%, 25% 100%, 40% 20%, 55% 80%, 70% 0%, 85% 100%, 100% 50%); animation: jagged-pulse 6s infinite ease-in-out; }
        .re-planning-anim .line-straight { top: 50%; left: 0; width: 100%; height: 2px; background: var(--brand-green); animation: straight-pulse 6s infinite ease-in-out; }
        @keyframes jagged-pulse { 0%, 100% { opacity: 1; } 50%, 90% { opacity: 0; } }
        @keyframes straight-pulse { 0%, 100%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } }

        .error-correction-anim .cross { font-size: 2rem; font-weight: bold; top: 50%; left: 50%; color: var(--brand-red); animation: cross-cycle 5s infinite ease-in-out; }
        .error-correction-anim .check { font-size: 2rem; font-weight: bold; top: 50%; left: 50%; color: var(--brand-green); animation: check-cycle 5s infinite ease-in-out; }
        @keyframes cross-cycle { 0%, 40% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 50%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); } }
        @keyframes check-cycle { 0%, 50% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); } 60%, 90% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); } }

        .recovery-anim > * { animation-duration: 5s; animation-iteration-count: infinite; }
        .recovery-anim .path-blocked { top: 50%; left: 0; height: 2px; background: var(--brand-orange); animation-name: path-hit-wall-loop; }
        .recovery-anim .obstacle { top: 50%; left: 50%; width: 4px; height: 16px; background: var(--brand-red); transform: translate(-50%, -50%); animation-name: obstacle-fade; }
        .recovery-anim .path-around { top: 50%; left: 50%; width: 50%; height: 2px; background: var(--brand-green); transform-origin: left; animation-name: path-around-loop; }
        @keyframes path-hit-wall-loop { 0% { width: 0; opacity: 1;} 30% { width: 50%; opacity: 1;} 100% { width: 50%; opacity: 1;} }
        @keyframes obstacle-fade { 0%, 100% { opacity: 1; } }
        @keyframes path-around-loop { 0%, 30% { transform: scaleX(0) translateY(0); opacity: 0;} 60% { transform: scaleX(1) translateY(-10px); opacity: 1;} 90%, 100% { transform: scaleX(1) translateY(-10px); opacity: 0;} }

        .validation-anim .block { width: 10px; height: 10px; border: 1px solid var(--brand-red); border-radius: 2px; animation: snap-loop 5s infinite cubic-bezier(0.5, 0, 0.5, 1); }
        .validation-anim .b1 { top: 10%; left: 20%; animation-delay: 0s; }
        .validation-anim .b2 { top: 10%; right: 20%; animation-delay: 0.1s; }
        .validation-anim .b3 { bottom: 10%; left: 20%; animation-delay: 0.2s; }
        .validation-anim .b4 { bottom: 10%; right: 20%; animation-delay: 0.3s; }
        @keyframes snap-loop { 0% { transform: translate(20px, 10px) rotate(90deg); opacity: 0; border-color: var(--brand-red); } 40% { transform: translate(0, 0) rotate(0deg); opacity: 1; border-color: var(--brand-green); } 60% { transform: translate(0, 0) rotate(0deg); opacity: 1; border-color: var(--brand-green); } 100% { transform: translate(-20px, -10px) rotate(-90deg); opacity: 0; border-color: var(--brand-red); } }
        
        .hallucination-anim .loop-path { top: 50%; left: 50%; width: 20px; height: 20px; border: 1px dashed var(--brand-red); border-radius: 50%; transform: translate(-50%, -50%); opacity: 0.7; }
        .hallucination-anim .dot { width: 4px; height: 4px; background: var(--brand-orange); border-radius: 50%; top: 50%; left: 50%; animation: dot-loop-breakout-infinite 5s infinite ease-in-out; }
        @keyframes dot-loop-breakout-infinite { 0% { transform: translate(-50%, -50%) rotate(0deg) translateX(10px); } 40% { transform: translate(-50%, -50%) rotate(360deg) translateX(10px); } 70% { transform: translate(calc(-50% + 40px), -50%); background-color: var(--brand-green); } 90%, 100% { transform: translate(-50%, -50%) rotate(0deg) translateX(10px); background-color: var(--brand-orange); } }
        
        .distill-anim .dot { width: 4px; height: 4px; background: var(--brand-orange); border-radius: 50%; animation: distill-dots-loop 5s infinite ease-in-out; }
        .distill-anim .result { top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); width: 12px; height: 12px; background: var(--brand-green); border-radius: 50%; animation: distill-result-loop 5s infinite ease-in-out; }
        .distill-anim .d1 { top: 15%; left: 15%; --dx: -15px; --dy: -8px; animation-delay: 0s; } 
        .distill-anim .d2 { top: 25%; left: 85%; --dx: 18px; --dy: -4px; animation-delay: 0.1s; }
        .distill-anim .d3 { top: 85%; left: 10%; --dx: -20px; --dy: 10px; animation-delay: 0.2s; } 
        .distill-anim .d4 { top: 75%; left: 75%; --dx: 12px; --dy: 8px; animation-delay: 0.3s; }
        .distill-anim .d5 { top: 50%; left: 40%; --dx: -5px; --dy: 0px; animation-delay: 0.4s; }
        @keyframes distill-dots-loop { 0%, 100% { transform: translate(0,0) scale(1); opacity: 1; } 40%, 70% { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; } }
        @keyframes distill-result-loop { 0%, 30%, 80%, 100% { transform: translate(-50%, -50%) scale(0); opacity: 0; } 40%, 70% { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
        
        /* Action Section */
        .action-container { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: flex-start; margin-top: 3rem; }
        @media (min-width: 1024px) { .action-container { grid-template-columns: 1fr 1fr; gap: 3rem;} }
        
        .action-text h3 {
            font-size: 2rem;
            color: white;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }
        .action-intro {
            font-size: 1.25rem;
            color: var(--brand-orange);
            font-weight: 600;
            margin-bottom: 1.25rem;
        }
        .action-description {
            font-size: 1.1rem;
            color: var(--text-light);
            line-height: 1.6;
            margin-bottom: 1.25rem;
        }
        .action-outcome {
            font-size: 1.1rem;
            color: var(--text-medium);
            line-height: 1.6;
            font-style: italic;
        }
        .highlight-intro {
            font-size: 1.25rem;
            color: var(--brand-orange);
            font-weight: 600;
            margin: 0;
        }
        .highlight-points {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .highlight-point {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            margin: 0;
            font-size: 1.1rem;
            color: var(--text-light);
            line-height: 1.5;
        }
        .highlight-marker {
            flex-shrink: 0;
            width: 1.75rem;
            height: 1.75rem;
            background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 0.875rem;
            color: white;
            margin-top: 0.125rem;
            box-shadow: 0 2px 4px rgba(241, 95, 34, 0.2);
        }
        .action-text h3 { font-size: 1.75rem; color: white; margin-bottom: 1rem; }
        .action-text p { color: var(--text-medium); margin-bottom: 1.5rem; }
        /* Morphing Demo Console */
        .demo-console {
            background-color: #0d1117;
            border: 1px solid var(--border-color);
            border-radius: 0.75rem;
            padding: 1.5rem;
            font-family: monospace;
            box-shadow: 0 20px 40px rgba(0,0,0,0.4);
        }

        /* Fixed-height morphing view - CRITICAL for equal space constraint */
        .demo-view {
            position: relative;
            height: 440px; /* Fixed height - no expansion/contraction allowed */
            max-height: 440px;
            overflow: hidden; /* Changed from visible - clip overflow */
            display: flex; /* Flex layout for vertical stacking */
            flex-direction: column; /* Stack children vertically */
            align-items: stretch; /* Full width */
            justify-content: flex-start; /* Align to TOP - CRITICAL FIX */
            padding: 0; /* No padding interference */
        }

        /* During transforming/executing states, use absolute positioning for overlays */
        .demo-view.state-transforming,
        .demo-view.state-executing {
            display: block; /* Remove flex to allow true absolute positioning */
        }

        /* Position API content absolutely during transformation/execution */
        .demo-view.state-transforming .demo-header,
        .demo-view.state-executing .demo-header {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
        }

        .demo-view.state-transforming .demo-query-line,
        .demo-view.state-executing .demo-query-line {
            position: absolute;
            top: 52px; /* After header (40px) + margin (12px) */
            left: 0;
            right: 0;
        }

        .demo-view.state-transforming .demo-result,
        .demo-view.state-executing .demo-result {
            position: absolute;
            top: 94px; /* After header + query-line + margins */
            left: 0;
            right: 0;
        }

        /* Morphing header: Badge → API Endpoint */
        .demo-header {
            height: 40px; /* Fixed height */
            flex-shrink: 0; /* Don't shrink - CRITICAL */
            display: flex;
            align-items: center;
            margin-bottom: 0.75rem;
        }

        .header-content {
            display: inline-block;
            background: var(--brand-orange);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.875rem;
            font-weight: 600;
            letter-spacing: 0.05em;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* API state: endpoint styling */
        .demo-view.state-api .header-content,
        .demo-view.state-executing .header-content,
        .demo-view.state-complete .header-content {
            background: transparent;
            color: var(--brand-orange);
            padding: 0;
            border-radius: 0;
            font-family: 'Monaco', 'Courier New', monospace;
            font-size: 0.85rem;
            font-weight: 500;
            letter-spacing: normal;
        }

        /* Morphing query line: Question → API Headers */
        .demo-query-line {
            height: 30px; /* Fixed height instead of min-height */
            flex-shrink: 0; /* Don't shrink - CRITICAL */
            margin-bottom: 0.75rem;
            display: flex;
            align-items: center;
        }

        .query-prompt {
            color: var(--brand-orange);
            margin-right: 0.5rem;
            font-weight: bold;
        }

        .query-content {
            color: var(--text-light);
            font-family: 'Monaco', 'Courier New', monospace;
            font-size: 0.9rem;
        }

        /* Typing animation */
        .typing-effect {
            overflow: hidden;
            border-right: 0.15em solid var(--brand-orange);
            white-space: nowrap;
            letter-spacing: 0.1em;
            animation: typing var(--typing-duration, 3.5s) steps(var(--typing-steps, 40), end),
                       blink-caret 0.75s step-end infinite;
        }

        @keyframes typing {
            from { max-width: 0; }
            to { max-width: 100%; }
        }

        @keyframes blink-caret {
            from, to { border-color: transparent; }
            50% { border-color: var(--brand-orange); }
        }

        /* Demo result container */
        .demo-result {
            margin-top: 1rem;
            opacity: 0;
            transition: opacity 0.5s ease;
            flex-shrink: 0; /* Don't shrink - removed min-height */
        }

        .demo-result .result-label {
            color: var(--brand-orange);
            font-size: 0.95rem;
            margin-bottom: 0.75rem;
            font-weight: 600;
        }

        /* Shared data table (used in both conversational and API states) */
        .demo-table {
            width: 100%;
            font-size: 0.85rem;
            border-collapse: collapse;
            margin-bottom: 0.75rem;
        }

        .demo-table thead {
            background: rgba(241, 95, 34, 0.1);
        }

        .demo-table th,
        .demo-table td {
            padding: 0.5rem 0.6rem;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
        }

        .demo-table th {
            color: var(--text-medium);
            font-weight: 600;
        }

        .demo-table td {
            color: var(--text-light);
        }

        /* Streaming JSON output - appears in result area below headers */
        .json-output {
            position: absolute;
            top: 160px; /* Below header (52px) + query-line (42px) + label (40px) + spacing */
            left: 0;
            right: 0;
            height: 180px; /* Fixed height instead of bottom positioning */
            opacity: 0;
            pointer-events: none;
            z-index: 15; /* Above table but below effects */
            font-family: 'Monaco', 'Courier New', monospace;
            font-size: 0.75rem;
            color: var(--text-light);
            background: #0d1117;
            border: 1px solid var(--border-color);
            border-radius: 0.5rem;
            padding: 0.75rem;
            overflow-y: auto;
            line-height: 1.4;
            transition: opacity 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .demo-view.state-api .json-output,
        .demo-view.state-executing .json-output {
            opacity: 1;
            pointer-events: auto;
        }

        @keyframes fade-in {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        /* Keep demo-result visible (for label), but hide table during execution */
        .demo-view.state-conversational .demo-result,
        .demo-view.state-transforming .demo-result,
        .demo-view.state-api .demo-result,
        .demo-view.state-executing .demo-result,
        .demo-view.state-complete .demo-result {
            opacity: 1;
            visibility: visible;
        }

        /* Hide the table during transformation, API and execution states (label stays visible) */
        .demo-view.state-transforming .demo-table,
        .demo-view.state-api .demo-table,
        .demo-view.state-executing .demo-table {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity 0.5s ease, visibility 0.5s ease;
        }

        .demo-view.state-conversational .demo-table,
        .demo-view.state-complete .demo-table {
            opacity: 1;
            visibility: visible;
            transition: opacity 0.5s ease, visibility 0.5s ease;
        }

        .demo-view.state-complete .json-output {
            opacity: 0;
            pointer-events: none;
        }

        /* JSON line animation */
        .json-line {
            opacity: 0;
            animation: json-line-in 0.1s ease forwards;
        }

        @keyframes json-line-in {
            to {
                opacity: 1;
            }
        }

        /* Staggered table row animation */
        .demo-table tbody tr {
            opacity: 0;
            transform: translateY(10px);
            animation: row-reveal 0.3s ease forwards;
        }

        .demo-table tbody tr:nth-child(1) { animation-delay: 0ms; }
        .demo-table tbody tr:nth-child(2) { animation-delay: 50ms; }
        .demo-table tbody tr:nth-child(3) { animation-delay: 100ms; }
        .demo-table tbody tr:nth-child(4) { animation-delay: 150ms; }

        @keyframes row-reveal {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Event log - positioned below JSON, grows downward */
        .event-log {
            position: absolute;
            top: 350px; /* Below JSON box (160px + 180px + 10px gap) */
            left: 0;
            right: 0;
            bottom: 0; /* Extends to container bottom */
            padding: 0.5rem 0.75rem;
            display: none;
            flex-direction: column;
            justify-content: flex-start; /* Align items to top, grow downward */
            gap: 0.25rem;
            font-size: 0.75rem;
            color: var(--text-medium);
            background: rgba(13, 17, 23, 0.95); /* More opaque to cover JSON */
            backdrop-filter: blur(4px);
            z-index: 16; /* Above JSON */
            border-top: 1px solid var(--border-color);
            overflow-y: auto; /* Scroll if too many events */
        }

        .demo-view.state-executing .event-log,
        .demo-view.state-complete .event-log {
            display: flex;
        }

        .event-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.25rem 0.5rem;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 0.25rem;
            animation: event-pop 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .event-item .elapsed {
            margin-left: auto;
            color: var(--brand-orange);
            font-weight: 600;
            font-variant-numeric: tabular-nums;
        }

        @keyframes event-pop {
            0% {
                opacity: 0;
                transform: scale(0.8) translateY(10px);
            }
            100% {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }

        /* Transformation effects layer */
        .fx-layer {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 10;
        }

        /* Sweep line effect */
        /* Simplified professional sweep effect */
        .sweep-line {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            display: none;
            overflow: hidden;
        }

        /* Vertical line that sweeps across */
        .sweep-line::before {
            content: '';
            position: absolute;
            top: 0;
            left: -10px;
            width: 2px;
            height: 100%;
            background: linear-gradient(
                to bottom,
                transparent 0%,
                rgba(241, 95, 34, 0.3) 15%,
                var(--brand-orange) 50%,
                rgba(241, 95, 34, 0.3) 85%,
                transparent 100%
            );
            transition: left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        /* Active state - sweep right across the full container */
        .sweep-line.active {
            display: block;
            opacity: 0.6;
        }

        .sweep-line.active::before {
            left: calc(100% + 10px);
        }

        /* Particle canvas */
        #particle-canvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        /* Background transition overlay for professional depth */
        .demo-view::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.15) 100%);
            opacity: 0;
            transition: opacity 0.6s ease;
            pointer-events: none;
            z-index: 1;
        }

        .demo-view.state-transforming::before {
            opacity: 1;
        }

        /* Ensure content is above the overlay */
        .demo-view > * {
            position: relative;
            z-index: 2;
        }

        /* Except these elements which have specific z-index needs */
        .fx-layer {
            z-index: 10 !important;
            position: absolute !important;
        }

        .json-output {
            z-index: 15 !important;
            position: absolute !important;
        }

        .event-log {
            z-index: 100 !important; /* Much higher to ensure it's on top */
            position: absolute !important;
        }

        .demo-view.state-transforming #particle-canvas {
            opacity: 1;
        }

        /* Demo controls */
        .demo-controls {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-top: 1.5rem;
            padding-top: 1rem;
            border-top: 1px dashed var(--border-color);
        }

        .industry-progress {
            color: var(--text-medium);
            font-size: 0.875rem;
            font-weight: 600;
        }

        .pause-demo,
        .resume-demo {
            background: rgba(241, 95, 34, 0.1);
            color: var(--brand-orange);
            border: 1px solid var(--brand-orange);
            padding: 0.4rem 1rem;
            border-radius: 0.5rem;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .pause-demo:hover,
        .resume-demo:hover {
            background: var(--brand-orange);
            color: white;
        }

        .resume-demo {
            animation: pulse-button 2s ease-in-out infinite;
        }

        @keyframes pulse-button {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        /* Data Sovereignty Section NEW */
        .sovereignty-animation-wrapper {
            background-color: var(--bg-panel);
            border: 1px solid var(--border-color);
            border-radius: 0.75rem;
            padding: 2rem;
            margin-top: 3rem;
            overflow: hidden;
        }
        .sovereignty-animation {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.5rem;
            min-height: 250px;
        }
        @media (min-width: 900px) {
            .sovereignty-animation {
                flex-direction: row;
                justify-content: center;
                gap: 2rem;
            }
        }
        .sovereignty-node {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 0.5rem;
            position: relative;
            flex-shrink: 0;
            width: 140px;
        }
        .sovereignty-node .icon {
            width: 3rem;
            height: 3rem;
            color: var(--text-light);
        }
        .sovereignty-node .label {
            font-weight: 600;
            color: white;
            font-size: 0.875rem;
        }
        .sovereignty-paths {
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 2.5rem;
            position: relative;
        }
        .sovereignty-destinations {
             display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 2rem;
        }
        .sovereignty-path {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        .path-line {
            width: 60px;
            height: 2px;
            position: relative;
            background-color: var(--border-color);
        }
        .path-line.horizontal {
             width: 80px;
        }
        .path-line .dot {
            position: absolute;
            top: 50%;
            left: 0;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            transform: translateY(-50%);
            animation: move-dot 5s linear infinite;
        }
        .path-line .dot.blue { background-color: var(--brand-blue); animation-duration: 2.5s; }
        .path-line .dot.orange { background-color: var(--brand-orange); animation-delay: 0s; }
        .path-line .dot.green { background-color: var(--brand-green); animation-delay: 2.5s; }
        @keyframes move-dot {
            0% { left: 0%; opacity: 0; }
            10% { opacity: 1; }
            90% { opacity: 1; }
            100% { left: 100%; opacity: 0; }
        }
        .rule-bubble {
            background-color: rgba(17, 24, 39, 0.8);
            border: 1px solid;
            padding: 0.25rem 0.75rem;
            border-radius: 999px;
            font-size: 0.75rem;
            white-space: nowrap;
            opacity: 0;
            animation: fade-in-rule 5s linear infinite;
        }
        .rule-bubble.orange { border-color: var(--brand-orange); color: var(--brand-orange); animation-delay: 0.5s; }
        .rule-bubble.green { border-color: var(--brand-green); color: var(--brand-green); animation-delay: 3s; }
        @keyframes fade-in-rule {
            0%, 20%, 80%, 100% { opacity: 0; transform: scale(0.95); }
            30%, 70% { opacity: 1; transform: scale(1); }
        }
        
        /* Get Started Section */
        .get-started { text-align: center; }
        .get-started-steps { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 64rem; margin: 3rem auto; }
        @media (min-width: 768px) { .get-started-steps { grid-template-columns: repeat(3, 1fr); } }
        .step-card { background-color: rgba(31, 41, 55, 0.3); padding: 2rem; border-radius: 1rem; border: 1px solid var(--border-color); }
        .step-card .icon { color: var(--brand-orange); width: 2.5rem; height: 2.5rem; margin: 0 auto 1rem auto; }
        .step-card h3 { font-size: 1.25rem; color: white; margin-bottom: 0.5rem; }
        .step-card p { color: var(--text-medium); font-size: 0.9rem; }
        .get-started .hero-buttons { margin-top: 3rem; }

        /* License Table */
        .license-table { width: 100%; max-width: 64rem; margin: auto; text-align: left; border-collapse: collapse; }
        .license-table th, .license-table td { padding: 1rem; border-bottom: 1px solid var(--border-color); }
        .license-table thead { border-bottom: 2px solid var(--border-color); }
        .license-table .enterprise-row { background-color: rgba(241, 95, 34, 0.1); font-weight: bold; }
        
        /* Models You Trust Section */
        .models-grid { 
            display: flex; 
            justify-content: center; 
            align-items: center; 
            gap: 2rem; 
            flex-wrap: wrap; 
        }
        .model-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--text-medium);
            opacity: 0.7;
            transition: opacity 0.2s ease, color 0.2s ease;
            fill: var(--text-medium);
        }
        .model-item svg {
            height: 2rem;
            width: auto;
            transition: fill 0.2s ease;
        }
        @media (min-width: 768px) {
            .models-grid { gap: 3rem; }
            .model-item svg { height: 2.5rem; }
        }
        .model-item:hover {
            opacity: 1;
            color: var(--text-light);
            fill: var(--text-light);
        }
        
        /* Footer */
        footer { border-top: 1px solid var(--border-color); margin-top: 5rem; text-align: center; padding: 2rem 1rem; color: var(--text-medium); }
        footer p { margin: 0.5rem 0; font-size: 0.875rem; }
        footer a { color: var(--brand-orange); text-decoration: none; }
        footer a:hover { text-decoration: underline; }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-5px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Action demo tabs */
        .action-demo { padding: 1rem; }
        .action-tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
        .tab-btn { background: transparent; border: 1px solid var(--border-color); color: var(--text-medium); padding: 0.5rem 0.75rem; border-radius: 0.5rem; cursor: pointer; font-weight:600; }
        .tab-btn.active { background: linear-gradient(90deg, rgba(241,95,34,0.12), rgba(241,95,34,0.06)); color: white; border-color: rgba(241,95,34,0.4); }
        .tab-panel { display: block; }
        .code-block { font-family: 'Fira Code', monospace; font-size: 0.9rem; line-height:1.4; overflow:auto; }
        .api-run { display: inline-flex; align-items:center; gap:0.5rem; }
        /* lighter visual style for the Run via Engine button */
        .api-run {
            background-color: rgba(241,95,34,0.08);
            color: var(--brand-orange);
            border: 1px solid rgba(241,95,34,0.18);
            box-shadow: none;
        }
        .api-run:hover, .api-run:focus {
            background-color: rgba(241,95,34,0.12);
            color: var(--brand-orange-dark);
            transform: none;
        }
        .info-btn { padding: 0.25rem 0.5rem; font-size: 0.85rem; border-radius:0.375rem; min-width:32px; height:32px; display:inline-flex; align-items:center; justify-content:center; }
        .info-btn:focus { outline: 2px solid rgba(56,189,248,0.25); }

        /* Modal styles for API info */
        .modal-overlay { position: fixed; inset: 0; background: rgba(2,6,23,0.6); display: none; align-items: center; justify-content: center; z-index: 200; }
        .modal { background: linear-gradient(180deg, rgba(17,24,39,0.98), rgba(10,14,20,0.98)); border: 1px solid var(--border-color); padding: 1.25rem; border-radius: 0.75rem; max-width: 680px; width: calc(100% - 2rem); color: var(--text-light); box-shadow: 0 20px 40px rgba(0,0,0,0.6); }
        .modal h4 { margin: 0 0 0.5rem 0; }
        .modal p { margin: 0.25rem 0 0.75rem 0; color: var(--text-medium); }
        .modal .close-btn { background: transparent; border: 1px solid var(--border-color); color: var(--text-medium); padding: 0.35rem 0.6rem; border-radius:0.5rem; cursor:pointer; }
        .spinner { width:16px; height:16px; border-radius:50%; border:2px solid rgba(255,255,255,0.08); border-top-color:var(--brand-orange); animation: spin 1s linear infinite; }
        @keyframes spin { to { transform: rotate(360deg); } }
        #api-response code { display:block; white-space:pre-wrap; }

        /* === GENIE MODE: INDUSTRIAL DESIGN ANIMATION === */

        /* Industrial Header - Control Panel Style */
        .industrial-header {
            background: rgba(15, 23, 42, 0.3);
            border-bottom: 1px solid var(--border-color);
            padding: 1rem 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1.5rem;
            margin-bottom: 0;
            font-family: 'Fira Code', monospace;
        }

        .header-section {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
        }

        .industrial-header-title {
            font-size: 0.875rem;
            font-weight: 700;
            color: white;
            text-transform: uppercase;
            letter-spacing: 0.1em;
        }

        .industrial-header-subtitle {
            font-size: 0.75rem;
            color: var(--text-medium);
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .header-controls {
            display: flex;
            align-items: center;
            gap: 1rem;
            flex: 1;
            max-width: 500px;
        }

        @media (max-width: 768px) {
            .industrial-header {
                flex-direction: column;
                align-items: stretch;
            }
            .header-controls {
                max-width: 100%;
            }
        }

        /* Industrial Button */
        .industrial-btn {
            background: transparent;
            border: 1px solid var(--border-color);
            color: var(--text-medium);
            padding: 0.5rem 0.75rem;
            font-family: 'Fira Code', monospace;
            font-size: 0.75rem;
            font-weight: 600;
            border-radius: 0.5rem;
            cursor: pointer;
            transition: all 0.2s ease;
            white-space: nowrap;
        }

        .industrial-btn:hover {
            background: linear-gradient(90deg, rgba(241,95,34,0.12), rgba(241,95,34,0.06));
            color: white;
            border-color: rgba(241,95,34,0.4);
        }

        .industrial-btn.active {
            background: linear-gradient(90deg, rgba(241,95,34,0.12), rgba(241,95,34,0.06));
            color: white;
            border-color: rgba(241,95,34,0.4);
        }

        /* Timeline Bar */
        .timeline-bar {
            flex: 1;
            height: 4px;
            background: #1e293b;
            position: relative;
            border: 1px solid #334155;
        }

        .timeline-fill {
            height: 100%;
            background: #F15F22;
            width: 0%;
            transition: width 0.1s linear;
        }

        .timeline-percent {
            font-family: 'Fira Code', monospace;
            font-size: 0.75rem;
            color: #94a3b8;
            min-width: 45px;
            text-align: right;
            font-variant-numeric: tabular-nums;
        }

        /* Canvas: Grid-based Schematic */
        .genie-canvas {
            position: relative;
            width: 100%;
            height: 600px;
            background: rgba(15, 23, 42, 0.5);
            background-image:
                linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
            background-size: 16px 16px;
            border: none;
            overflow: hidden;
        }

        /* Input Label */
        .input-label {
            position: absolute;
            top: 20px;
            left: 20px;
            font-family: 'Fira Code', monospace;
            font-size: 0.75rem;
            color: #94a3b8;
            z-index: 10;
        }

        .label-key {
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-right: 0.5rem;
        }

        .label-value {
            color: #e2e8f0;
        }

        /* Agent Nodes - Industrial Boxes */
        .agent-node {
            position: absolute;
            background: #1e293b;
            border: 1px solid #334155;
            padding: 12px;
            font-family: 'Fira Code', monospace;
            transition: border-color 0.3s linear, opacity 0.3s ease;
            opacity: 0;
            min-width: 140px;
        }

        .agent-node::before {
            content: '';
            position: absolute;
            top: -1px;
            left: -1px;
            width: 8px;
            height: 8px;
            border-top: 2px solid #4b5563;
            border-left: 2px solid #4b5563;
        }

        .agent-node.visible {
            opacity: 1;
        }

        .agent-node.active {
            border-color: #F15F22;
        }

        .agent-node.active::before {
            border-color: #F15F22;
        }

        .agent-node.completed {
            opacity: 0.35;
            border-color: #334155;
        }

        .agent-node.completed::before {
            border-color: #334155;
        }

        .agent-node.master {
            min-width: 180px;
            border-width: 2px;
        }

        /* Level 2 nodes - smaller, more compact */
        #node-acct, #node-audit, #node-brand, #node-sales {
            min-width: 110px;
            padding: 8px;
            font-size: 0.85rem;
        }

        #node-acct .node-role, #node-audit .node-role,
        #node-brand .node-role, #node-sales .node-role {
            font-size: 0.65rem;
        }

        #node-acct .node-id, #node-audit .node-id,
        #node-brand .node-id, #node-sales .node-id {
            font-size: 0.6rem;
        }

        .node-header {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 4px;
        }

        .node-label {
            font-size: 11px;
            font-weight: 700;
            color: #e2e8f0;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .node-role {
            font-size: 9px;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 4px;
        }

        .node-id {
            font-size: 8px;
            color: #475569;
            margin-bottom: 8px;
        }

        /* LED Status Indicator */
        .status-led {
            display: inline-block;
            width: 6px;
            height: 6px;
            background: #334155;
            flex-shrink: 0;
        }

        .status-led.idle {
            background: #334155;
            animation: none;
        }

        .status-led.active {
            background: #F15F22;
            box-shadow: 0 0 4px #F15F22;
            animation: none;
        }

        .status-led.working {
            background: #facc15;
            animation: led-blink 1s step-end infinite;
        }

        .status-led.complete {
            background: #4ade80;
            animation: none;
        }

        @keyframes led-blink {
            0%, 50% { opacity: 1; }
            51%, 100% { opacity: 0.4; }
        }

        /* Progress Bar */
        .node-progress {
            width: 100%;
            height: 3px;
            background: #0f172a;
            margin-top: 8px;
            border: 1px solid #1e293b;
        }

        .node-progress-fill {
            height: 100%;
            background: #F15F22;
            width: 0%;
            transition: width 0.3s linear;
        }

        /* Connection Lines SVG */
        .connection-svg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }

        .connection-line {
            stroke: transparent;
            stroke-width: 1;
            fill: none;
            opacity: 0;
            transition: stroke 0.3s linear, stroke-width 0.3s linear, opacity 0.3s linear;
        }

        .connection-line.active {
            stroke: #F15F22;
            stroke-width: 2;
            opacity: 1;
            filter: drop-shadow(0 0 2px rgba(241, 95, 34, 0.5));
        }

        /* Communication pulse dots */
        .pulse-dot {
            fill: #F15F22;
            r: 3;
        }

        .pulse-dot.active {
            animation: pulse-glow 1s ease-in-out infinite;
        }

        @keyframes pulse-glow {
            0%, 100% { opacity: 0.6; r: 2; }
            50% { opacity: 1; r: 4; }
        }

        /* Data Packets - Small squares moving along paths */
        .data-packet {
            position: absolute;
            width: 4px;
            height: 4px;
            background: #F15F22;
            z-index: 50;
            opacity: 0;
        }

        .data-packet.visible {
            opacity: 1;
        }

        /* Packet colors */
        .data-packet.orange { background: #F15F22; box-shadow: 0 0 4px #F15F22; }
        .data-packet.blue { background: #38bdf8; box-shadow: 0 0 4px #38bdf8; }
        .data-packet.purple { background: #a855f7; box-shadow: 0 0 4px #a855f7; }
        .data-packet.green { background: #4ade80; box-shadow: 0 0 4px #4ade80; }

        /* Status Overlay */
        .status-overlay {
            position: absolute;
            top: 20px;
            right: 20px;
            display: flex;
            flex-direction: column;
            gap: 8px;
            z-index: 100;
            font-family: 'Fira Code', monospace;
        }

        .status-item {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #1e293b;
            border: 1px solid #334155;
            padding: 6px 12px;
        }

        .status-text {
            font-size: 10px;
            color: #94a3b8;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        /* Stage Label */
        .stage-label {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(30, 41, 55, 0.95);
            border: 1px solid #334155;
            padding: 8px 16px;
            font-family: 'Fira Code', monospace;
            font-size: 11px;
            color: #F15F22;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            z-index: 100;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .stage-label.visible {
            opacity: 1;
        }

        /* Metrics Panel - Control Panel Aesthetic */
        .metrics-panel {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 1px;
            background: rgba(148, 163, 184, 0.1);
            border-top: 1px solid var(--border-color);
            font-family: 'Fira Code', monospace;
        }

        .metric-item {
            background: rgba(15, 23, 42, 0.3);
            padding: 12px 16px;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .metric-label {
            font-size: 9px;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 0.1em;
        }

        .metric-value {
            font-size: 20px;
            color: #F15F22;
            font-weight: 700;
            font-variant-numeric: tabular-nums;
            line-height: 1;
        }

        .metric-unit {
            font-size: 9px;
            color: #475569;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        @media (max-width: 768px) {
            .genie-canvas {
                height: 500px;
            }
            .metrics-panel {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* Tooltip Styles */
        .tooltip {
            position: relative;
            display: inline;
            border-bottom: 1px dotted var(--brand-orange);
            cursor: help;
            color: inherit;
        }
        .tooltip:hover {
            color: var(--brand-orange);
        }
        .tooltip .tooltiptext {
            visibility: hidden;
            width: 280px;
            background: linear-gradient(135deg, rgba(31, 41, 55, 0.98), rgba(17, 24, 39, 0.98));
            color: var(--text-light);
            text-align: left;
            border-radius: 0.5rem;
            padding: 0.75rem 1rem;
            position: absolute;
            z-index: 1000;
            bottom: 125%;
            left: 50%;
            margin-left: -140px;
            opacity: 0;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            font-size: 0.875rem;
            line-height: 1.5;
            border: 1px solid var(--border-color);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(10px);
            font-weight: 400;
        }
        .tooltip .tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: rgba(31, 41, 55, 0.98) transparent transparent transparent;
        }
        .tooltip:hover .tooltiptext {
            visibility: visible;
            opacity: 1;
        }
        @media (max-width: 768px) {
            .tooltip .tooltiptext {
                width: 200px;
                margin-left: -100px;
                font-size: 0.8125rem;
            }
        }

        /* Contact Modal Styles */
        .contact-modal {
            max-width: 560px;
            width: 90%;
        }

        .contact-modal .modal-header {
            padding: 1.5rem;
            border-bottom: 1px solid var(--border-color);
        }

        .contact-modal .modal-header h3 {
            margin: 0;
            font-size: 1.5rem;
            font-weight: 600;
            background: linear-gradient(135deg, var(--brand-orange), #FF8C50);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .contact-modal .modal-body {
            padding: 1.5rem;
        }

        .form-group {
            margin-bottom: 1.25rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-size: 0.9375rem;
            font-weight: 500;
            color: var(--text-light);
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 0.75rem 1rem;
            font-size: 0.9375rem;
            color: var(--text-light);
            background: rgba(17, 24, 39, 0.5);
            border: 1px solid var(--border-color);
            border-radius: 0.5rem;
            outline: none;
            transition: all 0.2s ease;
            font-family: inherit;
            backdrop-filter: blur(10px);
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: var(--text-gray);
            opacity: 0.6;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: var(--brand-orange);
            background: rgba(17, 24, 39, 0.7);
            box-shadow: 0 0 0 3px rgba(241, 95, 34, 0.1);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 100px;
        }

        .form-error {
            display: block;
            margin-top: 0.375rem;
            font-size: 0.8125rem;
            color: #EF4444;
            min-height: 1.25rem;
        }

        .form-group.error input,
        .form-group.error textarea {
            border-color: #EF4444;
        }

        .form-status {
            margin-bottom: 1.25rem;
        }

        .form-success,
        .form-error-message {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 1rem;
            border-radius: 0.5rem;
            font-size: 0.9375rem;
        }

        .form-success {
            background: rgba(16, 185, 129, 0.1);
            border: 1px solid rgba(16, 185, 129, 0.3);
            color: #10B981;
        }

        .form-error-message {
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid rgba(239, 68, 68, 0.3);
            color: #EF4444;
        }

        .modal-actions {
            display: flex;
            gap: 0.75rem;
            justify-content: flex-end;
            margin-top: 1.5rem;
        }

        .modal-actions button {
            padding: 0.75rem 1.5rem;
            font-size: 0.9375rem;
        }

        #contact-submit:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

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

        /* Mobile Responsiveness for Contact Modal */
        @media (max-width: 640px) {
            .contact-modal {
                width: 95%;
                max-width: none;
            }

            .contact-modal .modal-header,
            .contact-modal .modal-body {
                padding: 1.25rem;
            }

            .contact-modal .modal-header h3 {
                font-size: 1.25rem;
            }

            .form-group input,
            .form-group textarea {
                font-size: 16px; /* Prevents iOS zoom on focus */
            }

            .modal-actions {
                flex-direction: column;
            }

            .modal-actions button {
                width: 100%;
            }
        }

        /* IFOC Workflow Animation Styles */
        .ifoc-workflow-canvas {
            position: relative;
        }

        /* IFOC Control Button - Industrial Style */
        .play-button {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            background: rgba(17, 24, 39, 0.6);
            border: 1px solid var(--border-color);
            border-radius: 0.375rem;
            color: var(--text-light);
            font-size: 0.875rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            font-family: inherit;
        }

        .play-button:hover {
            background: rgba(31, 41, 55, 0.8);
            border-color: var(--brand-orange);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(241, 95, 34, 0.15);
        }

        .play-button:active {
            transform: translateY(0);
        }

        .play-button.playing {
            border-color: var(--brand-orange);
            background: rgba(241, 95, 34, 0.1);
        }

        .play-button svg {
            width: 1rem;
            height: 1rem;
            stroke-width: 2;
        }

        .play-button .pause-icon,
        .play-button .play-icon {
            display: inline-block;
        }

        .ifoc-phases-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0.75rem;
            margin: 1.5rem 0;
        }

        .ifoc-phase-card {
            padding: 1rem 0.75rem;
            border-radius: 0.5rem;
            border: 1px solid var(--border-color);
            background: rgba(17, 24, 39, 0.4);
            transition: all 0.3s ease;
            text-align: center;
            cursor: pointer;
            position: relative;
        }

        .ifoc-phase-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .ifoc-phase-card .phase-icon {
            width: 2rem;
            height: 2rem;
            display: block;
            margin: 0 auto 0.5rem;
        }

        .ifoc-phase-card .phase-icon svg {
            width: 100%;
            height: 100%;
        }

        .ifoc-phase-card .phase-name {
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.05em;
            color: var(--text-light);
            margin-bottom: 0.25rem;
        }

        .ifoc-phase-card .phase-philosophy {
            font-size: 0.6875rem;
            color: var(--text-gray);
            line-height: 1.3;
        }

        .ifoc-phase-card .phase-status {
            position: absolute;
            top: 0.5rem;
            right: 0.5rem;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--border-color);
            transition: background 0.3s ease;
        }

        /* Phase-specific colors */
        .ifoc-phase-card.ideate {
            border-color: rgba(74, 222, 128, 0.3);
        }

        .ifoc-phase-card.ideate.active {
            border-color: #4ade80;
            background: rgba(74, 222, 128, 0.08);
            box-shadow: 0 0 20px rgba(74, 222, 128, 0.2);
        }

        .ifoc-phase-card.ideate.active .phase-status {
            background: #4ade80;
            box-shadow: 0 0 8px #4ade80;
        }

        .ifoc-phase-card.focus {
            border-color: rgba(59, 130, 246, 0.3);
        }

        .ifoc-phase-card.focus.active {
            border-color: #3b82f6;
            background: rgba(59, 130, 246, 0.08);
            box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
        }

        .ifoc-phase-card.focus.active .phase-status {
            background: #3b82f6;
            box-shadow: 0 0 8px #3b82f6;
        }

        .ifoc-phase-card.optimize {
            border-color: rgba(241, 95, 34, 0.3);
        }

        .ifoc-phase-card.optimize.active {
            border-color: #F15F22;
            background: rgba(241, 95, 34, 0.08);
            box-shadow: 0 0 20px rgba(241, 95, 34, 0.2);
        }

        .ifoc-phase-card.optimize.active .phase-status {
            background: #F15F22;
            box-shadow: 0 0 8px #F15F22;
        }

        .ifoc-phase-card.coordinate {
            border-color: rgba(147, 51, 234, 0.3);
        }

        .ifoc-phase-card.coordinate.active {
            border-color: #9333ea;
            background: rgba(147, 51, 234, 0.08);
            box-shadow: 0 0 20px rgba(147, 51, 234, 0.2);
        }

        .ifoc-phase-card.coordinate.active .phase-status {
            background: #9333ea;
            box-shadow: 0 0 8px #9333ea;
        }

        /* Pulse animation for active phase */
        .ifoc-phase-card.active {
            animation: ifocPhasePulse 2s ease-in-out infinite;
        }

        @keyframes ifocPhasePulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }

        /* Use case display */
        .ifoc-usecase-display {
            padding: 1rem;
            border-radius: 0.5rem;
            background: rgba(17, 24, 39, 0.6);
            border: 1px solid var(--border-color);
            min-height: 80px;
        }

        .ifoc-usecase-display .use-case-question {
            font-size: 0.9375rem;
            color: var(--text-light);
            font-weight: 500;
            margin-bottom: 0.5rem;
        }

        .ifoc-usecase-display .use-case-step {
            font-size: 0.8125rem;
            color: var(--text-gray);
            margin-bottom: 0.375rem;
        }

        .ifoc-usecase-display .use-case-action {
            font-size: 0.875rem;
            color: var(--brand-orange);
            font-weight: 500;
            margin-bottom: 0.5rem;
        }

        .ifoc-usecase-display .use-case-result {
            font-size: 0.875rem;
            color: #4ade80;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.375rem;
        }

        /* Intent display (Workflow question - static) */
        .ifoc-intent-display {
            padding: 1rem;
            border-radius: 0.5rem;
            background: rgba(17, 24, 39, 0.6);
            border: 1px solid var(--border-color);
        }

        .ifoc-intent-display .use-case-question {
            font-size: 0.9375rem;
            color: var(--text-light);
            font-weight: 500;
            margin: 0;
        }

        /* Phase progress display (Phase X/4 + action + result) */
        .ifoc-phase-progress {
            padding: 1rem;
            border-radius: 0.5rem;
            background: rgba(17, 24, 39, 0.6);
            border: 1px solid var(--border-color);
            min-height: 80px;
        }

        .ifoc-phase-progress .use-case-step {
            font-size: 0.8125rem;
            color: var(--text-gray);
            margin-bottom: 0.375rem;
        }

        .ifoc-phase-progress .use-case-action {
            font-size: 0.875rem;
            color: var(--brand-orange);
            font-weight: 500;
            margin-bottom: 0.5rem;
        }

        .ifoc-phase-progress .use-case-result {
            font-size: 0.875rem;
            color: #4ade80;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.375rem;
        }

        /* Phase details panel */
        .ifoc-details-panel {
            padding: 1rem;
            border-radius: 0.5rem;
            background: rgba(31, 41, 55, 0.4);
            border: 1px solid var(--border-color);
        }

        .ifoc-details-panel .detail-row {
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
        }

        .ifoc-details-panel .detail-row:last-child {
            margin-bottom: 0;
        }

        .ifoc-details-panel .detail-label {
            font-size: 0.75rem;
            color: var(--text-gray);
            min-width: 85px;
            font-weight: 500;
        }

        .ifoc-details-panel .detail-value {
            font-size: 0.8125rem;
            color: var(--text-light);
            flex: 1;
        }

        /* Conversation Mockup (Platform-Authentic Styling) */
        .conversation-mockup {
            display: flex;
            flex-direction: column;
            gap: 0.375rem;
            padding: 0.5rem;
            background: rgba(15, 23, 42, 0.4);
            border-radius: 0.75rem;
            border: 1px solid rgba(148, 163, 184, 0.15);
            overflow: hidden;
            height: 240px;
            flex-shrink: 0;
        }

        /* Message Bubble Base */
        .message-bubble {
            animation: messageFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
            border-radius: 0.5rem;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            position: relative;
            display: flex;
            align-items: flex-start;
            gap: 0.375rem;
        }

        /* User Message (Left-aligned, Orange accent) */
        .message-bubble.user {
            flex-direction: row;
            justify-content: flex-start;
        }

        .message-bubble.user .message-container {
            background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
            border: 1px solid rgba(241, 95, 34, 0.25);
            box-shadow: 0 2px 8px rgba(241, 95, 34, 0.15), 0 1px 3px rgba(0, 0, 0, 0.2);
        }

        .message-bubble.user .message-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, rgba(241, 95, 34, 0.6), transparent);
        }

        .message-bubble.user:hover .message-container {
            transform: translateX(2px);
            border-color: rgba(241, 95, 34, 0.4);
        }

        .message-bubble.user .message-author {
            color: var(--brand-orange);
        }

        /* Assistant Message (Right-aligned, Glass morphism) */
        .message-bubble.assistant {
            flex-direction: row-reverse;
        }

        .message-bubble.assistant .message-container {
            background: rgba(30, 41, 59, 0.9);
            border: 1px solid rgba(148, 163, 184, 0.15);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
        }

        .message-bubble.assistant:hover .message-container {
            transform: translateX(-2px);
            background: rgba(30, 41, 59, 0.95);
        }

        .message-bubble.assistant .message-author {
            color: var(--text-gray);
        }

        /* Message Container */
        .message-container {
            padding: 0.375rem 0.5rem;
            border-radius: 0.5rem;
            max-width: 90%;
            position: relative;
            word-wrap: break-word;
        }

        .message-author {
            font-size: 0.65rem;
            font-weight: 600;
            margin-bottom: 0.15rem;
            display: block;
        }

        .message-content {
            font-size: 0.7rem;
            line-height: 1.3;
            color: var(--text-light);
        }

        .message-content p {
            position: relative;
            margin: 0;
        }

        /* Typing cursor animation */
        .message-content p.typing::after {
            content: '|';
            animation: blink 0.7s infinite;
            margin-left: 2px;
        }

        @keyframes blink {
            0%, 49% { opacity: 1; }
            50%, 100% { opacity: 0; }
        }

        /* Avatar Styling (Platform-Authentic) */
        .message-avatar {
            flex-shrink: 0;
            width: 1.5rem;
            height: 1.5rem;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 0.65rem;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
            position: relative;
        }

        .message-avatar.user-avatar {
            background: linear-gradient(135deg, #F15F22 0%, #D9501A 100%);
            border: 1px solid rgba(241, 95, 34, 0.5);
            box-shadow: 0 4px 16px rgba(241, 95, 34, 0.35),
                        0 0 24px rgba(241, 95, 34, 0.2) inset,
                        0 1px 0 rgba(255, 255, 255, 0.1) inset;
            color: white;
        }

        .message-avatar.user-avatar::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                to bottom right,
                rgba(255, 255, 255, 0.15) 0%,
                rgba(255, 255, 255, 0.05) 40%,
                transparent 60%
            );
            border-radius: inherit;
            pointer-events: none;
        }

        .message-avatar.assistant-avatar {
            background: linear-gradient(135deg, rgba(55, 65, 81, 0.9) 0%, rgba(31, 41, 55, 0.95) 100%);
            border: 1px solid rgba(148, 163, 184, 0.3);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2),
                        0 0 12px rgba(59, 130, 246, 0.1) inset;
            color: var(--text-light);
        }

        /* @TAG Highlighting */
        .tag-highlight {
            color: var(--brand-orange);
            background: rgba(241, 95, 34, 0.15);
            padding: 0.1rem 0.3rem;
            border-radius: 0.25rem;
            font-weight: 600;
            font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
            font-size: 0.65rem;
        }

        .tag-highlight.tag-ideate {
            color: #4ade80;
            background: rgba(74, 222, 128, 0.15);
        }

        .tag-highlight.tag-focus {
            color: #3b82f6;
            background: rgba(59, 130, 246, 0.15);
        }

        .tag-highlight.tag-optimize {
            color: #F15F22;
            background: rgba(241, 95, 34, 0.15);
        }

        .tag-highlight.tag-coordinate {
            color: #9333ea;
            background: rgba(147, 51, 234, 0.15);
        }

        /* Entrance Animation */
        @keyframes messageFadeIn {
            0% {
                opacity: 0;
                transform: translateY(20px) scale(0.97);
                filter: blur(1px);
            }
            100% {
                opacity: 1;
                transform: translateY(0) scale(1);
                filter: blur(0);
            }
        }

        /* Fade out previous messages */
        .message-bubble.faded {
            opacity: 0.4;
            transition: opacity 0.3s ease;
        }

        /* Mobile responsive */
        @media (max-width: 768px) {
            .ifoc-phases-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.5rem;
            }

            .ifoc-phase-card {
                padding: 0.75rem 0.5rem;
            }

            .ifoc-phase-card .phase-icon {
                width: 1.5rem;
                height: 1.5rem;
                margin-bottom: 0.375rem;
            }

            .ifoc-phase-card .phase-name {
                font-size: 0.6875rem;
            }

            .ifoc-phase-card .phase-philosophy {
                font-size: 0.625rem;
            }

            .ifoc-usecase-display,
            .ifoc-intent-display,
            .ifoc-phase-progress,
            .ifoc-details-panel {
                padding: 0.75rem;
            }
        }


/* SEO-optimized visually-hidden H1 */
.seo-hero-h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
