@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg: #0b0a14;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-raised: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-glow: rgba(232, 95, 224, 0.35);
  --text: #f1eefa;
  --text-muted: #938da8;
  --accent-pink: #e85fe0;
  --accent-pink-soft: rgba(232, 95, 224, 0.4);
  --accent-cyan: #57e6d9;
  --accent-cyan-soft: rgba(87, 230, 217, 0.35);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
}

body {
  position: relative;
  overflow-x: hidden;
}

/* ambient glow blobs — soft LED bias-lighting feel */
body::before,
body::after {
  content: "";
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}
body::before {
  top: -180px;
  left: -160px;
  background: var(--accent-pink);
}
body::after {
  bottom: -200px;
  right: -180px;
  background: var(--accent-cyan);
}

a { color: inherit; }

.display {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

/* ---------- layout ---------- */

.page {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 64px;
}

.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-pink);
  box-shadow: 0 0 14px 3px var(--accent-pink-soft);
}

.nav-name {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
}

main { flex: 1; }

/* ---------- eyebrow / glow label ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px 2px var(--accent-cyan-soft);
  animation: breathe 3s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .eyebrow .dot { animation: none; }
}

@keyframes breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

h1 {
  font-size: 32px;
  line-height: 1.15;
  margin: 0 0 12px;
}

.subhead {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 40px;
  max-width: 44ch;
}

/* ---------- glass card (signature element) ---------- */

.viewfinder {
  position: relative;
  padding: 40px 32px;
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 0 60px -20px var(--accent-pink-soft);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.viewfinder:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 80px -16px var(--accent-pink-soft);
}

/* legacy corner-bracket selectors kept as no-ops so old markup doesn't break */
.viewfinder::before,
.viewfinder::after,
.viewfinder .corner-tl,
.viewfinder .corner-br {
  content: none;
}

.viewfinder-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.product-name {
  font-size: 22px;
  margin: 0 0 20px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 28px;
}

.price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 34px;
  font-weight: 600;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-period {
  color: var(--text-muted);
  font-size: 14px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 24px;
  border-radius: 10px;
  border: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.15s ease;
}

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

.btn-primary {
  background: linear-gradient(90deg, var(--accent-pink), #c04ee0);
  color: #fff;
  box-shadow: 0 4px 24px -6px var(--accent-pink-soft);
}
.btn-primary:hover {
  box-shadow: 0 6px 32px -4px var(--accent-pink-soft);
  transform: translateY(-1px);
}
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled {
  background: #4a3352;
  box-shadow: none;
  cursor: not-allowed;
}

.btn-secondary {
  background: var(--surface-raised);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent-cyan); }

/* ---------- feature list ---------- */

.features {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.features .check {
  color: var(--accent-cyan);
  font-family: 'JetBrains Mono', monospace;
}

/* ---------- footer link ---------- */

.footer-link {
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}
.footer-link a { color: var(--accent-cyan); text-decoration: none; }
.footer-link a:hover { text-decoration: underline; }

/* ---------- key display (success page) ---------- */

.key-readout {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  letter-spacing: 0.03em;
  text-align: center;
  margin: 20px 0 24px;
  color: var(--accent-cyan);
  text-shadow: 0 0 16px var(--accent-cyan-soft);
  word-break: break-all;
}

.key-actions {
  display: flex;
  gap: 12px;
}

.status-line {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
  text-align: center;
}

.error-box {
  background: rgba(232, 95, 224, 0.08);
  border: 1px solid var(--accent-pink-soft);
  border-radius: 10px;
  padding: 16px;
  font-size: 14px;
  color: var(--text);
  margin-top: 20px;
}

/* ---------- form (premium upgrade key entry) ---------- */

.field-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.field-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  margin-bottom: 20px;
}

.field-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px var(--accent-cyan-soft);
}

.field-input::placeholder {
  color: #5c5670;
}

