/* ============================================================
   MicroStock — Landing Page
   ============================================================ */

:root {
  --indigo:       #6366f1;
  --indigo-dark:  #4f46e5;
  --indigo-soft:  #eef2ff;
  --dark:         #0f172a;
  --dark-2:       #1e293b;
  --text:         #0f172a;
  --text-soft:    #64748b;
  --text-mute:    #94a3b8;
  --border:       #e5e7eb;
  --bg:           #ffffff;
  --bg-soft:      #f8fafc;
  --bg-warm:      #fef3c7;
  --success:      #10b981;
  --warn:         #f59e0b;
  --danger:       #ef4444;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow-sm:    0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md:    0 4px 12px rgba(15,23,42,.08);
  --shadow-lg:    0 20px 60px rgba(15,23,42,.15);
  --shadow-xl:    0 30px 80px rgba(15,23,42,.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--narrow { max-width: 760px; }

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15,23,42,.06);
  padding: 1rem 0;
}

.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__brand { display: flex; align-items: center; }
.nav__logo { height: 32px; width: auto; display: block; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__links a {
  color: var(--text);
  font-size: .92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s;
}
.nav__links a:hover { color: var(--indigo); text-decoration: none; }

.nav__lang {
  padding: .3rem .6rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: .8rem !important;
  font-weight: 700 !important;
}

.nav__cta {
  padding: .55rem 1.1rem;
  background: var(--indigo);
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background .15s;
}
.nav__cta:hover { background: var(--indigo-dark); text-decoration: none; }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .65rem 1.3rem;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .15s ease;
  white-space: nowrap;
}

.btn--lg { padding: .85rem 1.75rem; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

.btn--primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 4px 14px rgba(99,102,241,.35);
}
.btn--primary:hover {
  background: var(--indigo-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99,102,241,.45);
  text-decoration: none;
}

.btn--secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}
.btn--secondary:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  text-decoration: none;
}

.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.25);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.5);
  text-decoration: none;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff;
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(99,102,241,.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}

.hero__title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
}

.hero__title-accent {
  background: linear-gradient(90deg, #d4af37 0%, #f5d76e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero__note {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}

/* ============================================================
   HERO MOCKUP (CSS crtan laptop)
   ============================================================ */

.hero__mockup {
  perspective: 1200px;
  display: flex;
  justify-content: center;
}

.mockup-laptop {
  transform: rotateY(-8deg) rotateX(2deg);
  transition: transform .4s ease;
  width: 100%;
  max-width: 520px;
}
.mockup-laptop:hover { transform: rotateY(0) rotateX(0); }

.mockup-laptop__screen {
  background: #000;
  border-radius: 12px 12px 0 0;
  padding: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  aspect-ratio: 16 / 10;
}

.mockup-laptop__base {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  height: 14px;
  border-radius: 0 0 14px 14px;
  margin: 0 -10px;
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
  position: relative;
}
.mockup-laptop__base::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #0a0f1a;
  border-radius: 0 0 4px 4px;
}

/* Aplikacija unutar ekrana */

.mockup-app {
  display: flex;
  height: 100%;
  background: #f4f6fb;
  border-radius: 4px;
  overflow: hidden;
}

.mockup-app__sidebar {
  width: 22%;
  background: var(--dark);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-app__brand {
  height: 20px;
  background: linear-gradient(90deg, rgba(212,175,55,.6), rgba(212,175,55,.2));
  border-radius: 3px;
  margin-bottom: 10px;
}

.mockup-app__nav-item {
  height: 8px;
  background: rgba(255,255,255,.12);
  border-radius: 2px;
}
.mockup-app__nav-item--active { background: var(--indigo); }

.mockup-app__main {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-app__header {
  height: 12px;
  background: #e2e8f0;
  border-radius: 3px;
  width: 40%;
}

.mockup-app__kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mockup-kpi {
  height: 40px;
  background: #fff;
  border-radius: 4px;
  border-top: 3px solid var(--indigo);
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.mockup-kpi--green { border-top-color: var(--success); }
.mockup-kpi--gold { border-top-color: #d4af37; }

.mockup-app__chart {
  flex: 1;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
  background-image:
    linear-gradient(90deg, transparent 0%, transparent 100%),
    repeating-linear-gradient(0deg, transparent 0, transparent 20px, #f1f5f9 20px, #f1f5f9 21px);
  position: relative;
}
.mockup-app__chart::before {
  content: '';
  position: absolute;
  bottom: 20%;
  left: 5%;
  right: 5%;
  height: 40%;
  background: linear-gradient(90deg,
    transparent 0%, rgba(99,102,241,.4) 20%,
    rgba(99,102,241,.5) 40%, rgba(99,102,241,.3) 60%,
    rgba(99,102,241,.5) 80%, transparent 100%);
  clip-path: polygon(0% 60%, 20% 40%, 40% 30%, 60% 50%, 80% 20%, 100% 35%, 100% 100%, 0% 100%);
}

.mockup-app__table {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mockup-row {
  height: 8px;
  background: #fff;
  border-radius: 2px;
}

/* ============================================================
   PROBLEM
   ============================================================ */

.problem {
  padding: 6rem 0;
  background: var(--bg);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-soft);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.problem__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.problem-card {
  padding: 1.75rem 1.5rem;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.problem-card__icon {
  font-size: 2rem;
  margin-bottom: .75rem;
  display: block;
}

.problem-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.problem-card p {
  font-size: .95rem;
  color: var(--text-soft);
}

/* ============================================================
   FEATURES
   ============================================================ */

.features {
  padding: 6rem 0;
  background: var(--bg-soft);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.feature-card {
  padding: 2rem 1.75rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--indigo);
}

.feature-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: .75rem;
}

.feature-card p {
  font-size: .95rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .88rem;
  color: var(--text-soft);
}
.feature-list li {
  padding: .2rem 0;
}

.features__extras {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
}

.extra-chip {
  padding: .5rem 1rem;
  background: var(--indigo-soft);
  color: var(--indigo-dark);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
}

/* ============================================================
   PREVIEW (mockup screenshots)
   ============================================================ */

.preview {
  padding: 6rem 0;
  background: var(--bg);
}

.preview__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.preview-card {
  text-align: center;
}

.preview-card__browser {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px 12px 0 0;
  padding: .6rem .8rem;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.browser-dots {
  display: flex;
  gap: 5px;
}
.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
}
.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }

.preview-card__content {
  background: #fff;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.preview-card__caption {
  margin-top: .85rem;
  font-size: .85rem;
  color: var(--text-soft);
  font-weight: 500;
}

/* Mini mockup-i */

.preview-mockup {
  display: flex;
  gap: 6px;
  height: 160px;
  background: #f4f6fb;
  border-radius: 6px;
  padding: 8px;
}

.pm-sidebar {
  width: 20%;
  background: var(--dark);
  border-radius: 4px;
}

.pm-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pm-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.pm-kpi {
  height: 22px;
  background: #fff;
  border-radius: 3px;
  border-top: 2px solid var(--indigo);
}
.pm-kpi:nth-child(2) { border-top-color: var(--success); }
.pm-kpi:nth-child(3) { border-top-color: #d4af37; }
.pm-kpi:nth-child(4) { border-top-color: var(--danger); }

.pm-chart {
  flex: 1;
  background: #fff;
  border-radius: 3px;
  position: relative;
}
.pm-chart--line::before {
  content: '';
  position: absolute;
  inset: 20% 5% 20% 5%;
  background: linear-gradient(180deg, rgba(99,102,241,.2), transparent);
  border-top: 2px solid var(--indigo);
  clip-path: polygon(0% 80%, 20% 50%, 40% 40%, 60% 60%, 80% 25%, 100% 40%, 100% 100%, 0% 100%);
}
.pm-chart--donut {
  flex: 1;
  background:
    radial-gradient(circle at 50% 50%, #fff 30%, transparent 31%),
    conic-gradient(var(--indigo) 0% 60%, var(--success) 60% 85%, #d4af37 85% 100%);
  border-radius: 50%;
  max-width: 60px;
  aspect-ratio: 1;
  margin: 0 auto;
  width: 60px;
}
.pm-chart--bar {
  flex: 1;
  background: #fff;
  border-radius: 3px;
  background-image:
    linear-gradient(to right, transparent 0, transparent 100%),
    repeating-linear-gradient(90deg,
      var(--indigo) 0, var(--indigo) 6px,
      transparent 6px, transparent 12px);
  background-position: bottom;
  background-size: 100% 60%;
  background-repeat: no-repeat;
}

.pm-chart-row {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  height: 60px;
}

.pm-table-row {
  height: 12px;
  background: #fff;
  border-radius: 2px;
}

.pm-badge-row {
  display: flex;
  gap: 5px;
}
.pm-badge {
  flex: 1;
  height: 14px;
  border-radius: 999px;
}
.pm-badge--blue { background: #dbeafe; }
.pm-badge--green { background: #dcfce7; }
.pm-badge--yellow { background: #fef3c7; }
.pm-badge--red { background: #fee2e2; }

/* ============================================================
   PRICING
   ============================================================ */

.pricing {
  padding: 6rem 0;
  background: var(--bg-soft);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  position: relative;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .2s, box-shadow .2s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-card--featured {
  border: 2px solid var(--indigo);
  box-shadow: 0 20px 60px rgba(99,102,241,.2);
  transform: scale(1.03);
}
.pricing-card--featured:hover { transform: scale(1.03) translateY(-4px); }

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--indigo);
  color: #fff;
  padding: .35rem 1rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pricing-card__price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: .5rem;
}
.pricing-card__price span {
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-mute);
  letter-spacing: 0;
}

.pricing-card__desc {
  font-size: .9rem;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
  min-height: 2.5rem;
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  flex: 1;
}
.pricing-card__features li {
  padding: .35rem 0;
  font-size: .9rem;
  color: var(--text);
}

/* ============================================================
   FAQ
   ============================================================ */

.faq {
  padding: 6rem 0;
  background: var(--bg);
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: .75rem;
  cursor: pointer;
  transition: border-color .15s;
}
.faq-item:hover { border-color: var(--indigo); }

.faq-item summary {
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--indigo);
  font-weight: 300;
  transition: transform .2s;
}
.faq-item[open] summary::after { content: '−'; }

.faq-item p {
  margin-top: 1rem;
  color: var(--text-soft);
  font-size: .95rem;
  line-height: 1.7;
}

/* ============================================================
   CTA
   ============================================================ */

.cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(99,102,241,.3) 0%, transparent 70%);
  pointer-events: none;
}

.cta__title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
}

.cta__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 2rem;
  position: relative;
}

.cta .btn { position: relative; }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 3rem 0 1.5rem;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 1.5rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.footer__logo {
  height: 28px;
  width: auto;
  display: block;
}
.footer__studio {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  letter-spacing: .08em;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}
.footer__links a {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  text-decoration: none;
  transition: color .15s;
}
.footer__links a:hover { color: #fff; text-decoration: none; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .85rem;
}
.footer__bottom a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
}
.footer__bottom a:hover { color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .hero__container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero__title { font-size: 2.5rem; }
  .hero__mockup { order: -1; }
  .mockup-laptop { transform: none; }

  .nav__links a:not(.nav__cta):not(.nav__lang) { display: none; }

  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-4px); }

  .section-title { font-size: 2rem; }
  .cta__title { font-size: 2rem; }
}

@media (max-width: 600px) {
  .hero { padding: 3rem 0 4rem; }
  .hero__title { font-size: 2rem; }
  .hero__subtitle { font-size: 1rem; }
  .problem, .features, .preview, .pricing, .faq { padding: 4rem 0; }
  .section-title { font-size: 1.75rem; }
  .section-subtitle { font-size: 1rem; }
  .cta__title { font-size: 1.75rem; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   BLOG
   ============================================================ */

.blog-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff;
  padding: 4rem 0 3rem;
  text-align: center;
}

.blog-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: .75rem;
  letter-spacing: -.02em;
}

.blog-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 640px;
  margin: 0 auto;
}

.blog-list {
  padding: 4rem 0;
  background: var(--bg);
}

.blog-list__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--indigo);
  text-decoration: none;
}

.blog-card__cover {
  height: 180px;
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #fff;
}

.blog-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__tag {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--indigo);
  font-weight: 700;
  margin-bottom: .5rem;
}

.blog-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .6rem;
  line-height: 1.35;
}

.blog-card p {
  font-size: .9rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
  flex: 1;
}

.blog-card__meta {
  font-size: .8rem;
  color: var(--text-mute);
  display: flex;
  align-items: center;
  gap: .75rem;
}

/* Pojedinačni članak */

.article {
  padding: 3rem 0 5rem;
  background: var(--bg);
}

.article__container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.article__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .85rem;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.article__tag {
  background: var(--indigo-soft);
  color: var(--indigo-dark);
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.article h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
}

.article h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  letter-spacing: -.01em;
}

.article h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 2rem 0 .75rem;
}

.article p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.article ul, .article ol {
  margin: 1.25rem 0;
  padding-left: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.75;
}

.article li {
  margin-bottom: .5rem;
}

.article blockquote {
  border-left: 4px solid var(--indigo);
  background: var(--indigo-soft);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  border-radius: 0 8px 8px 0;
}

.article strong { color: var(--text); font-weight: 700; }

.article__cta {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--indigo-soft);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid #c7d2fe;
}

.article__cta h3 {
  margin-top: 0;
  margin-bottom: .5rem;
  font-size: 1.35rem;
}

.article__cta p {
  color: var(--text-soft);
  margin-bottom: 1.25rem;
  font-size: .95rem;
}

.article__back {
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--text-soft);
  font-size: .9rem;
  text-decoration: none;
}
.article__back:hover { color: var(--indigo); text-decoration: none; }

/* Breadcrumbs */

.breadcrumbs {
  font-size: .85rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
}
.breadcrumbs a {
  color: var(--text-soft);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--indigo); }
.breadcrumbs span { margin: 0 .5rem; color: var(--text-mute); }

/* Responsive */

@media (max-width: 600px) {
  .blog-hero { padding: 3rem 0 2rem; }
  .blog-hero h1 { font-size: 1.75rem; }
  .blog-hero p { font-size: 1rem; }
  .article h1 { font-size: 1.6rem; }
  .article h2 { font-size: 1.25rem; }
  .article p { font-size: 1rem; }
  .blog-card__cover { height: 140px; font-size: 3rem; }
}

/* Modal za plaćanje */
.pay-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.pay-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
}

.pay-modal__dialog {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  padding: 1.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  z-index: 1;
}

.pay-modal__close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
}

.pay-modal__close:hover {
  color: #0f172a;
}