/* ============================================
   markjason landing page
   Dark. Fast. Minimal.
   ============================================ */

:root {
    /* Colors - no purple, ever */
    --bg-primary: #0a0a0b;
    --bg-secondary: #111113;
    --bg-elevated: #18181b;
    --bg-hover: #222225;
    
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    --accent-md: #3b82f6;      /* Blue for markdown */
    --accent-json: #f59e0b;    /* Amber for JSON */
    --accent-blue: #3b82f6;    /* Blue for actions */
    
    --syntax-heading: #60a5fa;
    --syntax-bold: #e2e8f0;
    --syntax-list: #94a3b8;
    --syntax-code: #fb923c;
    --syntax-blockquote: #64748b;
    
    --border: #27272a;
    --border-subtle: #1f1f23;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-2xl: 8rem;
    
    /* Animation */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Subtle grain texture */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    z-index: 1000;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ============================================
   Header & Nav
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--space-md) var(--space-lg);
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    gap: var(--space-lg);
    align-items: center;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s var(--ease-out);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link--cta {
    background: var(--bg-elevated);
    padding: var(--space-sm) var(--space-md);
    border-radius: 6px;
    border: 1px solid var(--border);
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    background: var(--bg-hover);
    border-color: var(--text-muted);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-2xl) var(--space-lg);
    padding-top: calc(var(--space-2xl) + 60px);
    max-width: 1400px;
    margin: 0 auto;
    gap: var(--space-xl);
}

@media (min-width: 1024px) {
    .hero {
        flex-direction: row;
        align-items: center;
    }
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

/* Logo */
.hero-brand {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.logo {
    font-family: var(--font-mono);
    font-size: clamp(3.5rem, 9vw, 5rem);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.1em;
}

.logo-mark {
    color: var(--accent-md);
}

.logo-brace {
    color: var(--accent-json);
}

.hero-title {
    font-family: var(--font-mono);
    font-size: clamp(3.5rem, 9vw, 5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    font-weight: 500;
}

.file-ext {
    font-family: var(--font-mono);
    font-weight: 500;
    padding: 0.1em 0.4em;
    border-radius: 4px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
}

.hero-tagline .file-ext:first-of-type {
    color: var(--accent-md);
}

.hero-tagline .file-ext:last-of-type {
    color: var(--accent-json);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.hero-emphasis {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: flex-start;
}

.version {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s var(--ease-out);
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.25rem;
    transition: transform 0.2s var(--ease-out);
}

.btn:hover .btn-icon {
    transform: translateY(2px);
}

.btn-large {
    padding: var(--space-lg) var(--space-xl);
    font-size: 1.125rem;
}

/* App Window Preview */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.app-window {
    width: 100%;
    max-width: 500px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 40px 100px rgba(0, 0, 0, 0.3);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s var(--ease-out);
}

.app-window:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

/* Title bar - matches real app */
.window-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #1a1a1c;
    border-bottom: 1px solid var(--border);
}

.titlebar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.titlebar-right {
    flex: 1;
}

.window-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.window-dot--close { background: #ff5f57; }
.window-dot--minimize { background: #febc2e; }
.window-dot--maximize { background: #28c840; }

.sidebar-toggle {
    margin-left: 8px;
    color: var(--text-muted);
    font-size: 1rem;
    opacity: 0.6;
}

.titlebar-title {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Tab bar */
.window-tabbar {
    display: flex;
    align-items: center;
    padding: 0 8px;
    background: #141416;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    color: var(--text-muted);
    background: transparent;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
}

.tab--active {
    background: #1e1e20;
    color: var(--text-primary);
}

.tab-dot {
    color: var(--accent-md);
    font-size: 0.5rem;
}

.tab-name {
    color: inherit;
}

.tab-close {
    color: var(--text-muted);
    font-size: 0.9rem;
    opacity: 0.6;
}

.tab-new {
    padding: 8px 12px;
    color: var(--text-muted);
    font-size: 1rem;
    opacity: 0.5;
}

/* Document bar */
.window-docbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 16px;
    background: #1e1e20;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.docbar-filename {
    color: var(--text-muted);
}

.docbar-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mode-toggle {
    display: flex;
    background: #2a2a2e;
    border-radius: 4px;
    overflow: hidden;
}

.mode-active,
.mode-inactive {
    padding: 3px 10px;
    font-size: 0.7rem;
}

.mode-active {
    background: #3a3a3e;
    color: var(--text-primary);
}

.mode-inactive {
    color: var(--text-muted);
}

.shortcut-hint {
    color: var(--text-muted);
    font-size: 0.65rem;
    opacity: 0.6;
}

.save-check {
    color: var(--text-muted);
    opacity: 0.4;
}

/* Editor content */
.window-content {
    min-height: 300px;
    background: #141416;
}

.editor {
    padding: 24px 32px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 2;
    position: relative;
}

.editor-line {
    color: var(--text-secondary);
    min-height: 1.6em;
}

/* Syntax highlighting - matches real app */
.syntax-hash {
    color: #64748b;
    font-weight: 400;
}

.syntax-heading {
    color: #60a5fa;
    font-weight: 600;
}

.syntax-h2 {
    color: #60a5fa;
    font-weight: 600;
}

.syntax-marker {
    color: #64748b;
    font-weight: 400;
}

.syntax-bold {
    color: #fafafa;
    font-weight: 600;
}

.syntax-list {
    color: #94a3b8;
}

.syntax-code {
    color: #fb923c;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.1em 0.3em;
    border-radius: 3px;
}

.syntax-blockquote {
    color: #64748b;
    font-style: italic;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: var(--text-secondary);
    vertical-align: middle;
    margin-left: 1px;
    animation: blink 1s ease-in-out infinite;
}

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

/* ============================================
   Features Section
   ============================================ */

.features {
    padding: var(--space-2xl) var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-xs);
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.feature {
    padding: var(--space-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s var(--ease-out);
}

.feature:hover {
    border-color: var(--text-muted);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.feature-desc strong {
    color: var(--text-secondary);
}

/* ============================================
   Why Section
   ============================================ */

.why {
    padding: var(--space-2xl) var(--space-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.comparison {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

@media (min-width: 768px) {
    .comparison {
        flex-direction: row;
        align-items: flex-start;
    }
}

.comparison-col {
    flex: 1;
    padding: var(--space-lg);
    border-radius: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
}

.comparison-col--vscode {
    opacity: 0.7;
}

.comparison-col--markjason {
    border-color: var(--accent-md);
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.1);
}

.comparison-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    font-family: var(--font-mono);
}

.comparison-col--vscode .comparison-title {
    color: var(--text-muted);
}

.comparison-col--markjason .comparison-title {
    color: var(--accent-md);
}

.comparison-list {
    list-style: none;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.comparison-list li {
    padding: var(--space-xs) 0;
    padding-left: 1.5em;
    position: relative;
}

.comparison-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

.comparison-col--markjason .comparison-list li::before {
    content: '✓';
    color: var(--accent-md);
}

.comparison-time {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

.comparison-col--vscode .comparison-time {
    color: var(--text-muted);
}

.comparison-col--markjason .comparison-time {
    color: var(--accent-md);
    font-weight: 600;
}

.comparison-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 1.5rem;
}

.why-footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.8;
}

/* ============================================
   Download Section
   ============================================ */

.download {
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.download-subtitle {
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
}

.download-box {
    padding: var(--space-xl);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: var(--space-lg);
}

.download-meta {
    margin-top: var(--space-md);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.download-note {
    margin-top: var(--space-sm);
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

.setup-hint {
    padding: var(--space-lg);
    background: var(--bg-elevated);
    border-radius: 8px;
    text-align: left;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.setup-hint strong {
    color: var(--accent-json);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    padding: var(--space-2xl) var(--space-lg);
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.footer-name {
    color: var(--text-secondary);
}

.footer-tagline {
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* ============================================
   Animations on scroll
   ============================================ */

.feature,
.comparison-col,
.download-box {
    opacity: 1;
    transform: translateY(0);
}

/* Animation class added by JS when element comes into view */
.animate-in {
    animation: fadeInUp 0.6s var(--ease-out) forwards;
}

.feature.animate-in:nth-child(1) { animation-delay: 0.1s; }
.feature.animate-in:nth-child(2) { animation-delay: 0.2s; }
.feature.animate-in:nth-child(3) { animation-delay: 0.3s; }
.feature.animate-in:nth-child(4) { animation-delay: 0.4s; }
.feature.animate-in:nth-child(5) { animation-delay: 0.5s; }
.feature.animate-in:nth-child(6) { animation-delay: 0.6s; }

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

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
    .hero {
        padding: var(--space-xl) var(--space-md);
        padding-top: calc(var(--space-xl) + 80px);
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .app-window {
        transform: none;
    }
    
    .sidebar {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison {
        gap: var(--space-md);
    }
    
    .comparison-vs {
        padding: var(--space-sm) 0;
    }
}

/* Selection */
::selection {
    background: var(--accent-blue);
    color: var(--text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ============================================
   "What we'll NEVER add" section
   ============================================ */

.never {
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
}

.strike {
    text-decoration: line-through;
    opacity: 0.4;
}

.never-terminal {
    max-width: 600px;
    margin: var(--space-xl) auto;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    text-align: left;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.terminal-header {
    background: var(--bg-elevated);
    padding: var(--space-sm) var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    border-bottom: 1px solid var(--border);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
}

.terminal-dot:nth-child(1) { background: #ff5f57; }
.terminal-dot:nth-child(2) { background: #febc2e; }
.terminal-dot:nth-child(3) { background: #28c840; }

.terminal-title {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: var(--space-md);
}

.terminal-line {
    line-height: 1.8;
    display: flex;
    gap: var(--space-sm);
}

.terminal-prompt {
    color: var(--accent-md);
    user-select: none;
}

.terminal-output {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.never-item {
    color: var(--text-primary);
}

.never-comment {
    color: var(--text-muted);
    font-style: italic;
}

.terminal-cursor {
    animation: blink 1s infinite;
    color: var(--accent-md);
}

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

.never-footer {
    color: var(--text-secondary);
    font-style: italic;
    margin-top: var(--space-xl);
}

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

/* ============================================
   Glitch effect on logo
   ============================================ */

.logo {
    position: relative;
}

.logo:hover {
    animation: glitch 0.3s ease forwards;
}

.logo:hover .logo-mark,
.logo:hover .logo-brace {
    animation: colorGlitch 0.3s ease;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

@keyframes colorGlitch {
    0% { text-shadow: none; }
    20% { text-shadow: -2px 0 var(--accent-json), 2px 0 var(--accent-md); }
    40% { text-shadow: 2px 0 var(--accent-json), -2px 0 var(--accent-md); }
    60% { text-shadow: -1px 0 var(--accent-md), 1px 0 var(--accent-json); }
    80% { text-shadow: 1px 0 var(--accent-md), -1px 0 var(--accent-json); }
    100% { text-shadow: none; }
}

/* Responsive for never section */
@media (max-width: 768px) {
    .never-terminal {
        font-size: 0.75rem;
    }
    
    .terminal-output {
        flex-direction: column;
        gap: 0;
    }
    
    .never-comment {
        margin-left: 1.5rem;
        font-size: 0.7rem;
    }
}

/* ============================================
   VS Code comparison strike-through effect
   ============================================ */

.comparison-col--vscode li {
    position: relative;
    transition: opacity 0.4s ease, color 0.4s ease;
}

.comparison-col--vscode li.crossed-out {
    color: var(--text-muted);
}

.comparison-col--vscode li.crossed-out::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ef4444, transparent);
    animation: strikethrough 0.4s ease forwards;
}

@keyframes strikethrough {
    to {
        width: calc(100% + 20px);
    }
}

/* Make the "vs" more dramatic */
.comparison-vs {
    font-size: 2rem !important;
    font-weight: 700;
    background: linear-gradient(135deg, #ef4444, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* Hero enhancements */
.hero-title {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Feature cards hover enhancement */
.feature {
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s ease;
}

.feature:hover {
    transform: translateY(-4px);
    border-color: var(--accent-md);
    box-shadow: 0 20px 40px -20px rgba(34, 197, 94, 0.2);
}

/* Logo glow on hover */
.logo:hover .logo-mark {
    text-shadow: 0 0 20px var(--accent-md), 0 0 40px var(--accent-md);
}

.logo:hover .logo-brace {
    text-shadow: 0 0 20px var(--accent-json), 0 0 40px var(--accent-json);
}

/* Typed files animation */
.typed-files {
    font-family: var(--font-mono);
    font-size: 0.9em;
    color: var(--text-muted);
    display: inline-block;
}

/* Credits section */
.credits {
    margin: var(--space-lg) 0;
    padding: var(--space-md);
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.credits-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.credits-list {
    list-style: none;
    font-size: 0.85rem;
}

.credits-list li {
    padding: var(--space-xs) 0;
    color: var(--text-secondary);
}

.credits-note {
    color: var(--text-muted);
    font-size: 0.8em;
    font-style: italic;
}

.credits-note::before {
    content: '— ';
}

/* Download button attention animation */
.btn-large {
    animation: gentleShake 4s ease-in-out infinite;
    animation-delay: 2s;
}

.btn-large:hover {
    animation: none;
    transform: scale(1.02);
}

@keyframes gentleShake {
    0%, 90%, 100% { transform: translateX(0); }
    92% { transform: translateX(-3px) rotate(-0.5deg); }
    94% { transform: translateX(3px) rotate(0.5deg); }
    96% { transform: translateX(-2px) rotate(-0.3deg); }
    98% { transform: translateX(2px) rotate(0.3deg); }
}

/* Make version badge more visible */
.version {
    background: var(--bg-elevated);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    border: 1px solid var(--border-subtle);
}

/* ============================================
   Markdown Preview Section (NEVER.md)
   ============================================ */

.markdown-preview {
    max-width: 600px;
    margin: var(--space-xl) auto;
    background: #141414;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    overflow: hidden;
    text-align: left;
}

.markdown-header {
    background: #1a1a1a;
    padding: var(--space-sm) var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    border-bottom: 1px solid #2a2a2a;
}

.markdown-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.markdown-dot--close { background: #ff5f57; }
.markdown-dot--minimize { background: #febc2e; }
.markdown-dot--maximize { background: #28c840; }

.markdown-filename {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.markdown-body {
    padding: var(--space-xl) var(--space-lg);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.8;
}

.md-line {
    color: var(--text-secondary);
    min-height: 1.5em;
}

.md-line--h1 {
    font-size: 1.5rem;
}

.md-line--h2 {
    font-size: 1.125rem;
}

.md-syntax {
    color: #71717a;
    font-weight: 400;
}

.md-h1 {
    color: #60a5fa;
    font-weight: 600;
}

.md-h2 {
    color: #60a5fa;
    font-weight: 600;
}

.md-text {
    color: #a1a1aa;
    font-size: 0.875rem;
}

/* ============================================
   Jason Reveal Section
   ============================================ */

.jason {
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
}

.jason-card {
    max-width: 500px;
    margin: var(--space-xl) auto;
    padding: var(--space-xl);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.jason-image {
    margin-bottom: var(--space-lg);
}

.jason-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 2px solid var(--border);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jason-emoji {
    font-size: 3rem;
}

.jason-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.jason-role {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
}

.jason-bio {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.jason-links {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.jason-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.jason-link:hover {
    color: var(--text-primary);
}

/* Responsive for markdown and jason sections */
@media (max-width: 768px) {
    .markdown-preview {
        font-size: 0.8rem;
    }
    
    .markdown-body {
        padding: var(--space-md);
    }
    
    .jason-card {
        padding: var(--space-lg);
    }
}

/* ============================================
   Features Variant 1: Hero feature card
   ============================================ */

.feature--hero {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-elevated) 100%);
    border-color: var(--accent-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-xl);
}

.feature--hero .feature-icon {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-md);
    background: var(--bg-primary);
    padding: var(--space-sm) var(--space-md);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.feature--hero .feature-title {
    font-size: 1.75rem;
}

.feature--hero .feature-desc {
    max-width: 500px;
    font-size: 1.05rem;
}

/* ============================================
   Features Variant 2: Stats + List layout
   ============================================ */

.features-grid--compact {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.feature--stat {
    text-align: center;
    padding: var(--space-lg);
}

.feature--stat .feature-number {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-md);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.feature--stat .feature-title {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.feature--stat .feature-desc {
    font-size: 0.85rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 700px;
    margin: 0 auto;
}

.feature-row {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s var(--ease-out);
}

.feature-row:hover {
    border-color: var(--text-muted);
    transform: translateX(8px);
}

.feature-row-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border-radius: 12px;
    font-family: var(--font-mono);
}

.feature-row-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.feature-row-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .features-grid--compact {
        grid-template-columns: 1fr;
    }
    
    .feature--stat .feature-number {
        font-size: 2.5rem;
    }
    
    .feature-row {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .feature-row:hover {
        transform: none;
    }
}

/* ============================================
   Features Variant 3: Two-column blocks
   ============================================ */

.features-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.feature-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.feature-block {
    padding: var(--space-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s var(--ease-out);
}

.feature-block:hover {
    border-color: var(--accent-md);
    box-shadow: 0 10px 40px -10px rgba(59, 130, 246, 0.15);
}

.feature-block-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.feature-block-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
}

.feature-block-shortcut {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-md);
    background: var(--bg-elevated);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 6px;
    border: 1px solid var(--border);
}

.feature-block-icon {
    font-size: 1.25rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border-radius: 8px;
}

.feature-block p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.feature-block kbd {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    background: var(--bg-primary);
    padding: 0.1em 0.4em;
    border-radius: 4px;
    border: 1px solid var(--border);
}

@media (max-width: 768px) {
    .features-two-col {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

.features-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

@media (max-width: 768px) {
    .features-bottom-row {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

/* Coming Soon States */
.coming-soon-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

.coming-soon-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}
