:root {
  --blue: #1288ff;
  --blue-2: #00b8ff;
  --blue-dark: #0759ad;
  --black: #05070b;
  --graphite: #111722;
  --graphite-2: #1b2431;
  --metal: #8d99a8;
  --line: #dce3ec;
  --muted: #667386;
  --bg: #f4f7fb;
  --white: #ffffff;
  --success: #16a36a;
  --warning: #d38b00;
  --danger: #d93f3f;
  --radius: 8px;
  --shadow: 0 18px 55px rgba(7, 18, 35, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--graphite);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 7, 11, 0.9);
  color: var(--white);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), #08223d);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 8px 30px rgba(18, 136, 255, 0.35);
}

.brand-logo-wrap {
  display: inline-flex;
  width: 210px;
  height: 48px;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  border-radius: 6px;
  background: transparent;
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.auth-card .brand-logo-wrap,
.sidebar-logo-wrap {
  width: 230px;
  height: 54px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1;
  letter-spacing: 0;
}

.brand small {
  margin-top: 3px;
  color: #b9c4d3;
  font-size: 0.74rem;
}

.brand-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  color: #cbd6e4;
  font-size: 0.94rem;
}

.site-nav a:hover {
  color: var(--white);
}

.header-actions,
.hero-actions,
.topbar-actions,
.table-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 700;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(18, 136, 255, 0.27);
}

.btn-accent {
  background: linear-gradient(135deg, #ff7a1a, #e84d12);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(255, 122, 26, 0.26);
}

.btn-secondary {
  background: var(--white);
  color: var(--graphite);
}

.btn-ghost {
  border-color: var(--line);
  background: var(--white);
  color: var(--graphite);
}

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.btn-large {
  min-height: 48px;
  padding: 0 20px;
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100vh - 76px));
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 42px;
  align-items: center;
  padding: 54px clamp(18px, 6vw, 86px) 58px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 28%, rgba(18, 136, 255, 0.24), transparent 32%),
    linear-gradient(135deg, #05070b 0%, #0f1723 52%, #111827 100%);
  color: var(--white);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--blue-2), #d9e5f2);
}

.hero-content {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 790px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 18px 0 18px;
  font-size: clamp(2.35rem, 5.25vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero p {
  max-width: 650px;
  margin: 0 0 30px;
  color: #cbd6e4;
  font-size: 1.12rem;
  line-height: 1.7;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-metrics span {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #d9e3ef;
}

.hero-metrics strong {
  color: var(--white);
}

.hero-visual {
  position: relative;
  min-height: 390px;
}

.monitor {
  position: absolute;
  inset: 26px 0 auto auto;
  width: min(100%, 560px);
  min-height: 365px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(27, 36, 49, 0.95), rgba(6, 11, 18, 0.96));
  box-shadow: var(--shadow);
}

.monitor-bar {
  height: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.monitor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 22px;
}

.monitor-grid span {
  height: 86px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(18, 136, 255, 0.28), rgba(255, 255, 255, 0.05));
}

.monitor-chart {
  height: 82px;
  margin: 0 22px 22px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, transparent 18%, rgba(0, 184, 255, 0.48) 19%, transparent 20%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 48px),
    #0c1420;
}

.floating-status {
  position: absolute;
  right: 22px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.section {
  padding: 78px clamp(18px, 6vw, 86px);
}

.section-dark {
  background: linear-gradient(135deg, var(--black), var(--graphite));
  color: var(--white);
}

.section-heading {
  min-width: 0;
  max-width: 760px;
  margin-bottom: 34px;
}

.section-copy {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.section-heading h2,
.contact-section h2 {
  margin: 10px 0 0;
  font-size: clamp(1.8rem, 4vw, 3.05rem);
  line-height: 1.08;
  overflow-wrap: break-word;
}

.cards-grid,
.pricing-grid,
.benefits-grid,
.stats-grid {
  display: grid;
  gap: 18px;
}

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

.card,
.benefits-grid article,
.pricing-card,
.auth-card,
.panel,
.contact-form,
.table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(7, 18, 35, 0.08);
}

.card,
.benefits-grid article,
.pricing-card,
.panel {
  padding: 22px;
}

.system-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.compact-system-card {
  grid-column: span 3;
}

.systems-summary {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.systems-summary h3,
.systems-summary p {
  margin: 0;
}

.systems-summary h3 {
  margin-top: 8px;
  font-size: 1.45rem;
}

.systems-summary p {
  max-width: 680px;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.systems-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.client-systems-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.client-system-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.42fr) minmax(0, 0.58fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(7, 18, 35, 0.08);
}

.client-system-media {
  min-height: 100%;
  background: #0b111c;
}

.client-system-media .system-media {
  height: 100%;
  min-height: 300px;
  border: 0;
  border-radius: 0;
}

.client-system-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
}

.client-system-body h3,
.client-system-body p {
  margin: 0;
}

.client-system-body p {
  color: var(--muted);
  line-height: 1.6;
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-chips span {
  border: 1px solid #d7e5f4;
  border-radius: 999px;
  background: #f4f9ff;
  color: var(--blue-dark);
  padding: 7px 10px;
  font-size: 0.82rem;
  font-weight: 800;
}

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

.system-meta-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 12px;
}

.system-meta-grid strong,
.system-meta-grid span {
  display: block;
}

.system-meta-grid strong {
  margin-bottom: 6px;
  color: #516071;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.system-meta-grid span {
  color: var(--graphite);
  line-height: 1.4;
}

.empty-state {
  display: grid;
  min-height: 280px;
  place-items: center;
  align-content: center;
  gap: 14px;
  text-align: center;
}

.empty-state h3,
.empty-state p {
  margin: 0;
}

.empty-state p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.6;
}

.purchase-layout {
  display: grid;
  gap: 18px;
}

.license-renew-list,
.license-shop-grid {
  display: grid;
  gap: 12px;
}

.license-renew-card,
.license-shop-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 14px;
}

.license-renew-card strong,
.license-renew-card span,
.license-shop-card strong,
.license-shop-card span {
  display: block;
}

.license-renew-card span,
.license-shop-card span {
  color: var(--muted);
  line-height: 1.45;
}

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

.system-media {
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  border: 1px solid #d7e2ef;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(18, 136, 255, 0.18), transparent 42%),
    linear-gradient(145deg, #0b111c, #1a2431);
}

.system-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.system-image-placeholder {
  display: grid;
  gap: 10px;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  text-align: center;
}

.system-image-placeholder i {
  width: 42px;
  height: 42px;
  color: var(--blue-2);
}

.system-image-placeholder span {
  padding: 0 14px;
}

.product-showcase {
  position: relative;
  display: grid;
  grid-column: span 6;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(10, 21, 38, 0.14);
  border-radius: 8px;
  background: #070b12;
  box-shadow: 0 24px 70px rgba(7, 18, 35, 0.18);
}

.product-showcase::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.product-cyan::before {
  background: linear-gradient(135deg, rgba(0, 232, 255, 0.18), transparent 54%);
}

.product-orange::before {
  background: linear-gradient(135deg, rgba(255, 110, 45, 0.22), transparent 54%);
}

.product-blue::before {
  background: linear-gradient(135deg, rgba(18, 136, 255, 0.22), transparent 54%);
}

.product-image-wrap {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #080d16;
}

.product-image {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.product-image-wrap::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent 48%, rgba(7, 11, 18, 0.92));
}

.product-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 7, 11, 0.72);
  color: var(--white);
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.product-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  color: var(--white);
}

.product-body h3 {
  margin: 12px 0 12px;
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.03;
}

.product-body p {
  margin: 0;
  color: #cbd6e4;
  line-height: 1.65;
}

.product-body .tag {
  background: rgba(255, 255, 255, 0.1);
  color: #eaf2fb;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 22px 0;
}

.product-gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  object-fit: cover;
}

.hero-sales {
  min-height: min(820px, calc(100vh - 76px));
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 56px;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.98) 0%, rgba(7, 15, 27, 0.92) 46%, rgba(7, 15, 27, 0.55) 100%),
    url("assets/products/pdv-mercado-01.png") center right / cover no-repeat;
}

.hero-sales h1 {
  max-width: 680px;
  font-size: clamp(2.55rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.hero-sales p {
  max-width: 620px;
}

.product-hero-visual {
  display: grid;
  min-height: 520px;
  align-content: center;
  gap: 16px;
}

.hero-product-card,
.hero-product-row img {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.hero-product-main {
  position: relative;
  transform: rotate(-1deg);
}

.hero-product-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-product-card span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  border-radius: 999px;
  background: rgba(0, 184, 255, 0.16);
  color: var(--white);
  padding: 9px 13px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.hero-product-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0 28px;
}

.hero-product-row img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-sales .floating-status {
  right: auto;
  bottom: 18px;
  left: 42px;
}

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

.product-card-pro {
  grid-column: span 2;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  background: #070b12;
}

.product-card-pro .product-image-wrap {
  min-height: auto;
  aspect-ratio: 16 / 10;
}

.product-card-pro .product-image {
  min-height: 0;
  aspect-ratio: 16 / 10;
  object-position: left center;
}

.product-card-pro .product-image-wrap::after {
  background: linear-gradient(180deg, transparent 48%, rgba(7, 11, 18, 0.96));
}

.product-card-pro .product-body {
  justify-content: flex-start;
  padding: 24px;
}

.product-card-pro .product-body h3 {
  font-size: clamp(1.55rem, 2vw, 2rem);
}

.product-card-pro .product-gallery {
  margin: 18px 0;
}

.product-card-pro .btn {
  width: 100%;
}

.sales-hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100vh - 76px));
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: 54px;
  align-items: center;
  overflow: hidden;
  padding: 64px clamp(18px, 6vw, 86px);
  background:
    radial-gradient(circle at 76% 18%, rgba(18, 136, 255, 0.18), transparent 34%),
    radial-gradient(circle at 90% 78%, rgba(255, 122, 26, 0.16), transparent 34%),
    linear-gradient(135deg, #04070c 0%, #0a111d 54%, #111827 100%);
  color: var(--white);
}

.sales-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--blue), #ff7a1a);
}

.sales-hero-content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.sales-hero h1 {
  max-width: 760px;
  margin: 18px 0;
  font-size: clamp(2.45rem, 5vw, 4.9rem);
  line-height: 1;
}

.sales-hero p {
  max-width: 720px;
  margin: 0 0 30px;
  color: #d4deea;
  font-size: 1.12rem;
  line-height: 1.68;
}

.qualitative-badges {
  gap: 10px;
}

.qualitative-badges span {
  font-weight: 800;
}

.sales-hero-mockup {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.mockup-main,
.showcase-card,
.sales-system-card,
.central-grid article,
.sales-benefits article {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.mockup-main {
  overflow: hidden;
  transform: rotate(-1deg);
}

.mockup-main img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.mockup-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.mockup-strip span {
  display: grid;
  gap: 7px;
  min-height: 82px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #eaf2fb;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.mockup-strip i {
  color: var(--blue-2);
}

.sales-section {
  padding: 86px clamp(18px, 6vw, 86px);
  background: #f4f7fb;
}

.sales-section:nth-of-type(even) {
  background: #eef3f9;
}

.sales-section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.sales-section-heading h2 {
  margin: 10px 0 0;
  color: var(--graphite);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
}

.sales-section-heading p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.sales-systems-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.sales-system-card {
  display: grid;
  overflow: hidden;
  background: #070b12;
  color: var(--white);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.sales-system-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 90px rgba(7, 18, 35, 0.22);
}

.sales-system-media {
  min-height: 250px;
  overflow: hidden;
}

.sales-system-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  object-position: left center;
}

.sales-system-body {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.sales-system-body > span {
  color: var(--blue-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sales-system-body h3,
.sales-system-body h4,
.sales-system-body p {
  margin: 0;
}

.sales-system-body h3 {
  font-size: 1.15rem;
}

.sales-system-body h4 {
  font-size: 1.45rem;
  line-height: 1.12;
}

.sales-system-body p,
.sales-system-body small {
  color: #cbd6e4;
  line-height: 1.6;
}

.sales-system-body ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 4px 0;
  padding: 0;
  list-style: none;
}

.sales-system-body li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #eaf2fb;
  font-size: 0.9rem;
  font-weight: 700;
}

.sales-system-body li i {
  width: 16px;
  min-width: 16px;
  color: #ff9a3d;
}

.action-section,
.plans-section,
.central-section {
  background: linear-gradient(135deg, #05070b, #111722) !important;
  color: var(--white);
}

.action-section .sales-section-heading h2,
.plans-section .sales-section-heading h2,
.central-section .sales-section-heading h2,
.action-section .sales-section-heading p,
.plans-section .sales-section-heading p,
.central-section .sales-section-heading p {
  color: var(--white) !important;
}

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

.showcase-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.055);
  color: var(--white);
}

.showcase-media {
  min-height: 260px;
  background: #05070b;
}

.showcase-card img,
.showcase-card video,
.showcase-card iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  object-fit: cover;
  display: block;
}

.showcase-card > div:last-child {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 28px;
}

.showcase-card h3,
.showcase-card p {
  margin: 0;
}

.showcase-card p {
  color: #cbd6e4;
  line-height: 1.65;
}

.sales-benefits,
.central-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.central-grid article {
  background: rgba(255, 255, 255, 0.055);
  color: var(--white);
}

.central-grid p,
.central-grid h3 {
  color: inherit;
}

.sales-pricing .pricing-card {
  position: relative;
}

.hero-upgrade {
  min-height: min(820px, calc(100vh - 76px));
  grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.05fr);
  background:
    linear-gradient(120deg, rgba(4, 7, 12, 0.94), rgba(4, 7, 12, 0.78)),
    radial-gradient(circle at 75% 22%, rgba(18, 136, 255, 0.34), transparent 32%),
    radial-gradient(circle at 90% 78%, rgba(255, 122, 26, 0.22), transparent 32%),
    #05070b;
}

.hero-upgrade h1 {
  max-width: 820px;
  font-size: clamp(2.65rem, 5.6vw, 5.55rem);
  letter-spacing: 0;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 12px;
  margin-top: 18px;
  color: #d9e6f5;
  font-weight: 800;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-proof i {
  width: 18px;
  color: #ff9a3d;
}

.hero-command-center {
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.command-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #d7e5f4;
  font-size: 0.9rem;
}

.command-top strong {
  color: var(--white);
}

.command-screen {
  display: grid;
  grid-template-columns: 1fr;
  padding: 18px;
}

.command-preview {
  overflow: hidden;
  border-radius: 8px;
  background: #05070b;
}

.command-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left center;
}

.hero-command-center .mockup-strip {
  grid-template-columns: repeat(4, 1fr);
  padding: 0 18px 18px;
}

.systems-sales-section {
  background:
    radial-gradient(circle at 15% 20%, rgba(18, 136, 255, 0.08), transparent 30%),
    #f6f9fd;
}

.action-premium {
  background:
    radial-gradient(circle at 17% 14%, rgba(18, 136, 255, 0.28), transparent 28%),
    radial-gradient(circle at 86% 74%, rgba(255, 122, 26, 0.18), transparent 30%),
    linear-gradient(135deg, #03060a 0%, #09111d 48%, #121824 100%) !important;
  color: var(--white);
}

.action-premium .sales-section-heading {
  max-width: 980px;
}

.action-premium .sales-section-heading h2 {
  color: var(--white) !important;
}

.action-premium .sales-section-heading p {
  max-width: 760px;
  color: #cbd6e4 !important;
}

.action-premium .eyebrow {
  color: var(--blue-2);
}

.showcase-premium {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 20px;
  align-items: stretch;
}

.showcase-featured,
.showcase-list-item {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(4, 7, 12, 0.82);
  color: var(--white);
  box-shadow: 0 28px 85px rgba(0, 0, 0, 0.26);
}

.showcase-featured {
  display: grid;
  grid-template-rows: minmax(360px, auto) auto;
  background: linear-gradient(180deg, rgba(14, 22, 34, 0.95), rgba(4, 7, 12, 0.98));
}

.showcase-featured-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(18, 136, 255, 0.16), rgba(0, 0, 0, 0)),
    #000;
}

.showcase-featured-media::before {
  position: absolute;
  z-index: 1;
  top: 16px;
  left: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(5, 7, 11, 0.72);
  color: #eaf2fb;
  content: "Demo COUTEX";
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.showcase-featured-media img,
.showcase-featured-media video,
.showcase-featured-media iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.showcase-featured-copy {
  display: grid;
  gap: 12px;
  padding: 30px;
  background:
    linear-gradient(90deg, rgba(18, 136, 255, 0.08), transparent),
    rgba(4, 7, 12, 0.96);
}

.showcase-featured-copy h3,
.showcase-list-item h3 {
  color: var(--white);
}

.showcase-featured-copy h3,
.showcase-featured-copy p,
.showcase-list-item h3,
.showcase-list-item p {
  margin: 0;
}

.showcase-featured-copy h3 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.08;
}

.showcase-featured-copy p,
.showcase-list-item p {
  color: #cbd6e4;
  line-height: 1.6;
}

.showcase-list {
  display: grid;
  gap: 14px;
}

.showcase-list-item {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  min-height: 150px;
  background: rgba(4, 7, 12, 0.78);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.showcase-list-item:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 136, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.showcase-list-item > div:last-child {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 16px;
}

.showcase-thumb {
  min-height: 150px;
  background: #05070b;
}

.showcase-thumb img,
.showcase-thumb video,
.showcase-thumb iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 150px;
  border: 0;
  object-fit: cover;
}

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

.demo-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(4, 7, 12, 0.82);
  color: var(--white);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.23);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.demo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 136, 255, 0.42);
  background: rgba(8, 14, 23, 0.94);
}

.demo-card-media {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  color: var(--white);
  cursor: pointer;
}

.demo-card-media::before {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(5, 7, 11, 0.72);
  color: #eaf2fb;
  content: "Demo";
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.demo-card-media img,
.demo-card-media video,
.demo-card-media iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  object-fit: cover;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.demo-card:hover .demo-card-media img,
.demo-card:hover .demo-card-media video,
.demo-card:hover .demo-card-media iframe {
  transform: scale(1.025);
  filter: brightness(0.82) saturate(1.08);
}

.demo-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(5, 7, 11, 0.82);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.36);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(12px);
}

.demo-play i {
  width: 28px;
  height: 28px;
  margin-left: 3px;
  fill: currentColor;
}

.demo-modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 5, 9, 0.78);
  backdrop-filter: blur(10px);
}

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

.demo-modal-dialog {
  width: min(1040px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #05070b;
  color: var(--white);
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.58);
}

.demo-modal-dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.demo-modal-dialog h3,
.demo-modal-dialog p {
  margin: 0;
}

.demo-modal-dialog h3 {
  margin-top: 4px;
}

.demo-modal-player {
  aspect-ratio: 16 / 9;
  background: #000;
}

.demo-modal-player iframe,
.demo-modal-player video,
.demo-modal-player img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}

.demo-modal-dialog > p {
  padding: 18px 20px 22px;
  color: #cbd6e4;
  line-height: 1.6;
}

.demo-card > div:last-child {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.demo-card span {
  color: var(--blue-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-card h3,
.demo-card p {
  margin: 0;
}

.demo-card h3 {
  color: var(--white);
  font-size: 1.15rem;
}

.demo-card p {
  color: #cbd6e4;
  font-size: 0.92rem;
  line-height: 1.55;
}

.demo-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.91fr) minmax(300px, 0.91fr);
  gap: 20px;
  align-items: stretch;
}

.action-premium {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    radial-gradient(ellipse at 22% 8%, rgba(18, 136, 255, 0.24), transparent 42%),
    radial-gradient(ellipse at 86% 92%, rgba(255, 90, 31, 0.16), transparent 46%),
    linear-gradient(135deg, #03060a 0%, #07111d 45%, #0b0f16 100%) !important;
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
}

.action-premium::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.04) 45%, transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 36%);
  content: "";
  pointer-events: none;
}

.demo-system-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(245px, auto) 1fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(3, 7, 12, 0.86);
  color: var(--white);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  backdrop-filter: blur(16px);
}

.demo-system-card.featured {
  grid-template-rows: minmax(360px, auto) 1fr;
}

.demo-system-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  content: "";
  opacity: 0.9;
}

.demo-system-card:hover {
  border-color: rgba(var(--accent-rgb), 0.46);
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.42),
    0 0 54px rgba(var(--accent-rgb), 0.18);
  transform: translateY(-7px);
}

.demo-system-media {
  position: relative;
  display: block;
  width: 100%;
  min-height: 245px;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: #020408;
  color: var(--white);
  cursor: pointer;
}

.demo-system-card.featured .demo-system-media {
  min-height: 360px;
}

.demo-system-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: left center;
  filter: saturate(1.08) contrast(1.02);
  transition: transform 0.32s ease, filter 0.32s ease;
}

.demo-system-card:hover .demo-system-media img {
  filter: saturate(1.18) contrast(1.06) brightness(0.94);
  transform: scale(1.045);
}

.demo-media-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 7, 12, 0.06), rgba(3, 7, 12, 0.56)),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.2), transparent 45%);
  pointer-events: none;
}

.demo-badge-row {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.demo-badge-row strong {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  background: rgba(3, 7, 12, 0.68);
  color: #f5f8ff;
  padding: 0 10px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.demo-system-card .demo-play {
  border-color: rgba(var(--accent-rgb), 0.45);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)),
    rgba(3, 7, 12, 0.72);
  color: var(--accent);
  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.42),
    0 0 36px rgba(var(--accent-rgb), 0.26);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.demo-system-card .demo-play::after {
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: 22px;
  content: "";
  animation: demoPulse 2.6s ease-out infinite;
}

.demo-system-card:hover .demo-play {
  background: rgba(3, 7, 12, 0.86);
  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.44),
    0 0 46px rgba(var(--accent-rgb), 0.36);
  transform: translate(-50%, -50%) scale(1.06);
}

@keyframes demoPulse {
  0% {
    opacity: 0.8;
    transform: scale(0.92);
  }

  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

.demo-system-body {
  display: grid;
  gap: 15px;
  padding: 24px;
  background:
    linear-gradient(135deg, var(--accent-soft), transparent 42%),
    rgba(3, 7, 12, 0.92);
}

.demo-system-card.featured .demo-system-body {
  padding: 28px;
}

.demo-kicker {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.demo-system-body h3,
.demo-system-body p {
  margin: 0;
}

.demo-system-body h3 {
  color: var(--white);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
}

.demo-system-body p {
  color: #cbd6e4;
  font-size: 0.98rem;
  line-height: 1.58;
}

.demo-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo-feature-list li {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #eef6ff;
  padding: 9px 10px;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
}

.demo-feature-list i {
  width: 17px;
  min-width: 17px;
  color: var(--accent);
}

.demo-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 2px;
}

.demo-system-card:not(.featured) .demo-card-actions {
  grid-template-columns: 1fr;
}

.demo-card-actions .btn {
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.demo-primary-cta {
  border: 1px solid rgba(var(--accent-rgb), 0.58);
  background: linear-gradient(135deg, var(--accent), rgba(var(--accent-rgb), 0.68));
  color: #041018;
  box-shadow: 0 16px 36px rgba(var(--accent-rgb), 0.18);
}

.demo-secondary-cta {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.055);
  color: #eef6ff;
}

.demo-primary-cta:hover,
.demo-secondary-cta:hover {
  transform: translateY(-1px);
}

.plan-ribbon {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: rgba(255, 122, 26, 0.16);
  color: #ffb071;
  padding: 7px 10px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sales-contact {
  background:
    radial-gradient(circle at 18% 20%, rgba(18, 136, 255, 0.16), transparent 34%),
    linear-gradient(135deg, #05070b, #101722);
  color: var(--white);
}

.sales-contact h2,
.sales-contact p {
  color: var(--white);
}

.card-icon,
.benefits-grid i,
.metric-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: #eaf5ff;
  color: var(--blue);
}

.card h3,
.pricing-card h3,
.benefits-grid h3,
.panel h3 {
  margin: 18px 0 8px;
}

.card p,
.pricing-card p,
.benefits-grid p,
.panel p {
  color: var(--muted);
  line-height: 1.6;
}

.panel > input,
.panel > select,
.panel > textarea,
.panel > .upload-box,
.panel > .image-preview,
.panel > .table-actions,
.panel > .helper-text {
  margin-top: 12px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.upload-box {
  display: grid;
  min-height: 128px;
  place-items: center;
  gap: 8px;
  border: 1px dashed #9bb2cc;
  border-radius: 8px;
  background: #f5f9fd;
  color: var(--blue-dark);
  font-weight: 800;
  text-align: center;
  cursor: pointer;
}

.upload-box input {
  display: none;
}

.image-preview {
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--graphite);
}

.helper-text {
  display: block;
  color: var(--muted);
  line-height: 1.5;
}

.form-success,
.form-error {
  display: block;
  border-radius: 8px;
  padding: 11px 12px;
  font-weight: 800;
}

.form-success {
  background: #e8f7f0;
  color: var(--success);
}

.form-error {
  background: #ffecec;
  color: var(--danger);
}

.tag,
.status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
}

.tag {
  background: #edf2f7;
  color: #4a5869;
}

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

.pricing-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.pricing-card.featured {
  border-color: var(--blue-2);
  background: rgba(18, 136, 255, 0.13);
}

.price {
  margin: 16px 0;
  font-size: 2.2rem;
  font-weight: 800;
}

.pricing-card p,
.pricing-card li {
  color: #cbd6e4;
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
}

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

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.faq-item button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  padding: 18px 20px;
  color: var(--graphite);
  font-weight: 800;
  text-align: left;
}

.faq-item p {
  display: none;
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.6;
}

.faq-item.open p {
  display: block;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 32px;
  align-items: start;
  background: #e9eef5;
}

.contact-section p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-section.sales-contact {
  background:
    radial-gradient(circle at 18% 20%, rgba(18, 136, 255, 0.18), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(255, 122, 26, 0.13), transparent 30%),
    linear-gradient(135deg, #05070b, #101722);
}

.contact-section.sales-contact h2 {
  color: #ffffff;
  text-shadow: 0 0 28px rgba(18, 136, 255, 0.28);
}

.contact-section.sales-contact p {
  color: #d8e4f2;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 22px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--graphite);
  padding: 13px 14px;
  outline: none;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(18, 136, 255, 0.12);
}

.chat-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  box-shadow: 0 16px 36px rgba(18, 136, 255, 0.35);
}

.chat-panel {
  position: fixed;
  right: 24px;
  bottom: 94px;
  z-index: 31;
  width: min(380px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.chat-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--graphite);
  color: var(--white);
}

.chat-panel small {
  display: block;
  margin-top: 3px;
  color: #b9c4d3;
}

.chat-messages {
  display: grid;
  gap: 10px;
  max-height: 300px;
  overflow: auto;
  padding: 16px;
}

.message {
  width: fit-content;
  max-width: 82%;
  margin: 0;
  border-radius: 8px;
  padding: 10px 12px;
  line-height: 1.45;
}

.message.support {
  background: #edf2f7;
}

.message.user {
  justify-self: end;
  background: var(--blue);
  color: var(--white);
}

.message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.whatsapp-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #18a84f;
  color: #ffffff;
  padding: 0 13px;
  font-weight: 800;
}

.chat-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 16px 12px;
}

.chat-hints button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f4f7fb;
  color: var(--graphite);
  padding: 7px 10px;
  font-size: 0.82rem;
  font-weight: 800;
}

.chat-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.chat-status {
  display: block;
  min-height: 18px;
  padding: 0 14px 12px;
  color: var(--muted);
  font-size: 0.82rem;
}

.auth-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 75% 20%, rgba(18, 136, 255, 0.22), transparent 30%),
    linear-gradient(135deg, var(--black), var(--graphite));
}

.auth-brand {
  position: fixed;
  top: 24px;
  left: 28px;
  color: var(--white);
}

.auth-card {
  display: grid;
  width: min(100%, 460px);
  gap: 24px;
  padding: 30px;
}

.auth-card h1 {
  margin: 8px 0 8px;
  font-size: 2.1rem;
}

.auth-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.form-footer {
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.form-footer a {
  color: var(--blue-dark);
  font-weight: 800;
}

.app-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 280px minmax(0, 1fr);
  background: var(--bg);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  padding: 22px 16px;
  background: #070b12;
  color: var(--white);
}

.sidebar-brand {
  margin: 0 8px 22px;
}

.side-nav {
  display: grid;
  gap: 6px;
}

.side-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  padding: 12px;
  color: #cbd6e4;
  font-weight: 700;
}

.side-nav a.active,
.side-nav a:hover {
  background: rgba(18, 136, 255, 0.16);
  color: var(--white);
}

.side-nav a[href="#/admin"] {
  display: none !important;
}

.workspace {
  min-width: 0;
}

.workspace-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 82px;
  padding: 16px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 247, 251, 0.92);
  backdrop-filter: blur(14px);
}

.workspace-topbar h1,
.workspace-topbar p {
  margin: 0;
}

.workspace-topbar h1 {
  font-size: 1.35rem;
}

.workspace-topbar p {
  margin-top: 3px;
  color: var(--muted);
}

.topbar-actions {
  margin-left: auto;
}

.icon-btn {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--graphite);
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  padding: 8px 12px;
  font-weight: 700;
}

.content {
  display: grid;
  gap: 18px;
  padding: 28px;
}

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

.metric-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
  box-shadow: 0 8px 28px rgba(7, 18, 35, 0.06);
}

.metric-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.65rem;
}

.metric-card small {
  color: var(--muted);
  font-weight: 700;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 18px;
}

.client-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 18px;
}

.panel-heading-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.panel-heading-row h3 {
  margin: 0;
}

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

.health-grid div {
  min-height: 104px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faff;
  padding: 16px;
}

.health-grid strong,
.health-grid span {
  display: block;
}

.health-grid strong {
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.health-grid span,
.dashboard-action small,
.compact-list span,
.mini-system span {
  color: var(--muted);
  line-height: 1.45;
}

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

.dashboard-action {
  position: relative;
  display: grid;
  min-height: 118px;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 16px 36px 16px 16px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.dashboard-action:hover {
  border-color: rgba(18, 136, 255, 0.42);
  box-shadow: 0 14px 34px rgba(7, 18, 35, 0.08);
  transform: translateY(-2px);
}

.dashboard-action strong,
.dashboard-action small {
  display: block;
  overflow-wrap: anywhere;
}

.dashboard-action strong {
  font-size: 0.96rem;
  line-height: 1.22;
}

.dashboard-action > i {
  position: absolute;
  top: 16px;
  right: 12px;
  width: 18px;
  height: 18px;
  margin: 0;
  color: var(--blue-dark);
}

.client-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.85fr) minmax(280px, 0.85fr);
  gap: 18px;
}

.client-dashboard-extra {
  display: none;
}

.mini-system-list,
.compact-list {
  display: grid;
  gap: 12px;
}

.mini-system {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.mini-system:last-child,
.compact-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.mini-system-media {
  display: grid;
  width: 74px;
  height: 52px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #eaf5ff;
  color: var(--blue);
}

.mini-system-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-system strong,
.mini-system span,
.compact-list strong,
.compact-list span {
  display: block;
}

.compact-list div {
  display: grid;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.text-link {
  color: var(--blue-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.chart {
  display: flex;
  height: 240px;
  align-items: end;
  gap: 13px;
  padding-top: 24px;
}

.bar {
  flex: 1;
  min-width: 24px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--blue-2), var(--blue-dark));
}

.activity-list,
.ticket-list {
  display: grid;
  gap: 12px;
}

.activity-item,
.ticket-item {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.ticket-button {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.ticket-button.active {
  border-radius: 8px;
  background: #f0f7ff;
  padding: 12px;
}

.support-thread {
  display: grid;
  gap: 12px;
  max-height: 360px;
  overflow: auto;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.empty-inline {
  color: var(--muted);
}

.activity-item:last-child,
.ticket-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 15px 16px;
  text-align: left;
  vertical-align: middle;
}

th {
  color: #516071;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.status.active,
.status.open,
.status.paid {
  background: #e8f7f0;
  color: var(--success);
}

.status.analysis,
.status.pending {
  background: #fff6df;
  color: var(--warning);
}

.status.expired,
.status.blocked {
  background: #ffecec;
  color: var(--danger);
}

.status.answered {
  background: #eaf5ff;
  color: var(--blue-dark);
}

.status.done {
  background: #edf2f7;
  color: #4a5869;
}

.page-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.page-toolbar input {
  max-width: 320px;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: 18px;
}

.license-key {
  color: var(--blue-dark);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 800;
}

.download-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 16px;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  gap: 18px;
}

.conversation {
  display: grid;
  gap: 12px;
  min-height: 440px;
  align-content: start;
}

@media (max-width: 1100px) {
  .sales-hero {
    grid-template-columns: 1fr;
  }

  .sales-systems-grid,
  .sales-benefits,
  .central-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-upgrade,
  .showcase-premium {
    grid-template-columns: 1fr;
  }

  .demo-showcase-grid {
    grid-template-columns: 1fr;
  }

  .demo-system-card,
  .demo-system-card.featured {
    grid-template-rows: minmax(300px, auto) 1fr;
  }

  .demo-system-card .demo-system-media,
  .demo-system-card.featured .demo-system-media {
    min-height: 300px;
  }

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

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

  .showcase-card {
    grid-template-columns: 1fr;
  }

  .systems-grid,
  .pricing-grid,
  .benefits-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-showcase,
  .compact-system-card {
    grid-column: span 2;
  }

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

  .product-image-wrap,
  .product-image {
    min-height: 330px;
  }

  .product-image-wrap::after {
    background: linear-gradient(180deg, transparent 45%, rgba(7, 11, 18, 0.9));
  }

  .hero,
  .dashboard-grid,
  .client-overview,
  .client-detail-grid,
  .client-systems-grid,
  .split-grid,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .client-system-card {
    grid-template-columns: minmax(280px, 0.45fr) minmax(0, 0.55fr);
  }

  .hero-visual {
    min-height: 380px;
  }
}

@media (max-width: 820px) {
  .sales-hero {
    min-height: auto;
    padding: 54px 18px;
  }

  .sales-hero h1 {
    font-size: 2.45rem;
  }

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

  .command-screen {
    grid-template-columns: 1fr;
  }

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

  .sales-systems-grid,
  .sales-benefits,
  .central-grid,
  .sales-pricing {
    grid-template-columns: 1fr;
  }

  .sales-section {
    padding: 62px 18px;
  }

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

  .mobile-menu {
    display: grid;
    width: 42px;
    height: 42px;
    margin-left: auto;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: transparent;
    color: var(--white);
  }

  .site-nav,
  .header-actions {
    display: none;
    width: 100%;
  }

  .site-nav.open,
  .header-actions.open {
    display: flex;
  }

  .site-nav.open {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions.open {
    justify-content: stretch;
  }

  .header-actions.open .btn {
    flex: 1;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-section,
  .systems-grid,
  .pricing-grid,
  .benefits-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .systems-summary,
  .systems-summary-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .systems-summary-actions {
    justify-content: stretch;
  }

  .systems-summary-actions .btn {
    justify-content: center;
  }

  .client-system-card,
  .system-meta-grid,
  .license-shop-grid,
  .license-renew-card,
  .license-shop-card {
    grid-template-columns: 1fr;
  }

  .client-system-media .system-media {
    min-height: 190px;
  }

  .quick-actions,
  .health-grid {
    grid-template-columns: 1fr;
  }

  .mini-system {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .mini-system > .status {
    width: fit-content;
    grid-column: 2;
  }

  .product-showcase,
  .compact-system-card {
    grid-column: span 1;
  }

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

  .sidebar {
    position: fixed;
    z-index: 40;
    width: 280px;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .workspace-topbar {
    padding: 14px 18px;
  }

  .content {
    padding: 18px;
  }

  .topbar-actions .user-chip span {
    display: none;
  }
}

@media (max-width: 560px) {
  .sales-hero {
    max-width: 100vw;
    overflow: hidden;
  }

  .sales-hero-content,
  .sales-hero p,
  .sales-hero .eyebrow {
    width: min(342px, calc(100vw - 36px));
    max-width: min(342px, calc(100vw - 36px));
  }

  .sales-hero h1 {
    width: min(342px, calc(100vw - 36px));
    max-width: min(342px, calc(100vw - 36px));
    font-size: 1.72rem;
    line-height: 1.06;
  }

  .sales-hero p {
    font-size: 0.98rem;
  }

  .sales-hero .hero-actions {
    display: grid;
  }

  .sales-hero-mockup {
    gap: 12px;
  }

  .hero-command-center {
    width: min(342px, calc(100vw - 36px));
  }

  .command-top,
  .command-screen {
    padding: 14px;
  }

  .showcase-featured-media,
  .showcase-featured-media img,
  .showcase-featured-media video,
  .showcase-featured-media iframe {
    min-height: 240px;
  }

  .showcase-featured-copy {
    padding: 20px;
  }

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

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

  .demo-modal {
    padding: 12px;
  }

  .demo-play {
    width: 54px;
    height: 54px;
    border-radius: 14px;
  }

  .demo-system-card,
  .demo-system-card.featured {
    grid-template-rows: minmax(220px, auto) 1fr;
  }

  .demo-system-card .demo-system-media,
  .demo-system-card.featured .demo-system-media {
    min-height: 220px;
  }

  .demo-system-body,
  .demo-system-card.featured .demo-system-body {
    padding: 18px;
  }

  .demo-feature-list,
  .demo-card-actions {
    grid-template-columns: 1fr;
  }

  .demo-card-actions .btn {
    white-space: normal;
  }

  .mockup-strip {
    grid-template-columns: 1fr;
  }

  .mockup-strip span {
    min-height: 54px;
    grid-template-columns: auto 1fr;
    justify-content: start;
    padding: 0 14px;
    text-align: left;
  }

  .sales-section-heading h2 {
    font-size: 1.85rem;
  }

  .sales-system-media,
  .sales-system-media img {
    min-height: 210px;
  }

  .sales-system-body ul {
    grid-template-columns: 1fr;
  }

  .showcase-card img,
  .showcase-card video,
  .showcase-card iframe,
  .showcase-media {
    min-height: 210px;
  }

  .showcase-card > div:last-child,
  .sales-system-body {
    padding: 20px;
  }

  .section {
    max-width: 100vw;
    overflow: hidden;
    padding: 56px 16px;
  }

  .hero {
    max-width: 100vw;
    overflow: hidden;
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero-content,
  .section-heading {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .section-copy {
    width: min(330px, calc(100vw - 32px));
    max-width: min(330px, calc(100vw - 32px));
  }

  .hero h1 {
    width: min(330px, calc(100vw - 32px));
    max-width: min(330px, calc(100vw - 32px));
    font-size: 1.45rem;
    line-height: 1.08;
  }

  .hero p {
    width: min(330px, calc(100vw - 32px));
    max-width: min(330px, calc(100vw - 32px));
    font-size: 0.98rem;
  }

  .section-heading h2 {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    font-size: 1.55rem;
  }

  .hero-visual {
    display: none;
  }

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

  .btn {
    white-space: normal;
    text-align: center;
  }

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

  .product-body {
    padding: 24px;
  }

  .product-image-wrap,
  .product-image {
    min-height: 250px;
  }

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

  .workspace-topbar p {
    display: none;
  }
}
