/* =============================================
   PERFORMANCE TESTING PAGE — STYLES
============================================= */

/* ================================================
   SECTION 1: HERO
================================================ */
.pt-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}
.pt-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  z-index: 0;
}
.pt-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(2,2,2,0.95) 0%,
    rgba(2,2,2,0.78) 45%,
    rgba(2,2,2,0.25) 100%);
  z-index: 1;
}
.pt-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 50px;
}
.pt-hero-text { display: flex; flex-direction: column; gap: 22px; }
.pt-hero-text h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1.02;
  color: var(--white);
}
.pt-hero-text p {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  max-width: 420px;
}
.pt-hero-img { display: flex; justify-content: flex-end; }
.pt-hero-img img {
  width: 100%;
  max-width: 560px;
  height: 360px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}


/* ================================================
   SECTION 2: SIMULATE THE REAL-WORLD (centered)
================================================ */
.pt-intro {
  padding: 80px 0 40px;
  background: var(--bg);
}
.pt-intro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.pt-intro h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 400;
  letter-spacing: -1.5px;
  color: var(--white);
}
.pt-intro p {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
}
.pt-intro-em {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--white) !important;
  margin-top: 6px;
}


/* ================================================
   SECTION 3 & 5: WHAT WE TEST + TYPES (table grid)
================================================ */
.pt-test {
  padding: 50px 0 60px;
  background: var(--bg);
}
.pt-types {
  padding: 50px 0 90px;
  background: var(--bg);
}
.pt-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
  color: var(--white);
  margin-bottom: 44px;
}

.pt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--teal);
  border-left: 1px solid var(--teal);
}
.pt-cell {
  padding: 40px 36px;
  border-right: 1px solid var(--teal);
  border-bottom: 1px solid var(--teal);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background var(--ease);
}
.pt-cell:hover { background: rgba(74,185,183,0.04); }
.pt-icon { display: block; }
.pt-cell h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.3px;
  line-height: 1.2;
  color: var(--white);
}
.pt-cell p {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}


/* ================================================
   SECTION 4: APPROACH (loop diagram + steps)
================================================ */
.pt-approach {
  padding: 50px 0 90px;
  background: var(--bg);
}
.pt-approach-diagram {
  display: flex;
  justify-content: center;
  margin: 24px 0;
}
.pt-approach-diagram img {
  width: 100%;
  max-width: 900px;
  display: block;
}
.pt-approach-row {
  display: grid;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.pt-approach-top { grid-template-columns: repeat(3, 1fr); padding: 0 10%; }
.pt-approach-bottom { grid-template-columns: repeat(4, 1fr); }
.pt-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}
.pt-step h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--teal);
  line-height: 1.25;
}
.pt-step p {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: var(--text);
  line-height: 1.55;
}


/* ================================================
   SECTION 6: TOOLS WE MASTER (2-col table)
================================================ */
.pt-tools {
  padding: 50px 0 90px;
  background: var(--bg);
}
.pt-tools-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 40px;
}
.pt-table {
  display: flex;
  flex-direction: column;
}
.pt-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(51,44,39,0.7);
  align-items: baseline;
}
.pt-row-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}
.pt-row-value {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
}


/* ================================================
   SECTION 7: Kinich Difference (img left + checklist)
================================================ */
.pt-difference {
  padding: 70px 0;
  background: var(--bg);
  border-top: 1px solid rgba(51,44,39,0.5);
}
.pt-difference-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.pt-difference-img img {
  width: 100%;
  max-width: 460px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}
.pt-difference-text { display: flex; flex-direction: column; gap: 22px; }
.pt-difference-text h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 400;
  letter-spacing: -1px;
  color: var(--white);
}
.pt-checklist {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pt-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.5;
}
.pt-checklist svg { flex-shrink: 0; margin-top: 1px; }


/* ================================================
   SECTION 8: CTA
================================================ */
.pt-cta {
  padding: 80px 0 110px;
  background: var(--bg);
}
.pt-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}
.pt-cta h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--white);
}
.pt-cta p {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  color: var(--text);
  max-width: 840px;
  line-height: 1.6;
}


/* ================================================
   RESPONSIVE
================================================ */
@media (max-width: 1024px) {
  .pt-hero-inner,
  .pt-difference-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .pt-hero-img { justify-content: center; }
  .pt-hero-img img { max-width: 100%; height: 280px; }
  .pt-difference-img img { max-width: 100%; }
  .pt-hero-overlay {
    background: linear-gradient(180deg, rgba(2,2,2,0.6) 0%, rgba(2,2,2,0.85) 100%);
  }
  .pt-grid { grid-template-columns: repeat(2, 1fr); }
  .pt-approach-top { grid-template-columns: repeat(3, 1fr); padding: 0; }
  .pt-approach-bottom { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .pt-hero { padding-top: 64px; }
  .pt-hero-inner { padding-top: 36px; padding-bottom: 36px; }
  .pt-hero-text h1 { font-size: 40px; }
  .pt-intro { padding: 56px 0 32px; }
  .pt-test { padding: 32px 0 40px; }
  .pt-grid { grid-template-columns: 1fr; border-left: none; }
  .pt-cell { padding: 30px 4px; border-right: none; }
  .pt-approach { padding: 32px 0 64px; }
  .pt-approach-top,
  .pt-approach-bottom { grid-template-columns: 1fr; }
  .pt-types { padding: 32px 0 64px; }
  .pt-tools { padding: 32px 0 64px; }
  .pt-row { grid-template-columns: 1fr; gap: 6px; }
  .pt-difference { padding: 48px 0; }
  .pt-difference-inner { gap: 28px; }
  .pt-cta { padding: 56px 0 72px; }
}
