﻿:root {
  --bg: #0b1021;
  --panel: #0f162c;
  --panel-alt: #151d34;
  --border: #1f2a46;
  --text: #e7ecf5;
  --muted: #b7bfd3;
  --accent: #4ade80;
  --accent-2: #fbbf24;
  --danger: #ef4444;
  --radius: 14px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --font: 'Inter', 'Segoe UI', 'Helvetica Neue', sans-serif;
}

* {
  box-sizing: border-box;
}

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

.bg {
  position: fixed;
  inset: 0;
  background: radial-gradient(120% 120% at 15% 20%, rgba(74, 222, 128, 0.18), transparent),
    radial-gradient(120% 120% at 80% 10%, rgba(251, 191, 36, 0.2), transparent),
    linear-gradient(135deg, #0c1227, #0a0f20);
  z-index: -1;
}

.app {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.hero-copy h1 {
  margin: 6px 0 10px;
  font-size: 2.3rem;
  letter-spacing: -0.5px;
}

.lead {
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 680px;
}

.hero-list {
  padding-left: 18px;
  margin: 0;
  display: grid;
  gap: 4px;
  color: var(--text);
}

.hero-card {
  background: linear-gradient(145deg, #16264a, #0e1935);
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: var(--radius);
  min-width: 220px;
  box-shadow: var(--shadow);
}

.tag {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
  color: var(--accent);
  margin: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.16);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.progress {
  margin-bottom: 18px;
}

.progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.step-title {
  color: var(--muted);
  font-weight: 600;
}

.progress-track {
  position: relative;
  height: 10px;
  background: var(--panel-alt);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 10px;
}

.progress-fill {
  position: absolute;
  inset: 0;
  width: 20%;
  background: linear-gradient(90deg, var(--accent), #7cdd9f);
  transition: width 0.3s ease;
}

form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 8px 0 12px;
}

.step.active {
  display: flex;
}

.step-heading h2 {
  margin: 0 0 6px;
}

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

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--panel-alt);
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 10px;
}

.field span {
  color: var(--muted);
  font-size: 0.95rem;
}

input,
select {
  background: var(--panel-alt);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px;
  border-radius: 8px;
  font-size: 1rem;
  transition: background 0.2s;
}

select:disabled {
  background: var(--panel-alt);
  color: var(--muted);
  opacity: 0.7;
}

input:focus,
select:focus {
  outline: 2px solid rgba(74, 222, 128, 0.35);
  border-color: rgba(74, 222, 128, 0.5);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
}

.checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.options {
  display: grid;
  gap: 8px;
}

.options label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0f1a35;
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.helper {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.mini-card {
  background: var(--panel-alt);
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 10px;
}

.mini-card .label {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.mini-card h3 {
  margin: 0;
  font-size: 1.5rem;
}

.mini-card small {
  color: var(--muted);
}

.impact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.impact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--panel-alt);
  border: 1px solid var(--border);
  padding: 12px 14px;
  border-radius: 10px;
}

.impact-icon {
  font-size: 1.8rem;
}

.impact-label {
  color: var(--muted);
  display: block;
}

.impact-value {
  font-weight: 700;
  color: var(--text);
}

.chart-area {
  margin-top: 16px;
  background: var(--panel-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.navigation {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

button {
  cursor: pointer;
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
}

button:active {
  transform: translateY(1px);
}

button.primary {
  background: linear-gradient(135deg, var(--accent), #8ef0b4);
  color: #0b1328;
  box-shadow: 0 12px 30px rgba(74, 222, 128, 0.35);
}

button.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.consent {
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.2);
  padding: 12px;
  border-radius: 10px;
  color: var(--text);
}

.success {
  margin-top: 12px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
  padding: 14px;
  border-radius: 10px;
}

.success strong {
  display: block;
  margin-bottom: 4px;
}

.disclaimer {
  margin-top: 12px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  padding: 12px;
  border-radius: 10px;
  color: var(--text);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
  }

  .hero-copy h1 {
    font-size: 1.9rem;
  }

  .navigation {
    flex-direction: column-reverse;
  }

  button {
    width: 100%;
  }
}
