/* ======================================
   SGB PROJECT PAGE — sgb.css
   Background: #131337 (navy dark)
   Accent:     #9F92FD (purple)
   ====================================== */

:root {
  --sgb-navy:   #131337;
  --sgb-dark:   #0e0e27;
  --sgb-purple: #9F92FD;
  --sgb-card:   rgba(255,255,255,0.06);
}

/* ── Shared section base ── */
.sgb-section {
  background: var(--sgb-navy);
  padding: 50px 120px;
}

.sgb-section-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 64px;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

/* ══════════════════════════════════════
   ① HERO
   ══════════════════════════════════════ */
.sgb-hero {
  position: relative;
  min-height: 100vh;
  background: #1a1250;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.sgb-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.sgb-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sgb-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 120px 40px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.sgb-hero-left {
  flex: 0 0 50%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.sgb-hero-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* "Singapore Gulf Bank" — SF Pro Display Thin, 85px */
.sgb-hero-name {
  font-family: var(--font-display);
  font-weight: 100;
  font-size: 85px;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: 2.56px;
  margin: 0;
}

/* "From 0 to 1" — SF Pro Display Bold, 85px, white→#9078ff gradient */
.sgb-hero-sub {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 85px;
  line-height: 0.98;
  letter-spacing: 2.56px;
  background: linear-gradient(to right, #ffffff 0%, #9078ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

/* "How to quickly start…" — SF Pro Display Light, 28px */
.sgb-hero-desc {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 28px;
  color: var(--white);
  line-height: 1.4;
  letter-spacing: 0.96px;
  margin: 0;
}

.sgb-hero-note {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  white-space: nowrap;
  font-family: var(--font-text);
  font-size: 12px;
  font-style: italic;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

.sgb-hero-phones {
  flex: 0 0 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sgb-hero-phones img {
  width: 100%;
  height: auto;
  display: block;
}

/* ══════════════════════════════════════
   ② ABOUT + GOAL
   ══════════════════════════════════════ */
.sgb-about-goal {
  padding: 50px 120px;
}

.sgb-two-col {
  display: flex;
  gap: 53px;
}

.sgb-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.sgb-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  flex: 1;
}

/* 切图背景 */
.sgb-card-bg {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
  pointer-events: none;
  z-index: 0;
}

/* 卡片内容层（在背景之上） */
.sgb-card-inner {
  position: relative;
  z-index: 2;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sgb-card-img-wrap {
  height: 166px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sgb-card-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.sgb-card-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sgb-card-text p {
  font-family: var(--font-text);
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  line-height: 24px;
  margin: 0;
}

.sgb-accent {
  color: #a093ff;
  font-weight: 700;
}

/* ══════════════════════════════════════
   ③ KEY STEPS
   ══════════════════════════════════════ */
.sgb-key-steps-section {
  padding-top: 50px;
}

.sgb-key-steps-section .sgb-section-heading {
  margin-bottom: 30px;
}

/* 卡片：相对定位容器，背景图绝对铺底 */
.sgb-key-steps-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  gap: 28px;
  padding-bottom: 40px;
}

/* 渐变背景图：绝对定位，铺满整个卡片 */
.sgb-3col-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

/* 每列：在背景图之上 */
.sgb-step-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* 插图容器：固定高度 250px，图片完整显示 */
.sgb-step-illus {
  width: 100%;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.sgb-step-illus img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* 文字 wrapper：flex 撑满剩余高度，垂直居中 */
.sgb-step-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
}

/* 文字内容：左对齐 */
.sgb-step-col h3,
.sgb-step-col ul {
  align-self: flex-start;
  padding-left: 0;
  padding-right: 0;
}

.sgb-step-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--white);
  margin-top: 20px;
  margin-bottom: 16px;
}

.sgb-step-col ul {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sgb-step-col ul li::marker {
  color: #A093FF;
}
.sgb-step-col ul li {
  font-family: var(--font-text);
  font-size: 14px;
  line-height: 24px;
  color: rgba(255,255,255,0.85);
}

/* ══════════════════════════════════════
   ④ INTERACTION
   ══════════════════════════════════════ */
.sgb-interaction-section {
  padding: 50px 0 50px 120px;
}

.sgb-interaction-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.sgb-interaction-text {
  flex: 0 0 400px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sgb-interaction-goal {
  color: var(--sgb-purple) !important;
}

.sgb-interaction-text p {
  font-family: var(--font-text);
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

.sgb-bullets {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.sgb-bullets li {
  font-family: var(--font-text);
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}
.sgb-bullets li::before {
  content: '·';
  position: absolute;
  left: 2px;
  color: var(--sgb-purple);
  font-size: 18px;
  line-height: 1;
  top: 2px;
}

.sgb-interaction-screens {
  flex: 1;
  overflow: hidden;
}
.sgb-interaction-screens img {
  width: 100%;
  height: auto;
  display: block;
}

/* ══════════════════════════════════════
   ⑤ COMPONENT LIBRARY
   ══════════════════════════════════════ */
.sgb-complib-section {
  padding-top: 50px;
  padding-bottom: 0;
}

.sgb-complib-section .sgb-section-heading {
  margin-bottom: 48px;
}

.sgb-complib-content {
  display: flex;
  gap: 48px;
  margin-bottom: 48px;
}

.sgb-complib-list {
  flex: 1;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sgb-complib-list li {
  font-family: var(--font-text);
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}
.sgb-complib-list li strong {
  color: var(--sgb-purple);
}

.sgb-complib-screens {
  overflow: hidden;
}
.sgb-complib-screens img {
  width: 100%;
  height: auto;
  display: block;
}

/* ══════════════════════════════════════
   ⑥a COMPONENT LIBRARY IMAGE
   ══════════════════════════════════════ */
.sgb-complib-img-section {
  padding: 0;
}
.sgb-complib-img-section img {
  width: 100%;
  height: auto;
  display: block;
}

/* ══════════════════════════════════════
   ⑥ APP PAGES DISPLAY
   ══════════════════════════════════════ */
.sgb-app-pages-section {
  padding: 450px 0 50px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.sgb-app-pages-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 64px;
  color: #fff;
  padding: 0 120px;
  position: absolute;
  top: 150px;
  left: 0;
  right: 0;
  z-index: 1;
}

.sgb-app-pages-img {
  margin-top: -250px;
  align-self: stretch;
}
.sgb-app-pages-img img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: bottom;
}

/* ══════════════════════════════════════
   ⑦ CORPORATE PORTAL
   ══════════════════════════════════════ */
.sgb-gradient-wrapper {
  background: linear-gradient(180deg, #131337 0%, #16153B 15%, #9F92FD 56%, #16153B 95%);
}

.sgb-corporate-section {
  background: transparent;
  overflow: hidden;
}

.sgb-corporate-inner {
  display: flex;
  align-items: flex-start;
  padding: 0;
  overflow: hidden;
}

/* laptop 图片：上下各 80px margin */
.sgb-corporate-laptop {
  flex: 0 0 70%;
  margin-top: 80px;
  margin-bottom: 80px;
  margin-left: -80px;
  position: relative;
  z-index: 0;
}

.sgb-corporate-laptop img {
  width: 100%;
  height: auto;
  display: block;
}

/* 右侧文字列：距右边 80px */
.sgb-corporate-text {
  flex: 0 0 calc(30% + 100px);
  min-width: 0;
  margin-left: -100px;
  padding: 120px 120px 100px 0;
  position: relative;
  z-index: 1;
}
.sgb-corporate-text h2 {
  font-size: 64px;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 43px;
  line-height: 1.2;
}
.sgb-corporate-text p {
  font-family: var(--font-text);
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  line-height: 26px;
  margin-bottom: 0;
}
.sgb-corporate-text p + p {
  margin-top: 0;
}

/* ══════════════════════════════════════
   ⑦b WEBSITE PAGES DISPLAY
   ══════════════════════════════════════ */
.sgb-website-section {
  background: transparent;
  padding-top: 50px;
}

.sgb-website-heading {
  padding: 16px 120px;
  font-size: 64px;
}

.sgb-website-img {
  margin-top: 0;
  overflow: hidden;
}
.sgb-website-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ══════════════════════════════════════
   ⑧ WRAP UP
   ══════════════════════════════════════ */
.sgb-wrapup-section {
  background: transparent;
  padding: 100px 120px;
}

.sgb-wrapup-cols {
  display: flex;
  gap: 48px;
  margin-top: 32px;
}

.sgb-wrapup-col {
  flex: 1;
}

.sgb-wrapup-subhead {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

/* ══════════════════════════════════════
   ⑨ SPLINE EMBED
   ══════════════════════════════════════ */
.sgb-spline-section {
  width: 100%;
  height: 100vh;
  background: var(--sgb-dark);
  position: relative;
}
.sgb-spline-section iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 1024px) {
  .sgb-section { padding: 40px 40px; }
  .sgb-section-heading { font-size: 48px; }
  .sgb-hero-title { font-size: 48px; }
  .sgb-hero-sub { font-size: 36px; }
  .sgb-two-col { flex-direction: column; }
  .sgb-interaction-inner { flex-direction: column; padding: 40px; }
  .sgb-interaction-text { flex: none; }
  .sgb-complib-content { flex-direction: column; }
  .sgb-corporate-inner { flex-direction: column; padding: 40px; }
  .sgb-corporate-laptop { margin-right: 0; flex: none; width: 100%; }
  .sgb-corporate-text { padding: 20px 0 0; }
  .sgb-wrapup-cols { flex-direction: column; }
}

@media (max-width: 768px) {
  .sgb-section { padding: 40px 24px; }
  .sgb-section-heading { font-size: 36px; }
  .sgb-hero-content { flex-direction: column; padding: 120px 24px 40px; }
  .sgb-hero-title { font-size: 36px; }
  .sgb-hero-sub { font-size: 28px; }
  .sgb-key-steps-card { flex-direction: column; gap: 24px; }
  .sgb-app-pages-section { padding: 40px 24px; }
  .sgb-wrapup-section { padding: 40px 24px; }
  .sgb-spline-section { height: 60vh; }
}
