:root {
    --bg-color: #050505;
    --surface-color: #0d0d0d;
    --surface-glass: rgba(20, 20, 25, 0.7);
    --primary-color: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.5);
    --secondary-color: #2dd4bf;
    --secondary-glow: rgba(45, 212, 191, 0.5);
    --accent-color: #ef4444;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
    --nav-height: 80px;
    --container-max-width: 1200px;
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Utilities */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-tagline {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-base);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 14px 0 var(--primary-glow);
}

.btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
}

.btn-primary-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-primary-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.highlight {
    color: var(--primary-color) !important;
}

.card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition-base);
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade {
    animation: fadeIn 1s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--surface-glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links a {
    margin-left: 2rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-base);
}

.nav-links a:hover {
    color: white;
}

/* Hero Section */
.hero-section {
    padding-top: calc(var(--nav-height) + 4rem);
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.hero-lead {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.hero-image-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
}

.hero-image {
    width: 100%;
}

.image-overlay-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top, var(--bg-color), transparent);
}

/* Problem Section */
.problem-section {
    padding: 8rem 0;
    background: radial-gradient(circle at bottom right, rgba(45, 212, 191, 0.05), transparent 40%);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.problem-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition-base);
}

.problem-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.problem-card p {
    color: var(--text-muted);
}

.quote-block {
    text-align: center;
    margin-top: 4rem;
}

blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: white;
    position: relative;
    display: inline-block;
    max-width: 800px;
}

blockquote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -40px;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
}

/* Comparison Tables */
.table-wrapper {
    background: var(--surface-color);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.scroll-x {
    overflow-x: auto;
}

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

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

th {
    background: rgba(255,255,255,0.02);
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

td {
    color: var(--text-muted);
}

.table-footer td {
    background: rgba(255,255,255,0.02);
    color: white;
}

.highlight {
    background: rgba(59, 130, 246, 0.05) !important;
    border-left: 1px solid rgba(59, 130, 246, 0.2);
    border-right: 1px solid rgba(59, 130, 246, 0.2);
}

/* Architecture Section */
.architecture-section {
    padding: 8rem 0;
}

.mermaid-wrapper {
    background: var(--surface-color);
    padding: 3rem;
    border-radius: 20px;
    display: flex;
    justify-content: center;
}

/* Personas Section */
.personas-section {
    padding: 8rem 0;
}

.persona-block {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.persona-block.reverse {
    flex-direction: row-reverse;
}

.persona-content {
    flex: 1;
}

.persona-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.persona-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.persona-content p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.feature-list {
    margin-bottom: 2rem;
}

.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.persona-quote {
    padding: 1.5rem;
    background: rgba(255,255,255,0.02);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: white;
    font-size: 1rem;
}

/* Discovery Section */
.discovery-section {
    padding: 8rem 0;
    background: linear-gradient(to bottom, transparent, rgba(59, 130, 246, 0.05), transparent);
}

.discovery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-num {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.5;
}

.discovery-visual {
    background: var(--surface-color);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.l6-badge {
    display: inline-block;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.75rem;
    background: #000;
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border: 1px solid var(--secondary-color);
}

/* Battle Cards */
.battle-section {
    padding: 8rem 0;
}

.battle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.battle-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
}

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

.battle-card h4 {
    margin-bottom: 0;
    font-size: 1.25rem;
}

.battle-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.battle-card .fix {
    padding: 1rem;
    background: rgba(45, 212, 191, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(45, 212, 191, 0.1);
    color: #fff;
    font-size: 0.9375rem;
}

/* Alternatives Table */
.alternatives-section {
    padding: 8rem 0;
}

.alt-table th, .alt-table td {
    text-align: center;
}

.alt-table th:first-child, .alt-table td:first-child {
    text-align: left;
    width: 320px;
}

/* CTA Section */
.cta-section {
    padding-bottom: 8rem;
}

.cta-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 5rem;
    border-radius: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0.3;
}

.cta-card h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-card p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Footer */
.main-footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
}

/* Text/Table Based Architecture Section */
.architecture-text-layout {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.arch-phases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.arch-phase-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: var(--transition-base);
}

.arch-phase-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

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

.phase-number {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
}

.phase-header h3 {
    font-size: 1.25rem;
    color: #fff;
    margin: 0;
}

.phase-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.phase-components {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.phase-components li {
    font-size: 0.875rem;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.phase-components li strong {
    color: #fff;
    display: block;
    margin-bottom: 0.25rem;
}

/* Outcomes Table */
.arch-outcomes-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.arch-outcomes-table th,
.arch-outcomes-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.arch-outcomes-table th {
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.arch-outcomes-table td {
    color: var(--text-color);
    font-size: 1rem;
    vertical-align: top;
}

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

.arch-outcomes-table i {
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .arch-outcomes-table, .arch-outcomes-table tbody, .arch-outcomes-table tr, .arch-outcomes-table td, .arch-outcomes-table th {
        display: block;
    }
    
    .arch-outcomes-table thead {
        display: none;
    }
    
    .arch-outcomes-table tr {
        margin-bottom: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        background: rgba(15, 23, 42, 0.4);
    }
    
/* Architecture of Proof Table */
.arch-table-section {
    padding: 8rem 0;
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.03), transparent 40%);
}

.arch-table-wrapper {
    background: var(--surface-color);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    margin-top: 3rem;
}

.arch-table {
    width: 100%;
    border-collapse: collapse;
}

.arch-table th {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem 2rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border-color);
}

.arch-table td {
    padding: 1.25rem 2rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

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

.arch-table tr:hover {
    background: rgba(255, 255, 255, 0.01);
}
.layer-badge {
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.checkpoint-name {
    font-weight: 700;
    color: white;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.checkpoint-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* New Discovery Styles */
.discovery-hops {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.hop-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.hop-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0.5;
}

.hop-item:hover {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
    transform: translateX(10px);
}

.hop-num {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.8;
    font-size: 1.5rem;
    line-height: 1;
}

.hop-content strong {
    display: block;
    color: white;
    margin-bottom: 0.25rem;
}

.hop-content p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0;
}

.receipt-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(45, 212, 191, 0.05);
    border: 1px solid rgba(45, 212, 191, 0.2);
    border-radius: 12px;
}

.receipt-code {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.875rem;
    color: var(--secondary-color);
    margin-top: 0.5rem;
    display: block;
}

/* Utility for technical highlights */
.tech-highlight {
    color: var(--secondary-color);
    font-family: 'Roboto Mono', monospace;
    font-weight: 500;
}
    
    .arch-outcomes-table td:first-child {
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 0.5rem;
    }
}


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

.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }
    
    .persona-block, .persona-block.reverse {
        flex-direction: column;
        gap: 2rem;
    }
    
    .discovery-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-card {
        padding: 3rem 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
}

/* --- 🧊 Modal & Form Enhancements --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: var(--surface-color);
    color: white;
    width: 100%;
    max-width: 500px;
    padding: 3rem;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.form-group input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: var(--primary-color);
}

.modal-status, .status-msg {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    min-height: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal-status.active, .status-msg.active {
    opacity: 1;
}

.modal-status.success, .status-msg.success { color: var(--secondary-color); }
.modal-status.error, .status-msg.error { color: var(--accent-color); }

/* CTA Form Styles */
.cta-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.cta-form {
    display: flex;
    gap: 1rem;
}

.cta-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    outline: none;
}

.cta-form input:focus {
    border-color: var(--primary-color);
}

@media (max-width: 600px) {
    .cta-form {
        flex-direction: column;
    }
    
    .modal-card {
        padding: 2rem 1.5rem;
        border-radius: 0;
        height: 100vh;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* --- 🧱 Section Enhancements --- */

.hero-quote-highlight blockquote {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2rem;
    font-family: 'Roboto Mono', monospace;
    opacity: 0.9;
}

.how-it-works-section {
    padding: 8rem 0;
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.05), transparent 40%);
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3rem;
}

.workflow-step {
    text-align: center;
    position: relative;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--surface-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
}
/* --- NEW SECTIONS --- */

/* Architecture Table */
.arch-table-section {
    padding: 8rem 0;
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.05), transparent 40%);
}

.arch-table-wrapper {
    background: var(--surface-color);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    margin-top: 3rem;
}

.arch-table {
    width: 100%;
    border-collapse: collapse;
}

.arch-table th {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem 2rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border-color);
    text-align: left;
}

.arch-table td {
    padding: 1.25rem 2rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

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

.layer-badge {
    display: inline-block;
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    white-space: nowrap;
}

.checkpoint-name {
    font-weight: 700;
    color: white;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.checkpoint-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Forensic Discovery */
.discovery-section {
    padding: 8rem 0;
    background: linear-gradient(to bottom, transparent, rgba(59, 130, 246, 0.03), transparent);
}

.discovery-content-full {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.discovery-text {
    text-align: left;
}

.discovery-hops {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 2.5rem 0;
}

.hop-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.hop-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0.4;
}

.hop-item:hover {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
    transform: translateX(10px);
}

.hop-num {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1.5rem;
    line-height: 1;
}

.hop-content strong {
    display: block;
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.hop-content p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0;
}

.receipt-box {
    background: rgba(45, 212, 191, 0.05);
    border: 1px solid rgba(45, 212, 191, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.receipt-code {
    display: block;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.875rem;
    color: var(--secondary-color);
    margin-top: 0.5rem;
}

.tech-highlight {
    color: var(--secondary-color);
    font-family: 'Roboto Mono', monospace;
}

.discovery-visual-full img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
}

/* Persona Table */
.persona-table th {
    text-align: center;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
}

.persona-table td {
    padding: 2.5rem;
    text-align: center;
    vertical-align: top;
}

/* Battle Cards */
.battle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.battle-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition-base);
}

.battle-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
}

.battle-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.battle-card .fix {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(45, 212, 191, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(45, 212, 191, 0.1);
    font-size: 0.9375rem;
}

@media (max-width: 992px) {
    .discovery-content-full {
        grid-template-columns: 1fr;
    }
}

/* --- Bespoke Control Engine Pillars --- */
.pillars-section {
    padding: 8rem 0;
    background: radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.04), transparent 45%);
}

.pillars-console {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.engine-module {
    background: rgba(10, 15, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.engine-module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

.engine-module:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 20px rgba(59, 130, 246, 0.1);
}

.engine-module.govern::before {
    background: linear-gradient(90deg, transparent, #10b981, transparent);
}
.engine-module.prove::before {
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}
.engine-module.control::before {
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 1.25rem;
}

.module-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.module-icon {
    font-size: 1.5rem;
}

.module-title-wrap h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.module-status {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.engine-module.govern .module-status {
    color: #10b981;
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
}
.engine-module.prove .module-status {
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.2);
}
.engine-module.control .module-status {
    color: var(--secondary-color);
    background: rgba(45, 212, 191, 0.05);
    border-color: rgba(45, 212, 191, 0.2);
}

.module-tagline {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.module-features-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.module-features-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    text-align: left;
}

.module-features-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    top: 1px;
    font-family: 'Roboto Mono', monospace;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
}

.engine-module.govern .module-features-list li::before {
    color: #10b981;
}
.engine-module.prove .module-features-list li::before {
    color: var(--primary-color);
}
.engine-module.control .module-features-list li::before {
    color: var(--secondary-color);
}

/* --- Forensic Console Simulation --- */
.forensic-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

@media (max-width: 992px) {
    .forensic-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.forensic-console {
    background: rgba(10, 15, 30, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    text-align: left;
}

.console-titlebar {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.console-dots {
    display: flex;
    gap: 0.5rem;
}

.console-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}
.console-dot.red { background: #ef4444; }
.console-dot.yellow { background: #f59e0b; }
.console-dot.green { background: #10b981; }

.console-title {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.console-body {
    padding: 2.5rem;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.console-prompt {
    color: #fff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.console-prompt::before {
    content: '$';
    color: var(--secondary-color);
    font-weight: 700;
}

.console-hop-trace {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.trace-step {
    border-left: 2px dashed rgba(255, 255, 255, 0.1);
    padding-left: 1.5rem;
    margin-left: 0.5rem;
    position: relative;
}

.trace-step::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.trace-step.active::before {
    background: var(--secondary-color);
    box-shadow: 0 0 10px var(--secondary-color);
}

.trace-header {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.trace-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.trace-desc code {
    color: var(--secondary-color);
    background: rgba(45, 212, 191, 0.08);
    border: 1px solid rgba(45, 212, 191, 0.15);
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
}

.console-receipt-box {
    background: rgba(45, 212, 191, 0.05);
    border: 1px solid rgba(45, 212, 191, 0.2);
    border-radius: 8px;
    padding: 1.25rem;
    color: var(--secondary-color);
}

.console-receipt-box strong {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.console-receipt-box code {
    font-size: 0.8rem;
    word-break: break-all;
}

.discovery-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.discovery-image-wrapper img {
    width: 100%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.discovery-image-wrapper:hover img {
    transform: scale(1.02);
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08), transparent 60%);
    pointer-events: none;
    z-index: 1;
}
