/* ═══════════════════════════════════════════
   PROGRAMS — Windows desktop app pages
   /programs/ ve /programs/<slug>/
   Renk kodu: altin (--gold) = ucretli masaustu
              mor (--accent) = ucretsiz online
═══════════════════════════════════════════ */

.pg-h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--text);
  margin: 0 0 1.5rem;
}

/* ── Buttons ── */
.pg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 12px;
  font-size: .95rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease, background .2s ease;
}
.pg-btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform .2s ease; }
.pg-btn:hover svg { transform: translateX(3px); }

.pg-btn-buy {
  background: var(--gold);
  color: #1c1c1c;
}
.pg-btn-buy:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--glow-gold);
}
.pg-btn-primary {
  background: var(--accent);
  color: #fff;
}
.pg-btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--glow);
}
.pg-btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.pg-btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}

/* ── Listing hero ── */
.pg-hero {
  padding: 7rem 0 3rem;
}
.pg-why {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
  text-align: left;
}
.pg-why-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.pg-why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 7px;
  background: var(--gold-dim);
  color: var(--gold);
}
.pg-why-icon svg { width: 15px; height: 15px; }
.pg-why-item strong {
  display: block;
  font-size: .92rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: .2rem;
}
.pg-why-item p {
  margin: 0;
  font-size: .84rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ── Program grid ── */
.pg-list-section { padding: 2rem 0 4rem; }

.pg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.pg-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .25s ease;
}
.pg-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,175,46,.45);
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}
.pg-card-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-deep);
}
.pg-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.pg-card:hover .pg-card-img { transform: scale(1.04); }
.pg-card-badge {
  position: absolute;
  top: .7rem;
  left: .7rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .6rem;
  border-radius: 8px;
  background: rgba(20,20,20,.82);
  backdrop-filter: blur(6px);
  color: var(--gold);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.pg-card-badge svg { width: 12px; height: 12px; }
.pg-card-body { padding: 1.1rem 1.25rem 1.25rem; }
.pg-card-body h3 {
  margin: 0 0 .4rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}
.pg-card-body p {
  margin: 0 0 .9rem;
  font-size: .86rem;
  line-height: 1.55;
  color: var(--muted);
}
.pg-card-price {
  position: absolute;
  top: .7rem;
  right: .7rem;
  padding: .3rem .6rem;
  border-radius: 8px;
  background: var(--gold);
  color: #1c1c1c;
  font-size: .78rem;
  font-weight: 800;
}
.pg-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  font-weight: 800;
  color: var(--gold);
}
.pg-card-arrow svg { width: 13px; height: 13px; transition: transform .2s ease; }
.pg-card:hover .pg-card-arrow svg { transform: translateX(3px); }

/* ── Breadcrumbs ── */
.pg-crumbs {
  padding: 6rem 0 0;
  font-size: .82rem;
  color: var(--muted);
}
.pg-crumbs a { color: var(--muted); text-decoration: none; }
.pg-crumbs a:hover { color: var(--accent-light); }
.pg-crumbs span { margin: 0 .4rem; opacity: .5; }
.pg-crumbs strong { color: var(--text); font-weight: 700; }

/* ── Detail hero ── */
.pg-detail-hero { padding: 2rem 0 3rem; }
.pg-detail-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.pg-detail-media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-deep);
  aspect-ratio: 4 / 3;
}
.pg-detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pg-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: var(--gold-dim);
  border: 1px solid rgba(245,175,46,.3);
  color: var(--gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.pg-pill svg { width: 13px; height: 13px; }
.pg-detail-info h1 {
  margin: 1rem 0 .6rem;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.12;
  color: var(--text);
}
.pg-detail-tagline {
  margin: 0 0 1.6rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
}
.pg-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.pg-cta-note {
  margin: .9rem 0 0;
  font-size: .78rem;
  color: var(--gray);
}

/* ── Sections ── */
.pg-section { padding: 3.5rem 0; }
.pg-section-alt { background: var(--bg-deep); }

.pg-prose h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--text);
  margin: 0 0 1.25rem;
}
.pg-prose p {
  max-width: 68ch;
  margin: 0 0 1.1rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

/* ── Feature grid ── */
.pg-feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}
.pg-feat {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.pg-feat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(130,46,245,.14);
  color: var(--accent-light);
}
.pg-feat-icon svg { width: 15px; height: 15px; }
.pg-feat h3 {
  margin: 0 0 .3rem;
  font-size: .95rem;
  font-weight: 800;
  color: var(--text);
}
.pg-feat p {
  margin: 0;
  font-size: .86rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ── Two column: who it's for + specs ── */
.pg-two-col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.pg-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.pg-check-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--muted);
}
.pg-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.pg-specs {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.pg-specs dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .65rem 1rem;
}
.pg-specs dt {
  font-size: .82rem;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}
.pg-specs dd {
  margin: 0;
  font-size: .82rem;
  color: var(--muted);
  text-align: right;
}
.pg-specs dd a { color: var(--gold); text-decoration: none; font-weight: 700; }
.pg-specs dd a:hover { text-decoration: underline; }

/* ── Free generator band ── */
.pg-free-band {
  padding: 3rem 0;
  background: linear-gradient(135deg, rgba(130,46,245,.12), rgba(130,46,245,.03));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pg-free-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.pg-free-inner h2 {
  margin: 0 0 .5rem;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--text);
}
.pg-free-inner p {
  margin: 0;
  max-width: 62ch;
  font-size: .95rem;
  line-height: 1.65;
  color: var(--muted);
}

/* ── FAQ ── */
.pg-faq-section { padding: 3.5rem 0; }
.pg-faq {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-width: 820px;
}
.pg-faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.pg-faq-item summary {
  padding: 1rem 1.25rem;
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 3rem;
}
.pg-faq-item summary::-webkit-details-marker { display: none; }
.pg-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--muted);
  transition: transform .2s ease;
}
.pg-faq-item[open] summary::after { content: "−"; }
.pg-faq-item summary:hover { color: var(--accent-light); }
.pg-faq-item > div { padding: 0 1.25rem 1.1rem; }
.pg-faq-item p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ── Related programs ── */
.pg-rel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.pg-rel-card {
  display: flex;
  gap: .9rem;
  align-items: center;
  padding: .75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease;
}
.pg-rel-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245,175,46,.4);
}
.pg-rel-img {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 10px;
  object-fit: cover;
  background: var(--bg-deep);
}
.pg-rel-body h3 {
  margin: 0 0 .2rem;
  font-size: .9rem;
  font-weight: 800;
  color: var(--text);
}
.pg-rel-body p {
  margin: 0;
  font-size: .78rem;
  line-height: 1.45;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pg-rel-more {
  margin: 1.5rem 0 0;
  font-size: .88rem;
}
.pg-rel-more a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
}
.pg-rel-more svg { width: 14px; height: 14px; }
.pg-rel-more a:hover { text-decoration: underline; }

/* ── Active nav item ── */
.appbar-nav a.is-active { color: var(--gold); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .pg-detail-hero-inner,
  .pg-two-col { grid-template-columns: 1fr; }
  .pg-detail-media { order: -1; }
  .pg-specs dd { text-align: left; }
  .pg-specs dl { grid-template-columns: 1fr; gap: .15rem; }
  .pg-specs dt { margin-top: .5rem; }
}
@media (max-width: 600px) {
  .pg-hero { padding-top: 6rem; }
  .pg-grid { grid-template-columns: 1fr; }
  .pg-cta-row { flex-direction: column; align-items: stretch; }
  .pg-btn { width: 100%; }
  .pg-free-inner { flex-direction: column; align-items: flex-start; }
}

/* ── "Not an STL" notice ── */
.pg-notice-section { padding: 0 0 1rem; }
.pg-notice {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.4rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245,175,46,.12), rgba(245,175,46,.04));
  border: 1px solid rgba(245,175,46,.3);
}
.pg-notice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--gold-dim);
  color: var(--gold);
}
.pg-notice-icon svg { width: 18px; height: 18px; }
.pg-notice strong {
  display: block;
  font-size: .95rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: .3rem;
}
.pg-notice p {
  margin: 0;
  max-width: 76ch;
  font-size: .88rem;
  line-height: 1.65;
  color: var(--muted);
}

/* ── What you can customize ── */
.pg-param-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
}
.pg-param-group {
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.pg-param-group h3 {
  margin: 0 0 .9rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-light);
}
.pg-param-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.pg-param-group li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .88rem;
  line-height: 1.55;
  color: var(--muted);
}
.pg-param-group li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: .8rem;
  color: var(--accent);
}

/* ── How to print it ── */
.pg-print {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  align-items: start;
}
.pg-print-specs {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.pg-print-spec {
  padding: .9rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.pg-print-spec span {
  display: block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: .25rem;
}
.pg-print-spec strong {
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
}
.pg-print-tips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.pg-print-tips li {
  position: relative;
  padding-left: 1.6rem;
  font-size: .92rem;
  line-height: 1.65;
  color: var(--muted);
}
.pg-print-tips li::before {
  content: "";
  position: absolute;
  left: .3rem;
  top: .6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ── Tags ── */
.pg-tag-section {
  padding: 2rem 0 3.5rem;
  border-top: 1px solid var(--border);
}
.pg-tag-head {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 .9rem;
}
.pg-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.pg-tag {
  padding: .35rem .7rem;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: .78rem;
  color: var(--muted);
}

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