:root {
  --bg: #f6efe5;
  --bg-accent: #efe1cc;
  --surface: rgba(255, 251, 246, 0.76);
  --surface-strong: rgba(255, 249, 242, 0.92);
  --text: #21160f;
  --muted: #6c5949;
  --line: rgba(71, 47, 27, 0.12);
  --gold: #c68a3d;
  --gold-deep: #a96a1d;
  --green: #197a4b;
  --red: #b64242;
  --shadow: 0 30px 80px rgba(82, 45, 16, 0.12);
  --radius-xl: 32px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.8), transparent 28%),
    radial-gradient(circle at 90% 15%, rgba(198, 138, 61, 0.22), transparent 22%),
    radial-gradient(circle at 20% 80%, rgba(225, 180, 112, 0.2), transparent 24%),
    linear-gradient(135deg, var(--bg) 0%, #f2e6d7 50%, var(--bg-accent) 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: 0;
  inset: auto;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
}

body::before {
  top: -8rem;
  right: -6rem;
  background: rgba(255, 255, 255, 0.45);
}

body::after {
  bottom: -10rem;
  left: -8rem;
  background: rgba(198, 138, 61, 0.18);
}

.page {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(255, 251, 246, 0.86), rgba(247, 236, 220, 0.72));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.46) 45%, transparent 100%);
  opacity: 0.6;
  transform: translateX(-45%);
  animation: shimmer 8s linear infinite;
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(198, 138, 61, 0.24);
  background: rgba(255, 255, 255, 0.72);
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 22px 0 14px;
  max-width: 760px;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2.35rem, 5.4vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.lead {
  margin: 0;
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.65;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

.card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 50px rgba(66, 36, 14, 0.08);
  opacity: 0;
  transform: translateY(36px) scale(0.98);
  animation: reveal 0.85s cubic-bezier(.22, 1, .36, 1) forwards;
}

.card.delay-1 {
  animation-delay: 0.12s;
}

.card.delay-2 {
  animation-delay: 0.22s;
}

.card.delay-3 {
  animation-delay: 0.32s;
}

.checker-title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.checker-subtitle,
.plan-desc {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.email-form {
  margin-top: 22px;
}

.input-shell {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 10px;
  border: 1px solid rgba(71, 47, 27, 0.12);
  border-radius: 24px;
  background: var(--surface-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.input-shell:focus-within {
  transform: translateY(-1px);
  border-color: rgba(198, 138, 61, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 16px 30px rgba(112, 64, 20, 0.1);
}

.prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  height: 52px;
  border-radius: 16px;
  background: rgba(198, 138, 61, 0.12);
  color: var(--gold-deep);
  font-weight: 800;
  white-space: nowrap;
}

.email-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 16px;
  font: inherit;
  font-size: 1.08rem;
  color: var(--text);
}

.email-input::placeholder {
  color: #9e8a79;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-weight: 700;
  transition: background 0.25s ease, color 0.25s ease;
}

.status::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.04);
}

.status.available {
  background: rgba(25, 122, 75, 0.12);
  color: var(--green);
}

.status.taken {
  background: rgba(182, 66, 66, 0.12);
  color: var(--red);
}

.status.loading {
  background: rgba(198, 138, 61, 0.12);
  color: var(--gold-deep);
}

.status.neutral {
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
}

.status.error {
  background: rgba(71, 47, 27, 0.08);
  color: #7a5131;
}

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

.hint {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.side-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(198, 138, 61, 0.25), transparent 36%),
    linear-gradient(180deg, rgba(255, 248, 238, 0.94), rgba(244, 232, 214, 0.88));
}

.side-badge {
  display: inline-flex;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(33, 22, 15, 0.06);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
}

.side-panel strong {
  display: block;
  margin-top: 12px;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

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

.mini-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mini-stat {
  padding: 16px;
  border: 1px solid rgba(71, 47, 27, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.64);
}

.mini-stat b {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.mini-stat span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.plan {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  overflow: hidden;
}

.plan::after {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(198, 138, 61, 0.11);
  filter: blur(4px);
}

.plan.free {
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.94), rgba(245, 233, 214, 0.88));
}

.plan.buy {
  background: linear-gradient(180deg, rgba(35, 24, 16, 0.95), rgba(66, 41, 21, 0.95));
  color: #fff8f0;
}

.plan.buy .plan-desc,
.plan.buy .price-note,
.plan.buy .plan-meta {
  color: rgba(255, 248, 240, 0.72);
}

.plan-top {
  position: relative;
  z-index: 1;
}

.plan-label {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--gold-deep);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan.buy .plan-label {
  background: rgba(255, 248, 240, 0.12);
  color: #ffd59d;
}

.plan h2 {
  margin: 18px 0 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.price {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-top: 26px;
  line-height: 1;
}

.old-price {
  color: #9b7d63;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.current-price {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.06em;
}

.price-note,
.plan-meta {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.plan-actions {
  position: relative;
  z-index: 1;
  margin-top: 28px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 18px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.cta:hover {
  transform: translateY(-2px);
}

.cta:active {
  transform: translateY(0);
}

.cta-primary {
  background: linear-gradient(135deg, #d69c51, #b46f26);
  color: #fffdf9;
  box-shadow: 0 18px 30px rgba(180, 111, 38, 0.28);
}

.cta-dark {
  background: linear-gradient(135deg, #fff0d5, #ffd59d);
  color: #2c1c12;
  box-shadow: 0 18px 30px rgba(255, 205, 132, 0.2);
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(36px) scale(0.98);
  }

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

@keyframes shimmer {
  from {
    transform: translateX(-45%);
  }

  to {
    transform: translateX(45%);
  }
}

@media (max-width: 960px) {
  .grid,
  .plans {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page {
    width: min(100% - 20px, 1120px);
    padding-top: 12px;
  }

  .hero,
  .card {
    padding: 20px;
    border-radius: 28px;
  }

  .input-shell {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
  }

  .prefix {
    justify-content: flex-start;
  }

  .email-input {
    padding: 0 4px;
    min-height: 42px;
  }

  .mini-stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
