/* Landing Page Styles - Terminal Aesthetic */

:root {
    --terminal-green: #1c8f3e;
    --terminal-green-dim: #168a3a;
    --rp-green-soft: #d8f3d8;
    --rp-green-dark: #168a3a;
    --rp-ink: #0f1112;
    --rp-ink-40: rgba(15,17,18,.4);
    --rp-ink-60: rgba(15,17,18,.6);
    --rp-ink-10: rgba(15,17,18,.1);
    --rp-border: rgba(15,17,18,.08);
    --bg-black: #0d1117;
    --bg-white: #FFFFFC;
    --text-primary: #0B1215;
    --text-secondary: #999;
    --mono-font: 'Inter', sans-serif;
}

/* Base resets and typography - landing page needs light background */
body {
    background: var(--bg-white) !important;
    color: var(--text-primary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Section spacing */
.section {
    padding: 100px 0;
    border-top: 2px solid var(--text-primary);
}

.section:first-of-type {
    border-top: none;
}

/* Section variations for visual differentiation */
.problem-section {
    background: #f5f5f5;
    border-top: 4px solid var(--bg-black);
}

.solution-section {
    background: var(--bg-white);
    border-top: 2px solid var(--text-primary);
}

.trust-section {
    background: #fafafa;
    border-top: 2px solid var(--text-primary);
}

.proof-section {
    background: var(--bg-white);
    border-top: 2px solid var(--text-primary);
}

.engage-section {
    background: var(--bg-white);
    border-top: 2px solid var(--text-primary);
}

.gravel-section {
    background: var(--bg-black);
    color: #FFFFFC;
    border-top: none;
}

.gravel-section .section-headline {
    color: var(--terminal-green);
}

.gravel-section .section-comment {
    color: #666;
}

.gravel-section .gravel-content {
    color: #FFFFFC;
}

.gravel-section .inline-link,
.gravel-section .cta-secondary {
    color: #FFFFFC;
    border-color: #FFFFFC;
}

.gravel-section .cta-secondary:hover {
    background: var(--terminal-green);
    border-color: var(--terminal-green);
    color: var(--bg-black);
}

/* Typography */
.section-headline,
.section-intro {
    font-family: var(--mono-font);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

/* Section comment navigation */
.section-comment {
    font-family: var(--mono-font);
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

/* Collapsible section styles */
.section-headline,
.section-intro,
.principle-headline {
    user-select: none;
    transition: color 0.2s ease;
}

.section-headline:hover,
.section-intro:hover,
.principle-headline:hover {
    color: var(--terminal-green);
}

.section-content-collapsed {
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-out, margin 0.3s ease-out;
    opacity: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.section > *:not(.section-headline):not(.section-intro):not(.section-comment) {
    transition: max-height 0.4s ease-in, opacity 0.3s ease-in, margin 0.3s ease-in;
}

.principle > *:not(.principle-headline) {
    transition: max-height 0.4s ease-in, opacity 0.3s ease-in, margin 0.3s ease-in;
}

.section-collapsed {
    padding-bottom: 40px;
}

.principle.section-collapsed {
    padding-bottom: 0;
    margin-bottom: 40px;
}

/* Error messages */
.error-messages {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 40px 0;
}

.error-box {
    font-family: var(--mono-font);
    font-size: 13px;
    line-height: 1.6;
    color: #ff6b6b;
    background: var(--bg-black);
    padding: 20px;
    border: 1px solid #ff6b6b;
    border-radius: 4px;
    overflow-x: auto;
    white-space: pre;
}

/* Logo typing animation */
.logo-typing {
    font-family: var(--mono-font);
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.logo-typing-prefix {
    margin-right: 8px;
}

.logo-typing-text {
    color: var(--terminal-green);
    font-weight: 500;
    min-width: 200px;
    display: inline-block;
    text-align: left;
}

/* Trust section intro */
.trust-intro {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 60px;
    max-width: 800px;
}

/* Proof section */
.proof-content {
    opacity: 1;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.proof-intro {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 40px;
    max-width: 900px;
}

/* Engagement bullets */
.engage-bullets {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.engage-bullets li {
    font-family: var(--mono-font);
    font-size: 14px;
    line-height: 1.8;
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.engage-bullets li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--terminal-green);
    font-weight: bold;
}

/* Terminal cursor blink animation */
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.cursor {
    animation: blink 1s step-end infinite;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 140px 0 100px;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 1;
    min-height: 540px;
}

.hero-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 72px;
    align-items: stretch;
}

.hero-copy {
    max-width: 560px;
    width: min(520px, 100%);
    justify-self: flex-start;
    align-self: center;
}

.hero-visual {
    position: relative;
    justify-self: center;
    align-self: stretch;
    width: min(520px, 100%);
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
}

.hero-visual > .rp-rotator {
    width: 100%;
    height: 100%;
}

.hero-rotator,
.hero-visual > .rp-rotator {
    width: 100%;
    height: 100%;
}

.hero-rotator-fallback {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-headline {
    font-family: var(--mono-font);
    font-size: 60px;
    font-weight: 700;
    color: var(--terminal-green);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    position: relative;
    text-transform: none;
}

.terminal-caret {
    position: absolute;
    left: -60px;
    color: var(--terminal-green);
}

.hero-subhead {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-support {
    font-family: var(--mono-font);
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-primary,
.cta-secondary {
    display: inline-block;
    padding: 16px 32px;
    font-family: var(--mono-font);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--text-primary);
    transition: all 0.2s ease;
}

.cta-primary {
    background: var(--text-primary);
    color: var(--bg-white);
}

.cta-primary:hover {
    background: var(--terminal-green);
    border-color: var(--terminal-green);
    color: var(--text-primary);
}

.cta-secondary {
    background: transparent;
    color: var(--text-primary);
}

.cta-secondary:hover {
    background: var(--text-primary);
    color: var(--bg-white);
}

/* Magnetic Grid Container - Full Section Background */
.magnetic-grid-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.magnetic-grid-canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    pointer-events: auto;
    position: absolute;
    top: 0;
    left: 0;
}

/* Console Progress Module */
.console-progress-module {
    max-width: 520px;
    margin-top: 40px;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Skip animation button */
.skip-animation-btn {
    position: absolute;
    left: -9999px;
    font-family: var(--mono-font);
    font-size: 11px;
    padding: 4px 8px;
    background: var(--bg-white);
    border: 1px solid var(--rp-border);
    color: var(--text-primary);
    cursor: pointer;
    border-radius: 4px;
    z-index: 10;
}

.skip-animation-btn:focus {
    left: 10px;
    top: 10px;
}

/* Console Card */
.console-card {
    background: var(--bg-white);
    border: 1px solid var(--rp-border);
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(15, 17, 18, 0.06);
    margin-bottom: 24px;
    opacity: 1;
    transition: opacity 180ms ease-out;
}

.console-card.visible {
    opacity: 1;
}

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

.console-led {
    width: 8px;
    height: 8px;
    background: var(--terminal-green);
    border-radius: 50%;
    flex-shrink: 0;
}

.console-label {
    font-family: ui-monospace, 'SF Mono', 'Menlo', monospace;
    font-size: 11px;
    color: var(--rp-ink-60);
    text-transform: lowercase;
}

.console-body {
    font-family: ui-monospace, 'SF Mono', 'Menlo', monospace;
    font-size: 13px;
    line-height: 1.45;
}

.console-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    min-height: 19px;
}

.console-line:last-child {
    margin-bottom: 0;
}

.console-caret {
    color: var(--rp-ink-60);
    flex-shrink: 0;
}

.console-caret.blink {
    animation: caretBlink 1.2s step-end infinite;
}

@keyframes caretBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.console-text {
    color: var(--rp-ink);
    flex: 1;
}

.console-badge {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    flex-shrink: 0;
    min-width: 24px;
    text-align: center;
}

.console-badge.pending {
    color: var(--rp-ink-60);
    opacity: 0.4;
}

.console-badge.running {
    color: var(--rp-ink-60);
    animation: pulse 1.2s ease-in-out infinite;
}

.console-badge.done {
    background: var(--rp-green-soft);
    color: var(--rp-green-dark);
    font-weight: 500;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Enhanced Progress Bar */
.progress-bar-enhanced {
    width: 100%;
}

.progress-track {
    position: relative;
    width: 100%;
    height: 20px;
    background: #f5f5f5;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-fill-enhanced {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(180deg, var(--terminal-green) 0%, var(--rp-green-dark) 100%);
    border-radius: 10px;
    transition: width 600ms cubic-bezier(0.2, 0.7, 0, 1);
}

.progress-fill-enhanced.fast {
    transition: width 450ms ease-out;
}

.progress-highlight {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
}

.progress-check {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    color: white;
    font-size: 12px;
    font-weight: bold;
    opacity: 0;
    transition: all 150ms ease-out;
}

.progress-check.visible {
    transform: translateY(-50%) scale(1);
    opacity: 1;
    animation: checkPop 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes checkPop {
    0% { transform: translateY(-50%) scale(0); }
    50% { transform: translateY(-50%) scale(1.06); }
    100% { transform: translateY(-50%) scale(1); }
}

/* Hover state */
.console-progress-module:hover .progress-fill-enhanced {
    box-shadow: 0 0 8px rgba(28, 143, 62, 0.4);
}

/* Focus state for keyboard navigation */
.console-progress-module:focus-within {
    outline: 2px solid var(--terminal-green);
    outline-offset: 4px;
    border-radius: 16px;
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem-content {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 60px;
}

.problem-content p {
    margin-bottom: 20px;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.problem-card {
    font-family: var(--mono-font);
    font-size: 14px;
    border: 1px solid var(--terminal-green);
    padding: 30px;
    background: var(--bg-black);
    color: #FFFFFC;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.problem-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.problem-icon {
    font-size: 32px;
    color: #ff6b6b;
    flex-shrink: 0;
}

.problem-card h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    color: var(--terminal-green);
}

.problem-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    flex: 1;
}

.problem-card li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.card-error {
    font-family: var(--mono-font);
    font-size: 11px;
    line-height: 1.8;
    color: #ff8888;
    background: rgba(255, 107, 107, 0.15);
    padding: 12px;
    border-left: 3px solid #ff6b6b;
    border-radius: 2px;
    margin-top: auto;
    white-space: pre-line;
}

.graveyard {
    text-align: center;
    margin-top: 60px;
}

.ascii-art {
    font-family: var(--mono-font);
    font-size: 18px;
    line-height: 1.4;
    color: var(--text-secondary);
    display: inline-block;
}

/* ============================================
   SHIFT SECTION
   ============================================ */
.shift-content {
    font-size: 18px;
    line-height: 1.7;
    max-width: 900px;
}

.shift-content p {
    margin-bottom: 20px;
}

.pull-quote {
    font-family: var(--mono-font);
    font-size: 24px;
    font-weight: 700;
    color: var(--terminal-green);
    margin: 50px 0;
    padding: 30px;
    background: #f5f5f5;
    border-left: 4px solid var(--terminal-green);
    display: block;
}

.comment-slash {
    color: var(--text-secondary);
    margin-right: 8px;
}

/* ============================================
   SOLUTION SECTION
   ============================================ */
.principle {
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid #ddd;
}

.principle:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.principle-headline {
    font-family: var(--mono-font);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    padding-left: 40px;
}

.principle-content {
    font-size: 18px;
    line-height: 1.7;
    padding-left: 40px;
}

.principle-content p {
    margin-bottom: 20px;
}

.stat-box {
    font-family: var(--mono-font);
    background: var(--bg-black);
    border: 1px solid var(--terminal-green);
    border-radius: 4px;
    padding: 30px;
    margin: 40px 0;
}

.stat-row {
    font-size: 13px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #FFFFFC;
}

.stat-row:last-child {
    margin-bottom: 0;
}

.stat-value {
    font-weight: 700;
    margin-left: 10px;
    color: var(--terminal-green);
}

/* Trifecta layout */
.trifecta {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.trifecta-item {
    background: #000000;
    color: #FFFFFC;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--terminal-green);
    flex: 1;
    min-width: 250px;
}

.trifecta-check {
    color: var(--terminal-green);
    font-size: 20px;
    margin-right: 8px;
    display: inline-block;
}

.trifecta-item h3 {
    color: var(--terminal-green);
    margin-bottom: 15px;
    font-size: 20px;
}

.trifecta-item h4 {
    font-family: var(--mono-font);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFFFFC;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.trifecta-item p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.trifecta-plus {
    font-size: 32px;
    font-weight: 700;
    padding-top: 40px;
}

.principle-footer {
    font-style: italic;
    color: var(--text-secondary);
    margin-top: 30px;
}

.inline-link {
    color: var(--text-primary);
    text-decoration: underline;
    font-weight: 500;
}

.inline-link:hover {
    color: var(--terminal-green);
}

/* ============================================
   GRAVEL ROAD SECTION
   ============================================ */
.gravel-content {
    font-size: 18px;
    line-height: 1.7;
    max-width: 900px;
}

.gravel-content p {
    margin-bottom: 20px;
}

.flowchart {
    font-family: var(--mono-font);
    font-size: 14px;
    line-height: 1.6;
    background: rgba(63, 185, 80, 0.1);
    border: 2px solid var(--terminal-green);
    padding: 30px;
    margin: 40px 0;
    overflow-x: auto;
    color: var(--terminal-green);
}

/* ============================================
   TRUST SECTION
   ============================================ */
.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 100px;
    margin-top: 0;
    grid-template-rows: auto auto auto auto auto;
}

.trust-subtitle {
    font-family: var(--mono-font);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--text-primary);
    text-transform: none;
}

.trust-subtitle-positive {
    border-bottom-color: var(--terminal-green);
}

.trust-subtitle:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.trust-subtitle:nth-child(5) {
    grid-column: 2;
    grid-row: 1;
}

.trust-item {
    display: flex;
    flex-direction: column;
    line-height: 1.7;
    margin-bottom: 40px;
}

.trust-item:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}

.trust-item:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
}

.trust-item:nth-child(4) {
    grid-column: 1;
    grid-row: 4;
}

.trust-item:nth-child(6) {
    grid-column: 2;
    grid-row: 2;
}

.trust-item:nth-child(7) {
    grid-column: 2;
    grid-row: 3;
}

.trust-item:nth-child(8) {
    grid-column: 2;
    grid-row: 4;
}

.logo-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #ddd;
}

.logo-section-header {
    font-family: var(--mono-font);
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    text-align: center;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    align-items: center;
}

.logo-item {
    font-family: var(--mono-font);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-secondary);
    text-align: center;
    padding: 15px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item:hover {
    color: var(--terminal-green);
}

.company-logo {
    max-width: 160px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.2s ease;
}

.logo-item:hover .company-logo {
    filter: grayscale(0%) opacity(1);
}

.trust-item strong {
    display: block;
    margin-bottom: 15px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.trust-not-header {
    color: #ff6b6b;
    font-family: var(--mono-font);
}

.trust-are-header {
    color: var(--terminal-green);
}

/* ============================================
   PROOF SECTION
   ============================================ */
.testimonial {
    font-family: var(--mono-font);
    font-size: 16px;
    line-height: 1.8;
    padding: 50px 50px 50px 60px;
    background: var(--bg-black);
    color: #FFFFFC;
    border: 2px solid var(--terminal-green);
    border-left: 5px solid var(--terminal-green);
    border-radius: 4px;
    margin: 50px 0;
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 48px;
    color: var(--terminal-green);
    opacity: 0.4;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial cite {
    display: block;
    margin-top: 25px;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    color: var(--terminal-green);
}

.proof-footer {
    font-family: var(--mono-font);
    font-size: 13px;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 30px;
}

/* ============================================
   ENGAGE SECTION
   ============================================ */
.engage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.engage-card {
    border: 2px solid var(--text-primary);
    padding: 35px;
    background: var(--bg-white);
    display: flex;
    flex-direction: column;
}

.engage-card.featured {
    background: var(--bg-black);
    color: #FFFFFC;
    border: 2px solid var(--terminal-green);
}

.engage-card.featured h3 {
    color: var(--terminal-green);
}

.engage-card.featured .engage-divider {
    background: #666;
}

.engage-card.featured .engage-tagline {
    color: #aaa;
}

.engage-card.featured .engage-cta {
    background: var(--terminal-green);
    border-color: var(--terminal-green);
    color: var(--bg-black);
}

.engage-card.featured .engage-cta:hover {
    background: #FFFFFC;
    border-color: #FFFFFC;
}

.engage-header {
    margin-bottom: 25px;
}

.engage-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.engage-card h3 {
    font-family: var(--mono-font);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.engage-divider {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-secondary);
    margin: 12px 0;
}

.engage-tagline {
    font-size: 14px;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.5;
}

.engage-content {
    flex: 1;
    font-size: 14px;
    line-height: 1.7;
}

.engage-content h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.engage-content ul {
    margin-bottom: 30px;
    padding-left: 0;
}

.engage-content li {
    margin-bottom: 12px;
}

.engage-investment,
.engage-for,
.engage-outcome {
    margin-bottom: 20px;
}

.engage-investment strong,
.engage-outcome strong {
    color: var(--terminal-green);
}

.engage-card.featured .engage-investment strong,
.engage-card.featured .engage-outcome strong {
    color: var(--terminal-green);
}

.engage-for ul,
.engage-outcome {
    margin-top: 10px;
}

.engage-cta {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background: var(--text-primary);
    color: var(--bg-white);
    text-decoration: none;
    font-family: var(--mono-font);
    font-size: 12px;
    font-weight: 700;
    border: 2px solid var(--text-primary);
    transition: all 0.2s ease;
    align-self: flex-start;
}

.engage-cta:hover {
    background: var(--terminal-green);
    border-color: var(--terminal-green);
    color: var(--text-primary);
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.final-cta-section {
    background: var(--bg-black);
    color: var(--bg-white);
    border-top: none;
    text-align: center;
}

.final-headline {
    font-family: var(--mono-font);
    font-size: 56px;
    font-weight: 700;
    color: #FFFFFC;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.final-headline .cursor {
    color: var(--terminal-green);
}

.final-subhead {
    font-size: 20px;
    margin-bottom: 40px;
    color: #ccc;
}

.final-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.final-cta-section .cta-primary {
    border-color: var(--bg-white);
    background: var(--bg-white);
    color: var(--bg-black);
}

.final-cta-section .cta-primary:hover {
    background: var(--terminal-green);
    border-color: var(--terminal-green);
    color: var(--bg-black);
}

.final-cta-section .cta-secondary {
    border-color: var(--bg-white);
    color: var(--bg-white);
}

.final-cta-section .cta-secondary:hover {
    background: var(--bg-white);
    color: var(--bg-black);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-black);
    color: var(--bg-white);
    padding: 60px 0 40px;
}

.footer-brand {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--mono-font);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-divider {
    font-family: var(--mono-font);
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.footer-tagline {
    font-family: var(--mono-font);
    font-size: 14px;
    color: #999;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-nav a {
    font-family: var(--mono-font);
    color: var(--bg-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--terminal-green);
}

.footer-credit {
    text-align: center;
    font-family: var(--mono-font);
    font-size: 12px;
    color: #666;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 968px) {
    .container {
        padding: 0 30px;
    }

    .section {
        padding: 60px 0;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero .container {
        min-height: auto;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        justify-self: center;
        width: min(500px, 100%);
        min-height: 360px;
        position: relative;
        height: auto;
        pointer-events: auto;
        overflow: hidden;
    }

    .hero-copy {
        max-width: 100%;
    }


    .hero-headline {
        font-size: 44px;
    }

    .hero-subhead {
        font-size: 22px;
    }

    .section-headline,
    .section-intro {
        font-size: 24px;
    }

    /* Problem grid to single column */
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Trust grid to single column */
    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0 40px;
        row-gap: 40px;
    }

    .trust-subtitle {
        width: 100%;
    }

    /* Make logo section full width on tablet */
    .logo-section {
        margin-left: -30px;
        margin-right: -30px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .logo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    /* Engage grid to single column */
    .engage-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .engage-card {
        padding: 28px;
    }

    /* Trifecta stacks vertically */
    .trifecta {
        flex-direction: column;
    }

    .trifecta-plus {
        padding-top: 0;
        text-align: center;
    }

    .trifecta-item {
        min-width: 100%;
    }

    /* Console progress module responsive */
    .console-progress-module {
        max-width: 100%;
    }

    .console-card {
        padding: 12px 16px;
    }

    .console-body {
        font-size: 13px;
    }

    .progress-track {
        height: 12px;
    }

    .final-headline {
        font-size: 36px;
    }

    .final-ctas {
        flex-direction: column;
        align-items: center;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 400px;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }

    /* Hide hero visualization to simplify mobile layout */
    .hero-visual {
        display: none;
    }

    .hero-headline {
        font-size: 32px;
    }

    .hero-support {
        font-size: 14px;
    }

    /* Balance hero section spacing on mobile */
    .hero-ctas {
        margin-bottom: 30px;
    }

    .hero-layout {
        gap: 40px;
    }

    .engage-card {
        padding: 24px 20px;
    }

    .engage-cta {
        width: 100%;
        text-align: center;
        align-self: stretch;
    }

    .logo-section {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .logo-item {
        font-size: 14px;
        padding: 10px;
    }

    .company-logo {
        max-width: 100px;
        max-height: 40px;
    }

    .section-headline,
    .section-intro {
        font-size: 20px;
    }

    .principle-headline {
        font-size: 22px;
    }

    .pull-quote {
        font-size: 18px;
        padding: 20px;
    }

    .testimonial {
        font-size: 16px;
        padding: 25px;
    }

    .ascii-art {
        font-size: 14px;
    }

    .flowchart {
        font-size: 11px;
        padding: 20px;
    }
}

/* ============================================
   SPECTRUM SECTION
   ============================================ */
.spectrum-section {
    background: var(--bg-white);
    border-top: 2px solid var(--text-primary);
}

.spectrum-intro {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 40px;
    max-width: 900px;
}

.spectrum-intro strong {
    font-weight: 700;
    color: var(--text-primary);
}

.spectrum-metaphor {
    font-family: var(--mono-font);
    font-size: 14px;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 20px;
}

/* Gradient bar */
.spectrum-gradient-bar {
    margin: 50px auto 40px;
    max-width: 1120px;
}

.gradient-line {
    height: 4px;
    background: linear-gradient(90deg,
        var(--terminal-green) 0%,
        var(--terminal-green) 30%,
        #666 50%,
        var(--text-primary) 70%,
        var(--text-primary) 100%);
    border-radius: 2px;
}

.gradient-labels {
    display: flex;
    justify-content: space-between;
    font-family: var(--mono-font);
    font-size: 11px;
    font-weight: 600;
    margin-top: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.label-left {
    color: var(--terminal-green);
}

.label-right {
    color: var(--text-primary);
}

/* Visual Display Area */
.spectrum-visual {
    margin: 0 auto 50px;
    max-width: 1120px;
}

.visual-container {
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-display {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.visual-display.active {
    opacity: 1;
    pointer-events: auto;
}

/* Level 0 Visual: Process Flow */
.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.process-step {
    padding: 20px 30px;
    background: #fafafa;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-family: var(--mono-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.process-step.ai-step {
    background: var(--terminal-green);
    border-color: var(--terminal-green);
    color: var(--bg-black);
    font-size: 16px;
}

.process-arrow {
    font-size: 24px;
    color: var(--text-secondary);
    font-weight: 700;
}

/* Level 2 Visual: Agent Diagram */
.agent-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.agent-center {
    padding: 25px 35px;
    background: var(--terminal-green);
    border: 3px solid var(--terminal-green);
    border-radius: 50%;
    font-family: var(--mono-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--bg-black);
    text-align: center;
    line-height: 1.4;
}

.agent-surrounding {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 700px;
}

.agent-item {
    padding: 15px 20px;
    background: #fafafa;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-family: var(--mono-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

.visual-caption {
    font-family: var(--mono-font);
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    font-style: italic;
}

/* Levels grid */
.spectrum-levels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.spectrum-level {
    border: 2px solid #ddd;
    padding: 30px;
    background: #fafafa;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.spectrum-level:hover {
    border-color: var(--terminal-green);
    background: #fff;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.spectrum-level.active {
    border-color: var(--terminal-green);
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.level-badge {
    display: inline-block;
    background: var(--terminal-green);
    color: var(--bg-black);
    padding: 4px 12px;
    border-radius: 3px;
    font-family: var(--mono-font);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 15px;
}

.spectrum-level h3 {
    font-family: var(--mono-font);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.level-tagline {
    font-size: 13px;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.level-bar {
    height: 6px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.level-bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    border-radius: 3px;
    transition: width 0.8s ease;
}

.spectrum-level[data-fill="15"] .level-bar-fill {
    width: 15%;
    background: linear-gradient(90deg,
        var(--terminal-green) 0%,
        var(--terminal-green) 100%);
}

.spectrum-level[data-fill="45"] .level-bar-fill {
    width: 45%;
    background: linear-gradient(90deg,
        var(--terminal-green) 0%,
        var(--terminal-green) 66%,
        #666 100%);
}

.spectrum-level[data-fill="80"] .level-bar-fill {
    width: 80%;
    background: linear-gradient(90deg,
        var(--terminal-green) 0%,
        var(--terminal-green) 37%,
        #666 62%,
        var(--text-primary) 87%,
        var(--text-primary) 100%);
}

.level-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
}

.level-examples {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e5e5;
}

.level-example {
    font-family: var(--mono-font);
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.level-example::before {
    content: "→ ";
    color: var(--terminal-green);
    margin-right: 5px;
}

.spectrum-cta {
    display: inline-block;
    padding: 14px 28px;
    font-family: var(--mono-font);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--text-primary);
    background: var(--text-primary);
    color: var(--bg-white);
    transition: all 0.2s ease;
}

.spectrum-cta:hover {
    background: var(--terminal-green);
    border-color: var(--terminal-green);
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 968px) {
    .spectrum-levels {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .process-flow {
        flex-direction: column;
        gap: 15px;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .agent-surrounding {
        grid-template-columns: repeat(2, 1fr);
    }

    .visual-container {
        min-height: 300px;
    }
}

/* Fade-in on scroll animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}
