/* ============================================================
   platform-digital-prestarts.css
   Dedicated styles for the Platform / Pre-Starts page
   ============================================================ */

.pdp-page {
  background: #ffffff;
}

/* ── HERO ─────────────────────────────────────────────────── */
.pdp-hero {
  padding: 80px 0 72px;
  background: #f0f4f8;
}

.pdp-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.pdp-hero-copy {
  /* text column */
}

.pdp-kicker {
  display: block;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  color: #5bb1d8;
  margin: 0 0 14px;
}

.pdp-hero h1 {
  margin: 0 0 18px;
  font-size: 44px;
  line-height: 1.1;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.pdp-hero p {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.75;
  color: #475569;
  max-width: 500px;
}

/* ── HERO DUAL PHONES ─────────────────────────────────────── */
/* Simple side-by-side flex — no overflow, no absolute positioning */
.pdp-hero-phones {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
}

.pdp-hero-phone {
  flex-shrink: 0;
}

.pdp-hero-phone img {
  display: block;
  height: 380px;       /* fixed height — controls size regardless of image ratio */
  width: auto;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  object-fit: cover;
  object-position: top; /* show top of the screen, not the middle */
}

/* Back phone: slightly smaller + subtle tilt */
.pdp-hero-phone--back img {
  height: 330px;
  transform: rotate(-3deg);
  opacity: 0.88;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* Front phone: full size, no tilt */
.pdp-hero-phone--front img {
  height: 380px;
}


/* ── SECTIONS ─────────────────────────────────────────────── */
.pdp-section {
  padding: 88px 0;
}

.pdp-section--alt {
  background: #f8f9fb;
}

.pdp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Reverse: image left, copy right */
.pdp-split--reverse .pdp-media {
  order: -1;
}

/* Section copy */
.pdp-section .pdp-kicker {
  margin-bottom: 10px;
}

.pdp-section h3 {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.pdp-section p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.75;
  color: #475569;
}

/* Checklist */
.pdp-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pdp-list li {
  padding-left: 24px;
  position: relative;
  font-size: 15px;
  line-height: 1.5;
  color: #374151;
}

.pdp-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #5bb1d8;
  font-weight: 700;
  font-size: 13px;
  top: 1px;
}

/* ── MEDIA CONTAINERS ─────────────────────────────────────── */
.pdp-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Single stock photo */
.pdp-media--photo {
  /* photo fills the column naturally */
}

.pdp-photo-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 14px;
  display: block;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.10);
}

/* ── DUAL PHONE LAYOUT (sections) ────────────────────────── */
/* Same flex approach as hero — no overflow, no absolute */
.pdp-dual-phones {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
}

.pdp-phone {
  flex-shrink: 0;
}

.pdp-phone-img {
  display: block;
  height: 360px;
  width: auto;
  border-radius: 24px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.16);
  object-fit: cover;
  object-position: top;
}

/* Back phone: shorter + slight tilt */
.pdp-phone--back .pdp-phone-img {
  height: 310px;
  transform: rotate(-4deg);
  opacity: 0.88;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.11);
}

/* Front phone: full height, upright */
.pdp-phone--front .pdp-phone-img {
  height: 360px;
}



/* ── LANDSCAPE IMAGE SUPPORT ─────────────────────────────── */
.pdp-hero-phone-img--landscape {
  width: 252px;
  height: 170px;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
}

.pdp-hero-phone--back .pdp-hero-phone-img--landscape {
  width: 224px;
  height: 150px;
  transform: rotate(-3deg) translateY(8px);
  opacity: 0.9;
}

.pdp-hero-phone--front .pdp-hero-phone-img--landscape {
  width: 252px;
  height: 170px;
}

.pdp-phone-img--landscape {
  width: 238px;
  height: 160px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
}

.pdp-phone--back .pdp-phone-img--landscape {
  width: 212px;
  height: 144px;
  transform: rotate(-4deg) translateY(6px);
  opacity: 0.9;
}

.pdp-phone--front .pdp-phone-img--landscape {
  width: 238px;
  height: 160px;
}

/* ── CTA ──────────────────────────────────────────────────── */
.pdp-cta {
  padding: 100px 0;
  background: #0b1120;
}

.pdp-cta-card {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.pdp-cta-card h3 {
  margin: 0 0 14px;
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.pdp-cta-card p {
  margin: 0 0 32px;
  font-size: 17px;
  color: #94a3b8;
  line-height: 1.65;
}

/* ── DARK MODE POLISH ─────────────────────────────────────── */
body.dark-mode .pdp-page {
  background: #0a1220;
}

body.dark-mode .pdp-hero {
  background: #101b2f;
}

body.dark-mode .pdp-hero h1,
body.dark-mode .pdp-hero h2,
body.dark-mode .pdp-section h3 {
  color: #f8fafc;
}

body.dark-mode .pdp-hero p,
body.dark-mode .pdp-section p {
  color: #cbd5e1;
}

body.dark-mode .pdp-section--alt {
  background: #0f1b2e;
}

body.dark-mode .pdp-list li {
  color: #d7e2ef;
}

body.dark-mode .pdp-photo-img {
  box-shadow: 0 18px 48px rgba(2, 6, 23, 0.42);
}

body.dark-mode .pdp-hero-phone img,
body.dark-mode .pdp-phone-img {
  box-shadow: 0 26px 56px rgba(2, 6, 23, 0.42);
}

body.dark-mode .pdp-cta {
  background: #070d18;
}

body.dark-mode .pdp-cta-card p {
  color: #a1b0c4;
}


/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 860px) {
  .pdp-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pdp-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .pdp-split--reverse .pdp-media {
    order: 0;
  }

  .pdp-hero h1 {
    font-size: 34px;
  }

  .pdp-hero-phone img,
  .pdp-hero-phone--front img {
    height: 300px;
  }
  .pdp-hero-phone--back img {
    height: 260px;
  }

  .pdp-hero-phone-img--landscape,
  .pdp-hero-phone--front .pdp-hero-phone-img--landscape {
    width: 210px;
    height: 142px;
  }
  .pdp-hero-phone--back .pdp-hero-phone-img--landscape {
    width: 188px;
    height: 130px;
  }

  .pdp-phone-img,
  .pdp-phone--front .pdp-phone-img {
    height: 280px;
  }
  .pdp-phone--back .pdp-phone-img {
    height: 240px;
  }

  .pdp-phone-img--landscape,
  .pdp-phone--front .pdp-phone-img--landscape {
    width: 202px;
    height: 136px;
  }
  .pdp-phone--back .pdp-phone-img--landscape {
    width: 182px;
    height: 124px;
  }

  .pdp-section {
    padding: 60px 0;
  }

  .pdp-cta-card h3 {
    font-size: 28px;
  }
}

@media (max-width: 600px) {
  .pdp-hero {
    padding: 56px 0 48px;
  }

  .pdp-hero h1 {
    font-size: 28px;
  }

  .pdp-hero p,
  .pdp-section p {
    font-size: 15px;
  }

  .pdp-hero-phone img,
  .pdp-hero-phone--front img {
    height: 240px;
  }
  .pdp-hero-phone--back img {
    height: 208px;
  }

  .pdp-hero-phone-img--landscape,
  .pdp-hero-phone--front .pdp-hero-phone-img--landscape {
    width: 174px;
    height: 118px;
  }
  .pdp-hero-phone--back .pdp-hero-phone-img--landscape {
    width: 158px;
    height: 108px;
  }

  .pdp-section h3 {
    font-size: 22px;
  }

  .pdp-phone-img,
  .pdp-phone--front .pdp-phone-img {
    height: 230px;
  }
  .pdp-phone--back .pdp-phone-img {
    height: 200px;
  }

  .pdp-phone-img--landscape,
  .pdp-phone--front .pdp-phone-img--landscape {
    width: 168px;
    height: 114px;
  }
  .pdp-phone--back .pdp-phone-img--landscape {
    width: 150px;
    height: 104px;
  }

  .pdp-cta {
    padding: 64px 0;
  }

  .pdp-cta-card h3 {
    font-size: 24px;
  }
}
