/* codebypanic — komponente templatea (brend, logotipi, naslovnice, kupovina) */

body {
  color: var(--ink);
}

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

.ico {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.125em;
  flex: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- brend ---------- */
.mark {
  display: block;
  width: 30px;
  height: 30px;
}

.wordmark {
  font-family: "Clash Display", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.wordmark em {
  font-style: normal;
  color: var(--accent);
}

.navbar-logo a {
  display: block;
}

.navbar-items ul li a[aria-current="page"] {
  color: var(--accent);
}

.navbar-items .btn a {
  color: var(--on-accent);
  font-weight: 600;
}

.navbar-items ul li a {
  transition: color 0.25s ease;
}

.navbar-items ul li a:hover {
  color: var(--accent);
}

.hamburger-icon .ico {
  font-size: 26px;
  vertical-align: middle;
}

.f-logo a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
}

.f-logo .mark {
  width: 28px;
  height: 28px;
}

.f-tag {
  margin-top: 14px;
}

footer .copy-text a {
  color: var(--ink);
  border-bottom: 1px solid rgba(255, 90, 31, 0.5);
  font-size: inherit;
}

.socials a {
  transition: color 0.25s ease;
}

.socials a:hover {
  color: var(--accent);
}

.sub-form {
  position: relative;
}

.sub-form button {
  color: var(--on-accent);
  font-weight: 600;
  cursor: pointer;
}

.sub-msg {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  font-size: 13px;
  color: var(--accent-2);
}

.benefit h3 .ico {
  color: var(--accent);
  font-size: 18px;
  margin-right: 4px;
}

/* ---------- izmišljeni brend logotipi ---------- */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
}

.brand-logo svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.brand-logo b {
  font-weight: inherit;
}

.lg-a {
  font: 700 20px "Inter", sans-serif;
  letter-spacing: -0.04em;
}
.lg-b {
  font: 600 17px "Clash Display", sans-serif;
  letter-spacing: 0.14em;
}
.lg-c {
  font: 600 19px "Inter", sans-serif;
  letter-spacing: -0.02em;
}
.lg-d {
  font: 500 21px "Clash Display", sans-serif;
}
.lg-e {
  font: 800 14px "Inter", sans-serif;
  letter-spacing: 0.24em;
}
.lg-f {
  font: italic 500 20px "Inter", sans-serif;
  letter-spacing: -0.02em;
}

.brand-logo.is-lg {
  transform: scale(1.45);
  margin: 0.5em 0 1em;
}

.client-logos .brand-logo {
  opacity: 0.85;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.client-logos .brand-logo:hover {
  opacity: 1;
  color: var(--accent);
}

/* ---------- naslovnice blogova (CSS umjesto slika) ---------- */
.cover {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1b120c;
  isolation: isolate;
}

.cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%);
}

.cover span {
  font: 600 clamp(48px, 9vw, 96px) / 1 "Clash Display", sans-serif;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.cover.is-tall {
  position: relative;
  width: 100%;
  aspect-ratio: 784 / 480;
  border-radius: 20px;
}

.blog-main-img a {
  display: block;
}

.cv-1 {
  background: radial-gradient(circle at 25% 30%, #ff5a1f 0, transparent 55%),
    radial-gradient(circle at 80% 80%, #5c1e08 0, transparent 60%), #1b120c;
}
.cv-2 {
  background: linear-gradient(135deg, #ff7a3d 0%, #c2290b 55%, #3d1405 100%);
}
.cv-3 {
  background: radial-gradient(circle at 70% 25%, #ffb547 0, transparent 50%),
    linear-gradient(160deg, #2a1a0f, #0b0907);
}
.cv-4 {
  background: conic-gradient(from 200deg at 60% 60%, #5c1e08, #ff5a1f, #ffb547, #5c1e08);
}
.cv-5 {
  background: radial-gradient(circle at 50% 50%, transparent 0 34%, rgba(255, 90, 31, 0.9) 35% 37%, transparent 38%),
    radial-gradient(circle at 50% 50%, #3d1405, #0b0907 70%);
}
.cv-6 {
  background: #f2ede6;
}
.cv-6 span {
  color: #140a05;
  text-shadow: none;
}
.cv-6::before {
  background-image: linear-gradient(rgba(0, 0, 0, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.07) 1px, transparent 1px);
}

.blog-img .cover,
.blog-main-img .cover {
  transform-origin: 50% 50%;
}

/* ---------- prekidač mjesečno / godišnje ---------- */
.billing-toggle {
  position: relative;
  display: inline-flex;
  margin-top: 2em;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.billing-toggle button {
  position: relative;
  z-index: 1;
  background: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 18px;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: color 0.3s ease;
}

.billing-toggle button.is-active {
  color: var(--on-accent);
}

.billing-toggle em {
  font-style: normal;
  font-size: 12px;
  margin-left: 4px;
  opacity: 0.8;
}

.bt-pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: 50%;
  border-radius: 999px;
  background: var(--accent);
}

/* FAQ plus/minus */
.accordion {
  position: relative;
  padding-right: 3.5em !important;
}

.accordion::after {
  content: "";
  position: absolute;
  right: 1.5em;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform 0.4s ease;
}

.accordion.active::after {
  transform: rotate(135deg);
  color: var(--accent);
}

/* ---------- slide-text dugmad ---------- */
.btn-slide a,
.bd-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sl {
  display: inline-block;
  overflow: hidden;
  height: 1.3em;
  line-height: 1.3em;
  vertical-align: top;
}

.sl > span {
  display: block;
  position: relative;
  transition: transform 0.45s cubic-bezier(0.7, 0, 0.2, 1);
}

.sl > span::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 100%;
}

.btn-slide:hover .sl > span,
.bd-buy:hover .sl > span {
  transform: translateY(-100%);
}

.btn-slide .ico {
  transition: transform 0.45s cubic-bezier(0.7, 0, 0.2, 1);
}

.btn-slide:hover .ico {
  transform: rotate(45deg);
}

/* ---------- kupovina: dock, WhatsApp, nazad gore ---------- */
.buy-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 9000;
  width: max-content;
  max-width: calc(100% - 20px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 7px 7px 7px 14px;
  border-radius: 999px;
  background: rgba(22, 15, 10, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  font-family: "Inter", sans-serif;
}

.bd-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.bd-brand .mark {
  width: 30px;
  height: 30px;
}

.bd-brand strong {
  display: block;
  font: 600 15px/1.2 "Clash Display", sans-serif;
}

.bd-brand small {
  display: block;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
}

.bd-buy {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: box-shadow 0.3s ease;
}

.bd-buy:hover {
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.25), 0 10px 30px rgba(255, 90, 31, 0.45);
}

.bd-price {
  padding: 7px 11px;
  border-radius: 999px;
  background: #140a05;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}

.bd-buy .ico {
  font-size: 16px;
}

.wa-float,
.go-top {
  position: fixed;
  right: 20px;
  z-index: 8999;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.wa-float {
  bottom: 20px;
  width: 54px;
  height: 54px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
  transition: box-shadow 0.3s ease, filter 0.3s ease;
}

.wa-float .ico {
  font-size: 30px;
}

.wa-float:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 0 6px rgba(37, 211, 102, 0.2), 0 12px 34px rgba(37, 211, 102, 0.45);
}

.go-top {
  bottom: 86px;
  right: 25px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: rgba(22, 15, 10, 0.8);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.go-top.is-on {
  opacity: 1;
  visibility: visible;
}

.go-top .ico {
  font-size: 18px;
}

.go-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.go-ring circle {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-dasharray: 138.2;
  stroke-dashoffset: 138.2;
}

footer {
  padding-bottom: 90px;
}

@media (max-width: 700px) {
  .buy-dock {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    max-width: none;
    justify-content: space-between;
    gap: 10px;
  }

  .bd-brand small {
    display: none;
  }

  .bd-brand strong {
    font-size: 14px;
  }

  .wa-float {
    bottom: 82px;
    right: 14px;
    width: 50px;
    height: 50px;
  }

  .go-top {
    bottom: 142px;
    right: 17px;
  }
}

@media (max-width: 360px) {
  .bd-brand span {
    display: none;
  }
}

/* CTA na narandžastoj pozadini — tamno dugme */
.cta-callout button {
  background: #140a05;
}

.cta-callout button a {
  color: #fff;
}

.cta-callout p {
  color: rgba(255, 255, 255, 0.85);
}

/* navigacija čitljiva i preko svijetlih sekcija */
.navbar:before {
  background: rgba(11, 9, 7, 0.62);
}

.blog-img .tag {
  background: rgba(20, 10, 5, 0.45) !important;
}

/* jednake kolone na Customers stranici */
.customer-row .cus {
  flex: 1 1 0;
  min-width: 0;
}
