/* Team Modeling — web.
   Color: rubí elegante (referente Nooré), del frambuesa al vino oscuro.
   Forma: hero luminoso con brillo rosado, tipografía fina y marco con recorte
   (referente Fintus). */
:root {
  --ruby-50: #fbf1f5;
  --ruby-100: #f6dde7;
  --ruby-200: #edb9cd;
  --ruby-300: #e08aab;
  --ruby-400: #cb5281;
  --ruby-500: #b0245a;
  --ruby-600: #9c1749;   /* principal */
  --ruby-700: #7d103a;
  --ruby-800: #5e0b2b;
  --ruby-900: #3d0619;
  --blush: #f6a8c4;
  --paper: #f8f3f5;
  --white: #ffffff;
  --ink: #1d1418;
  --muted: #6e5f66;
  --line: #ecdfe5;
  --display: "Italiana", "Didot", "Bodoni 72", serif;
  --body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --radius: 28px;
  --gutter: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer;
  font: 700 15px/1 var(--body); padding: 15px 26px; border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-ruby { background: linear-gradient(135deg, var(--ruby-500), var(--ruby-700)); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(125, 16, 58, .7); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -10px rgba(29, 20, 24, .8); }
.btn-line { border: 1.5px solid var(--ruby-600); color: var(--ruby-600); background: transparent; }
.btn-line:hover { background: var(--ruby-50); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.arrow { font-size: 13px; }

/* ---------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  background: rgba(248, 243, 245, .82); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.nav::after {   /* línea rosada que se desvanece, como en el referente */
  content: ""; position: absolute; left: 10%; right: 10%; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ruby-200), transparent);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { border-radius: 9px; }
.brand span { font-family: var(--display); font-size: 25px; letter-spacing: .01em; color: var(--ruby-800); }
.links { display: flex; gap: 30px; margin: 0 auto; font-size: 15px; }
.links a { color: var(--muted); }
.links a:hover { color: var(--ruby-600); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang {
  border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 12px;
  font: 700 12px var(--body); color: var(--ruby-700); cursor: pointer;
}

/* --------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center;
  padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(56px, 8vw, 110px);
  max-width: 1320px; margin: 0 auto;
}
.glow {
  position: absolute; inset: auto -10% -35% 20%; height: 80%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(246, 168, 196, .75), rgba(246, 168, 196, 0));
  filter: blur(10px);
}
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); font-size: 14px; color: var(--ink);
}
.pill-tag {
  background: var(--ink); color: #fff; border-radius: 999px; padding: 4px 11px; font-size: 12px; font-weight: 700;
  white-space: nowrap;
}
.pill-tag::before { content: "● "; color: var(--blush); }
h1 {
  position: relative;
  font-family: var(--display); font-weight: 400; color: var(--ink);
  font-size: clamp(54px, 7.4vw, 104px); line-height: .98; letter-spacing: -.01em;
  margin: 26px 0 22px;
}
.spark { width: 34px; height: 34px; fill: var(--ruby-400); vertical-align: middle; margin-left: 10px; }
.spark-sm { width: 18px; height: 18px; fill: var(--ruby-200); margin-left: 4px; vertical-align: top; }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); max-width: 520px; margin: 0 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.proof { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat b { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; color: var(--ruby-700); }
.stat span { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* Marco del hero: la escena sale por arriba del marco y la tarjeta "en vivo"
   se apoya en un recorte de la esquina, como en el referente. */
.hero-art { position: relative; padding-top: 40px; }
.frame {
  position: relative; border-radius: var(--radius); aspect-ratio: 1 / .92;
  background: radial-gradient(120% 90% at 20% 0%, var(--ruby-500), var(--ruby-800) 55%, var(--ruby-900));
  box-shadow: 0 40px 80px -40px rgba(61, 6, 25, .8);
}
.scene {
  position: absolute; left: 50%; top: -12%; width: 112%; max-width: none; transform: translateX(-50%);
  filter: drop-shadow(0 30px 30px rgba(61, 6, 25, .35));
}
.live {
  position: absolute; left: -26px; bottom: -26px;
  display: flex; align-items: center; gap: 14px; padding: 16px 20px;
  background: var(--ink); color: #fff; border-radius: 22px;
  box-shadow: 0 0 0 14px var(--paper), 0 30px 40px -20px rgba(29,20,24,.6);
  font-size: 13px; line-height: 1.35; max-width: 340px;
}
.live b { display: block; font-size: 15px; }
.live span { color: #d9c9d0; }
.live .dot { width: 10px; height: 10px; border-radius: 50%; background: #3ee08a; box-shadow: 0 0 0 4px rgba(62,224,138,.2); flex: none; }
.faces { display: flex; margin-left: 6px; }
.faces i {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal;
  font-weight: 800; font-size: 12px; border: 2px solid var(--ink); margin-left: -8px;
}
.faces i:first-child { background: var(--ruby-600); }
.faces i:last-child { background: #e0457f; }

/* ----------------------------------------------------------- sections */
.section { max-width: 1320px; margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--gutter); }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 800; color: var(--ruby-600); margin: 0 0 14px; }
.eyebrow-light { color: var(--blush); }
h2 {
  font-family: var(--display); font-weight: 400; font-size: clamp(38px, 4.6vw, 64px); line-height: 1.04;
  margin: 0 0 16px; color: var(--ruby-800); max-width: 820px;
}
.sub { color: var(--muted); max-width: 620px; margin: 0; font-size: 17px; }

/* ------------------------------------------------------------ plugins */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 24px;
  padding: 28px; display: flex; flex-direction: column; gap: 10px; min-height: 250px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(94, 11, 43, .45); }
.card h3 { margin: 4px 0 0; font-size: 21px; font-weight: 800; color: var(--ink); }
.card p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.num { font-family: var(--display); font-size: 46px; line-height: 1; color: var(--ruby-200); }
.free {
  position: absolute; top: 26px; right: 26px; font-size: 11px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ruby-600); background: var(--ruby-50); border-radius: 999px; padding: 5px 10px;
}
.more { font-weight: 700; color: var(--ruby-600); font-size: 14px; }
.card-star {
  grid-row: span 2; background: linear-gradient(160deg, var(--white), var(--ruby-50));
  border-color: var(--ruby-100);
}
.card-star .num { color: var(--ruby-400); }
.card-star p { flex: 0; }
.card-star .steps { margin-top: 18px; }
.card-star h3 { font-size: 26px; }
.card-star .btn { align-self: flex-start; margin-top: 10px; }
.steps { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 8px; counter-reset: s; }
.steps li { counter-increment: s; display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink); }
.steps li::before {
  content: counter(s); width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--ruby-600); color: #fff; font-size: 12px; font-weight: 800;
}

/* --------------------------------------------------------------- beta */
.band {
  position: relative; overflow: hidden; border-radius: 32px; color: #fff;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  padding: clamp(36px, 6vw, 80px);
  background: linear-gradient(110deg, var(--ruby-500), var(--ruby-700) 45%, var(--ruby-900));
}
.band::before {   /* trama de cruces finas, como el pie del referente */
  content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background-image: radial-gradient(circle, #fff 1px, transparent 1.5px);
  background-size: 28px 28px;
}
.band h2 { color: #fff; }
.band p { color: #f3dfe8; max-width: 540px; font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 30px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: #fff; }
.ticks li::before { content: "✦"; color: var(--blush); }
.band-art { position: relative; }
.mock {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 22px;
  padding: 18px; display: grid; gap: 10px; backdrop-filter: blur(6px);
}
.mock-row {
  display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.08); border-radius: 14px;
  padding: 12px 14px; font-size: 14px;
}
.mock-row em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--blush); }
.mock-row.dim { opacity: .65; }
.who { width: 30px; height: 30px; border-radius: 50%; background: var(--c); display: grid; place-items: center;
  font-weight: 800; font-size: 12px; color: var(--ruby-900); flex: none; }

/* --------------------------------------------------------------- forms */
.join, .contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
form { background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
label.wide, .join-form label { grid-column: 1 / -1; }
input, select, textarea {
  font: 400 15px var(--body); color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; outline: none; width: 100%;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--ruby-400); box-shadow: 0 0 0 4px var(--ruby-50); background: #fff; }
form .btn { grid-column: 1 / -1; justify-content: center; }
.fine { grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--muted); }
.form-msg { grid-column: 1 / -1; margin: 0; font-size: 14px; font-weight: 700; color: var(--ruby-600); min-height: 1em; }
.downloads { grid-column: 2; background: var(--white); border: 1px solid var(--ruby-100); border-radius: 26px; padding: 28px; }
.downloads h3 { margin: 0 0 12px; font-size: 20px; }
.downloads ul { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.downloads a { display: flex; justify-content: space-between; padding: 12px 16px; border-radius: 14px;
  background: var(--ruby-50); color: var(--ruby-700); font-weight: 700; }
.downloads a:hover { background: var(--ruby-100); }

/* -------------------------------------------------------------- footer */
.foot {
  margin-top: 40px; color: #ead7df; padding: 64px var(--gutter) 28px;
  background: linear-gradient(180deg, var(--ruby-900), var(--ruby-800));
  position: relative;
}
.foot::before { content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image: radial-gradient(circle, #fff 1px, transparent 1.5px); background-size: 34px 34px; }
.foot-grid { position: relative; max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot p { max-width: 360px; font-size: 14px; }
.foot h4 { margin: 4px 0 14px; color: #fff; font-size: 15px; }
.foot-grid a:not(.brand) { display: block; margin-bottom: 10px; font-size: 14px; color: #ead7df; }
.foot-grid a:not(.brand):hover { color: #fff; }
.brand-light span { color: #fff; }
.copy { position: relative; text-align: center; font-size: 13px; margin: 48px 0 0; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12); color: #cdb5c0; }

/* --------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .card-star { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 860px) {
  .links { display: none; }
  .nav-right { margin-left: auto; }
  .hero, .band, .join, .contact { grid-template-columns: 1fr; }
  .hero-art { margin: 10px 8px 30px; }
  .live { left: 8px; right: 8px; bottom: -34px; max-width: none; }
  .downloads { grid-column: 1; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  form { grid-template-columns: 1fr; padding: 20px; }
  .brand span { font-size: 21px; }
  .nav .btn { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .proof { gap: 22px; }
}

/* ------------------------------------------------------------ buscador */
.ask {
  position: relative; display: flex; align-items: center; gap: 8px; margin: 6px 0 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 48px;
  box-shadow: 0 18px 40px -26px rgba(94, 11, 43, .55); max-width: 560px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ask:focus-within { border-color: var(--ruby-300); box-shadow: 0 0 0 5px var(--ruby-50), 0 18px 40px -26px rgba(94, 11, 43, .55); }
.ask-spark { position: absolute; left: 18px; width: 18px; height: 18px; fill: var(--ruby-500); animation: twinkle 3.2s ease-in-out infinite; }
.ask input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 4px; font-size: 15px; box-shadow: none; }
.ask input:focus { box-shadow: none; background: transparent; }
.ask .btn { white-space: nowrap; }
.ask-note { margin: 0; font-size: 13px; color: var(--muted); }
.ask-note a { color: var(--ruby-600); font-weight: 700; margin-left: 6px; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.75) rotate(45deg); opacity: .7; } }

.finder { margin-top: 36px; }
.ask-big { max-width: 760px; padding: 8px 8px 8px 52px; }
.ask-big input { font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips button {
  border: 1px solid var(--line); background: var(--white); color: var(--ruby-700); border-radius: 999px;
  padding: 8px 14px; font: 600 13px var(--body); cursor: pointer; transition: background .15s ease, border-color .15s ease;
}
.chips button:hover { background: var(--ruby-50); border-color: var(--ruby-200); }

.result { margin-top: 22px; max-width: 900px; }
.searching { color: var(--muted); font-weight: 700; }
.spin { display: inline-block; color: var(--ruby-500); animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.res {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background: linear-gradient(140deg, var(--white), var(--ruby-50)); border: 1px solid var(--ruby-100);
  border-radius: 26px; padding: 26px 28px; animation: rise .45s ease both;
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.res h3 { font-family: var(--display); font-weight: 400; font-size: 36px; line-height: 1.05; margin: 8px 0 6px; color: var(--ruby-800); }
.res p { margin: 0; color: var(--muted); }
.res-for { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 10px !important; }
.res-badge { display: inline-block; font-size: 12px; font-weight: 800; color: #fff; border-radius: 999px; padding: 5px 12px;
  background: linear-gradient(135deg, var(--ruby-500), var(--ruby-700)); }
.res-actions { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.link-clear, .link-get { border: 0; background: none; padding: 0; cursor: pointer; font: 700 14px var(--body); color: var(--ruby-600); }
.link-clear { color: var(--muted); }
.link-get { text-decoration: underline; text-underline-offset: 3px; }
.res-also { margin: 12px 4px 0; font-size: 14px; color: var(--muted); }
.res-none { grid-template-columns: 1fr; }
.res-none h3 { font-size: 30px; }
.res-none .btn { justify-self: start; margin-top: 14px; }
.meter {   /* anillo con el porcentaje de coincidencia */
  --p: 0; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--ruby-600) calc(var(--p) * 1%), var(--ruby-100) 0);
  position: relative;
}
.meter::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--white); }
.meter b { position: relative; font-family: var(--display); font-weight: 400; font-size: 32px; color: var(--ruby-700); }

.card.match { border-color: var(--ruby-400); box-shadow: 0 0 0 4px var(--ruby-50), 0 24px 40px -28px rgba(94, 11, 43, .5); }
.card.faded { opacity: .55; }
.more { border: 0; background: none; padding: 0; cursor: pointer; text-align: left; font-family: var(--body); }

/* ---------------------------------------------- ventana de descarga */
dialog.get {
  width: min(460px, calc(100vw - 32px)); border: 0; border-radius: 28px; padding: 30px; color: var(--ink);
  background: linear-gradient(170deg, var(--white) 60%, var(--ruby-50));
  box-shadow: 0 40px 80px -30px rgba(61, 6, 25, .6);
}
dialog.get::backdrop { background: rgba(61, 6, 25, .45); backdrop-filter: blur(4px); }
dialog.get h3 { font-family: var(--display); font-weight: 400; font-size: 38px; line-height: 1.05; margin: 0 0 10px; color: var(--ruby-800); }
.get-text { color: var(--muted); margin: 0 0 18px; }
.get-close { position: absolute; top: 14px; right: 14px; margin: 0; padding: 0; border: 0; background: none; display: block; }
.get-close button { border: 0; background: var(--ruby-50); color: var(--ruby-700); width: 34px; height: 34px; border-radius: 50%;
  font-size: 20px; line-height: 1; cursor: pointer; }
#getForm { display: grid; gap: 12px; background: none; border: 0; padding: 0; grid-template-columns: 1fr; }
#getForm .btn { justify-content: center; }
#getDone .btn { margin: 6px 0 18px; }
.install { margin: 0 0 16px; padding-left: 20px; color: var(--ink); display: grid; gap: 6px; font-size: 14px; }
.install li::marker { color: var(--ruby-500); font-weight: 800; }
#getDone .fine a { color: var(--ruby-600); font-weight: 700; }

/* --------------------------------------------------------- beta, contacto */
.beta-form { display: flex; gap: 8px; max-width: 460px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px; padding: 6px; }
.beta-form input { background: transparent; border: 0; color: #fff; padding: 10px 14px; }
.beta-form input::placeholder { color: #e9cfda; }
.beta-form input:focus { background: transparent; box-shadow: none; }
.btn-light { background: #fff; color: var(--ruby-700); white-space: nowrap; }
.beta-msg { margin: 12px 0 0; font-weight: 700; color: #fff !important; min-height: 1em; }
.fallback { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.fallback a, .fallback button {
  border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 14px;
  font: 700 13px var(--body); color: var(--ruby-700); cursor: pointer;
}

/* tarjeta "en vivo": el texto cambia con un fundido */
.live-text { transition: opacity .35s ease, transform .35s ease; min-width: 0; }
.live-text.out { opacity: 0; transform: translateY(6px); }

@media (max-width: 560px) {
  .ask { padding-left: 44px; flex-wrap: wrap; border-radius: 24px; }
  .ask .btn { width: 100%; justify-content: center; }
  .res { grid-template-columns: 1fr; padding: 22px; }
  .meter { width: 86px; height: 86px; }
  .res h3 { font-size: 30px; }
  .beta-form { flex-direction: column; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .ask-spark, .spin { animation: none; }
  .res { animation: none; }
}
