/* DEUBUENO — Coming Soon Landing
   Brand palette: white + brand red (#dc2626) + accents.
   Built without a framework. Mobile-first, with light reveal animations. */

:root {
  --red: #dc2626;
  --red-700: #b91c1c;
  --red-50: #fef2f2;
  --red-100: #fee2e2;
  --ink: #111827;
  --ink-soft: #374151;
  --ink-mute: #6b7280;
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --bg-soft: #f5f5f5;
  --line: #e5e7eb;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 24px 48px rgba(220,38,38,.18);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --container: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; max-width: 100%; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-700); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container); margin: 0 auto;
  padding: 14px 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 36px; width: auto; }
.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--red); font-weight: 700; font-size: .95rem;
}
.header-cta:hover { color: var(--red-700); }
.header-cta svg { width: 20px; height: 20px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .04em;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  cursor: pointer; line-height: 1;
}
.btn-primary {
  background: var(--red); color: #fff;
  box-shadow: var(--shadow-lg);
}
.btn-primary:hover { background: var(--red-700); transform: translateY(-2px); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--red); border-color: var(--red);
}
.btn-ghost:hover { background: var(--red); color: #fff; }
.btn-lg { padding: 18px 32px; font-size: 1rem; }
.btn-xl { padding: 20px 38px; font-size: 1.05rem; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 0 80px;
  background: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-bg .blob {
  position: absolute; border-radius: 50%; filter: blur(60px);
  opacity: .25;
  animation: blob 10s ease-in-out infinite;
  will-change: transform;
}
.hero-bg .blob.b1 { top: -40px; left: -40px; width: 320px; height: 320px; background: #fecaca; }
.hero-bg .blob.b2 { top: 0; right: -40px; width: 320px; height: 320px; background: #fca5a5; animation-delay: 2s; }
.hero-bg .blob.b3 { bottom: -40px; left: 25%; width: 320px; height: 320px; background: #f87171; opacity: .18; animation-delay: 4s; }
@media (prefers-reduced-motion: reduce) {
  .hero-bg .blob, .badge, .scroll-cue, .scroll-cue::before { animation: none; }
}
.hero-bg .dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: .35;
}
.hero-bg .gradient {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0%, var(--red-50) 50%, transparent 100%);
  opacity: .55;
}
@keyframes blob {
  0%   { transform: translate(0,0) scale(1); }
  33%  { transform: translate(30px,-50px) scale(1.1); }
  66%  { transform: translate(-20px,20px) scale(.92); }
  100% { transform: translate(0,0) scale(1); }
}

.hero-inner {
  position: relative; z-index: 2;
  text-align: center; max-width: 880px; margin: 0 auto;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red-100); color: var(--red);
  padding: 10px 20px; border-radius: 999px;
  font-weight: 800; font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase;
  animation: pulse 2.4s ease-in-out infinite;
  margin-bottom: 28px;
}
.badge svg { width: 16px; height: 16px; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .65; }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900; line-height: 1.1;
  margin: 0 0 36px; letter-spacing: -.02em;
  color: var(--ink);
}
.hero h1 .accent { color: var(--red); display: inline-block; }

.hero-logo-wrap {
  margin: 36px auto 36px; max-width: 720px;
  animation: fadeInUp 1s ease-out;
}
.hero-logo-wrap img {
  width: 100%; max-width: 720px; margin: 0 auto;
  filter: drop-shadow(0 12px 28px rgba(220,38,38,.18));
  transition: transform .4s ease;
}
.hero-logo-wrap img:hover { transform: scale(1.04); }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-tagline {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 600; color: var(--ink-soft);
  margin: 0 0 36px;
}

/* Scroll indicator */
.scroll-cue {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--red);
  border-radius: 999px; display: grid; place-items: start center;
  padding-top: 8px;
  animation: bounce 2s infinite;
}
.scroll-cue::before {
  content: ""; width: 4px; height: 10px; background: var(--red);
  border-radius: 2px;
  animation: cue 1.6s ease-in-out infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }
@keyframes cue { 0%,100%{opacity:.4;transform:translateY(0)} 50%{opacity:1;transform:translateY(4px)} }

/* ===== Section base ===== */
.section { padding: 90px 0; }
.section.bg-alt { background: linear-gradient(to bottom, #fff 0%, var(--bg-alt) 100%); }
.section.bg-soft { background: var(--bg-soft); }
.section.bg-red {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-700) 100%);
  color: #fff;
}
.section.bg-red h2,
.section.bg-red p,
.section.bg-red strong { color: #fff; }

.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900; line-height: 1.15;
  margin: 0 0 24px; letter-spacing: -.015em;
}
.section h2 .accent { color: var(--red); }

/* ===== Story section (text + image) ===== */
.story-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center; max-width: 1080px; margin: 0 auto;
}
.story-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid var(--red);
  box-shadow: var(--shadow-md);
  background: #fff;
}
.story-image img { width: 100%; display: block; }
.story-text p { font-size: 1.1rem; color: var(--ink-soft); margin: 0 0 16px; }
.story-text strong { color: var(--ink); }
.story-text .red { color: var(--red); font-weight: 800; }
.giant-mark {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900; color: var(--red);
  letter-spacing: -.02em; margin: 18px 0;
}

/* ===== Significado card ===== */
.meaning-card {
  background: #fff; border: 2px solid var(--red-100);
  border-radius: var(--radius-lg);
  padding: 48px clamp(24px, 5vw, 64px);
  max-width: 880px; margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.meaning-card p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ink-soft); margin: 0 0 18px;
}
.meaning-card p:last-child { margin-bottom: 0; }
.meaning-card .red { color: var(--red); font-weight: 800; }
.meaning-card .ink { color: var(--ink); font-weight: 800; }
.meaning-card em { font-style: italic; }

/* ===== Founder section ===== */
.founder-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 64px; align-items: center; max-width: 1080px; margin: 0 auto;
}
.founder-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid var(--red);
  box-shadow: var(--shadow-lg);
}
.founder-photo img { width: 100%; display: block; }
.founder-name {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 900; color: var(--ink);
  margin: 0 0 28px; letter-spacing: -.01em;
}
.founder-text p {
  font-size: 1.1rem; color: var(--ink-soft); margin: 0 0 16px;
}
.founder-text .punch {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 900; color: var(--red);
  margin: 28px 0 0;
}

/* ===== Manifesto (red bg) ===== */
.manifesto { text-align: center; max-width: 880px; margin: 0 auto; padding: 0 20px; }
.manifesto h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 36px; }
.manifesto p { font-size: clamp(1.1rem, 2vw, 1.3rem); margin: 0 0 16px; }
.manifesto .punch {
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  font-weight: 900; margin: 36px 0 0;
}

/* ===== Signup form ===== */
.signup { padding: 90px 0; background: var(--bg-alt); }
.signup-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.signup h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0 0 20px; color: var(--ink); font-weight: 900; }
.signup .lead { font-size: 1.15rem; color: var(--ink-soft); margin: 0 0 36px; }
.signup .lead .red { color: var(--red); font-weight: 800; }

.signup-card {
  background: #fff; border: 2px solid var(--red-100);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px);
  box-shadow: var(--shadow-md);
  text-align: left;
}
.field { margin-bottom: 20px; }
.field label {
  display: block; margin-bottom: 8px;
  font-weight: 700; color: var(--ink); font-size: 1rem;
}
.field input {
  width: 100%; padding: 14px 18px;
  border: 2px solid var(--line); border-radius: var(--radius-sm);
  font-size: 1.05rem; background: #fafafa;
  font-family: inherit; color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus {
  outline: none; border-color: var(--red); background: #fff;
  box-shadow: 0 0 0 4px rgba(220,38,38,.12);
}
.signup-card button[type="submit"] {
  width: 100%; padding: 18px 28px;
  font-size: 1.05rem; font-weight: 900;
  border-radius: var(--radius-sm);
  background: var(--red); color: #fff; border: none;
  text-transform: uppercase; letter-spacing: .04em;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform .2s, background .2s;
}
.signup-card button[type="submit"]:hover { background: var(--red-700); transform: translateY(-2px); }
.signup-card button[type="submit"]:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.signup .small {
  text-align: center; color: var(--ink-mute); font-size: .85rem;
  margin: 16px 0 0;
}

/* Toast (success message) */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(40px);
  background: var(--ink); color: #fff;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  box-shadow: var(--shadow-lg);
  opacity: 0; transition: all .3s ease;
  z-index: 100; pointer-events: none;
  max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { background: #16a34a; }
.toast.error { background: var(--red); }

/* ===== Footer ===== */
.site-footer {
  padding: 56px 0 36px;
  text-align: center;
  border-top: 1px solid var(--line);
  background: #fff;
}
.site-footer img.logo { height: 56px; margin: 0 auto 20px; }
.site-footer p { color: var(--ink-mute); margin: 0 0 12px; font-size: .95rem; }
.site-footer .strong { color: var(--ink-soft); font-weight: 700; margin-bottom: 18px; }
.social-row {
  display: flex; justify-content: center; gap: 16px;
  margin: 24px 0;
}
.social-row a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px;
  border: 2px solid var(--red); color: var(--red);
  transition: all .2s;
}
.social-row a:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.social-row svg { width: 20px; height: 20px; }
.lang-switcher {
  display: inline-flex; gap: 8px;
  margin: 16px 0 8px;
}
.lang-switcher a {
  padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink-mute); font-size: .8rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}
.lang-switcher a.active, .lang-switcher a:hover {
  background: var(--red); color: #fff; border-color: var(--red);
}
.copyright { color: var(--ink-mute); font-size: .85rem; margin-top: 20px; }

/* ===== WhatsApp floating button ===== */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px;
  background: #25D366; border-radius: 999px;
  display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(37,211,102,.4);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .story-grid, .founder-grid { grid-template-columns: 1fr; gap: 36px; }
  .story-image, .founder-photo { order: -1; max-width: 480px; margin: 0 auto; }
  .section { padding: 64px 0; }
  .hero { padding: 96px 0 64px; min-height: 90vh; }
  .hero-logo-wrap { margin: 28px auto; }
  .signup { padding: 64px 0; }
  .scroll-cue { display: none; }
}
@media (max-width: 540px) {
  body { font-size: 16px; }
  .hero h1 br { display: none; }
  .container { padding: 0 16px; }
  .meaning-card { padding: 28px 22px; }
  .signup-card { padding: 24px 20px; }
}
