:root {
  --bg: #FFFFFF;
  --bg-soft: #F8F9FA;
  --ink: #111111;
  --ink-2: #4A4A4A;
  --ink-3: #666666;
  --line: #E5E5E5;
  --line-2: #DCDCDC;
  --font-display: "Space Grotesk", "Montserrat", sans-serif;
  --font-body: "Inter", "Space Grotesk", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

.btn, .nav-toggle, .wa-bar, .wa-float { touch-action: manipulation; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1060px; /* Reduced from 1200px */
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Background geometry ---------- */
.bg-geo {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.geo-lines {
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 22px;
}
.eyebrow.center { justify-content: center; text-align: center; }
.eyebrow.light { color: #9a9a9a; }
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  flex: 0 0 auto;
}
.eyebrow.center .dot { display: none; }

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem); /* Scaled down */
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-title.center { text-align: center; }
.section-title.light { color: #FFFFFF; }
.section-sub {
  color: var(--ink-2);
  font-size: 15px;
  max-width: 640px;
}
.section-sub.center { margin: 0 auto 56px; text-align: center; }
.section-sub.light { color: #b5b5b5; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  transition: all 0.3s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
  padding: 0 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.28em;
  font-size: 13px;
}

.nav {
  display: flex;
  gap: 4px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: 8px 16px;
  border-radius: 100px;
  transition: all 0.25s ease;
}
.nav a:hover { 
  color: var(--ink); 
  background: rgba(0, 0, 0, 0.04);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.auth-login {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s ease;
}
.auth-login:hover {
  color: var(--ink);
}
.auth-register {
  padding: 8px 20px;
  font-size: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 1.6px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 44% 56%;
  align-items: center;
  gap: 40px;
  min-height: 80vh;
  padding-top: 110px;
  padding-bottom: 40px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4.4vw, 3.6rem); /* Scaled down */
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 24px;
  position: relative;
}
.strike {
  position: relative;
  display: inline-block;
}
.strike-line {
  position: absolute;
  left: -4%;
  bottom: 6%;
  width: 108%;
  height: 0.5em;
  color: var(--ink);
  opacity: 0.85;
  pointer-events: none;
}
.hero-title-sub {
  font-size: 0.72em;
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: 0.06em;
}

.hero-text {
  color: var(--ink-2);
  font-size: 16px;
  max-width: 480px;
  margin-bottom: 34px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 24px; /* Smaller button */
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: #FFFFFF;
}
.btn-primary:hover { background: #2a2a2a; transform: translateY(-2px); }
.btn-ghost {
  border-color: var(--line-2);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-light {
  background: #FFFFFF;
  color: var(--ink);
}
.btn-light:hover { transform: translateY(-2px); }
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  background: transparent;
}
.btn-outline-light:hover { border-color: #FFFFFF; }

/* Hero visual */
.hero-visual {
  position: relative;
}
.visual-stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-img {
  position: relative;
  z-index: 1;
  width: min(300px, 92%);
  height: auto;
  max-height: 80vh;
  object-fit: cover;
  border-radius: 36px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.15), 0 0 0 8px #111;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- Selector (frictionless) ---------- */
.selector {
  padding: 80px 0 90px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.selector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.opt-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 30px 26px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
  overflow: hidden;
}
.opt-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.opt-card:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  background: #FFFFFF;
}
.opt-card:hover::after { transform: scaleX(1); }
.opt-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
}
.opt-icon {
  width: 44px;
  height: 44px;
  color: var(--ink);
  margin-bottom: 4px;
}
.opt-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}
.opt-free {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 4px;
}
.opt-text {
  font-size: 13px;
  color: var(--ink-2);
  flex: 1;
}
.opt-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 6px;
  transition: gap 0.25s ease;
}
.opt-card:hover .opt-go { gap: 12px; }
.selector-more {
  margin-top: 34px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-2);
}
.selector-more a {
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.selector-more a:hover { color: var(--ink-3); border-color: var(--ink-3); }

/* ---------- Spotlight (personalización) ---------- */
.spotlight {
  padding: 0 0 80px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.spotlight-box {
  background: var(--ink);
  color: #FFFFFF;
  border-radius: 16px;
  padding: 72px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.spotlight-box::before {
  content: "";
  position: absolute;
  left: -120px;
  top: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.spotlight-box::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.spotlight-copy { position: relative; z-index: 1; }
.spotlight-box .section-sub { max-width: 720px; }
.spotlight-box .section-sub.center { margin-bottom: 40px; }
.spotlight-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Features ---------- */
.features {
  padding: 80px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 10px;
}
.feature {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  transition: border-color 0.25s ease;
}
.feature:hover { border-color: var(--ink-2); }
.feature-num {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  display: block;
  margin-bottom: 16px;
}
.feature h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.feature p {
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.feature ul li {
  font-size: 12.5px;
  color: var(--ink-2);
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}
.feature ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--ink-3);
}

/* ---------- How it works ---------- */
.how {
  padding: 80px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 10px;
}
.how-step {
  padding: 40px 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  position: relative;
}
.step-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2.6rem;
  color: var(--line-2);
  display: block;
  margin-bottom: 18px;
  line-height: 1;
}
.how-step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.how-step p { font-size: 13.5px; color: var(--ink-2); }

/* ---------- Final CTA ---------- */
.cta-final {
  background: var(--ink);
  color: #FFFFFF;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.cta-final::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.cta-final .container { position: relative; z-index: 1; }
.cta-final-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 38px;
}

/* ---------- Footer ---------- */
.footer {
  background: #0c0c0c;
  color: #cfcfcf;
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer-brand .brand-name { color: #FFFFFF; }
.footer-brand p {
  font-size: 13px;
  color: #9a9a9a;
  margin-top: 16px;
  max-width: 300px;
}
.footer-dev {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: #9a9a9a;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: #FFFFFF; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 24px;
  font-size: 12px;
  color: #7a7a7a;
  text-align: center;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #111111;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  transition: transform 0.25s ease;
}
.wa-float:hover { transform: translateY(-4px); }
.wa-float::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.35);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ---------- WhatsApp bottom bar (mobile) ---------- */
.wa-bar {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav { gap: 18px; }
  .nav a { font-size: 12px; }
  .selector-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; padding-top: 110px; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; }
  .hero-title { font-size: clamp(2.2rem, 8vw, 3.4rem); }
}

@media (max-width: 760px) {
  .header {
    top: 0;
    width: 100%;
    max-width: none;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.95);
  }
  .header-inner { height: 64px; }
  .nav-toggle { display: flex; }
  .brand-logo { width: 34px; height: 34px; }
  .brand-name { letter-spacing: 0.18em; font-size: 12px; }
  .auth-login { display: none; }
  .auth-register { padding: 6px 12px; font-size: 10px; min-height: 32px; width: auto; margin-right: 4px; }

  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    transform: none;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .nav.open { max-height: 340px; }
  .nav a { padding: 14px 0; border-bottom: 1px solid #f1f1f1; }
  .nav a:last-child { border-bottom: none; }

  .hero { padding-top: 92px; padding-bottom: 44px; gap: 34px; }
  .hero-title { font-size: clamp(2rem, 9.5vw, 3rem); }
  .hero-text { font-size: 15px; margin-bottom: 28px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 36px; }
  .btn { width: 100%; min-height: 52px; }
  .hero-visual { text-align: center; }
  .hero-img { width: min(260px, 90%); }

  .selector, .features, .how { padding: 64px 0; }
  .spotlight { padding: 0 0 64px; }
  .spotlight-box { padding: 48px 22px; border-radius: 12px; }
  .spotlight-actions { flex-direction: column; align-items: stretch; }
  .selector-grid { grid-template-columns: 1fr; gap: 14px; }
  .opt-card { padding: 26px 22px; }
  .features-grid, .how-grid { grid-template-columns: 1fr; gap: 14px; }
  .section-sub.center { margin-bottom: 40px; }
  .selector-more { margin-top: 28px; }

  .cta-final { padding: 72px 0 96px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer { padding-bottom: 64px; }

  .wa-float { display: none; }

  .wa-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    background: #111111;
    color: #FFFFFF;
    padding: 13px 20px calc(13px + env(safe-area-inset-bottom));
    border-top: 1px solid #2a2a2a;
  }
  .wa-bar-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
  }
  .wa-bar-label {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .wa-bar-note {
    font-size: 10.5px;
    letter-spacing: 0.08em;
    color: #a5a5a5;
  }
}
