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

:root {
  --sun: #f5a623;
  --coral: #f07a5a;
  --rose: #e8567a;
  --cream: #fff8f0;
  --warm: #fff1e0;
  --bark: #3d1c0b;
  --leaf: #4a7c59;
  --sky: #5b9ec9;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", sans-serif;
  background: var(--cream);
  color: var(--bark);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(255, 248, 240, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1.5px solid rgba(245, 166, 35, 0.2);
}
.logo {
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--coral);
  letter-spacing: -0.5px;
}
.logo span {
  color: var(--sun);
}
nav a {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bark);
  text-decoration: none;
  background: var(--sun);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  transition:
    background 0.2s,
    transform 0.15s;
}
nav a:hover {
  background: var(--coral);
  color: #fff;
  transform: scale(1.04);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

/* Decorative blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
}
.blob-1 {
  width: 420px;
  height: 420px;
  background: var(--sun);
  top: -80px;
  left: -100px;
  animation: drift 8s ease-in-out infinite alternate;
}
.blob-2 {
  width: 340px;
  height: 340px;
  background: var(--coral);
  bottom: 0;
  right: -80px;
  animation: drift 10s ease-in-out infinite alternate-reverse;
}
.blob-3 {
  width: 260px;
  height: 260px;
  background: var(--rose);
  top: 40%;
  left: 60%;
  animation: drift 12s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(30px, 20px) scale(1.08);
  }
}

/* Floating icons */
.floaters {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.floaters span {
  position: absolute;
  font-size: 1.8rem;
  animation: float linear infinite;
  opacity: 0;
}
@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-110vh) rotate(360deg);
    opacity: 0;
  }
}

.badge {
  display: inline-block;
  background: rgba(245, 166, 35, 0.18);
  border: 1.5px solid var(--sun);
  color: #8a5200;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.7s ease both;
}

h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s 0.1s ease both;
}
h1 em {
  font-style: italic;
  color: var(--coral);
}
h1 .underlined {
  position: relative;
  display: inline-block;
  color: var(--sun);
}
h1 .underlined::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--rose);
  border-radius: 3px;
  transform: skewX(-3deg);
}

.hero-sub {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 600;
  color: #6b3a22;
  max-width: 580px;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.2s ease both;
}

/* ── FORM ── */
.waitlist-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  width: 100%;
  border-radius: 100px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(240, 122, 90, 0.25);
  animation: fadeUp 0.8s 0.3s ease both;
  border: 2px solid var(--coral);
}
.waitlist-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 1rem 1.5rem;
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #fff;
  color: var(--bark);
}
.waitlist-form input::placeholder {
  color: #bba090;
  font-weight: 600;
}
.waitlist-form button {
  background: var(--coral);
  color: #fff;
  border: none;
  padding: 1rem 1.75rem;
  font-family: "Nunito", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
  white-space: nowrap;
}
.waitlist-form button:hover {
  background: var(--rose);
}
.waitlist-form button:active {
  transform: scale(0.97);
}

.success-msg {
  display: none;
  align-items: center;
  gap: 0.6rem;
  background: rgba(74, 124, 89, 0.12);
  border: 1.5px solid var(--leaf);
  color: var(--leaf);
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: 100px;
  font-size: 0.95rem;
  animation: pop 0.4s ease;
}
@keyframes pop {
  0% {
    transform: scale(0.85);
    opacity: 0;
  }
  60% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.counter {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #a06040;
  animation: fadeUp 0.8s 0.4s ease both;
}
.counter strong {
  color: var(--coral);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── FEATURES ── */
.features {
  background: var(--warm);
  padding: 6rem 1.5rem;
}
.section-title {
  font-family: "Fraunces", serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-align: center;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  letter-spacing: -1px;
}
.section-sub {
  text-align: center;
  color: #7a4020;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 3.5rem;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.card {
  background: #fff;
  border-radius: 24px;
  padding: 2rem 1.75rem;
  border: 2px solid rgba(245, 166, 35, 0.2);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(240, 122, 90, 0.15);
}
.card-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  display: block;
}
.card h3 {
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--bark);
}
.card p {
  font-size: 0.95rem;
  color: #7a4020;
  line-height: 1.6;
  font-weight: 600;
}

/* ── HOW ── */
.how {
  padding: 6rem 1.5rem;
  text-align: center;
}
.steps {
  display: flex;
  gap: 2rem;
  max-width: 850px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.step {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  position: relative;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sun);
  color: #fff;
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.step h4 {
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.step p {
  font-size: 0.9rem;
  color: #7a4020;
  font-weight: 600;
  line-height: 1.5;
}

/* connector */
.step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 1rem;
  right: -1.2rem;
  font-size: 1.5rem;
  color: var(--sun);
  display: none;
}
@media (min-width: 700px) {
  .step:not(:last-child)::after {
    display: block;
  }
}

/* ── CTA BOTTOM ── */
.cta-bottom {
  padding: 7rem 1.5rem;
  text-align: center;
  background: var(--bark);
  position: relative;
  overflow: hidden;
}
.cta-bottom::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 30% 50%,
      rgba(245, 166, 35, 0.15),
      transparent 60%
    ),
    radial-gradient(
      ellipse at 70% 50%,
      rgba(240, 122, 90, 0.12),
      transparent 60%
    );
  pointer-events: none;
}
.cta-bottom .section-title {
  color: #fff;
}
.cta-bottom .section-sub {
  color: #d4a070;
}
.cta-bottom .waitlist-form {
  margin: 0 auto;
}
.cta-bottom .counter {
  color: #d4a070;
}
.cta-bottom .counter strong {
  color: var(--sun);
}

/* ── FOOTER ── */
footer {
  background: #2a1005;
  color: #9a6a40;
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
}
footer a {
  color: var(--sun);
  text-decoration: none;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── CARRUSEL ── */

.funciones-carousel {
  padding: 5rem 1.5rem;
  background: var(--cream);
}

.carousel-wrap {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  overflow: hidden; 
  border-radius: 24px;
  padding: 0 30px;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-slide {
  min-width: 100%;
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  border: 2px solid rgba(245, 166, 35, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  flex-shrink: 0;
}
.slide-icon {
  font-size: 3.5rem;
  line-height: 1;
}
.slide-content h3 {
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bark);
  margin-bottom: 0.5rem;
}
.slide-content p {
  font-size: 1rem;
  color: var(--bark3);
  line-height: 1.7;
  max-width: 460px;
  margin: 0 auto;
}
.slide-badge {
  display: inline-block;
  background: rgba(245, 166, 35, 0.12);
  color: #8a5200;
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 800;
  margin-top: 0.5rem;
}
.slide-badge-special {
  background: rgba(232, 86, 122, 0.1);
  color: var(--rose);
  border-color: rgba(232, 86, 122, 0.3);
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 2px solid rgba(245, 166, 35, 0.25);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--coral);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.2s;
  z-index: 10;
}
.carousel-btn:hover {
  background: var(--warm);
  border-color: var(--sun);
}
.carousel-prev {
  left: 0;
}
.carousel-next {
  right: 0;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}
.carousel-dot.active {
  background: var(--coral);
  transform: scale(1.2);
}

/* ── KO-FI ── */
.kofi-section {
  background: var(--warm);
  padding: 5rem 1.5rem;
  text-align: center;
}
.kofi-inner {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: 3rem 2rem;
  border: 2px solid rgba(245, 166, 35, 0.2);
  box-shadow: 0 8px 40px rgba(240, 122, 90, 0.1);
}
.kofi-emoji {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.kofi-title {
  font-family: "Fraunces", serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--bark);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}
.kofi-sub {
  font-size: 1rem;
  color: var(--bark3);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}
.kofi-btn {
  display: inline-block;
  background: linear-gradient(135deg, #ff5e5b, #ff8c42);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 100px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(255, 94, 91, 0.3);
  margin-bottom: 1rem;
  display: inline-block;
}
.kofi-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 94, 91, 0.4);
}
.kofi-hint {
  font-size: 0.82rem;
  color: var(--bark3);
  margin-top: 0.75rem;
}

@media (max-width: 600px) {
  .carousel-prev {
    left: -14px;
  }
  .carousel-next {
    right: -14px;
  }
  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
}