:root {
    /* Brand Colors */
    --sky-reflection: #66A8D0;
    --blue-bell: #5495BB;
    --faded-copper: #A46F45;
    --light-bronze: #DE9D6A;
    --black: #080605;
    --white: #FDFDFD;
    
    --bg-main: #f8f9fa;
    --bg-elevated: #ffffff;
    --border-color: #e2e8f0;
    --border-hover: #cbd5e1;
    --text-primary: #1a202c;
    --text-secondary: #64748b;
    --text-tertiary: #94a3b8;
    --accent-primary: var(--blue-bell);
    --accent-secondary: var(--sky-reflection);
    --accent-gradient: linear-gradient(135deg, var(--blue-bell) 0%, var(--sky-reflection) 100%);
    --shadow-sm: 0 1px 2px 0 rgba(8, 6, 5, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(8, 6, 5, 0.05), 0 2px 4px -2px rgba(8, 6, 5, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(8, 6, 5, 0.06), 0 4px 6px -4px rgba(8, 6, 5, 0.03);
    --shadow-hover: 0 20px 25px -5px rgba(8, 6, 5, 0.08), 0 8px 10px -6px rgba(8, 6, 5, 0.04);
    
    --term-bg: #f9fafb;
    --term-header: #f1f5f9;
    --term-border: #e2e8f0;
    --term-text: #334155;
    --term-comment: #94a3b8;
    --term-command: #1e293b;
    
    --icon-bg: #f1f5f9;
}

[data-theme="dark"] {
    --bg-main: #0c0a09;
    --bg-elevated: #141210;
    --border-color: #1e1c1a;
    --border-hover: #2a2724;
    --text-primary: #f5f5f4;
    --text-secondary: #a8a29e;
    --text-tertiary: #78716c;
    --accent-primary: var(--sky-reflection);
    --accent-secondary: var(--blue-bell);
    --accent-gradient: linear-gradient(135deg, var(--sky-reflection) 0%, var(--blue-bell) 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
    
    --term-bg: #141210;
    --term-header: #1a1715;
    --term-border: #262320;
    --term-text: #d6d3d1;
    --term-comment: #78716c;
    --term-command: #f5f5f4;
    
    --icon-bg: #1a1715;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ─── Background ─── */

.bg-pattern {
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, var(--text-tertiary) 1px, transparent 0);
    background-size: 28px 28px;
    opacity: 0.22;
    z-index: -2;
    pointer-events: none;
}

[data-theme="dark"] .bg-pattern {
    opacity: 0.12;
}

.bg-glow {
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(84, 149, 187, 0.1) 0%, rgba(102, 168, 208, 0.04) 40%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

[data-theme="dark"] .bg-glow {
    background: radial-gradient(ellipse at center, rgba(102, 168, 208, 0.04) 0%, rgba(84, 149, 187, 0.015) 40%, transparent 70%);
}

/* ─── Theme Toggle ─── */

.theme-toggle {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    width: 20px;
    height: 20px;
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.2s ease;
    background: none;
    border: none;
    padding: 0;
}

.theme-toggle:hover {
    opacity: 0.8;
}

.theme-toggle svg {
    width: 100%;
    height: 100%;
    color: var(--text-secondary);
}

.sun-icon { display: none; }
.moon-icon { display: block; }

[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }

/* ─── Layout ─── */

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 1.5rem 4rem;
    position: relative;
    z-index: 1;
}

/* ─── Hero ─── */

.hero {
    text-align: center;
    margin-bottom: 5rem;
}

.logo-container {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    width: 100%;
    height: auto;
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #3b6d8c 0%, var(--blue-bell) 25%, var(--sky-reflection) 50%, var(--blue-bell) 75%, #3b6d8c 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.tagline {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto 2rem;
}

/* ─── Pill / CTA ─── */

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    padding: 0.35rem 1.25rem 0.35rem 0.35rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.pill:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.pill-badge {
    background: linear-gradient(90deg, #3b6d8c 0%, var(--blue-bell) 25%, var(--sky-reflection) 50%, var(--blue-bell) 75%, #3b6d8c 100%);
    background-size: 200% 100%;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    animation: gradientShift 6s ease infinite;
}

/* ─── Sections ─── */

.section {
    margin-bottom: 5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

/* ─── Terminal ─── */

.terminal {
    background: var(--term-bg);
    border: 1px solid var(--term-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 700px;
    margin: 0 auto;
}

.terminal-header {
    background: var(--term-header);
    border-bottom: 1px solid var(--term-border);
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.traffic-lights {
    display: flex;
    gap: 8px;
}

.traffic-lights span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.traffic-lights .red { background: #ff5f57; }
.traffic-lights .yellow { background: #febc2e; }
.traffic-lights .green { background: #28c840; }

.tab-icon {
    vertical-align: -2px;
    margin-right: 6px;
    flex-shrink: 0;
}

.terminal-os-label {
    margin-left: auto;
    font-size: 0.7rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--term-comment);
    opacity: 0.6;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.terminal-tabs {
    display: flex;
    gap: 0.25rem;
}

.tab {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.35rem 0.875rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.tab:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .tab:hover {
    background: rgba(255, 255, 255, 0.05);
}

.tab.active {
    color: var(--accent-primary);
    background: rgba(84, 149, 187, 0.12);
}

.terminal-body {
    padding: 1.75rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.8;
    overflow-x: auto;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.comment { 
    color: var(--term-comment); 
    margin-bottom: 0.5rem; 
}
.command { 
    color: var(--term-command);
}
.prompt { 
    color: var(--accent-primary); 
    margin-right: 0.75rem; 
    user-select: none;
    font-weight: 600;
}
.arg { color: var(--accent-secondary); }

.command-wrapper {
    position: relative;
    margin-bottom: 1.25rem;
    padding-right: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.command-wrapper:last-child {
    margin-bottom: 0;
}

.command-wrapper .command {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.copy-btn {
    flex-shrink: 0;
    background: transparent;
    border: none;
    padding: 4px;
    margin-right: -20px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    color: var(--accent-primary);
}

.copy-btn svg {
    width: 16px;
    height: 16px;
}

.copy-btn.copied {
    color: #22c55e;
}

/* ─── Feature Cards ─── */

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 640px;
    margin: 0 auto;
}

.card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.75rem;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
}

.card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--icon-bg);
    border-radius: 10px;
    margin-bottom: 1.25rem;
    color: var(--accent-primary);
}

.card-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ─── Hero Links ─── */

.hero-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pill-secondary {
    padding-left: 1.25rem;
}

.pill-secondary svg:first-child {
    color: var(--accent-primary);
}

/* ─── Interactive Demo ─── */

.demo-container {
    display: flex;
    gap: 2rem;
    max-width: 900px;
    height: 520px;
    margin: 0 auto;
}



/* Chat UI */
.demo-chat {
    flex: 1;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    max-width: 440px;
}

.demo-chat-header {
    background: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.demo-chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--icon-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.demo-chat-avatar img {
    width: 24px;
    height: auto;
}

.demo-chat-title {
    flex: 1;
}

.demo-chat-title h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.demo-chat-title span {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.demo-restart {
    background: transparent;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s;
}

.demo-restart:hover {
    color: var(--text-primary);
}

.demo-restart svg {
    width: 18px;
    height: 18px;
}

.demo-chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    scroll-behavior: smooth;
    min-height: 0;
}

.msg {
    max-width: 85%;
    padding: 0.6rem 0.85rem;
    border-radius: 12px;
    font-size: 0.875rem;
    line-height: 1.5;
    animation: fadeIn 0.3s ease-out;
}

.msg-user {
    background: var(--accent-primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.msg-bot {
    background: var(--icon-bg);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.msg-bot-action {
    background: transparent;
    color: var(--text-tertiary);
    font-size: 0.8rem;
    font-style: italic;
    align-self: center;
    text-align: center;
    padding: 0.2rem;
    animation: fadeIn 0.3s ease-out;
}

.msg-system {
    background: transparent;
    color: var(--text-tertiary);
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    align-self: center;
    text-align: center;
    padding: 0.2rem;
    animation: fadeIn 0.3s ease-out;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

/* System Architecture Dashboard */
.system-dashboard {
    flex: 1;
    position: relative;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sys-bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, var(--border-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--border-color) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

[data-theme="dark"] .sys-bg-grid {
    opacity: 0.1;
}

.sys-edges {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.sys-edges path {
    fill: none;
    stroke: var(--text-tertiary);
    stroke-width: 1.5;
    stroke-dasharray: 4 4;
    opacity: 0.4;
    transition: stroke 0.3s, opacity 0.3s, stroke-width 0.3s;
}

.sys-edges path.active {
    stroke: var(--accent-primary);
    stroke-width: 3;
    opacity: 1;
    animation: flowDash 1s linear infinite;
}

@keyframes flowDash {
    to { stroke-dashoffset: -8; }
}

.sys-node {
    position: absolute;
    transform: translate(-50%, -50%);
    background: var(--bg-elevated);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    width: 64px;
    height: 64px;
}

/* Position adjustment since these coordinates are based on 400x400 center */
.sys-node {
    margin-left: calc(50% - 200px);
    margin-top: calc(50% - 200px);
}

.sys-node.core {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    border-color: var(--text-tertiary);
}

.sys-node.engine {
    border-radius: 8px;
    width: 60px;
    height: 60px;
}

.sys-node.swarm {
    width: 240px;
    height: 72px;
    border-radius: 36px;
    flex-direction: row;
    gap: 16px;
}

.sys-node.swarm .sys-icon {
    width: 28px;
    height: 28px;
}

.sys-node.swarm .sys-label {
    position: relative;
    bottom: auto;
}

.sys-node .sys-icon {
    width: 24px;
    height: 24px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.sys-node.core .sys-icon {
    width: 28px;
    height: 28px;
}

.sys-node .sys-label {
    position: absolute;
    bottom: -22px;
    white-space: nowrap;
    font-size: 0.7rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    text-shadow: 0 1px 2px var(--bg-main), 0 -1px 2px var(--bg-main), 1px 0 2px var(--bg-main), -1px 0 2px var(--bg-main);
}

.sys-pulse {
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px solid var(--accent-primary);
    opacity: 0;
    pointer-events: none;
}

.sys-node.active {
    border-color: var(--accent-primary);
    background: var(--bg-elevated);
    box-shadow: 0 0 15px rgba(84, 149, 187, 0.3);
    transform: translate(-50%, -50%) scale(1.05);
}

.sys-node.active .sys-icon {
    color: var(--accent-primary);
}

.sys-node.active .sys-label {
    color: var(--text-primary);
}

.sys-node.active .sys-pulse {
    animation: pulseNode 1.5s infinite;
}

/* ─── Augmented HUD Dashboard ─── */

.demo-hud {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.hud-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    flex: 1;
}

.hud-card.active {
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(84, 149, 187, 0.15);
}

.hud-card-header {
    background: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hud-card-header svg {
    width: 14px;
    height: 14px;
    color: var(--accent-primary);
}

.hud-card-body {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    color: var(--text-primary);
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Specific Cards */

.memory-empty {
    color: var(--text-tertiary);
    font-style: italic;
    font-size: 0.8rem;
    text-align: center;
    padding: 1rem 0;
}

.hud-item {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.hud-item-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hud-item-value {
    color: var(--text-primary);
    font-weight: 500;
}

.hud-task-item {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent-primary);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    animation: slideIn 0.3s ease-out;
    font-size: 0.8rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.hud-task-item.task-conditional {
    border-left-color: var(--faded-copper);
}

.hud-task-item.task-recurring {
    border-left-color: var(--accent-primary);
}

.hud-task-type {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-tertiary);
    flex-shrink: 0;
}

@keyframes pulseNode {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 0.4rem 0.2rem;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--text-tertiary);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* ─── Marquee / Reviews ─── */

.marquee-section {
    margin-top: 3rem;
    padding: 0.75rem 0;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-row {
    display: flex;
    width: max-content;
}

.marquee-row.scroll-left {
    animation: scrollLeft 50s linear infinite;
}

.marquee-row.scroll-right {
    animation: scrollRight 50s linear infinite;
}

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

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

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

.review {
    flex-shrink: 0;
    width: 280px;
    min-height: 160px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    margin: 0 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.review:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.review-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.review-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.review-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-tertiary);
}

/* ─── Footer ─── */

.footer {
    margin-top: 5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.disclaimer {
    font-size: 0.875rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
    padding: 1.25rem;
    background: var(--bg-elevated);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.credits {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.credits a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.credits a:hover {
    color: var(--accent-primary);
}

/* ─── Responsive ─── */

@media (max-width: 640px) {
    .theme-toggle {
        top: 1rem;
        right: 1rem;
    }

    .container {
        padding: 4rem 1rem 3rem;
    }

    .title {
        font-size: 2.5rem;
    }

    .description {
        font-size: 1rem;
    }

    .terminal-body {
        font-size: 0.75rem;
        padding: 1.25rem;
    }

    .demo-container {
        flex-direction: column;
        height: auto;
    }

    .demo-chat {
        max-width: 100%;
        height: 400px;
    }

    .demo-hud {
        height: auto;
    }

    .hud-card {
        max-height: 250px;
    }

    .grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .tab-label { display: none; }
    .tab-icon { margin-right: 0; }
    .terminal-os-label { display: none; }
}
