:root {
    --bg: #08110d;
    --surface: #101d16;
    --surface-2: #15251c;
    --text: #f5f8f6;
    --muted: #a8b7ad;
    --accent: #f49d37;
    --accent-2: #ffbd64;
    --line: rgba(255,255,255,.09);
    --shadow: 0 28px 80px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 10%, rgba(244,157,55,.13), transparent 28rem),
        var(--bg);
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
    border-bottom: 1px solid var(--line);
    background: rgba(8,17,13,.82);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 10;
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-size: 1.25rem; font-weight: 800; letter-spacing: -.04em; }
.brand span { color: var(--accent); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    font-weight: 750;
    border: 1px solid transparent;
    transition: .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #1c1205; box-shadow: 0 12px 30px rgba(244,157,55,.18); }
.btn-outline, .btn-ghost { border-color: var(--line); background: rgba(255,255,255,.03); }
.btn-ghost:hover, .btn-outline:hover { border-color: rgba(244,157,55,.5); }

.hero { padding: 110px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.eyebrow { display: inline-block; color: var(--accent-2); font-size: .76rem; letter-spacing: .16em; font-weight: 900; }
h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.065em; margin: 22px 0; max-width: 820px; }
.lead { color: var(--muted); font-size: 1.12rem; line-height: 1.8; max-width: 650px; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }

.demo-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
    box-shadow: var(--shadow);
}
.browser-bar { height: 54px; display: flex; align-items: center; gap: 8px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; background: rgba(255,255,255,.18); border-radius: 50%; }
.demo-content { padding: 46px 36px; display: grid; gap: 12px; }
.demo-content small { color: var(--muted); }
.demo-content strong { padding: 16px; border-radius: 12px; background: rgba(0,0,0,.2); overflow-wrap: anywhere; }
.arrow { font-size: 2rem; color: var(--accent); text-align: center; }

.features { padding: 30px 0 110px; }
.section-heading h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.05em; margin: 15px 0 40px; max-width: 720px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.035); }
.feature-card > span { color: var(--accent); font-weight: 900; font-size: .8rem; }
.feature-card h3 { margin: 26px 0 10px; font-size: 1.25rem; }
.feature-card p { color: var(--muted); line-height: 1.7; margin: 0; }

footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.center-page { min-height: 100vh; display: grid; place-items: center; padding: 30px; }
.error-box { width: min(560px, 100%); text-align: center; padding: 50px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.error-box h1 { font-size: 2.3rem; margin: 8px 0 14px; }
.error-box p { color: var(--muted); margin-bottom: 30px; }
.error-code { color: var(--accent); font-size: 1rem; font-weight: 900; letter-spacing: .2em; }

@media (max-width: 820px) {
    .hero { padding-top: 70px; }
    .hero-grid, .feature-grid { grid-template-columns: 1fr; }
    .hero-grid { gap: 40px; }
    h1 { font-size: 3.3rem; }
}
@media (max-width: 540px) {
    .container { width: min(100% - 26px, 1120px); }
    h1 { font-size: 2.75rem; }
    .demo-content { padding: 34px 22px; }
    .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; }
}
