:root {
  --bg: #0b0d14;
  --bg-elevated: #12151f;
  --surface: #1a1d27;
  --surface-2: #252836;
  --primary: #6c5ce7;
  --primary-deep: #5849c4;
  --accent: #00cec9;
  --danger: #ff6b6b;
  --text: #f5f6fa;
  --muted: #a4a9b8;
  --border: #2d3142;
  --success: #55efc4;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: white;
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* —— Nav —— */
.site-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

.nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

.nav-brand:hover {
  text-decoration: none;
  color: var(--accent);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 35%, rgba(108, 92, 231, 0.35), transparent 58%),
    radial-gradient(ellipse 45% 40% at 20% 85%, rgba(0, 206, 201, 0.14), transparent 50%),
    linear-gradient(180deg, #0a0c12 0%, var(--bg) 45%, #07080d 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 6.5rem 1.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-brand {
  width: min(78vw, 420px);
  margin: 0 0 1.5rem;
  animation: rise 0.9s var(--ease) both;
}

.hero-logo {
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(108, 92, 231, 0.2);
  animation: logo-glow 6s ease-in-out infinite alternate;
}

.hero-lead {
  max-width: 32rem;
  margin: 0 0 2rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--muted);
  animation: rise 0.9s var(--ease) 0.12s both;
}

.hero .cta-row {
  justify-content: center;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  animation: rise 0.9s var(--ease) 0.22s both;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.1rem;
  border-radius: 12px;
  background: var(--text);
  color: #0b0d14;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.store-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(108, 92, 231, 0.35);
}

.store-btn .label {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-btn .label small {
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-btn .label strong {
  font-size: 1rem;
  font-weight: 700;
}

.store-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.cta-secondary {
  color: var(--muted);
  font-size: 0.95rem;
  margin-left: 0.25rem;
}

.cta-secondary:hover {
  color: var(--accent);
}

/* —— Sections —— */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-kicker {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  line-height: 1.15;
  text-wrap: balance;
}

.section .lede {
  max-width: 36rem;
  color: var(--muted);
  margin: 0 0 2.5rem;
  font-size: 1.05rem;
}

.how-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: step;
  border-top: 1px solid var(--border);
}

.how-list li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.how-list li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--primary);
  line-height: 1.2;
}

.how-list h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
}

.how-list p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.modes {
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .modes {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.mode h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.mode p {
  margin: 0;
  color: var(--muted);
}

.band {
  background:
    linear-gradient(120deg, rgba(108, 92, 231, 0.22), rgba(0, 206, 201, 0.08)),
    var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.band .section {
  padding-block: 4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.band h2 {
  margin: 0;
  max-width: 18ch;
}

.band .cta-row {
  animation: none;
}

/* —— Support / form —— */
.page-hero {
  padding: 7rem 1.5rem 2.5rem;
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  line-height: 1.05;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
  font-size: 1.1rem;
}

.form-shell {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

.feedback-form {
  display: grid;
  gap: 1.1rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.25);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  border: none;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: white;
  transition: transform 0.2s var(--ease), filter 0.2s;
}

.btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  min-height: 1.4em;
  font-size: 0.95rem;
  color: var(--muted);
}

.form-status.ok {
  color: var(--success);
}

.form-status.err {
  color: var(--danger);
}

.form-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.prose {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
  color: var(--muted);
}

.prose h2 {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 1.25rem;
  margin: 2rem 0 0.6rem;
}

.prose p {
  margin: 0 0 1rem;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem 3rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logo-glow {
  from {
    transform: translateY(0);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.06),
      0 30px 80px rgba(0, 0, 0, 0.55),
      0 0 50px rgba(108, 92, 231, 0.16);
  }
  to {
    transform: translateY(-8px);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.08),
      0 36px 90px rgba(0, 0, 0, 0.6),
      0 0 70px rgba(0, 206, 201, 0.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
