:root {
  --font-display: "Yehuda CLM", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-main: "Yehuda CLM", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

@font-face {
  font-family: "Yehuda CLM";
  src: url("assets/fonts/yehuda/yehudaclm-light-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Yehuda CLM";
  src: url("assets/fonts/yehuda/yehudaclm-bold-webfont.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --surface-soft: #fbf4f6;
  --text: #111827;
  --muted: #5b6472;
  --line: #e5e7eb;
  --accent: #d94676;
  --accent-soft: #fde7ef;
  --accent-dark: #be285d;
  --gold: #e7c977;
  --whatsapp: #16a34a;
  --whatsapp-dark: #12823d;
  --focus: rgba(217, 70, 118, 0.28);
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.1);
  --shadow-sm: 0 10px 30px rgba(17, 24, 39, 0.07);
  --radius: 8px;
  --radius-lg: 18px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  font-family: var(--font-main);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 247, 245, 0.96) 34rem),
    linear-gradient(135deg, rgba(253, 231, 239, 0.88), transparent 24rem),
    linear-gradient(315deg, rgba(231, 201, 119, 0.22), transparent 28rem),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url("assets/images/stock-pink-manicure-bg.jpg") center / cover no-repeat;
  opacity: 0.22;
  filter: blur(2px) saturate(0.92);
  transform: scale(1.02);
  pointer-events: none;
}

main {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding-bottom: 2rem;
  text-align: center;
}

a {
  color: inherit;
}

.hero,
.section,
.final-cta {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.hero {
  min-height: 88svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0 28px;
  text-align: center;
}

.hero__content {
  max-width: 760px;
  margin-inline: auto;
}

.eyebrow {
  width: fit-content;
  margin: 0 auto 16px;
  padding: 8px 12px;
  border: 1px solid rgba(217, 70, 118, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #9f244f;
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(18px);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  margin-inline: auto;
  max-width: 720px;
  font-size: clamp(44px, 7vw, 76px);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero__text {
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 24px;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  animation: button-rise 700ms ease both;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button--primary {
  background:
    linear-gradient(135deg, #f06498, var(--accent-dark)),
    var(--accent);
  color: #fff;
  box-shadow: 0 16px 34px rgba(217, 70, 118, 0.3);
}

.button--primary::before {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  clip-path: path("M9.1 1.2C4.7 1.2 1.1 4.7 1.1 9c0 1.4.4 2.8 1.1 4L1 17.2l4.4-1.1c1.1.6 2.4.9 3.7.9 4.4 0 8-3.5 8-7.9S13.5 1.2 9.1 1.2Z");
}

.button--primary::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -35%;
  z-index: -1;
  width: 36%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  animation: button-shine 3.2s ease-in-out infinite;
}

.button:hover,
.button:focus-visible {
  background:
    linear-gradient(135deg, #e94f88, #a91f51),
    var(--accent-dark);
  box-shadow: 0 20px 42px rgba(217, 70, 118, 0.36);
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.join-actions {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.join-fallback {
  max-width: 430px;
  margin: 4px auto 0;
  color: var(--muted);
  font-size: 15px;
}

.copy-link {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(217, 70, 118, 0.32);
  border-radius: 999px;
  padding: 11px 18px;
  background:
    linear-gradient(135deg, rgba(255, 126, 174, 0.18), rgba(190, 40, 93, 0.12)),
    rgba(255, 255, 255, 0.72);
  color: var(--accent-dark);
  cursor: pointer;
  font: 700 15px/1 var(--font-main);
  box-shadow: 0 12px 26px rgba(217, 70, 118, 0.13);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.copy-link::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 4px;
  box-shadow: 4px -4px 0 -2px #fff, 4px -4px 0 0 currentColor;
}

.copy-link:hover,
.copy-link:focus-visible {
  background:
    linear-gradient(135deg, rgba(255, 126, 174, 0.26), rgba(190, 40, 93, 0.16)),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 32px rgba(217, 70, 118, 0.18);
  transform: translateY(-1px);
}

.copy-link:active {
  transform: translateY(0) scale(0.98);
}

.copy-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

@keyframes button-rise {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes button-shine {
  0%,
  38% {
    transform: translateX(0) skewX(-18deg);
  }
  68%,
  100% {
    transform: translateX(420%) skewX(-18deg);
  }
}

.section {
  padding: 48px 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.final-cta {
  border: 1px solid rgba(229, 231, 235, 0.92);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.section__header {
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 24px;
  text-align: center;
}

.section__header h2,
.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.06;
  letter-spacing: 0;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 0;
}

.steps-list span {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-weight: 900;
}

.steps-list p {
  margin: 0;
  font-weight: 800;
}

.final-cta {
  margin-top: 32px;
  margin-bottom: 32px;
  padding: clamp(32px, 6vw, 64px);
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(253, 231, 239, 0.92)),
    var(--surface);
}

.final-cta .eyebrow {
  margin-inline: auto;
}

.final-cta h2 {
  margin-bottom: 24px;
}

@media (max-width: 840px) {
  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  .steps-list {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 520px) {
  .hero,
  .section,
  .final-cta {
    width: min(var(--max), calc(100% - 24px));
  }

  .hero {
    padding-top: 20px;
  }

  h1 {
    font-size: clamp(40px, 11.5vw, 54px);
  }

  .button {
    width: 100%;
    white-space: normal;
  }

  .section {
    padding: 36px 0;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: clamp(36px, 11vw, 40px);
  }

  .hero__text {
    font-size: 17px;
  }

  .eyebrow {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
