/* ==========================================================================
   Aevion Landing Page - Sovereign AI Verification
   Professional dark theme optimized for DARPA evaluators and investors
   ========================================================================== */

/* CSS Variables */
:root {
    /* Colors - Professional Dark Theme */
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-tertiary: #1a2332;
    --bg-card: #1e293b;

    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;

    --accent-primary: #3b82f6;
    --accent-secondary: #8b5cf6;
    --accent-success: #10b981;
    --accent-warning: #f59e0b;
    --accent-danger: #ef4444;

    --border-color: #334155;
    --border-accent: #475569;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-card: linear-gradient(135deg, #1e293b 0%, #1a2332 100%);

    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

/* ==========================================================================
   Global Styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-base);
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-accent);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent-primary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-copy {
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.btn-copy:hover {
    background: var(--bg-card);
    border-color: var(--accent-primary);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-top: var(--spacing-sm);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--accent-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.stat {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
}

.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.1;
}

.circuit-bg {
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: pan 30s linear infinite;
}

@keyframes pan {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* ==========================================================================
   Problem/Solution Section
   ========================================================================== */

.problem-solution {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.ps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.ps-card {
    padding: var(--spacing-lg);
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.ps-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.ps-card h3 {
    margin-bottom: var(--spacing-md);
}

.ps-list {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.ps-list li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
}

.ps-list li:last-child {
    border-bottom: none;
}

.ps-list strong {
    color: var(--accent-primary);
}

.tagline {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-tertiary);
    border-left: 4px solid var(--accent-primary);
    font-style: italic;
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* ==========================================================================
   How It Works - Architecture
   ========================================================================== */

.how-it-works {
    padding: var(--spacing-xl) 0;
}

.architecture {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.arch-layer {
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
    overflow: hidden;
    transition: all var(--transition-base);
}

.arch-layer:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

.layer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.layer-tag {
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
}

.layer-content {
    padding: var(--spacing-md);
}

.layer-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.layer-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-sm);
}

.spec {
    display: flex;
    flex-direction: column;
    padding: var(--spacing-sm);
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.spec-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.spec-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.layer-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.feature-icon {
    font-size: 1.5rem;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text strong {
    color: var(--text-primary);
}

.feature-text span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Layer-specific colors */
.sheriff-layer .layer-tag {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.kernel-layer .layer-tag {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.watts-layer .layer-tag {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* ==========================================================================
   Alignment Badges
   ========================================================================== */

.alignment {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.badge-card {
    padding: var(--spacing-md);
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all var(--transition-base);
}

.badge-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.badge-logo {
    margin-bottom: var(--spacing-md);
}

.logo-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.875rem;
    color: white;
}

.logo-circle.darpa {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.logo-circle.nist {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.logo-circle.cisa {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.logo-circle.patent {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.badge-list {
    list-style: none;
    text-align: left;
}

.badge-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.badge-list li::before {
    content: "✓ ";
    color: var(--accent-success);
    font-weight: bold;
}

.cage-code {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin-top: var(--spacing-lg);
}

/* ==========================================================================
   Interactive Demo
   ========================================================================== */

.demo {
    padding: var(--spacing-xl) 0;
}

.demo-container {
    max-width: 900px;
    margin: 0 auto;
}

.demo-input {
    margin-bottom: var(--spacing-lg);
}

.demo-input label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--text-secondary);
}

.demo-input textarea {
    width: 100%;
    padding: var(--spacing-sm);
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    resize: vertical;
    transition: border-color var(--transition-fast);
}

.demo-input textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.demo-input button {
    margin-top: var(--spacing-sm);
}

.proof-output {
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: var(--spacing-md);
}

.proof-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--border-color);
}

.proof-visualization {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.proof-stage {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    opacity: 0.5;
    transition: all var(--transition-base);
}

.proof-stage.active {
    opacity: 1;
    border: 1px solid var(--accent-primary);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.proof-stage.completed {
    opacity: 1;
    border: 1px solid var(--accent-success);
}

.stage-icon {
    font-size: 2rem;
}

.stage-content {
    flex: 1;
}

.stage-content h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.stage-content p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.stage-progress {
    margin-top: 0.5rem;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    transition: width var(--transition-slow);
}

.proof-result {
    margin-bottom: var(--spacing-md);
}

.proof-result h4 {
    margin-bottom: var(--spacing-sm);
}

.proof-result pre {
    background: var(--bg-primary);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.proof-verify {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.verification-result {
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.verification-result.success {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-success);
    border: 1px solid var(--accent-success);
}

.verification-result.error {
    background: rgba(239, 68, 68, 0.2);
    color: var(--accent-danger);
    border: 1px solid var(--accent-danger);
}

/* ==========================================================================
   Use Cases
   ========================================================================== */

.use-cases {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.use-case-card {
    padding: var(--spacing-md);
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.use-case-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.use-case-card h3 {
    margin-bottom: var(--spacing-sm);
}

.use-case-card p {
    color: var(--text-secondary);
    margin: 0;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta {
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    margin-bottom: var(--spacing-sm);
}

.cta p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.cta-contact {
    padding: var(--spacing-md);
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.cta-contact p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.8;
}

.cta-contact a {
    color: var(--accent-primary);
}

/* ==========================================================================
   Harbor of Ages - SimCity Style
   ========================================================================== */
.harbor-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, #0a1a2e 50%, var(--bg-primary) 100%);
    border-top: 2px solid var(--accent-primary);
}

.harbor-section .section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.harbor-section .section-header h2 {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: var(--spacing-sm);
}

.harbor-section .section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Age Progression */
.age-progression {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.age-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: var(--spacing-md);
    text-align: center;
    min-width: 140px;
    transition: all 0.3s ease;
}

.age-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.2);
}

.age-card.dark-age { border-color: #8B7355; }
.age-card.feudal-age { border-color: #CD853F; }
.age-card.castle-age { border-color: #708090; }
.age-card.imperial-age { border-color: #FFD700; }

.age-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.age-card h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.age-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.age-requirement {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(0, 255, 65, 0.1);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--accent-primary);
    font-family: var(--font-mono);
}

.age-arrow {
    color: var(--accent-primary);
    font-size: 1.5rem;
    opacity: 0.5;
}

/* Demo Cities */
.demo-cities {
    margin: var(--spacing-xl) 0;
    text-align: center;
}

.demo-cities h3 {
    font-size: 1.8rem;
    color: var(--accent-primary);
    margin-bottom: var(--spacing-sm);
}

.demo-subtitle {
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    max-width: 1000px;
    margin: 0 auto;
}

.city-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: var(--spacing-md);
    transition: all 0.3s ease;
}

.city-card:hover {
    transform: scale(1.02);
}

.city-card.featured {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.city-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.city-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    background: #8B7355;
    color: white;
}

.city-badge.featured { background: #CD853F; }
.city-badge.castle { background: #708090; }

.city-header h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
}

.city-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.city-stat {
    text-align: center;
}

.city-stat .stat-value {
    display: block;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--accent-primary);
    font-family: var(--font-mono);
}

.city-stat .stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.city-buildings {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: var(--spacing-sm);
}

.city-buildings span {
    font-size: 0.75rem;
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: var(--text-secondary);
}

.verified-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid var(--accent-primary);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--accent-primary);
}

/* Guilds Preview */
.guilds-preview {
    margin: var(--spacing-xl) 0;
    text-align: center;
}

.guilds-preview h3 {
    font-size: 1.8rem;
    color: var(--accent-primary);
    margin-bottom: var(--spacing-lg);
}

.guilds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
    max-width: 1000px;
    margin: 0 auto;
}

.guild-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: var(--spacing-md);
    text-align: center;
    transition: all 0.3s ease;
}

.guild-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-3px);
}

.guild-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.guild-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.guild-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
}

.guild-members {
    font-size: 0.75rem;
    color: var(--accent-primary);
    font-family: var(--font-mono);
}

/* Harbor CTA */
.harbor-cta {
    text-align: center;
    padding: var(--spacing-lg) 0;
    margin-top: var(--spacing-xl);
    border-top: 1px solid var(--border-color);
}

.harbor-cta h3 {
    font-size: 1.8rem;
    color: var(--accent-primary);
    margin-bottom: var(--spacing-sm);
}

.harbor-cta p {
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer
   ========================================================================== */

.footer {
    padding: var(--spacing-lg) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.footer-col h4 {
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .layer-specs {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.75rem; }

    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

    .ps-grid {
        grid-template-columns: 1fr;
    }

    .badges-grid {
        grid-template-columns: 1fr;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .layer-specs {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out;
}

/* Print Styles */
@media print {
    .nav,
    .hero-visual,
    .demo,
    .footer {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}
