/* ═══════════════════════════════════════════════════════════════
   MSuperApp · v2 — Ultra-Modern Dark Theme
   Inspired by: Stripe / Linear / Anthropic / Vercel
   ═══════════════════════════════════════════════════════════════ */

/* ── Design tokens ─────────────────────────────────────────── */
:root {
  /* Surface palette (deep blues, almost black) */
  --bg:           #050818;
  --bg-2:         #080d24;
  --surface:      #0d1530;
  --surface-2:    #131a3d;
  --surface-3:    #1a2350;
  --border:       rgba(139, 162, 255, 0.10);
  --border-2:     rgba(139, 162, 255, 0.18);

  /* Text */
  --text:         #e8ecff;
  --text-2:       #b8c1e0;
  --text-mute:    #8b95b3;
  --text-dim:     #5a6386;

  /* Accents */
  --blue:         #5b8eff;
  --blue-bright:  #6f9aff;
  --blue-deep:    #1e40af;
  --cyan:         #5eead4;
  --teal:         #10b981;
  --purple:       #a855f7;
  --purple-light: #c084fc;
  --gold:         #fbbf24;
  --red:          #ef4444;

  /* Effects */
  --glass:        rgba(13, 21, 48, 0.5);
  --glass-strong: rgba(13, 21, 48, 0.75);

  /* Type */
  --f-display:    'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-body:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono:       'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Layout */
  --container:    1240px;
  --gutter:       clamp(1.25rem, 4vw, 2rem);
  --section-y:    clamp(5rem, 11vw, 9rem);

  /* Motion */
  --ease:         cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:      cubic-bezier(0.7, 0, 0.84, 0);

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-2xl: 36px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}
body {
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }
button { cursor: pointer; border: 0; background: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }
em { font-style: normal; color: var(--blue-bright); }
::selection { background: var(--blue); color: white; }

/* ── Container ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Utility ──────────────────────────────────────────────── */
.mono { font-family: var(--f-mono); font-feature-settings: "ss01" on, "ss02" on; letter-spacing: -0.01em; }
.small { font-size: 0.78rem; }
.mute { color: var(--text-mute); }
.display {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--text);
}
.display em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Grain overlay ────────────────────────────────────────── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ── Badges / eyebrows / chips ────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.9rem;
  background: var(--glass);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  color: var(--text-2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.badge__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.18), 0 0 14px rgba(94, 234, 212, 0.5);
  animation: pulseDot 2.4s var(--ease) infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.15); opacity: 0.7; }
}

.eyebrow {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 1.25rem;
  position: relative;
  padding-left: 1.25rem;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 1px;
  background: currentColor;
}
.eyebrow--blue   { color: var(--blue-bright); }
.eyebrow--teal   { color: var(--cyan); }
.eyebrow--purple { color: var(--purple-light); }
.eyebrow--gold   { color: var(--gold); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  background: var(--glass);
  color: var(--text-2);
}
.chip--green { color: #6ee7b7; border-color: rgba(110, 231, 183, 0.3); background: rgba(16, 185, 129, 0.10); }
.chip--red   { color: #fda4af; border-color: rgba(253, 164, 175, 0.3); background: rgba(244, 63, 94, 0.10); }
.chip--blue  { color: #93c5fd; border-color: rgba(147, 197, 253, 0.3); background: rgba(59, 130, 246, 0.10); }
.chip--gold  { color: var(--gold); border-color: rgba(251, 191, 36, 0.3); background: rgba(251, 191, 36, 0.10); }
.chip--ghost { color: var(--text-mute); }

.check {
  display: inline-grid; place-items: center;
  width: 18px; height: 18px;
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
}
.check--lg { width: 24px; height: 24px; font-size: 0.85rem; }
.check--sm { display: inline; background: none; color: var(--cyan); margin-left: 0.25rem; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}
.btn--sm { padding: 0.5rem 1.1rem; font-size: 0.83rem; }
.btn--lg { padding: 1.05rem 1.85rem; font-size: 1rem; }
.btn--primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: white;
  box-shadow:
    0 6px 24px rgba(91, 142, 255, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.btn--primary > * { position: relative; z-index: 1; }
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(91, 142, 255, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}
.btn--primary:hover::before { opacity: 1; }
.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--blue);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════ */
/* NAV                                                          */
/* ═══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all 0.3s var(--ease);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  margin-top: 0.75rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}
.nav.is-scrolled .nav__inner {
  background: rgba(5, 8, 24, 0.75);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-color: var(--border-2);
  height: 64px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.logo-mark { width: 32px; height: 32px; flex-shrink: 0; }
.nav__menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav__menu a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-2);
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav__menu a:not(.btn):hover { color: var(--text); }
.nav__menu a.is-active:not(.btn) { color: var(--blue-bright); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s var(--ease);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════ */
/* HERO                                                         */
/* ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 160px;
  padding-bottom: 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(91, 142, 255, 0.18), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(168, 85, 247, 0.12), transparent 50%),
    var(--bg);
}
.hero__mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
  animation: drift 22s var(--ease) infinite alternate;
}
.orb--1 { top: -10%; left: 10%;  width: 600px; height: 600px; background: radial-gradient(circle, var(--blue), transparent 70%); }
.orb--2 { top: 30%;  right: -5%; width: 500px; height: 500px; background: radial-gradient(circle, var(--purple), transparent 70%); animation-delay: -7s; }
.orb--3 { bottom: -5%; left: 25%; width: 700px; height: 700px; background: radial-gradient(circle, var(--cyan), transparent 70%); opacity: 0.35; animation-delay: -14s; }
.orb--4 { top: 50%; left: 50%; width: 300px; height: 300px; background: radial-gradient(circle, var(--gold), transparent 70%); opacity: 0.18; animation-delay: -3s; }
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(40px, -30px) scale(1.08); }
  100% { transform: translate(-30px, 20px) scale(0.95); }
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 162, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 162, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 70vh;
}
.hero__head .badge { margin-bottom: 2rem; }

.hero__title {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.96;
  margin-bottom: 1.75rem;
  font-size: clamp(2.75rem, 7.5vw, 6rem);
}
.hero__word {
  display: block;
  background: linear-gradient(180deg, #fff 30%, #b8c1e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(40px);
  animation: heroWord 0.9s var(--ease-out) forwards;
}
.hero__word--1 { animation-delay: 0.1s; }
.hero__word--2 { animation-delay: 0.25s; }
.hero__word--3 {
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--cyan) 60%, var(--gold) 110%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation-delay: 0.4s;
}
.hero__sub {
  display: block;
  font-size: 0.55em;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: -0.02em;
  margin-top: 1rem;
  opacity: 0;
  animation: heroWord 0.9s var(--ease-out) forwards;
  animation-delay: 0.55s;
}
.hero__sub em { color: var(--gold); font-weight: 700; }
@keyframes heroWord {
  to { opacity: 1; transform: translateY(0); }
}

.hero__lede {
  font-size: 1.15rem;
  color: var(--text-2);
  max-width: 32rem;
  margin-bottom: 2.5rem;
  line-height: 1.55;
}
.hero__cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Floating cards in hero */
.hero__deck {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  padding: 2rem 0;
}
.float-card {
  background: var(--glass-strong);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  padding: 1rem 1.1rem;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  animation: floatCard 5s var(--ease) infinite;
}
.float-card__head {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 0.75rem;
  align-items: center;
}
.float-card__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.float-card__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.float-card__label {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-mute);
  text-transform: uppercase;
  margin-bottom: 0.1rem;
}
.float-card__title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}
.float-card__meta { display: flex; gap: 0.35rem; margin-top: 0.7rem; }

.float-card--id     { transform: translate(0, 0); animation-delay: 0s; }
.float-card--wallet { transform: translate(0, 30px); animation-delay: -1.5s; }
.float-card--chat   { transform: translate(0, -10px); animation-delay: -3s; }
.float-card--ai     { transform: translate(0, 20px); animation-delay: -4s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(var(--y, 0)); }
  50%      { transform: translateY(calc(var(--y, 0) - 8px)); }
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mute);
  z-index: 2;
}
.hero__scroll svg { animation: bounceY 1.8s var(--ease) infinite; }
@keyframes bounceY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ═══════════════════════════════════════════════════════════ */
/* STATS BAR                                                    */
/* ═══════════════════════════════════════════════════════════ */
.stats {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}
.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}
.stat__num {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat__label {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--text-mute);
  letter-spacing: 0.06em;
  line-height: 1.35;
}

/* ═══════════════════════════════════════════════════════════ */
/* SECTIONS — base                                              */
/* ═══════════════════════════════════════════════════════════ */
.section {
  position: relative;
  padding: var(--section-y) 0;
}
.section__header {
  max-width: 780px;
  margin: 0 auto 4rem;
  text-align: center;
}
.section__title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  margin-bottom: 1.5rem;
}
.section__title--md { font-size: clamp(1.75rem, 4vw, 3rem); }
.section__lead {
  font-size: 1.08rem;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 38rem;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════ */
/* BENTO (Vision)                                               */
/* ═══════════════════════════════════════════════════════════ */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 1rem;
}
.bento__card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  grid-column: span 3;
}
.bento__card--lg { grid-column: span 3; grid-row: span 2; }
.bento__card--quote { grid-column: span 3; }
.bento__card--problem { grid-column: span 3; }

.bento__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, var(--brand-glow, transparent), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.bento__card[data-brand="msuperapp"] { --brand-glow: rgba(91, 142, 255, 0.16); --brand-color: var(--blue-bright); }
.bento__card[data-brand="mchat"]     { --brand-glow: rgba(94, 234, 212, 0.16); --brand-color: var(--cyan); }
.bento__card[data-brand="jomshop"]   { --brand-glow: rgba(168, 85, 247, 0.16); --brand-color: var(--purple-light); }

.bento__card:hover {
  border-color: var(--border-2);
  transform: translateY(-3px);
}
.bento__card:hover::before { opacity: 1; }

.bento__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.brand-mark { width: 52px; height: 52px; flex-shrink: 0; }
.brand-mark svg { width: 100%; height: 100%; border-radius: 12px; }
.bento__label {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--text-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bento__title {
  font-family: var(--f-display);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-color, var(--text));
  margin-bottom: 0.75rem;
  line-height: 1;
}
.bento__title--sm { font-size: 1.4rem; }
.bento__desc {
  color: var(--text-2);
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}
.bento__list {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}
.bento__list li {
  font-family: var(--f-mono);
  font-size: 0.82rem;
  color: var(--text-2);
  padding-left: 1.1rem;
  position: relative;
}
.bento__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 1px;
  background: var(--brand-color, var(--blue));
}
.bento__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--f-mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--brand-color, var(--blue-bright));
  margin-top: auto;
}
.bento__link:hover { gap: 0.6rem; }

/* Quote card */
.bento__card--quote {
  background: linear-gradient(135deg, rgba(91, 142, 255, 0.06), rgba(168, 85, 247, 0.06));
}
.quote-mark {
  font-family: var(--f-display);
  font-size: 5rem;
  font-weight: 900;
  color: var(--blue-bright);
  line-height: 0.5;
  margin-bottom: 1rem;
  opacity: 0.6;
}
.quote {
  font-family: var(--f-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}
.quote em { color: var(--gold); font-style: normal; }
.quote-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* Problem card */
.bento__card--problem { background: linear-gradient(180deg, rgba(239, 68, 68, 0.04), var(--surface)); }
.problem-list { display: grid; gap: 1rem; margin-top: 1rem; }
.problem-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 0.85rem;
  align-items: start;
}
.problem-num {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red);
  padding-top: 0.1rem;
}
.problem-list li strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
}
.problem-list li span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-mute);
  margin-top: 0.15rem;
}

/* ═══════════════════════════════════════════════════════════ */
/* SHOWCASE (MSuperApp / MChat / JomShop)                       */
/* ═══════════════════════════════════════════════════════════ */
.section--showcase {
  background: linear-gradient(180deg, var(--bg), var(--bg-2), var(--bg));
  position: relative;
}
.showcase__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.showcase__grid--reverse .showcase__copy { order: 2; }
.showcase__grid--reverse .showcase__visual { order: 1; }

.cap-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.cap-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.85rem;
  align-items: start;
}
.cap-icon {
  width: 40px; height: 40px;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}
.cap-list h4 {
  font-family: var(--f-display);
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text);
}
.cap-list p { font-size: 0.83rem; color: var(--text-mute); line-height: 1.5; }

/* ── Phone mockup (universal) ─────────────────────────────── */
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  min-height: 600px;
}
.phone {
  position: relative;
  width: 300px;
  height: 600px;
  background: linear-gradient(145deg, #0a0e1e, #03050d);
  border-radius: 44px;
  padding: 11px;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    inset 0 1px 2px rgba(255, 255, 255, 0.15);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.6s var(--ease);
  z-index: 1;
}
.phone:hover { transform: rotateY(0) rotateX(0); }
.phone__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 26px;
  background: #000;
  border-radius: 14px;
  z-index: 2;
}
.phone__inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0a1024 0%, #050818 100%);
  border-radius: 34px;
  padding: 48px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  overflow: hidden;
  color: var(--text);
}
.phone__statusbar {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-mute);
  margin-bottom: 0.25rem;
}
.phone__greet {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0.85rem;
  align-items: center;
}
.phone__logo {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: white;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.55rem;
  display: grid;
  place-items: center;
}
.phone__logo--teal { background: linear-gradient(135deg, var(--cyan), var(--teal)); }
.phone__hi .big, .big {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.phone__wallet {
  background: linear-gradient(135deg, rgba(91, 142, 255, 0.16), rgba(168, 85, 247, 0.10));
  border: 1px solid var(--border-2);
  border-radius: 14px;
  padding: 1rem;
}
.phone__balance {
  font-family: var(--f-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0.3rem 0;
  color: var(--text);
}
.phone__chips { display: flex; gap: 0.3rem; flex-wrap: wrap; }
.phone__services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}
.svc {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.4rem;
  font-size: 0.7rem;
  color: var(--text-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
  transition: all 0.25s var(--ease);
}
.svc:hover { background: rgba(91, 142, 255, 0.12); border-color: var(--blue); }
.svc span { font-size: 1.15rem; }
.phone__footer {
  margin-top: auto;
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}

/* Phone shadows */
.phone-shadow {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 30px;
  background: radial-gradient(ellipse, rgba(91, 142, 255, 0.4), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.phone-shadow--teal { background: radial-gradient(ellipse, rgba(94, 234, 212, 0.4), transparent 70%); }
.phone-shadow--purple { background: radial-gradient(ellipse, rgba(168, 85, 247, 0.4), transparent 70%); }

/* MChat phone variant */
.phone--mchat { transform: rotateY(8deg) rotateX(4deg); }
.phone__inner--mchat {
  background: linear-gradient(180deg, #04241a 0%, #050818 35%);
  gap: 0.7rem;
  padding-top: 48px;
}
.mchat-head {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 0.85rem;
  align-items: center;
}
.mchat-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.2rem;
}
.msg {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.65rem 0.7rem;
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 0.55rem;
  align-items: center;
}
.msg__avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  color: white;
  font-size: 0.58rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.msg__name {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text);
}
.msg__text {
  font-size: 0.64rem;
  color: var(--text-mute);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 130px;
}
.msg__time { font-size: 0.58rem; color: var(--text-dim); }

/* MChat features */
.mchat-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
.mf {
  padding: 1.25rem;
  background: rgba(94, 234, 212, 0.04);
  border: 1px solid rgba(94, 234, 212, 0.18);
  border-radius: 14px;
}
.mf h4 {
  font-family: var(--f-display);
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--cyan);
}
.mf p { font-size: 0.82rem; color: var(--text-mute); line-height: 1.5; }

/* JomShop phone variant */
.phone--jomshop { transform: rotateY(-6deg) rotateX(3deg); }
.phone__inner--js {
  background: linear-gradient(180deg, #18092d 0%, #050818 40%);
  padding-top: 48px;
}
.js-head { margin-bottom: 0.4rem; }
.js-balance {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.20), rgba(94, 234, 212, 0.10));
  border: 1px solid var(--border-2);
  border-radius: 14px;
  padding: 1rem;
}
.js-amount {
  font-family: var(--f-display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0.3rem;
}
.js-progs {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.5rem;
}
.js-prog {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-2);
}
.js-prog > span:first-child { font-size: 1.1rem; }
.js-prog small { font-size: 0.58rem; }
.pill {
  font-family: var(--f-mono);
  font-size: 0.55rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
  border: 1px solid rgba(110, 231, 183, 0.3);
  font-weight: 500;
}

/* JomShop programs grid */
.programs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 2rem;
}
.program {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all 0.25s var(--ease);
}
.program:hover { border-color: var(--purple); transform: translateY(-2px); }
.program__badge {
  display: inline-block;
  width: fit-content;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}
.program__badge--budi { background: rgba(16, 185, 129, 0.18); color: #6ee7b7; }
.program__badge--sara { background: rgba(244, 63, 94, 0.18); color: #fda4af; }
.program__badge--gen  { background: rgba(91, 142, 255, 0.18); color: #93c5fd; }
.program strong { font-size: 0.9rem; color: var(--text); font-weight: 500; }
.js-note { margin-top: 1.75rem; color: var(--text-mute); letter-spacing: 0.04em; line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════ */
/* STACK — 5 layers                                             */
/* ═══════════════════════════════════════════════════════════ */
.section--stack { background: var(--bg-2); }
.stack-list { display: grid; gap: 0.85rem; max-width: 1000px; margin: 0 auto; }
.stack-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.stack-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--lc, var(--blue));
  opacity: 0.7;
}
.stack-item:hover {
  background: var(--surface-2);
  border-color: var(--border-2);
  transform: translateX(6px);
}
.stack-item__num {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--lc, var(--blue));
  width: 36px;
}
.stack-item__body h4 {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
  color: var(--text);
}
.stack-item__body p {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--text-mute);
}
.stack-item__tag {
  font-size: 0.7rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--lc, var(--blue));
  color: var(--lc, var(--blue));
  letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════════════════════ */
/* PARTNERS                                                     */
/* ═══════════════════════════════════════════════════════════ */
.section--partners {
  background: var(--bg);
}
.partners-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-bottom: 5rem;
}
.pcard {
  grid-column: span 2;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.3s var(--ease);
}
.pcard:hover {
  border-color: var(--border-2);
  background: var(--surface-2);
  transform: translateY(-3px);
}
.pcard--featured {
  grid-column: span 3;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), var(--surface));
  border-color: rgba(251, 191, 36, 0.25);
}
.pcard__crest { width: 56px; height: 56px; }
.pcard__crest svg { border-radius: 12px; }
.pcard__crest--gold { box-shadow: 0 0 20px rgba(251, 191, 36, 0.2); }
.pcard h4 {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}
.pcard p {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}

/* Moat */
.moat {
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-2);
  border-radius: var(--r-2xl);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.moat::before {
  content: '';
  position: absolute;
  top: -30%; left: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.moat .eyebrow { color: var(--gold); }
.moat__title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  margin: 0.5rem 0 3rem;
  position: relative;
  z-index: 1;
}
.moat__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.moat__cell {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.5rem 1.25rem;
  text-align: left;
}
.moat__cell strong {
  display: block;
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.moat__cell span { font-size: 0.83rem; color: var(--text-mute); line-height: 1.5; }

/* ═══════════════════════════════════════════════════════════ */
/* MANIFESTO                                                    */
/* ═══════════════════════════════════════════════════════════ */
.section--manifesto {
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
  padding: clamp(6rem, 12vw, 10rem) 0;
}
.manifesto { max-width: 950px; margin: 0 auto; text-align: center; }
.manifesto .eyebrow { margin-bottom: 3rem; }
.manifesto__rows { display: grid; gap: 1.25rem; margin-bottom: 4.5rem; }
.manifesto__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all 0.3s var(--ease);
}
.manifesto__row:hover {
  border-color: var(--blue);
  background: var(--surface-2);
}
.manifesto__from {
  font-size: 1.05rem;
  color: var(--text-mute);
  text-align: right;
  letter-spacing: 0.04em;
}
.manifesto__to {
  font-family: var(--f-display);
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: left;
}
.manifesto__arrow { width: 60px; height: 24px; color: var(--blue); }
.manifesto__close {
  font-size: clamp(1.75rem, 4vw, 2.85rem);
  letter-spacing: -0.03em;
}

/* ═══════════════════════════════════════════════════════════ */
/* CONTACT                                                      */
/* ═══════════════════════════════════════════════════════════ */
.section--contact {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(91, 142, 255, 0.15), transparent 60%),
    var(--bg);
  position: relative;
  overflow: hidden;
}
.section--contact::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}
.contact__head { text-align: center; max-width: 800px; margin: 0 auto 4rem; }
.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.ccard {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: all 0.3s var(--ease);
  overflow: hidden;
}
.ccard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.ccard > * { position: relative; z-index: 1; }
.ccard:hover { border-color: var(--blue); transform: translateY(-4px); }
.ccard:hover::before { opacity: 0.08; }
.ccard__icon {
  width: 44px; height: 44px;
  background: rgba(91, 142, 255, 0.12);
  border: 1px solid rgba(91, 142, 255, 0.25);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--blue-bright);
  margin-bottom: 0.75rem;
}
.ccard__label {
  font-size: 0.7rem;
  color: var(--text-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ccard__value {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}
.ccard__arrow {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  color: var(--text-mute);
  transition: all 0.3s var(--ease);
}
.ccard:hover .ccard__arrow { color: var(--blue-bright); transform: translate(3px, -3px); }

/* ═══════════════════════════════════════════════════════════ */
/* FOOTER                                                       */
/* ═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding-top: 4rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.footer__brand { max-width: 360px; }
.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1rem;
}
.footer__logo svg { width: 32px; height: 32px; }
.footer__brand p {
  font-size: 0.92rem;
  color: var(--text-mute);
  line-height: 1.6;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer__cols h5 {
  font-size: 0.72rem;
  color: var(--text-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer__cols ul { display: grid; gap: 0.6rem; }
.footer__cols a, .footer__cols li {
  font-size: 0.88rem;
  color: var(--text-2);
}
.footer__cols a:hover { color: var(--blue-bright); }
.footer__bottom { padding: 1.5rem 0; }
.footer__bottom__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════ */
/* REVEAL                                                       */
/* ═══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════ */
/* RESPONSIVE                                                   */
/* ═══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero__inner, .showcase__grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero__deck { max-width: 480px; margin: 0 auto; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento__card { grid-column: span 2; }
  .bento__card--lg { grid-column: span 4; grid-row: auto; }
  .partners-bento { grid-template-columns: repeat(4, 1fr); }
  .pcard, .pcard--featured { grid-column: span 2; }
  .moat__grid { grid-template-columns: repeat(2, 1fr); }
  .cap-list, .mchat-features, .programs-grid, .contact__grid { grid-template-columns: 1fr 1fr; }
  .contact__grid { gap: 0.85rem; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .nav__inner { height: 60px; }
  .nav__menu {
    position: fixed;
    top: 72px; left: 1rem; right: 1rem;
    background: var(--glass-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-2);
    border-radius: var(--r-lg);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    transform: translateY(-130%);
    transition: transform 0.3s var(--ease);
  }
  .nav__menu.is-open { transform: translateY(0); }
  .nav__toggle { display: flex; }
  .hero { padding-top: 110px; }
  .hero__deck { grid-template-columns: 1fr; }
  .stats__inner { grid-template-columns: 1fr 1fr; }
  .stat { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
  .bento { grid-template-columns: 1fr; }
  .bento__card, .bento__card--lg, .bento__card--quote, .bento__card--problem { grid-column: span 1; }
  .partners-bento { grid-template-columns: 1fr 1fr; }
  .pcard, .pcard--featured { grid-column: span 1; }
  .pcard--featured { grid-column: span 2; }
  .moat__grid { grid-template-columns: 1fr; }
  .cap-list, .mchat-features, .programs-grid, .contact__grid { grid-template-columns: 1fr; }
  .stack-item { grid-template-columns: auto 1fr; gap: 1rem; padding: 1.25rem; }
  .stack-item__tag { grid-column: 1 / -1; justify-self: start; }
  .manifesto__row { grid-template-columns: 1fr; gap: 0.85rem; }
  .manifesto__from, .manifesto__to { text-align: center; }
  .manifesto__arrow { transform: rotate(90deg); margin: 0 auto; }
  .footer__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .phone { transform: rotate(-3deg); }
  .phone--mchat { transform: rotate(3deg); }
  .phone--jomshop { transform: rotate(-2deg); }
  .moat, .ccard { padding: 1.75rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__word { opacity: 1; transform: none; animation: none; }
}
