/* ╔══════════════════════════════════════════════════
 VINSTACK — CSS Premium Edition
 Mewah · Minimalis · Profesional · Responsive
╚══════════════════════════════════════════════════ */

/* ─── 1. CUSTOM PROPERTIES ──────────────────────── */
:root {
  --brand: #5b21b6;
  --brandlt: #7c3aed;
  --yellow: #fbbf24;
  --teal: #14b8a6;
  --coral: #f87171;
  --ink: #1a1a2e;
  --ink2: #374151;
  --muted: #6b7280;
  --surface: #f8f7ff;
  --white: #ffffff;
  --border: #e9e9f0;
  --nav-h: 66px;
  --max-w: 1200px;
  --px: clamp(20px, 5vw, 80px);
  --sec-py: clamp(72px, 10vw, 120px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.18s var(--ease-io);
  --t-base: 0.32s var(--ease-io);
  --t-slow: 0.55s var(--ease-out);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --sh-sm: 0 1px 3px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.07);
  --sh-md: 0 4px 8px rgba(0,0,0,.05), 0 16px 48px rgba(0,0,0,.10);
  --sh-lg: 0 8px 16px rgba(0,0,0,.06), 0 32px 80px rgba(0,0,0,.14);
  --sh-br: 0 6px 28px rgba(91,33,182,.30);
}

/* ─── 2. RESET ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* CRITICAL: Body tersembunyi total sampai JS siap */
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #fff;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Saat loading/welcome aktif, content tidak scroll */
body.screen-active {
  overflow-y: hidden;
}

/* Body ready — konten muncul, scroll normal */
body.app-ready {
  overflow-y: auto;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(91,33,182,.14); color: var(--ink); }

/* ─── 3. SCROLLBAR ───────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: #c4b5fd; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* ─── 4. PROGRESS BAR ────────────────────────────── */
#progress-bar {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 2.5px; width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--teal), var(--yellow));
  transition: width .1s linear;
  pointer-events: none;
  border-radius: 0 2px 2px 0;
}

/* ─── 5. LOADING SCREEN ─────────────────────────── */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Selalu visible saat awal — tidak ada opacity awal yang bisa flicker */
}

/* State: slide up wipe */
.slide-up-wipe {
  transform: translateY(-130vh) !important;
}

.loading-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.loading-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  animation: loadLogoIn 0.6s var(--ease-out) both;
}

@keyframes loadLogoIn {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.loading-brand {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -.03em;
}

.loading-brand strong { font-weight: 900; color: var(--brand); }

.loading-bar-wrap {
  width: 220px;
  animation: fadeInUp 0.5s 0.2s var(--ease-out) both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.loading-bar-track {
  height: 4px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 10px;
}

.loading-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--teal));
  border-radius: 99px;
  transition: width 0.4s var(--ease-io);
}

.loading-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .04em;
}

.loading-dots {
  display: flex;
  gap: 6px;
  animation: fadeInUp 0.5s 0.3s var(--ease-out) both;
}

.loading-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.3;
  animation: dotPulse 1.4s ease infinite;
}

.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
  0%,80%,100% { opacity: 0.3; transform: scale(1); }
  40%          { opacity: 1;   transform: scale(1.3); }
}

/* ─── 6. WELCOME SCREEN ─────────────────────────── */
#welcome-screen {
  overflow: hidden;
}

.welcome-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 24px;
  max-width: 600px;
  width: 100%;
}

@keyframes welcomeIn {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.welcome-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 24px;
  letter-spacing: .02em;
}

.welcome-title {
  font-family: 'Caveat', cursive;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}

.welcome-name {
  background: linear-gradient(135deg, var(--yellow), #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.welcome-sub {
  font-size: clamp(.9375rem, 2.5vw, 1.125rem);
  color: rgba(255,255,255,.55);
  margin-bottom: 40px;
  font-weight: 500;
  letter-spacing: .01em;
}

.btn-welcome {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand), var(--brandlt));
  color: #fff;
  padding: 14px 32px;
  border-radius: 99px;
  box-shadow: 0 8px 32px rgba(91,33,182,.4);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn-welcome::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15), transparent);
  opacity: 0;
  transition: opacity var(--t-fast);
}

.btn-welcome:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 48px rgba(91,33,182,.55);
}

.btn-welcome:hover::before { opacity: 1; }

.welcome-skip { margin-top: 16px; }

.welcome-skip button {
  font-size: .8125rem;
  font-weight: 500;
  color: rgba(255,255,255,.35);
  transition: color var(--t-fast);
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.welcome-skip button:hover { color: rgba(255,255,255,.7); }

/* Welcome CTA wrapper */
.welcome-cta { display: flex; justify-content: center; }

/* Orbs */
.welcome-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.w-orb1 {
  width: 500px; height: 500px;
  top: -150px; left: -100px;
  background: rgba(91,33,182,.3);
}

.w-orb2 {
  width: 400px; height: 400px;
  bottom: -100px; right: -80px;
  background: rgba(20,184,166,.2);
}

.w-orb3 {
  width: 300px; height: 300px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  background: rgba(251,191,36,.12);
}

/* Grid pattern */
.welcome-grid {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

/* ─── 7. BACK TO TOP ─────────────────────────────── */
#back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 800;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--border);
  box-shadow: var(--sh-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: all var(--t-base);
}

#back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

#back-to-top:hover {
  background: var(--brand); border-color: var(--brand);
  color: #fff; box-shadow: var(--sh-br); transform: translateY(-3px);
}

/* ─── 9. STICKY WA BUTTON ───────────────────────── */
#wa-sticky {
  position: fixed; bottom: 80px; right: 28px; z-index: 800;
  display: flex; align-items: center; gap: 8px;
  background: #22c55e; color: #fff;
  padding: 10px 18px; border-radius: 99px;
  font-size: .8125rem; font-weight: 700;
  box-shadow: 0 6px 24px rgba(34,197,94,.35);
  transition: all var(--t-base);
  white-space: nowrap;
}

#wa-sticky:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(34,197,94,.5);
}

#wa-sticky span { display: none; }

@media (min-width: 640px) { #wa-sticky span { display: inline; } }

/* ─── 10. LAYOUT ──────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

.sec { padding-block: var(--sec-py); }
.bg-surface { background: var(--surface); }
.bg-white { background: #fff; }

/* ─── 11. NAVBAR ──────────────────────────────────── */
#navbar {
  position: fixed; top: 0; inset-inline: 0; z-index: 900;
  height: var(--nav-h);
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--t-base);
}

#navbar.scrolled {
  background: rgba(255,255,255,.96);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,.06);
}

.nav-inner {
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: var(--px);
  height: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}

/* Logo */
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; transition: opacity var(--t-fast);
  text-decoration: none;
}

.nav-logo:hover { opacity: .82; }

.logo-mark {
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(91,33,182,.3));
  transition: transform var(--t-base);
}

.nav-logo:hover .logo-mark { transform: rotate(-3deg) scale(1.05); }

.logo-text {
  line-height: 1;
  font-size: 1.0625rem; font-weight: 500;
  letter-spacing: -.025em;
}

.logo-vin { color: var(--ink); }
.logo-stack { font-weight: 900; color: var(--brand); }

/* Desktop Links */
.nav-links {
  display: none; align-items: center; gap: 2px;
}

@media (min-width: 1024px) { .nav-links { display: flex; } }

.nav-lnk {
  font-size: .875rem; font-weight: 500;
  color: var(--muted); padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
  position: relative;
}

.nav-lnk:hover { color: var(--ink); background: var(--surface); }

.nav-lnk.active {
  color: var(--brand);
  background: rgba(91,33,182,.07);
  font-weight: 600;
}

/* Nav Actions */
.nav-actions {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}

/* Hamburger */
#hamburger {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 5.5px;
  width: 38px; height: 38px; border-radius: var(--r-sm);
  transition: background var(--t-fast);
}

@media (min-width: 1024px) { #hamburger { display: none; } }

#hamburger:hover { background: var(--surface); }

.hline {
  display: block; width: 20px; height: 1.5px;
  background: var(--ink2); border-radius: 99px;
  transform-origin: center;
  transition: all .3s var(--ease-out);
}

#hamburger.open .l1 { transform: translateY(7px) rotate(45deg); }
#hamburger.open .l2 { opacity: 0; transform: scaleX(0); }
#hamburger.open .l3 { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
#mobile-menu {
  position: fixed; top: var(--nav-h); inset-inline: 0; z-index: 800;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
  pointer-events: none;
  transition: max-height .45s var(--ease-out), opacity .3s ease, visibility .3s;
  box-shadow: 0 20px 60px rgba(0,0,0,.1);
}

#mobile-menu.open {
  max-height: 600px; opacity: 1; visibility: visible;
  pointer-events: auto;
}

.mob-inner {
  max-width: var(--max-w); margin-inline: auto;
  padding: 16px var(--px) 24px;
  display: flex; flex-direction: column; gap: 2px;
}

.mob-lnk {
  display: flex; align-items: center; gap: 10px;
  font-size: .9375rem; font-weight: 500;
  color: var(--ink2); padding: 11px 14px; border-radius: var(--r-md);
  transition: all var(--t-fast);
}

.mob-lnk:hover {
  background: var(--surface);
  color: var(--ink);
  padding-left: 18px;
}

.mob-lnk svg { color: var(--muted); flex-shrink: 0; }
.mob-divider { height: 1px; background: var(--border); margin: 8px 0; }
.mob-cta { margin-top: 4px; justify-content: center; }

/* ─── 12. BUTTONS ─────────────────────────────────── */
.btn-brand {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .875rem; font-weight: 700;
  background: var(--brand); color: #fff;
  padding: 10px 20px; border-radius: var(--r-md);
  border: 1.5px solid transparent;
  box-shadow: var(--sh-br);
  transition: all var(--t-base);
  white-space: nowrap; cursor: pointer;
  position: relative; overflow: hidden;
}

.btn-brand::after {
  content: '';
  position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.2) 50%, transparent 80%);
  animation: shimBtn 3.5s ease infinite;
}

@keyframes shimBtn { 0%{left:-80%} 60%{left:140%} 100%{left:140%} }

.btn-brand:hover {
  background: var(--brandlt);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(91,33,182,.4);
}

.btn-brand:active { transform: translateY(0); }

.btn-lg { font-size: .9375rem; padding: 13px 26px; border-radius: var(--r-lg); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .9375rem; font-weight: 600; color: var(--ink2);
  padding: 13px 26px; border-radius: var(--r-lg);
  border: 1.5px solid var(--border);
  transition: all var(--t-base); background: #fff;
}

.btn-outline:hover {
  background: var(--surface);
  border-color: #c4b5fd;
  color: var(--brand);
  transform: translateY(-2px);
}

/* ─── 13. AVAILABILITY BADGE ─────────────────────── */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  width: fit-content;
  margin-inline: auto;
}
.avail-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; font-weight: 600; color: var(--ink2);
  background: #fff; border: 1px solid var(--border);
  border-radius: 99px; padding: 6px 16px;
  box-shadow: var(--sh-sm); margin-bottom: 28px;
}

.avail-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,.2);
  animation: pulse 2.5s ease infinite; flex-shrink: 0;
}

@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
  50%      { box-shadow: 0 0 0 7px rgba(34,197,94,.07); }
}

/* ─── 14. HERO ───────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding-top: var(--nav-h);
  padding-inline: var(--px);
  overflow: hidden; background: #fff;
}

.hero-grid-pattern {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, transparent 30%, black 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, transparent 30%, black 100%);
  opacity: 0.5;
}

.blob {
  position: absolute; border-radius: 50%;
  filter: blur(72px); pointer-events: none; z-index: 0;
}

.blob-1 { width: 600px; height: 500px; top: -150px; left: -100px; background: rgba(196,181,253,.22); }
.blob-2 { width: 500px; height: 400px; top: 30%; right: -120px; background: rgba(20,184,166,.12); }
.blob-3 { width: 400px; height: 350px; bottom: 50px; left: 30%; background: rgba(251,191,36,.1); }

.hero-wrap {
  position: relative; z-index: 2;
  max-width: 820px; margin-inline: auto;
  text-align: center; padding-block: 80px 140px;
}

.hero-h1 {
  font-family: 'Caveat', cursive;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -.02em; color: var(--ink);
  margin-bottom: 24px;
}

.h1-highlight {
  display: inline-block; position: relative; color: var(--brand);
}

.h1-highlight::after {
  content: ''; position: absolute;
  bottom: 4px; left: -4px; right: -4px; height: 14px;
  background: rgba(251,191,36,.35); border-radius: 4px;
  z-index: -1; transform: rotate(-.5deg);
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem); color: var(--muted);
  line-height: 1.75; max-width: 580px;
  margin-inline: auto; margin-bottom: 40px;
}

.sub-underline {
  position: relative; font-weight: 600; color: var(--ink2);
}

.sub-underline::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--teal); border-radius: 99px;
}

.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: center;
  margin-bottom: 40px;
}

.hero-annotation {
  display: flex; align-items: flex-start; gap: 12px;
  justify-content: flex-end;
  max-width: 500px; margin-inline: auto; margin-bottom: 48px;
}

.annot-arrow { width: 60px; flex-shrink: 0; transform: scaleX(-1); }

.annot-text {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 10px 16px;
  box-shadow: var(--sh-sm); text-align: left; flex: 1;
}

.annot-text strong {
  display: block; font-size: .875rem; font-weight: 700;
  color: var(--ink); margin-bottom: 2px;
}

.annot-text span { font-size: .8125rem; color: var(--muted); }

/* Stats row */
.hero-stats {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 0;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 18px 28px;
  box-shadow: var(--sh-sm);
  width: fit-content; margin-inline: auto;
}

/* ─── HERO MOCKUP (macOS Safari Window) ─────────────── */
.hero-mockup {
  margin-top: 48px;
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  position: relative;
  z-index: 10;
}

.mac-window {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 12px;
  box-shadow:
    0 2px 0 rgba(0,0,0,.06),
    0 20px 60px rgba(0,0,0,.12),
    0 8px 24px rgba(124,58,237,.08);
  overflow: hidden;
  transform: perspective(1200px) rotateX(3deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-mockup:hover .mac-window {
  transform: perspective(1200px) rotateX(0deg);
  box-shadow:
    0 2px 0 rgba(0,0,0,.06),
    0 32px 80px rgba(0,0,0,.16),
    0 12px 32px rgba(124,58,237,.12);
}

/* Titlebar */
.mac-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #f5f5f7;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.mac-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.mac-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
}

.mac-red    { background: #ff5f57; }
.mac-yellow { background: #ffbd2e; }
.mac-green  { background: #28c840; }

.mac-addressbar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: .68rem;
  color: #555;
  min-width: 0;
  max-width: 280px;
  margin-inline: auto;
}

.mac-actions {
  flex-shrink: 0;
  color: #999;
  cursor: default;
}

/* Mac Body: Sidebar + Content */
.mac-body {
  display: flex;
  height: 320px;
}

.mac-sidebar {
  width: 120px;
  flex-shrink: 0;
  background: #fafafa;
  border-right: 1px solid rgba(0,0,0,.06);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mac-nav-logo {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,.07);
}

.mac-nav-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: .62rem;
  color: #777;
  cursor: default;
  transition: background .15s;
}

.mac-nav-item.mac-nav-active {
  background: rgba(124,58,237,.08);
  color: #5b21b6;
  font-weight: 600;
}

.mac-content {
  flex: 1;
  padding: 16px 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mac-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mac-page-title {
  font-size: .8rem;
  font-weight: 700;
  color: #1a1a2e;
  letter-spacing: -.02em;
}

.mac-badge {
  font-size: .55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #059669;
  background: #d1fae5;
  padding: 3px 8px;
  border-radius: 99px;
}

.mac-stats-row {
  display: flex;
  gap: 10px;
}

.mac-stat-card {
  flex: 1;
  background: #f8f7ff;
  border: 1px solid rgba(124,58,237,.1);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mac-stat-label {
  font-size: .55rem;
  color: #888;
  font-weight: 500;
}

.mac-stat-value {
  font-size: .85rem;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: -.03em;
  line-height: 1;
}

.mac-stat-up {
  font-size: .55rem;
  font-weight: 600;
  color: #059669;
}

.mac-chart-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
}

.mac-chart-title {
  font-size: .6rem;
  color: #aaa;
  font-weight: 500;
}

.mac-chart {
  flex: 1;
  width: 100%;
  height: 100%;
  display: block;
}

.stat-pill {
  display: flex; flex-direction: column; align-items: center;
  gap: 3px; padding-inline: 24px;
}

.stat-pill strong {
  font-size: 1.3rem; font-weight: 900;
  letter-spacing: -.03em; color: var(--ink); line-height: 1;
}

.stat-pill span { font-size: .7rem; font-weight: 500; color: var(--muted); letter-spacing: .02em; }

.stat-dot { width: 1px; height: 32px; background: var(--border); flex-shrink: 0; }

.hero-curve {
  position: absolute; bottom: -1px; left: 0; right: 0;
  z-index: 1; pointer-events: none; line-height: 0;
}

.hero-curve svg { width: 100%; }

/* ─── 15. MARQUEE ────────────────────────────────── */
.marquee-wrap {
  border-block: 1px solid var(--border);
  background: var(--surface);
  padding-block: 18px;
  overflow: hidden;
}

.marquee-track { display: flex; overflow: hidden; }

.marquee-row {
  display: flex; align-items: center; white-space: nowrap;
  animation: marquee 28s linear infinite;
  flex-shrink: 0; will-change: transform;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.marquee-track:hover .marquee-row { animation-play-state: paused; }

.marquee-row span {
  font-size: .8125rem; font-weight: 600;
  color: #9ca3af; padding-inline: 20px;
}

.marquee-row .sep { color: var(--border); padding-inline: 0; }

/* ─── 16. SECTION HEADERS ────────────────────────── */
.sec-head {
  text-align: center; max-width: 680px;
  margin-inline: auto; margin-bottom: 64px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .7rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
  background: rgba(91,33,182,.08);
  border: 1px solid rgba(91,33,182,.15);
  padding: 5px 14px; border-radius: 99px; margin-bottom: 16px;
}

.sec-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800; line-height: 1.14;
  letter-spacing: -.03em; color: var(--ink); margin-bottom: 18px;
}

.sec-desc {
  font-size: 1.0625rem; color: var(--muted);
  line-height: 1.72; max-width: 540px; margin-inline: auto;
}

/* ─── 17. TWO COL GRID ───────────────────────────── */
.two-col-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px;
}

@media (min-width: 768px) {
  .two-col-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── 18. FEATURE CARDS ─────────────────────────── */
.feature-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-2xl); padding: 36px;
  transition: all var(--t-slow);
  position: relative; overflow: hidden;
}

.feature-card::before {
  content: ''; position: absolute; inset: 0;
  border-radius: inherit; opacity: 0;
  transition: opacity var(--t-base);
}

.card-blue::before { background: linear-gradient(135deg, rgba(124,58,237,.04) 0%, transparent 60%); }
.card-purple::before { background: linear-gradient(135deg, rgba(217,119,6,.04) 0%, transparent 60%); }

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
  border-color: rgba(91,33,182,.18);
}

.feature-card:hover::before { opacity: 1; }

.fc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }

.fc-icon {
  width: 50px; height: 50px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.fc-tag {
  font-size: .7rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 99px;
}

.feature-card h3 {
  font-size: 1.375rem; font-weight: 800;
  letter-spacing: -.025em; color: var(--ink);
  margin-bottom: 12px; line-height: 1.25;
}

.feature-card p {
  font-size: .9375rem; color: var(--muted);
  line-height: 1.7; margin-bottom: 20px;
}

.fc-list {
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px;
}

.fc-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: .875rem; color: var(--ink2); font-weight: 500;
}

.fc-list li::before {
  content: '';
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: rgba(91,33,182,.08);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%235b21b6' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

.fc-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.fc-tags span {
  font-size: .75rem; font-weight: 600; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border);
  padding: 4px 10px; border-radius: 99px;
}

/* ─── FC MOCKUP (CSS iPhone 15) ─────────────────────── */
.fc-mockup {
  margin-top: 28px;
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  padding: 20px 0 8px;
}

.css-phone-wrap {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: flex-start;
}

/* Floating Widgets */
.fw {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.09);
  border-radius: 10px;
  padding: 8px 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  z-index: 10;
  white-space: nowrap;
  animation: floatWidget 3s ease-in-out infinite;
}

.fw-top {
  top: 0;
  left: -20px;
  animation-delay: 0s;
}

.fw-bottom {
  bottom: 30px;
  right: -16px;
  animation-delay: 1.5s;
}

.fw > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.fw-title {
  font-size: .58rem;
  color: #999;
  font-weight: 500;
}

.fw-val {
  font-size: .72rem;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: -.02em;
}

@keyframes floatWidget {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

/* Phone Frame */
.css-phone {
  width: 152px;
  background: #0f0f0f;
  border-radius: 36px;
  padding: 8px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08),
    inset 0 0 0 1px rgba(255,255,255,.04),
    0 20px 40px rgba(0,0,0,.3),
    0 4px 12px rgba(124,58,237,.15);
  position: relative;
  transition: transform .4s ease, box-shadow .4s ease;
}

.feature-card:hover .css-phone {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08),
    inset 0 0 0 1px rgba(255,255,255,.04),
    0 32px 60px rgba(0,0,0,.35),
    0 8px 20px rgba(124,58,237,.2);
}

.phone-island {
  width: 48px;
  height: 12px;
  background: #0f0f0f;
  border-radius: 99px;
  margin: 0 auto 6px;
  position: relative;
  z-index: 2;
}

.phone-screen {
  background: #1a0f2e;
  border-radius: 28px;
  padding: 12px 10px 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Screen content */
.ps-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ps-greeting {
  font-size: .58rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
}

.ps-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.ps-metric-big {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  background: rgba(124,58,237,.2);
  border: 1px solid rgba(124,58,237,.3);
  border-radius: 10px;
}

.ps-metric-label {
  font-size: .48rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
}

.ps-metric-num {
  font-size: .68rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1;
}

.ps-metric-badge {
  font-size: .48rem;
  font-weight: 700;
  color: #34d399;
}

.ps-chart {
  width: 100%;
  height: 36px;
  display: block;
}

.ps-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ps-list-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ps-list-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ps-list-name {
  flex: 1;
  font-size: .5rem;
  color: rgba(255,255,255,.6);
}

.ps-list-val {
  font-size: .5rem;
  font-weight: 700;
  color: rgba(255,255,255,.85);
}

/* ─── LIVE PREVIEW SECTION ──────────────────────── */
.preview-section {
  padding: 40px 0;
  width: 100%;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 100%;
}

.preview-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.preview-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  color: #1a1a2e;
}

.preview-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.preview-item .mac-window {
  box-shadow:
    0 10px 30px rgba(0,0,0,.08),
    0 4px 12px rgba(124,58,237,.06);
}

.preview-item:hover .mac-window {
  transform: perspective(1200px) rotateX(0deg) translateY(-8px);
  box-shadow:
    0 16px 40px rgba(0,0,0,.12),
    0 8px 20px rgba(124,58,237,.1);
}

/* Mini Frontend UI */
.fe-body {
  flex-direction: column;
  background: #f8f9fa;
  padding: 0;
}

.fe-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.fe-logo {
  font-size: .65rem;
  color: #1a1a2e;
}

.fe-nav-links {
  display: flex;
  gap: 12px;
  font-size: .55rem;
  color: #666;
  font-weight: 500;
}

.fe-nav-cta {
  font-size: .55rem;
  font-weight: 700;
  color: #fff;
  background: #1a1a2e;
  padding: 4px 10px;
  border-radius: 99px;
}

.fe-hero {
  display: flex;
  padding: 20px 16px;
  gap: 16px;
  background: linear-gradient(135deg, #f3e8ff, #fff);
  flex: 1;
}

.fe-hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.fe-eyebrow {
  font-size: .45rem;
  font-weight: 700;
  color: #7c3aed;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.fe-headline {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.1;
  color: #1a1a2e;
}

.fe-sub {
  font-size: .55rem;
  color: #555;
  line-height: 1.4;
}

.fe-cta-row {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.fe-btn-primary {
  font-size: .5rem;
  font-weight: 700;
  color: #fff;
  background: #7c3aed;
  padding: 6px 12px;
  border-radius: 6px;
}

.fe-btn-ghost {
  font-size: .5rem;
  font-weight: 700;
  color: #1a1a2e;
  background: rgba(0,0,0,.05);
  padding: 6px 12px;
  border-radius: 6px;
}

.fe-hero-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fe-product-card {
  background: #fff;
  padding: 8px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  position: relative;
  width: 100px;
}

.fe-product-img {
  width: 100%;
  height: 70px;
  background: #f1f5f9;
  border-radius: 6px;
  margin-bottom: 8px;
}

.fe-product-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fe-product-name {
  font-size: .5rem;
  font-weight: 600;
  color: #1a1a2e;
}

.fe-product-price {
  font-size: .6rem;
  font-weight: 800;
  color: #7c3aed;
}

.fe-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  font-size: .4rem;
  font-weight: 700;
  color: #fff;
  background: #ef4444;
  padding: 2px 6px;
  border-radius: 99px;
  text-transform: uppercase;
}

.fe-strips {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 10px;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.06);
}

.fe-strip {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .5rem;
  font-weight: 600;
  color: #666;
}

/* Admin Table UI */
.adm-table-wrap {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.adm-table-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-size: .65rem;
  font-weight: 700;
  color: #1a1a2e;
}

.adm-btn-add {
  font-size: .5rem;
  font-weight: 600;
  color: #fff;
  background: #1a1a2e;
  padding: 4px 8px;
  border-radius: 4px;
}

.adm-table {
  display: flex;
  flex-direction: column;
}

.adm-row {
  display: flex;
  padding: 6px 12px;
  border-bottom: 1px solid rgba(0,0,0,.04);
  align-items: center;
}

.adm-row:last-child {
  border-bottom: none;
}

.adm-row-head {
  background: #f8f9fa;
  font-size: .48rem;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.adm-row:not(.adm-row-head) {
  font-size: .55rem;
  color: #333;
}

.adm-col-name { flex: 2; font-weight: 600; color: #1a1a2e; }
.adm-col-cat { flex: 1.5; color: #666; }
.adm-col-price { flex: 1; font-weight: 600; }
.adm-col-status { flex: 1; display: flex; justify-content: flex-end; }

.adm-status {
  font-size: .45rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 99px;
  text-transform: uppercase;
}

.adm-status.active { background: #d1fae5; color: #059669; }
.adm-status.draft { background: #f3f4f6; color: #4b5563; }

/* ─── 19. CUSTOM SHOWCASE ────────────────────────── */
.custom-showcase {
  background: linear-gradient(135deg, #f5f3ff 0%, #fdf4ff 50%, #fef3c7 100%);
  border: 1px solid rgba(91,33,182,.12);
  border-radius: var(--r-2xl); padding: 40px 40px 32px;
  display: flex; flex-direction: column; gap: 28px;
}

.cs-header { max-width: 600px; }

.cs-label {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .7rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand);
  background: rgba(91,33,182,.08); border: 1px solid rgba(91,33,182,.15);
  padding: 5px 14px; border-radius: 99px; margin-bottom: 14px;
}

.cs-title {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 800; color: var(--ink);
  letter-spacing: -.025em; line-height: 1.2; margin-bottom: 10px;
}

.cs-sub {
  font-size: .9375rem; color: var(--muted); line-height: 1.7;
}

.cs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.cs-item {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 18px 16px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  transition: all var(--t-slow); cursor: default;
}

.cs-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: rgba(91,33,182,.2);
  background: #fff;
}

.cs-item--more {
  border-style: dashed;
  background: rgba(124,58,237,.03);
}

.cs-icon {
  width: 38px; height: 38px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform var(--t-base);
}

.cs-item:hover .cs-icon { transform: scale(1.1); }

.cs-item span {
  font-size: .8125rem; font-weight: 700;
  color: var(--ink2); line-height: 1.3; letter-spacing: -.01em;
}

.cs-footer {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  padding-top: 4px;
  border-top: 1px solid rgba(91,33,182,.1);
}

.cs-cta-note {
  font-size: .8125rem; color: var(--muted); line-height: 1;
}

.cs-cta-note strong { color: var(--brand); font-weight: 700; }


/* ─── 20. PAIN GRID ──────────────────────────────── */
.pain-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

@media (min-width: 640px)  { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pain-grid { grid-template-columns: repeat(4, 1fr); } }

.pain-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 28px 24px;
  transition: all var(--t-slow); position: relative;
}

.pain-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
  border-color: rgba(91,33,182,.18);
}

.pain-icon { margin-bottom: 10px; }

.pain-stat {
  font-size: 1.5rem; font-weight: 900;
  letter-spacing: -.03em; margin-bottom: 8px; line-height: 1;
}

.pain-card h4 {
  font-size: 1rem; font-weight: 700; color: var(--ink);
  margin-bottom: 10px; letter-spacing: -.015em;
}

.pain-card p { font-size: .875rem; color: var(--muted); line-height: 1.68; }

/* ─── 21. WORKFLOW ───────────────────────────────── */
.timeline-bar {
  width: 100%; height: 3px; background: var(--border);
  border-radius: 99px; overflow: hidden; margin-bottom: 40px;
}

.tl-fill {
  height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--brand), var(--teal), var(--yellow));
  border-radius: 99px;
  transform: translateX(-100%);
  transition: transform 1.5s var(--ease-out);
}

.tl-fill.animated { transform: translateX(0); }

.wf-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

@media (min-width: 640px)  { .wf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .wf-grid { grid-template-columns: repeat(5, 1fr); } }

.wf-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 28px 22px;
  transition: all var(--t-slow); position: relative; overflow: hidden;
}

.wf-card::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(to bottom, var(--brand), var(--teal));
  opacity: 0;
  transition: opacity var(--t-base);
}

.wf-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }

.wf-card:hover::after {
  opacity: 1;
}

.wf-icon {
  width: 44px; height: 44px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

.wf-step {
  display: block; font-size: .65rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}

.wf-card h4 {
  font-size: 1rem; font-weight: 700; color: var(--ink);
  margin-bottom: 10px; letter-spacing: -.015em;
}

.wf-card p {
  font-size: .8125rem; color: var(--muted);
  line-height: 1.65; margin-bottom: 14px;
}

.wf-badge {
  display: inline-block; font-size: .65rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 99px;
}

.badge-free   { background: #dcfce7; color: #166534; }
.badge-design { background: #fdf4ff; color: #7e22ce; }
.badge-dev    { background: #eff6ff; color: #1d4ed8; }
.badge-qa     { background: #ecfdf5; color: #065f46; }
.badge-live   { background: #fff7ed; color: #c2410c; }

/* ─── 22. TECH STACK ─────────────────────────────── */
.tech-feat-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px;
}

@media (min-width: 768px) { .tech-feat-grid { grid-template-columns: 1fr 1fr; } }

.tech-feat-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 28px 32px;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 20px;
  transition: all var(--t-slow);
}

.tech-feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: rgba(91,33,182,.18);
}

.tfc-left { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

.tfc-logo {
  width: 56px; height: 56px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-sm); flex-shrink: 0;
}

.tfc-left h4 {
  font-size: 1.125rem; font-weight: 700; color: var(--ink);
  letter-spacing: -.02em; margin-bottom: 3px;
}

.tfc-left p { font-size: .8125rem; color: var(--muted); font-weight: 500; }

.tfc-bar-wrap {
  display: flex; align-items: center; gap: 14px;
  flex: 1; min-width: 140px; max-width: 260px;
}

.tfc-bar-bg {
  flex: 1; height: 3px; background: var(--border);
  border-radius: 99px; overflow: hidden;
}

.tfc-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--c, var(--brand)), color-mix(in srgb, var(--c, var(--brand)) 70%, white));
  border-radius: 99px;
  transition: width 1.4s var(--ease-out);
}

.tfc-pct { font-size: .875rem; font-weight: 700; color: var(--ink2); flex-shrink: 0; }

/* App icon grid */
.app-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 14px;
}

@media (min-width: 480px) { .app-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .app-grid { grid-template-columns: repeat(6, 1fr); } }

.app-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 24px 16px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 12px;
  transition: all var(--t-slow); cursor: default;
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
  border-color: rgba(91,33,182,.18);
}

.app-icon {
  width: 68px; height: 68px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--t-base);
}

.app-card:hover .app-icon { transform: scale(1.1) rotate(-3deg); }

.app-name { font-size: .875rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }

.app-sub { font-size: .75rem; color: var(--muted); font-weight: 500; margin-top: -6px; }

/* Figma card */
.figma-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 28px 32px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px;
  transition: all var(--t-slow);
}

.figma-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: rgba(91,33,182,.18);
}

.figma-left { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

.figma-left h4 { font-size: 1.0625rem; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.figma-left p  { font-size: .8125rem; color: var(--muted); }

.figma-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.figma-tags span {
  font-size: .75rem; font-weight: 600; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border);
  padding: 5px 12px; border-radius: 99px; transition: all var(--t-fast);
}

.figma-tags span:hover {
  background: rgba(91,33,182,.08);
  border-color: rgba(91,33,182,.2);
  color: var(--brand);
}

/* ─── 23. FAQ ─────────────────────────────────────── */
.faq-list { max-width: 780px; margin-inline: auto; }

.faq-item { border-bottom: 1px solid var(--border); overflow: hidden; }
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  width: 100%; display: flex; align-items: center; gap: 16px;
  padding: 20px 0; font-size: 1rem; font-weight: 600; color: var(--ink);
  text-align: left; cursor: pointer;
  transition: color var(--t-fast);
  background: none; border: none;
}

.faq-q:hover { color: var(--brand); }
.faq-q[aria-expanded="true"] { color: var(--brand); }

.faq-num {
  font-size: .7rem; font-weight: 800; letter-spacing: .06em;
  color: var(--brand); background: rgba(91,33,182,.08);
  padding: 3px 8px; border-radius: 6px; flex-shrink: 0;
}

.faq-q > span:nth-child(2) { flex: 1; }

.faq-icon {
  flex-shrink: 0; color: var(--muted);
  transition: transform .3s var(--ease-out), color var(--t-fast);
}

.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg); color: var(--brand);
}

.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease-out), padding .4s var(--ease-out);
}

.faq-a.open { max-height: 300px; }

.faq-a p {
  font-size: .9375rem; color: var(--muted);
  line-height: 1.75; padding: 0 0 22px 42px;
}

/* ─── 24. CTA DARK ───────────────────────────────── */
.cta-dark-section {
  background: var(--ink);
  padding-block: var(--sec-py);
  position: relative; overflow: hidden;
}

.cta-shape { position: absolute; border-radius: 50%; pointer-events: none; }

.s1 { width:500px; height:500px; top:-150px; right:-100px; background:rgba(124,58,237,.18); filter:blur(80px); }
.s2 { width:400px; height:400px; bottom:-100px; left:-80px; background:rgba(20,184,166,.12); filter:blur(80px); }
.s3 { width:300px; height:300px; top:50%; left:50%; transform:translate(-50%,-50%); background:rgba(251,191,36,.08); filter:blur(60px); }

.cta-dark-inner {
  position: relative; z-index: 2;
  text-align: center; max-width: 700px; margin-inline: auto;
}

.cta-icon-burst { margin-inline: auto; margin-bottom: 24px; }

.cta-dark-title {
  font-family: 'Caveat', cursive;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -.02em; color: #fff; margin-bottom: 20px;
}

.cta-dark-sub {
  font-size: 1.0625rem; color: rgba(255,255,255,.65);
  line-height: 1.72; max-width: 520px;
  margin-inline: auto; margin-bottom: 40px;
}

.cta-dark-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: center; margin-bottom: 28px;
}

.btn-wa-lg {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 1rem; font-weight: 800;
  background: #22c55e; color: #fff;
  padding: 14px 28px; border-radius: 99px;
  box-shadow: 0 6px 28px rgba(34,197,94,.4);
  transition: all var(--t-base); white-space: nowrap; cursor: pointer;
}

.btn-wa-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(34,197,94,.5);
}

.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 1rem; font-weight: 700;
  color: rgba(255,255,255,.8);
  padding: 14px 28px; border-radius: 99px;
  border: 1.5px solid rgba(255,255,255,.2);
  transition: all var(--t-base);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.4);
  color: #fff; transform: translateY(-2px);
}

.cta-trust-row {
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: center;
}

.cta-trust-row span {
  font-size: .8125rem; font-weight: 600;
  color: rgba(255,255,255,.5); letter-spacing: .01em;
}

/* ─── 25. FOOTER ─────────────────────────────────── */
footer { background: #fff; border-top: 1px solid var(--border); }
.footer-top { padding-block: 64px 48px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1.5fr; gap: 48px; }
}

.footer-brand-col p {
  font-size: .9375rem; color: var(--muted);
  line-height: 1.72; margin-block: 16px 18px; max-width: 320px;
}

.footer-logo-link { display: inline-flex; margin-bottom: 16px; }

.foot-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; font-weight: 600; color: var(--muted);
}

.footer-col h5 {
  font-size: .7rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 18px;
}

.footer-col a {
  display: block; font-size: .9375rem; font-weight: 500;
  color: var(--muted); margin-bottom: 10px; transition: all var(--t-fast);
}

.footer-col a:hover { color: var(--brand); transform: translateX(3px); }

.foot-contact {
  display: flex !important; align-items: center; gap: 9px;
  font-size: .875rem !important;
  padding: 8px 12px; border-radius: var(--r-md);
  border: 1px solid transparent;
  margin-bottom: 4px !important; margin-inline: -12px;
}

.foot-contact:hover {
  background: var(--surface) !important;
  border-color: var(--border) !important;
  transform: translateX(4px) !important;
}

.footer-bottom { border-top: 1px solid var(--border); padding-block: 18px; }

.footer-bottom .container {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 12px;
}

.footer-bottom p { font-size: .8125rem; color: var(--muted); font-weight: 500; }

.foot-socials { display: flex; align-items: center; gap: 8px; }

.foot-socials a {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); border: 1px solid var(--border);
  transition: all var(--t-fast);
}

.foot-socials a:hover {
  background: rgba(91,33,182,.08);
  border-color: rgba(91,33,182,.25);
  color: var(--brand); transform: translateY(-2px);
}

/* ─── 26. SCROLL REVEAL ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── 27. RESPONSIVE ─────────────────────────────── */
@media (max-width: 767px) {
  :root { --sec-py: 72px; }
  .hero-stats { flex-direction: column; width: 100%; padding: 16px 20px; }
  .stat-dot { width: 100%; height: 1px; }
  .stat-pill { padding-block: 12px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas a { justify-content: center; }
  .hero-annotation { justify-content: center; }
  .flex-strip { flex-direction: column; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  #back-to-top { bottom: 24px; right: 20px; }
  .cta-dark-actions { flex-direction: column; align-items: stretch; }
  .cta-dark-actions a { justify-content: center; }

  /* macOS Window: hide sidebar on mobile, scale down */
  .mac-sidebar { display: none; }
  .mac-body { height: 180px; }
  .mac-window { transform: none !important; }
  .hero-mockup:hover .mac-window { transform: none !important; }
  .mac-stats-row { gap: 6px; }
  .mac-stat-card { padding: 8px; }

  /* iPhone: scale down floating widgets */
  .fw { display: none; }
  .css-phone { width: 128px; }

  .preview-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 479px) {
  :root { --px: 16px; }
  .hero-h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .tfc-bar-wrap { display: none; }
  .welcome-title { font-size: clamp(2.2rem, 10vw, 3.5rem); }
}

@media (min-width: 1440px) {
  :root { --max-w: 1320px; --sec-py: 140px; }
}

/* ─── 28. REDUCED MOTION ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-row { animation: none; }
}

/* ─── TOUR BOT ─────────────────────────────────────── */
#tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 89999;
  pointer-events: none;
}

/* Spotlight mask */
#tour-mask {
  position: fixed;
  inset: 0;
  z-index: 89998;
  background: rgba(0, 0, 0, 0);
  transition: background 0.4s ease;
  pointer-events: none;
}

#tour-mask.active {
  background: rgba(0, 0, 0, 0.65);
  pointer-events: auto;
}

/* Highlight box - spotlight effect */
#tour-highlight {
  position: fixed;
  z-index: 89999;
  border-radius: 12px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.65);
  border: 2.5px solid var(--brand);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  opacity: 0;
}

#tour-highlight.visible {
  opacity: 1;
}

/* Tour card / tooltip */
#tour-card {
  position: fixed;
  z-index: 90000;
  width: min(340px, calc(100vw - 32px));
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25), 0 4px 16px rgba(91,33,182,.2);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  border: 1px solid var(--border);
}

#tour-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.tour-bot-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.tour-bot-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brandlt));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(91,33,182,.35);
  animation: botBounce 2s ease infinite;
}

@keyframes botBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-3px); }
}

.tour-bot-info strong {
  display: block;
  font-size: .875rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
}

.tour-bot-info span {
  font-size: .75rem;
  color: var(--muted);
  font-weight: 500;
}

.tour-step-badge {
  margin-left: auto;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(91,33,182,.08);
  padding: 3px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}

.tour-message {
  font-size: .9375rem;
  color: var(--ink2);
  line-height: 1.65;
  margin-bottom: 18px;
  min-height: 48px;
}

/* Typing indicator */
.tour-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 18px;
  min-height: 24px;
}

.tour-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.4;
  animation: typingDot 1.2s ease infinite;
}

.tour-typing span:nth-child(2) { animation-delay: 0.2s; }
.tour-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 80%, 100% { opacity: 0.4; transform: scale(1); }
  40%            { opacity: 1;   transform: scale(1.2); }
}

.tour-progress {
  display: flex;
  gap: 5px;
  margin-bottom: 16px;
  align-items: center;
}

.tour-progress-dot {
  height: 4px;
  flex: 1;
  border-radius: 99px;
  background: var(--border);
  transition: background 0.3s ease, flex 0.3s ease;
}

.tour-progress-dot.done {
  background: var(--brand);
}

.tour-progress-dot.active {
  background: var(--brandlt);
  flex: 2;
}

.tour-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tour-btn-next {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: .875rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand), var(--brandlt));
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tour-btn-next:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(91,33,182,.35);
}

.tour-btn-skip {
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tour-btn-skip:hover {
  color: var(--ink);
  background: var(--surface);
}

/* Arrow pointer dari card ke elemen */
#tour-arrow {
  position: fixed;
  z-index: 90001;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#tour-arrow.visible { opacity: 1; }

/* Tour selesai - konfeti sederhana */
.tour-complete-overlay {
  position: fixed;
  inset: 0;
  z-index: 90002;
  background: rgba(0,0,0,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.tour-complete-overlay.show {
  opacity: 1;
  visibility: visible;
}

.tour-complete-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  max-width: 380px;
  width: calc(100vw - 48px);
  animation: completePop 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes completePop {
  from { transform: scale(0.8) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}

.tour-complete-emoji {
  font-size: 3.5rem;
  margin-bottom: 16px;
  display: block;
  animation: emojiSpin 0.6s ease;
}

@keyframes emojiSpin {
  from { transform: rotate(-20deg) scale(0.5); }
  to   { transform: rotate(0deg) scale(1); }
}

.tour-complete-card h3 {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -.02em;
}

.tour-complete-card p {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.tour-complete-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Floating tour fab (saat tour aktif) */
#tour-fab {
  position: fixed;
  bottom: 160px;
  right: 28px;
  z-index: 800;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brandlt));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(91,33,182,.4);
  cursor: pointer;
  border: none;
  font-size: 1.1rem;
  opacity: 0;
  visibility: hidden;
  transform: scale(0);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#tour-fab.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

#tour-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(91,33,182,.5);
}

/* Responsive tour card */
@media (max-width: 479px) {
  #tour-card {
    width: calc(100vw - 24px);
    padding: 18px;
  }
  .tour-message { font-size: .875rem; }
}