:root {
  --bg: #030712;
  --surface: #0f172a;
  --surface-2: #111827;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --brand: #4ade80;
  --brand-dark: #22c55e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(120deg, #04050a, #050c1c 65%, #030712);
  color: var(--text);
  min-height: 100vh;
}

a {
  color: inherit;
}

.hero {
  padding: 2rem clamp(1.5rem, 4vw, 6rem) 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  align-items: center;
}

.nav {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.login-link {
  text-decoration: none;
  color: var(--muted);
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 999px;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  margin-bottom: 1rem;
}

.subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.tag {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn.primary {
  background: linear-gradient(120deg, var(--brand), var(--brand-dark));
  color: #021b07;
}

.btn.ghost {
  border-color: rgba(148, 163, 184, 0.3);
  color: var(--text);
}

.btn.full {
  width: 100%;
}

.hero-illustration {
  display: flex;
  justify-content: center;
}

.card {
  background: var(--surface);
  border-radius: 1.5rem;
  padding: 1.5rem;
  width: min(360px, 100%);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.card-header {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
}

.status-pill {
  background: rgba(74, 222, 128, 0.15);
  color: var(--brand);
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  padding-bottom: 0.75rem;
}

.card li:last-child {
  border-bottom: none;
}

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

.amount {
  font-weight: 600;
}

section {
  padding: 4rem clamp(1.5rem, 5vw, 6rem);
}

.logos {
  text-align: center;
  color: var(--muted);
}

.logo-row {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  font-weight: 600;
}

.features {
  background: var(--surface-2);
}

.section-heading {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-grid article {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.15);
  padding: 1.5rem;
  border-radius: 1rem;
}

.signup {
  background: var(--surface);
}

.signup-form {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.signup-form[data-state="loading"] {
  opacity: 0.9;
}

.signup-form[data-state="loading"] .btn.primary {
  cursor: progress;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

label {
  font-weight: 500;
}

input,
select {
  width: 100%;
  padding: 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(2, 6, 23, 0.5);
  color: var(--text);
}

input::placeholder {
  color: var(--muted);
}

.fine-print {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.form-feedback {
  margin: 0.5rem 0 0;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.form-feedback.loading {
  border-color: rgba(148, 163, 184, 0.4);
  color: var(--muted);
}

.form-feedback.success {
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(34, 197, 94, 0.1);
  color: var(--brand);
}

.form-feedback.error {
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(248, 113, 113, 0.08);
  color: #f87171;
}

footer {
  padding: 2.5rem clamp(1.5rem, 5vw, 6rem);
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 1rem;
  }

  .nav {
    flex-direction: column;
    gap: 1rem;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }
}
