:root {
  /* 2026-10-25: paleta kao unutrašnjost app.srtcloud.eu (navy podloga, zeleni gumbi, tirkizni naglasci) */
  --page-bg: #0b1222;
  --panel: #111a2e;
  --panel-strong: #16213a;
  --panel-soft: #1b2640;
  --line: #24304a;
  --line-strong: #33415f;
  --text: #f4f7f8;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --accent: #2dd4bf;
  --accent-2: #10b981;
  --warning: #ffb25f;
  --max-width: 1180px;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(45, 212, 191, .08), rgba(11, 18, 34, 0) 360px),
    var(--page-bg);
  background-repeat: no-repeat;
  font-family: Intervariable, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body p,
body a,
body li,
body div,
body span,
body summary,
body button {
  font-family: Intervariable, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.navbar {
  z-index: 50;
}

.container.navbar-container {
  max-width: var(--max-width);
}

.nav-link {
  color: var(--muted-strong);
}

.nav-link:hover {
  color: var(--text);
  background-color: rgba(255, 255, 255, .07);
}

.button {
  color: #031015;
  background-color: var(--text);
  border-radius: 5px;
}

.button:hover {
  color: #031015;
  background-color: #dbeff8;
}

.brand {
  align-items: center;
  width: auto;
  min-height: 40px;
  padding: 0;
  display: inline-flex;
}

.brand-image {
  width: 40px;
  height: 40px;
  padding-right: 0;
  border-radius: 7px;
  object-fit: contain;
}

.brand.w--current {
  width: auto;
}

.site-container {
  width: min(100% - 40px, var(--max-width));
  margin-right: auto;
  margin-left: auto;
}

.site-hero {
  padding: 86px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
  gap: 52px;
  align-items: center;
  min-height: calc(100vh - 130px);
}

.hero-video-first {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: calc(100vh - 118px);
}

.hero-video-first .video-showcase {
  width: min(100%, 980px);
}

.hero-minimal-copy {
  text-align: center;
  max-width: 760px;
}

.hero-minimal-copy h1 {
  color: var(--text);
  letter-spacing: 0;
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 650;
  line-height: 1.04;
}

.hero-minimal-copy p {
  color: var(--muted-strong);
  margin: 14px auto 0;
  max-width: 650px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}

.hero-minimal-copy .hero-actions {
  justify-content: center;
  margin-top: 22px;
}

.hero-minimal-copy .hero-note {
  color: var(--muted);
  font-size: 14px;
}

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

.eyebrow {
  color: var(--accent-2);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
}

.hero-copy h1,
.section-copy h2,
.section-heading h2,
.final-cta h2 {
  color: var(--text);
  letter-spacing: 0;
  margin: 0;
  font-weight: 650;
  line-height: 1.02;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(46px, 6vw, 76px);
}

.hero-lead {
  color: var(--muted-strong);
  max-width: 560px;
  margin: 24px 0 0;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
}

.hero-actions,
.pricing-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}

.primary-action,
.secondary-action {
  border-radius: 5px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
}

.primary-action {
  color: #041016;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.primary-action:hover {
  color: #041016;
  filter: brightness(1.08);
}

.secondary-action {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .04);
}

.secondary-action:hover {
  border-color: var(--accent);
}

.hero-note {
  color: var(--muted);
  max-width: 470px;
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.45;
}

.video-showcase {
  position: relative;
}

.video-showcase::before {
  content: "";
  position: absolute;
  inset: -22px;
  z-index: -1;
  background: linear-gradient(135deg, rgba(45, 212, 191, .12), rgba(16, 185, 129, .06));
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 12px;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(4, 12, 16, .94), rgba(11, 22, 27, .82)),
    linear-gradient(90deg, rgba(45, 212, 191, .12), rgba(16, 185, 129, .08));
  background-repeat: no-repeat;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 90px rgba(0, 0, 0, .52);
}

.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0) 30%, rgba(0, 0, 0, .28));
}

.video-statusbar {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted-strong);
  font-size: 12px;
}

.video-statusbar span {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(0, 0, 0, .42);
  padding: 7px 10px;
}

.signal-map {
  position: absolute;
  inset: 68px 38px 86px;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 64px 1fr 1.1fr;
  gap: 16px;
  align-items: center;
}

.node,
.destination,
.comparison-route,
.steps-panel,
.dashboard-mockup,
.satellite-panel,
.pricing-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 26, 46, .86);
}

.node {
  padding: 18px;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cloud-node {
  border-color: rgba(45, 212, 191, .7);
  background: linear-gradient(145deg, rgba(45, 212, 191, .22), rgba(18, 24, 29, .88));
}

.node-label {
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 12px;
  text-transform: uppercase;
}

.node strong {
  color: var(--text);
  font-size: 18px;
}

.flow-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  position: relative;
}

.flow-line::after {
  content: "";
  position: absolute;
  top: -3px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 18px var(--accent);
}

.destinations {
  display: grid;
  gap: 10px;
}

.destination {
  color: var(--muted-strong);
  min-height: 38px;
  padding: 11px 12px;
  font-size: 13px;
}

.destination.live::before,
.dashboard-top strong::before,
.destination-list strong::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 12px rgba(16, 185, 129, .72);
}

.play-button {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  transform: translateX(-50%);
  color: var(--text);
  cursor: default;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(11, 18, 34, .78);
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 32px);
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
}

.play-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  position: relative;
  flex: 0 0 auto;
}

.play-icon::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 12px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #041016;
}

.quick-proof {
  border-top: 1px solid rgba(255, 255, 255, .07);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .025);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}

.proof-grid div {
  padding: 28px 28px 28px 0;
}

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

.proof-grid strong {
  color: var(--text);
  margin-bottom: 7px;
  font-size: 21px;
}

.proof-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.content-section {
  padding: 92px 0;
}

.two-column,
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.dashboard-grid {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr);
}

.section-copy h2,
.section-heading h2 {
  max-width: 720px;
  font-size: clamp(34px, 4vw, 52px);
}

.section-copy p:not(.eyebrow),
.section-heading + p,
.final-cta p {
  color: var(--muted-strong);
  margin: 20px 0 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
}

.steps-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.step-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.step-item:last-child {
  border-bottom: 0;
}

.step-item > span {
  color: var(--accent);
  font-weight: 800;
}

.step-item h3,
.comparison-route h3,
.pricing-card h3 {
  color: var(--text);
  margin: 0;
  font-size: 20px;
  font-weight: 650;
}

.step-item p,
.comparison-route p,
.pricing-card p,
.faq-list p,
.site-footer p {
  color: var(--muted);
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}

.problem-section,
.satellite-section,
.faq-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0));
}

.comparison-panel {
  display: grid;
  gap: 14px;
}

.comparison-route {
  padding: 24px;
}

.comparison-route.muted {
  opacity: .72;
}

.comparison-route.active {
  border-color: rgba(16, 185, 129, .45);
  background: linear-gradient(135deg, rgba(16, 185, 129, .13), rgba(17, 26, 46, .88));
}

.dashboard-mockup {
  padding: 24px;
  background: linear-gradient(135deg, rgba(45, 212, 191, .1), rgba(17, 26, 46, .92));
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.dashboard-top span,
.metric-grid span,
.destination-list span,
.satellite-panel span,
.pricing-card span {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.dashboard-top strong,
.destination-list strong {
  color: var(--accent-2);
  font-size: 13px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.metric-grid div {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 6px;
  background: rgba(0, 0, 0, .2);
  padding: 14px;
}

.metric-grid strong {
  color: var(--text);
  margin-top: 8px;
  font-size: 17px;
  display: block;
}

.destination-list {
  display: grid;
  gap: 8px;
}

.destination-list div {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 12px 0 4px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

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

.use-case-grid div {
  color: var(--muted-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  min-height: 72px;
  padding: 22px;
  font-weight: 650;
}

.satellite-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.satellite-panel div {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 6px;
  padding: 20px;
}

.satellite-panel p {
  color: var(--text);
  margin: 9px 0 0;
  font-size: 18px;
  line-height: 1.45;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pricing-card {
  padding: 26px;
  background: var(--panel);
}

.pricing-card.featured {
  border-color: rgba(45, 212, 191, .62);
  background: linear-gradient(145deg, rgba(45, 212, 191, .16), rgba(17, 26, 46, .95));
}

.pricing-card strong {
  color: var(--text);
  margin: 24px 0 8px;
  font-size: 38px;
  line-height: 1;
  display: block;
}

.pricing-card span {
  display: block;
}

.pricing-cta {
  justify-content: center;
  margin-top: 26px;
  text-align: center;
}

.pricing-cta p {
  color: var(--muted);
  width: 100%;
  margin: 0;
  font-size: 14px;
}

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

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  color: var(--text);
  cursor: pointer;
  font-size: 17px;
  font-weight: 650;
}

.final-cta {
  padding: 88px 0;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(45, 212, 191, .16), rgba(16, 185, 129, .08)),
    var(--panel-strong);
}

.final-cta h2 {
  font-size: clamp(34px, 4vw, 56px);
}

.final-cta p {
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
}

.final-cta .primary-action {
  margin-top: 28px;
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand {
  align-items: center;
  width: fit-content;
  min-height: 42px;
  padding: 0;
  display: inline-flex;
}

.site-footer img {
  width: 42px;
  height: 42px;
  border-radius: 7px;
  object-fit: contain;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, .9fr) minmax(0, 1.1fr);
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 22px;
  justify-self: end;
  width: min(100%, 500px);
}

.footer-column {
  display: grid;
  gap: 7px;
  align-content: start;
}

.footer-column h2 {
  color: var(--text);
  margin: 0 0 3px;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-column a {
  color: var(--muted-strong);
  font-size: 12px;
  line-height: 1.3;
}

.footer-column a:hover {
  color: var(--text);
}

@media screen and (max-width: 991px) {
  .site-hero {
    padding-top: 56px;
  }

  .navbar {
    position: sticky;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    width: 100%;
    padding: 0;
  }

  .nav-open .nav-menu {
    display: block;
  }

  .nav-menu-link-holder {
    background: rgba(9, 13, 16, .98);
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 22px 50px rgba(0, 0, 0, .38);
  }

  .hero-grid,
  .two-column,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 38px;
    min-height: 0;
  }

  .hero-video-first {
    min-height: 0;
  }

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

  .signal-map {
    inset: 62px 24px 78px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .flow-line {
    width: 2px;
    height: 28px;
    margin: 0 auto;
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
  }

  .flow-line::after {
    top: auto;
    right: -3px;
    bottom: 4px;
  }

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

  .node {
    min-height: 76px;
  }

  .reverse-on-mobile .comparison-panel {
    order: 2;
  }
}

@media screen and (max-width: 767px) {
  .site-container {
    width: min(100% - 28px, var(--max-width));
  }

  .site-hero,
  .content-section,
  .final-cta {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .hero-copy h1 {
    font-size: 42px;
    line-height: 1.06;
  }

  .hero-lead {
    font-size: 17px;
  }

  .proof-grid,
  .use-case-grid,
  .pricing-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid div {
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .proof-grid div:last-child {
    border-bottom: 0;
  }

  .video-frame {
    min-height: 520px;
    aspect-ratio: auto;
  }

  .video-statusbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .play-button {
    width: calc(100% - 32px);
  }

  .step-item {
    grid-template-columns: 1fr;
    padding: 22px;
  }

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

  .footer-columns {
    justify-self: stretch;
    width: 100%;
  }
}

@media screen and (max-width: 479px) {
  .hero-copy h1 {
    font-size: 36px;
  }

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

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .video-frame {
    min-height: 560px;
  }

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

  .signal-map {
    inset: 104px 16px 88px;
  }

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

  .node strong {
    font-size: 16px;
  }
}

/* Izbornik: neprozirnija podloga i jače zamućenje - tekst stranice više ne prolazi ispod (2026-10-25) */
.container.navbar-container {
  background-color: rgba(10, 14, 17, .88);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-color: rgba(255, 255, 255, .1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

/* Hero: naslov i gumbi odmah vidljivi (lijevo), shema / video desno (2026-10-25) */
.hero-grid {
  min-height: calc(100vh - 160px);
}

@media screen and (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
    min-height: 0;
  }
}

.site-hero .hero-grid {
  min-height: min(calc(100vh - 160px), 640px);
}

/* Stranica SDI Analyzer (2026-10-25): slike proizvoda i moduli */
.product-shot {
  margin: 0;
}

.product-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 90px rgba(0, 0, 0, .52);
}

.product-shot figcaption {
  color: var(--muted);
  margin-top: 12px;
  font-size: 14px;
}

.shot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.module-grid .pricing-card p {
  min-height: 0;
}

.satellite-panel div + div + div {
  margin-top: 12px;
}

@media screen and (max-width: 767px) {
  .shot-grid {
    grid-template-columns: 1fr;
  }
}

/* 2026-10-25: gumbi kao u aplikaciji (zeleni "Add new server" / "Pay by card") */
.primary-action {
  color: #fff;
  background: #059669;
  border-radius: 8px;
}

.primary-action:hover {
  color: #fff;
  background: #047857;
  filter: none;
}

.secondary-action {
  background: var(--panel-strong);
  border-color: var(--line-strong);
  border-radius: 8px;
}

.container.navbar-container {
  background-color: rgba(15, 23, 42, .92);
}

.section-heading p {
  margin-top: 16px;
}

/* 2026-10-25: primjene s ikonama */
.use-case-grid .use-case {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.use-case .uc-icon {
  width: 34px;
  height: 34px;
  padding: 6px;
  color: var(--accent);
  background: rgba(45, 212, 191, .1);
  border: 1px solid rgba(45, 212, 191, .25);
  border-radius: 9px;
}

.use-case strong {
  color: var(--text);
  font-size: 16px;
  font-weight: 650;
}

.use-case span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

/* 2026-10-25: crtež satelit / SRTCloud */
.sat-diagram {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 18px;
  font-family: Intervariable, Inter, system-ui, sans-serif;
}

.sat-diagram text {
  fill: var(--muted-strong);
  font-size: 13px;
}

.sat-diagram .sd-small {
  font-size: 11px;
  fill: var(--muted);
}

.sat-diagram .sd-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  fill: var(--muted);
}

.sat-diagram .sd-accent {
  fill: var(--accent);
}

.sat-diagram .sd-strong {
  fill: var(--text);
  font-weight: 700;
}

.sat-diagram rect {
  fill: var(--panel-strong);
  stroke: var(--line-strong);
}

.sat-diagram .sd-line {
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.6;
}

.sat-diagram .sd-dash {
  stroke-dasharray: 4 4;
}

.sat-diagram .sd-muted {
  opacity: .7;
}

.sat-diagram .sd-live .sd-line {
  stroke: var(--accent);
}

.sat-diagram .sd-live rect {
  stroke: rgba(45, 212, 191, .45);
}

.sat-diagram .sd-cloud {
  fill: rgba(16, 185, 129, .16) !important;
  stroke: var(--accent-2) !important;
}

/* 2026-10-25: snimke iz app.srtcloud.eu */
.app-shot-small {
  max-width: 520px;
  margin-top: 28px;
}

.console-section .product-shot img {
  border-radius: 14px;
}

/* 2026-10-25: pravi video u heroju */
.video-frame.has-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.video-frame.has-video::after {
  display: none;
}

.video-frame.has-video.playing .play-button {
  display: none;
}

.telemetry-shot {
  align-self: center;
}

@media screen and (max-width: 767px) {
  .video-frame.has-video {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media screen and (max-width: 479px) {
  .video-frame.has-video {
    min-height: 0;
  }

  .video-frame.has-video .play-button {
    width: auto;
  }
}

/* 2026-10-25: video bez okvira */
.video-showcase::before {
  display: none;
}

.video-frame.has-video {
  border: 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}

/* 2026-10-25: shema "kako radi" */
.flow-diagram {
  display: block;
  width: 100%;
  height: auto;
  margin: 10px 0 44px;
  font-family: Intervariable, Inter, system-ui, sans-serif;
}

.flow-diagram .fd-box {
  fill: var(--panel);
  stroke: var(--line-strong);
}

.flow-diagram .fd-server {
  fill: rgba(16, 185, 129, .12);
  stroke: var(--accent-2);
  stroke-width: 1.6;
}

.flow-diagram text {
  fill: var(--muted-strong);
  font-size: 15px;
}

.flow-diagram .fd-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  fill: var(--muted);
}

.flow-diagram .fd-accent {
  fill: var(--accent);
}

.flow-diagram .fd-title {
  font-size: 19px;
  font-weight: 700;
  fill: var(--text);
}

.flow-diagram .fd-small {
  font-size: 13px;
  fill: var(--muted);
}

.flow-diagram .fd-strong {
  fill: var(--muted-strong);
  font-weight: 600;
}

.flow-diagram .fd-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  fill: var(--accent);
}

.flow-diagram .fd-line,
.flow-diagram .fd-out path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
}

.flow-diagram .fd-head {
  fill: var(--accent);
}

.how-grid {
  align-items: start;
}

.how-grid .app-shot-small {
  margin-top: 0;
}

.step-item code {
  color: var(--accent);
  font-size: .92em;
}

.flow-diagram .fd-mono-s {
  font-size: 11.5px;
}

/* gumb za video u sredini (ne preko trake s kontrolama) */
.video-frame.has-video .play-button {
  top: 70%;
  bottom: auto;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* shema na mobitelu: vodoravno pomicanje umjesto presitnog teksta */
@media screen and (max-width: 767px) {
  .flow-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -14px;
    padding: 0 14px;
  }

  .flow-scroll .flow-diagram {
    min-width: 820px;
  }
}

/* 2026-10-25: fotografije iz videa */
.photo-band {
  position: relative;
  margin: 0 0 22px;
  border-radius: 14px;
  overflow: hidden;
}

.photo-band img {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: 50% 45%;
}

.photo-band figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 60px 26px 22px;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  background: linear-gradient(180deg, rgba(11, 18, 34, 0), rgba(11, 18, 34, .9));
}

.satellite-section.photo-bg {
  background:
    linear-gradient(90deg, rgba(11, 18, 34, .96) 0%, rgba(11, 18, 34, .88) 45%, rgba(11, 18, 34, .78) 100%),
    url("../images/photos/ob-vans-stadium.jpg?v=1") center / cover no-repeat;
}

/* 2026-10-25: kalkulator prometa */
.traffic-calc {
  margin-top: 28px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px 30px;
}

.tc-head h3 {
  color: var(--text);
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 650;
}

.tc-head p,
.tc-note {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}

.tc-inputs {
  display: grid;
  gap: 10px;
}

.tc-inputs label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--muted-strong);
  font-size: 15px;
}

.tc-inputs label span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.tc-inputs input {
  width: 86px;
  padding: 8px 10px;
  color: var(--text);
  background: var(--panel-strong);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-size: 15px;
}

.tc-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: start;
}

.tc-result div,
.tc-packages div {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-strong);
}

.tc-result span,
.tc-packages span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.tc-result strong {
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
}

.tc-packages {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.tc-packages strong {
  color: var(--text);
  font-size: 16px;
}

.tc-packages em {
  display: block;
  margin-top: 4px;
  color: var(--muted-strong);
  font-size: 14px;
  font-style: normal;
}

.tc-packages .fits {
  border-color: var(--accent-2);
  background: rgba(16, 185, 129, .1);
}

.tc-packages .best::after {
  content: "Recommended";
  display: inline-block;
  margin-top: 8px;
  padding: 3px 8px;
  color: #fff;
  background: #059669;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.tc-note {
  grid-column: 1 / -1;
}

@media screen and (max-width: 767px) {
  .traffic-calc,
  .tc-packages {
    grid-template-columns: 1fr;
  }

  .photo-band img {
    height: 240px;
  }
}

/* 2026-10-25: izvori (OB van, enkoder, kamera, softver) */
.source-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.source-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.source-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.source-card > div {
  padding: 18px 20px 22px;
}

.source-card h3 {
  color: var(--text);
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 650;
}

.source-card p {
  color: var(--muted);
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
}

@media screen and (max-width: 1100px) {
  .source-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .source-grid {
    grid-template-columns: 1fr;
  }
}

.source-card p a {
  color: var(--accent);
}

#receivers {
  padding-top: 0;
}

/* sva tri paketa jednaka: cijena i promet na istoj visini */
.pricing-grid .pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-grid .pricing-card strong {
  margin-top: auto;
  padding-top: 18px;
}

/* 2026-10-25: kontrola primatelja */
.control-grid {
  margin-top: 56px;
  align-items: center;
}

.control-shots {
  display: grid;
  gap: 22px;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted-strong);
  font-size: 16px;
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16, 185, 129, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232dd4bf' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.check-list strong {
  color: var(--text);
}

.live-conn-shot {
  margin-top: 34px;
}

.source-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

@media screen and (max-width: 900px) {
  .source-grid.three {
    grid-template-columns: 1fr;
  }
}
