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

:root {
  --bg: #1a1412;
  --bg-soft: #241c19;
  --pink: #e8a4b0;
  --pink-bright: #f0b8c2;
  --pink-deep: #c97888;
  --beige: #d4c4b0;
  --beige-muted: #9a8b7a;
  --cream: #f5ebe0;
  --brown: #3d2f2a;
  --glow: rgba(232, 164, 176, 0.45);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--cream);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: orb-drift 18s ease-in-out infinite;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(232, 164, 176, 0.35) 0%, transparent 70%);
  top: -120px;
  left: -80px;
}

.orb-2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(212, 196, 176, 0.2) 0%, transparent 70%);
  bottom: -100px;
  right: -60px;
  animation-delay: -6s;
}

.orb-3 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(201, 120, 136, 0.25) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -12s;
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 25px) scale(0.95); }
}

.hero {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem 2.5rem;
  gap: 1.5rem;
}

.top-bar {
  position: absolute;
  top: 1.75rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--beige);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(232, 164, 176, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  animation: fade-down 0.8s ease both;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #14f195;
  box-shadow: 0 0 12px #14f195;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.logo-stage {
  position: relative;
  width: min(320px, 72vw);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-up 1s ease 0.15s both;
}

.logo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(232, 164, 176, 0.15);
}

.logo-ring-outer {
  inset: -18px;
  animation: ring-spin 24s linear infinite;
  border-style: dashed;
}

.logo-ring-inner {
  inset: -8px;
  animation: ring-spin 16s linear infinite reverse;
  border-color: rgba(212, 196, 176, 0.12);
}

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

.logo-glow {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 65%);
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.logo-float {
  position: relative;
  z-index: 1;
  animation: float 5s ease-in-out infinite;
}

.logo {
  width: 100%;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 4px rgba(232, 164, 176, 0.15),
    0 24px 64px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(232, 164, 176, 0.2);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-stage:hover .logo {
  transform: scale(1.04) rotate(-2deg);
}

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

.content {
  text-align: center;
  max-width: 520px;
}

.eyebrow {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.5rem;
}

.title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 10vw, 4.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.title-line {
  display: inline-block;
  animation: title-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.title-line:nth-child(1) { animation-delay: 0.35s; }
.title-line:nth-child(2) { animation-delay: 0.45s; }
.title-line:nth-child(3) { animation-delay: 0.55s; }

.title-accent {
  color: var(--pink-bright);
  text-shadow: 0 0 40px rgba(240, 184, 194, 0.5);
}

@keyframes title-pop {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.tagline {
  font-size: 1.05rem;
  color: var(--beige-muted);
  margin-bottom: 2rem;
  font-style: italic;
}

.reveal {
  animation: fade-up 0.8s ease both;
}

.reveal:nth-of-type(1) { animation-delay: 0.5s; }
.reveal:nth-of-type(2) { animation-delay: 0.6s; }
.reveal:nth-of-type(3) { animation-delay: 0.7s; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  color: var(--brown);
  background: linear-gradient(135deg, var(--pink-bright), var(--pink));
  box-shadow: 0 4px 24px rgba(232, 164, 176, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(232, 164, 176, 0.5);
}

.btn-secondary {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 196, 176, 0.25);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(232, 164, 176, 0.4);
}

.ca-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  max-width: min(100%, 420px);
}

.ca-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--beige-muted);
}

.ca-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.ca-copy:hover {
  border-color: rgba(232, 164, 176, 0.35);
  background: rgba(0, 0, 0, 0.35);
}

.ca-copy code {
  font-family: "DM Sans", monospace;
  font-size: 0.8rem;
  color: var(--beige);
  word-break: break-all;
  text-align: left;
}

.copy-icon svg {
  width: 16px;
  height: 16px;
  color: var(--pink);
  opacity: 0.7;
  transition: opacity 0.2s;
}

.ca-copy:hover .copy-icon svg {
  opacity: 1;
}

.footer {
  position: absolute;
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--beige-muted);
  animation: fade-up 0.8s ease 0.9s both;
}

.footer a {
  color: var(--beige-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--pink);
}

.divider {
  opacity: 0.4;
}

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brown);
  background: var(--pink-bright);
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
  z-index: 100;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

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

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .footer {
    position: static;
    margin-top: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
