:root {
  --bg: #181818;
  --surface: #262626;
  --surface-hover: #303030;
  --border: #363636;
  --text: #ffffff;
  --muted: #a8a8a8;
  --accent: #4cc2ff;
  --accent-hover: #3fb2ee;
  --on-accent: #00192a;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
  padding: 0 20px;
  background: #1f1f1f;
}
.brand { display: flex; align-items: center; gap: 12px; padding-right: 20px; border-right: 1px solid var(--border); font-size: 1.25rem; font-weight: 600; }
.logo { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; }
.logo svg { width: 18px; height: 18px; stroke: var(--on-accent); stroke-width: 2.4; }
.nav nav { display: flex; gap: 8px; }
.pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 1.05rem;
  transition: background-color 0.15s, color 0.15s;
}
.pill svg { width: 18px; height: 18px; }
.pill:hover { background: var(--surface); color: var(--text); }
.pill.active { background: var(--surface); color: var(--accent); }

/* Hero */
.hero {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  min-height: 640px;
  padding: 48px clamp(24px, 6vw, 96px);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

/* Soft glow behind the window. Swap the three colors to change the mood. */
.glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(38% 55% at 80% 22%, rgba(124, 92, 255, 0.85), transparent 70%),
    radial-gradient(42% 60% at 96% 78%, rgba(30, 107, 255, 0.85), transparent 70%),
    radial-gradient(30% 45% at 66% 92%, rgba(25, 182, 232, 0.55), transparent 70%);
  filter: blur(24px);
  -webkit-mask-image: linear-gradient(90deg, transparent 25%, #000 62%);
  mask-image: linear-gradient(90deg, transparent 25%, #000 62%);
  pointer-events: none;
}

.hero-text, .shot { position: relative; }

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.lead { margin: 0 0 32px; max-width: 540px; color: var(--muted); font-size: 1.25rem; line-height: 1.65; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.meta { margin: 20px 0 0; color: var(--muted); font-size: 0.9rem; }

/* Buttons */
.btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px 12px 18px;
  border-radius: 6px;
  background: var(--surface);
  transition: background-color 0.15s;
}
.btn:hover { background: var(--surface-hover); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn span { display: grid; line-height: 1.3; }
.btn strong { font-weight: 600; font-size: 1.05rem; }
.btn small { color: var(--muted); font-size: 0.95rem; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary small { color: rgba(0, 25, 42, 0.8); }

/* Screenshot */
.shot { margin: 0; justify-self: end; width: 100%; max-width: 620px; }
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 30px 80px rgba(0, 0, 0, 0.55);
}

/* Footer */
.footer { padding: 20px 24px; color: var(--muted); font-size: 0.85rem; text-align: center; }
.footer p { margin: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 48px; padding-bottom: 64px; }
  .shot { justify-self: center; }
  .glow {
    background:
      radial-gradient(60% 40% at 80% 80%, rgba(124, 92, 255, 0.8), transparent 70%),
      radial-gradient(70% 40% at 20% 95%, rgba(30, 107, 255, 0.8), transparent 70%);
    -webkit-mask-image: linear-gradient(180deg, transparent 35%, #000 70%);
    mask-image: linear-gradient(180deg, transparent 35%, #000 70%);
  }
}

@media (max-width: 560px) {
  .nav { gap: 12px; padding: 0 12px; }
  .brand { font-size: 1rem; padding-right: 12px; gap: 8px; }
  .nav .pill { padding: 8px 10px; }
  .nav .pill:not(.active) { font-size: 0; gap: 0; }
  .nav .pill:nth-child(3) { display: none; }
  .actions .btn { width: 100%; }
}
