/* =============================================
   CLOUD ENABLEMENT PAGE — STYLES
============================================= */

/* ================================================
   SECTION 1: HERO
================================================ */
.ce-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}
.ce-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  z-index: 0;
}
.ce-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;
}
.ce-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;
}
.ce-hero-text { display: flex; flex-direction: column; gap: 22px; }
.ce-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);
}
.ce-hero-text p {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  max-width: 420px;
}
.ce-hero-img { display: flex; justify-content: flex-end; }
.ce-hero-img img {
  width: 100%;
  max-width: 560px;
  height: 360px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}


/* ================================================
   SECTION 2 & 4: WHAT WE ENABLE + PLATFORMS (grid)
================================================ */
.ce-enable {
  padding: 90px 0 60px;
  background: var(--bg);
}
.ce-enable-head {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 50px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ce-enable-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 400;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--white);
}
.ce-enable-sub {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
}
.ce-subhead {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 10px;
}
.ce-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;
}

.ce-platforms {
  padding: 50px 0 90px;
  background: var(--bg);
}

.ce-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--teal);
  border-left: 1px solid var(--teal);
}
.ce-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);
}
.ce-cell:hover { background: rgba(74,185,183,0.04); }
.ce-cell--empty { pointer-events: none; }
.ce-cell--empty:hover { background: none; }
.ce-icon { display: block; }
.ce-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);
}
.ce-cell p {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}


/* ================================================
   SECTION 3: APPROACH (funnel + side labels)
================================================ */
.ce-approach {
  padding: 50px 0 90px;
  background: var(--bg);
}
.ce-approach-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}
.ce-approach-col {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.ce-approach-left { text-align: right; }
.ce-approach-right { text-align: left; }
.ce-step h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--teal);
  line-height: 1.25;
  margin-bottom: 8px;
}
.ce-step p {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
}
.ce-approach-diagram img {
  width: 100%;
  max-width: 320px;
  display: block;
}
.ce-approach-last {
  max-width: 420px;
  margin: 40px auto 0;
  text-align: center;
}


/* ================================================
   SECTION 5: Kinich Difference (img left + checklist)
================================================ */
.ce-difference {
  padding: 70px 0;
  background: var(--bg);
  border-top: 1px solid rgba(51,44,39,0.5);
}
.ce-difference-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.ce-difference-img img {
  width: 100%;
  max-width: 460px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}
.ce-difference-text { display: flex; flex-direction: column; gap: 22px; }
.ce-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);
}
.ce-checklist {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ce-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;
}
.ce-checklist svg { flex-shrink: 0; margin-top: 1px; }


/* ================================================
   SECTION 6: CTA
================================================ */
.ce-cta {
  padding: 80px 0 110px;
  background: var(--bg);
}
.ce-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.ce-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);
}
.ce-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) {
  .ce-hero-inner,
  .ce-difference-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .ce-hero-img { justify-content: center; }
  .ce-hero-img img { max-width: 100%; height: 280px; }
  .ce-difference-img img { max-width: 100%; }
  .ce-hero-overlay {
    background: linear-gradient(180deg, rgba(2,2,2,0.6) 0%, rgba(2,2,2,0.85) 100%);
  }
  .ce-grid { grid-template-columns: repeat(2, 1fr); }
  .ce-cell--empty { display: none; }
  .ce-approach-wrap { grid-template-columns: 1fr; gap: 32px; }
  .ce-approach-left,
  .ce-approach-right { text-align: left; }
  .ce-approach-diagram { order: -1; display: flex; justify-content: center; }
}

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