/* Products section + product pages. Builds on styles.css (same fonts, colours, navbar). */

.pr-section { padding: 5rem 0; background: var(--bg-primary); }
.pr-alt { background: var(--bg-secondary); }
.pr-home { background: var(--bg-secondary); }

/* ---------- buttons (independent of Bootstrap / site .btn) ---------- */
.pr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.6rem; border-radius: var(--border-radius); border: 2px solid transparent;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: var(--transition); line-height: 1.2;
}
.pr-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); text-decoration: none; }
.pr-btn-light { background: #fff; color: var(--text-primary); border-color: #fff; }
.pr-btn-light:hover { color: var(--text-primary); }
.pr-btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); }
.pr-btn-ghost:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.pr-btn-solid { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.pr-btn-solid:hover { background: var(--secondary-color); color: #fff; }
.pr-disabled { opacity: .75; cursor: default; }
.pr-disabled:hover { transform: none; box-shadow: none; background: transparent; }

/* ---------- product cards ---------- */
.pr-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.pr-card {
  position: relative; display: flex; flex-direction: column; gap: .6rem;
  padding: 1.75rem; border-radius: var(--border-radius-lg);
  background: var(--bg-primary); border: 1px solid var(--border-color);
  color: var(--text-primary); text-decoration: none; overflow: hidden;
  transition: var(--transition);
}
.pr-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--c1), var(--c2));
}
.pr-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); color: var(--text-primary); text-decoration: none; }
.pr-card h3 { font-size: 1.35rem; margin: .4rem 0 0; }
.pr-card p { color: var(--text-secondary); margin: 0; flex: 1; }
.pr-card-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.pr-chip {
  font-size: .75rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px;
  background: var(--bg-secondary); color: var(--text-secondary); text-align: right;
}
.pr-more { font-weight: 600; color: var(--c1); display: inline-flex; align-items: center; gap: .4rem; }
.pr-card:hover .pr-more i { transform: translateX(3px); }
.pr-more i { transition: var(--transition); }
.pr-home-all { text-align: center; margin-top: 2.5rem; }

/* ---------- logos ---------- */
.pr-logo { width: 56px; height: 56px; border-radius: 14px; flex: none; object-fit: cover; box-shadow: var(--shadow-md); }
.pr-logo-icon {
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.5rem;
  background: linear-gradient(135deg, var(--c1), var(--c2));
}
.pr-logo-xl { width: 240px; height: 240px; border-radius: 48px; font-size: 6rem; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.pr-hero .pr-logo-icon.pr-logo-xl { background: rgba(255, 255, 255, .15); border: 2px solid rgba(255, 255, 255, .35); }

/* ---------- hero ---------- */
.pr-hero {
  color: #fff; padding: 8.5rem 0 5rem;
  background: linear-gradient(135deg, var(--c1, var(--primary-color)), var(--c2, var(--secondary-color)));
}
.pr-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; margin: .5rem 0; }
.pr-hero-main { text-align: center; }
.pr-hero-main .pr-hero-tagline { margin: 0 auto; max-width: 640px; }
.pr-hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.pr-hero-art { display: flex; justify-content: center; }
.pr-hero-tagline { font-size: 1.3rem; font-weight: 500; opacity: .95; margin-bottom: 1rem; }
.pr-hero-summary { opacity: .9; font-size: 1.05rem; max-width: 620px; }
.pr-hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.pr-status {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  padding: .35rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .18);
}
.pr-back { display: inline-flex; gap: .4rem; align-items: center; color: #fff; opacity: .85; text-decoration: none; margin-bottom: 1rem; font-weight: 500; }
.pr-back:hover { color: #fff; opacity: 1; }
.pr-hero-text > .pr-status { display: table; }
.pr-legal { margin-top: 1.2rem; font-size: .9rem; opacity: .9; }
.pr-legal a { color: #fff; }

/* ---------- features ---------- */
.pr-features { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.pr-feature {
  padding: 1.5rem; border-radius: var(--border-radius-lg); border: 1px solid var(--border-color);
  background: var(--bg-primary); transition: var(--transition);
}
.pr-feature:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.pr-feature-icon {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); margin-bottom: 1rem; font-size: 1.15rem;
}
.pr-feature h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.pr-feature p { color: var(--text-secondary); font-size: .95rem; margin: 0; }

/* ---------- steps ---------- */
.pr-steps { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); counter-reset: s; }
.pr-step { text-align: center; padding: 1rem; }
.pr-step-num {
  width: 52px; height: 52px; margin: 0 auto 1rem; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font: 700 1.25rem 'Poppins', sans-serif; color: #fff;
  background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: var(--shadow-md);
}
.pr-step h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.pr-step p { color: var(--text-secondary); margin: 0; }
.pr-audience { text-align: center; margin-top: 3rem; }
.pr-audience h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.pr-audience > div { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.pr-tag {
  padding: .45rem 1rem; border-radius: 999px; background: var(--bg-primary);
  border: 1px solid var(--border-color); font-weight: 500; font-size: .95rem;
}

/* ---------- call to action ---------- */
.pr-cta {
  padding: 4rem 0; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}
.pr-cta h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: .6rem; }
.pr-cta p { opacity: .9; margin-bottom: 1.8rem; }
.pr-cta-buttons { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* nav item highlight on product pages */
.navbar-nav .nav-link.active { color: var(--primary-color); }

@media (max-width: 900px) {
  .pr-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .pr-hero-text > .pr-status { margin: 0 auto; }
  .pr-hero-summary { margin: 0 auto; }
  .pr-hero-cta { justify-content: center; }
  .pr-hero-art { order: -1; }
  .pr-logo-xl { width: 140px; height: 140px; border-radius: 32px; font-size: 3.5rem; }
  .pr-section { padding: 3.5rem 0; }
  .pr-hero { padding-top: 7rem; }
}
@media (max-width: 480px) {
  .pr-btn { width: 100%; }
  .pr-card { padding: 1.4rem; }
}

/* ---------- see it in action ---------- */
.pr-media { background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary)); }
.pr-video { max-width: 900px; margin: 0 auto 2.5rem; border-radius: var(--border-radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); background: #000; }
.pr-video video { display: block; width: 100%; max-height: 80vh; }
.pr-gallery {
  display: flex; gap: 1.5rem; overflow-x: auto; padding: .5rem .25rem 1.5rem;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.pr-shot { flex: none; width: 230px; margin: 0; scroll-snap-align: center; text-align: center; }
.pr-phone {
  border-radius: 28px; padding: 8px; background: #111827; box-shadow: var(--shadow-xl);
  border: 1px solid #374151;
}
.pr-phone img { display: block; width: 100%; border-radius: 21px; }
.pr-shot figcaption { margin-top: .8rem; font-weight: 600; font-size: .95rem; color: var(--text-primary); }
.pr-live { text-align: center; margin-top: 1rem; }
@media (min-width: 1100px) { .pr-gallery { justify-content: safe center; } }

/* ---------- SEO: H1 subtitle + FAQ ---------- */
.pr-h1-sub { display: block; font-size: clamp(1rem, 2.2vw, 1.25rem); font-weight: 600; opacity: .9; margin-top: .35rem; font-family: 'Inter', sans-serif; }
.pr-faq { max-width: 860px; }
.pr-faq-item {
  border: 1px solid var(--border-color); border-radius: var(--border-radius-lg); background: var(--bg-primary);
  margin-bottom: .8rem; padding: 0 1.25rem; transition: var(--transition);
}
.pr-faq-item[open] { box-shadow: var(--shadow-md); }
.pr-faq-item summary {
  cursor: pointer; list-style: none; padding: 1.1rem 0; font-weight: 600; font-family: 'Poppins', sans-serif;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.pr-faq-item summary::-webkit-details-marker { display: none; }
.pr-faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--primary-color); transition: var(--transition); }
.pr-faq-item[open] summary::after { transform: rotate(45deg); }
.pr-faq-item p { color: var(--text-secondary); padding-bottom: 1.1rem; margin: 0; }
.pr-shot-wide { width: min(620px, 86vw); }
.pr-shot-wide .pr-phone { border-radius: 14px; padding: 10px 10px 18px; }
.pr-shot-wide .pr-phone img { border-radius: 6px; }

.pr-demo-login { margin: .75rem auto 0; max-width: 640px; font-size: .92rem; color: #374151; line-height: 1.5; }
.pr-demo-login b { color: #111827; background: #fef3c7; padding: 0 .3em; border-radius: 4px; }
.pr-hero .pr-demo-login { margin: .9rem 0 0; color: rgba(255,255,255,.92); }
.pr-hero .pr-demo-login b { color: #111827; }
