/* =========================================================
   ALL HOMEPAGE SECTIONS ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â based on Figma Home frame
   ========================================================= */

/* =========================================================
   SECTION: ONE PLATFORM ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â bg=#F1DFDB (light)
   "One platform. Every workforce challenge"
   Prata 60px #121225
   ========================================================= */
.section-platform {
  background: var(--bg-light);
  padding-top: 100px;
  padding-bottom: 100px;
  overflow: hidden;
  /* clip slider bleed */
}

.section-platform__inner::before {
  content: '';
  background-image: url('https://gloatcomstg.wpenginepowered.com/wp-content/uploads/Group-264.svg');
  width: 30px;
  height: 30px;
  position: absolute;
  top: -40px;
  left: 30px;
}

.section-works__inner::before {
  content: '';
  background-image: url('https://gloatcomstg.wpenginepowered.com/wp-content/uploads/Group-264.svg');
  width: 30px;
  height: 30px;
  position: absolute;
  top: -40px;
  left: -30px;
}

.section-platform__inner {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 79px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  position: relative;
}

.section-platform__text {
  display: flex;
  flex-direction: column;
}

.section-platform__label {
  margin-bottom: 20px;
}

/* H2: Prata 60px w400 lh=72px #121225 */
.section-platform__heading {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 400;
  line-height: 72px;
  color: var(--text-dark);
  max-width: 559px;
  margin: 0;
}

/* ---- Slider: left edge aligns with container, bleeds right ---- */
.platform-slider {
  padding-left: max(79px, calc((100vw - var(--container-w)) / 2 + 79px));
  padding-right: 0;
  overflow: hidden;
  margin-top: 62px;
  margin-bottom: 40px;
  cursor: grab;
  user-select: none;
}

.platform-slider:active {
  cursor: grabbing;
}

/* Track ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â flex row, JS drives translateX */
.platform-slider__track {
  display: flex;
  gap: 0px;
  transition: transform 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* ---- Card: 320px wide, border, flex column ---- */
.platform-card {
  flex-shrink: 0;
  width: 320px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(18, 18, 37, 0.15);
  background: var(--bg-light);
  transition: border-color var(--t-fast);
}

.platform-card:hover {
  border-color: rgba(18, 18, 37, 0.35);
}

/* Image area: 320x170 bg=#E5D3CF */
.platform-card__image {
  width: 100%;
  height: 170px;
  background: var(--bg-card);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(18, 18, 37, 0.1);
}

.platform-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.platform-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-card__placeholder span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(18, 18, 37, 0.3);
}

/* Card body */
.platform-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

/* Title: Roboto Mono 15px w700 lh=22px #121225 */
.platform-card__title {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  line-height: 22px;
  color: var(--text-dark);
}

/* Text: Roboto Mono 12px w400 lh=18px #121225 */
.platform-card__text {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  color: rgba(18, 18, 37, 0.65);
  flex: 1;
}

/* Learn more ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â plain text link at bottom of card */
.platform-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.05em;
  color: #FF4848;
  text-decoration: none;
  margin-top: auto;
  padding-top: 12px;
  transition: color var(--t-fast);
  border: 1px solid #FF4848;
  background: rgba(255, 72, 72, 0.15);
  max-width: max-content;
  padding: 8px 20px;
  margin-top: 50px;
}

.platform-card__link:hover {
  color: var(--text-dark);
}

/* CTA button ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â right side, aligned to bottom of heading */
.section-platform__cta-btn {
  flex-shrink: 0;
  align-self: flex-end;
}

/* =========================================================
   SECTION: WORKS WHERE ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â bg=#F1DFDB (light)
   "Works where your people work"
   Prata 60px #121225
   ========================================================= */
.section-works {
  background: var(--bg-light);
  padding: 100px 79px;
  border-top: 1px solid rgba(18, 18, 37, 0.1);
}

.section-works__inner {
  max-width: var(--container-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
}

.section-works__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Eyebrow: small red square + uppercase label */
.section-works__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}

.section-works__eyebrow-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent);
  flex-shrink: 0;
}

/* H2: Prata 60px w400 lh=72px #121225 */
.section-works__heading {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 400;
  line-height: 72px;
  color: var(--text-dark);
}

/* Sub: Roboto Mono 15px w400 lh=24px #121225 */
.section-works__sub {
  color: #121225;
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: "Roboto Mono";
  font-size: 19px;
  font-style: normal;
  font-weight: 300;
  line-height: 150%;
  /* 28.5px */
}

/* Detail items: red square + bold label + regular desc */
.section-works__details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.section-works__detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  line-height: 22px;
  color: var(--text-dark);
  margin: 0;
}

.section-works__detail-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 8px;
}

.section-works__detail strong {
  font-weight: 700;
}

/* Image 2: 621x547 */
.section-works__visual {
  position: relative;
}

.section-works__image {
  width: 100%;
  max-width: 621px;
  aspect-ratio: 621/547;
  margin-left: auto;
}

/* SURFACES / SYSTEMS OF RECORD labels: Roboto Mono 13px w700 #121225 */
.surface-label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =========================================================
   SECTION: AGENTIC ERA ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â dark bg
   "Built for the agentic era" Prata 60px #F1DFDB
   6-cell grid (3ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â2), each cell with subtle overlay
   ========================================================= */
/* =========================================================
   DARK WRAP Ã¢â‚¬â€ shared background for Agentic + Quote + Engine
   ========================================================= */
.dark-wrap {
  background-color: var(--bg);
  background-image: url('https://gloatcomstg.wpenginepowered.com/wp-content/uploads/Rectangle-323-scaled-1.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.section-agentic {
  padding-top: 100px;
}

.section-agentic__inner {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 79px;
}

/* Eyebrow: "Ã¢â€“Â  WHY GLOAT" */
.section-agentic__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.section-agentic__eyebrow-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent);
  flex-shrink: 0;
}

/* H2: Prata 60px w400 lh=72px #F1DFDB */
.section-agentic__heading {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 400;
  line-height: 72px;
  color: var(--text);
  max-width: 1014px;
  margin-bottom: 20px;
}

/* Sub: Roboto Mono 19px w300 lh=28px #F1DFDB */
.section-agentic__sub {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 300;
  line-height: 28px;
  color: var(--text);
  max-width: 1042px;
  margin-bottom: 0;
}

/* 6-cell grid: 3 cols ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â 2 rows
   Each cell: ~406x215px with rgba(241,223,219,0.15) gradient overlay
   Dividing lines: horizontal and vertical */
.agentic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(241, 223, 219, 0.15);
  border-left: 1px solid rgba(241, 223, 219, 0.15);
  max-width: var(--container-w);
  margin-inline: auto;
  margin-top: 60px;
}

.agentic-cell {
  padding: 28px 32px 36px;
  border-right: 1px solid rgba(241, 223, 219, 0.15);
  border-bottom: 1px solid rgba(241, 223, 219, 0.15);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 215px;
  background: rgba(241, 223, 219, 0.04);
  transition: background var(--t-base);
}

.agentic-cell:hover {
  background: rgba(241, 223, 219, 0.08);
}

/* Number: Roboto Mono 13px w500 lh=18px #FF4848 */
.agentic-cell__num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  color: var(--accent);
}

/* Title: Roboto Mono 20px w700 lh=28px #F1DFDB */
.agentic-cell__title {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: var(--text);
  margin: 0;
}

/* Desc: Roboto Mono 15px w300 lh=24px #F1DFDB */
.agentic-cell__desc {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 300;
  line-height: 24px;
  color: var(--text);
  opacity: 0.85;
  margin: 0;
}

/* =========================================================
   SECTION: BIG QUOTE ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â dark
   "Systems of record tell you what is..."
   Roboto Mono 55px w400 lh=66px #F1DFDB
   ========================================================= */
.section-quote {
  padding: 107px 79px;
}

.section-quote__inner {
  max-width: var(--container-w);
  margin-inline: auto;
}

/* Big text: Prata 55px w400 lh=66px #F1DFDB */
.section-quote__text {
  font-family: var(--font-display);
  font-size: 55px;
  font-weight: 400;
  line-height: 66px;
  color: var(--text);
  margin-bottom: 48px;
}

/* Highlighted portion Ã¢â‚¬â€ red + underline */
.section-quote__highlight {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* CTA button */
.section-quote__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  font-feature-settings: 'liga' off, 'clig' off;
  color: #F1DFDB;
  background: #FF4848;
  padding: 15px 30px;
  text-decoration: none;
  transition: background var(--t-base), color var(--t-base);
  border: 1px solid #FF4848;
}

.section-quote__btn:hover {
  background: var(--accent);
  color: #fff;
}

/* =========================================================
   SECTION: CONTEXT ENGINE ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â dark
   "Powered by the Workforce Context Engine" Prata 60px
   ========================================================= */
.section-engine {
  padding: 50px 79px;
}

.section-engine__inner {
  max-width: var(--container-w);
  margin-inline: auto;
  border: 1px solid #F1DFDB;
  background: #121225;
  padding: 80px 40px 40px 40px;
}

/* Label: Roboto Mono 16px w400 #FF4848 */
.section-engine__label {
  margin-bottom: 20px;
}

/* H2: Prata 60px w400 lh=72px #F1DFDB */
.section-engine__heading {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 400;
  line-height: 72px;
  color: var(--text);
  max-width: 955px;
  margin-bottom: 20px;
}

/* Sub: Roboto Mono 19px w300 lh=28px #F1DFDB */
.section-engine__sub {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 300;
  line-height: 28px;
  color: var(--text);
  max-width: 1014px;
  margin-bottom: 60px;
}

/* Image 3: 1140x458 */
.section-engine__image {
  width: 100%;
  max-width: 1140px;
  aspect-ratio: 1140/458;
  margin-bottom: 60px;
}

/* Tech components layout: 5 items in horizontal row */
.tech-components {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  /* border: 1px solid rgba(241,223,219,0.1); */
  /* margin-bottom: 60px; */
}

.tech-components .tech-component:nth-child(2),
.tech-components .tech-component:nth-child(4) {
  margin-top: 50px;
}

.tech-component {
  background: rgba(18, 18, 37, 0.7);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Title: Roboto Mono 17px w500 lh=23px #D9FF00 */
.tech-component__title {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 500;
  line-height: 23px;
  color: var(--accent-yellow);
}

/* Desc: Roboto Mono 12px w300 lh=19px #F1DFDB */
.tech-component__desc {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 300;
  line-height: 19px;
  color: var(--text);
  flex: 1;
}

/* Learn more button */
.tech-component__btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  padding: 10px 20px;
  text-decoration: none;
  margin-top: 8px;
  align-self: flex-start;
  transition: background var(--t-base), color var(--t-base);
}

.tech-component__btn:hover {
  background: transparent;
  color: var(--accent);
}

/* Mobile tech cards */
.tech-cards-mobile {
  display: flex;
  gap: 20px;
  padding: 0 0px;
  flex-direction: column;
}

.tech-cards-mobile::-webkit-scrollbar {
  display: none;
}

.tech-card {
  position: relative;
  background: radial-gradient(circle at top, rgba(255, 72, 72, 0.15), transparent 60%), #0f1023;
  border: 1px solid rgba(255, 72, 72, 0.6);
  overflow: hidden;
}

.tech-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
  pointer-events: none;
}

.tech-card__header {
  position: relative;
  z-index: 2;
  padding: 15px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 1.5px;
  color: #FF4848;
  line-height: 150%;
  border-bottom: 1px solid rgba(255, 72, 72, 0.5);
  border: 1px solid #FE4747;
  background: linear-gradient(90deg, #FF4848 0%, #121225 35%, #121225 65%, #FF4848 100%);
}

.tech-card__content {
  position: relative;
  z-index: 2;
  padding: 30px 25px;
  text-align: center;
}

.tech-card__image {
  width: 100%;
  height: 140px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-card__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.tech-card__title {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 500;
  color: #D9FF00;
  letter-spacing: 1px;
  margin-bottom: 20px;
  line-height: 135%;
}

.tech-card__desc {
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 155%;
  color: #F1DFDB;
  margin-bottom: 30px;
  font-weight: 300;
}

.tech-card__btn {
  display: inline-block;
  padding: 12px 30px;
  background: #ff4848;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 15px;
  border-radius: 2px;
  transition: background 0.3s;
}

.tech-card__btn:hover {
  background: #ff2c2c;
}

/* Trusted row */
.section-engine__trusted {
  padding: 40px 79px 60px;
  max-width: var(--container-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-engine__trusted-label {
  color: #F1DFDB;
  text-align: center;
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: "Roboto Mono";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 135%;
  /* 20.25px */
  letter-spacing: 0.493px;
  text-transform: uppercase;
  margin-bottom: 32px;
  margin-top: 200px;
}

.section-engine__trusted-logos {
  width: 100%;
  height: 110px;
  display: block;
  object-fit: contain;
}

/* =========================================================
   SECTION: GET STARTED (CTA)
   bg=dark with mask, "Ready to run your workforce with intelligence?"
   ========================================================= */
.section-cta {
  background-color: var(--bg);
  background-image: url('https://gloatcomstg.wpenginepowered.com/wp-content/uploads/BG-IMAGE-2.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 140px 79px;
  border-top: 1px solid #D9D9D9;
  border-bottom: 1px solid #D9D9D9;
}

.section-cta__inner {
  max-width: var(--container-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}

/* Label: Roboto Mono 13px w500 #FF4848 */
.section-cta__label {
  display: block;
  margin-bottom: 0;
}

/* H2: Prata 60px w400 lh=72px #F1DFDB */
.section-cta__heading {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}

/* Sub: Roboto Mono 19px w300 lh=28px #F1DFDB */
.section-cta__sub {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 300;
  line-height: 28px;
  color: var(--text);
  max-width: 808px;
}

.section-cta__buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Primary: red solid */
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.45px;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  padding: 14px 28px;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}

.btn-cta-primary:hover {
  background: #d93030;
  border-color: #d93030;
}

/* Both CTA buttons are outline style: stroke=#F1DFDB Roboto Mono 15px w500 */
.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 15px 30px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.45px;
  border: 1px solid var(--text);
  border-radius: 0;
  transition: background var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
}

.btn-cta-outline:hover {
  background: rgba(241, 223, 219, 0.08);
}

.section-engine__content {
  max-width: 1200px;
  margin: 0 auto;
}