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

:root {
  --bg: #f8f4ee;
  --surface: #fffdf9;
  --border: #e9e1d3;
  --text: #574f45;
  --muted: #988f81;
  --accent-1: #b9d8c3;
  --accent-2: #f2d6cd;
  --accent-3: #efe1ba;
  --accent-4: #c8dcea;
  --accent-1-deep: #7fb08f;
  --accent-2-deep: #d9a894;
  --accent-3-deep: #c9b26a;
  --shadow: rgba(150, 135, 115, 0.14);
  --shadow-strong: rgba(150, 135, 115, 0.22);
}

html,
body {
  height: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: linear-gradient(160deg, #f9f5ef 0%, #f6efe8 55%, #f2ebe3 100%);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Background ---------- */
.bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -2;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.blob-1 {
  width: 480px;
  height: 480px;
  top: -140px;
  left: -120px;
  background: var(--accent-1);
}

.blob-2 {
  width: 420px;
  height: 420px;
  bottom: -140px;
  right: -100px;
  background: var(--accent-2);
}

.blob-3 {
  width: 360px;
  height: 360px;
  top: 40%;
  left: 58%;
  background: var(--accent-4);
  opacity: 0.35;
}

/* ---------- Card ---------- */
.card {
  position: relative;
  width: 100%;
  max-width: 640px;
  text-align: center;
  padding: 56px 48px 40px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow:
    0 2px 12px var(--shadow),
    0 16px 48px var(--shadow);
  animation: rise 0.7s ease-out both;
}

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

/* ---------- Logo ---------- */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  color: #4c5c52;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-4));
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.logo-text {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* ---------- Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #f4eee3;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-1-deep);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(127, 176, 143, 0.45);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(127, 176, 143, 0);
  }
}

/* ---------- Typography ---------- */
h1 {
  margin: 28px 0 18px;
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text);
}

.gradient {
  background: linear-gradient(90deg, var(--accent-1-deep), var(--accent-2-deep), var(--accent-3-deep));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 8s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.subtitle {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  max-width: 480px;
  margin: 0 auto;
}

.subtitle strong {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Progress ---------- */
.progress {
  margin: 44px auto 36px;
  width: 100%;
  max-width: 400px;
  height: 8px;
  border-radius: 999px;
  background: #ece4d5;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 35%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-4));
  background-size: 200% auto;
  animation: loading 3s ease-in-out infinite;
}

@keyframes loading {
  0% {
    transform: translateX(-120%);
    background-position: 0% center;
  }
  100% {
    transform: translateX(400%);
    background-position: 200% center;
  }
}

/* ---------- Contacts ---------- */
.contacts {
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 16px;
  color: #3f4f45;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  background: var(--accent-1);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 14px rgba(127, 176, 143, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(127, 176, 143, 0.45);
}

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

.btn svg {
  stroke: currentColor;
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 44px;
  font-size: 13px;
  color: var(--muted);
  opacity: 0.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 520px) {
  .card {
    padding: 40px 24px 32px;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .progress-bar,
  .gradient,
  .dot {
    animation: none;
  }
  .card {
    animation: none;
  }
}