:root {
  --red: #e3120b;
  --ink: #111111;
  --muted: #5d5a52;
  --whatsapp: #1fae55;
  --telegram: #229ed9;
  --font-heading: "Heebo", Arial, sans-serif;
  --font-main: "Rubik", Arial, sans-serif;
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-family: var(--font-main);
  line-height: 1.5;
  /* Soft brand-colored light: warm glow behind the logo, red wash in the corners */
  background:
    radial-gradient(60% 38% at 50% 16%, rgba(255, 196, 0, 0.28), transparent 70%),
    radial-gradient(45% 35% at 100% 0%, rgba(227, 18, 11, 0.14), transparent 70%),
    radial-gradient(45% 35% at 0% 100%, rgba(227, 18, 11, 0.12), transparent 70%),
    radial-gradient(40% 30% at 100% 100%, rgba(255, 196, 0, 0.14), transparent 70%),
    linear-gradient(180deg, #fffdf9 0%, #fbf7f2 100%);
  background-attachment: fixed;
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Stage: everything fits on one screen ---------- */

.stage {
  flex: 1;
  width: min(100%, 560px);
  margin: 0 auto;
  padding: clamp(10px, 2.5dvh, 28px) 16px clamp(6px, 1.5dvh, 16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.8dvh, 18px);
  text-align: center;
}

.logo {
  width: auto;
  height: clamp(110px, 23dvh, 230px);
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.08));
  animation: pop-in 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}

.pitch {
  display: grid;
  gap: clamp(4px, 0.8dvh, 8px);
}

.headline {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.35rem, 3.6dvh + 0.4vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.subline {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.92rem, 1.9dvh, 1.08rem);
  text-wrap: balance;
}

/* ---------- Campaign pill (only when a campaign is active) ---------- */

.campaign {
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff4c7;
  font-size: 0.9rem;
  line-height: 1.3;
}

.campaign[hidden] {
  display: none;
}

.campaign-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.4s ease-in-out infinite;
}

.campaign-timer {
  font-variant-numeric: tabular-nums;
}

.campaign-timer b {
  margin-inline-start: 4px;
  font-family: var(--font-heading);
  font-weight: 900;
}

/* ---------- CTA buttons ---------- */

.actions {
  width: 100%;
  display: grid;
  gap: clamp(8px, 1.4dvh, 12px);
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: clamp(52px, 7.5dvh, 62px);
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.3dvh, 1.2rem);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.button:active {
  transform: translateY(1px) scale(0.99);
}

.button:focus-visible {
  outline: 3px solid rgba(17, 17, 17, 0.35);
  outline-offset: 3px;
}

.button-whatsapp {
  background: linear-gradient(180deg, #2bd06b 0%, var(--whatsapp) 100%);
  box-shadow: 0 8px 20px -6px rgba(31, 174, 85, 0.55);
}

.button-whatsapp:hover {
  box-shadow: 0 12px 26px -6px rgba(31, 174, 85, 0.6);
}

.button-telegram {
  background: linear-gradient(180deg, #37b4ec 0%, var(--telegram) 100%);
  box-shadow: 0 8px 20px -6px rgba(34, 158, 217, 0.55);
}

.button-telegram:hover {
  box-shadow: 0 12px 26px -6px rgba(34, 158, 217, 0.6);
}

.platform-icon {
  width: 1.35em;
  height: 1.35em;
  flex: 0 0 auto;
}

/* ---------- Social proof & benefits ---------- */

.social-proof {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  font-size: clamp(0.82rem, 1.7dvh, 0.95rem);
}

.social-proof strong {
  color: var(--red);
  font-family: var(--font-heading);
  font-weight: 900;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 0 0 0 rgba(31, 174, 85, 0.5);
  animation: ping 1.8s ease-out infinite;
}

.benefits {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: clamp(5px, 1dvh, 9px);
  text-align: start;
  font-size: clamp(0.92rem, 1.95dvh, 1.05rem);
  line-height: 1.35;
}

.benefits li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.benefits strong {
  font-weight: 700;
}

.check {
  width: 1.3em;
  height: 1.3em;
  flex: 0 0 auto;
  color: var(--red);
}

.note {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: clamp(0.78rem, 1.55dvh, 0.88rem);
}

/* ---------- Recent deals (visual taste, not links) ---------- */

.recent {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: clamp(0.78rem, 1.55dvh, 0.88rem);
}

.recent[hidden] {
  display: none;
}

.deal-strip {
  display: flex;
}

.deal-thumb {
  width: 44px;
  height: 44px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.deal-thumb + .deal-thumb {
  margin-inline-start: -12px;
}

.deal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Legal footer ---------- */

.legal {
  padding: 6px 16px calc(8px + env(safe-area-inset-bottom));
  text-align: center;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.legal p {
  max-width: 620px;
  margin: 0 auto;
}

.legal a {
  color: var(--ink);
}

/* ---------- Short screens: drop the extras, keep the CTA ---------- */

@media (max-height: 740px) {
  .recent {
    display: none;
  }
}

@media (max-height: 640px) {
  .subline {
    display: none;
  }
}

@media (max-height: 560px) {
  .benefits {
    display: none;
  }

  .logo {
    height: clamp(90px, 24dvh, 160px);
  }
}

/* Wide & short screens (landscape): logo beside the content */
@media (min-width: 820px) and (max-height: 560px) {
  .stage {
    width: min(100%, 900px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
  }

  .logo {
    grid-row: 1 / span 8;
    height: auto;
    width: 100%;
  }
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: scale(0.85) rotate(-3deg);
  }
}

@keyframes ping {
  70%,
  100% {
    box-shadow: 0 0 0 7px rgba(31, 174, 85, 0);
  }
}

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

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