/* ===========================
   PRODUCT PAGES — MODERN LAYOUT
   =========================== */

/* ---- HERO ---- */
.pp-hero {
  padding: 110px 0 0;
  overflow: hidden;
  position: relative;
}
.pp-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 72px;
}
.pp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.pp-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  color: #0F172A;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.pp-hero-sub {
  font-size: 1.02rem;
  color: #64748B;
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 480px;
}
.pp-hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.pp-btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.pp-btn-accent:hover {
  background: var(--accent-mid, #059669);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(16,185,129,0.3);
}
.pp-hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  width: fit-content;
}
.pp-stat { text-align: center; padding: 0 18px; }
.pp-stat-num { display: block; font-size: 1.4rem; font-weight: 900; line-height: 1; }
.pp-stat-lbl { display: block; font-size: 0.7rem; color: #94A3B8; margin-top: 3px; font-weight: 500; }
.pp-stat-div { width: 1px; height: 36px; background: #E2E8F0; }

/* Hero image */
.pp-hero-img { position: relative; }
.pp-hero-photo {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(15,23,42,0.2);
}
.pp-hero-float {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  white-space: nowrap;
  border-left-width: 3px;
  border-left-style: solid;
  animation: float 3s ease-in-out infinite;
}
.pp-hero-float strong { display: block; font-size: 0.8rem; font-weight: 700; color: #0F172A; }
.pp-hero-float span { display: block; font-size: 0.68rem; color: #64748B; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---- SECTIONS ---- */
.pp-section { padding: 88px 0; }
.pp-section-header {
  text-align: center;
  margin-bottom: 64px;
}

/* ---- ALTERNATING FEATURE ROWS ---- */
.pp-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid #E2E8F0;
}
.pp-feature-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.pp-feature-row-rev {
  direction: rtl;
}
.pp-feature-row-rev > * {
  direction: ltr;
}
.pp-feature-img { position: relative; }
.pp-feat-photo {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(15,23,42,0.15);
}
.pp-feat-badge {
  position: absolute;
  bottom: -16px;
  right: 20px;
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.pp-feat-badge span { display: block; font-size: 1.4rem; font-weight: 900; line-height: 1; }
.pp-feat-badge small { display: block; font-size: 0.7rem; opacity: 0.85; margin-top: 3px; }

.pp-feat-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.pp-feat-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
  margin-bottom: 14px;
}
.pp-feat-desc {
  font-size: 0.95rem;
  color: #64748B;
  line-height: 1.75;
  margin-bottom: 24px;
}
.pp-feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pp-feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #334155;
  padding-left: 20px;
  position: relative;
}
.pp-feat-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot, #3B5BDB);
  flex-shrink: 0;
}

/* ---- STEPS ---- */
.pp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.pp-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
}
.pp-step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 0;
  position: relative;
  z-index: 2;
}
.pp-step-connector {
  height: 3px;
  width: calc(100% - 52px);
  position: absolute;
  top: 26px;
  left: calc(50% + 26px);
  z-index: 1;
}
.pp-step-icon {
  font-size: 2rem;
  margin: 20px 0 14px;
}
.pp-step h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
}
.pp-step p {
  font-size: 0.82rem;
  color: #64748B;
  line-height: 1.6;
}

/* ---- CARDS GRID ---- */
.pp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pp-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 28px;
  transition: all 0.3s;
}
.pp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(59,91,219,0.1);
  border-color: var(--accent, #3B5BDB);
}
.pp-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.pp-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
}
.pp-card p {
  font-size: 0.83rem;
  color: #64748B;
  line-height: 1.65;
}

/* ---- AUDIENCE CARDS ---- */
.pp-audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pp-audience-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s;
}
.pp-audience-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-4px);
}
.pp-audience-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.pp-audience-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.pp-audience-card p {
  font-size: 0.85rem;
  color: #94A3B8;
  line-height: 1.65;
  margin-bottom: 16px;
}
.pp-audience-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}

/* ---- CLINX MOCKUP SECTION ---- */
.pp-demo-section {
  padding: 88px 0;
  background: #0F172A;
}
.pp-demo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.pp-demo-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.pp-demo-text p {
  font-size: 0.95rem;
  color: #94A3B8;
  line-height: 1.75;
  margin-bottom: 28px;
}
.pp-demo-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pp-demo-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 14px 16px;
}
.pp-demo-point-icon { font-size: 1.4rem; flex-shrink: 0; }
.pp-demo-point strong { display: block; font-size: 0.88rem; font-weight: 700; color: #fff; margin-bottom: 3px; }
.pp-demo-point span { font-size: 0.78rem; color: #64748B; }

/* ---- MEDSENSE PIPELINE ---- */
.pp-pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative;
}
.pp-pipeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(to right, #8B5CF6, #4C6EF5);
  z-index: 0;
}
.pp-pipe-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.pp-pipe-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #8B5CF6, #4C6EF5);
  box-shadow: 0 8px 24px rgba(139,92,246,0.3);
}
.pp-pipe-step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
}
.pp-pipe-step p {
  font-size: 0.8rem;
  color: #64748B;
  line-height: 1.55;
  margin-bottom: 12px;
}
.pp-pipe-tags {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.pp-pipe-tag {
  background: #EDE9FE;
  color: #5B21B6;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}

/* ---- STATS BANNER ---- */
.pp-stats-banner {
  padding: 56px 0;
}
.pp-stats-banner-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}
.pp-banner-stat { text-align: center; }
.pp-banner-num { display: block; font-size: 2.4rem; font-weight: 900; line-height: 1; margin-bottom: 6px; }
.pp-banner-lbl { display: block; font-size: 0.8rem; opacity: 0.6; }
