/* ─────────────────────────────────────────────────────────
   KOPI MIGI — Landing Page CSS  v2.0 (impeccable polish)
   Direction: Bold & Energik — Biru Migi drenched, type-first,
   premium detail tanpa satu card pun.
───────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

@font-face {
  font-family: "Geist", system-ui, sans-serif;
  src: url('https://assets.codepen.io/64/Mona-Sans.woff2') format('woff2 supports variations'),
       url('https://assets.codepen.io/64/Mona-Sans.woff2') format('woff2-variations');
  font-weight: 200 900;
  font-stretch: 75% 125%;
}

:root {
  --bg:           #00349b;
  --bg-deep:      #002580;
  --bg-darker:    #001a5e;
  --surface:      #00267a;
  --surface-deep: #001e66;
  --line:         rgba(255,255,255,0.12);
  --line-strong:  rgba(255,255,255,0.22);
  --text:         #ffffff;
  --text-muted:   rgba(255,255,255,0.42);
  --text-dim:     rgba(255,255,255,0.28);

  --c-yellow:     #f5c800;
  --c-yellow-dim: rgba(245,200,0,0.15);
  --c-orange:     #f05a1a;
  --c-orange-dim: rgba(240,90,26,0.15);

  --c-locate: var(--c-orange);
  --c-order:  var(--c-yellow);
  --c-menu:   var(--c-orange);
  --c-migi:   var(--c-yellow);

  /* type scale */
  --size-hero: clamp(2.6rem, 9.5vw, 7rem);
  --size-panel-label: clamp(1.9rem, 3.5vw, 2.4rem);

  /* motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.32, 0.64, 1);
}

/* ── Custom selection ───────────────────────────────────── */
::selection {
  background: var(--c-yellow);
  color: var(--bg-darker);
}

/* ── Custom scrollbar ───────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.36); }
* { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }

html, body {
  width: 100%; min-height: 100%;
  max-width: 100vw;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── Noise texture overlay (subtle depth) ───────────────── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

/* ══ HERO ═══════════════════════════════════════════════ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  min-height: 100dvh;
  width: 100%;
  padding: clamp(2.4rem, 9vw, 5.5rem) clamp(1.25rem, 5.5vw, 4rem);
  padding-bottom: clamp(8rem, 14vh, 11rem);
  gap: clamp(1.5rem, 3.5vh, 2.5rem);
  z-index: 1;
}

/* Vignette ke bawah untuk depth */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent, rgba(0, 25, 80, 0.35));
  pointer-events: none;
  z-index: 0;
}

/* ── Logo ───────────────────────────────────────────────── */
.hero-logo {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(-14px);
  animation: fadeUp 0.55s var(--ease-out-expo) 0.05s forwards;
}

.logo-img {
  height: clamp(26px, 4vw, 40px);
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

/* ── Big hero type ──────────────────────────────────────── */
.hero-text {
  position: relative;
  z-index: 1;
  font-family: "Geist", system-ui, sans-serif;
  font-weight: 600; /* Semibold to match reference */
  font-size: clamp(3rem, 10vw, 8.5rem);
  letter-spacing: -0.05em; /* Very tight tracking */
  line-height: 0.95; /* Tight leading */
  color: var(--text);
  width: 100%;
  max-width: 1200px;
  text-align: left; /* Explicitly left-aligned */
  overflow-wrap: normal;
  word-break: normal;
}

/* ── Word atoms ─────────────────────────────────────────── */
.word {
  display: inline;
  opacity: 0;
}
.word.plain { color: var(--text); }
.word.brand { color: var(--c-migi); }

/* ── Clickable link words ───────────────────────────────── */
a.word {
  text-decoration: none;
  cursor: pointer;
  display: inline;
  position: relative;

  transition:
    transform      0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter         0.18s ease,
    letter-spacing 0.18s ease;

  /* looping glow pulse — aktif setelah fadeUp selesai */
  animation: wordLinkPulse 6s ease-in-out infinite;
}

@keyframes wordLinkPulse {
  0%        { text-shadow: none; filter: brightness(1); }
  17%       { text-shadow: 0 0 8px currentColor, 0 0 16px currentColor; filter: brightness(1.13); }
  33%, 100% { text-shadow: none; filter: brightness(1); }
}

/* tap hint ripple — element sementara, expand + fade */
@keyframes tapRipple {
  0%   { transform: translate(-50%, -50%) scale(0.7); opacity: 0.9; }
  40%  { opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* hover & focus */
a.word:hover,
a.word:focus-visible {
  transform: scale(1.05) translateY(-2px);
  text-shadow:
    0 0 20px currentColor,
    0 0 50px currentColor,
    0 0 100px currentColor;
  filter: brightness(1.5);
  letter-spacing: 0.01em;
  animation: none;
}

/* tap press */
a.word:active {
  transform: scale(0.97) translateY(1px);
  filter: brightness(0.9);
  transition-duration: 0.08s;
}

a.word:focus-visible {
  outline: 2.5px dashed currentColor;
  outline-offset: 6px;
  border-radius: 3px;
}

.word.brand { color: var(--c-yellow); font-weight: 600; cursor: pointer; transition: color 0.4s var(--ease-out-expo), text-shadow 0.4s var(--ease-out-expo); }
.word.brand:hover { color: var(--c-yellow); text-shadow: 0 0 25px var(--c-yellow); }

a.word.link {
  color: var(--text);
  text-decoration: none;
  position: relative;
  transition: color 0.4s var(--ease-out-expo), text-shadow 0.4s var(--ease-out-expo);
  /* Glowing text instead of underline */
  text-shadow: 0 0 20px rgba(255,255,255,0.4);
}

a.word.link:hover {
  /* Hover effect handled per link */
}

a.word.link--locate { color: var(--c-yellow); text-shadow: 0 0 20px rgba(245,200,0,0.4); }
a.word.link--locate:hover,
a.word.link--locate:focus-visible { color: var(--c-yellow); text-shadow: 0 0 30px var(--c-yellow); }

a.word.link--order  { color: var(--c-yellow); text-shadow: 0 0 20px rgba(245,200,0,0.4); }
a.word.link--order:hover,
a.word.link--order:focus-visible { color: var(--c-yellow); text-shadow: 0 0 30px var(--c-yellow); }

a.word.link--menu   { color: var(--c-yellow); text-shadow: 0 0 20px rgba(245,200,0,0.4); }
a.word.link--menu:hover,
a.word.link--menu:focus-visible { color: var(--c-yellow); text-shadow: 0 0 30px var(--c-yellow); }

/* ── Kicker line bawah ──────────────────────────────────── */
.hero-kicker {
  position: relative;
  z-index: 1;
  font-family: "Geist", system-ui, sans-serif;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
  animation: fadeUp 0.5s var(--ease-out-expo) 1.6s forwards;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-kicker::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--text-dim);
  flex-shrink: 0;
}

/* ══ DIAGONAL TAPE ═══════════════════════════════════════ */
.tape {
  position: fixed;
  bottom: clamp(3.5%, 6%, 5%);
  left: 0;
  width: 120%;
  margin-left: -10%;
  background: var(--c-yellow);
  padding: clamp(0.65rem, 1.4vh, 1rem) 0;
  transform: rotate(-2.6deg);
  overflow: hidden;
  z-index: 10;
  /* Crisp layered shadow — offset present, not halo */
  box-shadow:
    0 8px 28px rgba(0,0,0,0.28),
    0 2px 6px rgba(0,0,0,0.16),
    0 -1px 0 rgba(255,255,255,0.08) inset;
  pointer-events: none;
  /* border accent */
  border-top: 1.5px solid rgba(255,255,255,0.22);
  border-bottom: 1.5px solid rgba(0,0,0,0.12);
}

.tape-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.tape-row {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  animation: scroll 22s linear infinite;
}

.tape-item {
  font-family: "Geist", system-ui, sans-serif;
  font-size: clamp(1rem, 2.6vw, 1.45rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bg-darker);
  padding: 0 clamp(1rem, 2.5vw, 2rem);
  line-height: 1;
  white-space: nowrap;
}

.tape-dot {
  font-size: 0.55em;
  color: rgba(0, 30, 100, 0.45);
  flex-shrink: 0;
  line-height: 1;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══ HOPPER ══════════════════════════════════════════════ */
.hopper {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.12s ease;
}

.hopper.visible {
  opacity: 1;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.38));
}

.hopper-inner {
  background: #fff;
  /* starburst seal — 10 petal */
  clip-path: polygon(
    50% 0%, 61.7% 13.9%, 79.4% 9.6%, 80.7% 27.7%, 97.6% 34.6%,
    88% 50%, 97.6% 65.5%, 80.7% 72.3%, 79.4% 90.5%, 61.7% 86.1%,
    50% 100%, 38.3% 86.1%, 20.6% 90.5%, 19.3% 72.3%, 2.5% 65.5%,
    12% 50%, 2.5% 34.6%, 19.3% 27.7%, 20.6% 9.6%, 38.3% 13.9%
  );
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  animation: hopperBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hopper-emoji {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  animation: hopperWiggle 0.38s ease 0.12s forwards;
}

@keyframes hopperBounce {
  0%   { transform: scale(0) rotate(-22deg); }
  55%  { transform: scale(1.2) rotate(8deg); }
  78%  { transform: scale(0.94) rotate(-4deg); }
  100% { transform: scale(1) rotate(0deg); }
}
@keyframes hopperWiggle {
  0%   { transform: rotate(0); }
  28%  { transform: rotate(-14deg); }
  60%  { transform: rotate(11deg); }
  100% { transform: rotate(0); }
}

/* ══ PANEL BACKDROP ══════════════════════════════════════ */
.panel-backdrop {
  position: fixed; inset: 0;
  z-index: 100;
  background: rgba(0, 8, 40, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.panel-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

/* ══ PANEL (bottom sheet) ════════════════════════════════ */
.panel {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--surface);
  /* crisp border on top */
  border-top: 1px solid rgba(255,255,255,0.14);
  border-radius: 22px 22px 0 0;
  padding-bottom: env(safe-area-inset-bottom, 1.5rem);
  transform: translateY(100%);
  transition: transform 0.44s var(--ease-spring);
  max-height: 86dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /* inner top glow */
  box-shadow: 0 -1px 0 rgba(255,255,255,0.08) inset;
}
.panel.open { transform: translateY(0); }

.panel-handle {
  width: 36px; height: 3.5px;
  background: rgba(255,255,255,0.25);
  border-radius: 999px;
  margin: 0.8rem auto 0;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.6rem 0.5rem;
}

.panel-label {
  font-family: "Geist", system-ui, sans-serif;
  font-weight: 900;
  font-size: var(--size-panel-label);
  letter-spacing: -0.01em;
  color: var(--text);
  text-transform: uppercase;
  line-height: 1;
}

.panel-close {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  width: 34px; height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.16s ease, border-color 0.16s ease;
  line-height: 1;
}
.panel-close:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.24);
}
.panel-close:focus-visible {
  outline: 2px solid var(--c-yellow);
  outline-offset: 3px;
}

/* ══ ORDER LINKS ═════════════════════════════════════════ */
.panel-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem 1.25rem;
}

.order-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    transform 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

.order-link:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
}
.order-link:active {
  transform: scale(0.975);
  background: rgba(255,255,255,0.14);
}
.order-link:focus-visible {
  outline: 2px solid var(--c-yellow);
  outline-offset: 3px;
}

.order-link-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-link-icon svg { display: block; }

.order-link-text {
  flex: 1;
  font-family: "Geist", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}

.order-link-arrow {
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-shrink: 0;
  transition: color 0.16s ease, transform 0.16s ease;
}
.order-link:hover .order-link-arrow {
  color: var(--text-muted);
  transform: translate(2px, -2px);
}

/* icon warna sudah cukup sebagai brand identifier */

/* ══ MENU PANEL — FULLSCREEN ═════════════════════════════ */
.panel--menu {
  inset: 0;
  border-radius: 0;
  border-top: none;
  max-height: 100dvh;
  height: 100dvh;
  transform: translateY(0) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.32s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
  background: var(--surface-deep);
}

.panel--menu.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

/* ── Menu tabs ──────────────────────────────────────────── */
.menu-tabs {
  display: flex;
  gap: 0.45rem;
  padding: 0.75rem 1.4rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line);
}
.menu-tabs::-webkit-scrollbar { display: none; }

.menu-tab {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--text-muted);
  padding: 0.42rem 1.05rem;
  border-radius: 999px;
  font-family: "Geist", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  line-height: 1;
}
.menu-tab:hover {
  border-color: rgba(255,255,255,0.26);
  color: rgba(255,255,255,0.7);
}
.menu-tab.active {
  background: var(--text);
  color: var(--bg-darker);
  border-color: var(--text);
  font-weight: 900;
}
.menu-tab:focus-visible {
  outline: 2px solid var(--c-yellow);
  outline-offset: 3px;
}

/* ── Menu list ──────────────────────────────────────────── */
.menu-list {
  padding: 0 1.4rem 2.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  gap: 1rem;
}
.menu-item:last-child { border-bottom: none; }

.menu-item-info { flex: 1; min-width: 0; }

.menu-item-name {
  font-family: "Geist", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.2rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.1;
}

.menu-item-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
  line-height: 1.3;
}

.menu-item-price {
  font-family: "Geist", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--c-yellow);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* ── Empty state ────────────────────────────────────────── */
.menu-empty {
  padding: 1.75rem 0;
  font-family: "Geist", system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ══ ANIMATIONS ══════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══ RESPONSIVE ══════════════════════════════════════════ */
@media (min-width: 600px) {
  .panel:not(.panel--menu) {
    max-width: 460px;
    left: 50%;
    right: auto;
    transform: translate(-50%, 100%);
    border-radius: 22px 22px 0 0;
  }
  .panel.open:not(.panel--menu) {
    transform: translate(-50%, 0);
  }
}

@media (min-width: 900px) {
  .hero {
    padding-bottom: clamp(7rem, 12vh, 10rem);
  }
  .hero-text {
    max-width: 88vw;
  }
}

/* ── Reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .tape-row { animation: none; }
  .word     { opacity: 1; animation: none !important; }
  .hero-logo, .hero-kicker { opacity: 1; animation: none !important; }
  .hopper-inner, .hopper-emoji { animation: none; }
  .panel, .panel--menu { transition: opacity 0.2s ease; }
  a.word { animation: none !important; filter: none !important; }
}

/* ══ FLOATING LOGO BUTTON (FAB) ═════════════════════════ */
.fab-logo {
  position: fixed;
  right: 20px;
  bottom: 40px;
  z-index: 900;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--c-yellow);
  border: none;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0,0,0,0.4), 0 0 0 0 rgba(245,200,0,0.5);
  overflow: hidden;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fabEntry 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards,
             fabPulse 3s ease-in-out 2.5s infinite;
}

.fab-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45), 0 0 0 8px rgba(245,200,0,0.18);
  animation-play-state: paused;
}

.fab-logo.fab--dragging {
  cursor: grabbing;
  transform: scale(1.08) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5) !important;
}

.fab-logo.fab--bounce {
  animation: fabBounce 0.45s cubic-bezier(0.34,1.56,0.64,1) forwards;
}

.fab-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(14%) sepia(87%) saturate(2815%) hue-rotate(218deg) brightness(91%) contrast(106%); /* Dark Blue #002580 */
  position: relative;
  z-index: 1;
  pointer-events: none;
}

/* Ripple effect */
.fab-ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0,0,0,0.12);
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
}

.fab-logo.fab--ripple .fab-ripple {
  animation: fabRipple 0.5s ease-out forwards;
}

/* Keyframes */
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(0,0,0,0.4), 0 0 0 0 rgba(245,200,0,0.55); }
  60%       { box-shadow: 0 6px 24px rgba(0,0,0,0.4), 0 0 0 14px rgba(245,200,0,0); }
}

@keyframes fabEntry {
  from { transform: scale(0) rotate(-30deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg);  opacity: 1; }
}

@keyframes fabBounce {
  0%   { transform: scale(1); }
  25%  { transform: scale(0.82); }
  55%  { transform: scale(1.22); }
  80%  { transform: scale(0.96); }
  100% { transform: scale(1); }
}

@keyframes fabRipple {
  from { transform: scale(0); opacity: 1; }
  to   { transform: scale(2.5); opacity: 0; }
}

/* FAB panel body */
.fab-panel-body {
  padding: 32px 20px;
  min-height: 100px;
  color: var(--text-muted);
  font-family: "Geist", system-ui, sans-serif;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Mobile: FAB lebih kecil dan lebih ke tengah */
@media (max-width: 600px) {
  .fab-logo {
    right: 16px;
    bottom: 24px;
    width: 60px;
    height: 60px;
  }
  .fab-logo-img {
    width: 36px;
    height: 36px;
  }
}



/* ══ TOP NAV (Squeezy Buttons) ═════════════════════════════ */
.top-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 2.5rem clamp(2rem, 5vw, 5rem);
  z-index: 100;
  pointer-events: none; /* Biar gak ngeblok teks di bawahnya */
}

.nav-item {
  pointer-events: auto; /* Tombol tetap bisa diklik */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-yellow);
  color: var(--bg-darker);
  border-radius: 99px;
  padding: 0.8rem 2.5rem;
  text-decoration: none;
  font-size: clamp(1.1rem, 1.4vw, 1.4rem);
  text-transform: capitalize;
  transition: all 0.5s var(--ease-out-expo);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.nav-text {
  font-family: "Geist", system-ui, sans-serif;
  font-weight: 600;
  font-stretch: 110%;
  letter-spacing: 0.02em;
  will-change: font-weight, font-stretch;
  transition: font-weight 0.5s var(--ease-out-expo), 
              font-stretch 0.5s var(--ease-out-expo);
}

.nav-arrow {
  width: 0;
  height: 1.2em;
  opacity: 0;
  margin-right: 0;
  transform: translateX(-10px);
  transition: all 0.5s var(--ease-out-expo);
}

.nav-item:hover {
  background: #ffdb33; /* Slightly brighter yellow on hover */
  padding: 0.8rem 2rem 0.8rem 1.75rem;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.nav-item:hover .nav-arrow {
  width: 1.2em;
  opacity: 1;
  margin-right: 0.4rem;
  transform: translateX(0);
}

.nav-item:hover .nav-text {
  font-weight: 900;
  font-stretch: 75%; /* Squeezy! */
}

.nav-item:active {
  transform: scale(0.95);
}

/* ══ WHATSAPP FAB PANEL ════════════════════════════════════ */
.fab-panel-body {
  padding: 1rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.chat-greeting h3 {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.chat-greeting p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.wa-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #25D366; /* WhatsApp Green */
  color: #fff;
  text-decoration: none;
  padding: 1rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.3s var(--ease-out-expo), background 0.3s;
}

.wa-button:hover {
  background: #20BA56;
  transform: translateY(-2px);
}

/* ══ MOBILE ADJUSTMENTS FOR TOP NAV ════════════════════════ */
@media (max-width: 768px) {
  .top-nav {
    padding: 1rem 0.5rem;
    gap: 0.25rem;
  }
  
  .nav-item {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    white-space: nowrap; /* Mencegah "Find Me" terbelah jadi dua baris */
  }
  
  .nav-item:hover {
    padding: 0.4rem 0.75rem;
  }

  .nav-arrow {
    display: none;
  }
}


.new-badge { font-size: 0.65em; background: #e74c3c; color: white; padding: 2px 6px; border-radius: 4px; vertical-align: middle; margin-left: 4px; font-weight: bold; letter-spacing: 0.5px; }
