:root {
  --navy-950: #07101f;
  --navy-900: #0a1730;
  --navy-800: #102344;
  --blue-700: #1557d7;
  --blue-600: #1769ee;
  --blue-500: #3180ff;
  --blue-100: #e8f0ff;
  --amber-500: #f59e0b;
  --ink: #0c1930;
  --muted: #5c6a80;
  --line: #dce4ef;
  --surface: #f4f7fb;
  --white: #ffffff;
  --shadow-sm: 0 8px 28px rgba(19, 38, 74, 0.08);
  --shadow-md: 0 18px 56px rgba(10, 31, 70, 0.13);
  --shadow-lg: 0 30px 90px rgba(4, 18, 43, 0.22);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.035em; }
p { color: var(--muted); }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { position: relative; padding: 112px 0; }
.section-soft { background: var(--surface); }
.section-dark { color: var(--white); background: var(--navy-950); }
.section-header { max-width: 760px; margin-bottom: 48px; }
.section-header.center { margin-inline: auto; text-align: center; }
.section-header h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.55rem); }
.section-header p { margin-bottom: 0; font-size: 1.08rem; }
.section-dark .section-header p, .section-dark p { color: #aab8ce; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--blue-600);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 999px; }
.eyebrow-light { color: #78aaff; }
.icon { width: 24px; height: 24px; flex: 0 0 auto; }
.button-icon, .link-icon { width: 17px; height: 17px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: .94rem;
  font-weight: 750;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: linear-gradient(135deg, var(--blue-600), #0d4ecb); box-shadow: 0 10px 26px rgba(23, 105, 238, .25); }
.button-primary:hover { box-shadow: 0 15px 34px rgba(23, 105, 238, .34); }
.button-secondary { color: var(--ink); background: var(--white); border-color: #cad7e8; }
.button-secondary:hover { border-color: var(--blue-500); }
.button-ghost-light { color: var(--white); border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.06); }
.button-muted { color: #718097; background: #edf1f6; border-color: #dfe6ef; }
.button-small { min-height: 42px; padding-inline: 17px; font-size: .87rem; }
.button-large { min-height: 58px; padding-inline: 28px; font-size: 1rem; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--blue-600); font-weight: 750; font-size: .9rem; }
.text-link .link-icon { transition: transform .2s ease; }
.text-link:hover .link-icon { transform: translateX(3px); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Navigation */
.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; height: 76px; color: var(--white); transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled, .portal-page .site-header, .placeholder-page .site-header { color: var(--ink); background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(218,226,238,.9); box-shadow: 0 8px 30px rgba(16,35,68,.07); backdrop-filter: blur(16px); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; min-height: 42px; }
.brand-wordmark { color: inherit; font-size: 1.18rem; font-weight: 900; letter-spacing: .08em; white-space: nowrap; }
.brand-z { color: #5a92ff; }
.brand-bracket { color: var(--amber-500); font-weight: 800; letter-spacing: -.05em; }
.brand-logo-image { width: auto; height: 38px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { position: relative; padding: 9px 0; font-size: .84rem; font-weight: 650; color: inherit; opacity: .84; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px; background: var(--blue-500); transition: right .2s ease; }
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { right: 0; }
.nav-toggle { display: none; width: 44px; height: 44px; place-items: center; background: transparent; border: 0; border-radius: 10px; cursor: pointer; }

/* Hero */
.hero { min-height: 810px; padding: 154px 0 90px; color: var(--white); background: radial-gradient(circle at 72% 30%, rgba(31, 105, 228, .30), transparent 33%), radial-gradient(circle at 12% 15%, rgba(255, 163, 31, .11), transparent 26%), linear-gradient(142deg, #07101f 0%, #091933 55%, #07101f 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.17) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.17) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to bottom, #000, transparent 80%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .92fr 1.08fr; gap: 52px; align-items: center; }
.hero-copy { max-width: 650px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; padding: 7px 12px; color: #c6d8f6; border: 1px solid rgba(128, 169, 232, .28); border-radius: 999px; background: rgba(255,255,255,.05); font-size: .73rem; font-weight: 700; letter-spacing: .04em; }
.hero-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber-500); box-shadow: 0 0 0 5px rgba(245,158,11,.12); }
.hero h1 { max-width: 680px; margin-bottom: 24px; font-size: clamp(2.55rem, 5vw, 4.6rem); }
.hero h1 span { color: #81aaff; }
.hero-copy > p { max-width: 610px; margin-bottom: 32px; color: #b6c3d8; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 34px; color: #8e9fb8; font-size: .77rem; font-weight: 700; }
.hero-tags span { display: inline-flex; align-items: center; gap: 8px; }
.hero-tags span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #4c83dc; }
.hero-visual { position: relative; min-width: 0; align-self: center; }
.hero-image-wrap { position: relative; display: grid; place-items: center; padding: clamp(8px, 1vw, 14px); border: 1px solid rgba(153,187,240,.2); border-radius: 28px; background: linear-gradient(145deg, rgba(49,128,255,.09), rgba(255,255,255,.035)); box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1200px) rotateY(-3deg); }
.hero-image-wrap::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); pointer-events: none; }
.hero-image { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; object-position: center; border-radius: 20px; }
.floating-proof { position: absolute; left: -26px; bottom: -22px; display: flex; align-items: center; gap: 12px; padding: 14px 17px; color: var(--ink); background: rgba(255,255,255,.95); border: 1px solid rgba(255,255,255,.7); border-radius: 15px; box-shadow: var(--shadow-md); backdrop-filter: blur(12px); }
.proof-icon { display: grid; width: 37px; height: 37px; place-items: center; color: var(--blue-600); background: var(--blue-100); border-radius: 10px; }
.proof-icon .icon { width: 19px; }
.floating-proof strong { display: block; font-size: .86rem; line-height: 1.2; }
.floating-proof small { display: block; color: var(--muted); font-size: .72rem; }

/* Problem */
.problem-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 76px; align-items: start; }
.problem-intro { position: sticky; top: 112px; }
.problem-intro h2 { margin-bottom: 22px; font-size: clamp(2rem, 3.6vw, 3.3rem); }
.problem-intro p { font-size: 1.06rem; }
.problem-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.problem-item { display: flex; gap: 13px; min-height: 105px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 7px 22px rgba(22,44,83,.04); }
.problem-item .problem-mark { display: grid; flex: 0 0 auto; width: 30px; height: 30px; place-items: center; color: #b25325; background: #fff2eb; border-radius: 9px; font-size: 1rem; font-weight: 900; }
.problem-item p { margin: 2px 0 0; color: #435168; font-size: .93rem; line-height: 1.5; }
.problem-answer { grid-column: 1 / -1; padding: 30px; color: var(--white); background: linear-gradient(135deg, #0a1a37, #123773); border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.problem-answer h3 { margin-bottom: 10px; font-size: 1.55rem; }
.problem-answer p { max-width: 650px; margin-bottom: 22px; color: #bbc9dd; }

/* POS */
.pos-shell { position: relative; padding: 70px; border: 1px solid #17325b; border-radius: var(--radius-lg); background: radial-gradient(circle at 78% 18%, rgba(49,128,255,.24), transparent 34%), #09162c; overflow: hidden; box-shadow: var(--shadow-lg); }
.pos-shell::after { content: ""; position: absolute; width: 320px; height: 320px; right: -110px; bottom: -140px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.02), 0 0 0 90px rgba(255,255,255,.018); }
.pos-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.product-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; color: #78aaff; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.product-kicker i { width: 9px; height: 9px; background: var(--amber-500); border-radius: 3px; transform: rotate(45deg); }
.pos-copy h2 { margin-bottom: 20px; font-size: clamp(2.15rem, 4vw, 3.65rem); }
.pos-copy p { margin-bottom: 30px; font-size: 1.05rem; }
.pos-copy .product-statement { margin: 26px 0; padding-left: 18px; color: #e8eef9; border-left: 3px solid var(--amber-500); font-weight: 700; }
.pos-features { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.pos-feature { padding: 18px 14px; border: 1px solid rgba(144,175,224,.16); border-radius: 13px; background: rgba(255,255,255,.045); }
.pos-feature strong { display: block; margin-bottom: 3px; color: #edf4ff; font-size: .85rem; }
.pos-feature span { color: #8294b0; font-size: .72rem; }
.pos-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Solutions */
.solution-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.solution-card { position: relative; min-height: 285px; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.solution-card:hover { transform: translateY(-6px); border-color: #b6cdf4; box-shadow: var(--shadow-md); }
.solution-number { display: inline-flex; margin-bottom: 42px; color: #8ca1be; font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.solution-card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.solution-card p { margin-bottom: 0; font-size: .91rem; }
.solution-card::after { content: ""; position: absolute; right: -25px; bottom: -25px; width: 90px; height: 90px; border-radius: 50%; background: var(--blue-100); opacity: .7; }
.solution-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 26px; padding: 30px 36px; color: var(--white); background: linear-gradient(110deg, var(--blue-700), #0a2f72); border-radius: var(--radius-md); }
.solution-cta h3 { margin-bottom: 5px; font-size: 1.45rem; }
.solution-cta p { margin: 0; color: #c1d1e9; }

/* Timeline */
.process-grid { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 0; }
.process-grid::before { content: ""; position: absolute; top: 38px; left: 7%; right: 7%; height: 1px; background: #d5deea; }
.process-step { position: relative; padding: 0 14px; text-align: center; }
.process-number { position: relative; z-index: 1; display: grid; width: 76px; height: 76px; place-items: center; margin: 0 auto 26px; color: var(--blue-600); background: var(--white); border: 1px solid #bcd0ed; border-radius: 50%; box-shadow: 0 7px 22px rgba(19,64,132,.1); font-size: .82rem; font-weight: 900; letter-spacing: .08em; }
.process-step h3 { margin-bottom: 8px; font-size: 1rem; }
.process-step p { margin: 0; font-size: .81rem; line-height: 1.5; }

/* Demo cards */
.demo-toolbar-line { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.demo-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.demo-card { display: flex; min-width: 0; min-height: 425px; flex-direction: column; padding: 25px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 8px 28px rgba(17,42,84,.045); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.demo-card:hover { transform: translateY(-5px); border-color: #b8cae6; box-shadow: var(--shadow-md); }
.demo-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.demo-icon { display: grid; width: 54px; height: 54px; place-items: center; color: var(--blue-600); background: #e9f1ff; border-radius: 15px; }
.demo-card-teal .demo-icon { color: #087f79; background: #e3f7f4; }
.demo-card-violet .demo-icon { color: #7147c9; background: #f0eaff; }
.demo-card-orange .demo-icon { color: #c45a1a; background: #fff0e5; }
.demo-card-cyan .demo-icon { color: #087b9b; background: #e5f8fc; }
.demo-card-amber .demo-icon { color: #a76200; background: #fff4d8; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; font-size: .69rem; font-weight: 800; letter-spacing: .02em; }
.status-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.is-coming { color: #8c6425; background: #fff4d9; }
.is-available { color: #14734b; background: #e5f7ee; }
.demo-card-body { flex: 1; }
.demo-card .eyebrow { margin-bottom: 9px; font-size: .68rem; }
.demo-card h3 { margin-bottom: 12px; font-size: 1.28rem; }
.demo-card p { min-height: 68px; margin-bottom: 18px; font-size: .89rem; line-height: 1.55; }
.demo-card ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 20px; padding: 0; list-style: none; }
.demo-card li { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; color: #526178; background: #f2f5f9; border-radius: 7px; font-size: .71rem; font-weight: 650; }
.list-check { width: 12px; height: 12px; color: var(--blue-600); }
.demo-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 19px; border-top: 1px solid #e9eef5; }
.demo-card-compact { min-height: 405px; }
.demo-section-footer { margin-top: 34px; text-align: center; }

/* Portfolio */
.portfolio-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.portfolio-tags span { padding: 7px 12px; color: #536178; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; font-weight: 700; }
.portfolio-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: 240px 240px; gap: 18px; }
.portfolio-card { position: relative; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.portfolio-card:first-child { grid-row: 1 / 3; }
.portfolio-card h3 { position: relative; z-index: 2; margin-bottom: 4px; font-size: 1.05rem; }
.portfolio-card p { position: relative; z-index: 2; margin: 0; font-size: .78rem; }
.mock-screen { position: absolute; left: 24px; right: 24px; bottom: -28px; height: 73%; padding: 13px; background: #0d1d38; border: 7px solid #142849; border-bottom: 0; border-radius: 13px 13px 0 0; box-shadow: 0 -14px 36px rgba(9,28,64,.17); }
.portfolio-card:first-child .mock-screen { height: 76%; }
.mock-bar { height: 10px; margin-bottom: 12px; border-radius: 4px; background: rgba(255,255,255,.12); }
.mock-content { display: grid; grid-template-columns: .3fr .7fr; gap: 9px; height: calc(100% - 22px); }
.mock-side, .mock-main { border-radius: 7px; background: rgba(255,255,255,.06); }
.mock-main { padding: 10px; }
.mock-chart { height: 55%; margin-bottom: 8px; border-radius: 5px; background: linear-gradient(150deg, rgba(49,128,255,.6), rgba(49,128,255,.05)); clip-path: polygon(0 70%,15% 50%,30% 62%,46% 24%,65% 45%,82% 12%,100% 25%,100% 100%,0 100%); }
.mock-rows { height: 8px; margin-bottom: 6px; border-radius: 4px; background: rgba(255,255,255,.1); }
.portfolio-card:nth-child(2) .mock-screen { background: #fafafa; border-color: #e7ebf1; }
.portfolio-card:nth-child(2) .mock-bar, .portfolio-card:nth-child(2) .mock-side, .portfolio-card:nth-child(2) .mock-main { background: #e8edf5; }
.portfolio-card:nth-child(3) .mock-screen { background: #14362f; border-color: #1d5147; }
.portfolio-card:nth-child(4) .mock-screen { background: #37230b; border-color: #68481d; }
.portfolio-card:nth-child(5) .mock-screen { background: #2e174b; border-color: #53307d; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-md); overflow: hidden; }
.why-item { padding: 36px; background: #0a1730; }
.why-icon { display: grid; width: 44px; height: 44px; place-items: center; margin-bottom: 26px; color: #80aaff; border: 1px solid rgba(128,170,255,.28); border-radius: 13px; }
.why-icon span { font-size: .92rem; font-weight: 900; }
.why-item h3 { margin-bottom: 10px; font-size: 1.18rem; }
.why-item p { margin: 0; font-size: .89rem; line-height: 1.55; }

/* CTA */
.cta-section { padding: 90px 0; background: var(--surface); }
.cta-panel { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; padding: 62px 66px; color: var(--white); background: linear-gradient(118deg, #0a1832 0%, #0e3271 70%, #145dd2 100%); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.cta-panel::before { content: ""; position: absolute; width: 350px; height: 350px; right: -140px; top: -180px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 50px rgba(255,255,255,.035), 0 0 0 100px rgba(255,255,255,.025); }
.cta-copy { position: relative; z-index: 1; max-width: 720px; }
.cta-copy h2 { margin-bottom: 16px; font-size: clamp(2rem, 3.5vw, 3.2rem); }
.cta-copy p { margin: 0; color: #c4d4ec; font-size: 1.02rem; }
.cta-action { position: relative; z-index: 1; text-align: center; }
.cta-action small { display: block; margin-top: 10px; color: #c5d5ed; font-size: .75rem; }

/* Footer */
.site-footer { padding: 72px 0 24px; color: var(--white); background: #050b15; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr; gap: 70px; padding-bottom: 58px; }
.brand-footer { margin-bottom: 18px; }
.footer-brand > p { margin-bottom: 8px; color: #d8e2f1; font-weight: 700; }
.footer-brand .footer-note { max-width: 390px; margin: 0; color: #77869e; font-size: .88rem; font-weight: 400; }
.site-footer h2 { margin: 2px 0 19px; color: #8190a6; font-size: .73rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { width: fit-content; color: #c0ccdc; font-size: .88rem; transition: color .2s ease; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 23px; color: #65748b; border-top: 1px solid rgba(255,255,255,.09); font-size: .77rem; }

/* WhatsApp */
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: grid; width: 58px; height: 58px; place-items: center; color: var(--white); background: #1fbf65; border: 3px solid rgba(255,255,255,.92); border-radius: 50%; box-shadow: 0 12px 32px rgba(15,92,51,.3); transition: transform .2s ease; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.03); }
.whatsapp-float .icon { width: 27px; height: 27px; }
.whatsapp-tooltip { position: absolute; right: 68px; width: max-content; padding: 8px 11px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--shadow-sm); font-size: .76rem; font-weight: 700; opacity: 0; transform: translateX(5px); pointer-events: none; transition: .2s ease; }
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: none; }

/* Portal */
.portal-hero { padding: 150px 0 68px; background: radial-gradient(circle at 75% 0%, rgba(49,128,255,.16), transparent 30%), var(--surface); border-bottom: 1px solid var(--line); }
.portal-hero-grid { display: grid; grid-template-columns: 1fr .65fr; gap: 70px; align-items: end; }
.portal-hero h1 { max-width: 760px; margin-bottom: 18px; font-size: clamp(2.65rem, 5vw, 4.8rem); }
.portal-hero p { max-width: 680px; margin-bottom: 0; font-size: 1.08rem; }
.portal-stat { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.portal-stat div { padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 15px; }
.portal-stat strong { display: block; font-size: 1.55rem; }
.portal-stat span { color: var(--muted); font-size: .75rem; }
.portal-main { padding: 58px 0 110px; }
.portal-toolbar { display: grid; grid-template-columns: minmax(260px, 420px) 1fr auto; gap: 20px; align-items: center; margin-bottom: 32px; }
.search-box { position: relative; }
.search-box [data-search-icon] { position: absolute; left: 15px; top: 50%; color: #73829a; transform: translateY(-50%); }
.search-box .icon { width: 19px; height: 19px; }
.search-box input { width: 100%; height: 50px; padding: 0 16px 0 46px; color: var(--ink); background: var(--white); border: 1px solid #cad5e4; border-radius: 12px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.search-box input:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(49,128,255,.11); }
.filter-list { display: flex; gap: 7px; min-width: 0; overflow-x: auto; padding: 3px 2px 6px; scrollbar-width: none; }
.filter-list::-webkit-scrollbar { display: none; }
.filter-chip { flex: 0 0 auto; height: 40px; padding: 0 14px; color: #58677e; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; font-weight: 750; cursor: pointer; transition: .2s ease; }
.filter-chip:hover, .filter-chip.is-active { color: var(--white); background: var(--navy-900); border-color: var(--navy-900); }
.demo-count { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.empty-state { padding: 70px 20px; text-align: center; background: var(--surface); border: 1px dashed #bdcadb; border-radius: var(--radius-md); }
.empty-state h2 { margin-bottom: 8px; font-size: 1.4rem; }
.empty-state p { margin-bottom: 20px; }

/* Placeholder pages */
.placeholder-page { min-height: 100vh; background: var(--surface); }
.placeholder-main { min-height: calc(100vh - 265px); padding: 150px 0 95px; }
.placeholder-card { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; max-width: 1000px; margin: 0 auto; padding: 54px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.placeholder-visual { display: grid; min-height: 330px; place-items: center; color: var(--blue-600); background: linear-gradient(145deg, #eaf2ff, #f7f9fd); border: 1px solid #d8e5f6; border-radius: var(--radius-md); }
.placeholder-visual .icon { width: 82px; height: 82px; stroke-width: 1.2; }
.placeholder-copy { align-self: center; }
.placeholder-copy h1 { margin-bottom: 18px; font-size: clamp(2.2rem, 4vw, 3.65rem); }
.placeholder-copy > p { margin-bottom: 25px; font-size: 1.03rem; }
.placeholder-actions { display: flex; flex-wrap: wrap; gap: 11px; }

/* Responsive */
@media (max-width: 1100px) {
  .nav-links { gap: 15px; }
  .nav-links a { font-size: .78rem; }
  .nav-cta { display: none; }
  .hero-grid { gap: 34px; }
  .hero h1 { font-size: clamp(2.5rem, 5.1vw, 4rem); }
  .pos-shell { padding: 52px; }
  .solution-grid, .demo-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .process-grid { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .process-grid::before { display: none; }
  .portal-toolbar { grid-template-columns: minmax(260px, 380px) 1fr; }
  .demo-count { display: none; }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 84px 0; }
  .site-header { height: 70px; }
  .site-header:not(.is-scrolled) { background: rgba(7,16,31,.65); backdrop-filter: blur(12px); }
  .portal-page .site-header, .placeholder-page .site-header { background: rgba(255,255,255,.94); }
  .nav-toggle { display: grid; }
  .main-nav { position: fixed; inset: 70px 12px auto; display: block; padding: 20px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .2s ease; }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-links { display: grid; gap: 0; }
  .nav-links a { padding: 13px 8px; border-bottom: 1px solid #edf1f6; font-size: .95rem; }
  .nav-cta { display: inline-flex; width: 100%; margin-top: 16px; }
  .hero { min-height: auto; padding: 126px 0 78px; }
  .hero-grid, .problem-layout, .pos-grid, .portal-hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 690px; }
  .hero-image-wrap { transform: none; }
  .floating-proof { left: 14px; bottom: -18px; }
  .problem-layout { gap: 38px; }
  .problem-intro { position: static; }
  .pos-shell { padding: 44px 34px; }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .portfolio-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3,240px); }
  .portfolio-card:first-child { grid-row: auto; grid-column: 1 / -1; }
  .cta-panel { grid-template-columns: 1fr; gap: 28px; padding: 48px 38px; }
  .cta-action { text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 45px; }
  .footer-brand { grid-column: 1 / -1; }
  .portal-hero { padding-top: 130px; }
  .portal-hero-grid { gap: 32px; }
  .portal-stat { max-width: 420px; }
  .portal-toolbar { grid-template-columns: 1fr; }
  .placeholder-card { grid-template-columns: 1fr; padding: 36px; }
  .placeholder-visual { min-height: 240px; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 34px; }
  .section-header h2 { font-size: 2.15rem; }
  .hero { padding-top: 112px; }
  .hero-badge { max-width: 100%; font-size: .66rem; }
  .hero h1 { font-size: 2.55rem; }
  .hero-copy > p { font-size: 1rem; }
  .hero-actions, .pos-actions, .placeholder-actions { display: grid; }
  .hero-actions .button, .pos-actions .button, .placeholder-actions .button { width: 100%; }
  .hero-tags { gap: 8px 12px; }
  .hero-tags span { font-size: .7rem; }
  .hero-visual { margin-top: 6px; }
  .hero-image-wrap { padding: 7px; border-radius: 18px; }
  .hero-image { border-radius: 13px; }
  .floating-proof { position: relative; left: auto; bottom: auto; width: calc(100% - 18px); margin: -18px auto 0; }
  .problem-list { grid-template-columns: 1fr; }
  .problem-answer { padding: 24px; }
  .pos-shell { padding: 32px 22px; border-radius: 22px; }
  .pos-features { grid-template-columns: repeat(2,1fr); }
  .solution-grid, .demo-grid, .why-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: 240px; }
  .solution-number { margin-bottom: 30px; }
  .solution-cta { display: grid; padding: 28px 24px; }
  .solution-cta .button { width: 100%; }
  .process-grid { grid-template-columns: 1fr; gap: 0; }
  .process-step { display: grid; grid-template-columns: 58px 1fr; column-gap: 17px; padding: 0 0 28px; text-align: left; }
  .process-number { width: 58px; height: 58px; margin: 0; grid-row: 1 / 3; }
  .process-step h3 { margin-top: 4px; }
  .demo-toolbar-line { display: block; }
  .demo-toolbar-line .button { width: 100%; margin-top: 16px; }
  .demo-card { min-height: 0; }
  .portfolio-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(5,230px); }
  .portfolio-card:first-child { grid-column: auto; }
  .cta-section { padding: 66px 0; }
  .cta-panel { padding: 38px 24px; border-radius: 22px; }
  .cta-action .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 25px; }
  .footer-bottom { display: grid; }
  .whatsapp-float { right: 15px; bottom: 15px; width: 54px; height: 54px; }
  .whatsapp-tooltip { display: none; }
  .portal-hero h1 { font-size: 2.8rem; }
  .portal-stat { grid-template-columns: 1fr 1fr; }
  .portal-main { padding-top: 42px; }
  .placeholder-main { padding-top: 118px; }
  .placeholder-card { padding: 22px; border-radius: 20px; }
  .placeholder-visual { min-height: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

:focus-visible { outline: 3px solid rgba(49,128,255,.45); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Interactive demo preview */
body.demo-modal-open { overflow: hidden; }
.button:disabled { cursor: not-allowed; transform: none; box-shadow: none; opacity: .78; }
.demo-unavailable-note { color: #8793a5; font-size: .78rem; font-weight: 700; }
.demo-preview[hidden], .demo-error[hidden] { display: none; }
.demo-preview { position: fixed; inset: 0; z-index: 2200; display: grid; place-items: center; padding: 3vh 2vw; opacity: 0; visibility: hidden; transition: opacity .24s ease, visibility .24s ease; }
.demo-preview.is-open { opacity: 1; visibility: visible; }
.demo-preview-backdrop { position: absolute; inset: 0; background: rgba(3, 10, 24, .76); backdrop-filter: blur(14px); }
.demo-window { position: relative; display: flex; width: min(96vw, 1840px); height: 94dvh; min-height: 520px; flex-direction: column; color: #eaf1ff; background: #07101f; border: 1px solid rgba(146, 178, 229, .24); border-radius: 22px; box-shadow: 0 42px 120px rgba(0, 7, 24, .58); overflow: hidden; transform: translateY(18px) scale(.985); transition: transform .28s cubic-bezier(.2,.75,.3,1); }
.demo-preview.is-open .demo-window { transform: none; }
.demo-window-header { display: grid; min-height: 70px; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 11px 16px 11px 20px; background: linear-gradient(180deg, #10213e, #0a1730); border-bottom: 1px solid rgba(144, 176, 226, .18); }
.demo-window-brand { display: inline-flex; min-width: 150px; align-items: center; padding-right: 20px; border-right: 1px solid rgba(151, 179, 220, .18); }
.demo-window-brand .brand-logo-image { max-width: 145px; height: 34px; }
.demo-window-app { display: flex; min-width: 0; align-items: center; gap: 12px; }
.demo-window-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; color: #78aaff; background: rgba(49, 128, 255, .13); border: 1px solid rgba(91, 146, 235, .25); border-radius: 12px; }
.demo-window-icon .icon { width: 21px; height: 21px; }
.demo-window-app strong { display: block; max-width: 460px; overflow: hidden; color: #f5f8ff; font-size: .96rem; letter-spacing: -.01em; text-overflow: ellipsis; white-space: nowrap; }
.demo-window-meta { display: flex; align-items: center; gap: 10px; color: #91a1ba; font-size: .68rem; line-height: 1.35; }
.demo-window-meta b { display: inline-flex; align-items: center; gap: 5px; color: #70d9a1; font-size: .63rem; letter-spacing: .07em; }
.demo-window-meta i { width: 6px; height: 6px; background: #32c77f; border-radius: 50%; box-shadow: 0 0 0 4px rgba(50, 199, 127, .12); }
.demo-window-controls { display: flex; align-items: center; gap: 8px; }
.demo-control { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; padding: 0 13px; color: #c8d5e9; background: rgba(255,255,255,.055); border: 1px solid rgba(159, 183, 218, .17); border-radius: 10px; cursor: pointer; font-size: .76rem; font-weight: 750; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.demo-control:hover { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(150, 185, 237, .32); }
.demo-control .icon { width: 17px; height: 17px; }
.demo-control-close { color: #ffc4c4; }
.demo-stage { position: relative; flex: 1 1 auto; min-height: 0; background: #0b1629; overflow: hidden; }
.demo-iframe { position: absolute; inset: 0; width: 100%; height: 100%; background: #fff; border: 0; opacity: 0; transition: opacity .32s ease; }
.demo-iframe.is-ready { opacity: 1; }
.demo-iframe.is-hidden { visibility: hidden; }
.demo-loading, .demo-error { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 28px; text-align: center; background: radial-gradient(circle at 50% 40%, rgba(34, 100, 205, .2), transparent 34%), #0a162b; transition: opacity .28s ease, visibility .28s ease; }
.demo-loading.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.demo-loading-brand { margin-bottom: 30px; color: #fff; transform: scale(1.08); }
.demo-spinner { width: 42px; height: 42px; margin-bottom: 22px; border: 3px solid rgba(135, 172, 231, .18); border-top-color: #4a91ff; border-radius: 50%; animation: demo-spin .8s linear infinite; }
.demo-loading strong { margin-bottom: 5px; color: #f5f8ff; font-size: 1.05rem; }
.demo-loading small { color: #8293ad; }
.demo-error-icon { display: grid; width: 52px; height: 52px; place-items: center; margin-bottom: 18px; color: #ffc670; background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.24); border-radius: 50%; font-size: 1.4rem; font-weight: 900; }
.demo-error h2 { margin-bottom: 8px; font-size: 1.35rem; }
.demo-error p { margin-bottom: 22px; color: #94a4bb; }
.demo-window-footer { display: grid; min-height: 76px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 11px 18px 11px 20px; background: #0a1730; border-top: 1px solid rgba(144, 176, 226, .18); }
.demo-window-footer p { display: flex; min-width: 0; align-items: center; gap: 12px; margin: 0; color: #9cadc5; font-size: .72rem; line-height: 1.45; }
.demo-window-footer p strong { flex: 0 0 auto; color: #72dda5; font-size: .64rem; letter-spacing: .08em; }
.demo-window-cta { display: flex; align-items: center; gap: 12px; }
.demo-window-cta > span { color: #b5c2d7; font-size: .74rem; }
@keyframes demo-spin { to { transform: rotate(360deg); } }

@media (max-width: 920px) {
  .demo-preview { padding: 1.5vh 1.5vw; }
  .demo-window { width: 97vw; height: 97dvh; }
  .demo-window-header { gap: 12px; }
  .demo-window-brand { min-width: auto; padding-right: 12px; }
  .demo-window-brand .brand-wordmark { font-size: .9rem; }
  .demo-control-fullscreen span, .demo-window-footer p span { display: none; }
  .demo-window-footer { min-height: 68px; }
}

@media (max-width: 640px) {
  .demo-preview { display: block; padding: 0; }
  .demo-window { width: 100vw; height: 100dvh; min-height: 0; border: 0; border-radius: 0; box-shadow: none; }
  .demo-window-header { min-height: 64px; grid-template-columns: minmax(0,1fr) auto; gap: 8px; padding: 8px 10px 8px 12px; }
  .demo-window-brand { display: none; }
  .demo-window-app { gap: 9px; }
  .demo-window-icon { width: 38px; height: 38px; border-radius: 10px; }
  .demo-window-app strong { max-width: 42vw; font-size: .82rem; }
  .demo-window-meta { gap: 6px; font-size: .58rem; }
  .demo-window-meta b { font-size: .56rem; }
  .demo-control { min-width: 42px; min-height: 42px; padding: 0 10px; }
  .demo-control-fullscreen { display: none; }
  .demo-control-close span { display: inline; }
  .demo-window-footer { min-height: 82px; grid-template-columns: auto minmax(0,1fr); gap: 10px; padding: 9px 10px; }
  .demo-window-footer p { justify-content: center; }
  .demo-window-footer p strong { font-size: .58rem; }
  .demo-window-cta { display: grid; gap: 4px; }
  .demo-window-cta > span { font-size: .63rem; }
  .demo-window-cta .button { width: 100%; min-height: 40px; padding-inline: 11px; font-size: .72rem; }
  .demo-loading-brand { margin-bottom: 24px; }
  .demo-loading strong { font-size: .94rem; }
}
