:root {
  --bg: #0b1220;
  --bg-2: #111a2d;
  --panel: rgba(17, 24, 39, 0.78);
  --panel-strong: rgba(20, 29, 48, 0.88);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f3f6fb;
  --muted: #aeb8c9;
  --accent: #5da0ff;
  --accent-2: #7cc0ff;
  --accent-dark: #173253;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(93, 160, 255, 0.28), transparent 34%),
    linear-gradient(180deg, #162a55 0%, #0b1220 28%, #0a101c 100%);
}

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

.site-shell {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 40px;
}

.site-shell-narrow {
  width: min(860px, calc(100% - 40px));
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 18px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--border-strong);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(18, 29, 51, 0.9), rgba(10, 15, 27, 0.84));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.hero h1,
.section-heading h2,
.split-copy h2,
.download-card h2,
.legal-header h1 {
  margin: 12px 0 0;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hero h1 {
  font-size: clamp(34px, 4.8vw, 54px);
  max-width: 16ch;
}

.hero-text,
.split-copy p,
.download-card p,
.legal-content p,
.feature-card p,
.pro-card p,
.step-card p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  max-width: 52ch;
  margin: 14px 0 0;
  font-size: 17px;
}

.hero-inline-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #08101d;
  background: linear-gradient(180deg, #8ed0ff, #5da0ff);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
}

.button[aria-disabled="true"] {
  opacity: 0.72;
  pointer-events: none;
}

button.button {
  appearance: none;
  font: inherit;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.download-pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.purchase-form {
  margin-top: 18px;
}

.purchase-label {
  display: inline-block;
  margin-bottom: 8px;
  color: #dce7f8;
  font-size: 14px;
  font-weight: 700;
}

.purchase-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.purchase-input {
  min-width: min(360px, 100%);
  flex: 1 1 320px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.purchase-input::placeholder {
  color: rgba(174, 184, 201, 0.72);
}

.purchase-help {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.price-chip {
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: #dce7f8;
  font-size: 14px;
  font-weight: 700;
}

.download-note {
  margin-top: 14px;
  color: var(--accent-2);
}

.hero-preview {
  display: flex;
  justify-content: flex-end;
  margin-left: -8px;
}

.hero-image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.window-frame {
  width: 100%;
  max-width: 520px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(36, 49, 78, 0.84), rgba(19, 26, 42, 0.88));
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.32);
}

.window-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.window-bar span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.window-bar span:nth-child(1) { background: #f07167; }
.window-bar span:nth-child(2) { background: #e6b566; }
.window-bar span:nth-child(3) { background: #75c46b; }

.launcher-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.launcher-pill,
.key-pill {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.launcher-pill {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.launcher-pill.active {
  background: rgba(93, 160, 255, 0.14);
  border-color: rgba(124, 192, 255, 0.26);
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.preview-panel {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 16, 28, 0.56);
}

.preview-panel-dim {
  opacity: 0.92;
}

.panel-title {
  margin-bottom: 10px;
  color: #d9e3f5;
  font-size: 14px;
  font-weight: 700;
}

.app-row,
.action-row {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  color: #e8eef8;
  font-size: 14px;
}

.key-pill {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #dbe6f8;
}

.section {
  margin-top: 26px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.screenshot-section {
  overflow: hidden;
}

.carousel {
  margin-top: 26px;
}

.carousel-stage {
  position: relative;
  min-height: 980px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.carousel-frame {
  padding: 16px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(16, 24, 38, 0.88), rgba(10, 15, 27, 0.92));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.26);
}

.carousel-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.carousel-caption {
  padding: 0 4px;
  max-width: 900px;
}

.carousel-caption h3 {
  margin: 0;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.carousel-caption p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.carousel-arrow,
.carousel-dot {
  appearance: none;
  border: 0;
  cursor: pointer;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 18px;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  transition: transform 0.18s ease, background 0.18s ease;
}

.carousel-dot.is-active {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  transform: scale(1.25);
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.split-copy h2,
.download-card h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.feature-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.feature-card,
.step-card,
.pro-card,
.download-card {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--panel-strong);
}

.feature-card h3,
.step-card h3,
.pro-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.pro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.step-number {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(93, 160, 255, 0.14);
  color: var(--accent-2);
  font-weight: 800;
}

.download-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 20px 6px 6px;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  gap: 16px;
}

.legal-header {
  margin-top: 12px;
  padding: 24px 0 8px;
}

.legal-header p,
.back-link {
  color: var(--muted);
}

.legal-content {
  padding: 8px 0 40px;
}

.legal-content section {
  margin-top: 26px;
}

.legal-content h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.legal-content ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .download-card {
    grid-template-columns: 1fr;
    display: block;
  }

  .hero-preview {
    margin-top: 24px;
    justify-content: stretch;
  }

  .feature-grid,
  .steps-grid,
  .pro-grid,
  .launcher-row,
  .preview-grid,
  .carousel-slide {
    grid-template-columns: 1fr;
  }

  .carousel-stage {
    min-height: 0;
  }

  .carousel-slide {
    position: relative;
    display: none;
    gap: 18px;
  }

  .carousel-slide.is-active {
    display: grid;
  }
}

@media (max-width: 720px) {
  .site-shell,
  .site-shell-narrow {
    width: min(100% - 24px, 100%);
    padding-top: 16px;
  }

  .hero,
  .section {
    padding: 22px;
  }

  .hero h1 {
    max-width: none;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
