:root {
  --bg: #07111d;
  --bg-deep: #050c15;
  --surface: #0d1c2d;
  --surface-alt: #102238;
  --surface-light: #132942;
  --line: rgba(184, 206, 232, 0.12);
  --line-strong: rgba(184, 206, 232, 0.2);
  --text: #f5f8fc;
  --muted: #9eb0c4;
  --muted-light: #c5d0dd;
  --blue: #4f88f5;
  --blue-dark: #2f6ddb;
  --green: #36c58c;
  --container: 1100px;
  --radius-xl: 20px;
  --radius-lg: 15px;
  --radius-md: 11px;
  --shadow: 0 22px 58px rgba(0, 0, 0, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 5%, rgba(79, 136, 245, 0.1), transparent 22rem),
    radial-gradient(circle at 88% 16%, rgba(54, 197, 140, 0.045), transparent 19rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

body.modal-open {
  overflow: hidden;
}

section[id] {
  scroll-margin-top: 76px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 17, 29, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 60px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.brand-name {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.brand-name small {
  color: var(--muted);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.nav-link {
  position: relative;
  padding: 21px 0 18px;
  color: var(--muted-light);
  font-size: 0.82rem;
  font-weight: 700;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transform: translateX(-50%);
  transition: width 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link.active::after {
  width: 100%;
}

.header-action {
  justify-self: end;
  padding: 8px 13px;
  color: var(--muted-light);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 0.76rem;
  font-weight: 750;
}

.menu-button {
  display: none;
  justify-self: end;
  width: 40px;
  height: 38px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.menu-button span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--text);
  border-radius: 3px;
}

.mobile-nav {
  display: none;
}

.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 9px 15px;
  font-size: 0.82rem;
  font-weight: 800;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 10px 22px rgba(47, 109, 219, 0.2);
}

.button-quiet {
  color: var(--muted-light);
  background: rgba(255, 255, 255, 0.025);
  border-color: var(--line);
}

.hero {
  padding: 48px 0 42px;
}

.hero-grid {
  min-height: 405px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 58px;
}

.live-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  color: #b7c7da;
  font-size: 0.73rem;
  font-weight: 750;
}

.live-label .live-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(54, 197, 140, 0.09);
}

.live-label .live-label-text {
  width: auto;
  height: auto;
  min-width: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  white-space: nowrap;
}

.hero h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(2.65rem, 4.3vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero-copy > p {
  max-width: 545px;
  margin: 18px 0 22px;
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
  color: #afbdcc;
  font-size: 0.73rem;
}

.hero-meta span {
  position: relative;
  padding-left: 14px;
}

.hero-meta span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.53em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.product-window {
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 45%), var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.window-bar {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  color: var(--muted);
  background: rgba(3, 10, 18, 0.45);
  border-bottom: 1px solid var(--line);
  font-size: 0.66rem;
  font-weight: 700;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #425e7d;
}

.window-body {
  min-height: 300px;
  display: grid;
  grid-template-columns: 74px 1fr;
}

.window-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  padding: 18px 10px;
  background: rgba(4, 12, 21, 0.36);
  border-right: 1px solid var(--line);
}

.side-line {
  width: 42px;
  height: 7px;
  border-radius: 999px;
  background: #28415d;
}

.side-line.active {
  background: #5e91ef;
}

.side-line.short {
  width: 29px;
}

.window-content {
  padding: 22px;
}

.window-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.window-heading small {
  color: var(--muted);
  font-size: 0.68rem;
}

.window-heading h2 {
  margin: 3px 0 0;
  font-size: 1.3rem;
  letter-spacing: -0.025em;
}

.status-pill {
  padding: 5px 9px;
  color: #b7f2d5;
  background: rgba(54, 197, 140, 0.1);
  border: 1px solid rgba(54, 197, 140, 0.2);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
}

.product-summary {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 10px;
  margin-top: 18px;
}

.summary-primary,
.summary-status {
  min-height: 78px;
  padding: 13px;
  background: rgba(4, 12, 21, 0.45);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.summary-primary {
  display: flex;
  align-items: center;
  gap: 12px;
}

.summary-primary strong,
.summary-primary span,
.summary-status small,
.summary-status strong {
  display: block;
}

.summary-primary strong {
  font-size: 0.83rem;
}

.summary-primary span,
.summary-status small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.67rem;
}

.summary-status {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.summary-status strong {
  margin-top: 4px;
  color: var(--green);
  font-size: 0.82rem;
}

.mini-dashboard {
  min-height: 117px;
  margin-top: 11px;
  padding: 12px 14px 14px;
  background:
    linear-gradient(180deg, rgba(79, 136, 245, 0.055), transparent),
    rgba(4, 12, 21, 0.4);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.dashboard-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.62rem;
}

.dashboard-bars {
  height: 76px;
  display: flex;
  align-items: end;
  gap: 9px;
  padding-top: 12px;
}

.dashboard-bars i {
  flex: 1;
  min-width: 10px;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #6da1ff, #326fdb);
}

.metrics {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.01);
}

.metrics-grid {
  min-height: 78px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metrics article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px 20px;
  border-right: 1px solid var(--line);
}

.metrics article:first-child {
  border-left: 1px solid var(--line);
}

.metrics strong {
  font-size: 0.95rem;
}

.metrics span {
  color: var(--muted);
  font-size: 0.68rem;
}

.section {
  padding: 56px 0;
}

.section-soft {
  background: rgba(255, 255, 255, 0.012);
  border-block: 1px solid var(--line);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 24px;
}

.section-header.compact {
  margin-bottom: 20px;
}

.section-label {
  display: inline-block;
  margin-bottom: 6px;
  color: #8eb4fb;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-header h2,
.support-copy h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.section-header > p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.app-card {
  padding: 20px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.03), transparent 50%), var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: 0 15px 36px rgba(0, 0, 0, 0.13);
}

.app-card.featured {
  border-color: rgba(79, 136, 245, 0.27);
}

.app-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.app-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-title span {
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.app-title h3 {
  margin: 3px 0 0;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.app-badge,
.release-state {
  white-space: nowrap;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 0.61rem;
  font-style: normal;
  font-weight: 850;
}

.blue {
  color: #bad2ff;
  background: rgba(79, 136, 245, 0.11);
  border: 1px solid rgba(79, 136, 245, 0.18);
}

.green {
  color: #b9f1d5;
  background: rgba(54, 197, 140, 0.1);
  border: 1px solid rgba(54, 197, 140, 0.18);
}

.app-copy {
  min-height: 58px;
  margin: 17px 0 14px;
  color: var(--muted);
  font-size: 0.8rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.feature-list span {
  position: relative;
  min-height: 35px;
  display: flex;
  align-items: center;
  padding: 8px 9px 8px 25px;
  color: #d0dae7;
  background: rgba(255, 255, 255, 0.016);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 0.7rem;
}

.feature-list span::before {
  content: "✓";
  position: absolute;
  left: 9px;
  color: var(--green);
  font-weight: 900;
}

.app-data {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 14px 0 0;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.app-data div {
  padding: 9px 10px;
  background: rgba(5, 14, 24, 0.66);
}

.app-data dt {
  color: var(--muted);
  font-size: 0.59rem;
}

.app-data dd {
  margin: 2px 0 0;
  color: var(--text);
  font-size: 0.69rem;
  font-weight: 800;
}

.app-actions {
  display: flex;
  gap: 9px;
  margin-top: 14px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.benefits-grid article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.benefit-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #9cbcf8;
  background: rgba(79, 136, 245, 0.09);
  border-radius: 10px;
  font-size: 0.66rem;
  font-weight: 850;
}

.benefits-grid h3 {
  margin: 1px 0 4px;
  font-size: 0.88rem;
}

.benefits-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.release-list {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.release-item {
  display: grid;
  grid-template-columns: 1.25fr 0.38fr 0.48fr 1.65fr;
  align-items: center;
  gap: 16px;
  min-height: 66px;
  padding: 12px 17px;
  border-bottom: 1px solid var(--line);
}

.release-item:last-child {
  border-bottom: 0;
}

.release-product {
  display: flex;
  align-items: center;
  gap: 10px;
}

.release-product strong,
.release-product span {
  display: block;
}

.release-product strong {
  font-size: 0.77rem;
}

.release-product span {
  color: var(--muted);
  font-size: 0.63rem;
}

.release-version {
  color: var(--muted-light);
  font-size: 0.73rem;
  font-weight: 750;
}

.release-state {
  justify-self: start;
}

.release-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.section-support {
  background: radial-gradient(circle at 84% 45%, rgba(79, 136, 245, 0.065), transparent 21rem);
}

.support-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.support-copy > p {
  max-width: 450px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.support-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.support-options span {
  padding: 7px 10px;
  color: var(--muted-light);
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
}

.support-form {
  display: grid;
  gap: 12px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.support-form label {
  display: grid;
  gap: 6px;
  color: var(--muted-light);
  font-size: 0.69rem;
  font-weight: 750;
}

.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  color: var(--text);
  background: rgba(4, 12, 21, 0.66);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 10px;
  outline: none;
}

.support-form textarea {
  resize: vertical;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
  border-color: rgba(79, 136, 245, 0.55);
  box-shadow: 0 0 0 3px rgba(79, 136, 245, 0.08);
}

.support-form select option {
  background: var(--surface);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.form-footer > div:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-footer p,
.form-message {
  margin: 0;
  color: var(--muted);
  font-size: 0.64rem;
}

.form-message {
  color: #b7efd3;
  font-weight: 750;
  text-align: right;
}

.site-footer {
  padding: 34px 0 18px;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
}

.footer-brand p {
  max-width: 390px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.footer-links {
  display: flex;
  gap: 58px;
}

.footer-links div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links strong {
  margin-bottom: 2px;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.68rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding-top: 14px;
  color: #718397;
  border-top: 1px solid var(--line);
  font-size: 0.63rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(2, 8, 14, 0.8);
  backdrop-filter: blur(10px);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  position: relative;
  width: min(100%, 460px);
  padding: 25px;
  background: var(--surface-alt);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.modal h2 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.modal p,
.modal li {
  color: var(--muted);
  font-size: 0.78rem;
}

.modal-copy ul {
  padding-left: 17px;
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 34px;
  height: 34px;
  color: var(--muted);
  background: transparent;
  border: 0;
  font-size: 1.45rem;
}

.modal-icon,
.download-symbol {
  width: 52px;
  height: 52px;
  margin-bottom: 15px;
}

.download-symbol {
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: 14px;
  font-size: 1.35rem;
  font-weight: 850;
}

.legal-page {
  min-height: 100vh;
}

.legal-main {
  padding: 54px 0 74px;
}

.legal-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.legal-card h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.legal-card h2 {
  margin-top: 25px;
  font-size: 1rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 0.8rem;
}

.back-link {
  display: inline-flex;
  margin-bottom: 20px;
  color: #a7c3fb;
  font-size: 0.76rem;
  font-weight: 750;
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-action {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 60px;
    display: none;
    flex-direction: column;
    padding: 9px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }

  .mobile-nav.open {
    display: flex;
  }

  .mobile-nav a {
    padding: 9px 10px;
    color: var(--muted-light);
    font-size: 0.77rem;
    font-weight: 750;
  }

  .hero-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 38px;
  }

  .product-window {
    max-width: 720px;
  }

  .support-grid {
    gap: 30px;
  }
}

@media (max-width: 760px) {
  .apps-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .app-copy {
    min-height: auto;
  }

  .section-header {
    display: block;
  }

  .section-header > p {
    margin-top: 10px;
  }

  .release-list {
    overflow-x: auto;
  }

  .release-item {
    min-width: 720px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics article:nth-child(2) {
    border-right: 0;
  }

  .metrics article:nth-child(3),
  .metrics article:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.25rem);
  }

  .hero-actions,
  .app-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .app-actions .button {
    width: 100%;
  }

  .hero-meta {
    display: grid;
    gap: 7px;
  }

  .window-body {
    grid-template-columns: 1fr;
  }

  .window-sidebar {
    display: none;
  }

  .window-content {
    padding: 17px;
  }

  .product-summary,
  .feature-list,
  .app-data,
  .form-row {
    grid-template-columns: 1fr;
  }

  .app-header {
    flex-direction: column;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .metrics article {
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .metrics article:first-child {
    border-left: 0;
    border-top: 0;
  }

  .form-footer,
  .form-footer > div:first-child {
    align-items: stretch;
    flex-direction: column;
  }

  .form-message {
    text-align: left;
  }

  .footer-links {
    gap: 38px;
  }

  .legal-card {
    padding: 22px;
  }
}


/* =========================================================
   VERSIÓN 0.4 — PULIDO VISUAL FINAL
   ========================================================= */

:root {
  --container: 1060px;
  --section-dark: #081421;
  --section-soft-2: #0a1725;
}

body {
  font-size: 13.5px;
}

.hero {
  padding: 42px 0 38px;
}

.hero-grid {
  min-height: 368px;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 50px;
}

.hero h1 {
  max-width: 520px;
  font-size: clamp(2.4rem, 3.8vw, 3.25rem);
  line-height: 1.015;
}

.hero-copy > p {
  max-width: 510px;
  margin: 16px 0 20px;
  font-size: 0.92rem;
}

.product-window {
  width: 100%;
  max-width: 510px;
  justify-self: end;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.product-window:hover {
  transform: translateY(-3px);
  border-color: rgba(116, 165, 255, 0.32);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.32);
}

.window-body {
  min-height: 282px;
}

.window-content {
  padding: 19px;
}

.mini-dashboard {
  min-height: 108px;
}

.dashboard-bars {
  height: 68px;
}

.metrics-grid {
  min-height: 72px;
}

.section {
  padding: 50px 0;
}

#aplicaciones {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.008), transparent 28%),
    var(--bg);
}

#ventajas {
  background:
    radial-gradient(circle at 15% 20%, rgba(79, 136, 245, 0.045), transparent 18rem),
    var(--section-soft-2);
}

#actualizaciones {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.012), transparent 35%),
    var(--section-dark);
}

#soporte {
  background:
    radial-gradient(circle at 82% 40%, rgba(79, 136, 245, 0.075), transparent 20rem),
    var(--bg);
}

.apps-grid {
  align-items: stretch;
}

.app-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.app-card:hover {
  transform: translateY(-3px);
  border-color: rgba(126, 166, 231, 0.26);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.045), transparent 50%),
    var(--surface-alt);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.2);
}

.app-card.featured:hover {
  border-color: rgba(79, 136, 245, 0.46);
}

.app-copy {
  min-height: 52px;
}

.app-data {
  margin-top: 13px;
}

.app-actions {
  margin-top: auto;
  padding-top: 14px;
}

.button {
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}

.button-primary:hover {
  box-shadow: 0 14px 28px rgba(47, 109, 219, 0.3);
}

.button-quiet:hover,
.header-action:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(184, 206, 232, 0.25);
}

.benefits-grid article {
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.benefits-grid article:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 136, 245, 0.26);
  background: var(--surface-alt);
}

.release-item {
  transition: background 0.18s ease;
}

.release-item:hover {
  background: rgba(255, 255, 255, 0.022);
}

.support-form {
  padding: 22px;
  gap: 13px;
}

.support-form input,
.support-form select,
.support-form textarea {
  padding: 10px 11px;
}

.support-form textarea {
  min-height: 102px;
}

.site-footer {
  padding-top: 30px;
}

/* Páginas individuales de aplicaciones */

.product-page-main {
  padding: 42px 0 68px;
}

.product-page-hero {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 46px;
  align-items: center;
  padding: 30px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.04), transparent 48%),
    var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.product-page-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-page-title h1 {
  margin: 3px 0 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.product-page-copy {
  max-width: 610px;
  margin: 18px 0 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.product-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.product-facts div {
  padding: 14px;
  background: rgba(4, 12, 21, 0.5);
  border: 1px solid var(--line);
  border-radius: 11px;
}

.product-facts small,
.product-facts strong {
  display: block;
}

.product-facts small {
  color: var(--muted);
  font-size: 0.63rem;
}

.product-facts strong {
  margin-top: 4px;
  font-size: 0.79rem;
}

.product-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 20px;
}

.product-panel {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.product-panel h2 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}

.product-panel p,
.product-panel li {
  color: var(--muted);
  font-size: 0.79rem;
}

.product-panel ul {
  margin: 0;
  padding-left: 18px;
}

.product-panel li + li {
  margin-top: 7px;
}

.product-note {
  margin-top: 18px;
  padding: 16px;
  color: var(--muted-light);
  background: rgba(79, 136, 245, 0.07);
  border: 1px solid rgba(79, 136, 245, 0.17);
  border-radius: 12px;
  font-size: 0.76rem;
}

@media (max-width: 960px) {
  .product-window {
    justify-self: start;
  }

  .product-page-hero,
  .product-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .product-page-hero {
    padding: 20px;
  }

  .product-page-title {
    align-items: flex-start;
  }

  .product-facts {
    grid-template-columns: 1fr;
  }

  .product-page-actions {
    flex-direction: column;
  }

  .product-page-actions .button {
    width: 100%;
  }
}


/* =========================================================
   VERSIÓN 0.5 — CORRECCIONES DE FORMULARIO Y NAVEGACIÓN
   ========================================================= */

/* Evita que Edge/Chrome conviertan los campos autocompletados en cajas blancas. */
.support-form input:-webkit-autofill,
.support-form input:-webkit-autofill:hover,
.support-form input:-webkit-autofill:focus,
.support-form textarea:-webkit-autofill,
.support-form textarea:-webkit-autofill:hover,
.support-form textarea:-webkit-autofill:focus,
.support-form select:-webkit-autofill,
.support-form select:-webkit-autofill:hover,
.support-form select:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  box-shadow: 0 0 0 1000px rgba(4, 12, 21, 0.96) inset;
  -webkit-box-shadow: 0 0 0 1000px rgba(4, 12, 21, 0.96) inset;
  border-color: var(--line);
  transition: background-color 9999s ease-out 0s;
}

.support-form input:autofill,
.support-form textarea:autofill,
.support-form select:autofill {
  color: var(--text);
  background: rgba(4, 12, 21, 0.96);
}

/* Mantiene el botón, la nota y el resultado correctamente alineados. */
.form-footer {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px 12px;
}

.form-submit {
  min-width: 148px;
  white-space: nowrap;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.64rem;
}

.form-message {
  grid-column: 1 / -1;
  min-height: 16px;
  margin: 0;
  color: #b7efd3;
  font-size: 0.65rem;
  font-weight: 750;
  text-align: left;
}

@media (max-width: 540px) {
  .form-footer {
    grid-template-columns: 1fr;
  }

  .form-submit {
    width: 100%;
  }

  .form-message {
    grid-column: 1;
  }
}


/* =========================================================
   VERSIÓN 0.6 — DISEÑO MÓVIL COMPLETO
   ========================================================= */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  -webkit-text-size-adjust: 100%;
}

main,
section,
header,
footer,
.container,
.hero-grid,
.apps-grid,
.app-card,
.product-window,
.release-list,
.support-form,
.product-page-hero,
.product-panel {
  min-width: 0;
}

img,
svg {
  max-width: 100%;
}

.app-title > div,
.product-page-title > div,
.release-product > div,
.window-heading > div,
.summary-primary > div {
  min-width: 0;
}

.app-title h3,
.product-page-title h1,
.release-product strong,
.window-heading h2,
.app-copy,
.product-page-copy,
.release-item p {
  overflow-wrap: anywhere;
}

/* Tablet y teléfonos */
@media (max-width: 760px) {
  html {
    scroll-padding-top: 64px;
  }

  section[id] {
    scroll-margin-top: 64px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    padding-top: env(safe-area-inset-top);
  }

  .header-inner {
    min-height: 58px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .brand-name {
    font-size: 0.88rem;
  }

  .mobile-nav {
    top: calc(58px + env(safe-area-inset-top));
    left: 12px;
    right: 12px;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
  }

  .mobile-nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
    border-radius: 8px;
  }

  .mobile-nav a:active {
    background: rgba(255, 255, 255, 0.04);
  }

  .hero {
    padding: 34px 0 30px;
  }

  .hero-grid {
    min-height: auto;
    gap: 28px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 9.6vw, 2.85rem);
    line-height: 1.03;
  }

  .hero-copy > p {
    max-width: 100%;
    font-size: 0.88rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    flex: 1 1 170px;
  }

  .product-window {
    width: 100%;
    max-width: none;
    justify-self: stretch;
    border-radius: 16px;
  }

  .window-body {
    min-height: auto;
  }

  .window-content {
    padding: 16px;
  }

  .window-heading {
    align-items: center;
  }

  .window-heading h2 {
    font-size: 1.12rem;
  }

  .product-summary {
    grid-template-columns: minmax(0, 1.2fr) minmax(95px, 0.8fr);
  }

  .summary-primary,
  .summary-status {
    min-height: 72px;
    padding: 11px;
  }

  .summary-primary img {
    width: 44px;
    height: 44px;
  }

  .mini-dashboard {
    min-height: 102px;
  }

  .dashboard-bars {
    height: 62px;
    gap: 7px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metrics article {
    min-height: 64px;
    padding: 12px 14px;
    border-left: 0;
  }

  .metrics article:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .metrics article:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .metrics article:nth-child(3),
  .metrics article:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .section {
    padding: 42px 0;
  }

  .section-header h2,
  .support-copy h2 {
    font-size: clamp(1.72rem, 7.5vw, 2.1rem);
  }

  .section-header > p {
    max-width: 100%;
  }

  .app-card {
    padding: 17px;
    border-radius: 16px;
  }

  .app-header {
    flex-direction: row;
    align-items: flex-start;
  }

  .app-title {
    gap: 10px;
    min-width: 0;
  }

  .app-title img {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
  }

  .app-title h3 {
    font-size: 1.08rem;
  }

  .app-title span {
    font-size: 0.57rem;
  }

  .app-badge {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .app-copy {
    min-height: 0;
    margin: 14px 0 12px;
    font-size: 0.77rem;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .feature-list span {
    min-height: 34px;
  }

  .app-data {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-data div:last-child {
    grid-column: 1 / -1;
  }

  .app-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .app-actions .button {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
  }

  .benefits-grid article {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 14px;
  }

  /* Las actualizaciones dejan de ser una tabla horizontal. */
  .release-list {
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
  }

  .release-item {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "product state"
      "version version"
      "description description";
    gap: 8px 12px;
    min-height: 0;
    margin-bottom: 10px;
    padding: 15px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
  }

  .release-item:last-child {
    margin-bottom: 0;
    border-bottom: 1px solid var(--line);
  }

  .release-product {
    grid-area: product;
    min-width: 0;
  }

  .release-product img {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
  }

  .release-version {
    grid-area: version;
  }

  .release-version::before {
    content: "Versión: ";
    color: var(--muted);
    font-weight: 500;
  }

  .release-state {
    grid-area: state;
    align-self: start;
  }

  .release-item p {
    grid-area: description;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }

  .support-grid {
    gap: 24px;
  }

  .support-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-options span {
    text-align: center;
  }

  .support-form {
    width: 100%;
    padding: 17px;
    border-radius: 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-footer {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .form-submit {
    width: 100%;
  }

  .form-note,
  .form-message {
    text-align: left;
  }

  .footer-inner {
    gap: 24px;
  }

  .footer-links {
    width: 100%;
    justify-content: space-between;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 5px;
  }

  .modal-backdrop {
    padding:
      max(14px, env(safe-area-inset-top))
      max(14px, env(safe-area-inset-right))
      max(14px, env(safe-area-inset-bottom))
      max(14px, env(safe-area-inset-left));
  }

  .modal {
    width: 100%;
    max-height: calc(100dvh - 28px);
    overflow-y: auto;
    padding: 22px;
    border-radius: 16px;
  }

  /* Páginas individuales */
  .product-page-main {
    padding: 28px 0 48px;
  }

  .back-link {
    margin-bottom: 14px;
  }

  .product-page-hero {
    gap: 22px;
    padding: 18px;
    border-radius: 16px;
  }

  .product-page-title {
    align-items: center;
    gap: 12px;
  }

  .product-page-title img {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
  }

  .product-page-title h1 {
    font-size: clamp(1.72rem, 8vw, 2.2rem);
  }

  .product-page-copy {
    margin: 14px 0 17px;
    font-size: 0.82rem;
  }

  .product-page-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .product-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-facts div {
    min-width: 0;
    padding: 12px;
  }

  .product-facts strong {
    overflow-wrap: anywhere;
  }

  .product-details-grid {
    gap: 12px;
    margin-top: 12px;
  }

  .product-panel {
    padding: 17px;
    border-radius: 16px;
  }

  .product-note {
    margin-top: 12px;
  }

  .legal-main {
    padding: 32px 0 50px;
  }

  .legal-card {
    padding: 20px;
    border-radius: 16px;
  }
}

/* Teléfonos estrechos */
@media (max-width: 390px) {
  .container {
    width: min(calc(100% - 22px), var(--container));
  }

  .hero h1 {
    font-size: 2.05rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .window-heading {
    gap: 8px;
  }

  .product-summary {
    grid-template-columns: 1fr;
  }

  .summary-status {
    min-height: 58px;
  }

  .metrics strong {
    font-size: 0.86rem;
  }

  .metrics span {
    font-size: 0.62rem;
  }

  .app-header {
    flex-wrap: wrap;
  }

  .app-badge {
    margin-left: 56px;
  }

  .app-actions,
  .product-page-actions {
    grid-template-columns: 1fr;
  }

  .product-facts {
    grid-template-columns: 1fr;
  }

  .support-options {
    grid-template-columns: 1fr;
  }

  .footer-links {
    gap: 28px;
  }
}

/* Evita animaciones innecesarias para usuarios que las desactiven. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* =========================================================
   VERSIÓN 0.7 — GALAXY S20 FE / MODO VERTICAL
   ========================================================= */

/*
  En teléfonos estrechos mantenemos la ficha destacada en dos columnas.
  La versión 0.6 la convertía en una sola columna por debajo de 390 px,
  provocando que el panel se alargara demasiado.
*/
@media (max-width: 430px) and (orientation: portrait) {
  .product-window {
    border-radius: 14px;
  }

  .window-bar {
    min-height: 38px;
    padding-inline: 12px;
  }

  .window-content {
    padding: 14px;
  }

  .window-heading {
    align-items: flex-start;
  }

  .window-heading small {
    font-size: 0.61rem;
  }

  .window-heading h2 {
    font-size: 1.02rem;
    line-height: 1.1;
  }

  .status-pill {
    padding: 4px 7px;
    font-size: 0.58rem;
  }

  .product-summary {
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 8px;
    margin-top: 14px;
  }

  .summary-primary,
  .summary-status {
    min-height: 64px;
    padding: 9px;
  }

  .summary-primary {
    gap: 9px;
  }

  .summary-primary img {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  .summary-primary strong {
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .summary-primary span,
  .summary-status small {
    font-size: 0.59rem;
  }

  .summary-status strong {
    font-size: 0.7rem;
  }

  .mini-dashboard {
    min-height: 78px;
    margin-top: 8px;
    padding: 9px 11px 10px;
  }

  .dashboard-labels {
    font-size: 0.56rem;
  }

  .dashboard-bars {
    height: 45px;
    gap: 6px;
    padding-top: 8px;
  }

  .dashboard-bars i {
    min-width: 7px;
  }
}

/* Sobrescribe la regla anterior que apilaba el resumen en una columna. */
@media (max-width: 390px) and (orientation: portrait) {
  .product-summary {
    grid-template-columns: minmax(0, 1fr) 82px;
  }

  .summary-status {
    min-height: 64px;
  }
}

/* En pantallas extremadamente estrechas se oculta solo el gráfico decorativo. */
@media (max-width: 340px) and (orientation: portrait) {
  .mini-dashboard {
    display: none;
  }

  .product-summary {
    margin-bottom: 2px;
  }
}


/* =========================================================
   VERSIÓN 0.8 — PANEL DESTACADO REDISEÑADO
   ========================================================= */

.featured-preview {
  width: 100%;
  max-width: 500px;
  justify-self: end;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 48%),
    var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.featured-preview:hover {
  transform: translateY(-3px);
  border-color: rgba(116, 165, 255, 0.32);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.32);
}

.featured-preview-header {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 16px;
  background: rgba(3, 10, 18, 0.42);
  border-bottom: 1px solid var(--line);
}

.featured-preview-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--muted-light);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.featured-preview-brand img {
  flex: 0 0 auto;
}

.featured-preview-body {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.featured-app {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}

.featured-app > img {
  flex: 0 0 64px;
  border-radius: 17px;
}

.featured-app > div {
  min-width: 0;
}

.featured-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.66rem;
}

.featured-app h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.featured-app p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.featured-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.featured-facts > div {
  min-width: 0;
  padding: 12px;
  background: rgba(4, 12, 21, 0.68);
}

.featured-facts small,
.featured-facts strong {
  display: block;
}

.featured-facts small {
  color: var(--muted);
  font-size: 0.6rem;
}

.featured-facts strong {
  margin-top: 4px;
  font-size: 0.75rem;
  overflow-wrap: anywhere;
}

.featured-available {
  color: var(--green);
}

.featured-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.featured-capabilities span {
  padding: 7px 9px;
  color: #cbd8e7;
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.65rem;
  white-space: nowrap;
}

.featured-preview-link {
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 12px;
  color: var(--muted-light);
  background: rgba(79, 136, 245, 0.07);
  border: 1px solid rgba(79, 136, 245, 0.17);
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.featured-preview-link:hover {
  color: var(--text);
  background: rgba(79, 136, 245, 0.12);
  border-color: rgba(79, 136, 245, 0.3);
}

.featured-preview-link span {
  font-size: 1rem;
}

@media (max-width: 960px) {
  .featured-preview {
    max-width: 700px;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .featured-preview {
    max-width: none;
    justify-self: stretch;
    border-radius: 16px;
  }

  .featured-preview-header {
    min-height: 44px;
    padding: 8px 13px;
  }

  .featured-preview-body {
    gap: 13px;
    padding: 16px;
  }

  .featured-app {
    align-items: flex-start;
    gap: 12px;
  }

  .featured-app > img {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    border-radius: 14px;
  }

  .featured-app h2 {
    font-size: 1.16rem;
  }

  .featured-app p {
    font-size: 0.7rem;
  }

  .featured-facts {
    grid-template-columns: 1fr 1fr;
  }

  .featured-facts > div:last-child {
    grid-column: 1 / -1;
  }

  .featured-facts > div {
    padding: 10px;
  }

  .featured-capabilities {
    display: grid;
    grid-template-columns: 1fr;
  }

  .featured-capabilities span {
    width: 100%;
    white-space: normal;
    border-radius: 9px;
  }
}

@media (max-width: 390px) {
  .featured-preview-body {
    padding: 14px;
  }

  .featured-preview-brand {
    font-size: 0.64rem;
  }

  .featured-app > img {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .featured-app h2 {
    font-size: 1.08rem;
  }

  .featured-facts {
    grid-template-columns: 1fr;
  }

  .featured-facts > div:last-child {
    grid-column: auto;
  }

  .featured-preview-link {
    width: 100%;
  }
}


/* =========================================================
   VERSIÓN 0.9 — FICHA DEBAJO DEL HERO EN MÓVILES
   ========================================================= */

/*
  Escritorio:
  - Se mantiene la distribución original en dos columnas.
  - Texto a la izquierda y ficha destacada a la derecha.
*/
@media (min-width: 961px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 0.96fr 1.04fr;
    align-items: center;
  }

  .hero-copy {
    grid-column: 1;
  }

  .featured-preview {
    grid-column: 2;
    margin-top: 0;
  }
}

/*
  Teléfonos y tabletas en vertical:
  - El texto principal aparece primero.
  - La ficha destacada aparece debajo.
  - Ambos ocupan todo el ancho disponible.
*/
@media (max-width: 960px) and (orientation: portrait) {
  .hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: stretch;
    gap: 24px;
  }

  .hero-copy {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100%;
    max-width: none;
  }

  .featured-preview {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100%;
    max-width: none;
    justify-self: stretch;
    margin-top: 0;
  }
}

/*
  Refuerzo para móviles que usan "sitio de escritorio" o un viewport amplio.
  Detecta pantalla táctil en vertical y mantiene la ficha debajo.
*/
@media (hover: none) and (pointer: coarse) and (orientation: portrait) {
  .hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: stretch !important;
    gap: 24px !important;
  }

  .hero-copy {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
  }

  .featured-preview {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: none !important;
    justify-self: stretch !important;
    margin-top: 0 !important;
  }
}

/* Ajuste final para teléfonos estrechos. */
@media (max-width: 430px) and (orientation: portrait) {
  .hero {
    padding-top: 30px;
  }

  .hero-grid {
    gap: 20px !important;
  }

  .featured-preview {
    border-radius: 14px;
  }
}


/* =========================================================
   VERSIÓN 1.0 — DESCARGA OFICIAL
   ========================================================= */

.real-download {
  position: relative;
}

.real-download::after {
  content: "↓";
  margin-left: 7px;
  font-size: 0.82rem;
  line-height: 1;
}

.real-download:focus-visible {
  outline: 3px solid rgba(111, 161, 255, 0.32);
  outline-offset: 3px;
}

@media (max-width: 540px) {
  .real-download {
    width: 100%;
  }
}


/* =========================================================
   VERSIÓN 1.1 — FICHA DE DESCARGA PROFESIONAL
   ========================================================= */

.download-verification {
  margin-top: 18px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.025), transparent 55%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.download-verification-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.download-verification-head h2 {
  margin: 0;
  font-size: 1.2rem;
}

.verified-badge {
  padding: 6px 9px;
  color: #b7f2d5;
  background: rgba(54, 197, 140, 0.1);
  border: 1px solid rgba(54, 197, 140, 0.18);
  border-radius: 999px;
  font-size: 0.63rem;
  font-weight: 850;
  white-space: nowrap;
}

.download-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.download-info-grid > div {
  min-width: 0;
  padding: 12px;
  background: rgba(4, 12, 21, 0.52);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.download-info-grid small,
.download-info-grid strong {
  display: block;
}

.download-info-grid small {
  color: var(--muted);
  font-size: 0.61rem;
}

.download-info-grid strong {
  margin-top: 4px;
  font-size: 0.72rem;
  overflow-wrap: anywhere;
}

.hash-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 12px;
  background: rgba(4, 12, 21, 0.7);
  border: 1px solid var(--line-strong);
  border-radius: 11px;
}

.hash-box > div {
  min-width: 0;
}

.hash-box small {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.61rem;
}

.hash-box code {
  display: block;
  color: #d8e5f6;
  font-family: "Cascadia Code", "Consolas", monospace;
  font-size: 0.68rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.copy-hash-button {
  min-height: 34px;
  padding: 7px 11px;
  color: var(--muted-light);
  background: rgba(79, 136, 245, 0.08);
  border: 1px solid rgba(79, 136, 245, 0.2);
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 800;
}

.copy-hash-button:hover {
  color: var(--text);
  background: rgba(79, 136, 245, 0.14);
}

.release-notes {
  margin-top: 14px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--line);
  border-radius: 11px;
}

.release-notes h3 {
  margin: 0 0 9px;
  font-size: 0.86rem;
}

.release-notes ul {
  margin: 0;
  padding-left: 18px;
}

.release-notes li {
  color: var(--muted);
  font-size: 0.73rem;
}

.release-notes li + li {
  margin-top: 5px;
}

.smartscreen-notice {
  margin-top: 12px;
  padding: 14px;
  background: rgba(255, 184, 77, 0.06);
  border: 1px solid rgba(255, 184, 77, 0.17);
  border-radius: 11px;
}

.smartscreen-notice strong {
  display: block;
  color: #f4d59f;
  font-size: 0.76rem;
}

.smartscreen-notice p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.71rem;
}

@media (max-width: 760px) {
  .download-verification {
    padding: 17px;
    border-radius: 16px;
  }

  .download-verification-head {
    align-items: flex-start;
  }

  .download-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hash-box {
    grid-template-columns: 1fr;
  }

  .copy-hash-button {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .download-verification-head {
    flex-direction: column;
  }

  .download-info-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   VERSIÓN 1.2 — INTERNACIONALIZACIÓN AUTOMÁTICA
   ========================================================= */

html {
  hyphens: none;
}

.button,
.header-action,
.nav-link,
.mobile-nav a,
.featured-preview-link,
.support-options span,
.app-badge,
.status-pill,
.verified-badge {
  white-space: normal;
  text-align: center;
}

.desktop-nav {
  gap: clamp(14px, 1.8vw, 25px);
}

.nav-link {
  line-height: 1.15;
}

.app-card,
.product-panel,
.legal-card,
.download-verification,
.featured-preview {
  overflow-wrap: anywhere;
}

html[lang="de"] .desktop-nav,
html[lang="fr"] .desktop-nav,
html[lang="pt"] .desktop-nav {
  gap: 14px;
}

html[lang="de"] .nav-link,
html[lang="fr"] .nav-link,
html[lang="pt"] .nav-link {
  font-size: 0.75rem;
}

html[lang="de"] .header-action,
html[lang="fr"] .header-action,
html[lang="pt"] .header-action {
  max-width: 132px;
  line-height: 1.15;
}

@media (max-width: 1080px) and (min-width: 961px) {
  .header-inner {
    gap: 16px;
  }

  .desktop-nav {
    gap: 12px;
  }

  .nav-link {
    font-size: 0.74rem;
  }

  .header-action {
    font-size: 0.7rem;
  }
}


/* =========================================================
   VERSIÓN 1.3 — SELECTOR MANUAL EN / FR / ES
   ========================================================= */

.header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.language-switcher {
  position: relative;
  flex: 0 0 auto;
}

.language-button {
  min-width: 72px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 6px 9px;
  color: var(--muted-light);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.language-button:hover,
.language-button[aria-expanded="true"] {
  color: var(--text);
  background: rgba(79, 136, 245, 0.09);
  border-color: rgba(79, 136, 245, 0.3);
}

.language-globe {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  opacity: 0.9;
}

.language-globe::before,
.language-globe::after {
  content: "";
  position: absolute;
  inset: 3px -1.5px;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  border-radius: 50%;
}

.language-globe::after {
  inset: -1.5px 4px;
  border: 0;
  border-left: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.language-chevron {
  margin-top: -2px;
  font-size: 0.72rem;
  opacity: 0.72;
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 100;
  width: 176px;
  padding: 7px;
  background: #0d1c2d;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.38);
}

.language-menu[hidden] {
  display: none;
}

.language-option {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 10px;
  color: var(--muted-light);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.73rem;
  font-weight: 720;
  text-align: left;
}

.language-option small {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.language-option:hover,
.language-option.active {
  color: var(--text);
  background: rgba(79, 136, 245, 0.09);
  border-color: rgba(79, 136, 245, 0.16);
}

.language-option.active small {
  color: var(--blue-soft);
}

.live-label {
  max-width: 100%;
}

.live-label-text {
  display: inline-block;
  line-height: 1.2;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.hero h1,
.section-header h2,
.product-page-title h1,
.product-panel h2,
.download-verification h2,
.release-notes h3,
.app-title h3,
.featured-app h2,
.button,
.nav-link,
.header-action,
.language-button,
.language-option,
.section-label,
.app-badge,
.status-pill,
.verified-badge {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.hero-copy > p,
.app-copy,
.product-page-copy,
.product-panel li,
.release-notes li,
.smartscreen-notice p,
.legal-card p {
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

.hash-box code,
.download-info-grid strong {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 960px) {
  .header-tools {
    gap: 7px;
  }

  .language-button {
    min-width: 66px;
    height: 36px;
  }
}

@media (max-width: 430px) {
  .language-menu {
    position: fixed;
    top: calc(62px + env(safe-area-inset-top));
    right: 12px;
    width: min(190px, calc(100vw - 24px));
  }

  .language-button {
    min-width: 62px;
    padding-inline: 8px;
  }

  .language-globe {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
  }

  .live-label .live-label-text {
    white-space: normal;
  }
}


/* =========================================================
   VERSIÓN 1.4 — NEGOCIO VIÑALES PAGO 2.0.2
   ========================================================= */

.app-badge[data-i18n="status.paid"],
.release-state[data-i18n="status.paid"] {
  color: #b7f2d5;
  background: rgba(54, 197, 140, 0.1);
  border-color: rgba(54, 197, 140, 0.2);
}

.product-note[data-i18n="negocio.product_note"] {
  border-color: rgba(54, 197, 140, 0.18);
  background: rgba(54, 197, 140, 0.045);
}

@media (max-width: 540px) {
  .app-card .real-download,
  .product-page-actions .real-download {
    width: 100%;
  }
}


/* =========================================================
   VERSIÓN 2.0 — APP NEGOCIO 2.2.0
   ========================================================= */

.product-app-icon,
.app-title img[src$="app-negocio.png"],
.release-product img[src$="app-negocio.png"] {
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.24));
}

.app-negocio-hero {
  border-color: rgba(54, 197, 140, 0.2);
  background:
    radial-gradient(circle at 82% 16%, rgba(54, 197, 140, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,0.025), transparent 55%),
    var(--surface);
}

.role-panel {
  min-height: 170px;
}

.role-panel p {
  margin: 0;
  line-height: 1.7;
}

.documentation-section {
  margin-top: 18px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.025), transparent 55%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.documentation-intro {
  max-width: 760px;
  margin: -5px 0 16px;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.65;
}

.documentation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.document-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 14px;
  color: var(--text);
  background: rgba(4, 12, 21, 0.52);
  border: 1px solid var(--line);
  border-radius: 11px;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.document-card::after {
  content: "↓";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #b7f2d5;
  background: rgba(54, 197, 140, 0.1);
  border: 1px solid rgba(54, 197, 140, 0.18);
  border-radius: 8px;
  font-weight: 900;
}

.document-card:hover {
  transform: translateY(-1px);
  background: rgba(54, 197, 140, 0.045);
  border-color: rgba(54, 197, 140, 0.22);
}

.document-card strong,
.document-card span {
  display: block;
}

.document-card strong {
  min-width: 0;
  font-size: 0.78rem;
  overflow-wrap: break-word;
}

.document-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.64rem;
}

.product-note[data-i18n="negocio.product_note"] {
  border-color: rgba(54, 197, 140, 0.2);
  background: rgba(54, 197, 140, 0.055);
}

@media (max-width: 760px) {
  .documentation-section {
    padding: 17px;
  }

  .documentation-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .product-app-icon {
    width: 68px;
    height: 68px;
  }

  .document-card {
    align-items: flex-start;
  }
}
