/* ==========================================================================
   Product Page Template — unified styles for product landing pages
   (club.html, praktykum.html, future products)
   ========================================================================== */

/* --- HERO: dark background, two columns --- */
.pp-hero {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 48px 24px 40px;
}
.pp-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}
.pp-hero .section-label { color: var(--accent-light); margin-bottom: 12px; }
.pp-hero h1 {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
  margin-bottom: 12px;
}
.pp-hero .tagline {
  font-size: 20px;
  line-height: 1.5;
  color: #C4BBB0;
  margin-bottom: 12px;
}
.pp-hero .tagline strong { color: var(--text-on-dark); }
.pp-hero .hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #A09A92;
  margin-bottom: 16px;
}
.pp-hero .hero-desc strong { color: var(--text-on-dark); }
.pp-hero .hero-meta {
  font-size: 13px;
  color: #7A756E;
}

/* Hero visual: photo variant */
.pp-hero-photo {
  border-radius: 12px;
  overflow: hidden;
}
.pp-hero-photo img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center top;
}

/* Hero visual: price card variant */
.pp-hero-price {
  background: #3A3836;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.pp-hero-price .price-tag {
  font-family: var(--serif-num);
  font-size: 36px;
  font-weight: 600;
  color: var(--text-on-dark);
  line-height: 1.1;
}
.pp-hero-price .price-format {
  font-size: 15px;
  color: #A09A92;
  margin-top: 8px;
  margin-bottom: 20px;
}
.pp-hero-price .btn { width: 100%; }


/* --- SECTIONS: generic container --- */
.pp-section {
  padding: 48px 24px;
}
.pp-section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.pp-section h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 8px;
}
.pp-section p {
  font-size: 16px;
  line-height: 1.7;
}


/* --- TWO-COLUMN SPLIT: problem/solution, gap, bonuses --- */
.pp-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 16px;
}
.pp-two-col--muted { color: var(--text-secondary); }
.pp-two-col--muted p { margin-bottom: 8px; }
.pp-two-col p { margin-bottom: 8px; }


/* --- CARDS GRID: format items, content cards --- */
.pp-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.pp-cards--3col { grid-template-columns: repeat(3, 1fr); }

.pp-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}
.pp-card .card-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 6px;
}
.pp-card .card-icon {
  font-size: 20px;
  margin-bottom: 8px;
}
.pp-card h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 6px;
}
.pp-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}


/* --- TOPIC LIST: compact two-column list with dots --- */
.pp-topics {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
  margin-top: 12px;
}
.pp-topics li {
  font-size: 15px;
  line-height: 1.5;
  padding: 10px 0 10px 22px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.pp-topics li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}


/* --- HIGHLIGHT BLOCK: dark inset (grant block, feature callout) --- */
.pp-highlight {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-radius: 12px;
  padding: 32px;
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.pp-highlight h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 8px;
}
.pp-highlight p {
  font-size: 15px;
  line-height: 1.7;
  color: #C4BBB0;
}
.pp-highlight .highlight-price {
  font-family: var(--serif-num);
  font-size: 26px;
  font-weight: 600;
  color: var(--accent-light);
  margin-top: 12px;
}
.pp-highlight .highlight-price span {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: #A09A92;
  display: block;
  margin-top: 4px;
}
.pp-highlight-steps {
  list-style: none;
  padding: 0;
}
.pp-highlight-steps li {
  font-size: 14px;
  line-height: 1.5;
  color: #C4BBB0;
  padding: 6px 0 6px 20px;
  position: relative;
}
.pp-highlight-steps li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-light);
}


/* --- RESULT EXAMPLE: image with caption --- */
.pp-result-example {
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  max-width: 480px;
}
.pp-result-example img {
  width: 100%;
  display: block;
}
.pp-result-caption {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 12px 16px;
  background: var(--card-bg);
}


/* --- TESTIMONIALS: on light background --- */
.pp-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}
.pp-testimonials--2col { grid-template-columns: repeat(2, 1fr); }

.pp-testimonial {
  border-left: 2px solid var(--accent);
  padding-left: 16px;
}
.pp-testimonial .t-text {
  font-size: 15px;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 6px;
}
.pp-testimonial .t-author {
  font-size: 13px;
  font-weight: 600;
}
.pp-testimonial .t-detail {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Testimonials on dark section */
.pp-section--dark .pp-testimonial { border-left-color: var(--accent-light); }
.pp-section--dark .pp-testimonial .t-text { color: #C4BBB0; }
.pp-section--dark .pp-testimonial .t-author { color: var(--accent-light); }
.pp-section--dark .pp-testimonial .t-detail { color: #A09A92; }

/* Testimonials on light section (card style) */
.pp-testimonial--card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 20px;
  border-left: 3px solid var(--accent);
}
/* Card on dark section */
.pp-section--dark .pp-testimonial--card {
  background: #3A3836;
  border-left-color: var(--accent-light);
}
.pp-section--dark .pp-testimonial--card .t-text { color: #E8E2DA; }
.pp-section--dark .pp-testimonial--card .t-author { color: var(--accent-light); }
.pp-section--dark .pp-testimonial--card .t-detail { color: #A09A92; }


/* --- REVIEW SCREENSHOTS --- */
.pp-screenshots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.pp-screenshots img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
}


/* --- SECTION PHOTO: full-width image inside a section --- */
.pp-section-photo {
  margin-top: 24px;
  border-radius: 10px;
  overflow: hidden;
}
.pp-section-photo img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  object-position: center 20%;
}
.pp-section-photo + p {
  font-size: 14px;
  color: #A09A92;
  margin-top: 16px;
  line-height: 1.6;
}


/* --- BOTTOM: price + for whom (two columns) --- */
.pp-bottom {
  padding: 48px 24px;
}
.pp-bottom-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Pricing column */
.pp-pricing h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 6px;
}
.pp-pricing .price-big {
  font-family: var(--serif-num);
  font-size: 40px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.1;
}
.pp-pricing .price-period {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.pp-pricing .price-note {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.pp-pricing .price-compare {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.pp-pricing .guarantee {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 12px;
  padding: 12px 16px;
  background: var(--card-bg);
  border-radius: 8px;
  border-left: 3px solid var(--accent);
}

/* For whom / not for whom column */
.pp-for h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 8px;
}
.pp-for p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.pp-for .not-for h3 { color: var(--text-secondary); }


/* --- FINAL CTA: dark, centered --- */
.pp-cta {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 36px 24px;
  text-align: center;
}
.pp-cta-inner {
  max-width: 560px;
  margin: 0 auto;
}
.pp-cta blockquote {
  font-size: 15px;
  line-height: 1.7;
  font-style: italic;
  color: #C4BBB0;
  margin: 0 0 20px;
  border: none;
  padding: 0;
}
.pp-cta .cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.pp-cta .btn-secondary {
  border-color: #A09A92;
  color: var(--text-on-dark);
}


/* --- SECTION MODIFIERS --- */
.pp-section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.pp-section--dark .section-label { color: var(--accent-light); }
.pp-section--dark h2 { color: var(--text-on-dark); }

.pp-section--warm { background: var(--bg-warm); }


/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .pp-hero { padding: 32px 16px; }
  .pp-hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .pp-hero h1 { font-size: 34px; }
  .pp-hero .tagline { font-size: 17px; }
  .pp-hero .hero-desc { font-size: 15px; }
  .pp-hero-photo { display: none; }
  .pp-hero-price { padding: 20px; }
  .pp-hero-price .price-tag { font-size: 32px; }

  .pp-section { padding: 32px 16px; }
  .pp-section h2 { font-size: 22px; }

  .pp-two-col { grid-template-columns: 1fr; gap: 20px; }
  .pp-cards { grid-template-columns: 1fr 1fr; }
  .pp-cards--3col { grid-template-columns: 1fr; }
  .pp-topics { grid-template-columns: 1fr; }
  .pp-highlight { grid-template-columns: 1fr; padding: 24px; }
  .pp-highlight h3 { font-size: 18px; }

  .pp-testimonials { grid-template-columns: 1fr; }
  .pp-testimonials--2col { grid-template-columns: 1fr; }
  .pp-screenshots { grid-template-columns: repeat(2, 1fr); }

  .pp-bottom { padding: 32px 16px; }
  .pp-bottom-grid { grid-template-columns: 1fr; gap: 28px; }
  .pp-pricing .price-big { font-size: 32px; }
  .pp-pricing h2 { font-size: 22px; }

  .pp-cta { padding: 28px 16px; }
}

@media (max-width: 480px) {
  .pp-cards { grid-template-columns: 1fr; }
}
