:root {
  --bg: #f4f5f8;
  --text: #111827;
  --muted: #6b7280;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --card: #ffffff;
  --field: #f3f4f6;
  --line: #e5e7eb;
}

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

html,
body {
  min-height: 100%;
}

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

.orb {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  animation: float 10s ease-in-out infinite;
}

.orb-a {
  top: -160px;
  left: -80px;
  background: #dbeafe;
}

.orb-b {
  right: -120px;
  bottom: -180px;
  background: #e0e7ff;
  animation-delay: -4s;
}

.hero {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0 64px;
}

.intro {
  text-align: center;
  margin-bottom: 28px;
  animation: rise 0.7s ease both;
}

.intro h1 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.intro h1 span {
  color: var(--blue);
  display: inline-block;
}

.intro p {
  margin: 14px auto 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.card {
  background: var(--card);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
  animation: rise 0.8s 0.08s ease both;
}

.field {
  display: flex;
  align-items: center;
  background: var(--field);
  border-radius: 999px;
  min-height: 58px;
  padding: 6px 18px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.field:focus-within {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
}

.field input {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.98rem;
  color: var(--text);
  outline: none;
  height: 46px;
}

.field input::placeholder {
  color: #9ca3af;
}

.actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.cta {
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #3b82f6, var(--blue));
  color: #fff;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.34);
}

.cta:disabled {
  cursor: wait;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.28) 50%, transparent 80%);
  transform: translateX(-120%);
  animation: shine 3.4s ease-in-out infinite;
}

.cta-loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.cta.loading .cta-text {
  opacity: 0;
}

.cta.loading .cta-loader {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -9px 0 0 -9px;
}

.trust {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 16px;
  color: #6b7280;
  font-size: 0.88rem;
  font-weight: 600;
}

.trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust i {
  font-style: normal;
  color: var(--blue);
}

.status {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.92rem;
  text-align: center;
  animation: rise 0.35s ease;
}

.status.loading,
.status.error,
.status.success {
  display: block;
}

.status.loading {
  background: #eff6ff;
  color: #1d4ed8;
}

.status.error {
  background: #fef2f2;
  color: #b91c1c;
}

.status.success {
  background: #ecfdf5;
  color: #047857;
}

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(24px); }
}

@keyframes shine {
  0%, 55% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
  .field {
    border-radius: 22px;
    padding-left: 14px;
  }

  .trust {
    flex-wrap: wrap;
    gap: 10px 16px;
  }
}
