@import url("./ui-tokens.css");

:root {
  color-scheme: light;
  --ink: var(--neutral-800);
  --muted: var(--neutral-500);
  --bg: var(--neutral-50);
  --surface: var(--neutral-0);
  --surface-blue: var(--brand-50);
  --line: var(--neutral-200);
  --navy: var(--neutral-800);
  --navy-2: var(--neutral-950);
  --ocean: var(--brand-700);
  --blue: var(--brand-500);
  --cyan: var(--brand-400);
  --cyan-soft: var(--brand-100);
  --accent: var(--brand-500);
  --accent-2: var(--brand-400);
  --accent-soft: var(--brand-50);
  --green: var(--semantic-success);
  --green-soft: var(--semantic-success-soft);
  --shadow: var(--ui-shadow-lg);
  --hard-shadow: 0 18px 0 rgba(19, 21, 31, 0.08);
  --radius: var(--ui-radius-md);
  font-family: var(--ui-font-family);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--ui-font-family-heading);
}

img {
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 10px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.92);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}

.brand-logo {
  display: block;
  width: clamp(176px, 16vw, 230px);
  height: 52px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: #315a74;
  font-size: 0.93rem;
  font-weight: 850;
}

.site-nav a {
  padding: 10px 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand-800);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 950;
  line-height: 1.2;
}

.nav-cta,
.btn.primary {
  border: 1px solid var(--brand-500);
  background: var(--brand-500);
  color: var(--neutral-800);
  box-shadow: 0 12px 26px rgba(224, 152, 0, 0.22);
}

.btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
}

.btn.outline {
  border: 1px solid rgba(255, 173, 0, 0.28);
  background: #ffffff;
  color: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(650px, 90svh, 820px);
  background-color: var(--neutral-950);
  background-image:
    linear-gradient(120deg, rgba(19, 21, 31, 0.98) 0%, rgba(37, 40, 46, 0.94) 48%, rgba(77, 52, 0, 0.80) 100%),
    url("public/brand/comandas365-app-icon-dark-1024.png");
  background-position: center, right clamp(-90px, 4vw, 78px) center;
  background-repeat: no-repeat;
  background-size: cover, min(54vw, 640px);
  color: #ffffff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 148px;
  background:
    linear-gradient(135deg, transparent 0 22%, rgba(255, 214, 128, 0.24) 22% 34%, transparent 34% 50%, rgba(255, 173, 0, 0.18) 50% 63%, transparent 63%),
    linear-gradient(180deg, transparent, rgba(19, 21, 31, 0.38));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 470px);
  align-items: center;
  gap: clamp(30px, 6vw, 82px);
  min-height: inherit;
  padding: 70px 0 84px;
}

.hero-copy {
  min-width: 0;
  max-width: 740px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-400);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 5rem;
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.hero-lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2.1vw, 1.4rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.operation-preview {
  position: relative;
  min-width: 0;
  align-self: center;
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  background: var(--neutral-0);
  color: var(--ink);
  box-shadow: var(--shadow), var(--hard-shadow);
}

.operation-preview::before {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: -1;
  border: 1px solid rgba(255, 214, 128, 0.36);
  border-radius: var(--radius);
}

.preview-topbar,
.preview-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.preview-topbar {
  min-height: 50px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 950;
}

.preview-topbar strong {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: var(--radius);
  background: var(--green-soft);
  color: var(--green);
}

.preview-flow {
  display: grid;
  grid-template-columns: 18px 1fr 18px 1fr 18px;
  align-items: center;
  gap: 8px;
  min-height: 28px;
}

.preview-dot {
  width: 18px;
  height: 18px;
  border: 4px solid var(--cyan);
  border-radius: 50%;
  background: #ffffff;
}

.preview-dot.active {
  background: var(--accent);
  border-color: #ffd0b5;
}

.preview-line {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

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

.preview-metric {
  min-height: 90px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(37, 40, 46, 0.08);
}

.preview-metric span,
.preview-list span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.preview-metric strong {
  display: block;
  margin-top: 10px;
  color: var(--ocean);
  font-size: 1.1rem;
}

.preview-list {
  display: grid;
  gap: 10px;
}

.preview-list div {
  min-height: 52px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.preview-list strong {
  color: var(--navy);
  font-size: 0.9rem;
  white-space: nowrap;
}

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

.signal-row span {
  min-height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 214, 128, 0.18), rgba(255, 173, 0, 0.12));
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 950;
  text-align: center;
}

.section {
  padding: clamp(66px, 9vw, 110px) clamp(18px, 5vw, 72px);
}

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

.section-heading {
  width: min(1060px, 100%);
  margin: 0 auto 36px;
}

.section-heading h2 {
  max-width: 850px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.28rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.intro-section .section-heading,
.intro-copy {
  width: 100%;
  margin: 0;
}

.intro-copy {
  display: grid;
  gap: 18px;
  color: #49697f;
  font-size: 1.08rem;
  line-height: 1.72;
}

.intro-copy p {
  margin: 0;
}

.story-section,
.flow-section,
.gains-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #eefaff 100%);
}

.story-board {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.story-step {
  display: grid;
  gap: 18px;
  min-height: 270px;
  padding: 22px;
  border: 1px solid rgba(255, 173, 0, 0.22);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 20px 45px rgba(37, 40, 46, 0.08);
}

.story-step p {
  margin: 0;
  color: #385c75;
  font-weight: 800;
  line-height: 1.5;
}

.story-drawing {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 148px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 214, 128, 0.18), rgba(255, 173, 0, 0.20)),
    linear-gradient(180deg, #ffffff, #eefaff);
  overflow: hidden;
}

.story-drawing::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.44);
  box-shadow: inset 0 0 0 1px rgba(255, 173, 0, 0.10);
}

.story-drawing svg {
  position: relative;
  z-index: 1;
  width: min(82%, 220px);
  height: 124px;
  display: block;
}

.story-drawing .icon-surface,
.story-drawing .icon-card {
  fill: #ffffff;
  stroke: var(--ocean);
  stroke-width: 4;
}

.story-drawing .icon-card {
  fill: var(--navy);
  stroke: var(--blue);
}

.story-drawing .icon-line,
.story-drawing .icon-strong,
.story-drawing .icon-white {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.story-drawing .icon-line {
  stroke: var(--cyan);
  stroke-width: 5;
}

.story-drawing .icon-line.soft {
  stroke: rgba(224, 152, 0, 0.26);
  stroke-width: 5;
}

.story-drawing .icon-strong {
  stroke: var(--navy);
  stroke-width: 5;
}

.story-drawing .icon-strong.fill {
  fill: var(--navy);
  stroke: none;
}

.story-drawing .icon-white {
  stroke: #ffffff;
  stroke-width: 5;
}

.story-drawing .icon-accent {
  fill: var(--accent);
}

.story-drawing .icon-dot {
  fill: var(--accent);
}

.story-drawing .icon-shadow {
  fill: rgba(37, 40, 46, 0.10);
}

.problem-section {
  background: linear-gradient(180deg, #062251 0%, #07316c 100%);
  color: #ffffff;
}

.problem-section .section-heading h2 {
  color: #ffffff;
}

.problem-grid,
.module-grid,
.example-grid,
.gain-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

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

.problem-item {
  position: relative;
  min-height: 128px;
  padding: 20px 18px 18px;
  border: 1px solid rgba(255, 214, 128, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 850;
  line-height: 1.38;
}

.problem-item span {
  display: block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 1.2rem;
  font-weight: 950;
}

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

.feature-card {
  min-height: 226px;
  padding: 22px;
  border: 1px solid rgba(255, 173, 0, 0.18);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(37, 40, 46, 0.08);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 214, 128, 0.26), rgba(255, 173, 0, 0.18)),
    #f5fdff;
  color: var(--ocean);
  box-shadow: inset 0 0 0 1px rgba(255, 173, 0, 0.20);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.06rem;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  color: #526f82;
  line-height: 1.55;
}

.flow-steps {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.flow-step {
  position: relative;
  min-height: 160px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-content: start;
  column-gap: 14px;
  row-gap: 8px;
  padding: 20px 18px;
  border: 1px solid rgba(255, 173, 0, 0.22);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(37, 40, 46, 0.08);
  overflow: hidden;
}

.flow-step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--accent));
}

.flow-step:nth-child(4),
.flow-step:nth-child(5),
.flow-step:nth-child(6) {
  background: linear-gradient(180deg, #ffffff, #f4fcff);
}

.flow-number {
  position: absolute;
  top: 12px;
  right: 14px;
  color: rgba(37, 40, 46, 0.22);
  font-size: 1.05rem;
  font-weight: 950;
}

.flow-icon {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 214, 128, 0.26), rgba(255, 173, 0, 0.18)),
    #f5fdff;
  color: var(--ocean);
  box-shadow: inset 0 0 0 1px rgba(255, 173, 0, 0.20);
}

.flow-icon svg {
  width: 29px;
  height: 29px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-step strong {
  grid-column: 2;
  margin-top: 4px;
  padding-right: 34px;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.25;
}

.flow-step p {
  grid-column: 2;
  margin: 0;
  color: #526f82;
  font-weight: 750;
  line-height: 1.4;
}

.flow-note {
  width: min(780px, 100%);
  margin: 26px auto 0;
  color: #526f82;
  font-size: 1.04rem;
  line-height: 1.58;
  text-align: center;
}

.split-section {
  background:
    linear-gradient(135deg, rgba(255, 214, 128, 0.18), rgba(255, 173, 0, 0.10)),
    #f6fcff;
}

.two-column,
.security-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  min-height: 44px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 173, 0, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: #315a74;
  line-height: 1.38;
  font-weight: 850;
}

.check-list li::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

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

.use-case-card {
  min-height: 330px;
  display: grid;
  align-content: start;
}

.case-illustration {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 148px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 173, 0, 0.16), rgba(255, 214, 128, 0.22)),
    #f4fcff;
  overflow: hidden;
}

.case-illustration::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 173, 0, 0.10);
}

.case-illustration svg {
  position: relative;
  z-index: 1;
  width: min(86%, 240px);
  height: 128px;
  display: block;
}

.case-surface {
  fill: #ffffff;
  stroke: var(--ocean);
  stroke-width: 4;
}

.case-card {
  fill: var(--navy);
  stroke: var(--blue);
  stroke-width: 4;
}

.case-line,
.case-strong,
.case-white {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.case-line {
  stroke: var(--cyan);
  stroke-width: 5;
}

.case-line.soft {
  stroke: rgba(224, 152, 0, 0.26);
  stroke-width: 5;
}

.case-strong {
  stroke: var(--navy);
  stroke-width: 5;
}

.case-white {
  stroke: #ffffff;
  stroke-width: 5;
}

.case-accent,
.case-tag {
  fill: var(--accent);
}

.case-shadow {
  fill: rgba(37, 40, 46, 0.10);
}

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

.gain-grid span {
  min-height: 98px;
  display: grid;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(20, 164, 111, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green-soft), #ffffff);
  color: #12694a;
  font-weight: 950;
}

.commercial-section {
  background:
    linear-gradient(135deg, rgba(37, 40, 46, 0.96), rgba(224, 152, 0, 0.88)),
    var(--navy);
  color: #ffffff;
}

.commercial-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.commercial-inner .section-heading {
  width: 100%;
}

.commercial-inner .section-heading h2 {
  color: #ffffff;
}

.commercial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 18px;
  align-items: stretch;
}

.commercial-copy {
  min-height: 260px;
  display: grid;
  align-content: center;
  padding: 30px;
  border: 1px solid rgba(255, 214, 128, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.commercial-copy p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.65;
}

.commercial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.commercial-steps {
  display: grid;
  gap: 12px;
}

.commercial-steps span {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 214, 128, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.90);
  font-weight: 900;
}

.commercial-steps strong {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: var(--radius);
  background: var(--cyan-soft);
  color: var(--navy);
  font-size: 0.88rem;
}

.security-section {
  background: #f4fbff;
}

.security-layout > div {
  padding: 26px;
  border: 1px solid rgba(255, 173, 0, 0.20);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(37, 40, 46, 0.06);
}

.security-layout h3 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 1.25rem;
}

.access-panel h3:not(:first-child) {
  margin-top: 26px;
}

.access-panel p {
  margin: 0;
  color: #526f82;
  line-height: 1.62;
}

.download-app-section {
  --download-accent: #FFB300;
  --download-graphite: #25282E;
  --download-surface: #FFFFFF;
  --download-muted: #5F6672;
  background: #F8F9FA;
  color: var(--download-graphite);
}

.download-app-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
}

.download-app-copy {
  min-width: 0;
}

.download-app-copy .eyebrow {
  color: #805900;
}

.download-app-copy h2 {
  max-width: 720px;
  margin: 0;
  color: var(--download-graphite);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.06;
}

.download-app-lead {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--download-muted);
  font-size: 1.08rem;
  line-height: 1.62;
}

.download-app-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.download-app-benefits li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 11px 14px;
  border: 1px solid #E1E4E8;
  border-radius: var(--radius);
  background: var(--download-surface);
  color: var(--download-graphite);
  font-weight: 850;
  line-height: 1.35;
}

.download-app-benefits li::before {
  content: "\2713";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--download-accent);
  color: var(--download-graphite);
  font-size: 0.78rem;
  font-weight: 950;
}

.download-app-card {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.download-app-qr-card {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 24px;
  border: 1px solid #E1E4E8;
  border-radius: var(--radius);
  background: var(--download-surface);
  box-shadow: 0 20px 52px rgba(37, 40, 46, 0.10);
}

.download-app-qr-link {
  display: block;
  width: min(246px, 100%);
  padding: 12px;
  border: 1px solid #E8EAED;
  border-radius: var(--radius);
  background: #FFFFFF;
}

.download-app-qr-link img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

.download-app-qr-card p {
  max-width: 340px;
  margin: 0;
  color: var(--download-muted);
  line-height: 1.5;
  text-align: center;
}

.download-app-play-link,
.download-app-whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 950;
  line-height: 1.25;
  text-align: center;
}

.download-app-play-link {
  border: 1px solid #D99A00;
  background: var(--download-accent);
  color: var(--download-graphite);
  box-shadow: 0 14px 28px rgba(255, 179, 0, 0.22);
}

.download-app-whatsapp-link {
  border: 1px solid var(--download-graphite);
  background: var(--download-surface);
  color: var(--download-graphite);
}

.download-app-ios-message {
  padding: 24px;
  border: 1px solid #E1E4E8;
  border-radius: var(--radius);
  background: var(--download-surface);
  box-shadow: 0 20px 52px rgba(37, 40, 46, 0.10);
}

.download-app-ios-message strong {
  display: block;
  color: var(--download-graphite);
  font-size: 1.16rem;
  line-height: 1.35;
}

.download-app-ios-message p {
  margin: 10px 0 20px;
  color: var(--download-muted);
  line-height: 1.5;
}

.download-app-section [hidden] {
  display: none;
}

.download-app-section a:hover {
  filter: brightness(0.97);
}

.download-app-section a:focus-visible {
  outline: 3px solid var(--download-graphite);
  outline-offset: 3px;
}

.contact-section {
  padding: clamp(68px, 9vw, 112px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(37, 40, 46, 0.98), rgba(224, 152, 0, 0.92)),
    var(--navy);
  color: #ffffff;
}

.contact-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.contact-inner h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.contact-inner p:not(.eyebrow) {
  max-width: 640px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.80);
  font-size: 1.08rem;
  line-height: 1.62;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-actions .btn {
  width: 100%;
}

.site-footer {
  padding: 34px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, #ffffff, #f3fbff);
  color: #526f82;
  font-size: 0.94rem;
  font-weight: 850;
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(150px, 0.72fr));
  gap: clamp(20px, 4vw, 46px);
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 8px;
  max-width: 340px;
}

.footer-brand strong {
  color: var(--navy);
  font-size: 1.15rem;
}

.footer-brand span {
  color: #526f82;
  line-height: 1.45;
}

.footer-column {
  display: grid;
  gap: 10px;
}

.footer-column strong {
  color: var(--navy);
  font-size: 0.84rem;
  text-transform: uppercase;
}

.footer-column a {
  color: #526f82;
  line-height: 1.35;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--ocean);
}

.simple-page {
  background: linear-gradient(180deg, #f5fcff 0%, #ffffff 58%, #eefaff 100%);
}

.page-hero {
  padding: clamp(72px, 10vw, 116px) clamp(18px, 5vw, 72px) clamp(44px, 7vw, 72px);
  background:
    linear-gradient(120deg, rgba(37, 40, 46, 0.98), rgba(224, 152, 0, 0.88)),
    var(--navy);
  color: #ffffff;
}

.page-hero-inner,
.content-inner {
  width: min(960px, 100%);
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.64;
}

.content-section {
  padding: clamp(48px, 8vw, 86px) clamp(18px, 5vw, 72px);
}

.legal-layout {
  display: grid;
  gap: 16px;
}

.legal-card {
  padding: 26px;
  border: 1px solid rgba(255, 173, 0, 0.18);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(37, 40, 46, 0.06);
}

.legal-card h2,
.legal-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  line-height: 1.2;
}

.legal-card p {
  margin: 0;
  color: #526f82;
  line-height: 1.65;
}

.legal-card p + p,
.legal-card ul + p {
  margin-top: 12px;
}

.legal-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #526f82;
  line-height: 1.55;
}

.status-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(20, 164, 111, 0.20);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green-soft), #ffffff);
  color: #12694a;
  font-weight: 900;
}

.status-list span:last-child {
  color: var(--green);
}

.sales-bot-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean), var(--blue));
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(224, 152, 0, 0.34);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.sales-bot-toggle:hover,
.sales-bot-toggle:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.04);
  outline: none;
}

.sales-bot-window {
  position: fixed;
  right: 22px;
  bottom: 100px;
  z-index: 80;
  display: none;
  width: min(390px, calc(100vw - 32px));
  height: min(590px, calc(100svh - 126px));
  overflow: hidden;
  border: 1px solid rgba(255, 173, 0, 0.24);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 26px 72px rgba(37, 40, 46, 0.28);
}

.sales-bot-window.open {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.sales-bot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--ocean), var(--blue));
  color: #ffffff;
}

.sales-bot-header div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.sales-bot-header strong {
  font-size: 1rem;
}

.sales-bot-header span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  line-height: 1.25;
}

.sales-bot-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.sales-bot-close:hover,
.sales-bot-close:focus-visible {
  background: rgba(255, 255, 255, 0.24);
  outline: none;
}

.sales-bot-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(237, 249, 255, 0.86), rgba(255, 255, 255, 0.94)),
    #f5fcff;
}

.sales-bot-message {
  max-width: 86%;
  padding: 11px 13px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.sales-bot-message.bot {
  align-self: flex-start;
  border: 1px solid rgba(255, 173, 0, 0.14);
  background: #ffffff;
  color: #315a74;
  box-shadow: 0 8px 24px rgba(37, 40, 46, 0.06);
}

.sales-bot-message.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--ocean), var(--blue));
  color: #ffffff;
}

.sales-bot-actions {
  align-self: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 96%;
}

.sales-bot-actions button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(255, 173, 0, 0.24);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 900;
  cursor: pointer;
}

.sales-bot-actions button:hover,
.sales-bot-actions button:focus-visible {
  border-color: var(--ocean);
  color: var(--ocean);
  outline: none;
}

.sales-bot-whatsapp {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--radius);
  background: var(--green);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(20, 164, 111, 0.22);
}

.sales-bot-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(255, 173, 0, 0.16);
  background: #ffffff;
}

.sales-bot-input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(255, 173, 0, 0.22);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  outline: none;
}

.sales-bot-input:focus {
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(255, 173, 0, 0.12);
}

.sales-bot-send {
  min-width: 76px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: #ffffff;
  font-weight: 950;
  cursor: pointer;
}

.sales-bot-send:hover,
.sales-bot-send:focus-visible {
  filter: brightness(0.96);
  outline: none;
}

@media (max-width: 1100px) {
  .module-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav {
    display: none;
  }

  .nav-cta {
    justify-self: end;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .operation-preview {
    max-width: 650px;
  }

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

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .download-app-inner {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 36px;
  }

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

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
    gap: 12px;
  }

  .brand-logo {
    width: 150px;
    height: 44px;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: auto;
    background-size: cover, 430px;
    background-position: center, right -176px top 60px;
  }

  .hero::before {
    height: 92px;
  }

  .hero-inner {
    width: min(100% - 28px, 1180px);
    padding: 58px 0 48px;
  }

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

  .hero-lead {
    font-size: 1.04rem;
  }

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

  .preview-grid,
  .signal-row,
  .problem-grid,
  .module-grid,
  .flow-steps,
  .example-grid,
  .gain-grid,
  .two-column,
  .commercial-layout,
  .security-layout,
  .contact-inner,
  .intro-section,
  .story-board,
  .download-app-inner {
    grid-template-columns: 1fr;
  }

  .download-app-inner {
    gap: 30px;
  }

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

  .download-app-card {
    width: min(100%, 480px);
    margin: 0 auto;
  }

  .download-app-qr-card,
  .download-app-ios-message {
    padding: 20px;
  }

  .operation-preview {
    padding: 14px;
  }

  .preview-list div {
    align-items: start;
    flex-direction: column;
    justify-content: center;
    padding: 12px;
  }

  .preview-list strong {
    white-space: normal;
  }

  .section {
    padding: 56px 16px;
  }

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

  .section-heading {
    margin-bottom: 24px;
  }

  .problem-item,
  .feature-card,
  .story-step {
    min-height: auto;
  }

  .security-layout > div {
    padding: 18px;
  }

  .commercial-copy {
    min-height: auto;
    padding: 22px;
  }

  .commercial-actions,
  .commercial-actions .btn {
    width: 100%;
  }

  .commercial-actions {
    display: grid;
  }

  .contact-section {
    padding: 60px 16px;
  }

  .contact-actions .btn {
    min-height: 50px;
    padding: 0 14px;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .site-footer {
    padding: 22px 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-hero,
  .content-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .legal-card {
    padding: 20px;
  }

  .status-list li {
    display: grid;
  }

  .sales-bot-toggle {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
    font-size: 1.65rem;
  }

  .sales-bot-window {
    right: 12px;
    left: 12px;
    bottom: 86px;
    width: auto;
    height: min(560px, calc(100svh - 108px));
  }

  .sales-bot-message {
    max-width: 91%;
  }

  .sales-bot-send {
    min-width: 68px;
  }
}

@media (max-width: 359px) {
  .hero h1 {
    font-size: 2.35rem;
  }
}

/* Public conversion surface: current Comandas365 graphite and yellow shell. */
.hero {
  min-height: auto;
  background: var(--neutral-950);
}

.hero::before {
  display: none;
}

.hero-inner {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  min-height: auto;
  padding: clamp(54px, 7vw, 92px) 0 clamp(58px, 7vw, 86px);
}

.hero-copy {
  max-width: 620px;
}

.hero h1 {
  color: var(--brand-500);
  font-size: 4.2rem;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.82);
}

.product-screens {
  position: relative;
  display: block;
  min-height: 548px;
  padding: 18px 122px 18px 0;
  min-width: 0;
}

.product-screen {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 194, 64, 0.35);
  border-radius: 12px;
  background: var(--neutral-800);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
}

.product-screen-android {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: 190px;
  padding: 8px 8px 14px;
  border: 4px solid #2d313b;
  border-radius: 28px;
  background: #090b10;
  box-shadow: 0 28px 52px rgba(0, 0, 0, 0.46);
}

.product-screen-viewport {
  position: relative;
  overflow: hidden;
  background: var(--neutral-950);
}

.plans-section {
  background: var(--neutral-50);
}

.plans-heading {
  margin-bottom: 26px;
}

.plans-intro {
  max-width: 700px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.plan-card {
  position: relative;
  display: flex;
  min-height: 280px;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: var(--ui-shadow-sm);
}

.plan-card-featured {
  border-color: var(--brand-500);
  box-shadow: 0 14px 30px rgba(224, 152, 0, 0.16);
}

.plan-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--brand-100);
  color: var(--brand-800);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-label {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 900;
}

.plan-price {
  display: block;
  min-height: 42px;
  margin-top: 18px;
  color: var(--navy-2);
  font-family: var(--ui-font-family-heading);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.12;
}

.plan-equivalent {
  min-height: 22px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
}

.plan-card p {
  min-height: 44px;
  margin: 18px 0;
  color: var(--muted);
  line-height: 1.45;
}

.plan-card .btn {
  width: 100%;
  margin-top: auto;
}

.plans-source {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

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

  .hero-copy {
    max-width: 760px;
  }

  .product-screens {
    min-height: 548px;
    width: min(820px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero-inner {
    padding-top: 44px;
  }

  .product-screens {
    display: grid;
    min-height: 0;
    padding: 0;
    gap: 16px;
  }

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

  .product-screen-android {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(260px, 72%);
    justify-self: center;
  }

  .plan-card {
    min-height: 250px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 2.35rem;
  }
}

/* The public preview mirrors the current graphite/yellow application shell. */
.screen-shell {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: var(--ui-font-family);
}

.screen-shell-web {
  display: grid;
  grid-template-columns: 24% minmax(0, 1fr);
  background: #f7f8fa;
  color: #071a46;
  font-size: clamp(0.38rem, 0.64vw, 0.66rem);
}

.screen-sidebar {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
  padding: 10px 7px;
  background: #25282e;
  color: #f8fafc;
}

.screen-company {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 2px 1px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.screen-symbol {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: #15181d;
}

.screen-symbol img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.screen-company > span:last-child,
.screen-user,
.app-topbar > span:nth-child(2) {
  min-width: 0;
}

.screen-company strong,
.screen-company small,
.screen-user strong,
.screen-user small,
.screen-user em,
.app-topbar strong,
.app-topbar small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.screen-company strong,
.screen-user strong,
.app-topbar strong {
  font-size: 0.72rem;
  font-weight: 850;
}

.screen-company small,
.screen-user small,
.app-topbar small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.58rem;
}

.screen-nav-caption {
  margin: 8px 2px 2px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.48rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.screen-nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 25px;
  padding: 0 6px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.62rem;
  font-weight: 750;
}

.screen-nav-item i {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 2px;
}

.screen-nav-item-active {
  background: rgba(255, 174, 0, 0.2);
  color: #ffb300;
}

.screen-user {
  margin-top: auto;
  padding: 9px 2px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.screen-user em {
  margin-top: 5px;
  color: #28c76f;
  font-size: 0.52rem;
  font-style: normal;
}

.screen-main {
  min-width: 0;
  overflow: hidden;
  padding: 13px 14px;
  background: #f7f8fa;
}

.screen-main-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dce3ea;
}

.screen-main-header small,
.app-heading > small {
  color: #f0a500;
  font-size: 0.52rem;
  font-weight: 900;
}

.screen-main-header h3,
.app-heading h3 {
  margin: 3px 0 2px;
  color: #071a46;
  font-size: clamp(1rem, 1.6vw, 1.65rem);
  line-height: 1;
}

.screen-main-header p,
.app-heading p {
  margin: 0;
  color: #5e7087;
  font-size: 0.6rem;
}

.screen-main-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #65768b;
  font-size: 0.5rem;
  white-space: nowrap;
}

.screen-main-actions b {
  padding: 7px 6px;
  border: 1px solid #d6dfe8;
  border-radius: 5px;
  background: #ffffff;
  color: #071a46;
  font-size: 0.52rem;
}

.screen-main-actions strong,
.screen-avatar {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #25282e;
  color: #ffb300;
  font-size: 0.55rem;
}

.screen-quick-grid,
.screen-metric-grid,
.app-metric-grid {
  display: grid;
  gap: 6px;
  margin-top: 9px;
}

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

.screen-quick-grid span,
.screen-metric-grid span,
.app-metric-grid span {
  min-width: 0;
  padding: 8px;
  border: 1px solid #d6dfe8;
  border-radius: 6px;
  background: #ffffff;
}

.screen-quick-grid strong,
.screen-quick-grid small,
.screen-metric-grid small,
.screen-metric-grid strong,
.app-metric-grid small,
.app-metric-grid strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.screen-quick-grid strong {
  color: #071a46;
  font-size: 0.62rem;
}

.screen-quick-grid small {
  margin-top: 4px;
  color: #5e7087;
  font-size: 0.5rem;
}

.screen-quick-active {
  border-color: #ffb300 !important;
  box-shadow: inset 0 -2px #ffb300;
}

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

.screen-metric-grid small,
.app-metric-grid small {
  color: #667990;
  font-size: 0.5rem;
  font-weight: 700;
}

.screen-metric-grid strong {
  margin-top: 5px;
  color: #071a46;
  font-size: clamp(0.78rem, 1.25vw, 1.2rem);
}

.screen-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 9px;
}

.screen-panel {
  min-width: 0;
  padding: 9px;
  border: 1px solid #d6dfe8;
  border-radius: 7px;
  background: #ffffff;
}

.screen-panel header,
.screen-panel p {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

.screen-panel header strong,
.screen-panel header b {
  color: #071a46;
  font-size: 0.58rem;
}

.screen-panel header b {
  color: #0d8197;
}

.screen-panel p {
  flex-direction: column;
  margin: 8px 0 0;
  padding-top: 7px;
  border-top: 1px solid #edf1f4;
}

.screen-panel p strong {
  color: #071a46;
  font-size: 0.56rem;
}

.screen-panel p span {
  color: #667990;
  font-size: 0.5rem;
}

.screen-shell-app {
  display: flex;
  flex-direction: column;
  padding: 11px 9px 0;
  background: #f7f8fa;
  color: #071a46;
  font-size: 0.58rem;
}

.app-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid #dce3ea;
}

.app-topbar > b {
  margin-left: auto;
  color: #62748a;
}

.app-topbar .screen-avatar {
  width: 25px;
  height: 25px;
}

.app-topbar strong {
  color: #071a46;
  font-size: 0.64rem;
}

.app-topbar small {
  color: #667990;
  font-size: 0.5rem;
}

.app-heading {
  padding: 12px 0 8px;
}

.app-heading h3 {
  font-size: 1rem;
}

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

.app-metric-grid span {
  padding: 8px 7px;
}

.app-metric-grid strong {
  margin-top: 4px;
  color: #071a46;
  font-size: 0.73rem;
}

.app-action-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.app-action-list span {
  display: block;
  min-width: 0;
  padding: 8px 7px;
  border: 1px solid #d6dfe8;
  border-radius: 6px;
  background: #ffffff;
}

.app-action-list strong,
.app-action-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-action-list strong {
  color: #071a46;
  font-size: 0.58rem;
}

.app-action-list small {
  margin-top: 4px;
  color: #667990;
  font-size: 0.48rem;
}

.app-bottom-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: auto -9px 0;
  padding: 9px 5px 8px;
  border-top: 1px solid #d6dfe8;
  background: #25282e;
  color: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.app-bottom-nav b {
  font-size: 0.48rem;
  font-weight: 800;
}

.app-bottom-nav b:first-child {
  color: #ffb300;
}

@media (max-width: 760px) {
  .screen-shell-web {
    grid-template-columns: 22% minmax(0, 1fr);
  }

  .screen-main-actions span,
  .screen-main-actions b:nth-of-type(2) {
    display: none;
  }
}

/* Keep the previews aligned with the real Caixa screen instead of a generic dashboard illustration. */
.product-screen-android {
  width: 246px;
  padding: 9px 9px 13px;
  border-width: 4px;
  border-radius: 26px;
}

.screen-cash-card,
.app-cash-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #d6dfe8;
  border-radius: 6px;
  background: #ffffff;
}

.screen-cash-card > div,
.app-cash-card > div {
  min-width: 0;
}

.screen-cash-card strong,
.screen-cash-card span,
.app-cash-card strong,
.app-cash-card span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.screen-cash-card strong,
.app-cash-card strong {
  color: #071a46;
  font-size: 0.68rem;
}

.screen-cash-card span,
.app-cash-card span {
  margin-top: 3px;
  color: #5e7087;
  font-size: 0.58rem;
}

.screen-cash-card > b,
.app-cash-card > b,
.screen-open-prompt > b,
.app-open-prompt > b {
  flex: 0 0 auto;
  padding: 7px 9px;
  border-radius: 5px;
  background: #ffb300;
  color: #1f2329;
  font-size: 0.58rem;
  font-weight: 900;
  white-space: nowrap;
}

.screen-tabs,
.app-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-top: 11px;
  padding: 0 4px 7px;
  overflow: hidden;
  border-bottom: 1px solid #d6dfe8;
  color: #5e7087;
  font-size: 0.55rem;
  white-space: nowrap;
}

.screen-tabs b,
.app-tabs b {
  color: #0d8197;
  font-weight: 900;
}

.screen-overview,
.app-overview {
  margin-top: 9px;
  padding: 10px;
  border: 1px solid #d6dfe8;
  border-radius: 7px;
  background: #ffffff;
}

.screen-overview > header,
.app-overview > header {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.screen-overview header strong,
.app-overview header strong {
  color: #071a46;
  font-size: 0.68rem;
}

.screen-overview header span,
.app-overview header span {
  color: #5e7087;
  font-size: 0.58rem;
}

.screen-open-prompt,
.app-open-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
  padding: 9px;
  border: 1px solid #dce7ed;
  border-radius: 6px;
  background: #f2f8fb;
}

.screen-open-prompt > strong,
.screen-open-prompt > span,
.app-open-prompt > strong,
.app-open-prompt > span {
  display: block;
  min-width: 0;
}

.screen-open-prompt > strong,
.app-open-prompt > strong {
  color: #071a46;
  font-size: 0.58rem;
}

.screen-open-prompt > span,
.app-open-prompt > span {
  margin-left: auto;
  color: #5e7087;
  font-size: 0.5rem;
}

.screen-metric-grid {
  margin-top: 9px;
}

.screen-shell-app {
  padding: 7px 10px 0;
  background: #f7f8fa;
}

.app-statusbar {
  display: flex;
  justify-content: space-between;
  padding: 0 2px 6px;
  color: #667990;
  font-size: 0.47rem;
  font-weight: 800;
}

.app-topbar {
  padding-bottom: 8px;
}

.app-brand-symbol {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #d6dfe8;
  border-radius: 7px;
  background: #ffffff;
}

.app-brand-symbol img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.app-topbar > b {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: #25282e;
  color: #ffb300;
  font-size: 0.52rem;
}

.app-heading {
  padding: 10px 0 7px;
}

.app-heading h3 {
  margin-top: 3px;
  font-size: 1.18rem;
}

.app-heading p {
  font-size: 0.52rem;
}

.app-cash-card {
  margin-top: 2px;
  padding: 9px;
}

.app-cash-card strong {
  font-size: 0.62rem;
}

.app-cash-card span {
  font-size: 0.52rem;
}

.app-cash-card > b,
.app-open-prompt > b {
  padding: 7px 8px;
  font-size: 0.5rem;
}

.app-tabs {
  gap: 10px;
  margin-top: 9px;
  padding: 0 2px 6px;
  font-size: 0.5rem;
}

.app-overview {
  margin-top: 8px;
  padding: 8px;
}

.app-overview header strong {
  font-size: 0.6rem;
}

.app-overview header span {
  font-size: 0.5rem;
}

.app-open-prompt {
  display: block;
  margin-top: 7px;
  padding: 8px;
}

.app-open-prompt > strong,
.app-open-prompt > span {
  font-size: 0.49rem;
}

.app-open-prompt > span {
  margin: 4px 0 8px;
}

.app-open-prompt > b {
  display: inline-block;
}

@media (max-width: 760px) {
  .product-screen-android {
    width: min(294px, 84%);
  }
}

/* Product previews use generated device mockups with the captured application surfaces inside them. */
.product-screens {
  position: relative;
  display: block;
  min-height: 500px;
  padding: 18px 128px 34px 0;
}

.product-screen-web,
.product-screen-android {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.product-screen-web {
  width: 100%;
  max-width: 680px;
  margin-top: 18px;
}

.product-screen-viewport,
.product-screen-viewport-web,
.product-screen-viewport-android {
  overflow: visible;
  background: transparent;
  aspect-ratio: auto;
}

.real-screen-frame,
.device-mockup {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  overflow: hidden;
  background: transparent;
}

.device-mockup-frame {
  display: block;
  width: 100%;
  height: auto;
}

.product-screen-android {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: min(218px, 100%);
  padding: 0;
  transform: none;
}

@media (max-width: 1040px) {
  .product-screens {
    min-height: 460px;
    padding-right: 112px;
  }

  .product-screen-android {
    width: min(198px, 100%);
  }
}

@media (max-width: 760px) {
  .product-screens {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    min-height: 0;
    padding: 0 12px 20px;
  }

  .product-screen-web {
    width: 100%;
    margin-top: 0;
  }

  .product-screen-android {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(218px, 68%);
    transform: none;
  }
}
