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

:root {
  --orange:        #E95420;
  --orange-hover:  #FF6B3D;
  --bg:            #0d0d0d;
  --surface:       #161616;
  --surface2:      #1f1f1f;
  --text:          #f0f0f0;
  --text-muted:    #777;
  --border:        #2a2a2a;
  --font: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: 'Ubuntu Mono', 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
}

a { color: inherit; }

/* ── Site icon ────────────────────────────────────────────── */

.site-icon {
  height: 1.2em;
  width: auto;
  vertical-align: middle;
  display: inline-block;
  position: relative;
  top: -0.05em;
}

.hero-icon {
  height: 0.85em;
}

/* ── Nav ──────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links { display: flex; gap: 2rem; }

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

/* ── Container ────────────────────────────────────────────── */

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

/* ── Hero ─────────────────────────────────────────────────── */

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem 1.5rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(233, 84, 32, 0.18) 0%, transparent 60%);
}

.hero-inner { max-width: 760px; }

.hero-logo {
  width: 90px;
  height: 90px;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 0 20px rgba(233, 84, 32, 0.4));
}

.badge {
  display: inline-block;
  background: rgba(233, 84, 32, 0.12);
  border: 1px solid rgba(233, 84, 32, 0.3);
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-size: clamp(3.5rem, 9vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  padding-bottom: 0.15em;
  margin-bottom: 0.4rem;
  background: linear-gradient(135deg, #fff 30%, #ccc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-style: italic;
  text-align: right;
}

.tagline {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.tagline a { color: var(--orange); text-decoration: none; }
.tagline a:hover { text-decoration: underline; }

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

/* ── Buttons ──────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.6rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
  border: none;
}

.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(233, 84, 32, 0.35); }

.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: #555; background: var(--surface2); }

/* ── Install box ──────────────────────────────────────────── */

.install-box {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 1.25rem;
  font-family: var(--mono);
  font-size: 0.9rem;
  margin: 0.3rem 0;
}

.prompt { color: var(--orange); font-weight: 700; user-select: none; }

.copy-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
  transition: color 0.15s;
  line-height: 1;
}
.copy-btn:hover { color: var(--text); }

.step-alt { color: var(--text-muted); font-size: 0.8em; }

/* ── Screenshot ───────────────────────────────────────────── */

.screenshot-section {
  padding: 5rem 0;
  background: var(--surface);
}

.screenshot {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  display: block;
}

/* ── Demo ─────────────────────────────────────────────────── */

.demo-section {
  padding: 0.5rem 0 4rem;
  text-align: center;
}

.demo-section h2 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

#player {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

/* ── Features ─────────────────────────────────────────────── */

.features-section {
  padding: 5rem 0;
  background: var(--surface);
}

.features-section h2 {
  font-size: 1.9rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

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

.feature-card:hover {
  border-color: rgba(233, 84, 32, 0.35);
  transform: translateY(-2px);
}

.feature-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.feature-card h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

.feature-card code {
  background: var(--surface2);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.85em;
  font-family: var(--mono);
  color: var(--text);
}

.feature-card kbd {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  font-size: 0.8em;
  font-family: var(--mono);
  color: var(--text);
}

/* ── Install section ──────────────────────────────────────── */

.install-section {
  padding: 5rem 0;
  text-align: center;
}

.install-section h2 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: 0.975rem;
}

.section-desc code {
  background: var(--surface);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: var(--mono);
  color: var(--text);
}

.install-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  text-align: left;
}

.step { display: flex; align-items: center; gap: 1.25rem; }

.step-num {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.terminal {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 1.25rem;
  font-family: var(--mono);
  font-size: 0.875rem;
}

/* ── Footer ───────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo { color: var(--orange); font-weight: 700; font-size: 0.95rem; }

.footer-links { display: flex; gap: 1.5rem; }

.footer-links a, .footer-license { color: var(--text-muted); font-size: 0.825rem; text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-license a { color: var(--text-muted); }
.footer-license a:hover { color: var(--text); }

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 640px) {
  .nav-links a:not(:first-child) { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
