:root {
  --bg: #0a0a0b;
  --bg-elevated: #121214;
  --slate: #5a6c7d;
  --coral: #e07a5f;
  --coral-dim: #c56c52;
  --text: #f5f5f6;
  --text-muted: #9ca3af;
  --border: rgba(255, 255, 255, 0.06);
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Ambient background */
.noise {
  position: fixed;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

.gradient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
  animation: orb-float 18s var(--ease-in-out) infinite;
}

.gradient-orb--1 {
  width: 60vmin;
  height: 60vmin;
  background: var(--coral);
  top: -20%;
  left: -10%;
}

.gradient-orb--2 {
  width: 50vmin;
  height: 50vmin;
  background: var(--slate);
  bottom: -15%;
  right: -10%;
  animation-delay: -8s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(5%, 5%) scale(1.05); }
  66% { transform: translate(-3%, -4%) scale(0.98); }
}

/* Main content */
.main {
  position: relative;
  z-index: 1;
  padding: 2rem;
  text-align: center;
}

.content {
  max-width: 28rem;
  margin: 0 auto;
}

/* Logo */
.logo-wrap {
  margin-bottom: 2rem;
  opacity: 0;
  animation: logo-in 1s var(--ease-out-expo) 0.2s forwards;
}

.logo {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
  transition: transform 0.5s var(--ease-out-expo);
}

.logo-wrap:hover .logo {
  transform: scale(1.02);
}

@keyframes logo-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Typography */
.tagline {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: text-in 0.8s var(--ease-out-expo) 0.5s forwards;
}

.sub {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
  line-height: 1.5;
  opacity: 0;
  animation: text-in 0.8s var(--ease-out-expo) 0.65s forwards;
}

/* CTA group */
.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  opacity: 0;
  animation: text-in 0.8s var(--ease-out-expo) 0.8s forwards;
}

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

/* CTA Button */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--bg);
  background: var(--coral);
  border: none;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease-in-out),
    color 0.25s var(--ease-in-out),
    transform 0.25s var(--ease-out-expo),
    box-shadow 0.25s var(--ease-in-out);
  opacity: 0;
  animation: text-in 0.8s var(--ease-out-expo) 0.8s forwards;
  box-shadow: 0 0 0 0 rgba(224, 122, 95, 0.4);
}

.cta:hover {
  background: var(--coral-dim);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(224, 122, 95, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.cta:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--bg-elevated),
    0 0 0 5px var(--coral);
}

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

.cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta--instagram {
  background: var(--slate);
  box-shadow: 0 0 0 0 rgba(90, 108, 125, 0.4);
}

.cta--instagram:hover {
  background: #6b7d8e;
  box-shadow: 0 8px 24px -4px rgba(90, 108, 125, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.cta--instagram:focus {
  box-shadow: 0 0 0 3px var(--bg-elevated),
    0 0 0 5px var(--slate);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .gradient-orb,
  .logo,
  .logo-wrap,
  .tagline,
  .sub,
  .cta,
  .cta-group {
    animation: none;
  }
  .logo-wrap,
  .tagline,
  .sub,
  .cta,
  .cta-group {
    opacity: 1;
  }
}
