:root {
  --ink: #152033;
  --muted: #667085;
  --line: #e3e8ef;
  --soft: #f5f7fa;
  --blue: #214f88;
  --blue-dark: #17345f;
  --pink: #ec008c;
  --green: #1aa766;
  --red: #d74e46;
  --shadow: 0 18px 45px rgba(28, 47, 73, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
a { color: inherit; text-decoration: none; }

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand__logo {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}


.site-shell { min-height: 100vh; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  max-width: 1240px;
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin: 0 auto;
  padding: 0 24px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
}
.site-header nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}
.site-header__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.button {
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font-weight: 750;
}
.button--primary {
  color: #fff;
  border-color: var(--pink);
  background: var(--pink);
}
.button--ghost { background: transparent; }
.button--large { min-height: 50px; padding: 0 23px; }
.button--full { width: 100%; }
.button--danger {
  color: var(--red);
  border-color: #f0beb9;
  background: #fff3f1;
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 60px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 75px 24px 100px;
}
.eyebrow {
  display: block;
  color: var(--pink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 680px;
  margin: 14px 0 20px;
  font-size: clamp(48px, 6vw, 78px);
  line-height: .96;
  letter-spacing: -.058em;
}
.hero h1 span { color: var(--pink); }
.hero p {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button--link { display: inline-flex; align-items: center; justify-content: center; }
.hero__origin {
  margin: 22px 0 0;
  color: var(--ink) !important;
  font-size: 13px !important;
  font-weight: 760;
  letter-spacing: -.01em;
}
.hero__visual {
  position: relative;
}
.hero__visual::before {
  content: "";
  position: absolute;
  inset: -70px -40px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236,0,140,.12), rgba(33,79,136,.06) 55%, transparent 70%);
}
.mock-window {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 35px 90px rgba(24, 45, 75, .22);
  transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
}
.mock-window__bar {
  display: flex;
  gap: 7px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}
.mock-window__bar span {
  width: 10px; height: 10px; border-radius: 50%; background: #d7dce4;
}
.mock-window__body {
  display: grid;
  grid-template-columns: 135px 1fr;
  min-height: 380px;
}
.mock-window aside {
  display: grid;
  align-content: start;
  gap: 17px;
  padding: 24px 18px;
  color: rgba(255,255,255,.72);
  background: var(--blue-dark);
  font-size: 12px;
}
.mock-window aside b { color: #fff; margin-bottom: 14px; }
.mock-window section { padding: 29px; background: #f6f8fb; }
.mock-window section small { color: var(--blue); font-weight: 900; }
.mock-window section h3 { font-size: 23px; }
.mock-metrics {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 9px;
}
.mock-metrics article {
  padding: 13px;
  border-radius: 12px;
  background: #fff;
}
.mock-metrics small, .mock-metrics strong { display:block; }
.mock-metrics strong { margin-top: 6px; font-size: 20px; }
.mock-chart {
  height: 145px;
  margin-top: 17px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(33,79,136,.05), rgba(33,79,136,.12)),
    repeating-linear-gradient(0deg, transparent, transparent 35px, #e3e8ef 36px);
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 95px 24px;
}
.section--soft {
  max-width: none;
  padding-left: max(24px, calc((100vw - 1192px)/2));
  padding-right: max(24px, calc((100vw - 1192px)/2));
  background: var(--soft);
}
.section-heading { max-width: 660px; margin-bottom: 40px; }
.section-heading h2, .security-panel h2 {
  margin: 10px 0;
  font-size: 40px;
  letter-spacing: -.04em;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
}
.feature-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 17px;
}
.feature-card > span {
  width: 39px; height: 39px; display:grid; place-items:center;
  color: var(--pink); border-radius: 11px; background:#fff0f8; font-weight:900;
}
.feature-card h3 { margin: 18px 0 9px; }
.feature-card p { color: var(--muted); line-height: 1.6; }

.pricing-card {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 35px;
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.pricing-card h3 { margin: 8px 0; font-size: 25px; }
.pricing-card p { color: var(--muted); }
.pricing-card__price strong { font-size: 36px; }
.pricing-card__price span { color: var(--muted); }

.security-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  padding: 45px;
  color: #fff;
  border-radius: 24px;
  background: linear-gradient(120deg,var(--blue-dark),var(--blue));
}
.security-panel .eyebrow { color: rgba(255,255,255,.65); }
.security-panel p { max-width: 700px; color: rgba(255,255,255,.7); line-height:1.7; }
.security-badge {
  min-width: 145px;
  height: 145px;
  display:grid;
  place-items:center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  font-size: 22px;
  font-weight:900;
}
.site-footer {
  max-width: 1240px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:0 auto;
  padding:35px 24px;
  color:var(--muted);
  border-top:1px solid var(--line);
}

.modal-backdrop {
  position:fixed;
  inset:0;
  z-index:100;
  display:grid;
  place-items:center;
  padding:20px;
  background:rgba(12,24,40,.48);
  backdrop-filter:blur(9px);
}
.auth-modal {
  position:relative;
  width:min(470px,100%);
  padding:32px;
  border-radius:20px;
  background:#fff;
  box-shadow:var(--shadow);
}
.modal-close {
  position:absolute;
  top:15px;
  right:15px;
  width:34px; height:34px;
  border:0; border-radius:9px; background:var(--soft);
}
.auth-modal__heading { margin:30px 0 22px; }
.auth-modal__heading h2 { margin:0 0 8px; font-size:29px; }
.auth-modal__heading p { margin:0; color:var(--muted); }
.form { display:grid; gap:15px; }
.form label { display:grid; gap:7px; color:var(--muted); font-size:13px; font-weight:750; }
.form input,.form textarea {
  width:100%;
  padding:12px 13px;
  color:var(--ink);
  border:1px solid var(--line);
  border-radius:10px;
  outline:none;
  background:#fff;
}
.form input:focus,.form textarea:focus { border-color:rgba(236,0,140,.55); box-shadow:0 0 0 3px rgba(236,0,140,.10); }
.auth-links {
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-top:18px;
}
.auth-links button,.text-button {
  padding:0;
  color:var(--pink);
  border:0;
  background:transparent;
  font-size:13px;
  font-weight:750;
}

.portal-shell {
  min-height:100vh;
  display:grid;
  grid-template-columns:250px 1fr;
  background:#f4f6f9;
}
.portal-sidebar {
  position:sticky;
  top:0;
  height:100vh;
  display:flex;
  flex-direction:column;
  padding:24px 17px;
  color:#fff;
  background:var(--blue-dark);
}
.portal-sidebar .brand {
  width: 100%;
  padding: 5px 6px 25px;
}
.portal-sidebar .brand__logo {
  width: 100%;
  padding: 9px 8px;
  border-radius: 13px;
  background: #fff;
}
.portal-sidebar nav { display:grid; gap:5px; }
.portal-sidebar nav button {
  display:grid;
  grid-template-columns:28px 1fr;
  align-items:center;
  gap:10px;
  width:100%;
  padding:11px;
  color:rgba(255,255,255,.72);
  text-align:left;
  border:0;
  border-radius:10px;
  background:transparent;
}
.portal-sidebar nav button.is-active {
  color:#fff;
  background:rgba(236,0,140,.24);
}
.portal-sidebar nav button span {
  width:27px; height:27px; display:grid; place-items:center;
  border-radius:8px; background:rgba(255,255,255,.08); font-weight:900;
}
.sidebar-status {
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:auto;
  padding:12px;
  color:rgba(255,255,255,.68);
  font-size:12px;
}
.status-dot {
  width:8px; height:8px; border-radius:50%; background:#97a2b1;
}
.status-dot--online { background:#31c77b; box-shadow:0 0 0 4px rgba(49,199,123,.12); }
.status-dot--offline { background:#ed665d; }
.portal-main { min-width:0; }
.portal-topbar {
  height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:0 30px;
  border-bottom:1px solid var(--line);
  background:#fff;
}
.portal-topbar small,.portal-topbar strong { display:block; }
.portal-topbar small { color:var(--muted); font-size:10px; letter-spacing:.09em; }
.portal-topbar strong { margin-top:3px; }
.portal-user {
  display:flex;
  align-items:center;
  gap:10px;
}
.portal-user > span {
  width:36px; height:36px; display:grid; place-items:center;
  color:#fff; border-radius:10px; background:var(--pink); font-weight:900;
}
.portal-user button {
  margin-left:8px; color:var(--muted); border:0; background:transparent; font-size:12px;
}
.portal-content { max-width:1380px; margin:0 auto; padding:28px; }
.portal-hero {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  padding:30px;
  color:#fff;
  border-radius:20px;
  background:linear-gradient(120deg,var(--blue-dark),#6f1a61 62%,var(--pink));
  box-shadow:0 17px 36px rgba(25,57,98,.15);
}
.portal-hero h1 { margin:7px 0; font-size:32px; }
.portal-hero p { margin:0; color:rgba(255,255,255,.7); }
.portal-hero .eyebrow { color:rgba(255,255,255,.6); }
.portal-hero__status {
  display:flex; align-items:center; gap:9px;
  padding:10px 13px; border-radius:999px; background:rgba(255,255,255,.1);
}
.metric-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin:15px 0;
}
.metric-card {
  padding:18px;
  text-align:left;
  border:1px solid var(--line);
  border-radius:15px;
  background:#fff;
  box-shadow:0 5px 17px rgba(28,47,73,.04);
}
.metric-card small,.metric-card strong,.metric-card span { display:block; }
.metric-card small { color:var(--muted); font-weight:750; }
.metric-card strong { margin:8px 0; font-size:25px; }
.metric-card span { color:var(--pink); font-size:11px; font-weight:750; }
.portal-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:15px;
  margin-bottom:15px;
}
.portal-card,.table-card {
  padding:20px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  box-shadow:0 5px 17px rgba(28,47,73,.035);
}
.card-heading {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
.card-heading h2,.portal-card h2 { margin:5px 0 12px; font-size:20px; }
.pill {
  display:inline-flex;
  align-items:center;
  padding:5px 8px;
  border-radius:999px;
  color:#586474;
  background:#edf0f4;
  font-size:10px;
  font-weight:800;
  text-transform:capitalize;
}
.pill--green { color:#176a43; background:#e4f7ec; }
.pill--red { color:#a23b32; background:#fee8e5; }
.details-list { margin:0; }
.details-list > div {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:10px 0;
  border-bottom:1px solid var(--line);
}
.details-list dt { color:var(--muted); font-size:12px; }
.details-list dd { margin:0; text-align:right; font-size:13px; font-weight:750; }
.list { display:grid; }
.list-row {
  display:grid;
  grid-template-columns:34px 1fr auto;
  align-items:center;
  gap:10px;
  padding:10px 0;
  border-bottom:1px solid var(--line);
}
.list-icon,.academy-mark,.device-mark,.download-mark {
  width:33px; height:33px; display:grid; place-items:center;
  color:var(--pink); border-radius:9px; background:#fff0f8; font-weight:900;
}
.list-row strong,.list-row small { display:block; }
.list-row strong { font-size:13px; }
.list-row small { margin-top:3px; color:var(--muted); font-size:11px; }
.service-status { display:flex; align-items:center; gap:13px; padding:22px 0; }
.service-status__icon {
  width:47px; height:47px; display:grid; place-items:center;
  color:#fff; border-radius:14px; background:var(--green); font-size:20px; font-weight:900;
}
.service-status strong,.service-status small { display:block; }
.service-status small { margin-top:4px; color:var(--muted); }
.page-heading {
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  margin-bottom:18px;
}
.page-heading h1 { margin:5px 0 0; font-size:30px; }
.table-card { overflow-x:auto; }
table { width:100%; border-collapse:collapse; }
th,td { padding:13px 11px; text-align:left; border-bottom:1px solid var(--line); font-size:13px; }
th { color:var(--muted); font-size:10px; letter-spacing:.06em; text-transform:uppercase; }
.card-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.academy-mark,.device-mark { width:42px; height:42px; }
.device-card p,.portal-card > p { color:var(--muted); line-height:1.6; }
.download-card {
  display:grid;
  grid-template-columns:60px 1fr auto;
  align-items:center;
  gap:18px;
}
.download-mark { width:58px; height:58px; font-size:21px; }
.download-actions { display:flex; gap:8px; }
.empty {
  padding:26px;
  color:var(--muted);
  text-align:center;
  border:1px dashed var(--line);
  border-radius:12px;
}
.toast-root {
  position:fixed;
  top:18px;
  right:18px;
  z-index:200;
  display:grid;
  gap:8px;
}
.toast {
  min-width:280px;
  padding:13px 15px;
  border-radius:12px;
  color:#176a43;
  background:#e8f8ef;
  box-shadow:var(--shadow);
}
.toast--error { color:#a23b32; background:#fff0ee; }


.site-header .brand__logo { width: 210px; }
.site-footer .brand__logo { width: 180px; }
.auth-modal .brand__logo { width: 190px; }

@media (max-width:1000px) {
  .hero { grid-template-columns:1fr; }
  .feature-grid,.metric-grid { grid-template-columns:repeat(2,1fr); }
  .portal-shell { grid-template-columns:86px 1fr; }
  .portal-sidebar nav button:not(.is-active) { font-size:0; }
  .portal-sidebar .brand { padding: 4px 0 24px; }
  .portal-sidebar .brand__logo { padding: 6px 5px; }
  .portal-sidebar nav button { grid-template-columns:1fr; justify-items:center; }
  .sidebar-status { font-size:0; justify-content:center; }
}
@media (max-width:720px) {
  .site-header { grid-template-columns:1fr auto; }
  .site-header .brand__logo { width: 165px; }
  .site-header nav { display:none; }
  .site-header__actions .button--ghost { display:none; }
  .hero { padding-top:45px; }
  .feature-grid,.metric-grid,.portal-grid,.card-grid { grid-template-columns:1fr; }
  .pricing-card,.download-card { grid-template-columns:1fr; }
  .portal-shell { display:block; }
  .portal-sidebar {
    position:static; width:100%; height:auto; display:block; padding:14px;
  }
  .portal-sidebar nav { grid-template-columns:repeat(4,1fr); }
  .portal-sidebar .brand,.sidebar-status { display:none; }
  .portal-topbar { padding:0 16px; }
  .portal-user div { display:none; }
  .portal-content { padding:16px; }
  .portal-hero { align-items:flex-start; flex-direction:column; }
}

.device-actions,.billing-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}

.recommended-download{display:grid;grid-template-columns:58px 1fr auto;align-items:center;gap:18px;margin-bottom:16px}.device-detail-modal{position:relative;width:min(680px,100%);max-height:85vh;overflow:auto;padding:30px;border-radius:20px;background:#fff}.device-history>div{display:grid;grid-template-columns:18px 1fr;gap:10px;padding:11px 0;border-bottom:1px solid var(--line)}.history-dot{width:9px;height:9px;margin-top:4px;border-radius:50%;background:var(--blue)}

.value-strip {
  max-width: 1192px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: -36px auto 22px;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}
.value-strip > div {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-right: 0;
  background: #fff;
  box-shadow: 0 16px 36px rgba(28,47,73,.07);
}
.value-strip > div:first-child { border-radius: 16px 0 0 16px; }
.value-strip > div:last-child { border-right: 1px solid var(--line); border-radius: 0 16px 16px 0; }
.value-strip strong { font-size: 14px; }
.value-strip strong::before { content: "✓"; color: var(--pink); margin-right: 8px; }
.value-strip span { color: var(--muted); font-size: 12px; line-height: 1.45; }

.problems-section { padding-top: 105px; }
.problems-section__heading { max-width: 800px; }
.problems-section__heading p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.problem-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.problem-grid article {
  min-height: 245px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg,#fff,#fbfcfe);
}
.problem-grid article > span { color: var(--pink); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.problem-grid h3 { margin: 38px 0 10px; font-size: 21px; letter-spacing: -.025em; }
.problem-grid p { margin: 0; color: var(--muted); line-height: 1.65; }
.problems-section__closing {
  margin-top: 28px;
  padding: 24px 28px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(120deg,var(--blue-dark),var(--blue));
  font-size: clamp(20px,2.4vw,30px);
  font-weight: 850;
  letter-spacing: -.035em;
  text-align: center;
}

@media (max-width: 900px) {
  .value-strip { grid-template-columns: repeat(2,1fr); margin-top: 0; }
  .value-strip > div { border-right: 1px solid var(--line); border-radius: 0 !important; }
  .value-strip > div:first-child { border-radius: 16px 0 0 0 !important; }
  .value-strip > div:nth-child(2) { border-radius: 0 16px 0 0 !important; }
  .value-strip > div:nth-child(3) { border-radius: 0 0 0 16px !important; }
  .value-strip > div:last-child { border-radius: 0 0 16px 0 !important; }
  .problem-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  .value-strip, .problem-grid { grid-template-columns: 1fr; }
  .value-strip > div { border-radius: 0 !important; }
  .value-strip > div:first-child { border-radius: 16px 16px 0 0 !important; }
  .value-strip > div:last-child { border-radius: 0 0 16px 16px !important; }
  .problem-grid article { min-height: auto; }
  .hero__actions .button { width: 100%; }
}

/* Sprint 1.3 · Ecosistema Carry On Suite */
.ecosystem-section {
  position: relative;
}
.ecosystem-section::before {
  content: "";
  position: absolute;
  top: 120px;
  right: 4%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236,0,140,.08), transparent 68%);
  pointer-events: none;
}
.ecosystem-section__heading p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.ecosystem-map {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, .82fr) 70px minmax(0, 1.65fr);
  align-items: center;
  gap: 0;
}
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.ecosystem-card {
  min-height: 190px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-content: start;
  gap: 16px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(28,47,73,.055);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ecosystem-card:hover {
  transform: translateY(-3px);
  border-color: rgba(236,0,140,.22);
  box-shadow: 0 18px 36px rgba(28,47,73,.09);
}
.ecosystem-card--primary {
  min-height: 330px;
  align-content: center;
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg, var(--blue-dark), var(--blue));
  box-shadow: 0 24px 55px rgba(23,52,95,.22);
}
.ecosystem-card--primary:hover {
  border-color: transparent;
  box-shadow: 0 28px 65px rgba(23,52,95,.27);
}
.ecosystem-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--pink);
  border-radius: 14px;
  background: #fff0f8;
  font-size: 17px;
  font-weight: 950;
}
.ecosystem-card--primary .ecosystem-card__icon {
  color: #fff;
  background: var(--pink);
}
.ecosystem-card small {
  display: block;
  margin-bottom: 8px;
  color: var(--pink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}
.ecosystem-card--primary small { color: rgba(255,255,255,.62); }
.ecosystem-card h3 {
  margin: 0 0 9px;
  font-size: 20px;
  letter-spacing: -.025em;
}
.ecosystem-card--primary h3 { font-size: 28px; }
.ecosystem-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.ecosystem-card--primary p { color: rgba(255,255,255,.72); }
.ecosystem-connector {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), rgba(236,0,140,.2));
}
.ecosystem-connector::before,
.ecosystem-connector::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink);
  transform: translateY(-50%);
}
.ecosystem-connector::before { left: -1px; }
.ecosystem-connector::after { right: -1px; }
.ecosystem-connector span {
  position: absolute;
  inset: auto 0 50%;
  height: 110px;
  border-right: 1px solid rgba(236,0,140,.28);
  transform: translateY(50%);
}
.ecosystem-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 18px 22px;
  border-left: 4px solid var(--pink);
  border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg, rgba(236,0,140,.065), rgba(236,0,140,.015));
}
.ecosystem-summary strong { white-space: nowrap; }
.ecosystem-summary span { color: var(--muted); line-height: 1.55; }

@media (max-width: 900px) {
  .ecosystem-map {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ecosystem-card--primary { min-height: 230px; }
  .ecosystem-connector {
    width: 2px;
    height: 34px;
    justify-self: center;
    background: linear-gradient(180deg, var(--pink), rgba(236,0,140,.2));
  }
  .ecosystem-connector::before,
  .ecosystem-connector::after {
    left: 50%;
    top: auto;
    transform: translateX(-50%);
  }
  .ecosystem-connector::before { top: -1px; }
  .ecosystem-connector::after { bottom: -1px; }
  .ecosystem-connector span { display: none; }
}

@media (max-width: 620px) {
  .ecosystem-grid { grid-template-columns: 1fr; }
  .ecosystem-card { min-height: auto; }
  .ecosystem-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .ecosystem-summary strong { white-space: normal; }
}

/* Sprint 1.4 · Confianza, planes, FAQ y cierre comercial */
.experience-section { padding-top: 55px; }
.experience-panel {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  gap: 48px;
  padding: 50px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 8%, rgba(236,0,140,.1), transparent 30%),
    linear-gradient(145deg,#fff,#f8fafc);
  box-shadow: 0 24px 60px rgba(28,47,73,.08);
}
.experience-panel__copy h2 { margin: 12px 0 20px; font-size: clamp(36px,4.5vw,56px); letter-spacing: -.05em; }
.experience-panel__copy > p { max-width: 650px; margin: 0 0 16px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.experience-panel__signature { display: flex; flex-direction: column; gap: 5px; margin-top: 30px; padding-left: 18px; border-left: 4px solid var(--pink); }
.experience-panel__signature span { color: var(--muted); }
.experience-values { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.experience-values article { padding: 22px; border: 1px solid rgba(227,232,239,.9); border-radius: 16px; background: rgba(255,255,255,.88); }
.experience-values article > span { color: var(--pink); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.experience-values h3 { margin: 24px 0 8px; font-size: 18px; }
.experience-values p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.pricing-section .section-heading p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 14px 35px rgba(28,47,73,.055); }
.plan-card--featured { border-color: rgba(236,0,140,.42); box-shadow: 0 22px 48px rgba(236,0,140,.12); transform: translateY(-8px); }
.plan-card__recommended { position: absolute; top: -13px; right: 22px; padding: 7px 11px; color: #fff; border-radius: 999px; background: var(--pink); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.plan-card__label { color: var(--pink); font-size: 11px; font-weight: 950; letter-spacing: .13em; }
.plan-card h3 { margin: 12px 0 10px; font-size: 25px; letter-spacing: -.035em; }
.plan-card > p { min-height: 74px; margin: 0; color: var(--muted); line-height: 1.65; }
.plan-card ul { display: grid; gap: 11px; margin: 24px 0 28px; padding: 0; list-style: none; }
.plan-card li { color: var(--ink); font-size: 14px; }
.plan-card li::before { content: "✓"; margin-right: 9px; color: var(--pink); font-weight: 900; }
.plan-card .button { margin-top: auto; }
.pricing-help { margin: 30px 0 0; color: var(--muted); text-align: center; }

.faq-section { padding-bottom: 55px; }
.faq-list { max-width: 900px; display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.faq-list details[open] { border-color: rgba(236,0,140,.28); box-shadow: 0 12px 28px rgba(28,47,73,.06); }
.faq-list summary { position: relative; padding: 20px 54px 20px 22px; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 50%; right: 22px; color: var(--pink); font-size: 23px; transform: translateY(-50%); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: 0; padding: 0 22px 22px; color: var(--muted); line-height: 1.7; }

.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 45px; margin-bottom: 80px; padding: 48px; color: #fff; border-radius: 26px; background: linear-gradient(125deg,var(--blue-dark),var(--blue) 64%,#8b1c72); box-shadow: 0 28px 65px rgba(23,52,95,.22); }
.final-cta .eyebrow { color: rgba(255,255,255,.65); }
.final-cta h2 { max-width: 760px; margin: 10px 0 12px; font-size: clamp(34px,4vw,52px); letter-spacing: -.045em; }
.final-cta p { max-width: 760px; margin: 0; color: rgba(255,255,255,.72); line-height: 1.7; }
.final-cta__actions { display: flex; flex: 0 0 auto; gap: 10px; }
.final-cta .button--ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.site-footer__message { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; text-align: right; }
.site-footer__message strong { color: var(--ink); font-size: 13px; }
.site-footer__message span { font-size: 12px; }

.button { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); border-color: rgba(236,0,140,.32); }
.button--primary:hover { border-color: #c60077; background: #c60077; box-shadow: 0 10px 24px rgba(236,0,140,.22); }

@media (max-width: 900px) {
  .experience-panel { grid-template-columns: 1fr; padding: 36px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .plan-card--featured { transform: none; }
  .plan-card > p { min-height: 0; }
  .final-cta { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
  .experience-panel { padding: 26px 22px; }
  .experience-values { grid-template-columns: 1fr; }
  .final-cta { margin-bottom: 40px; padding: 30px 22px; }
  .final-cta__actions { width: 100%; flex-direction: column; }
  .final-cta__actions .button { width: 100%; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 20px; }
  .site-footer__message { align-items: flex-start; text-align: left; }
}

/* Sprint 1.5 · Flujo de demostración y CTA funcionales */
.button {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(236,0,140,.28);
  box-shadow: 0 8px 22px rgba(21,32,51,.09);
}
.button--primary:hover:not(:disabled) {
  border-color: #d5007d;
  background: #d5007d;
  box-shadow: 0 12px 28px rgba(236,0,140,.22);
}
.button:focus-visible,
.site-header nav a:focus-visible,
.auth-links button:focus-visible {
  outline: 3px solid rgba(236,0,140,.24);
  outline-offset: 3px;
}
.site-header nav a {
  position: relative;
  padding: 8px 0;
  transition: color .18s ease;
}
.site-header nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}
.site-header nav a:hover { color: var(--ink); }
.site-header nav a:hover::after { transform: scaleX(1); }
.demo-intro {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(236,0,140,.16);
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7fb, #fff);
}
.demo-intro strong { display: block; margin-bottom: 6px; }
.demo-intro p,
.form-privacy {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.form-privacy { margin-top: 14px; text-align: center; }
.auth-links--center { justify-content: center; }
.auth-modal textarea { resize: vertical; min-height: 96px; }

/* Sprint 1.5 · Flujo de demostración y CTA funcionales */
.button {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(236,0,140,.28);
  box-shadow: 0 8px 22px rgba(21,32,51,.09);
}
.button--primary:hover:not(:disabled) {
  border-color: #d5007d;
  background: #d5007d;
  box-shadow: 0 12px 28px rgba(236,0,140,.22);
}
.button:focus-visible,
.site-header nav a:focus-visible,
.auth-links button:focus-visible {
  outline: 3px solid rgba(236,0,140,.24);
  outline-offset: 3px;
}
.site-header nav a {
  position: relative;
  padding: 8px 0;
  transition: color .18s ease;
}
.site-header nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}
.site-header nav a:hover { color: var(--ink); }
.site-header nav a:hover::after { transform: scaleX(1); }
.demo-intro {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(236,0,140,.16);
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7fb, #fff);
}
.demo-intro strong { display: block; margin-bottom: 6px; }
.demo-intro p,
.form-privacy {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.form-privacy { margin-top: 14px; text-align: center; }
.auth-links--center { justify-content: center; }
.auth-modal textarea { resize: vertical; min-height: 96px; }

/* Sprint 2.1 · Acceso y dashboard del Portal */
.auth-modal--split {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  padding: 0;
  overflow: hidden;
}
.auth-brand-panel {
  min-height: 590px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: 42px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 10%, rgba(236,0,140,.34), transparent 33%),
    linear-gradient(145deg, var(--blue-dark), #102844 68%, #0c1f36);
}
.auth-brand-panel .brand__logo {
  width: 220px;
  padding: 8px 12px;
  border-radius: 14px;
  background: #fff;
}
.auth-brand-panel .eyebrow { color: #ff8dcb; }
.auth-brand-panel h3 { max-width: 320px; margin: 12px 0; font-size: 34px; line-height: 1.04; letter-spacing: -.045em; }
.auth-brand-panel p { max-width: 340px; margin: 0; color: rgba(255,255,255,.72); line-height: 1.7; }
.auth-brand-panel ul { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.auth-brand-panel li { color: rgba(255,255,255,.88); font-size: 13px; }
.auth-brand-panel li::before { content: "✓"; margin-right: 10px; color: #ff55b7; font-weight: 900; }
.auth-brand-panel > small { color: rgba(255,255,255,.52); line-height: 1.5; }
.auth-form-panel { align-self: center; padding: 48px 54px; }
.auth-mobile-logo { display: none; }
.auth-modal--split .modal-close { z-index: 2; }
.auth-modal--split .auth-modal__heading { margin: 0 0 26px; }
.auth-modal--split .auth-modal__heading h2 { font-size: 34px; letter-spacing: -.04em; }
.auth-modal--split .form input,
.auth-modal--split .form textarea { min-height: 48px; }
.auth-modal--split .form textarea { min-height: 110px; }
.auth-modal--split .auth-links { margin-top: 18px; }

.portal-hero--dashboard {
  padding: 30px 32px;
  border: 1px solid rgba(236,0,140,.12);
  background: linear-gradient(125deg,#fff,#fff7fb 56%,#f6f8ff);
}
.portal-hero--dashboard h1 { margin-bottom: 8px; }
.portal-health {
  min-width: 190px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(28,47,73,.08);
}
.portal-health div,.portal-health strong,.portal-health small { display: block; }
.portal-health strong { font-size: 13px; }
.portal-health small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.portal-health.is-online { border: 1px solid #d6efdf; }
.portal-health.is-offline { border: 1px solid #f4d4d0; }
.account-summary-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
  margin: 16px 0;
}
.summary-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(28,47,73,.045);
}
.summary-card--featured {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg,var(--blue-dark),var(--blue));
}
.summary-card--featured .eyebrow { color: #ff8dcb; }
.summary-card--featured p { color: rgba(255,255,255,.72); }
.summary-card--featured .text-button { color: #fff; }
.summary-card__top { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.summary-card h2 { margin: 9px 0; font-size: 27px; }
.summary-card__value { display: block; margin: 13px 0 8px; font-size: 25px; text-transform: capitalize; }
.summary-card p { min-height: 42px; margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.summary-card .text-button { margin-top: auto; }
.quick-actions {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
  margin: 0 0 16px;
}
.quick-actions > button {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 13px;
  padding: 17px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.quick-actions > button:hover { transform: translateY(-2px); border-color: rgba(236,0,140,.25); box-shadow: 0 12px 28px rgba(28,47,73,.075); }
.quick-actions > button > span { width: 44px; height: 44px; display: grid; place-items: center; color: var(--pink); border-radius: 12px; background: #fff0f8; font-weight: 900; }
.quick-actions strong,.quick-actions small { display: block; }
.quick-actions strong { font-size: 13px; }
.quick-actions small { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.4; }

@media (max-width: 1120px) {
  .account-summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .auth-modal--split { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
  .auth-brand-panel { display: none; }
  .auth-form-panel { padding: 38px 26px 30px; }
  .auth-mobile-logo { display: block; margin-bottom: 28px; }
  .auth-mobile-logo .brand__logo { width: 190px; }
  .account-summary-grid,.quick-actions { grid-template-columns: 1fr; }
  .portal-health { min-width: 0; }
}

/* Sprint 2.2 · Licencias, descargas y soporte */
.page-heading > div > p { max-width: 680px; margin: 8px 0 0; color: var(--muted); line-height: 1.6; }
.pill--warning { color: #8a5200; background: #fff1cf; }
.pill--danger { color: #9d1835; background: #ffe4eb; }
.license-overview { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(260px,.75fr); gap:18px; margin-bottom:18px; }
.license-overview__main { padding:28px; }
.license-overview__heading { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; }
.license-key { display:block; margin:18px 0 8px; font-size:clamp(18px,2.2vw,27px); letter-spacing:.045em; overflow-wrap:anywhere; }
.details-list--spacious { margin-top:22px; }
.details-list--spacious > div { padding:13px 0; }
.license-note { margin-top:20px; padding:14px 16px; color:#6b4660; border:1px solid #f6d5e8; border-radius:13px; background:#fff7fb; font-size:12px; line-height:1.55; }
.license-help-card { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; }
.license-help-card__icon,.empty-state-card__icon { width:48px; height:48px; display:grid; place-items:center; border-radius:14px; color:var(--pink); background:#fff0f8; font-weight:900; font-size:19px; }
.license-help-card p { margin-bottom:20px; }
.empty-state-card { display:flex; flex-direction:column; align-items:center; text-align:center; padding:42px 28px; margin-bottom:18px; }
.responsive-table { width:100%; overflow-x:auto; }
.download-hero-card { grid-template-columns:76px minmax(0,1fr) auto; padding:30px; border:1px solid rgba(236,0,140,.16); background:linear-gradient(135deg,#fff 0%,#fff7fb 100%); }
.download-hero-card .download-mark { width:68px; height:68px; border-radius:18px; color:#fff; background:linear-gradient(135deg,var(--pink),#b5006c); box-shadow:0 15px 30px rgba(236,0,140,.22); }
.download-hero-card__content h2 { margin:5px 0 7px; font-size:25px; }
.download-hero-card__content > p { margin:0; color:var(--muted); }
.download-meta { display:flex; flex-wrap:wrap; gap:10px 24px; margin:19px 0 0; }
.download-meta > div { min-width:120px; }
.download-meta dt { color:var(--muted); font-size:10px; text-transform:uppercase; letter-spacing:.08em; }
.download-meta dd { margin:4px 0 0; font-weight:800; font-size:12px; }
.download-hero-card__action { display:flex; flex-direction:column; align-items:center; gap:8px; min-width:150px; }
.download-hero-card__action small { color:var(--muted); font-size:10px; }
.release-notes { margin-top:16px; font-size:12px; }
.release-notes summary { color:var(--pink); cursor:pointer; font-weight:800; }
.release-notes p { max-width:700px; line-height:1.65; }
.section-heading { margin:28px 0 14px; }
.section-heading h2 { margin:5px 0 0; }
.download-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.download-version-card { display:flex; flex-direction:column; }
.download-version-card .button { margin-top:auto; }
.download-platform-icon { width:42px; height:42px; display:grid; place-items:center; border-radius:12px; color:var(--pink); background:#fff0f8; font-weight:900; }
.download-security-note { display:flex; gap:14px; align-items:flex-start; margin-top:18px; padding:17px 20px; border:1px solid #dcefe6; border-radius:15px; background:#f6fffa; }
.download-security-note > span { width:30px; height:30px; display:grid; place-items:center; flex:0 0 auto; color:#16734b; border-radius:50%; background:#dff7eb; font-weight:900; }
.download-security-note p { margin:4px 0 0; color:var(--muted); font-size:12px; line-height:1.5; }
.support-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-bottom:18px; }
.support-option { display:flex; flex-direction:column; align-items:flex-start; }
.support-option__icon { width:46px; height:46px; display:grid; place-items:center; border-radius:13px; color:var(--pink); background:#fff0f8; font-weight:900; }
.support-option > div { flex:1; }
.support-option h2 { margin-top:16px; }
.support-option .button { margin-top:16px; }
.support-workspace { align-items:start; }
.support-list { max-height:420px; overflow:auto; }
@media (max-width: 900px) {
  .license-overview,.support-options { grid-template-columns:1fr; }
  .download-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .download-hero-card { grid-template-columns:62px minmax(0,1fr); }
  .download-hero-card__action { grid-column:1/-1; align-items:stretch; }
}
@media (max-width: 620px) {
  .download-grid { grid-template-columns:1fr; }
  .download-hero-card { grid-template-columns:1fr; padding:22px; }
  .download-meta { display:grid; grid-template-columns:1fr 1fr; }
  .license-overview__heading { flex-direction:column; }
}


/* ============================================================
   Carry On Suite — logo integrado
   ============================================================ */

.portal-sidebar .brand__logo {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.auth-brand-panel .brand__logo {
  width: 220px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

@media (max-width:1000px) {
  .portal-sidebar .brand__logo {
    padding: 0;
  }
}
