/* ================================================
   PLATFORM PAGE — Hero Section CSS
   ================================================ */

.page-hero-section {
  background: #0a1628;
  padding-top: 128px;
  padding-bottom: 96px;
  color: #ffffff;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, rgba(46, 139, 87, 0.85) 100%);
  z-index: 0;
  pointer-events: none;
}

.page-hero__container {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) {
  .page-hero__container {
    padding: 0 24px;
  }
}
@media (min-width: 1024px) {
  .page-hero__container {
    padding: 0 32px;
  }
}

.page-hero__content h1 {
  font-size: clamp(2.2rem, 6vw, 3.75rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.1;
}

.page-hero__content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 768px;
  margin: 0 auto;
  line-height: 1.75;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadein {
  animation: pageFadeIn 0.6s ease both;
}

/* ================================================
   PLATFORM PAGE — Feature Sections CSS
   ================================================ */

.sec-platform-features {
  padding: 96px 0;
  background: #f7f9fb;
}

.pf-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 96px;
}
@media (min-width: 640px) {
  .pf-container {
    padding: 0 24px;
  }
}
@media (min-width: 1024px) {
  .pf-container {
    padding: 0 32px;
  }
}

.pf-row {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .pf-row {
    flex-direction: row;
    gap: 48px;
  }
  .pf-row--reverse {
    flex-direction: row-reverse;
  }
}

.pf-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pf-icon {
  width: 80px;
  height: 80px;
  background: rgba(45, 160, 109, 0.1);
  color: #2da06d;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}

.pf-text h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: #0a1628;
  line-height: 1.2;
  margin: 0;
}

.pf-text p {
  font-size: 1.05rem;
  color: #6b7280;
  line-height: 1.8;
  margin: 0;
}

.pf-image {
  flex: 1;
  width: 100%;
}

.pf-image__wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.12);
  border: 1px solid #e5e9ef;
}

.pf-image__wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.pf-image__wrap:hover img {
  transform: scale(1.03);
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   ARCHITECTURE INFOGRAPHIC SECTION CSS
   ================================================ */

.sec-infographic {
  padding: 96px 0;
  background: rgba(45, 160, 109, 0.06);
  border-top: 1px solid #e5e9ef;
  border-bottom: 1px solid #e5e9ef;
  overflow: hidden;
}

.sec-infographic .sec-header {
  text-align: center;
  margin-bottom: 64px;
}

.sec-infographic .sec-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--riab-heading);
  line-height: 1.2;
  margin: 0;
}

.sec-infographic .sec-header h2 span {
  color: #2da06d;
}

.infographic-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.infographic-diagram {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 63.6%;
  height: 0;
}

.infographic-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.tb {
  position: absolute;
  width: 14.1%;
  pointer-events: none;
}

.tb__num {
  font-size: clamp(20px, 3.6vw, 40px);
  font-weight: 900;
  color: #2da06d;
  line-height: 1;
  margin-bottom: 2px;
}
.tb__name {
  font-size: clamp(10px, 1.4vw, 15px);
  font-weight: 800;
  color: #0a1628;
  margin-bottom: 4px;
  line-height: 1.2;
}
.tb__desc {
  font-size: clamp(8px, 1vw, 11px);
  color: #6b7280;
  font-weight: 400;
  line-height: 1.6;
}

.tb--01 {
  left: 3.3%;
  top: 74%;
}
.tb--02 {
  left: 19.8%;
  top: 2.6%;
}
.tb--03 {
  left: 36%;
  top: 74%;
}
.tb--04 {
  left: 52.5%;
  top: 2.6%;
}
.tb--05 {
  left: 68.7%;
  top: 74%;
}
.tb--06 {
  left: 85.3%;
  top: 2.6%;
}

@media (max-width: 640px) {
  .infographic-diagram {
    padding-bottom: 0;
    height: auto;
  }

  .infographic-svg {
    position: static;
    width: 100%;
    height: auto;
    display: block;
  }

  .tb {
    display: block;
  }

  .tb__desc {
    font-size: clamp(4px, 2vw, 6px);
    font-weight: 700;
  }
}

/* ================================================
   SIMPLE CTA SECTION CSS
   ================================================ */

.sec-simple-cta {
  padding: 80px 0;
  background: #f7f9fb;
  border-top: 1px solid #e5e9ef;
  text-align: center;
}

.simple-cta-container {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 16px;
}

.simple-cta-container h2 {
  font-size: clamp(1.6rem, 4vw, 1.9rem);
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 32px;
}

.simple-cta-btn {
  display: inline-block;
  background: #2da06d;
  color: #ffffff;
  padding: 16px 40px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(45, 160, 109, 0.25);
  transition: all 0.2s ease;
}

.simple-cta-btn:hover {
  background: rgba(45, 160, 109, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(45, 160, 109, 0.35);
  color: #ffffff;
  text-decoration: none;
}
