/* Platform page — matched to the platform design. Header and footer follow the homepage. */

.platform {
  --pf-gold: #C6A035;
  --pf-gold-text: #C9972A;
  --pf-ink: #16181d;
  --pf-muted: #5c6570;
  background: #ffffff;
  color: var(--pf-ink);
}

.platform .site-header {
  background: #ffffff;
  border-bottom: 1px solid #eceff3;
  box-shadow: none;
}

.platform .site-header.scrolled {
  box-shadow: none;
}

.platform .header-inner {
  height: 92px;
}

.platform .brand-logo {
  height: 76px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
}

.platform .brand-logo-drawer {
  height: 58px;
  max-width: 180px;
}

.platform .brand-logo-footer {
  height: 108px;
  max-width: 220px;
  background: #ffffff;
  border-radius: 10px;
  padding: 0.35rem 0.5rem;
}

.platform .nav-desktop {
  gap: 1.65rem;
}

.platform .nav-link,
.platform .login-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: #2a3038;
}

.platform .nav-link:hover,
.platform .login-link:hover,
.platform .nav-link:hover svg,
.platform .nav-link.active {
  color: #2a3038;
}

.platform .nav-link.active {
  color: #C6A035;
}

.platform .header-demo {
  padding: 0.55rem 1.05rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: none;
}

.platform .btn-primary {
  background: #C6A035;
  color: #ffffff;
  border-radius: 8px;
  box-shadow: none;
  font-weight: 600;
}

.platform .btn-primary:hover,
.platform .btn-primary:active,
.platform .btn:hover,
.platform .btn:hover svg,
.platform .pf-play:hover,
.platform .footer-links a:hover,
.platform .footer-legal-links a:hover,
.platform .footer-social a:hover,
.platform .newsletter-submit:hover {
  transform: none;
  filter: none;
  box-shadow: none;
}

.platform .btn-primary:hover,
.platform .btn-primary:active {
  background: #C6A035;
  color: #ffffff;
}

.platform .site-footer {
  background: #0d0f14;
  padding-top: 3.25rem;
  border-top: none;
}

.platform .footer-brand {
  gap: 0.9rem;
}

.platform .footer-top {
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.platform .footer-links a {
  color: #a3a8b0;
}

.platform .footer-links a:hover,
.platform .footer-legal-links a:hover {
  color: #a3a8b0;
}

.platform .footer-bottom {
  color: #8b919a;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.footer-social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pf-gold { color: var(--pf-gold-text); }

.pf-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--pf-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.pf-kicker::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--pf-gold);
  flex-shrink: 0;
}

.pf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #C6A035;
  color: #ffffff;
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  border: 1.5px solid #C6A035;
}

.pf-btn:hover {
  background: #C6A035;
  color: #ffffff;
}

.pf-btn-ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.72);
}

.pf-btn-ghost:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.pf-play {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.98rem;
}

.pf-play-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pf-play:hover { color: #ffffff; }

/* Hero */
.pf-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: #07080b;
  overflow: hidden;
}

.pf-hero-bg,
.pf-bleed-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.pf-hero-bg { transform: scaleX(-1); object-position: center 45%; }

.pf-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.28) 36%, rgba(0, 0, 0, 0.05) 58%);
}

.pf-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 4.5rem 0;
}

.pf-hero h1 {
  color: #ffffff;
  font-size: clamp(2.35rem, 3.4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1.15rem;
}

.pf-hero h1 span {
  display: block;
  white-space: nowrap;
}

.pf-hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 440px;
  margin: 0 0 1.75rem;
}

.pf-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
}

/* Ecosystem */
.pf-eco {
  background: #ffffff;
  padding: 4.75rem 0 4.25rem;
  text-align: center;
}

.pf-eco-head {
  max-width: 760px;
  margin: 0 auto 3rem;
}

.pf-eco .pf-kicker { justify-content: center; }

.pf-eco .pf-kicker::before,
.pf-eco .pf-kicker::after {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--pf-gold);
}

.pf-eco h2,
.pf-split h2,
.pf-bleed h2,
.pf-cta h2 {
  font-size: clamp(2rem, 3vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--pf-ink);
  margin: 0 0 1rem;
}

.pf-eco h2 span { display: block; }
.pf-eco h2 span:first-child { white-space: nowrap; }

.pf-eco-head p {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
}

.pf-eco-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.pf-eco-item {
  position: relative;
  padding: 0 0.75rem;
  text-align: center;
}

.pf-eco-item + .pf-eco-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 1px;
  height: 78px;
  background: #e7e9ee;
}

.pf-icon-ring {
  width: 78px;
  height: 78px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  border: 1.5px solid #d4b15a;
  color: #C6A035;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.pf-eco-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 auto;
  max-width: 130px;
}

/* Split overview */
.pf-split {
  background: #ffffff;
  padding: 1.5rem 0 4.5rem;
}

.pf-split-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.pf-split-photo {
  border-radius: 6px;
  overflow: hidden;
  min-height: 420px;
  background: #111;
}

.pf-split-photo img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: 78% 42%;
  display: block;
}

.pf-split h2 { margin-bottom: 1rem; }

.pf-split p,
.pf-bleed p,
.pf-cta p {
  color: #4b5563;
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0 0 1.6rem;
  max-width: 520px;
}

/* Full-bleed scenes */
.pf-bleed {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #07080b;
}

.pf-bleed-knights .pf-bleed-bg { object-position: 72% center; }

.pf-bleed-map {
  background: #f7f4ee;
  min-height: 480px;
}

.pf-bleed-map .pf-bleed-bg { object-position: 78% center; }

.pf-bleed-map .pf-bleed-shade {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.78) 34%, rgba(255, 255, 255, 0) 58%);
}

.pf-bleed-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.22) 42%, rgba(0, 0, 0, 0) 68%);
}

.pf-bleed-copy,
.pf-cta-copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 4rem 0;
}

.pf-bleed h2 .pf-line {
  display: block;
  white-space: nowrap;
}

.pf-bleed h2,
.pf-cta h2 { color: #ffffff; }

.pf-bleed p,
.pf-cta p { color: rgba(255, 255, 255, 0.82); }

.pf-bleed-map h2 { color: var(--pf-ink); }
.pf-bleed-map p { color: #3f4650; }

/* Pillars */
.pf-pillars {
  background: #0e1016;
  padding: 3.4rem 0;
}

.pf-pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pf-pillar {
  position: relative;
  text-align: center;
  padding: 0.4rem 1.5rem;
  color: #ffffff;
}

.pf-pillar + .pf-pillar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8%;
  height: 84%;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.pf-pillar-icon {
  color: #C6A035;
  margin-bottom: 0.85rem;
  display: flex;
  justify-content: center;
}

.pf-pillar h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.pf-pillar p {
  color: #b7bdc7;
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 0 auto;
  max-width: 220px;
}

/* Closing banner */
.pf-cta {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #07080b;
}

.pf-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scaleX(-1);
}

.pf-cta-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.28) 42%, rgba(0, 0, 0, 0) 68%);
}

.pf-cta .container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
}

.pf-cta-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

@media (max-width: 1080px) {
  .platform .brand-logo {
    height: 62px;
    max-width: 150px;
  }

  .pf-split-grid,
  .pf-eco-grid,
  .pf-pillar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pf-eco-item + .pf-eco-item::before,
  .pf-pillar + .pf-pillar::before {
    display: none;
  }

  .pf-eco-item { margin-bottom: 1.75rem; }
}

@media (max-width: 768px) {
  .platform .header-demo { display: none; }

  .pf-hero { min-height: 560px; }
  .pf-hero h1 { font-size: 2.25rem; }
  .pf-hero h1 span,
  .pf-bleed h2 .pf-line,
  .pf-eco h2 span:first-child { white-space: normal; }

  .pf-split-grid,
  .pf-eco-grid,
  .pf-pillar-grid {
    grid-template-columns: 1fr;
  }

  .pf-split-photo img { height: 280px; }

  .pf-cta .container { justify-content: flex-start; }

  .pf-cta-shade,
  .pf-bleed-shade,
  .pf-hero-shade {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35));
  }

  .pf-bleed-map .pf-bleed-shade {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
  }
}
