/* Variables */
:root {
  --green-1: #6ac7b7;
  --green-2: #6ac7b7;
  --accent-1: #8B5CF6;
  --accent-2: #6D28D9;
  --gold: #FFD700;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.08);
  --max-w: 1200px;
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html,
body {
  height: 100%
}

body {
  font-family: "Quicksand", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(180deg, var(--green-1), var(--green-2));
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header */
.header {
  padding: 14px 20px 0 20px
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.logo {
  height: 40px;
  display: block;
  margin: 0 auto
}

/* HERO - mobile-first stacked like the provided image */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  text-align: center;
}

/* live pill */
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: #111;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  margin: 0 auto 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff4444;
  display: inline-block
}

/* color for the live text */
.live-text {
  color: #c71c1c
}

/* Callout above the live pill */
.callout {
  display: inline-block;
  color: var(--white);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  margin: 10px auto 8px;
  text-transform: none;
}

@media(min-width:1024px) {

  /* keep callout centered and slightly left-aligned with header on desktop */
  .callout {
    display: inline-block;
    margin-left: 0;
    text-align: center
  }
}

/* hero media - image with caption */
.hero-media {
  position: relative;
  max-width: 600px;
  margin: 0;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35)
}

.hero-caption {
  position: absolute;
  left: 16px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 20px;
}

/* Headline / copy */
.hero-copy {
  padding: 6px 8px
}

.hero-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  font-size: 32px;
  line-height: 1.02;
  margin-bottom: 10px;
  text-transform: uppercase
}

.hero-title .accent {
  color: var(--gold);
  display: block
}

.hero-title .hero-line-1,
.hero-title .hero-line-2,
.hero-title .hero-line-3 {
  display: block;
  color: var(--white)
}

.hero-line-1{
  font-size: 20px;
}

.hero-sub {
  font-size: 14px;
  opacity: 0.95;
  margin-bottom: 14px
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 14px 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(109, 40, 217, 0.2);
  display: inline-block;
  text-transform: uppercase;
}

/* Modal basic */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6)
}

.modal[aria-hidden="false"] {
  display: flex
}

.modal-box{
  background:#fff;
  padding:26px 22px;
  border-radius:14px;
  max-width:480px;
  width:92%;
  color:#111;
  position:relative;
  box-shadow:0 30px 80px rgba(3,10,34,0.45);
}

/* Ensure modal fits on small viewports and stays centered */
.modal-box{max-height:calc(100vh - 48px);overflow:auto}

/* When modal is open prevent body scroll */
.modal-open{overflow:hidden;height:100%}

.modal-close{
  position:absolute;right:14px;top:12px;background:#f3f4f6;border:none;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#111;font-size:20px;cursor:pointer;box-shadow:0 6px 18px rgba(3,10,34,0.12)
}

.modal-form{display:flex;gap:12px;flex-direction:column;margin-top:8px}

.modal-form input{padding:14px;border-radius:10px;border:1px solid #e6e6e9;background:#fff;color:#111;font-size:15px}

.modal-form .submit{background:linear-gradient(90deg,var(--accent-1),var(--accent-2));color:#fff;border:none;border-radius:10px;padding:12px 14px;font-weight:900;cursor:pointer;text-transform:uppercase;box-shadow:0 12px 36px rgba(109,40,217,0.18)}

.modal-box h2{margin:0 0 8px 0;font-family:'Raleway',sans-serif;font-weight:900;color:#0b1733}

.modal-form input:focus{outline:none;box-shadow:0 6px 18px rgba(109,40,217,0.08)}

/* Responsive desktop layout: headline left, image large right, bonus overlaps image */
@media(min-width:1024px) {
  .hero {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px
  }

  .hero-media {
    flex: 0 0 48%;
    max-width: 640px;
    margin: 0
  }

  .hero-copy {
    flex: 0 0 52%;
    text-align: left;
    padding-left: 8px
  }

  .hero-title {
    font-size: 56px
  }

  .hero-caption {
    left: 24px;
    bottom: 24px;
    font-size: 22px;
    border-radius: 10px;
    padding: 12px 18px
  }

  /* move bonus badge to overlay image top-right */
  .bonus-badge {
    position: absolute;
    right: 6%;
    top: 10%;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    font-size: 20px
  }

  .bonus-number {
    font-size: 48px
  }

  .bonus-text {
    font-size: 14px
  }

  .live-pill {
    position: absolute;
    left: 6%;
    top: 8%;
    background: #fff;
    color: #111
  }
}

/* small tweaks for tablet */
@media(min-width:768px) and (max-width:1023px) {
  .hero-title {
    font-size: 40px
  }

  .hero-image {
    border-radius: 12px
  }

  .bonus-badge {
    width: 100px;
    height: 100px
  }
}

/* accessibility and small UI */
a,
button {
  font-family: inherit
}

/* Countdown section styles - responsive and color-accurate */
/* White band like in the reference image */
.countdown-section {
  padding: 18px 12px;
  background: var(--white);
}

.countdown-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
  padding: 18px 12px
}

.countdown-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px
}

/* red used in the image */
.countdown-header .warning {
  font-size: 20px;
  color: #ff3b30
}

.countdown-title {
  color: #ff3b30;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px
}

.countdown-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap
}

/* each segment reserves space for the big number; label is positioned absolutely below
  so the separator (:) can be centered relative to the number only */
.countdown-timer .segment {
  display: block;
  min-width: 56px;
  position: relative;
  padding-bottom: 26px
}

.countdown-timer .segment .number {
  display: block;
  text-align: center
}

/* dark navy for numbers to match image */
.countdown-timer .number {
  font-size: clamp(40px, 8vw, 96px);
  font-weight: 900;
  line-height: 1;
  color: #0b1733
}

.countdown-timer .label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  font-size: 11px;
  letter-spacing: 2px;
  color: #6b6b7a
}

.countdown-timer .sep {
  font-size: clamp(40px, 8vw, 96px);
  font-weight: 900;
  color: #0b1733;
  opacity: 0.95;
  display: flex;
  align-items: center;
  align-self: center
}

/* tighter spacing on very small screens */
@media(max-width:420px) {
  .countdown-inner {
    padding: 12px 8px
  }

  .countdown-timer {
    gap: 8px
  }

  .countdown-timer .segment {
    min-width: 48px
  }

  .countdown-timer .number {
    font-size: clamp(32px, 12vw, 72px)
  }

  .countdown-timer .sep {
    font-size: clamp(32px, 12vw, 72px)
  }
}

@media(min-width:768px) {
  .countdown-section {
    padding: 28px 12px
  }

  .countdown-timer .number {
    font-size: clamp(64px, 6vw, 96px)
  }

  .countdown-timer .sep {
    font-size: clamp(64px, 6vw, 96px)
  }
}

@media(min-width:1024px) {

  /* reduced sizes for desktop to avoid dominating the layout */
  .countdown-section {
    padding: 32px 16px
  }

  .countdown-inner {
    padding: 20px 12px
  }

  .countdown-timer .number {
    font-size: 64px
  }

  .countdown-timer .sep {
    font-size: 64px
  }
}

.social-proof {
  margin: 50px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: var(--max-w);
  padding: 0 16px;
}

/* avatars como imágenes redondas y solapadas */
.avatars {
  display: flex;
  align-items: center;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 3px solid #1a1a1a;
  margin-left: -12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  background-color: #ddd;
  /* fallback */
  display: inline-block;
}

.avatars .avatar:first-child {
  margin-left: 0;
}

.avatar-more {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #E3b768;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  border: 3px solid #1a1a1a;
  margin-left: -12px;
}

.social-text {
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  color: black;
}

.social-text strong {
  color: black;
  font-weight: 700;
  transition: transform 0.35s cubic-bezier(.68,-0.55,.27,1.55), color 0.2s;
}

/* Efecto de incremento animado para el contador */
#counter.animate {
  color: #8B5CF6;
  transform: scale(1.32) rotate(-3deg);
  text-shadow: 0 2px 16px #8B5CF644;
  z-index: 2;
}


/* Biography section */
.bio-section{
  padding:24px 16px 40px;
  /* white band with a very subtle gradient */
  background: linear-gradient(180deg,#ffffff,#f7f7f8);
  color: #111;
}
.bio-inner{
  max-width:var(--max-w);
  margin:0 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
  text-align:center;
}
.bio-image{
  width:100%;
  height:auto;
  border-radius:10px;
  object-fit:cover;
  box-shadow:0 12px 30px rgba(0,0,0,0.25);
  display:block;
  margin:0 auto;
}
.bio-name{
  font-family:'Raleway',sans-serif;
  font-weight:900;
  font-size:24px;
  margin:0 0 6px 0;
  color:#111;
  text-transform:uppercase;
}
.bio-desc{
  color:#111;
  max-width:760px;
  margin:0;
  line-height:1.4;
  text-transform:uppercase;
}

/* Promotional CTA (replica de la imagen) */
.promo-cta{background:#0b1733;padding:30px 20px}
.promo-inner{max-width:var(--max-w);margin:0 auto;text-align:center}
.promo-title{font-family:'Raleway',sans-serif;color:#ffffff;font-weight:900;font-size:40px;line-height:1.02;margin:0 0 20px;text-transform:none}
.promo-button{display:inline-block;background:linear-gradient(90deg,var(--accent-1),var(--accent-2));color:#fff;border-radius:14px;padding:28px 36px;font-weight:900;text-decoration:none;font-family:'Raleway',sans-serif;font-size:22px;box-shadow:0 18px 40px rgba(109,40,217,0.28);text-transform:uppercase}
.promo-button .promo-sub{display:block;font-weight:700;font-size:14px;opacity:0.95}
.promo-date{color:rgba(255,255,255,0.85);margin-top:14px;font-size:14px}

@media(min-width:768px){
  .promo-title{font-size:56px}
  .promo-button{padding:36px 60px;font-size:28px;border-radius:16px}
  .promo-cta{padding:30px 15px}
}

@media(min-width:1024px){
  .promo-title{font-size:64px}
  .promo-button{padding:40px 80px;font-size:30px}
}

@media(min-width:768px){
  /* Keep bio stacked (text first, image below) on all viewports per request */
  .bio-inner{flex-direction:column;align-items:center;text-align:center;gap:24px}
  .bio-image{max-width:220px;border-radius:12px}
  .bio-name{font-size:32px}
  .bio-desc{font-size:14px}
}

/* Footer styles (moved here to avoid breaking file structure) */
.footer-note{font-size:13px;color:rgba(255,255,255,0.85);margin-top:6px}
.site-footer{padding:18px 12px;text-align:center;color:rgba(255,255,255,0.95)}
.site-footer .footer-inner{max-width:var(--max-w);margin:0 auto}

/* footer heart icon styling */
.footer-heart{display:inline-block;width:16px;height:16px;vertical-align:middle;margin:0 6px}