:root {
  color-scheme: dark;
  --bg: #050816;
  --bg-alt: #0b1020;
  --accent: #4f46e5;
  --accent-soft: rgba(79, 70, 229, 0.1);
  --accent-strong: rgba(79, 70, 229, 0.35);
  --border-subtle: rgba(148, 163, 184, 0.25);
  --text: #e5e7eb;
  --text-muted: #9ca3af;
  --danger: #f97373;
  --success: #4ade80;
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --shadow-soft: 0 22px 45px rgba(15, 23, 42, 0.9);
  --shadow-subtle: 0 14px 30px rgba(15, 23, 42, 0.75);
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", sans-serif;
  background: radial-gradient(circle at top left, #111827 0, #020617 45%);
  color: var(--text);
}

body {
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.95),
    rgba(2, 6, 23, 0.75),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: radial-gradient(circle at top left, #1e293b, #020617);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.8);
}

.nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  margin-left: 1.5rem;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav a:hover {
  color: var(--text);
  border-color: var(--accent);
}

.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
  gap: 2.75rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  line-height: 1.1;
  margin: 0 0 0.75rem;
}

.hero-text p {
  margin: 0;
  max-width: 28rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.hero-form {
  background: radial-gradient(circle at top left, #1e293b, #020617);
  border-radius: 24px;
  padding: 1.4rem 1.4rem 1.25rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-form::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle at 0 0,
    rgba(79, 70, 229, 0.25),
    transparent 55%
  );
  opacity: 0.85;
  pointer-events: none;
}

.hero-form > * {
  position: relative;
  z-index: 1;
}

.input-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.input-row input {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.65);
  background: rgba(15, 23, 42, 0.85);
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease;
}

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

.input-row input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.6);
  background: rgba(15, 23, 42, 0.98);
}

.input-row button {
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.3rem;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  box-shadow: 0 18px 35px rgba(55, 48, 163, 0.65);
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.08s ease;
}

.input-row button:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(55, 48, 163, 0.8);
}

.input-row button:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: 0 12px 24px rgba(55, 48, 163, 0.75);
}

.helper-text {
  margin: 0.7rem 0 0.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.status {
  min-height: 1.1rem;
  font-size: 0.82rem;
  margin-top: 0.15rem;
}

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

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

.section {
  padding: 2.75rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, #020617, #020617 40%, #020617);
}

.section h2 {
  font-size: 1.4rem;
  margin-bottom: 1.75rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.card {
  border-radius: var(--radius-lg);
  padding: 1rem 1rem 0.9rem;
  background: radial-gradient(circle at top left, #0f172a, #020617);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-subtle);
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.steps {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.steps li + li {
  margin-top: 0.4rem;
}

.disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 40rem;
}

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding: 1.25rem 0 1.5rem;
  background: rgba(2, 6, 23, 0.95);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-text {
    text-align: center;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 720px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .header-inner {
    justify-content: space-between;
  }

  .nav {
    display: none;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-form {
    padding: 1.1rem 1rem 1rem;
  }

  .input-row {
    flex-direction: column;
    align-items: stretch;
  }

  .input-row button {
    width: 100%;
  }

  .features-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

