/*
Theme Name: InternetStvari Next V2.1 Video Fixed
Theme URI: https://internetstvari.rs/
Author: InternetStvari.rs
Description: WordPress verzija InternetStvari IoT Next/Vite dizajna sa particle pocetnom i YouTube video zonom bez sivog iframe-a.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: internet-stvari-next-v2-1
*/

:root {
  --background: #111722;
  --foreground: #e6eef8;
  --ink: #e6eef8;
  --muted: #9bb0c9;
  --panel: rgba(23, 30, 45, 0.9);
  --line: #233047;
  --night: #111722;
  --surface: #171e2d;
  --surface2: #1e2a3d;
  --teal: #00c8f0;
  --mint: #00c8f0;
  --amber: #1a7fd4;
  --rose: #e8392a;
  --violet: #6d5dfc;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

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

img,
iframe {
  max-width: 100%;
}

::selection {
  background: rgba(0, 168, 132, 0.24);
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(7, 17, 15, 0.84);
  color: #fffdf6;
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(0, 200, 240, 0.08);
  box-shadow: 0 0 24px rgba(0, 200, 240, 0.28);
  color: white;
  font-size: 0.82rem;
  font-weight: 800;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-title {
  font-size: 0.96rem;
  font-weight: 800;
}

.brand-subtitle {
  color: rgba(255, 253, 246, 0.68);
  font-size: 0.76rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link,
.theme-link,
.footer-link {
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.nav-link {
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(255, 253, 246, 0.76);
  font-size: 0.9rem;
  font-weight: 650;
  padding: 10px 12px;
}

.nav-link:hover,
.nav-link.is-active {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.theme-menu {
  position: relative;
}

.theme-menu:hover .theme-panel,
.theme-menu:focus-within .theme-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(8px);
}

.theme-panel {
  position: absolute;
  right: 0;
  top: 44px;
  display: grid;
  width: min(420px, calc(100vw - 32px));
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(10, 23, 20, 0.97);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  opacity: 0;
  padding: 10px;
  pointer-events: none;
  transform: translateY(0);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.theme-link {
  display: grid;
  gap: 3px;
  border-radius: 8px;
  color: white;
  padding: 12px;
}

.theme-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.theme-link span {
  color: rgba(255, 253, 246, 0.64);
  font-size: 0.78rem;
  line-height: 1.4;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  cursor: pointer;
}

.menu-button span,
.menu-button span::before,
.menu-button span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  content: "";
}

.menu-button span {
  position: relative;
}

.menu-button span::before,
.menu-button span::after {
  position: absolute;
  left: 0;
}

.menu-button span::before {
  top: -6px;
}

.menu-button span::after {
  top: 6px;
}

.mobile-panel {
  display: none;
}

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  overflow: hidden;
  background: #111722;
  color: white;
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 23, 34, 0.98) 0%, rgba(17, 23, 34, 0.82) 47%, rgba(17, 23, 34, 0.38) 100%),
    radial-gradient(ellipse 60% 50% at 72% 42%, rgba(0, 200, 240, 0.12) 0%, transparent 72%),
    radial-gradient(ellipse 40% 40% at 20% 72%, rgba(232, 57, 42, 0.1) 0%, transparent 68%);
  content: "";
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, var(--background));
  content: "";
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 48px;
  min-height: calc(100svh - 76px);
  align-items: center;
  padding: 72px 0 84px;
}

.hero__content {
  display: grid;
  max-width: 720px;
  gap: 24px;
}

.hero__visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  filter: saturate(1.15) contrast(1.05);
}

.hl-blue {
  color: var(--teal);
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 253, 246, 0.78);
  font-size: 0.82rem;
  font-weight: 720;
  padding: 8px 12px;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 16px var(--mint);
  content: "";
}

.hero h1,
.page-hero h1 {
  margin: 0;
  text-wrap: balance;
  font-size: clamp(2.7rem, 8vw, 6.8rem);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 0.95;
}

.hero p,
.page-hero p {
  margin: 0;
  max-width: 680px;
  color: rgba(255, 253, 246, 0.76);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  line-height: 1.7;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 780;
  line-height: 1;
  padding: 13px 18px;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: #1a7fd4;
  color: #fff;
  box-shadow: 0 16px 40px rgba(26, 127, 212, 0.28);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.button-dark {
  background: var(--night);
  color: white;
}

.hero-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 680px;
  padding-top: 14px;
}

.hero-pill {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 14px;
}

.hero-pill strong {
  display: block;
  color: white;
  font-size: 1.25rem;
}

.hero-pill span {
  color: rgba(255, 253, 246, 0.66);
  font-size: 0.82rem;
}

.signal-strip {
  position: absolute;
  inset: auto 0 28px;
  z-index: 2;
}

.signal-strip__track {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 10px;
}

.signal-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 253, 246, 0.1);
  color: rgba(255, 253, 246, 0.72);
  padding: 12px;
}

.signal-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(133, 224, 196, 0.24), transparent);
  content: "";
  transform: translateX(-100%);
  animation: scan 4.5s ease-in-out infinite;
}

.signal-card strong {
  display: block;
  color: white;
  font-size: 0.86rem;
}

.section {
  padding: 92px 0;
}

.section--tight {
  padding: 64px 0;
}

.section--dark {
  background:
    radial-gradient(circle at 80% 10%, rgba(109, 93, 252, 0.16), transparent 34%),
    radial-gradient(circle at 20% 70%, rgba(0, 168, 132, 0.18), transparent 36%),
    var(--night);
  color: white;
}

.section-header {
  display: grid;
  gap: 14px;
  margin-bottom: 34px;
  max-width: 780px;
}

.kicker {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 840;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-header h2,
.content-block h2,
.page-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.03;
  text-wrap: balance;
}

.section--dark .section-header h2,
.section--dark .content-block h2 {
  color: white;
}

.section-header p,
.content-block p,
.page-section p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.section--dark .section-header p,
.section--dark .content-block p {
  color: rgba(255, 253, 246, 0.7);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 16px;
}

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(16, 32, 28, 0.06);
  padding: 24px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.card:hover {
  border-color: rgba(0, 200, 240, 0.44);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 800;
}

.card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.card-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--teal);
  font-weight: 800;
}

.metric {
  display: grid;
  gap: 10px;
  border-left: 3px solid var(--accent, var(--teal));
}

.metric strong {
  color: var(--ink);
  font-size: 2.1rem;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  line-height: 1.55;
}

.twin {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 22px;
  align-items: stretch;
}

.twin-stage {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(133, 224, 196, 0.08), transparent 35%),
    radial-gradient(circle at 70% 25%, rgba(255, 176, 0, 0.16), transparent 24%),
    #0b1714;
}

.twin-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2), black 28%, rgba(0, 0, 0, 0.22));
}

.twin-orbit {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(133, 224, 196, 0.3);
  border-radius: 50%;
  transform: rotate(-13deg);
  animation: drift 9s linear infinite;
}

.twin-orbit:nth-child(3) {
  inset: 24%;
  border-color: rgba(255, 176, 0, 0.26);
  animation-duration: 12s;
  animation-direction: reverse;
}

.device-node {
  position: absolute;
  display: grid;
  min-width: 108px;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 246, 0.1);
  color: white;
  padding: 10px;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
}

.device-node::before {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--accent, var(--mint));
  box-shadow: 0 0 18px var(--accent, var(--mint));
  content: "";
}

.device-node span {
  color: rgba(255, 253, 246, 0.72);
  font-size: 0.76rem;
}

.device-node strong {
  font-size: 0.88rem;
}

.twin-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(133, 224, 196, 0.32), rgba(0, 168, 132, 0.12) 46%, transparent 68%),
    rgba(255, 255, 255, 0.05);
  color: white;
  font-weight: 850;
  text-align: center;
  transform: translate(-50%, -50%);
}

.twin-core::before {
  position: absolute;
  inset: -18px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  content: "";
  animation: drift 7s linear infinite;
}

.twin-panel {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 253, 246, 0.08);
  padding: 22px;
}

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

.mode-switcher button {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 253, 246, 0.76);
  cursor: pointer;
  font-weight: 760;
  padding: 10px;
}

.mode-switcher button.is-active {
  border-color: rgba(133, 224, 196, 0.68);
  background: rgba(133, 224, 196, 0.16);
  color: white;
}

.telemetry {
  display: grid;
  gap: 12px;
}

.telemetry-row {
  display: grid;
  gap: 7px;
}

.telemetry-row__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 253, 246, 0.76);
  font-size: 0.88rem;
}

.bar {
  overflow: hidden;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}

.bar span {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--amber), var(--rose));
}

.status-feed {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: rgba(255, 253, 246, 0.7);
  font-size: 0.92rem;
  list-style: none;
}

.status-feed li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.status-feed li::before {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 99px;
  background: var(--mint);
  box-shadow: 0 0 14px var(--mint);
  content: "";
}

.video-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 22px;
  align-items: center;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--night);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  content: "";
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 22%, rgba(255, 176, 0, 0.2), transparent 28%),
    radial-gradient(circle at 20% 80%, rgba(0, 168, 132, 0.2), transparent 32%),
    var(--night);
  color: white;
  padding: 92px 0 76px;
}

.page-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(133, 224, 196, 0.7), transparent);
  content: "";
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  max-width: 850px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 253, 246, 0.62);
  font-size: 0.86rem;
}

.breadcrumb a {
  color: white;
}

.page-section {
  padding: 72px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
}

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

.feature-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 246, 0.68);
  line-height: 1.65;
  padding: 15px 16px;
}

.timeline {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.timeline-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
}

.timeline-item::before {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--night);
  color: white;
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  font-size: 0.8rem;
  font-weight: 840;
}

.timeline-item h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 1.05rem;
}

.timeline-item p {
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 20px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 760;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface2);
  color: var(--ink);
  padding: 13px 14px;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.site-footer {
  background: var(--night);
  color: white;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(140px, 0.5fr));
  gap: 28px;
  padding: 54px 0;
}

.site-footer p,
.site-footer span {
  color: rgba(255, 253, 246, 0.62);
  line-height: 1.7;
}

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

.footer-column h2,
.footer-column h3 {
  margin: 0;
  color: white;
  font-size: 0.95rem;
}

.footer-link {
  color: rgba(255, 253, 246, 0.66);
  font-size: 0.92rem;
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

@keyframes scan {
  0%,
  34% {
    transform: translateX(-100%);
  }
  64%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes drift {
  to {
    transform: rotate(347deg);
  }
}

.logo-svg {
  display: block;
  filter: drop-shadow(0 0 12px rgba(0, 200, 240, 0.24));
}

.topic-ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 18px 0;
}

.topic-ticker__track {
  display: flex;
  width: max-content;
  gap: 40px;
  white-space: nowrap;
  animation: ticker-scroll 32s linear infinite;
}

.topic-ticker:hover .topic-ticker__track {
  animation-play-state: paused;
}

.topic-ticker__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  flex: 0 0 auto;
  font-size: 0.82rem;
}

.topic-ticker__pill span {
  color: var(--teal);
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

.audience-card,
.audience-card article {
  min-height: 100%;
}

.audience-card article,
article.audience-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111722;
  padding: 30px;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.audience-card article::before,
article.audience-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  content: "";
}

.audience-card article:hover,
article.audience-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.audience-card__icon {
  display: inline-grid;
  min-width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent);
  border-radius: 8px;
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.audience-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.1rem;
}

.audience-card p {
  margin: 10px 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

.audience-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience-card li {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #9bb0c9;
  font-size: 0.88rem;
}

.audience-card li::before {
  color: var(--teal);
  content: "->";
}

.topic-card {
  position: relative;
  overflow: hidden;
}

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

.post-card {
  min-height: 260px;
}

.newsletter-wrap {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 720px;
  text-align: center;
}

.newsletter-wrap h2 {
  margin: 0;
  color: white;
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 820;
  line-height: 1.02;
}

.newsletter-wrap p {
  margin: 0;
  color: rgba(230, 238, 248, 0.72);
  line-height: 1.75;
}

.newsletter-wrap--page {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 42px 24px;
}

.newsletter-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 8px;
  width: min(520px, 100%);
  margin-top: 12px;
}

.newsletter-form input {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface2);
  color: var(--ink);
  outline: none;
  padding: 12px 16px;
}

.newsletter-form input:focus {
  border-color: var(--teal);
}

.newsletter-form button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: #1a7fd4;
  color: white;
  cursor: pointer;
  font-weight: 800;
  padding: 12px 20px;
}

.newsletter-message,
.newsletter-note {
  grid-column: 1 / -1;
  color: var(--teal);
  font-size: 0.86rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.is-logo-hero-wrap {
  position: relative;
  width: min(340px, 76vw);
  height: min(340px, 76vw);
  margin: 0 auto;
}

.is-logo-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  filter: brightness(0.1) saturate(0);
  object-fit: contain;
  opacity: 0;
  animation: is-img-poweron 1.2s ease-out 0.3s forwards;
}

.is-logo-hero-svg {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  overflow: visible;
  pointer-events: none;
}

.is-logo-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 240, 0.16) 0%, transparent 66%);
  opacity: 0;
  pointer-events: none;
  animation: is-glow-appear 1s ease-out 2.5s forwards;
}

.is-scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0;
  pointer-events: none;
  animation: is-scan 0.8s ease-in-out 0.5s forwards;
}

.is-pulse-ring {
  opacity: 0;
  transform-origin: center;
  animation:
    is-pulse-appear 0.5s ease-out 1.4s forwards,
    is-pulse-loop 2.4s ease-in-out 2s infinite;
}

.is-arc-1,
.is-arc-2,
.is-arc-3,
.is-power-circle,
.is-power-line {
  opacity: 0;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
}

.is-arc-1 {
  animation: is-arc-draw 0.6s ease-out 1.7s forwards;
}

.is-arc-2 {
  animation: is-arc-draw 0.6s ease-out 2s forwards;
}

.is-arc-3 {
  animation: is-arc-draw 0.6s ease-out 2.3s forwards;
}

.is-power-circle {
  animation: is-power-draw 0.8s ease-out 2.6s forwards;
}

.is-power-line {
  animation: is-power-draw 0.4s ease-out 3s forwards;
}

.is-led-l,
.is-led-r {
  opacity: 0;
  animation:
    is-led-blink 0.3s ease-out 3.3s forwards,
    is-led-pulse 1.8s ease-in-out 3.8s infinite;
}

.is-led-r {
  animation-delay: 3.5s, 4s;
}

.is-logo-hero-title {
  position: absolute;
  bottom: -48px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 1.08rem;
  font-weight: 850;
  opacity: 0;
  text-shadow: 0 0 20px rgba(0, 200, 240, 0.5);
  transform: translateX(-50%);
  white-space: nowrap;
  animation: is-title-appear 0.8s ease-out 3.6s forwards;
}

@keyframes is-img-poweron {
  0% {
    opacity: 0;
    filter: brightness(0.05) saturate(0);
  }
  30% {
    opacity: 0.4;
    filter: brightness(0.3) saturate(0);
  }
  70% {
    opacity: 0.85;
    filter: brightness(0.7) saturate(0.4);
  }
  100% {
    opacity: 1;
    filter: brightness(1) saturate(1);
  }
}

@keyframes is-glow-appear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes is-scan {
  0% {
    top: 0%;
    opacity: 0.8;
  }
  90% {
    top: 100%;
    opacity: 0.6;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes is-pulse-appear {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes is-pulse-loop {
  0% {
    opacity: 0.6;
    r: 130;
  }
  50% {
    opacity: 0.2;
    r: 148;
  }
  100% {
    opacity: 0.6;
    r: 130;
  }
}

@keyframes is-arc-draw {
  0% {
    opacity: 0;
    stroke-dashoffset: 300;
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

@keyframes is-power-draw {
  0% {
    opacity: 0;
    stroke-dashoffset: 300;
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

@keyframes is-led-blink {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  60% {
    opacity: 1;
    transform: scale(1.3);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes is-led-pulse {
  0%,
  100% {
    opacity: 1;
    filter: drop-shadow(0 0 4px currentColor);
  }
  50% {
    opacity: 0.5;
    filter: drop-shadow(0 0 2px currentColor);
  }
}

@keyframes is-title-appear {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .mobile-panel {
    display: grid;
    max-height: 0;
    overflow: hidden;
    transition: max-height 220ms ease;
  }

  .mobile-panel.is-open {
    max-height: 680px;
  }

  .mobile-panel__inner {
    display: grid;
    gap: 8px;
    padding: 0 0 18px;
  }

  .mobile-panel .nav-link,
  .mobile-panel .theme-link {
    border-radius: 8px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .audience-grid,
  .twin,
  .video-shell,
  .split,
  .contact-grid,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

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

  .signal-strip {
    display: none;
  }

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

  .hero__inner {
    align-items: end;
    padding-top: 92px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.35rem, 15vw, 4.1rem);
  }

  .hero {
    min-height: 820px;
  }

  .hero__inner {
    min-height: 820px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(17, 23, 34, 0.72) 0%, rgba(17, 23, 34, 0.96) 62%, rgba(17, 23, 34, 0.98) 100%),
      radial-gradient(ellipse 70% 46% at 50% 24%, rgba(0, 200, 240, 0.18), transparent 70%),
      var(--night);
  }

  .section,
  .page-section {
    padding: 58px 0;
  }

  .mode-switcher {
    grid-template-columns: 1fr;
  }

  .twin-stage {
    min-height: 460px;
  }

  .device-node {
    min-width: 96px;
  }

  .brand-subtitle {
    display: none;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .is-logo-hero-wrap {
    width: 230px;
    height: 230px;
    margin-bottom: 48px;
  }

  .is-logo-hero-title {
    bottom: -38px;
    font-size: 0.9rem;
  }
}


/* V2.3 video popravka: hero koristi particle video, VR slika je stalni YouTube placeholder. */
.hero {
  background:
    radial-gradient(circle at 74% 36%, rgba(0, 200, 240, 0.16), transparent 36%),
    radial-gradient(circle at 18% 78%, rgba(232, 57, 42, 0.10), transparent 32%),
    #111722;
}

.hero-video {
  background: #111722;
}

.section--youtube {
  background:
    radial-gradient(circle at 74% 28%, rgba(0, 200, 240, 0.12), transparent 34%),
    linear-gradient(180deg, #111722 0%, #121a28 100%);
}

.video-shell--youtube {
  align-items: stretch;
}

.admin-note {
  max-width: 640px;
  color: #8da5c4 !important;
  font-size: 0.9rem !important;
}

.youtube-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(0, 200, 240, 0.32);
  border-radius: 12px;
  background: #0d1420;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  aspect-ratio: 16 / 9;
}

.youtube-card__bg,
.youtube-card__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.youtube-card__bg {
  object-fit: cover;
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.01);
}

.youtube-card__iframe {
  border: 0;
}

.youtube-card__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 17, 27, 0.82), rgba(11, 17, 27, 0.30) 56%, rgba(11, 17, 27, 0.12)),
    linear-gradient(180deg, rgba(11, 17, 27, 0.08), rgba(11, 17, 27, 0.65));
}

.youtube-card__content {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 520px;
  min-height: 100%;
  align-content: end;
  gap: 14px;
  padding: 34px;
}

.youtube-card__label {
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 200, 240, 0.12);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 7px 10px;
  text-transform: uppercase;
}

.youtube-card h3 {
  margin: 0;
  color: white;
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  line-height: 0.95;
}

.youtube-card p {
  margin: 0;
  color: rgba(230, 238, 248, 0.82);
  line-height: 1.65;
}

.youtube-play {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  color: white;
  cursor: pointer;
  font-weight: 800;
  padding: 12px 16px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.youtube-play:hover {
  border-color: rgba(0, 200, 240, 0.55);
  background: rgba(0, 200, 240, 0.16);
  transform: translateY(-1px);
}

.youtube-play span {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid var(--teal);
}

.youtube-card.is-playing {
  background: #000;
}

@media (max-width: 760px) {
  .youtube-card {
    min-height: 340px;
  }

  .youtube-card__content {
    padding: 24px;
  }
}
