:root {
  --bg: #0b1118;
  --bg-soft: #101924;
  --panel: #121d2a;
  --panel-2: #162434;
  --border: rgba(120, 188, 255, 0.16);
  --border-strong: rgba(120, 188, 255, 0.3);
  --text: #f3f7fb;
  --muted: #9eb1c5;
  --accent: #63c7ff;
  --accent-2: #39a5ff;
  --success: #76d7c4;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  --shadow-deep: 0 24px 60px rgba(0, 0, 0, 0.42);
  --radius: 18px;
  --max: 1180px;
}

* { 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;
  background:
    radial-gradient(circle at top, rgba(62, 142, 255, 0.1), transparent 28%),
    linear-gradient(180deg, #091019 0%, #0b1118 100%);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(10, 16, 24, 0.78);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo-mark { color: var(--accent); }

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

.nav-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
}

.hero { padding: 5rem 0 2.25rem; }
.page-header {
  padding: 0.9rem 0 0.15rem;
}
.page-header--compact {
  padding-top: 0.75rem;
  padding-bottom: 0.05rem;
}
.page-header--demo {
  padding-bottom: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--border);
  background: rgba(18, 29, 42, 0.85);
  border-radius: 999px;
  color: var(--muted);
  margin-bottom: 1rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(99, 199, 255, 0.8);
}

h1, h2, h3 {
  line-height: 1.15;
  margin: 0 0 0.9rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.03em;
}

.page-header h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.08;
}

h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.hero-copy p {
  max-width: 62ch;
  font-size: 1.02rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.8rem 1.15rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.btn:focus-visible,
.tour-step-link:focus-visible,
.nav-toggle:focus-visible,
.nav-links a:focus-visible {
  outline: 2px solid rgba(99, 199, 255, 0.8);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: #06111b;
  box-shadow: 0 10px 30px rgba(57, 165, 255, 0.22);
}

.btn-secondary {
  background: rgba(18, 29, 42, 0.82);
  border-color: var(--border);
  color: var(--text);
}

.panel,
.card,
.screenshot-card,
.contact-card,
.tour-shell,
.panel-soft {
  background: linear-gradient(180deg, rgba(20, 31, 45, 0.95), rgba(16, 25, 36, 0.95));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  position: relative;
}

.panel::before,
.card::before,
.contact-card::before,
.tour-shell::before,
.panel-soft::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.hero-visual,
.page-hero-visual { padding: 1rem; }

.hero-panel-glow::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at top right, rgba(99, 199, 255, 0.1), transparent 34%);
  pointer-events: none;
}

.section { padding: 2rem 0 1rem; }
.section-tight { padding: 1rem 0 0.75rem; }
.section-first-tight { padding-top: 0.45rem; }
.cta-section { padding-top: 1.25rem; }

.section-header {
  margin-bottom: 1.25rem;
  max-width: 72ch;
}

.compact-header { margin-bottom: 0.85rem; }
.compact-page-header {
  max-width: 760px;
  margin-bottom: 0.05rem;
}
.compact-page-header p {
  max-width: 62ch;
  margin-bottom: 0;
}
.compact-page-header--grid {
  max-width: 680px;
}

.grid-2,
.grid-4,
.feature-detail-grid,
.demo-grid,
.contact-grid,
.steps-row,
.built-for-row {
  display: grid;
  gap: 1.25rem;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.demo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-grid { grid-template-columns: 1fr 1fr; }
.steps-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.built-for-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card,
.feature-detail,
.demo-block,
.contact-card { padding: 1.3rem; }

.card:hover,
.feature-detail:hover,
.step-card:hover,
.mini-card:hover,
.contact-card:hover {
  transform: translateY(-2px);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  border-color: var(--border-strong);
  box-shadow: var(--shadow-deep);
}

.card h3,
.feature-detail h3,
.demo-block h3,
.contact-card h3 { margin-bottom: 0.65rem; }
.card p:last-child,
.feature-detail p:last-child,
.demo-block p:last-child { margin-bottom: 0; }

.feature-list,
.clean-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.feature-list li,
.clean-list li { margin-bottom: 0.5rem; }

.highlight-box {
  padding: 1.2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(14, 23, 34, 0.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.kicker {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.65rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 0.95rem 1rem;
}

.trust-item {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(120, 188, 255, 0.1);
  background: rgba(12, 20, 29, 0.55);
  color: var(--text);
  font-weight: 600;
  text-align: center;
}

.mini-card {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(14, 23, 34, 0.9);
  color: var(--text);
  font-weight: 600;
  box-shadow: var(--shadow);
}

.step-card {
  padding: 1.1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(14, 23, 34, 0.88);
  box-shadow: var(--shadow);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(99, 199, 255, 0.16);
  border: 1px solid var(--border-strong);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.integration-panel {
  padding: 1.4rem;
}

.integration-badge {
  display: inline-flex;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(99, 199, 255, 0.1);
  color: var(--text);
  font-weight: 600;
  margin-bottom: 1rem;
}

.panel-padded {
  padding: 1.4rem;
}

.cta {
  margin: 0;
  padding: 1.6rem;
}

.cta-card-wrap {
  display: flex;
  justify-content: center;
}

.cta-card-narrow {
  width: 100%;
  max-width: 860px;
}

.cta-centered {
  display: flex;
  justify-content: center;
  text-align: center;
}

.cta-stack {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-stack p {
  max-width: 58ch;
}

.cta-buttons-centered {
  justify-content: center;
}

.screenshot-frame {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, #0d1621, #0a121a);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.screenshot-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.screenshot-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-shot img {
  min-height: 280px;
}

.screenshot-caption {
  padding-top: 0.75rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.note {
  font-size: 0.95rem;
  color: var(--muted);
}

.single-column-wrap {
  max-width: 760px;
}

.contact-card--focused {
  padding: 1.6rem;
}

.contact-cta-row {
  margin-top: 1.2rem;
}

.tour-shell {
  padding: 1.4rem;
  box-shadow: var(--shadow-deep);
  scroll-margin-top: 96px;
}

.tour-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.tour-ui.is-hidden {
  display: none;
}

.tour-ui {
  margin-top: 1.1rem;
}

.tour-topbar {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
}

.tour-progress {
  color: var(--accent);
  font-weight: 700;
}

.tour-step-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.tour-step-link {
  border: 1px solid var(--border);
  background: rgba(14, 23, 34, 0.9);
  color: var(--muted);
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.tour-step-link:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(99, 199, 255, 0.08);
}

.tour-step-link.active {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(99, 199, 255, 0.12);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.tour-step {
  display: none;
  gap: 1rem;
}

.tour-step.active {
  display: grid;
}

.tour-copy {
  max-width: 75ch;
}

.tour-controls {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 3rem;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer-brand strong {
  color: var(--text);
  font-size: 0.98rem;
}

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

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(2, 7, 12, 0.84);
  padding: 1.5rem;
  z-index: 50;
}

.lightbox.open { display: flex; }

.lightbox-inner {
  position: relative;
  width: min(1100px, 100%);
  background: #09121b;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 1rem;
}

.lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(12, 18, 27, 0.9);
  color: var(--text);
  cursor: pointer;
}

@media (max-width: 1100px) {
  .steps-row,
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-2,
  .grid-4,
  .feature-detail-grid,
  .demo-grid,
  .contact-grid,
  .built-for-row,
  .tour-intro {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    background: rgba(11, 17, 24, 0.98);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .hero { padding-top: 3.5rem; }
  .grid-4,
  .steps-row,
  .built-for-row,
  .trust-strip { grid-template-columns: 1fr; }
  .footer-wrap,
  .tour-controls,
  .cta-buttons-centered { flex-direction: column; align-items: center; }
  .cta-stack { align-items: center; }
}
