/* ============================================================
   Landing page - Hero + Unified Guest Intelligence
   ============================================================ */

/* ---------- SCREEN 1 : Full-bleed hero video ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* requested overlay */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.55);
}
/* extra vignette so text edges stay readable, keeps the 0.55 base */
.hero__overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 45%, transparent, rgba(0,0,0,0.35)),
    linear-gradient(to bottom, rgba(0,0,0,0.25), transparent 30%, transparent 70%, rgba(5,5,4,0.92));
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 920px;
}
.hero__brandmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  opacity: 0;
  animation: rise .9s .1s cubic-bezier(.2,.8,.2,1) forwards;
}
.hero__title {
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin-bottom: 22px;
  background: linear-gradient(180deg, #ffffff 30%, rgba(255,255,255,0.7));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  animation: rise 1s .25s cubic-bezier(.2,.8,.2,1) forwards;
}
.hero__sub {
  font-size: clamp(16px, 2vw, 22px);
  color: var(--text-mid);
  font-weight: 400;
  margin-bottom: 34px;
  opacity: 0;
  animation: rise 1s .4s cubic-bezier(.2,.8,.2,1) forwards;
}
.hero__triad {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 44px;
  opacity: 0;
  animation: rise 1s .55s cubic-bezier(.2,.8,.2,1) forwards;
}
.hero__triad span {
  font-size: clamp(18px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0 22px;
  color: var(--text-hi);
  position: relative;
}
.hero__triad span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 26px;
  width: 1px;
  background: rgba(255,255,255,0.25);
}
.hero__triad span:nth-child(2) { color: var(--accent); }
.hero__cta {
  opacity: 0;
  animation: rise 1s .7s cubic-bezier(.2,.8,.2,1) forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--text-lo);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fade 1s 1.1s forwards;
}
.hero__scroll .line {
  width: 1px; height: 38px;
  background: linear-gradient(var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes rise { to { opacity: 1; transform: none; } from { transform: translateY(28px); } }
@keyframes fade { to { opacity: 1; } }
@keyframes scrollPulse { 0%,100% { opacity:.3; transform: scaleY(.7);} 50% { opacity:1; transform: scaleY(1);} }

/* ---------- SCREEN 2 : Unified Guest Intelligence ---------- */
.uig {
  position: relative;
  padding: 120px 0;
}
.uig__grid {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 56px;
  align-items: stretch;
}
/* left: suite video, not full screen */
.uig__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 560px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-deep);
}
.uig__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.uig__media-glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(5,7,13,0.35), transparent 45%, rgba(5,7,13,0.55));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}
.uig__media-tag {
  align-self: flex-start;
  margin-bottom: auto;
}
.uig__media-caption h3 { font-size: 26px; margin-bottom: 8px; }

/* right: heading + numbered list */
.uig__head { margin-bottom: 30px; }
.uig__head h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  margin: 14px 0 14px;
  background: linear-gradient(180deg, #fff, rgba(212,191,139,0.76));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.uig__list { display: flex; flex-direction: column; }
.uig__item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 20px 6px;
  border-bottom: 1px solid var(--glass-border);
  transition: padding .3s, background .3s, opacity .3s, border-color .3s;
  cursor: default;
}
.uig__item:hover { background: var(--glass-bg); padding-left: 16px; padding-right: 16px; border-radius: var(--radius); }
.uig__item.is-unlocked {
  border: 1px solid rgba(181, 138, 87, 0.24);
  border-radius: var(--radius);
  padding-left: 16px;
  padding-right: 16px;
  background: linear-gradient(120deg, rgba(181,138,87,0.13), rgba(255,255,255,0.035));
  cursor: pointer;
}
.uig__item.is-locked {
  opacity: 0.46;
  cursor: not-allowed;
}
.uig__item.is-locked:hover {
  padding-left: 6px;
  padding-right: 6px;
  background: transparent;
}
.uig__num {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  background: var(--glass-bg);
}
.uig__item h4 { font-size: 19px; margin-bottom: 3px; }
.uig__item p { font-size: 14px; color: var(--text-mid); }
.lock-badge,
.unlock-badge {
  justify-self: end;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  color: var(--text-lo);
  white-space: nowrap;
}
.unlock-badge {
  color: var(--accent);
  border-color: rgba(181, 138, 87, 0.35);
  background: rgba(181, 138, 87, 0.1);
}
.uig__item .chev { color: var(--text-faint); transition: transform .3s, color .3s; }
.uig__item:hover .chev { color: var(--accent); transform: translateX(4px); }

/* ---------- Top nav bar (landing) ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  transition: background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.topbar.scrolled {
  background: rgba(5,5,4,0.76);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--glass-border);
}
.topbar__links { display: flex; gap: 30px; align-items: center; }
.topbar__links a { color: var(--text-mid); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.topbar__links a:hover { color: var(--text-hi); }

/* logo - SUNWAY IntGen brand image */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__img { height: 38px; width: auto; display: block; }
.logo__divider { width: 1px; height: 24px; background: var(--glass-border-strong); }
.logo__sub {
  font-weight: 500; font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-lo); white-space: nowrap;
}
/* keep legacy classes harmless if present */
.logo__mark { display:none; }
.logo__text { font-weight: 600; font-size: 16px; color: var(--text-hi); }
.logo__text small { display: block; font-size: 10px; letter-spacing: 0.08em; color: var(--text-lo); text-transform: uppercase; }

/* Footer */
.foot {
  border-top: 1px solid var(--glass-border);
  padding: 50px 0 60px;
  color: var(--text-lo);
  font-size: 13px;
}

@media (max-width: 980px) {
  .uig__grid { grid-template-columns: 1fr; }
  .uig__media { min-height: 360px; }
  .topbar__links { display: none; }
}

/* ============================================================
   F&B transition band + three product cards (integration)
   ============================================================ */

/* --- F&B full-width video transition band (16:9) --- */
.fnb-band {
  position: relative;
  height: 78vh;
  min-height: 520px;
  max-height: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.fnb-band__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.fnb-band__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, var(--bg-900), rgba(5,5,4,0.30) 20%, rgba(5,5,4,0.42) 72%, var(--bg-900)),
    rgba(0,0,0,0.42);
}
.fnb-band__content { position: relative; z-index: 2; padding: 0 24px; max-width: 900px; }
.fnb-band__content .eyebrow--tight { justify-content: center; margin-bottom: 22px; }
.fnb-band__title {
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 600; letter-spacing: -0.025em; line-height: 1.12;
  background: linear-gradient(180deg, #fff 35%, rgba(255,255,255,0.74));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.fnb-band__sub { margin-top: 18px; font-size: clamp(15px, 1.6vw, 20px); color: var(--text-mid); line-height: 1.55; }

/* --- product section --- */
.products { position: relative; padding: 110px 0 120px; }
.products .ambient { position: absolute; }
.products__head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.products__head h2 {
  font-size: clamp(28px, 3.4vw, 44px); margin: 14px 0 14px;
  background: linear-gradient(180deg, #fff, rgba(255,255,255,0.72));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.products__head p { color: var(--text-mid); font-size: 16px; }

/* --- Variant C: minimal oversized numbered list --- */
.modlist-c { display: flex; flex-direction: column; }
.mrow {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: baseline;
  gap: 32px;
  padding: 44px 8px;
  border-top: 1px solid var(--glass-border);
  text-decoration: none;
  color: inherit;
  transition: padding .4s cubic-bezier(.2,.8,.2,1), background .4s;
}
.mrow:last-child { border-bottom: 1px solid var(--glass-border); }
.mrow:hover { padding-left: 20px; padding-right: 20px; background: linear-gradient(90deg, var(--glass-bg), transparent 80%); }

.mrow__num {
  font-size: clamp(46px, 5vw, 66px);
  font-weight: 700; line-height: 1; letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px var(--text-faint);
  transition: -webkit-text-stroke-color .4s, color .4s;
}
.mrow:hover .mrow__num {
  -webkit-text-stroke-color: var(--_pc, var(--accent));
  color: color-mix(in srgb, var(--_pc, var(--accent)) 14%, transparent);
}

.mrow__main { align-self: center; }
.mrow h3 { font-size: clamp(24px, 2.6vw, 33px); letter-spacing: -0.02em; transition: color .4s; }
.mrow:hover h3 { color: var(--_pc, var(--accent)); }
.mrow__sub {
  font-size: 14.5px; color: var(--text-mid); margin-top: 0;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(.2,.8,.2,1), opacity .4s, margin-top .4s;
}
.mrow:hover .mrow__sub { max-height: 48px; opacity: 1; margin-top: 10px; }

.mrow__cta {
  align-self: center;
  font-size: 28px; line-height: 1; color: var(--text-faint);
  transition: color .4s, transform .4s;
}
.mrow:hover .mrow__cta { color: var(--_pc, var(--accent)); transform: translateX(6px); }

/* per-module accent — unified champagne gold on hover */
.mrow.demand,
.mrow.training,
.mrow.security { --_pc: #d4bf8b; }

@media (max-width: 720px) {
  .mrow { grid-template-columns: 70px 1fr auto; gap: 18px; padding: 30px 6px; }
  .mrow__sub { max-height: 60px; opacity: 1; margin-top: 10px; } /* always show on mobile (no hover) */
}

/* tighter, refined eyebrow for the F&B slogan (was over-tracked) */
.eyebrow--tight {
  letter-spacing: 0.10em;
  font-size: 11.5px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow--tight::before {
  content: ""; width: 26px; height: 1px;
  background: var(--accent); opacity: .7;
}
/* centered variant: symmetric lead-lines on both sides */
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: ""; width: 26px; height: 1px;
  background: var(--accent); opacity: .7;
}
