:root {
    --bg-main: #0a0d14;
    --bg-card: #121824;
    --bg-card-border: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-blue: #38bdf8;
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

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

.navbar {
    border-bottom: 1px solid var(--bg-card-border);
    background-color: rgba(10, 13, 20, 0.85);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-badge {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #fff;
    font-family: var(--font-mono);
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.version-tag {
    font-size: 0.75rem;
    color: var(--accent-blue);
    background-color: rgba(56, 189, 248, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

.btn-github {
    background-color: #1e293b;
    color: #fff !important;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #fff;
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.btn-primary:hover {
    opacity: 0.9;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.hero {
    text-align: center;
    padding: 3rem 0 4rem;
}

.hero-badge {
    display: inline-block;
    color: var(--accent-cyan);
    background-color: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background-color: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    padding: 1.5rem;
    border-radius: 12px;
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent-blue);
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.section {
    margin-top: 5rem;
}

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

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-muted);
}

.playground-card {
    background-color: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 12px;
    overflow: hidden;
}

.playground-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    padding: 1.5rem;
    background-color: rgba(30, 41, 59, 0.4);
    border-bottom: 1px solid var(--bg-card-border);
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.control-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.input-field {
    background-color: #0b0f19;
    border: 1px solid var(--bg-card-border);
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.playground-result {
    padding: 1.5rem;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }

.terminal-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-left: 0.5rem;
}

.timing-badge {
    margin-left: auto;
    font-size: 0.75rem;
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-family: var(--font-mono);
}

.terminal-body {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #e2e8f0;
    background-color: #07090e;
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
    min-height: 140px;
}

.bench-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.bench-card {
    background-color: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    padding: 1.75rem;
    border-radius: 12px;
}

.bench-speed {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    margin: 0.5rem 0 0.75rem;
}

.bench-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.progress-bar {
    height: 4px;
    background-color: #1e293b;
    border-radius: 2px;
    margin-top: 1rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0ea5e9, #06b6d4);
}

.arch-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.arch-card {
    background-color: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    padding: 1.75rem;
    border-radius: 12px;
}

.arch-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.arch-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.arch-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.price-card {
    background-color: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    padding: 2.5rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    border-color: var(--accent-blue);
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.05) 0%, rgba(18, 24, 36, 1) 100%);
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-blue);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.price {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 1rem 0 0.25rem;
}

.price-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.footer {
    border-top: 1px solid var(--bg-card-border);
    padding: 3rem 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 6rem;
}

.footer a {
    color: var(--accent-blue);
    text-decoration: none;
}
