/* Welcome page — version selector & feedback form */

:root {
  --bg: #0a0c10;
  --surface: #14171f;
  --surface-2: #1c212d;
  --text: #e8ebf0;
  --text-muted: #9aa3b2;
  --accent: #38a36b;
  --accent-2: #ff7f11;
  --accent-3: #ff4d6d;
  --radius: 1rem;
  --shadow: 0 20px 40px rgba(0,0,0,0.4);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* Hero */
.hero {
  position: relative;
  padding: 6rem 0 4rem;
  text-align: center;
  background:
    radial-gradient(circle at 20% 30%, rgba(56, 163, 107, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(255, 127, 17, 0.08) 0%, transparent 40%),
    var(--bg);
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(56, 163, 107, 0.12);
  border: 1px solid rgba(56, 163, 107, 0.2);
  color: #7ddda5;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: "Bebas Neue", Inter, system-ui, sans-serif;
  font-size: clamp(3rem, 12vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.hero__title span { display: block; }

.hero__lead {
  font-size: clamp(1.1rem, 3.5vw, 1.35rem);
  color: var(--text-muted);
  max-width: 48ch;
  margin: 0 auto 2.5rem;
}

/* Version cards */
.versions {
  padding: 2rem 0 5rem;
}

.version-grid {
  display: grid;
  gap: 1.5rem;
}

.version-card {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.version-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(255,255,255,0.12);
}

.version-card__preview {
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
}

.version-card__preview.v1 { background: linear-gradient(135deg, #0d261d, #1a4432); }
.version-card__preview.v2 { background: linear-gradient(135deg, #eef2ee, #dce4dc); }
.version-card__preview.v3 { background: linear-gradient(135deg, #080b14, #1f1065); }

.version-card__swatch {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.v1 .version-card__swatch:nth-child(1) { background: #38a36b; }
.v1 .version-card__swatch:nth-child(2) { background: #ff7f11; }
.v2 .version-card__swatch:nth-child(1) { background: #5a7d5a; }
.v2 .version-card__swatch:nth-child(2) { background: #4a90a4; }
.v3 .version-card__swatch:nth-child(1) { background: #7c3aed; }
.v3 .version-card__swatch:nth-child(2) { background: #ff4d6d; }

.version-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.version-card__body {
  padding: 1.5rem;
}

.version-card__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.version-card__desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  min-height: 3.2em;
}

.version-card__features {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.version-card__features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.version-card__features li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.version-card__features.v2-features li::before { background: #5a7d5a; }
.version-card__features.v3-features li::before { background: #ff4d6d; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn--v1 { background: linear-gradient(135deg, #38a36b, #236845); color: #fff; box-shadow: 0 4px 14px rgba(56,163,107,0.35); }
.btn--v2 { background: linear-gradient(135deg, #5a7d5a, #3d5a3d); color: #fff; box-shadow: 0 4px 14px rgba(90,125,90,0.35); }
.btn--v3 { background: linear-gradient(135deg, #7c3aed, #ff4d6d); color: #fff; box-shadow: 0 4px 14px rgba(124,58,237,0.35); }

/* Feedback */
.feedback {
  padding: 4rem 0 6rem;
  background: var(--surface);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.feedback__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.feedback__title {
  font-family: "Bebas Neue", Inter, sans-serif;
  font-size: clamp(2.25rem, 8vw, 3.5rem);
  margin-bottom: 0.75rem;
}

.feedback__subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.form {
  max-width: 40rem;
  margin: 0 auto;
  background: var(--surface-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.form__group { margin-bottom: 1.5rem; }

.form__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.form__radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.form__radio {
  position: relative;
}

.form__radio input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form__radio label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem;
  border-radius: 0.75rem;
  border: 2px solid rgba(255,255,255,0.1);
  background: var(--surface);
  color: var(--text-muted);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form__radio input:checked + label {
  border-color: var(--accent);
  background: rgba(56, 163, 107, 0.1);
  color: #fff;
}

.form__radio input:focus + label { box-shadow: 0 0 0 3px rgba(56, 163, 107, 0.15); }

.form__input,
.form__textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(56, 163, 107, 0.12);
}

.form__textarea { min-height: 7rem; resize: vertical; }

.form__hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.375rem;
}

.btn--submit {
  width: 100%;
  padding: 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}

.form__status {
  display: none;
  padding: 1rem;
  border-radius: 0.75rem;
  margin-top: 1rem;
  text-align: center;
}

.form__status--success {
  display: block;
  background: rgba(56, 163, 107, 0.12);
  color: #7ddda5;
  border: 1px solid rgba(56, 163, 107, 0.25);
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

@media (min-width: 640px) {
  .container { padding-inline: 2rem; }
  .version-grid { grid-template-columns: repeat(3, 1fr); }
  .version-card__preview { height: 10rem; }
}

@media (min-width: 1024px) {
  .hero { padding: 8rem 0 5rem; }
}
