:root {
  --bg: #0c1218;
  --bg-2: #121a22;
  --panel: #172028;
  --text: #eef4f8;
  --muted: #8aa0ad;
  --accent: #3db8d0;
  --accent-2: #2a9a60;
  --warn: #e06830;
  --line: #2a3844;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Outfit", "Bahnschrift", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, #1a3040 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #143028 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  min-height: 100vh;
  line-height: 1.55;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 6vw;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 18, 24, 0.85);
}
.logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-decoration: none;
}
.top nav { display: flex; gap: 1.25rem; align-items: center; }
.top nav a { color: var(--muted); font-weight: 600; text-decoration: none; }
.top nav a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  text-decoration: none !important;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}
.btn-primary {
  background: linear-gradient(180deg, #4ec8a0, var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 24px rgba(42, 154, 96, 0.25);
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn-nav {
  background: var(--accent);
  color: #062028 !important;
  padding: 0.55rem 1rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding: 4.5rem 6vw 3.5rem;
  min-height: calc(100vh - 72px);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 700;
  margin: 0 0 0.75rem;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.02;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}
.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 1.5rem;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.fine { color: var(--muted); font-size: 0.9rem; }

.hero-visual { display: flex; justify-content: center; }
.hero-shot {
  display: block;
  width: min(100%, 520px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hero-shot:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(61,184,208,0.15);
}
.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.shots figure {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.shots a { display: block; }
.shots img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}
.shots a:hover img { transform: scale(1.03); }
.shots figcaption {
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-family: var(--display);
  font-size: 0.95rem;
}

.changelog details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  margin-bottom: 0.65rem;
}
.changelog summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  color: var(--accent);
  list-style: none;
}
.changelog summary::-webkit-details-marker { display: none; }
.changelog ul {
  margin: 0.75rem 0 0.25rem;
  padding-left: 1.15rem;
  color: var(--muted);
}
.changelog li { margin: 0.35rem 0; }

.mock {
  width: min(100%, 420px);
  background: linear-gradient(160deg, #1a2630, #101820);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.mock-bar { display: flex; gap: 6px; margin-bottom: 1rem; }
.mock-bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #3a4a56;
}
.mock-bar span:first-child { background: #c45a5a; }
.mock-brand {
  font-family: var(--display);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.mock-row { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 0.5rem; }
.mock-box {
  border-radius: 10px;
  padding: 1.4rem 0.5rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  border: 1px solid var(--line);
  color: var(--muted);
}
.mock-box.live {
  border-color: var(--accent-2);
  background: rgba(42, 154, 96, 0.15);
  color: #b6f0d0;
}
.mock-meters { display: flex; gap: 6px; margin-top: 1rem; height: 8px; }
.mock-meters i {
  flex: 1;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent), #d04848);
  opacity: 0.85;
  animation: pulse 2.2s ease-in-out infinite;
}
.mock-meters i:nth-child(2) { animation-delay: 0.3s; }
.mock-meters i:nth-child(3) { animation-delay: 0.6s; }
@keyframes pulse {
  0%, 100% { opacity: 0.45; transform: scaleX(0.92); }
  50% { opacity: 1; transform: scaleX(1); }
}

.section { padding: 4rem 6vw; }
.section.alt { background: rgba(0,0,0,0.2); border-block: 1px solid var(--line); }
.section h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 0.5rem;
}
.section-lead { color: var(--muted); max-width: 40rem; margin: 0 0 2rem; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
}
.grid h3 {
  font-family: var(--display);
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}
.grid p { margin: 0; color: var(--muted); }

.bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  max-width: 44rem;
}
.bullets li {
  padding: 0.65rem 0 0.65rem 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 1rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.ref { color: var(--muted); font-size: 0.95rem; max-width: 40rem; }

.buy-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: linear-gradient(90deg, rgba(42,154,96,0.15), rgba(61,184,208,0.12));
  border-block: 1px solid var(--line);
}
.buy-band h2 { margin: 0 0 0.35rem; }
.buy-band p { margin: 0; color: var(--muted); }

.foot {
  padding: 2.5rem 6vw;
  color: var(--muted);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

/* Checkout */
.checkout {
  max-width: 520px;
  margin: 3rem auto;
  padding: 0 1.25rem 4rem;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.75rem;
}
.card h1 {
  font-family: var(--display);
  margin: 0 0 0.35rem;
  font-size: 1.75rem;
}
.price-tag {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--display);
  color: var(--accent);
  margin: 0.5rem 0 1.25rem;
}
label { display: block; font-weight: 600; margin: 0.85rem 0 0.35rem; }
input[type="text"], input[type="email"] {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0e151c;
  color: var(--text);
  font: inherit;
}
input:focus { outline: 1px solid var(--accent); }
.err {
  background: rgba(208, 72, 72, 0.15);
  border: 1px solid #d04848;
  color: #ffc0c0;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}
.ok {
  background: rgba(42, 154, 96, 0.15);
  border: 1px solid var(--accent-2);
  color: #b6f0d0;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}
.license-box {
  font-family: ui-monospace, Consolas, monospace;
  background: #0a1016;
  border: 1px dashed var(--accent);
  padding: 1rem;
  border-radius: 10px;
  word-break: break-all;
  margin: 1rem 0;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 2.5rem; }
  .grid, .shots { grid-template-columns: 1fr; }
  .buy-band { flex-direction: column; align-items: flex-start; }
  .top nav a:not(.btn) { display: none; }
}
