:root { color-scheme: dark; }

html { scroll-padding-top: 6rem; }
section[id] { scroll-margin-top: 6rem; }

body { font-family: "Unbounded", sans-serif; }

.snap-container{
  scroll-snap-type: y mandatory;
  height: 100dvh;
  overflow-y: auto;
  scrollbar-width: none;
}
.snap-container::-webkit-scrollbar{ display:none; }

.snap-section{
  scroll-snap-align: start;
  scroll-snap-stop: always;
  height: 100dvh;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.text-glow{
  text-shadow: 0 0 30px #7b00d280;
}

.glass-card{
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-watermark{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:80%;
  opacity:0.03;
  pointer-events:none;
  z-index:0;
}

.card-lift{
  transition: transform 300ms ease, box-shadow 300ms ease, background 300ms ease;
}
.card-lift:hover{
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; }
  .animate-bounce{ animation:none !important; }
}
.brand-watermark__img{
  width: 100%;
  height: auto;
  display: block;

  /* Marca de agua */
  opacity: 0.035;

  /* Si el SVG viene negro (#000), esto lo vuelve blanco para fondos oscuros */
  filter: brightness(0) invert(1);

  pointer-events: none;
}

/* Mejoras generales mobile */
body { overflow-x: hidden; }

/* En pantallas táctiles/móviles: desactivar snap + evitar recortes */
@media (max-width: 1024px) {
  .snap-container{
    scroll-snap-type: none;     /* adiós snap en móvil */
    height: auto;               /* evita 100vh fijo */
    overflow-y: visible;        /* scroll normal */
  }

  .snap-section{
    height: auto;               /* ya no se corta */
    min-height: 100svh;         /* usa viewport estable móvil */
    overflow: visible;
  }
}

/* Si quieres mantener algo de snap suave en tablets */
@media (min-width: 768px) and (max-width: 1024px) {
  .snap-container{
    scroll-snap-type: y proximity;
  }
}

/* Header: transparente arriba */
.header--transparent{
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
}

/* Header: con fondo al hacer scroll */
.header--scrolled{
  background: rgba(0,0,0,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
}

/* ====== SOFT PAGE (registro estilo screenshots) ====== */
.page-soft{
  background: linear-gradient(180deg, #eaf7ef 0%, #f6f4ff 60%, #ffffff 100%);
  min-height: 100vh;
}

.soft-header{
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 72px;
  z-index: 50;
  background: rgba(234, 247, 239, 0.65);
  border-bottom: 1px solid rgba(16, 185, 129, 0.10);
  backdrop-filter: blur(10px);
}

.soft-donate-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(90deg, #23BF62 0%, #7B00D2 100%);
  box-shadow: 0 12px 25px rgba(123, 0, 210, 0.18);
}

.soft-hero{
  background: radial-gradient(circle at 15% 10%, rgba(35,191,98,0.20), transparent 55%),
              radial-gradient(circle at 85% 20%, rgba(123,0,210,0.18), transparent 55%),
              rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.75);
  box-shadow: 0 30px 80px rgba(0,0,0,0.08);
}

.soft-watermark{
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  display: flex;
  gap: 4rem;
  align-items: center;
  justify-content: center;
  transform: rotate(-8deg);
  font-weight: 900;
  font-size: clamp(70px, 10vw, 150px);
  color: rgba(16,185,129,0.22);
  mix-blend-mode: multiply;
}

.soft-watermark span:nth-child(2){ color: rgba(123,0,210,0.16); }
.soft-watermark span:nth-child(3){ color: rgba(16,185,129,0.12); }

.soft-title{
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.98;
  font-size: clamp(34px, 4.5vw, 64px);
}
.soft-title-accent{
  display: inline-block;
}

.soft-subtitle{
  color: rgba(24,24,27,0.70);
  font-weight: 600;
}

.soft-card{
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 26px 70px rgba(0,0,0,0.10);
}

.soft-label{
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: rgba(24,24,27,0.75);
  margin-bottom: 8px;
}

.soft-input-wrap{
  position: relative;
}

.soft-input-icon{
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.9;
}

.soft-input{
  width: 100%;
  height: 52px;
  border-radius: 14px;
  padding: 0 14px 0 44px;
  border: 1px solid rgba(16,185,129,0.18);
  background: rgba(255,255,255,0.92);
  font-weight: 700;
  color: #111827;
  outline: none;
}

.soft-input:focus{
  border-color: rgba(123,0,210,0.35);
  box-shadow: 0 0 0 4px rgba(123,0,210,0.12);
}

.soft-consent{
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(16,185,129,0.18);
  background: rgba(255,255,255,0.72);
  color: rgba(24,24,27,0.72);
  font-weight: 600;
  line-height: 1.55;
}
.soft-consent input{ margin-top: 2px; width: 18px; height: 18px; }

.soft-link{
  color: #23BF62;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.soft-submit{
  width: 100%;
  height: 64px;
  border-radius: 18px;
  border: 0;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  background: rgba(35,191,98,1);
  box-shadow: 0 18px 40px rgba(35,191,98,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.soft-submit:hover{ filter: brightness(0.98); }
.soft-submit span{ font-size: 22px; }

.soft-side{
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.80);
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 26px 70px rgba(0,0,0,0.08);
}

.soft-side-block + .soft-side-block{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(16,185,129,0.10);
}

.soft-side-title{
  font-weight: 900;
  font-size: 16px;
  color: rgba(24,24,27,0.85);
}

.soft-side-text{
  margin-top: 8px;
  font-weight: 600;
  color: rgba(24,24,27,0.60);
}

.soft-alert{
  padding: 12px 14px;
  border-radius: 14px;
  margin-bottom: 16px;
  font-weight: 800;
}
.soft-alert--info{ background: rgba(59,130,246,0.08); border: 1px solid rgba(59,130,246,0.18); color: rgba(30,64,175,0.95); }
.soft-alert--ok{ background: rgba(35,191,98,0.10); border: 1px solid rgba(35,191,98,0.22); color: rgba(6,95,70,0.95); }
.soft-alert--err{ background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.18); color: rgba(153,27,27,0.95); }

.soft-footer-link{
  color: rgba(24,24,27,0.55);
  font-weight: 800;
}
.soft-footer-link:hover{ color: rgba(24,24,27,0.85); }

/* Mobile: un poco menos watermark para legibilidad */
@media (max-width: 640px){
  .soft-watermark{ opacity: 0.10; transform: rotate(-6deg); }
  .soft-card{ padding: 18px; border-radius: 22px; }
  .soft-side{ border-radius: 22px; }
}

.input-soft{
  width:100%;
  height:52px;
  padding:0 14px 0 44px;
  border-radius:12px;
  border:1px solid #e5e7eb;
  background:#fff;
  font-weight:600;
  color:#18181b;
}
.input-soft:focus{
  outline:none;
  border-color:#22c55e;
  box-shadow:0 0 0 3px rgba(34,197,94,0.2);
}
.input-icon{
  position:absolute;
  left:12px;
  top:50%;
  transform:translateY(-50%);
  opacity:.6;
}

.soft-input--button{
  text-align: left;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.soft-input--button:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border-color: rgba(123,0,210,0.35);
}
