/* ============================================================
   Ignjatov — podstranice (blog, cenovnik)
   Nadovezuje se na style.css: isti aurora background, topbar,
   paper paneli i staklene kartice.
   ============================================================ */

.topbar-links a.is-current { color: var(--paper); background: rgba(251, 250, 246, 0.1); }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--plume-300); }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 170px var(--pad-x) clamp(40px, 6vw, 72px);
}
.page-title {
  font-size: clamp(38px, 6vw, 82px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.page-title .mask { display: inline-block; vertical-align: top; }
.page-title .mask + .mask { margin-left: 0.25em; }
.page-lead {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  max-width: 56ch;
  color: var(--muted);
}

.crumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { opacity: 0.5; }

.chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(114, 194, 181, 0.12);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.post-meta { margin-bottom: 18px; font-size: 14px; color: var(--muted); }
.post-meta .chip { margin-right: 10px; }

/* ---------- Article ---------- */
.post { padding-top: clamp(40px, 6vw, 72px); }
.prose { max-width: 720px; margin: 0 auto; }
.prose p, .prose li { font-size: 18px; line-height: 1.75; color: var(--ink); }
.prose p { margin-bottom: 20px; color: #2c3638; }
.prose h2 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  max-width: none;
  margin: 44px 0 14px;
}
.prose ul { margin: 0 0 24px 1.2em; }
.prose li { margin-bottom: 10px; color: #2c3638; }
.prose li::marker { color: var(--plume-500); }
.prose strong { color: var(--ink); }
.prose a { color: var(--plume-500); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--plume-700); }
.prose code {
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--paper-sunken);
  font-size: 0.88em;
}

.cta-box {
  max-width: 720px;
  margin: 56px auto 0;
  padding: clamp(26px, 4vw, 40px);
  border-radius: 24px;
  background: var(--night);
  color: #F3F5F1;
  text-align: center;
  box-shadow: 0 30px 60px -30px rgba(0, 20, 20, 0.6);
}
.cta-box h3 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.cta-box p { max-width: 46ch; margin: 0 auto 24px; color: rgba(243, 245, 241, 0.7); font-size: 16px; }
.cta-box-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-box .btn-accent { --btn-bg: var(--paper); --btn-fg: var(--night); }

/* ---------- Post cards ---------- */
.more h2 { margin-bottom: 32px; }
.post-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
}
.post-grid--big { grid-template-columns: repeat(2, 1fr); }
.post-grid--big .post-card:first-child { grid-column: 1 / -1; }
.post-card a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  height: 100%;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 24px;
  text-decoration: none;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.22), inset -1px -1px 0 rgba(114, 194, 181, 0.2),
              0 8px 24px -12px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
  transition: transform .45s var(--ease-out), border-color .4s ease, box-shadow .4s ease;
}
.post-card a:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.28), 0 24px 50px -20px rgba(0, 0, 0, 0.7),
              0 0 50px -14px rgba(114, 194, 181, 0.45);
}
.post-card h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.12; }
.post-grid--big .post-card:first-child h3 { font-size: clamp(30px, 3.6vw, 46px); max-width: 24ch; }
.post-card p { color: var(--muted); font-size: 15.5px; line-height: 1.55; max-width: 52ch; }
.post-foot { font-size: 12.5px; color: var(--muted); opacity: 0.8; }
.more-link { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--accent); }

/* ---------- Cenovnik ---------- */
.plan-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  border-radius: 28px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.22), inset -1px -1px 0 rgba(114, 194, 181, 0.2),
              0 8px 24px -12px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
}
.plan--hot {
  border-color: rgba(114, 194, 181, 0.6);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.3), 0 30px 70px -30px rgba(54, 159, 146, 0.7),
              0 0 60px -16px rgba(114, 194, 181, 0.5);
}
.plan-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--night);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.plan h2 { font-size: clamp(30px, 3vw, 40px); max-width: none; margin-bottom: 8px; }
.plan-price {
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(95deg, var(--plume-300), var(--sky) 60%, var(--glow-warm));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.plan-for { margin: 10px 0 22px; color: var(--muted); font-size: 15px; }
.plan-feats { list-style: none; margin-bottom: 30px; flex: 1; }
.plan-feats li {
  position: relative;
  padding: 11px 0 11px 28px;
  border-top: 1px solid var(--hairline);
  font-size: 15.5px;
  line-height: 1.45;
}
.plan-feats li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 17px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--plume-300);
  border-bottom: 2px solid var(--plume-300);
  transform: rotate(-45deg);
}
.plan .btn { width: 100%; }
.plan-note { margin-top: 28px; text-align: center; font-size: 14px; color: var(--muted); }

.addon-list { list-style: none; max-width: 820px; margin: 0 auto; }
.addon-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--hairline);
  font-size: 17px;
}
.addon-list li:last-child { border-bottom: 1px solid var(--hairline); }
.addon-list strong { white-space: nowrap; color: var(--accent); }

.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--hairline); }
.faq details:last-child { border-bottom: 1px solid var(--hairline); }
.faq summary {
  position: relative;
  padding: 22px 44px 22px 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  translate: 0 -50%;
  font-size: 28px;
  font-weight: 400;
  color: var(--accent);
  transition: rotate .3s var(--ease-out);
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 44px 24px 0; color: var(--muted); max-width: 62ch; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .plan-grid, .post-grid { grid-template-columns: 1fr; }
  .post-grid--big { grid-template-columns: 1fr; }
  .page-hero { padding-top: 140px; }
}
@media (max-width: 560px) {
  .prose p, .prose li { font-size: 17px; }
  .addon-list li { flex-direction: column; gap: 4px; }
}

/* ---------- Promo traka (održavanje unapred) ---------- */
.promo {
  max-width: 820px;
  margin: 28px auto 0;
  padding: 20px 24px;
  border-radius: 18px;
  background: rgba(0, 132, 120, 0.09);
  border: 1px solid rgba(0, 132, 120, 0.3);
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}
.promo strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 17px; }

/* Language switch on subpages uses links instead of buttons */
a.lang-btn { display: inline-flex; align-items: center; text-decoration: none; }

