/* =====================================================================
   ABOUT (huge hollow heading + 3D stage)  and  MAINTENANCE grid
   ===================================================================== */

/* ---------- ABOUT ---------- */
.about3d {
  position: relative;
  padding: 90px 0 110px;
  overflow: hidden;
  background: #090909;
}

.about3d::before {
  top: 40%;
  left: 30%;
  width: 720px;
  height: 720px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 193, 7, 0.16), transparent 70%);
}

.about3d p {
  opacity: 1;
  transform: none;
}

/* giant hollow heading */
.about3d__mega-wrap {
  text-align: center;
}

.about3d__mega {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.28em;
  margin: 0;
  padding: 0 12px;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: clamp(3.4rem, 15.5vw, 12.5rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  perspective: 900px;
}

.mega-word {
  display: inline-flex;
}

.mega-l {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 2px #ffc107;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 193, 7, 0.95) 50%, transparent 62%) no-repeat;
  background-size: 320% 100%;
  background-position: 130% 0;
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0;
  transform: translateY(70%) rotateX(-90deg);
  transform-origin: 50% 100%;
  transition: color 0.3s ease;
}

.about3d__mega-wrap.is-in .mega-l {
  animation:
    megaIn 0.95s cubic-bezier(0.16, 1, 0.3, 1) both,
    megaSweep 5.5s ease-in-out infinite,
    megaGlow 4s ease-in-out infinite;
  animation-delay:
    calc(var(--i) * 85ms),
    calc(1.2s + var(--i) * 140ms),
    calc(var(--i) * 260ms);
}

.mega-l:hover {
  color: #ffc107;
}

.about3d__ticker {
  margin-top: 26px;
  overflow: hidden;
}

.about3d__ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: tickerMove 46s linear infinite;
  will-change: transform;
}

.about3d__ticker span {
  padding: 0 22px;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: clamp(1.3rem, 3.6vw, 2.4rem);
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
}

.about3d__ticker span.dot {
  padding: 0 8px;
  color: #ffc107;
  -webkit-text-stroke: 0;
}

@keyframes megaIn {
  from { opacity: 0; transform: translateY(70%) rotateX(-90deg); }
  to { opacity: 1; transform: none; }
}

@keyframes megaSweep {
  0% { background-position: 130% 0; }
  55%, 100% { background-position: -30% 0; }
}

@keyframes megaGlow {
  0%, 100% { -webkit-text-stroke-color: #ffc107; filter: drop-shadow(0 0 0 rgba(255, 193, 7, 0)); }
  50% { -webkit-text-stroke-color: #ffe9a0; filter: drop-shadow(0 0 16px rgba(255, 193, 7, 0.55)); }
}

/* layout */
.about3d__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 70px;
  align-items: center;
  max-width: 1240px;
  margin: 56px auto 0;
  padding: 0 24px;
}

.about3d__title {
  margin: 0 0 20px;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.about3d__copy > p {
  margin: 0 0 28px;
  font-size: 1.04rem;
  line-height: 1.8;
  color: #b9b9c6;
}

.about3d__feats {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}

/* uniquely shaped feature cards */
.a3d-feat {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid transparent;
  background:
    linear-gradient(#15151b, #15151b) padding-box,
    linear-gradient(135deg, rgba(255, 193, 7, 0.9), rgba(255, 193, 7, 0.08) 60%) border-box;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.a3d-feat--1 { border-radius: 34px 6px 34px 6px; }
.a3d-feat--2 { border-radius: 6px 34px 6px 34px; margin-left: 24px; }
.a3d-feat--3 { border-radius: 34px 34px 6px 34px; }

.a3d-feat:hover {
  transform: translateX(8px);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.7), 0 0 34px rgba(255, 193, 7, 0.2);
}

.a3d-feat__hex {
  flex: 0 0 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  font-size: 1.1rem;
  color: #14100a;
  background: linear-gradient(135deg, #ffe259, #ffc107 55%, #ff9800);
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
}

.a3d-feat b {
  display: block;
  color: #fff;
  font-size: 1rem;
}

.a3d-feat small {
  display: block;
  margin-top: 2px;
  color: #a2a2ad;
  font-size: 0.85rem;
}

.about3d__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- 3D STAGE ---------- */
.about3d__stage-wrap {
  display: flex;
  justify-content: center;
}

.a3d {
  --st: min(520px, calc(100vw - 48px));
  --mx: 0;
  --my: 0;
  position: relative;
  width: var(--st);
  height: var(--st);
  perspective: 1400px;
}

.a3d__scene,
.a3d__sway {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.a3d__scene {
  transform: rotateX(var(--rx, 10deg)) rotateY(var(--ry, -16deg));
  transition: transform 0.2s ease-out;
}

.a3d__sway {
  animation: a3dSway 10s ease-in-out infinite alternate;
}

.a3d__floor {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -4%;
  height: 16%;
  background: radial-gradient(closest-side, rgba(255, 193, 7, 0.5), transparent 75%);
  transform: translateZ(-70px) rotateX(72deg);
}

.a3d__glow {
  position: absolute;
  left: 8%;
  top: 4%;
  width: 84%;
  height: 84%;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.32), transparent 65%);
  transform: translateZ(-50px);
}

.a3d__ring {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(255, 193, 7, 0.5);
  transform: translateZ(-20px) rotateX(74deg);
}

.a3d__ring--1 {
  left: 2%;
  top: 2%;
  width: 96%;
  height: 96%;
  animation: a3dRing 26s linear infinite;
}

.a3d__ring--2 {
  left: 14%;
  top: 14%;
  width: 72%;
  height: 72%;
  border-style: solid;
  border-color: rgba(255, 193, 7, 0.3);
  animation: a3dRing 18s linear infinite reverse;
}

.a3d__hex-border,
.a3d__hex {
  position: absolute;
  clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%);
}

.a3d__hex-border {
  left: 14%;
  top: 8%;
  width: 72%;
  height: 72%;
  background: linear-gradient(135deg, #ffe259, #ffc107 50%, #ff9800);
  transform: translateZ(0);
}

.a3d__hex {
  left: 16.6%;
  top: 11%;
  width: 66.8%;
  height: 66.8%;
  transform: translateZ(22px) translate3d(calc(var(--mx) * -8px), calc(var(--my) * -8px), 0);
}

.a3d__hex img,
.a3d__circle img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.a3d__hex img {
  object-position: 45% 40%;
}

.a3d__circle {
  position: absolute;
  right: 0;
  bottom: 4%;
  width: 36%;
  height: 36%;
  overflow: hidden;
  border: 4px solid #ffc107;
  border-radius: 50%;
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.65), 0 0 40px rgba(255, 193, 7, 0.45);
  transform: translateZ(95px) translate3d(calc(var(--mx) * 16px), calc(var(--my) * 16px), 0);
}

.a3d__diamond {
  position: absolute;
  left: 0;
  top: 16%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22%;
  height: 22%;
  font-size: calc(var(--st) * 0.07);
  color: #14100a;
  background: linear-gradient(135deg, #ffe259, #ff9800);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  transform: translateZ(120px) translate3d(calc(var(--mx) * 22px), calc(var(--my) * 22px), 0);
  animation: a3dBob 5s ease-in-out infinite;
}

/* rotating 3D cube */
.a3d__cube {
  --half: calc(var(--st) * 0.08);
  position: absolute;
  right: 6%;
  top: 2%;
  width: calc(var(--st) * 0.16);
  height: calc(var(--st) * 0.16);
  transform-style: preserve-3d;
  transform: translateZ(150px);
  animation: a3dCube 16s linear infinite;
}

.a3d__cube span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: calc(var(--st) * 0.055);
  color: #14100a;
  background: linear-gradient(135deg, rgba(255, 226, 89, 0.96), rgba(255, 152, 0, 0.94));
  border: 1px solid rgba(20, 16, 10, 0.35);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.35);
}

.a3d__cube span:nth-child(1) { transform: translateZ(var(--half)); }
.a3d__cube span:nth-child(2) { transform: rotateY(90deg) translateZ(var(--half)); }
.a3d__cube span:nth-child(3) { transform: rotateY(180deg) translateZ(var(--half)); }
.a3d__cube span:nth-child(4) { transform: rotateY(-90deg) translateZ(var(--half)); }
.a3d__cube span:nth-child(5) { transform: rotateX(90deg) translateZ(var(--half)); }
.a3d__cube span:nth-child(6) { transform: rotateX(-90deg) translateZ(var(--half)); }

/* floating accents */
.a3d__dot {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff3b0, #ffc107 55%, #ff9800);
  box-shadow: 0 0 22px rgba(255, 193, 7, 0.8);
  animation: a3dBob 6s ease-in-out infinite;
}

.a3d__dot--1 { left: 8%; bottom: 20%; width: 4.5%; height: 4.5%; transform: translateZ(110px); }
.a3d__dot--2 { right: 26%; top: 4%; width: 3%; height: 3%; transform: translateZ(60px); animation-delay: -2s; }
.a3d__dot--3 { left: 40%; bottom: 0; width: 3.4%; height: 3.4%; transform: translateZ(130px); animation-delay: -4s; }

.a3d__tri {
  position: absolute;
  left: 22%;
  top: 0;
  width: 8%;
  height: 8%;
  background: linear-gradient(135deg, #ffe259, #ff9800);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform: translateZ(80px);
  animation: a3dTri 9s linear infinite;
}

@keyframes a3dSway {
  from { transform: rotateY(-9deg) rotateX(3deg); }
  to { transform: rotateY(9deg) rotateX(-3deg); }
}

@keyframes a3dRing {
  to { transform: translateZ(-20px) rotateX(74deg) rotateZ(360deg); }
}

@keyframes a3dCube {
  to { transform: translateZ(150px) rotateX(360deg) rotateY(360deg); }
}

@keyframes a3dBob {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -14px; }
}

@keyframes a3dTri {
  to { transform: translateZ(80px) rotateZ(360deg); }
}

/* ---------- MAINTENANCE ---------- */
.mnt {
  position: relative;
  padding: 100px 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #0a0a0d, #100d16 55%, #0a0a0d);
}

.mnt p {
  opacity: 1;
  transform: none;
}

.mnt__head {
  max-width: 740px;
  margin: 0 auto 54px;
  text-align: center;
}

.mnt__title {
  margin: 0 0 16px;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.mnt__lead {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.75;
  color: #a9a9b6;
}

.mnt__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.mnt-card {
  position: relative;
  min-width: 0;
  padding: 34px 26px 28px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 30px 6px 30px 6px;
  background:
    linear-gradient(180deg, #18181f, #121218) padding-box,
    linear-gradient(135deg, rgba(255, 193, 7, 0.7), rgba(255, 193, 7, 0.06) 55%) border-box;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mnt-card:nth-child(even) {
  border-radius: 6px 30px 6px 30px;
}

.mnt-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 56px -20px rgba(0, 0, 0, 0.75), 0 0 44px rgba(255, 193, 7, 0.18);
}

.mnt-card__num {
  position: absolute;
  top: 14px;
  right: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 193, 7, 0.4);
}

.mnt-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: #14100a;
  background: linear-gradient(135deg, #ffe259, #ffc107 55%, #ff9800);
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
  transition: transform 0.35s ease;
}

.mnt-card:hover .mnt-card__icon {
  transform: rotate(-8deg) scale(1.08);
}

.mnt-card h3 {
  margin: 0 0 10px;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  overflow-wrap: anywhere;
}

.mnt-card p {
  margin: 0 0 22px;
  font-size: 0.93rem;
  line-height: 1.65;
  color: #a9a9b6;
}

.mnt-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #14100a;
  text-decoration: none;
  background: linear-gradient(120deg, #ffe259, #ffc107 55%, #ff9800);
  border-radius: 999px;
  box-shadow: 0 10px 24px -8px rgba(255, 193, 7, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mnt-card__cta:hover {
  color: #14100a;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(255, 193, 7, 0.8);
}

.mnt-card__cta i {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

.mnt-card__cta:hover i {
  transform: translateX(3px);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
  .about3d {
    padding: 70px 0 84px;
  }
  .about3d__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 50px;
    margin-top: 40px;
  }
  .a3d-feat--2 {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .about3d__grid {
    padding: 0 18px;
  }
  .a3d {
    --st: min(440px, calc(100vw - 36px));
  }
  .about3d__actions .btn-glow,
  .about3d__actions .btn-outline-glow {
    flex: 1 1 100%;
  }
  .mnt {
    padding: 72px 16px;
  }
  .mnt-card__num {
    font-size: 2.8rem;
  }
}

/* keep the 3D stage calm for people who prefer less motion, but never remove it */
@media (prefers-reduced-motion: reduce) {
  .a3d__sway {
    animation-duration: 20s;
  }
}
