/* Shell marketing TrainMeUp — fuente: web/welcome.html
   Usado por web/*.html y por webapp/ (import). */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #f5faff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background: #050912;
  min-height: 100%;
}

/* —— banda 1: header —— */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  background: #070d1a;
  border-bottom: 1px solid rgba(120,170,255,0.14);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  flex: 0 0 auto;
}
.brand:hover { color: #fff; text-decoration: none; }
img.brand-mark {
  width: 56px; height: 56px; border-radius: 14px;
  object-fit: cover;
}
.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  justify-content: flex-end;
}
.top-nav a {
  color: #9fb3c8;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 6px 4px;
}
.top-nav a:hover { color: #f5faff; }
.top-nav a[aria-current="page"] { color: #7ec8ff; }

/* —— banda 2: hero 3 columnas —— */
.hero {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 420px) 1fr;
  min-height: calc(100vh - 120px);
  border-bottom: 1px solid rgba(120,170,255,0.12);
  background: #050912;
}
.hero-side {
  min-height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.hero-side.left {
  background-image: url("/hero-gym-left.jpg");
  border-right: 1px solid rgba(120,170,255,0.1);
}
.hero-side.right {
  background-image: url("/hero-gym-right.jpg");
  border-left: 1px solid rgba(120,170,255,0.1);
}
.hero-mobile-band {
  display: none;
  height: 180px;
  background: #050912 url("/hero-gym.jpg") center 35% / cover no-repeat;
  border-bottom: 1px solid rgba(120,170,255,0.12);
}

.hero-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 28px;
  background: #070d1a;
  border-left: 1px solid rgba(120,170,255,0.14);
  border-right: 1px solid rgba(120,170,255,0.14);
}
.role-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.role-tabs button {
  flex: 1;
  appearance: none;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #9fb3c8;
  font: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 8px;
  border-radius: 10px;
}
.role-tabs button[aria-selected="true"] {
  color: #f5faff;
  background: rgba(0,229,255,0.14);
  border-color: rgba(0,229,255,0.4);
}
h1 {
  margin: 0 0 6px;
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.subtitle {
  color: #9fb3c8;
  font-size: 0.95rem;
  margin: 0 0 16px;
}
.role-panel { width: 100%; }
.store-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn.store {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.07);
  color: #e8f0fa;
  box-sizing: border-box;
  font: inherit;
  cursor: pointer;
}
.btn.store:hover { background: rgba(255,255,255,0.11); color: #fff; text-decoration: none; }
.btn.store.primary {
  background: rgba(0,229,255,0.22);
  border-color: rgba(0,229,255,0.4);
  color: #f5faff;
}
.btn.store.primary:hover { background: rgba(0,229,255,0.3); }
.btn.store svg { flex: 0 0 auto; }
.integration-note {
  margin-top: 22px;
  padding: 11px 13px;
  border-radius: 10px;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.28);
  color: #c9d9ef;
  font-size: 0.86rem;
  line-height: 1.4;
  text-align: left;
}
.integration-note h2 {
  margin: 0 0 6px;
  font-size: 0.92rem;
  font-weight: 800;
  color: #f5faff;
  letter-spacing: -0.02em;
}
.integration-note p { margin: 0 0 6px; }
.integration-note p:last-of-type { margin: 0 0 10px; }
.integration-note .detail { color: #9fb3c8; font-size: 0.8rem; }
.integration-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.btn-chatgpt,
.btn-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  color: #f5faff;
  border: 1px solid transparent;
}
.btn-chatgpt {
  background: rgba(16,163,127,0.22);
  border-color: rgba(16,163,127,0.4);
}
.btn-chatgpt-soon {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}
.btn-demo {
  background: rgba(16,163,127,0.35);
  border-color: rgba(16,163,127,0.55);
}
.btn-demo:hover { background: rgba(16,163,127,0.5); }
.btn-stack { display: flex; flex-direction: column; gap: 10px; }
.legal {
  margin: 14px 0 0;
  font-size: 0.76rem;
  color: #7a8fa8;
  text-align: left;
  line-height: 1.45;
}
.legal a {
  color: #7ec8ff;
  text-decoration: none;
}
.legal a:hover { text-decoration: underline; }

code {
  font-size: 0.92em;
  background: rgba(255,255,255,0.06);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

/* —— banda 3: footer —— */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  padding: 22px 20px;
  background: #050912;
  font-size: 0.82rem;
  color: #7a8fa8;
}
.site-footer a { color: #7ec8ff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-side { display: none; }
  .hero-mobile-band { display: block; }
  .hero-center {
    border-left: 0;
    border-right: 0;
    background: #070d1a;
    padding: 28px 18px 36px;
  }
  .topbar { padding: 12px 16px; }
}
