/* Product-first page for Efikasno Terminali. Isolated from the shared landing styles. */
.terminal-page {
  --terminal-ink: #0b1426;
  --terminal-muted: #536078;
  --terminal-line: #dce2ea;
  --terminal-paper: #fff;
  --terminal-soft: #f4f6f9;
  --terminal-navy: #091426;
  --terminal-blue: #2563eb;
  background: var(--terminal-paper);
  color: var(--terminal-ink);
}
.terminal-page main { overflow: hidden; }
.terminal-page main > section { width: 100%; max-width: none; margin-inline: 0; }
.terminal-shell { width: min(100% - 48px, 1280px); margin-inline: auto; }
.terminal-section { padding: 128px 0; }
.terminal-page h1, .terminal-page h2, .terminal-page h3 { color: inherit; }
.terminal-page h1, .terminal-page h2 { font-family: 'Sora', sans-serif; font-weight: 650; letter-spacing: -.055em; }
.terminal-page h2 { font-size: clamp(42px, 5vw, 68px); line-height: 1.04; }
.terminal-page p { color: var(--terminal-muted); }

.terminal-hero { padding: 112px 0 64px; background: var(--terminal-paper); }
.terminal-hero__copy { max-width: 1280px; }
.terminal-hero h1 { max-width: 1050px; margin: 0; font-size: clamp(52px, 6.25vw, 82px); line-height: .99; }
.terminal-lead { max-width: 650px; margin: 34px 0 36px; font-size: 19px; line-height: 1.65; }
.terminal-button {
  display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 0 28px;
  border-radius: 8px; background: var(--terminal-blue); box-shadow: none; color: #fff;
  font: 650 15px/1 'Sora', sans-serif; text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}
.terminal-button:hover { background: #1d4ed8; transform: translateY(-1px); }
.terminal-button:focus-visible { outline: 3px solid rgba(37,99,235,.3); outline-offset: 4px; }
.terminal-methods { margin-top: 22px; color: #69758a; font-size: 14px; line-height: 1.5; }
.terminal-note { margin-top: 8px; font-size: 13px; }
.terminal-hero__media { margin-top: 86px; }
.terminal-photo-slot {
  aspect-ratio: 16 / 9; min-height: 0; margin: 0; overflow: hidden; background: #e5e8ec;
}
.terminal-photo-slot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 50%; }

.terminal-section-heading { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(320px,.7fr); gap: 72px; align-items: end; }
.terminal-section-heading > p { max-width: 490px; padding-bottom: 4px; font-size: 18px; line-height: 1.7; }
.terminal-system { background: var(--terminal-soft); }
.terminal-system__visual { display: grid; grid-template-columns: minmax(0,.72fr) 88px minmax(0,1.28fr); min-height: 540px; align-items: stretch; margin-top: 84px; }
.terminal-asset-slot {
  position: relative; min-width: 0; margin: 0; overflow: hidden; border: 1px solid #cfd6df; background: #e9edf2;
}
.terminal-asset-slot--device { background: #e3e7ec; }
.terminal-asset-slot--software { background: #fff; }
.terminal-asset-slot img { display: block; width: 100%; height: 100%; min-height: 538px; object-fit: cover; }
.terminal-asset-slot--device img { object-position: 70% center; }
.terminal-asset-slot--software img { padding: 18px; object-fit: contain; background: #fff; }
.terminal-asset-slot figcaption {
  position: absolute; right: 18px; bottom: 18px; left: 18px; padding: 12px 14px;
  background: rgba(9,20,38,.9); color: #fff; font-size: 10px; font-weight: 750;
  letter-spacing: .11em; text-transform: uppercase;
}
.terminal-system__link { display: grid; place-items: center; }
.terminal-system__link span { position: relative; width: 100%; height: 1px; background: #9aa6b8; }
.terminal-system__link span::after { content: ''; position: absolute; top: -4px; right: 0; width: 9px; height: 9px; border-top: 1px solid #718096; border-right: 1px solid #718096; transform: rotate(45deg); }
.terminal-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 54px; margin-top: 64px; }
.terminal-facts article { padding-top: 22px; border-top: 1px solid #cfd6df; }
.terminal-facts h3 { font-size: 19px; font-weight: 650; letter-spacing: -.025em; }
.terminal-facts p { margin-top: 10px; line-height: 1.65; }

.terminal-places { width: 100%; padding: 120px 0; background: var(--terminal-navy); color: #fff; }
.terminal-section-heading--light { grid-template-columns: minmax(0,840px); }
.terminal-section-heading--light h2 { color: #fff; }
.terminal-places__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; margin-top: 72px; }
.terminal-place__photo { aspect-ratio: 4 / 5; min-height: 0; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); }
.terminal-place__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.terminal-place:nth-child(1) .terminal-place__photo img { object-position: 19% center; }
.terminal-place:nth-child(2) .terminal-place__photo img { object-position: 36% center; }
.terminal-place:nth-child(3) .terminal-place__photo img { object-position: 63% center; }
.terminal-place h3 { margin-top: 25px; color: #fff; font-size: 21px; font-weight: 620; letter-spacing: -.025em; }
.terminal-place p { max-width: 340px; margin-top: 9px; color: #aeb9ca; font-size: 15px; line-height: 1.65; }

.terminal-setup { background: #fff; }
.terminal-steps { margin-top: 78px; list-style: none; border-top: 1px solid var(--terminal-line); }
.terminal-steps li { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 40px; align-items: start; padding: 48px 0; border-bottom: 1px solid var(--terminal-line); }
.terminal-steps li > span { color: #d5dbe4; font: 650 clamp(58px,7vw,96px)/.8 'Sora',sans-serif; letter-spacing: -.06em; }
.terminal-steps li > div { display: grid; grid-template-columns: minmax(280px,.8fr) minmax(280px,1fr); gap: 72px; align-items: start; }
.terminal-steps h3 { font-size: clamp(22px,2vw,30px); line-height: 1.2; letter-spacing: -.035em; }
.terminal-steps p { font-size: 17px; line-height: 1.65; }

.terminal-included { background: var(--terminal-soft); }
.terminal-included__layout { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: 116px; align-items: start; }
.terminal-included__intro { position: sticky; top: 120px; }
.terminal-included__intro h2 { max-width: 570px; }
.terminal-included__intro > p { max-width: 430px; margin-top: 24px; font-size: 18px; line-height: 1.7; }
.terminal-included__media { display: flex; max-width: 460px; align-items: center; gap: 16px; margin-top: 50px; color: #334155; font: 650 12px 'Sora',sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.terminal-included__media i { position: relative; height: 1px; flex: 1; background: #9da8b8; }
.terminal-included__media i::after {
  content: ''; position: absolute; top: -4px; right: 0; width: 9px; height: 9px;
  border-top: 1px solid #718096; border-right: 1px solid #718096; transform: rotate(45deg);
}
.terminal-specs { margin: 0; }
.terminal-specs > div { display: grid; grid-template-columns: 235px minmax(0,1fr); gap: 52px; padding: 29px 0; border-bottom: 1px solid #cfd6df; }
.terminal-specs > div:last-child { border-bottom: 0; }
.terminal-specs dt { font: 650 16px/1.45 'Sora',sans-serif; }
.terminal-specs dd { color: var(--terminal-muted); line-height: 1.6; }

.terminal-software { background: #fff; }
.terminal-software__layout { display: grid; grid-template-columns: minmax(330px,.54fr) minmax(0,1fr); gap: 72px; align-items: center; }
.terminal-software__copy > p { margin-top: 26px; font-size: 18px; line-height: 1.7; }
.terminal-software__copy .terminal-payroll-note { color: #24324a; font-weight: 620; }
.terminal-software__copy ul { margin-top: 34px; list-style: none; border-top: 1px solid var(--terminal-line); }
.terminal-software__copy li { padding: 13px 0; border-bottom: 1px solid var(--terminal-line); color: #334155; font-weight: 550; }
.terminal-asset-slot--wide { aspect-ratio: 1394 / 1144; min-height: 0; background: var(--terminal-soft); }
.terminal-asset-slot--wide img { min-height: 0; padding: 16px; object-fit: contain; background: var(--terminal-soft); }

.terminal-final { width: 100%; padding: 108px 0; background: var(--terminal-navy); color: #fff; }
.terminal-final__inner { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr); gap: 96px; align-items: end; }
.terminal-final h2 { max-width: 800px; color: #fff; font-size: clamp(42px,5.2vw,68px); }
.terminal-final p { max-width: 660px; margin-top: 25px; color: #b7c1d0; font-size: 18px; line-height: 1.7; }
.terminal-final__action { display: flex; flex-direction: column; align-items: flex-start; }
.terminal-button--light { background: #fff; color: var(--terminal-ink); }
.terminal-button--light:hover { background: #eef2f7; }
.terminal-final__action small { max-width: 310px; margin-top: 17px; color: #8e9aab; line-height: 1.55; }
.terminal-page .site-footer { background: #fff; }

@media (max-width: 980px) {
  .terminal-section { padding: 112px 0; }
  .terminal-section-heading { grid-template-columns: 1fr; gap: 28px; }
  .terminal-system__visual { grid-template-columns: 1fr; }
  .terminal-system__link { min-height: 72px; }
  .terminal-system__link span { width: 1px; height: 100%; }
  .terminal-system__link span::after { top: auto; right: -4px; bottom: 0; transform: rotate(135deg); }
  .terminal-facts { gap: 28px; }
  .terminal-places__grid { grid-template-columns: 1fr; gap: 58px; }
  .terminal-place__photo { aspect-ratio: 16 / 9; min-height: 0; }
  .terminal-steps li { grid-template-columns: 150px minmax(0,1fr); }
  .terminal-steps li > div { grid-template-columns: 1fr; gap: 14px; }
  .terminal-included__layout { gap: 60px; }
  .terminal-specs > div { grid-template-columns: 1fr; gap: 7px; }
  .terminal-software__layout { grid-template-columns: 1fr; }
  .terminal-software__copy { max-width: 650px; }
  .terminal-final__inner { gap: 52px; }
}

@media (max-width: 680px) {
  .terminal-shell { width: min(100% - 40px,1280px); }
  .terminal-section { padding: 88px 0; }
  .terminal-hero { padding: 68px 0 38px; }
  .terminal-hero h1 { font-size: clamp(43px,12.3vw,59px); line-height: 1.01; letter-spacing: -.06em; }
  .terminal-lead { margin-top: 25px; font-size: 17px; line-height: 1.62; }
  .terminal-button { width: 100%; min-height: 56px; }
  .terminal-methods { max-width: 330px; margin-top: 20px; font-size: 13px; }
  .terminal-note { line-height: 1.5; }
  .terminal-hero__media { margin-top: 58px; }
  .terminal-photo-slot { aspect-ratio: 4 / 5; min-height: 0; }
  .terminal-photo-slot img { height: 100%; object-position: 32% center; }
  .terminal-page h2 { font-size: clamp(36px,10.5vw,48px); }
  .terminal-section-heading > p { font-size: 16px; }
  .terminal-system__visual { min-height: 0; margin-top: 54px; }
  .terminal-asset-slot { min-height: 330px; }
  .terminal-asset-slot img { min-height: 328px; }
  .terminal-facts { grid-template-columns: 1fr; margin-top: 46px; }
  .terminal-places { padding: 88px 0 96px; }
  .terminal-places__grid { margin-top: 48px; }
  .terminal-place__photo { aspect-ratio: 1 / 1; min-height: 0; }
  .terminal-place__photo img { height: 100%; }
  .terminal-steps { margin-top: 52px; }
  .terminal-steps li { grid-template-columns: 1fr; gap: 27px; padding: 36px 0; }
  .terminal-steps li > span { font-size: 68px; }
  .terminal-steps h3 { font-size: 23px; }
  .terminal-steps p { font-size: 16px; }
  .terminal-included__layout { grid-template-columns: 1fr; gap: 58px; }
  .terminal-included__intro { position: static; }
  .terminal-included__intro > p { font-size: 16px; }
  .terminal-included__media { margin-top: 36px; }
  .terminal-specs > div { padding: 23px 0; }
  .terminal-software__layout { gap: 45px; }
  .terminal-software__copy > p { font-size: 16px; }
  .terminal-asset-slot--wide { min-height: 0; }
  .terminal-asset-slot--wide img { min-height: 0; padding: 10px; }
  .terminal-final { padding: 84px 0; }
  .terminal-final__inner { grid-template-columns: 1fr; gap: 40px; }
  .terminal-final p { font-size: 16px; }
  .terminal-final__action { align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) { .terminal-button { transition: none; } }
