:root {
  --primary: #e8641a;
  --primary-dark: #c4511a;
  --ok: #4ade80;
  --bg: #191b21;
  --bg-deep: #12141a;
  --bg-card: #22252c;
  --bg-sidebar: #16181d;
  --text: #f2f3f5;
  --text-muted: #9aa3b2;
  --font: Inter, ui-sans-serif, system-ui, sans-serif;
  --radius: 8px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
[hidden] { display: none !important; }

.page { position: relative; z-index: 1; min-height: 100vh; overflow-x: hidden; }

.site-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(900px 480px at 80% -10%, rgba(232, 100, 26, 0.16), transparent 60%),
    radial-gradient(700px 400px at -10% 30%, rgba(232, 100, 26, 0.06), transparent 55%),
    var(--bg);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(18, 21, 27, 0.78);
  backdrop-filter: blur(16px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 500;
}
.logo-mark-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  background: #111;
}
.version-pill {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--primary);
  background: rgba(232, 100, 26, 0.12);
  border: 1px solid rgba(232, 100, 26, 0.35);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.header nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.header nav a { color: var(--text-muted); font-weight: 500; font-size: 0.92rem; }
.header nav a:hover { color: var(--text); }
.header-hub {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-family: var(--font);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 24px rgba(232, 100, 26, 0.28);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(232, 100, 26, 0.4); }
.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.875rem; }
.btn-lg { padding: 0.95rem 1.7rem; font-size: 1.02rem; }
.btn[disabled], .btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  transform: none;
}

.maintenance-note {
  max-width: 38rem;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(232, 100, 26, 0.4);
  background: rgba(232, 100, 26, 0.12);
  color: var(--text);
  font-size: 0.95rem;
}
.hero-actions .maintenance-note { margin-bottom: 0; flex: 1 1 100%; }
.download .maintenance-note { margin: 0 auto 1.25rem; text-align: left; }

/* Type */
.kicker {
  display: inline-block;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 40rem;
  margin: 0 auto 2.2rem;
  text-align: center;
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.18fr;
  gap: 3.2rem;
  padding: 4.5rem 2rem 3rem;
  max-width: 1240px;
  margin: 0 auto;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 3.15rem);
  line-height: 1.12;
  margin-bottom: 1rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.hero-copy p {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin-bottom: 1.6rem;
  max-width: 34rem;
}
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.hero-meta { margin-top: 1.1rem; font-size: 0.9rem; color: var(--text-muted); }
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.3rem;
}
.chip {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
}
.chip em { font-style: normal; color: var(--ok); }

.hero-visual { position: relative; }
.hero-glow {
  position: absolute;
  inset: -12% -8%;
  background: radial-gradient(ellipse at 50% 40%, rgba(232, 100, 26, 0.22), transparent 62%);
  filter: blur(12px);
  animation: glowPulse 5.5s ease-in-out infinite;
  pointer-events: none;
}

/* App window frame */
.app-window {
  position: relative;
  background: #0f1116;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: zoom-in;
  text-align: left;
  width: 100%;
  padding: 0;
  font: inherit;
  color: inherit;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.app-window:hover,
.app-window:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(232, 100, 26, 0.25);
  outline: none;
}
.app-window-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: #16181d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.app-window-dots { display: flex; gap: 6px; }
.app-window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a3f48;
  display: block;
}
.app-window-dots i:nth-child(1) { background: #ff5f57; }
.app-window-dots i:nth-child(2) { background: #febc2e; }
.app-window-dots i:nth-child(3) { background: #28c840; }
.app-window-title {
  flex: 1;
  font-size: 11px;
  font-weight: 500;
  color: #9aa3b2;
  letter-spacing: 0.02em;
}
.app-window-zoom {
  font-size: 11px;
  color: var(--primary);
  font-weight: 500;
}
.app-window-screen {
  position: relative;
  overflow: hidden;
  background: #191b21;
  aspect-ratio: 16 / 10;
}
.app-window-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform 0.55s ease;
}
.app-window:hover .app-window-screen img { transform: none; }

.hero-visual .app-window { animation: floatY 7s ease-in-out infinite; }

.shot-cap {
  margin: 0;
  padding: 9px 12px 10px;
  background: #16181d;
  color: #9aa3b2;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Proof strip */
.proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto 1rem;
  padding: 0 2rem 3rem;
}
.proof-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
}
.proof-item strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}
.proof-item span { color: var(--text-muted); font-size: 0.88rem; }

/* Tour */
.tour {
  padding: 2rem 0 3.5rem;
}
.tour h2, .ops h2, .suite h2, .pricing h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}
.tour-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin: 0 auto 2.6rem;
  max-width: 880px;
  padding: 0 2rem;
}
.tour-nav a {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
}
.tour-nav a:hover { color: var(--text); border-color: rgba(232, 100, 26, 0.4); }

.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  max-width: 1180px;
  margin: 0 auto 2rem;
  padding: 0 2rem;
}
.shot-grid .app-window { height: 100%; }
.shot-grid .app-window-screen { aspect-ratio: 16 / 10; }
.shot-grid .section-lead { margin-bottom: 1.4rem; }

.feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.4rem;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto 4.2rem;
  padding: 0 2rem;
}
.feature.reverse { grid-template-columns: 0.85fr 1.15fr; }
.feature.reverse .feature-copy { order: -1; }
.feature-copy h3 {
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
}
.feature-copy p { color: var(--text-muted); margin-bottom: 1rem; }
.feature-copy ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.feature-copy li {
  color: var(--text);
  font-size: 0.95rem;
  padding-left: 0;
}
.feature-copy li strong { font-weight: 500; }
.plan-row { display: flex; gap: 0.4rem; flex-wrap: wrap; margin: 0.2rem 0 0.9rem; }
.tag {
  font-size: 0.72rem;
  font-weight: 500;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}
.tag.free { color: var(--ok); border-color: rgba(74, 222, 128, 0.3); background: rgba(74, 222, 128, 0.08); }
.tag.pro { color: var(--primary); border-color: rgba(232, 100, 26, 0.35); background: rgba(232, 100, 26, 0.1); }

/* Ops */
.ops { padding: 1rem 0 4rem; }
.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.ops-card {
  background: var(--bg-card);
  border-radius: 10px;
  padding: 1.25rem 1.3rem 1.35rem;
  border: 1px solid transparent;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.ops-card:hover {
  border-color: rgba(232, 100, 26, 0.28);
  transform: translateY(-3px);
}
.ops-card .kicker { margin-bottom: 0.45rem; }
.ops-card h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: 0.45rem; }
.ops-card p { color: var(--text-muted); font-size: 0.94rem; }
.ops-card ul {
  margin-top: 0.8rem;
  list-style: none;
  display: grid;
  gap: 0.35rem;
  color: var(--text);
  font-size: 0.88rem;
}
.ops-card li { color: var(--text-muted); }

/* Suite */
.suite { padding: 1rem 0 4rem; }
.suite-toolbar {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.mod-filter {
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
}
.mod-filter.is-on {
  color: var(--text);
  border-color: rgba(232, 100, 26, 0.45);
  background: rgba(232, 100, 26, 0.12);
}
.suite-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.mod-card {
  background: var(--bg-card);
  border-radius: 10px;
  padding: 1.25rem 1.3rem;
  border: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.mod-card:hover { border-color: rgba(232, 100, 26, 0.28); }
.mod-card-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
}
.mod-card h3 { font-size: 1.12rem; font-weight: 500; }
.mod-card p { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 0.7rem; }
.mod-card ul {
  list-style: none;
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
}
.mod-card li { color: var(--text-muted); }

/* Pricing */
.pricing { padding: 1rem 0 3rem; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 2rem;
}
.price-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 1.6rem 1.5rem;
}
.price-card.featured {
  border: 1px solid rgba(232, 100, 26, 0.45);
  box-shadow: 0 16px 40px rgba(232, 100, 26, 0.12);
}
.price-card h3 { font-weight: 500; margin-bottom: 0.35rem; }
.price { font-size: 2.1rem; font-weight: 500; margin-bottom: 0.4rem; }
.price span { font-size: 0.95rem; color: var(--text-muted); }
.price-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 1rem; }
.price-card ul { list-style: none; display: grid; gap: 0.4rem; font-size: 0.92rem; }

/* Download */
.download {
  text-align: center;
  padding: 3.5rem 2rem 4.5rem;
  background:
    radial-gradient(600px 220px at 50% 0%, rgba(232, 100, 26, 0.16), transparent 70%);
}
.download h2 { font-size: 2rem; font-weight: 500; margin: 0.6rem 0 0.5rem; }
.download-version, .download-note { color: var(--text-muted); }
.download-note { margin-top: 1rem; font-size: 0.88rem; }
.badge {
  display: inline-block;
  background: rgba(232, 100, 26, 0.15);
  color: var(--primary);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-logo { width: 44px; height: 44px; border-radius: 10px; margin: 0 auto 0.7rem; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* Lightbox */
.lb {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(8, 9, 12, 0.82);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lb.open { opacity: 1; pointer-events: auto; }
.lb-panel {
  width: min(1080px, 100%);
  max-height: calc(100vh - 4rem);
  overflow: auto;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.28s ease;
}
.lb.open .lb-panel { transform: none; }
.lb-shot {
  background: #191b21;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.lb-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}
.lb-copy { padding: 1.25rem 1.4rem 1.5rem; }
.lb-copy h3 { font-size: 1.35rem; font-weight: 500; margin: 0.3rem 0 0.6rem; }
.lb-copy p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.9rem; }
.lb-copy ul { list-style: none; display: grid; gap: 0.4rem; font-size: 0.9rem; }
.lb-copy li { color: var(--text-muted); }
.lb-close {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 1.1rem;
}
.lb { position: fixed; }
.lb-close { z-index: 81; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
@keyframes pinIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .hero, .feature, .feature.reverse { grid-template-columns: 1fr; }
  .feature.reverse .feature-copy { order: 0; }
  .proof { grid-template-columns: 1fr 1fr; }
  .ops-grid, .suite-grid, .pricing-grid { grid-template-columns: 1fr; }
  .shot-grid { grid-template-columns: 1fr; }
  .hero-visual .app-window { animation: none; }
}

@media (max-width: 640px) {
  .header { padding: 0.85rem 1rem; }
  .header nav a:not(.btn) { display: none; }
  .proof { grid-template-columns: 1fr; }
  .hero { padding: 2.4rem 1rem 1.5rem; }
  .wrap, .feature, .proof { padding-left: 1rem; padding-right: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
