/* Landing page - dark theme, standalone. Load only on landing page. */
:root {
    --bg-deep: #0a0e17;
    --bg-surface: #111827;
    --bg-elevated: #1a2234;
    --border: rgba(99, 179, 237, 0.15);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #22d3ee;
    --accent-dim: #06b6d4;
    --accent-glow: rgba(34, 211, 238, 0.25);
    --chart-1: #22d3ee;
    --chart-2: #a78bfa;
    --chart-3: #34d399;
    --chart-4: #f472b6;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

.grid-overlay {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.orb-1 { width: 400px; height: 400px; background: var(--accent); top: -100px; right: -100px; }
.orb-2 { width: 300px; height: 300px; background: #a78bfa; bottom: 20%; left: -80px; opacity: 0.2; }
.orb-3 { width: 200px; height: 200px; background: var(--chart-3); bottom: -50px; right: 30%; opacity: 0.15; }

.content-wrapper {
    position: relative;
    z-index: 1;
}

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

.landing-logo {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.landing-logo h1 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.landing-logo span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: var(--accent);
    color: var(--bg-deep);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: hero-pulse 2s ease-in-out infinite;
}

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

.hero h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    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 h2 .accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dim) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.75rem;
    background: var(--accent);
    color: var(--bg-deep);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px var(--accent-glow);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.75rem;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: background 0.2s, border-color 0.2s;
}

.btn-secondary:hover {
    background: var(--bg-elevated);
    border-color: rgba(34, 211, 238, 0.3);
}

.features {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1rem;
}

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

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    border-color: rgba(34, 211, 238, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 211, 238, 0.12);
    border-radius: 10px;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

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

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

.preview-section {
    padding: 4rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.preview-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    overflow: hidden;
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.preview-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.preview-metrics {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.preview-metric {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.preview-metric .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.preview-metric .value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
}

.chart-placeholder {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 160px;
    padding-top: 1rem;
}

.chart-bar {
    flex: 1;
    min-width: 20px;
    background: linear-gradient(180deg, var(--accent) 0%, rgba(34, 211, 238, 0.3) 100%);
    border-radius: 6px 6px 0 0;
    animation: barGrow 1.2s ease-out forwards;
}

@keyframes barGrow {
    from { transform: scaleY(0); transform-origin: bottom; }
    to { transform: scaleY(1); transform-origin: bottom; }
}

.chart-bar:nth-child(1) { height: 45%; }
.chart-bar:nth-child(2) { height: 65%; }
.chart-bar:nth-child(3) { height: 55%; }
.chart-bar:nth-child(4) { height: 85%; }
.chart-bar:nth-child(5) { height: 70%; }
.chart-bar:nth-child(6) { height: 95%; }
.chart-bar:nth-child(7) { height: 60%; }
.chart-bar:nth-child(8) { height: 80%; }
.chart-bar:nth-child(9) { height: 45%; }
.chart-bar:nth-child(10) { height: 90%; }

.tech-stack {
    padding: 4rem 2rem;
    text-align: center;
}

.tech-stack p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.tech-stack .tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.tech-tag {
    padding: 0.5rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
}

.footer-cta {
    padding: 5rem 2rem;
    text-align: center;
}

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

.footer-cta h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.footer-cta p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
}

footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    nav { padding: 1rem; }
    .hero { min-height: 80vh; padding: 1.5rem; }
    .hero h2 { font-size: 2rem; }
    .hero p { font-size: 1.05rem; }
    .features { padding: 4rem 1rem; }
}
