@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap");

:root {
  color-scheme: light;
  --bg: #f6f0e6;
  --bg-2: #fff9f1;
  --panel: rgba(255, 252, 247, 0.88);
  --panel-strong: #fffdf9;
  --panel-dark: #10213d;
  --ink: #162033;
  --muted: #5c677c;
  --line: rgba(20, 32, 51, 0.1);
  --line-strong: rgba(20, 32, 51, 0.18);
  --brand: #1f5eff;
  --brand-deep: #0f172a;
  --brand-soft: rgba(31, 94, 255, 0.08);
  --accent: #ffca72;
  --danger: #b45309;
  --ok: #166534;
  --shadow: 0 30px 90px rgba(16, 22, 36, 0.14);
  --shadow-soft: 0 18px 44px rgba(16, 22, 36, 0.08);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(41, 95, 255, 0.22), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 202, 114, 0.32), transparent 32%),
    radial-gradient(circle at 50% 120%, rgba(16, 33, 61, 0.1), transparent 36%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  padding: 28px 18px 48px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 78%);
  opacity: 0.4;
}

.shell {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}

.card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}

.hero {
  display: grid;
  gap: 22px;
  align-items: stretch;
}

.hero-combined {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 18px;
  padding: 18px;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 34%),
    radial-gradient(circle at bottom left, rgba(255, 202, 114, 0.12), transparent 30%),
    linear-gradient(135deg, #12213f 0%, #1947aa 58%, #266dff 100%);
  box-shadow: var(--shadow);
}

.hero-main,
.hero-side,
.panel,
.pricing-card,
.faq-intro,
.faq-card {
  animation: rise-in 0.6s ease both;
}

.hero-side,
.panel,
.pricing-card,
.faq-card {
  animation-delay: 0.06s;
}

.hero-main {
  padding: 20px 14px 14px;
  color: #fff;
  background: transparent;
  box-shadow: none;
}

.hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-main .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.secure-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.96);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
.section-title,
.plan-copy h3,
.faq-card h3 {
  font-family: "Space Grotesk", "Segoe UI", Arial, sans-serif;
}

.hero-main h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.hero-main p {
  margin: 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
}

.hero-lead {
  margin-top: 18px !important;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hero-spotlight {
  margin-top: 28px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.spotlight-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 202, 114, 0.18);
  color: #fff2d2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spotlight-title {
  margin-top: 14px;
  font-family: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  font-size: 26px;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-spotlight p {
  margin-top: 10px;
}

.hero-side {
  padding: 22px;
  min-height: 100%;
  color: var(--ink);
  background: rgba(255, 252, 247, 0.96);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.hero-side .section-title {
  font-size: 26px;
}

.hero-side .eyebrow {
  color: var(--muted);
}

.hero-side-block {
  display: grid;
  gap: 12px;
}

.section-title {
  margin: 6px 0 0;
  font-size: 32px;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hint {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.message {
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  line-height: 1.65;
  background: #fff;
}

.message.info {
  background: rgba(31, 94, 255, 0.08);
  border-color: rgba(31, 94, 255, 0.14);
}

.message.warn {
  background: rgba(180, 83, 9, 0.08);
  border-color: rgba(180, 83, 9, 0.16);
}

.message.ok {
  background: rgba(22, 101, 52, 0.08);
  border-color: rgba(22, 101, 52, 0.16);
}

.hero-side-note {
  padding: 18px 18px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 202, 114, 0.16), rgba(255, 255, 255, 0.8));
  border: 1px solid rgba(255, 202, 114, 0.34);
  font-weight: 700;
  line-height: 1.55;
}

.steps-section {
  margin-top: 22px;
}

.signin-spotlight {
  margin-top: 22px;
}

.auth-hero {
  padding: 32px;
  background:
    radial-gradient(circle at top right, rgba(31, 94, 255, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 251, 245, 0.92));
  border: 1px solid rgba(31, 94, 255, 0.12);
  box-shadow: 0 26px 50px rgba(31, 94, 255, 0.08);
}

.auth-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: center;
}

.auth-hero-copy .section-title {
  max-width: 640px;
}

.auth-hero-form {
  position: relative;
  margin-top: 0;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(20, 32, 51, 0.08);
  box-shadow: 0 14px 34px rgba(20, 32, 51, 0.06);
}

.auth-hero-form .field,
.auth-hero-form.field {
  gap: 10px;
}

.auth-hero-form-pulse {
  animation: auth-pulse 2.2s ease-in-out infinite;
}

.auth-focus-tag {
  position: absolute;
  top: -14px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f172a, #215cff);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 14px 24px rgba(31, 94, 255, 0.18);
}

.auth-hero-side {
  display: grid;
  gap: 14px;
}

.auth-hero-grid-compact {
  align-items: start;
}

.steps-header {
  max-width: 640px;
  margin-bottom: 18px;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mini-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 252, 247, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.mini-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0f172a, #245eff);
  color: #fff;
  font-family: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 14px 26px rgba(31, 94, 255, 0.18);
}

.mini-step strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.mini-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.commerce-layout {
  display: grid;
  gap: 22px;
  margin-top: 22px;
  align-items: start;
}

.auth-column {
  display: grid;
  gap: 18px;
}

.panel,
.pricing-card {
  padding: 30px;
}

.trust-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.trust-inline-item {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(20, 32, 51, 0.08);
  color: #20304d;
  font-size: 13px;
  font-weight: 700;
}

.field {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.field label {
  font-size: 14px;
  font-weight: 700;
}

.field input {
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.field input:focus {
  outline: none;
  border-color: rgba(31, 94, 255, 0.42);
  box-shadow: 0 0 0 4px rgba(31, 94, 255, 0.12);
}

.auth-hero-form-pulse input {
  animation: input-glow 2.2s ease-in-out infinite;
}

.status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}

.status strong {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(31, 94, 255, 0.08);
  color: var(--brand-deep);
  font-size: 15px;
}

.pricing-card {
  background:
    radial-gradient(circle at top right, rgba(255, 202, 114, 0.24), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 251, 245, 0.92));
}

.pricing-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 18px;
  align-items: end;
}

.pricing-aside {
  padding: 18px;
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.pricing-aside strong,
.faq-card h3 {
  display: block;
}

.pricing-aside span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
}

.plan-stack {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.pricing-lock {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px dashed rgba(15, 23, 42, 0.16);
  color: #344154;
  font-weight: 700;
  line-height: 1.55;
}

.plan-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(20, 32, 51, 0.08);
}

.plan-row.featured {
  border-color: rgba(31, 94, 255, 0.28);
  background:
    radial-gradient(circle at top right, rgba(31, 94, 255, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(241, 246, 255, 0.98), rgba(255, 255, 255, 0.94));
  box-shadow: 0 24px 44px rgba(31, 94, 255, 0.12);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.pill-strong {
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
}

.plan-copy h3 {
  margin: 12px 0 0;
  font-size: 38px;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.plan-copy .name {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 800;
}

.plan-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button,
button {
  appearance: none;
  border: 0;
  border-radius: 18px;
  padding: 15px 20px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, opacity 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.button:hover,
button:hover {
  transform: translateY(-1px);
}

.button:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: 1;
  transform: none;
}

.pricing-card button:disabled {
  background: #eef2f8;
  color: #7a8699;
  border: 1px solid rgba(20, 32, 51, 0.08);
  box-shadow: none;
}

.button-primary {
  background: linear-gradient(135deg, #0f172a, #215cff);
  color: #fff;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.2);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border: 1px solid rgba(20, 32, 51, 0.12);
  box-shadow: 0 8px 20px rgba(20, 32, 51, 0.05);
}

.button-link {
  background: transparent;
  color: var(--brand);
  border: 1px dashed rgba(31, 94, 255, 0.34);
}

.button-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 0.7fr));
  gap: 18px;
  margin-top: 22px;
}

.faq-intro,
.faq-card {
  padding: 28px;
}

.faq-card {
  background: rgba(255, 255, 255, 0.82);
}

.faq-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.faq-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.support-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 0 4px;
}

.support-copy p,
.support-contact {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.support-contact {
  font-weight: 800;
  color: var(--brand-deep);
}

.support-email {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.28);
}

.support-email:hover {
  border-bottom-color: rgba(31, 94, 255, 0.6);
}

.tiny {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.footer {
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.hidden {
  display: none !important;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes auth-pulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 14px 34px rgba(20, 32, 51, 0.06);
  }

  50% {
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(31, 94, 255, 0.12);
  }
}

@keyframes input-glow {
  0%,
  100% {
    border-color: rgba(20, 32, 51, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  }

  50% {
    border-color: rgba(31, 94, 255, 0.42);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.7),
      0 0 0 5px rgba(31, 94, 255, 0.12);
  }
}

@media (max-width: 1040px) {
  .hero-combined,
  .commerce-layout,
  .faq-section,
  .auth-hero-grid,
  .pricing-header,
  .step-list {
    grid-template-columns: 1fr;
  }

  .plan-row {
    grid-template-columns: 1fr;
  }

  .plan-row .button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 720px) {
  body {
    padding: 14px 12px 36px;
  }

  .hero-main,
  .hero-combined,
  .hero-side,
  .auth-hero,
  .panel,
  .pricing-card,
  .faq-intro,
  .faq-card {
    padding: 22px;
    border-radius: 24px;
  }

  .hero-topline {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-main h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .hero-lead,
  .hero-main p {
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .spotlight-title {
    font-size: 24px;
  }

  .hero-actions,
  .hero-badges,
  .trust-inline,
  .actions {
    gap: 10px;
  }

  .badge,
  .auth-hero-form,
  .button,
  button {
    width: 100%;
    justify-content: center;
  }

  .auth-focus-tag {
    position: static;
    margin-bottom: 4px;
    width: 100%;
    justify-content: center;
  }

  .mini-step {
    grid-template-columns: 44px 1fr;
    padding: 20px;
  }

  .mini-step span {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 18px;
  }

  .plan-copy h3 {
    font-size: 32px;
  }

  .support-strip {
    padding: 0;
  }
}
