/* RND Solutions — stranica "Izrada sajtova & Hosting".
   Tamna tehnoloska tema: emerald (--accent-mid) + cyan (--tech-cyan) + plava
   (--accent-blue) na --tech-bg. Ucitava se samo na toj stranici, posle style.css.
   Sve ilustracije su inline SVG + CSS; animacije samo transform/opacity/crtice
   i gase se uz prefers-reduced-motion. */

main.theme-tech { color: var(--tech-muted); background: var(--tech-bg); }
main.theme-tech > section:not(.hero) {
  background: var(--tech-bg) !important;
  border-top: 1px solid var(--tech-line);
  content-visibility: auto; contain-intrinsic-size: auto 900px;
}
main.theme-tech > section:nth-of-type(even):not(.hero) { background: var(--tech-bg-2) !important; }
.theme-tech h2, .theme-tech h3, .theme-tech strong { color: #F1F5F9; }
.theme-tech h2::after { background: linear-gradient(90deg, var(--accent-mid), var(--tech-cyan)); width: 56px; }
.theme-tech p, .theme-tech li { color: var(--tech-muted); }
.theme-tech a:not(.btn) { color: #5EEAD4; }
.theme-tech a:not(.btn):hover { color: var(--tech-cyan); }
.theme-tech .btn.ghost { color: #E2E8F0; border-color: rgba(148,163,184,.35); }
.theme-tech .btn.ghost:hover { background: rgba(148,163,184,.1); color: #fff; }
.theme-tech ::selection { background: rgba(34,211,238,.28); color: #fff; }
.t-lead { font-size: clamp(1.02rem, 1.3vw, 1.14rem); max-width: 62ch; }

/* suptilna mreza u pozadini pojedinih sekcija */
.t-grid { position: relative; isolation: isolate; }
.t-grid::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--tech-line) 1px, transparent 1px), linear-gradient(90deg, var(--tech-line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: .55;
}

/* ---------- hero ---------- */
.theme-tech .hero { padding-bottom: clamp(56px, 7vw, 96px); }
.t-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .t-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; } }
.theme-tech .hero h1 { max-width: 14ch; font-size: clamp(2.3rem, 5.2vw, 4.1rem); }
.theme-tech .hero h1 span { display: block; color: #5EEAD4; }
.t-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #5EEAD4;
  padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.3);
}
.t-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-mid); box-shadow: 0 0 0 4px rgba(16,185,129,.18); }
.t-hero-art { margin: 0; position: relative; }
.t-hero-art svg { width: 100%; height: auto; display: block; overflow: visible; }
.t-pipeline { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.t-pipeline li { margin: 0; max-width: none; display: inline-flex; align-items: center; gap: 8px; }
.t-pipeline li + li::before { content: ''; width: 16px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent-mid), var(--tech-cyan)); }
.t-pipeline span { font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: #CBD5E1; padding: 6px 11px; border-radius: 8px; border: 1px solid var(--tech-line); background: rgba(13,27,42,.7); }
@media (max-width: 699px) { .t-hero-art svg { display: none; } }

/* animirane veze u SVG-ovima */
.t-flowline { stroke-dasharray: 5 7; animation: t-dash 1.6s linear infinite; }
@keyframes t-dash { to { stroke-dashoffset: -24; } }
.t-pulse { animation: t-pulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes t-pulse { 50% { opacity: .35; } }

/* ---------- trust traka ---------- */
main.theme-tech > section.t-trust-wrap { padding-top: 22px !important; padding-bottom: 22px !important; background: #081019 !important; content-visibility: visible; }
/* jaci selektor od opsteg stila za liste u style.css (main.wrap > section > ul) */
main.theme-tech > section > ul.t-trust > li { padding: 0; border: 0; color: #CBD5E1; }
main.theme-tech > section > ul.t-trust > li::after { display: none; }
main.theme-tech > section > ul.t-trust > li::before { position: static; width: 6px; height: 6px; background: var(--tech-cyan); }
main.theme-tech > section > ul.t-trust { display: flex; }
.t-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.t-trust li { margin: 0; max-width: none; display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #CBD5E1; }
.t-trust li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--tech-cyan); box-shadow: 0 0 10px rgba(34,211,238,.6); }

/* ---------- kartice usluga ---------- */
.t-cards { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 700px) { .t-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .t-cards { grid-template-columns: repeat(3, 1fr); } }
.t-card {
  position: relative; padding: 26px 26px 24px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  border: 1px solid var(--tech-line);
  transition: transform .3s var(--ease-out), border-color .25s, box-shadow .3s var(--ease-out);
}
.t-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--accent-mid), var(--tech-cyan)); opacity: 0; transition: opacity .25s; }
.t-card:hover { transform: translateY(-3px); border-color: rgba(34,211,238,.35); box-shadow: 0 22px 44px -26px rgba(0,0,0,.8); }
.t-card:hover::before { opacity: 1; }
.t-card h3 { margin: 18px 0 8px; font-size: 1.08rem; }
.t-card p { margin: 0; font-size: .95rem; }
.t-ico {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px;
  background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.28); color: #5EEAD4;
}
.t-ico svg { width: 22px; height: 22px; }
.t-card:nth-child(3n+2) .t-ico { background: rgba(34,211,238,.08); border-color: rgba(34,211,238,.26); color: var(--tech-cyan); }
.t-card:nth-child(3n) .t-ico { background: rgba(59,130,246,.1); border-color: rgba(59,130,246,.3); color: #93C5FD; }

/* ---------- dva stupca ---------- */
.t-split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 1000px) { .t-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.t-split > * { min-width: 0; }

/* ---------- backup tok ---------- */
.t-backup { position: relative; isolation: isolate; overflow: hidden; }
.t-backup::after {
  content: ''; position: absolute; z-index: -1; right: -10%; top: 10%; width: 60%; height: 80%;
  background: radial-gradient(ellipse at center, rgba(16,185,129,.14), rgba(34,211,238,.06) 40%, transparent 70%);
  pointer-events: none;
}
.t-flow { display: flex; flex-direction: column; align-items: center; gap: 0; max-width: 520px; margin: 0 auto; }
.t-node {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 14px;
  background: rgba(13,27,42,.92); border: 1px solid var(--tech-line); color: #E2E8F0;
  font-weight: 700; font-size: .92rem; letter-spacing: .02em; min-width: 210px; justify-content: center;
  box-shadow: 0 12px 30px -18px rgba(0,0,0,.9);
}
.t-node svg { width: 20px; height: 20px; flex: none; color: #5EEAD4; }
.t-node--core { border-color: rgba(16,185,129,.45); box-shadow: 0 0 0 4px rgba(16,185,129,.08), 0 18px 40px -20px rgba(16,185,129,.45); }
.t-node--ok { border-color: rgba(34,211,238,.5); color: #fff; background: linear-gradient(90deg, rgba(16,185,129,.22), rgba(34,211,238,.18)); }
.t-node--ok svg { color: #fff; }
.t-node small { display: block; font-weight: 600; font-size: .72rem; letter-spacing: .08em; color: var(--tech-muted); text-transform: uppercase; }
.t-wire { width: 2px; height: 34px; background: linear-gradient(180deg, var(--accent-mid), var(--tech-cyan)); background-size: 100% 200%; animation: t-wire 1.8s linear infinite; opacity: .85; }
@keyframes t-wire { from { background-position: 0 0; } to { background-position: 0 -200%; } }
.t-fork { width: 100%; height: 46px; display: block; }
.t-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
.t-pair .t-node { min-width: 0; flex-direction: column; gap: 6px; text-align: center; padding: 14px 10px; }
.t-proofline { margin-top: 26px; font-size: .9rem; }

/* ---------- web development ---------- */
.t-feat { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px 26px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .t-feat { grid-template-columns: 1fr 1fr; } }
.t-feat li { margin: 0; max-width: none; display: flex; gap: 10px; align-items: flex-start; color: #CBD5E1; font-size: .95rem; }
.t-feat li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent-mid); }
.t-browser { border-radius: 16px; overflow: hidden; border: 1px solid var(--tech-line); background: #0B1622; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(34,211,238,.05); }
.t-bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: #0F1E2E; border-bottom: 1px solid var(--tech-line); }
.t-bar i { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.t-bar i:nth-child(1) { background: #F87171; } .t-bar i:nth-child(2) { background: #FBBF24; } .t-bar i:nth-child(3) { background: #34D399; }
.t-url { margin-left: 10px; flex: 1; padding: 5px 12px; border-radius: 7px; background: #0A1420; font-size: .78rem; color: #94A3B8; display: flex; gap: 8px; align-items: center; min-width: 0; }
.t-url svg { width: 12px; height: 12px; color: var(--accent-mid); flex: none; }
.t-bpad { padding: 22px; }
.t-gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.t-gauge { text-align: center; }
.t-gauge svg { width: 100%; max-width: 104px; height: auto; display: block; margin: 0 auto 8px; }
.t-gauge .ring { stroke: var(--accent-mid); animation: t-ring 1.4s var(--ease-out) both; }
@keyframes t-ring { from { stroke-dashoffset: 264; } }
.t-gauge b { display: block; color: #F1F5F9; font-size: .85rem; }
.t-gauge span { display: block; font-size: .72rem; color: var(--tech-muted); }
.t-source { margin: 14px 0 0; font-size: .78rem; text-align: center; }
.t-devices { display: flex; align-items: flex-end; justify-content: center; gap: 14px; margin: 22px 0 18px; color: #475569; }
.t-devices svg { height: 64px; width: auto; }
.t-devices .on { color: var(--tech-cyan); }
.t-code {
  margin: 0; padding: 14px 16px; border-radius: 10px; background: #081019; border: 1px solid var(--tech-line);
  font: 500 .76rem/1.7 var(--font-mono); color: #94A3B8; overflow-x: auto; white-space: pre;
}
.t-code .k { color: #5EEAD4; } .t-code .a { color: #93C5FD; } .t-code .s { color: #FDE68A; }

/* ---------- proces ---------- */
.t-steps { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 1000px) { .t-steps { grid-template-columns: repeat(6, 1fr); gap: 0; } }
.t-steps li { position: relative; margin: 0; max-width: none; padding: 18px 16px 18px 64px; border-radius: 14px; border: 1px solid var(--tech-line); background: rgba(13,27,42,.6); }
.t-steps b { display: block; color: #F1F5F9; font-size: .98rem; }
.t-steps span { display: block; font-size: .85rem; margin-top: 4px; }
.t-num { position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 800; color: #5EEAD4; border: 1px solid rgba(16,185,129,.45); background: #0A1420; }
@media (min-width: 1000px) {
  .t-steps li { padding: 64px 16px 0 0; border: 0; background: none; border-radius: 0; }
  .t-steps li::before { content: ''; position: absolute; top: 17px; left: 34px; right: 0; height: 2px; background: linear-gradient(90deg, rgba(16,185,129,.6), rgba(34,211,238,.35)); }
  .t-num { left: 0; top: 0; }
  .t-steps li.t-loop::before { display: none; }
}
.t-loop .t-num { border-color: var(--tech-cyan); color: var(--tech-cyan); box-shadow: 0 0 0 5px rgba(34,211,238,.08); }
.t-loop .t-spin { position: absolute; left: 12px; top: 12px; width: 42px; height: 42px; color: var(--tech-cyan); animation: t-spin 9s linear infinite; z-index: 0; }
.t-loop .t-num { z-index: 1; }
@media (min-width: 1000px) { .t-loop .t-spin { left: -4px; top: -4px; } }
@keyframes t-spin { to { transform: rotate(360deg); } }
.t-loop em svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 6px; }
.t-loop em { display: inline-block; margin-top: 8px; font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tech-cyan); }

/* ---------- hosting dijagram ---------- */
.t-route { display: grid; gap: 12px; margin-top: 10px; }
.t-route-main { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .t-route-main { grid-template-columns: repeat(7, auto); align-items: center; justify-content: center; } }
.t-arrow { width: 26px; height: 26px; color: var(--accent-mid); justify-self: center; transform: rotate(90deg); }
@media (min-width: 820px) { .t-arrow { transform: none; } }
.t-branches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 420px; margin: 0 auto; position: relative; padding-top: 30px; }
@media (min-width: 820px) { .t-route-main .t-branches { grid-column: 3 / 8; grid-row: 2; } }
.t-branches::before { content: ''; position: absolute; top: 0; left: 50%; width: 2px; height: 16px; background: var(--tech-cyan); opacity: .6; }
.t-branches::after { content: ''; position: absolute; top: 15px; left: 16.6%; right: 16.6%; height: 2px; background: linear-gradient(90deg, rgba(34,211,238,.5), rgba(16,185,129,.6), rgba(34,211,238,.5)); }
.t-branches .t-node { min-width: 0; flex-direction: column; gap: 6px; font-size: .84rem; padding: 12px 8px; text-align: center; }

/* ---------- odrzavanje ---------- */
.t-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.t-checks li { margin: 0; max-width: none; display: flex; gap: 12px; align-items: center; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--tech-line); background: rgba(13,27,42,.55); color: #E2E8F0; font-weight: 600; font-size: .95rem; }
.t-checks li svg { width: 18px; height: 18px; color: var(--accent-mid); flex: none; }

/* ---------- radovi ---------- */
.t-work { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .t-work { grid-template-columns: repeat(3, 1fr); } }
.t-proj { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; border: 1px solid var(--tech-line); background: #0B1622; transition: transform .3s var(--ease-out), border-color .25s; }
.t-proj:hover { transform: translateY(-4px); border-color: rgba(34,211,238,.35); }
.t-proj .t-bar { padding: 9px 12px; }
.t-proj .t-bar i { width: 8px; height: 8px; }
.t-proj img { width: 100%; height: auto; aspect-ratio: 1200 / 544; object-fit: cover; object-position: top; display: block; border-bottom: 1px solid var(--tech-line); }
.t-proj-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.t-proj h3 { margin: 0 0 10px; }
.t-proj p { font-size: .92rem; margin: 0 0 14px; }
.t-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.t-tags li { margin: 0; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; color: #5EEAD4; background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.26); }
.t-proj-links { margin-top: auto; display: flex; gap: 16px; font-size: .9rem; font-weight: 700; }

/* ---------- FAQ na tamnom ---------- */
.theme-tech .faq details { border-color: var(--tech-line); }
.theme-tech .faq summary { color: #F1F5F9; }
.theme-tech .faq summary:hover { color: #5EEAD4; }
.theme-tech .faq summary::after { border-color: var(--tech-cyan); }

/* ---------- zavrsni CTA: emerald/cyan umesto zlatnog panela ---------- */
main.theme-tech > section:not(.hero):has(.cta-row) {
  background: radial-gradient(ellipse 60% 80% at 85% 50%, rgba(34,211,238,.12), transparent 70%),
              radial-gradient(ellipse 60% 80% at 10% 0%, rgba(16,185,129,.16), transparent 65%), #081019 !important;
  border-top: 1px solid rgba(34,211,238,.35);
  text-align: left; position: relative; overflow: hidden; isolation: isolate;
}
main.theme-tech > section:not(.hero):has(.cta-row) h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 16ch; }
main.theme-tech > section:not(.hero):has(.cta-row) h2::after { background: linear-gradient(90deg, var(--accent-mid), var(--tech-cyan)); }
main.theme-tech > section:not(.hero):has(.cta-row) p { color: #CBD5E1; max-width: 52ch; }
.t-cta-art { position: absolute; z-index: -1; right: max(24px, calc(50% - 600px)); top: 50%; transform: translateY(-50%); width: min(46vw, 560px); opacity: .9; }
.t-cta-art svg { width: 100%; height: auto; display: block; }
@media (max-width: 899px) { .t-cta-art { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .t-flowline, .t-wire, .t-pulse, .t-spin, .t-gauge .ring { animation: none !important; }
}

/* telefon: cipovi se prelamaju, pa linije izmedju njih ne bi imale smisla */
@media (max-width: 599px) { .t-pipeline li + li::before { display: none; } }
.t-code { scrollbar-color: #334155 transparent; scrollbar-width: thin; }
