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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: #f0e8e8;
  background: #0e0a0a;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── animated background ── */

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.4;
  will-change: transform;
}

.orb-1 {
  width: 540px;
  height: 540px;
  top: -10%;
  left: -8%;
  background: radial-gradient(circle, #e63946 0%, transparent 70%);
  animation: drift1 18s ease-in-out infinite alternate;
}

.orb-2 {
  width: 420px;
  height: 420px;
  bottom: -6%;
  right: -6%;
  background: radial-gradient(circle, #ff6b6b 0%, transparent 70%);
  animation: drift2 22s ease-in-out infinite alternate;
}

.orb-3 {
  width: 360px;
  height: 360px;
  top: 40%;
  left: 52%;
  background: radial-gradient(circle, #c1121f 0%, transparent 70%);
  animation: drift3 20s ease-in-out infinite alternate;
}

@keyframes drift1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.12); }
}
@keyframes drift2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-50px, -30px) scale(1.08); }
}
@keyframes drift3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -50px) scale(0.92); }
}

/* ── layout ── */

.page {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.page.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding-top: 0;
  padding-bottom: 0;
}

/* ── logo ── */

.logo {
  margin-bottom: 2rem;
}

.logo-svg {
  width: 280px;
  height: auto;
}

/* ── hero ── */

.hero {
  margin-bottom: 3rem;
}

h1 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: rgba(240, 232, 232, 0.85);
  margin-bottom: 1.2rem;
}

.hero p {
  color: rgba(240, 232, 232, 0.42);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 48ch;
  margin: 0 auto 2.2rem;
}

/* ── button ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  padding: 0 1.6rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #e63946, #ff6b6b);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(230, 57, 70, 0.35);
}

/* ── back link ── */

.back {
  display: inline-block;
  margin-bottom: 2rem;
  color: rgba(240, 232, 232, 0.5);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.back:hover {
  color: #f0e8e8;
}

/* ── card ── */

.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2rem;
  backdrop-filter: blur(16px);
}

h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.card p {
  color: rgba(240, 232, 232, 0.5);
  line-height: 1.7;
  font-size: 0.98rem;
}

/* ── form ── */

.form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

input,
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: #f0e8e8;
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

input::placeholder,
textarea::placeholder {
  color: rgba(240, 232, 232, 0.28);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(230, 57, 70, 0.55);
}

textarea {
  resize: vertical;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ── footer ── */

footer {
  color: rgba(240, 232, 232, 0.2);
  font-size: 0.82rem;
}

/* ── fade-in ── */

.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.logo.fade-in { transition-delay: 0s; }
.hero.fade-in { transition-delay: 0.12s; }
footer.fade-in { transition-delay: 0.24s; }
.card.fade-in { transition-delay: 0.1s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .fade-in { opacity: 1; transform: none; }
}

@media (max-width: 480px) {
  .page { padding: 1.5rem 1rem 2rem; }
  .logo-svg { width: 220px; }
  .btn { width: 100%; }
}