/* ============================================================
   Programs Pages — shared layout for astrologija, konstelacije, nlp
   ============================================================ */

/* --- Theme tokens per page --- */
body.pg-astrologija {
  --pg-accent: #f1dab0;
  --pg-accent-dim: rgba(241, 218, 176, 0.45);
  --pg-accent-faint: rgba(241, 218, 176, 0.12);
  --pg-accent-glow: rgba(241, 218, 176, 0.06);
  --pg-accent-border: rgba(241, 218, 176, 0.16);
  --pg-accent-border-hard: rgba(241, 218, 176, 0.35);
  --pg-hero-gradient: radial-gradient(
    ellipse 80% 60% at 70% 40%,
    rgba(241, 218, 176, 0.07) 0%,
    transparent 70%
  );
}

body.pg-konstelacije {
  --pg-accent: #e2fdfb;
  --pg-accent-dim: rgba(226, 253, 251, 0.45);
  --pg-accent-faint: rgba(226, 253, 251, 0.12);
  --pg-accent-glow: rgba(226, 253, 251, 0.06);
  --pg-accent-border: rgba(226, 253, 251, 0.16);
  --pg-accent-border-hard: rgba(226, 253, 251, 0.35);
  --pg-hero-gradient: radial-gradient(
    ellipse 70% 70% at 65% 35%,
    rgba(226, 253, 251, 0.06) 0%,
    transparent 65%
  );
}

body.pg-nlp {
  --pg-accent: #f1dab0;
  --pg-accent-dim: rgba(241, 218, 176, 0.45);
  --pg-accent-faint: rgba(241, 218, 176, 0.12);
  --pg-accent-glow: rgba(241, 218, 176, 0.06);
  --pg-accent-border: rgba(241, 218, 176, 0.16);
  --pg-accent-border-hard: rgba(241, 218, 176, 0.35);
  --pg-accent-2: #e2fdfb;
  --pg-accent-2-faint: rgba(226, 253, 251, 0.12);
  --pg-hero-gradient: radial-gradient(
    ellipse 60% 80% at 50% 50%,
    rgba(241, 218, 176, 0.05) 0%,
    rgba(226, 253, 251, 0.03) 50%,
    transparent 80%
  );
}

/* --- Shared base --- */
body[class*="pg-"] {
  --pg-bg: #011415;
  --pg-bg-2: #062b2e;
  --pg-text: #fafafa;
  --pg-text-muted: #abbcbb;
  --pg-glass: rgba(1, 20, 21, 0.78);
  --pg-font-display: var(--font-cormorant), Georgia, serif;
  --pg-font-body: var(--font-manrope), system-ui, sans-serif;
  --pg-section-pad: clamp(48px, 6vw, 72px);

  background: linear-gradient(
    180deg,
    #011415 0%,
    #062b2e 30%,
    #041e20 60%,
    #011415 100%
  );
  color: var(--pg-text);
  font-family: var(--pg-font-body);
  overflow-x: hidden;
}

/* Keep oversized page decorations inside the program content viewport. */
body[class*="pg-"] #main-content {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

/* ============================================================
   AMBIENT ATMOSPHERE — particles, grain, radial glows
   ============================================================ */

/* Film grain overlay */
.pg-grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)'/%3E%3C/svg%3E");
}

/* Floating particles container */
.pg-particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.pg-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--pg-accent);
  opacity: 0;
  animation: pg-particle-float linear infinite;
}

.pg-particle:nth-child(1) {
  left: 5%;
  animation-duration: 18s;
  animation-delay: 0s;
  width: 2px;
  height: 2px;
}
.pg-particle:nth-child(2) {
  left: 15%;
  animation-duration: 22s;
  animation-delay: 2s;
  width: 1.5px;
  height: 1.5px;
}
.pg-particle:nth-child(3) {
  left: 25%;
  animation-duration: 16s;
  animation-delay: 4s;
  width: 3px;
  height: 3px;
}
.pg-particle:nth-child(4) {
  left: 35%;
  animation-duration: 20s;
  animation-delay: 1s;
  width: 1px;
  height: 1px;
}
.pg-particle:nth-child(5) {
  left: 45%;
  animation-duration: 24s;
  animation-delay: 3s;
  width: 2px;
  height: 2px;
}
.pg-particle:nth-child(6) {
  left: 55%;
  animation-duration: 19s;
  animation-delay: 5s;
  width: 1.5px;
  height: 1.5px;
}
.pg-particle:nth-child(7) {
  left: 65%;
  animation-duration: 21s;
  animation-delay: 2.5s;
  width: 2.5px;
  height: 2.5px;
}
.pg-particle:nth-child(8) {
  left: 75%;
  animation-duration: 17s;
  animation-delay: 0.5s;
  width: 1px;
  height: 1px;
}
.pg-particle:nth-child(9) {
  left: 82%;
  animation-duration: 23s;
  animation-delay: 4.5s;
  width: 2px;
  height: 2px;
}
.pg-particle:nth-child(10) {
  left: 90%;
  animation-duration: 15s;
  animation-delay: 1.5s;
  width: 1.5px;
  height: 1.5px;
}
.pg-particle:nth-child(11) {
  left: 10%;
  animation-duration: 25s;
  animation-delay: 6s;
  width: 2px;
  height: 2px;
}
.pg-particle:nth-child(12) {
  left: 30%;
  animation-duration: 20s;
  animation-delay: 7s;
  width: 1px;
  height: 1px;
}
.pg-particle:nth-child(13) {
  left: 50%;
  animation-duration: 18s;
  animation-delay: 3.5s;
  width: 3px;
  height: 3px;
}
.pg-particle:nth-child(14) {
  left: 70%;
  animation-duration: 22s;
  animation-delay: 5.5s;
  width: 1.5px;
  height: 1.5px;
}
.pg-particle:nth-child(15) {
  left: 95%;
  animation-duration: 19s;
  animation-delay: 8s;
  width: 2px;
  height: 2px;
}

@keyframes pg-particle-float {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
    transform: translateY(90vh) scale(1);
  }
  90% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-10vh) scale(0.5);
    opacity: 0;
  }
}

/* Ambient radial glow blobs — placed between sections */
.pg-ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  animation: pg-glow-breathe 6s ease-in-out infinite alternate;
}

.pg-ambient-glow--1 {
  width: 400px;
  height: 400px;
  top: 20%;
  right: -10%;
  background: var(--pg-accent);
  opacity: 0.04;
}

.pg-ambient-glow--2 {
  width: 350px;
  height: 350px;
  top: 50%;
  left: -8%;
  background: var(--pg-accent);
  opacity: 0.03;
  animation-delay: 3s;
}

.pg-ambient-glow--3 {
  width: 300px;
  height: 300px;
  top: 75%;
  right: 5%;
  background: var(--pg-accent);
  opacity: 0.035;
  animation-delay: 1.5s;
}

@keyframes pg-glow-breathe {
  from {
    opacity: var(--glow-min, 0.025);
    transform: scale(0.95);
  }
  to {
    opacity: var(--glow-max, 0.06);
    transform: scale(1.05);
  }
}

/* Decorative orbital ring — between hero and modules */
.pg-deco-ring {
  position: absolute;
  left: calc(50% - 300px);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid var(--pg-accent-border);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  animation: pg-orbit 60s linear infinite;
}

.pg-deco-ring--small {
  left: calc(50% - 150px);
  width: 300px;
  height: 300px;
  border-style: dashed;
  border-width: 0.5px;
  opacity: 0.25;
  animation-duration: 45s;
  animation-direction: reverse;
}

/* Cosmic dust — tiny twinkling dots scattered in sections */
.pg-stardust {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.pg-stardust__dot {
  position: absolute;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  background: var(--pg-accent);
  animation: pg-twinkle 3s ease-in-out infinite alternate;
}

@keyframes pg-twinkle {
  0% {
    opacity: 0.1;
    transform: scale(0.8);
  }
  100% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

/* ============================================================
   SCROLL REVEAL — JS adds .is-visible via IntersectionObserver
   ============================================================ */
.pg-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 80ms);
}

.pg-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pg-reveal--left {
  opacity: 0;
  transform: translateX(-24px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 120ms);
}

.pg-reveal--left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .pg-reveal,
  .pg-reveal--left {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .pg-hero__eyebrow,
  .pg-hero__title,
  .pg-hero__subtitle,
  .pg-hero__cta-wrap {
    opacity: 1;
    animation: none;
  }
  .pg-hero__scroll {
    animation: none;
  }
  .pg-hero__svg-wrap svg * {
    animation: none !important;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.pg-hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
}

.pg-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--pg-hero-gradient, none);
  pointer-events: none;
  z-index: 0;
}

/* Hero bottom fade — dissolves hero into modules */
.pg-hero__fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 22vh;
  background: linear-gradient(to bottom, transparent, var(--pg-bg));
  z-index: 3;
  pointer-events: none;
}

.pg-hero .container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.pg-hero__svg-wrap {
  position: absolute;
  top: 50%;
  right: -2%;
  transform: translateY(-50%);
  width: 58%;
  max-width: 720px;
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

@media (max-width: 991px) {
  .pg-hero__svg-wrap {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 80%;
    max-width: 380px;
    margin: 0 auto 40px;
    opacity: 0.5;
  }
  .pg-hero {
    flex-direction: column-reverse;
    text-align: center;
    padding: 120px 0 60px;
  }
}

.pg-hero__svg-wrap svg {
  width: 100%;
  height: 100%;
}

.pg-hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--pg-accent);
  margin-bottom: 20px;
  opacity: 0;
  animation: pg-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s forwards;
}

.pg-hero__title {
  font-family: var(--pg-font-display);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--pg-text);
  margin: 0 0 24px;
  max-width: 700px;
  opacity: 0;
  animation: pg-rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s forwards;
}

@media (max-width: 991px) {
  .pg-hero__title {
    max-width: none;
  }
}

.pg-hero__subtitle {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--pg-text-muted);
  letter-spacing: 0.01em;
  margin: 0 0 40px;
  opacity: 0;
  animation: pg-rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.4s forwards;
}

@media (max-width: 991px) {
  .pg-hero__subtitle {
    max-width: none;
    margin: 0 auto 40px;
  }
}

.pg-hero__cta-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: pg-rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.55s forwards;
}

@media (max-width: 991px) {
  .pg-hero__cta-wrap {
    justify-content: center;
  }
}

.pg-hero__scroll-link {
  color: var(--pg-text-muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.pg-hero__scroll-link:hover {
  color: var(--pg-accent);
}

.pg-hero__scroll-link i {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.pg-hero__scroll-link:hover i {
  transform: translateY(3px);
}

.pg-hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--pg-accent-dim);
  font-size: 18px;
  animation: pg-float 2.4s ease-in-out infinite;
  animation-delay: 1.2s;
  opacity: 0;
  z-index: 2;
}

.pg-hero::before {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    var(--pg-accent-glow) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

@keyframes pg-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pg-float {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ============================================================
   SECTION TITLE — reusable across modules, pricing, related
   ============================================================ */
.pg-section-title {
  font-family: var(--pg-font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 600;
  color: var(--pg-accent);
  text-align: center;
  margin-bottom: 56px;
}

.pg-section-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pg-text-muted);
  text-align: center;
  margin-bottom: 12px;
}

/* ============================================================
   MODULES
   ============================================================ */
.pg-modules {
  padding: var(--pg-section-pad) 0;
  position: relative;
}

.pg-modules::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    var(--pg-accent-glow) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.pg-modules .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.pg-module {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--pg-accent-border);
  border-radius: 24px;
  position: relative;
  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.pg-module:hover {
  border-color: var(--pg-accent-border-hard);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.pg-module:last-child {
  margin-bottom: 0;
}

.pg-module::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--pg-accent-border-hard),
    transparent
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pg-module:hover::before {
  opacity: 1;
}

.pg-module--reversed {
  grid-template-columns: 7fr 5fr;
}

.pg-module--reversed .pg-module__visual {
  order: 2;
}

.pg-module--reversed .pg-module__content {
  order: 1;
}

@media (max-width: 991px) {
  .pg-module,
  .pg-module--reversed {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pg-module--reversed .pg-module__visual,
  .pg-module--reversed .pg-module__content {
    order: unset;
  }
}

/* --- Module visual: video player shell --- */
.pg-module__visual {
  position: relative;
}

.pg-module__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}

.pg-module__icon-wrap svg {
  width: 100%;
  height: 100%;
}

.pg-module__player-shell {
  background: linear-gradient(180deg, #0a2628 0%, #061a1c 100%);
  border: 1px solid var(--pg-accent-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(241, 218, 176, 0.06) inset;
  transition:
    transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.6s ease;
}

.pg-module__player-shell:hover {
  transform: translateY(-6px);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(241, 218, 176, 0.1) inset,
    0 0 60px -20px var(--pg-accent-glow);
}

.pg-module__player-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--pg-accent-border);
}

.pg-module__player-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.pg-module__player-dot:nth-child(1) {
  background: #e26f5c;
}
.pg-module__player-dot:nth-child(2) {
  background: #e8c98a;
}
.pg-module__player-dot:nth-child(3) {
  background: #7db58f;
}

.pg-module__player-url {
  margin-left: 16px;
  font-family: var(--font-manrope), sans-serif;
  font-size: 11px;
  color: rgba(226, 253, 251, 0.55);
  letter-spacing: 0.04em;
}

.pg-module__player-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #062b2e 0%, #011415 60%, #03191b 100%);
}

.pg-module__player-screen video,
.pg-module__player-screen iframe,
.pg-module__player-screen mux-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}

.pg-module__player-screen > .player--loading {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
}

.pg-module__player-screen > .player--loading .fa-spinner {
  font-size: 32px;
}

/* --- Module content --- */
.pg-module__content {
  padding: 16px 0;
}

.pg-module__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #f1dab0;
  background: rgba(226, 253, 251, 0.08);
  border: 1px solid #f1dab0;
  border-radius: 6px;
  padding: 4px 12px;
  margin-bottom: 16px;
}

.pg-module__title {
  font-family: var(--pg-font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--pg-text);
  line-height: 1.2;
  margin: 0 0 8px;
}

.pg-module__category {
  font-size: 15px;
  font-weight: 600;
  color: var(--pg-accent);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.pg-module__desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--pg-text-muted);
  margin: 0 0 28px;
  max-width: 55ch;
}

.pg-module__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pg-module__price {
  font-family: var(--pg-font-display);
  font-size: 22px;
  font-weight: 700;
  color: #f1dab0;
  white-space: nowrap;
}

.pg-module__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: var(--pg-font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 50px;
  text-decoration: none;
  color: #0d0d0d;
  background: linear-gradient(135deg, #f1dab0 0%, #e8c98a 100%);
  border: 1.5px solid transparent;
  box-shadow: 0 4px 20px rgba(241, 218, 176, 0.3);
  transition: all 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.pg-module__cta:hover {
  color: #0d0d0d;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 36px rgba(241, 218, 176, 0.5);
}

.pg-module__cta:disabled,
.pg-module__cta:disabled:hover {
  opacity: 0.65;
  cursor: wait;
  transform: none;
  box-shadow: 0 4px 20px rgba(241, 218, 176, 0.2);
}

/* ============================================================
   LOCKED MODULE OVERLAY
   ============================================================ */
.pg-module--locked {
  position: relative;
}

.pg-module__lock-overlay {
  position: absolute;
  inset: -12px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(1, 20, 21, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 24px;
  border: 1px solid var(--pg-accent-border);
  cursor: default;
  transition: background 0.3s ease;
}

.pg-module__lock-overlay:hover {
  background: rgba(1, 20, 21, 0.75);
}

.pg-module__lock-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--pg-accent);
  border: 1px solid var(--pg-accent-border);
  border-radius: 50%;
  background: rgba(241, 218, 176, 0.08);
}

.pg-module__lock-text {
  font-size: 15px;
  font-weight: 600;
  color: #e8f2f1;
  text-align: center;
  max-width: 300px;
  line-height: 1.55;
}

.pg-module__lock-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid var(--pg-accent-border);
  background: rgba(241, 218, 176, 0.08);
  color: var(--pg-accent);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.pg-module__lock-cta:hover {
  background: var(--pg-accent);
  color: #0d0d0d;
}

/* ============================================================
   PRICING STRIP
   ============================================================ */
/* Section divider line */
.pg-divider {
  display: block;
  width: 120px;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(
    90deg,
    transparent,
    var(--pg-accent-dim),
    transparent
  );
  border: none;
}

.pg-pricing {
  padding: var(--pg-section-pad) 0 calc(var(--pg-section-pad) * 0.5);
}

.pg-pricing .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.pg-pricing__card {
  background: var(--pg-glass);
  border: 1px solid var(--pg-accent-border);
  border-radius: 24px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  transition:
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.4s ease,
    border-color 0.3s ease;
}

.pg-pricing__card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.4),
    0 0 0 1px var(--pg-accent-border);
  border-color: var(--pg-accent-border-hard);
}

@media (max-width: 767px) {
  .pg-pricing__card {
    flex-direction: column;
    text-align: center;
    padding: 40px 28px;
  }
}

.pg-pricing__info {
  flex: 1;
  min-width: 200px;
}

.pg-pricing__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pg-text-muted);
  margin-bottom: 8px;
}

.pg-pricing__title {
  font-family: var(--pg-font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--pg-text);
  margin: 0 0 8px;
}

.pg-pricing__modules {
  font-size: 15px;
  color: var(--pg-text-muted);
}

.pg-pricing__action {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .pg-pricing__action {
    justify-content: center;
  }
}

.pg-pricing__amount {
  font-family: var(--pg-font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: #f1dab0;
}

/* ============================================================
   CROSS-SELL / RELATED PROGRAMS
   ============================================================ */
.pg-related {
  padding: calc(var(--pg-section-pad) * 0.5) 0 var(--pg-section-pad);
}

.pg-related .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.pg-related__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 767px) {
  .pg-related__grid {
    grid-template-columns: 1fr;
  }
}

.pg-related__card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--pg-accent-border);
  border-radius: 20px;
  padding: 32px;
  text-decoration: none;
  transition:
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.4s ease,
    border-color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 24px;
}

.pg-related__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  border-color: var(--pg-accent-border-hard);
}

.pg-related__card-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.pg-related__card-icon svg {
  width: 100%;
  height: 100%;
}

.pg-related__card-title {
  font-family: var(--pg-font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--pg-text);
  margin: 0 0 6px;
}

.pg-related__card-desc {
  font-size: 14px;
  color: var(--pg-text-muted);
  line-height: 1.5;
  margin: 0;
}

.pg-related__card-arrow {
  margin-left: auto;
  font-size: 18px;
  color: var(--pg-accent-dim);
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.pg-related__card:hover .pg-related__card-arrow {
  transform: translateX(4px);
  color: var(--pg-accent);
}

/* ============================================================
   SVG HERO ANIMATIONS — shared keyframes
   ============================================================ */
@keyframes pg-orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pg-pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes pg-draw {
  from {
    stroke-dashoffset: 100;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pg-glow {
  from {
    opacity: 0.5;
  }
  to {
    opacity: 1;
  }
}

@keyframes pg-node-pulse {
  from {
    opacity: 0.4;
    r: 3;
  }
  to {
    opacity: 1;
    r: 4.5;
  }
}

@keyframes pg-synapse {
  0% {
    stroke-dashoffset: 60;
    opacity: 0.3;
  }
  50% {
    stroke-dashoffset: 0;
    opacity: 0.8;
  }
  100% {
    stroke-dashoffset: -60;
    opacity: 0.3;
  }
}

/* ============================================================
   FLOATING CONTACT FAB — reused from o-nama
   ============================================================ */
.pg-fab {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 900;
}

.pg-fab__toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #f1dab0 0%, #e8c98a 100%);
  color: #0d0d0d;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(241, 218, 176, 0.35);
  transition: all 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.pg-fab__toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 40px rgba(241, 218, 176, 0.5);
}

.pg-fab__menu {
  position: absolute;
  bottom: 68px;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.pg-fab.is-open .pg-fab__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.pg-fab__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--pg-glass);
  border: 1px solid var(--pg-accent-border);
  border-radius: 30px;
  color: var(--pg-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.pg-fab__item:hover {
  background: rgba(1, 20, 21, 0.9);
  border-color: var(--pg-accent-border-hard);
  color: var(--pg-accent);
}

.pg-fab__item i {
  color: var(--pg-accent);
  font-size: 16px;
  width: 20px;
  text-align: center;
}

/* ============================================================
   PAGE-SPECIFIC VISUAL DIFFERENTIATION
   ============================================================ */

/* Astrologija: warm golden atmosphere, circular motifs */
body.pg-astrologija .pg-modules {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(241, 218, 176, 0.02) 50%,
    transparent 100%
  );
}

body.pg-astrologija .pg-pricing__card {
  background: rgba(226, 253, 251, 0.03);
  border-color: rgba(226, 253, 251, 0.15);
}

/* Konstelacije: cool cyan atmosphere, network/web motifs */
body.pg-konstelacije .pg-modules {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(226, 253, 251, 0.015) 50%,
    transparent 100%
  );
}

body.pg-konstelacije .pg-module {
  border-color: rgba(226, 253, 251, 0.12);
}

body.pg-konstelacije .pg-module:hover {
  border-color: rgba(226, 253, 251, 0.3);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(226, 253, 251, 0.03);
}

body.pg-konstelacije .pg-module__badge {
  background: rgba(226, 253, 251, 0.08);
  border-color: #f1dab0;
  color: #f1dab0;
}

body.pg-konstelacije .pg-module__category {
  color: #f1dab0;
}

body.pg-konstelacije .pg-pricing__card {
  background: rgba(226, 253, 251, 0.03);
  border-color: rgba(226, 253, 251, 0.15);
}

body.pg-konstelacije .pg-module__player-shell {
  border-color: rgba(226, 253, 251, 0.16);
}

body.pg-konstelacije .pg-module__player-bar {
  border-bottom-color: rgba(226, 253, 251, 0.12);
}

body.pg-konstelacije .pg-section-title {
  color: #f1dab0;
}

/* NLP: dual-tone atmosphere, split gold/cyan gradient motifs */
body.pg-nlp .pg-modules {
  background: linear-gradient(
    135deg,
    rgba(241, 218, 176, 0.015) 0%,
    transparent 50%,
    rgba(226, 253, 251, 0.01) 100%
  );
}

body.pg-nlp .pg-hero__title {
  background: linear-gradient(135deg, #f1dab0 0%, #e2fdfb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.pg-nlp .pg-module:nth-child(odd) .pg-module__badge {
  border-color: rgba(241, 218, 176, 0.2);
}

body.pg-nlp .pg-module:nth-child(even) .pg-module__badge {
  background: rgba(226, 253, 251, 0.08);
  border-color: rgba(226, 253, 251, 0.2);
  color: #e2fdfb;
}

body.pg-nlp .pg-module:nth-child(even) .pg-module__category {
  color: #e2fdfb;
}

body.pg-nlp .pg-pricing__card {
  background: linear-gradient(
    135deg,
    rgba(241, 218, 176, 0.03) 0%,
    rgba(226, 253, 251, 0.02) 100%
  );
}

/* Module icon SVG — konstelacije page uses .pg-module__icon directly */
.pg-module__icon {
  display: block;
  margin-bottom: 16px;
}

/* ============================================================
   GSAP/LENIS SCROLL-DRIVEN PARALLAX SUPPORT
   ============================================================ */
.pg-hero__text-col,
.pg-hero__visual-col {
  will-change: transform;
}

/* Scroll cue fades out as user scrolls */
.pg-hero__scroll {
  will-change: opacity;
}

/* QA pass — hero chips & CTA never wrap; scroll-link as ghost button */
.pg-hero__feature {
  white-space: nowrap;
}

.pg-module__cta {
  white-space: nowrap;
}

.pg-hero__cta-wrap {
  flex-wrap: wrap;
  gap: 14px;
}

.pg-hero__scroll-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid rgba(241, 218, 176, 0.25);
  border-radius: 50px;
  white-space: nowrap;
  transition:
    border-color 0.3s ease,
    color 0.3s ease;
}

.pg-hero__scroll-link:hover {
  border-color: rgba(241, 218, 176, 0.55);
}

@media (max-width: 575px) {
  .pg-module__cta {
    font-size: 14px;
    padding: 12px 22px;
  }
}
