/* ==========================================================================
   Design System — Portfolio Premium
   Glassmorphism, gradient biru, soft shadow, animasi 60fps.
   ========================================================================== */

:root {
  --surface-base: #f6f8fd;
  --surface-ink: #0b1220;
  --surface-muted: #64748b;
  --surface-line: rgba(15, 23, 42, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-shadow: 0 18px 50px -24px rgba(15, 40, 100, 0.35);
  --brand: #2563eb;
  --brand-soft: #60a5fa;
  --grad-brand: linear-gradient(135deg, #3b82f6 0%, #2563eb 45%, #1d4ed8 100%);
  --radius-xl2: 1.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html.dark {
  --surface-base: #060b18;
  --surface-ink: #e8eefc;
  --surface-muted: #93a4c3;
  --surface-line: rgba(255, 255, 255, 0.10);
  --glass-bg: rgba(17, 25, 45, 0.62);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-shadow: 0 20px 60px -28px rgba(0, 0, 0, 0.8);
}

* { border-color: var(--surface-line); }

html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  background: var(--surface-base);
  color: var(--surface-ink);
  transition: background-color .45s var(--ease), color .45s var(--ease);
  overflow-x: hidden;
}

.text-muted { color: var(--surface-muted); }
.text-ink { color: var(--surface-ink); }
.border-line { border-color: var(--surface-line); }

/* ---------- Background aurora ---------- */
.bg-aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; border-radius: 50%; filter: blur(90px); opacity: .40; will-change: transform; }
.blob-1 { background: #93c5fd; top: -12%; left: -8%; animation: blobMove 22s var(--ease) infinite alternate; }
.blob-2 { background: #a5b4fc; top: 20%; right: -12%; animation: blobMove 26s var(--ease) infinite alternate-reverse; }
.blob-3 { background: #bae6fd; bottom: -18%; left: 25%; animation: blobMove 30s var(--ease) infinite alternate; }
html.dark .blob { opacity: .22; }
.grid-mask { position: absolute; inset: 0;
  background-image: linear-gradient(var(--surface-line) 1px, transparent 1px), linear-gradient(90deg, var(--surface-line) 1px, transparent 1px);
  background-size: 62px 62px; mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 70%); opacity: .55; }

@keyframes blobMove { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(40px,-40px,0) scale(1.15); } }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-radius: var(--radius-xl2);
}
.glass-soft { background: color-mix(in oklab, var(--glass-bg) 88%, transparent); border: 1px solid var(--glass-border); border-radius: 1.25rem; backdrop-filter: blur(14px); }

.card-hover { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card-hover:hover { transform: translateY(-6px); box-shadow: 0 28px 60px -28px rgba(37, 99, 235, .45); }

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0 0; }

/* ---------- Navbar ---------- */
#siteHeader { transition: padding .45s var(--ease); }
#siteHeader.is-scrolled { padding-top: .35rem; }
#navShell.is-scrolled { padding-top: .45rem; padding-bottom: .45rem; box-shadow: 0 16px 40px -26px rgba(15,40,100,.55); transform: scale(.985); }
.nav-link { display: inline-block; padding: .5rem .8rem; border-radius: .8rem; font-size: .875rem; font-weight: 600; color: var(--surface-muted); transition: color .25s, background-color .25s, transform .25s; }
.nav-link:hover { color: var(--brand); background: color-mix(in oklab, var(--brand) 8%, transparent); transform: translateY(-1px); }
.nav-link.is-active { color: var(--brand); background: color-mix(in oklab, var(--brand) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--brand) 20%, transparent); }
.mobile-menu[hidden] { display: none; }
.logo-mark { display: grid; place-items: center; filter: drop-shadow(0 8px 18px rgba(37,99,235,.35)); }

/* Utilitas `hidden` harus tetap menang atas komponen di bawah ini
   (app.css dimuat setelah tailwind.css sehingga display komponen
   akan menimpa .hidden bila tidak dipaksa). */
[hidden], .hidden { display: none !important; }

/* ---------- Buttons ---------- */
.btn-primary, .btn-outline, .btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px;
  padding: .8rem 1.4rem; font-size: .875rem; font-weight: 700; line-height: 1;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s;
  position: relative; overflow: hidden; cursor: pointer;
}
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 14px 34px -14px rgba(37,99,235,.75); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -14px rgba(37,99,235,.9); }
.btn-outline { background: var(--glass-bg); color: var(--surface-ink); border: 1px solid var(--glass-border); }
.btn-outline:hover { transform: translateY(-2px); color: var(--brand); }
.btn-ghost { background: color-mix(in oklab, var(--brand) 10%, transparent); color: var(--brand); }
.btn-ghost:hover { background: color-mix(in oklab, var(--brand) 18%, transparent); }
.btn-sm { padding: .55rem 1rem; font-size: .8rem; }
.btn-orb { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 999px; background: rgba(255,255,255,.22); }
.icon-btn { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; background: var(--glass-bg); border: 1px solid var(--glass-border); color: var(--surface-ink); cursor: pointer; transition: transform .3s var(--ease), color .3s; }
.icon-btn:hover { transform: translateY(-2px) rotate(6deg); color: var(--brand); }
#themeToggle .moon { display: none; }
html.dark #themeToggle .sun { display: none; }
html.dark #themeToggle .moon { display: block; }

.ripple-wave { position: absolute; border-radius: 999px; background: rgba(255,255,255,.5); transform: scale(0); animation: rippleGo .6s ease-out forwards; pointer-events: none; }
@keyframes rippleGo { to { transform: scale(3.2); opacity: 0; } }

.link { color: var(--brand); font-weight: 600; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; color: var(--brand); background: none; border: 0; cursor: pointer; }
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.badge { display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px; background: var(--glass-bg); border: 1px solid var(--glass-border); padding: .45rem .9rem; font-size: .75rem; font-weight: 700; box-shadow: var(--glass-shadow); }
.wave { display: inline-block; animation: waveHand 2.4s ease-in-out infinite; transform-origin: 70% 70%; }
@keyframes waveHand { 0%,60%,100% { transform: rotate(0); } 10% { transform: rotate(14deg); } 20% { transform: rotate(-8deg); } 30% { transform: rotate(14deg); } }
.chip { display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--glass-border); background: var(--glass-bg); padding: .35rem .75rem; font-size: .72rem; font-weight: 700; color: var(--surface-ink); cursor: pointer; transition: color .25s, transform .25s; }
.chip:hover { color: var(--brand); transform: translateY(-1px); }
.tech { border-radius: .6rem; background: color-mix(in oklab, var(--brand) 10%, transparent); padding: .2rem .55rem; font-size: .68rem; font-weight: 700; color: var(--brand); }

/* ---------- Hero ---------- */
.hero-stage { position: relative; min-height: 420px; display: grid; place-items: center; padding: 2rem; overflow: hidden; }
@media (min-width: 1024px) { .hero-stage { min-height: 560px; } }
.hero-logo { animation: floaty 6s ease-in-out infinite; filter: drop-shadow(0 30px 50px rgba(37,99,235,.4)); }
@keyframes floaty { 0%,100% { transform: translateY(-10px); } 50% { transform: translateY(10px); } }
.orbit { position: absolute; inset: 0; }
.ring { position: absolute; top: 50%; left: 50%; border: 1px dashed color-mix(in oklab, var(--brand) 28%, transparent); border-radius: 50%; transform: translate(-50%,-50%) rotate(0); }
.ring-1 { width: 78%; height: 46%; animation: spin 26s linear infinite; }
.ring-2 { width: 96%; height: 60%; animation: spin 40s linear infinite reverse; }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
.orb { position: absolute; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #bfdbfe, #2563eb); box-shadow: 0 10px 26px -8px rgba(37,99,235,.7); }
.orb-a { width: 22px; height: 22px; top: 22%; right: 18%; animation: floaty 5s ease-in-out infinite; }
.orb-b { width: 15px; height: 15px; bottom: 26%; left: 14%; animation: floaty 7s ease-in-out infinite reverse; }
.orb-c { width: 28px; height: 28px; bottom: 12%; right: 30%; animation: floaty 9s ease-in-out infinite; }
.hero-badge { position: absolute; top: 1.2rem; right: 1.2rem; display: flex; gap: .6rem; align-items: center; padding: .7rem .9rem; font-size: .75rem; }
.hero-badge strong { display: block; }
.hero-badge em { font-style: normal; color: var(--surface-muted); }
.dot-live { width: .55rem; height: .55rem; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulseDot 2s infinite; }
@keyframes pulseDot { 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.hero-plans { position: absolute; bottom: 1rem; right: 1rem; left: 1rem; padding: .9rem; animation: floaty 10s ease-in-out infinite; }
@media (min-width: 640px) { .hero-plans { left: auto; width: 22rem; } }
.plan-mini { position: relative; border-radius: .9rem; border: 1px solid var(--surface-line); padding: .6rem; }
.plan-mini.is-popular { border-color: color-mix(in oklab, var(--brand) 45%, transparent); box-shadow: 0 10px 26px -16px rgba(37,99,235,.8); }
.plan-mini ul { margin-top: .35rem; display: grid; gap: .15rem; font-size: .6rem; color: var(--surface-muted); }
.plan-tag { position: absolute; top: -.6rem; left: 50%; transform: translateX(-50%); border-radius: 999px; background: var(--grad-brand); color: #fff; padding: .1rem .45rem; font-size: .55rem; font-weight: 700; }

/* ---------- Stats & trusted ---------- */
.stat-item { text-align: left; padding: .35rem .5rem; }
.stat-ico { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: .9rem; background: color-mix(in oklab, var(--brand) 12%, transparent); }
.avatars { display: flex; }
.av { width: 2.2rem; height: 2.2rem; border-radius: 999px; margin-left: -.6rem; border: 2px solid var(--surface-base); background: var(--grad-brand); }
.av-1 { background: linear-gradient(135deg,#fbbf24,#f97316); margin-left: 0; }
.av-2 { background: linear-gradient(135deg,#34d399,#059669); }
.av-3 { background: linear-gradient(135deg,#60a5fa,#2563eb); }
.av-4 { background: linear-gradient(135deg,#f472b6,#db2777); }
.av-5 { background: linear-gradient(135deg,#a78bfa,#6d28d9); }
.av-count { display: grid; place-items: center; font-size: .65rem; font-weight: 800; color: #fff; }
.stars { color: #f59e0b; letter-spacing: .1em; font-size: .95rem; }
.client-logo { font-weight: 800; letter-spacing: -.02em; color: var(--surface-muted); font-size: .95rem; }
.avatar-initial { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; background: var(--grad-brand); color: #fff; font-weight: 800; }

/* ---------- Cards ---------- */
.svc-ico { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 1rem; background: var(--grad-brand); color: #fff; font-size: 1.15rem; box-shadow: 0 14px 30px -14px rgba(37,99,235,.8); }
.thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg,#dbeafe,#bfdbfe); display: grid; place-items: center; }
html.dark .thumb { background: linear-gradient(135deg,#111c34,#1e293b); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card-hover:hover .thumb img { transform: scale(1.07); }
.thumb-sm { aspect-ratio: 16/9; }
.thumb-lg { aspect-ratio: 21/9; }
.thumb-fallback { font-size: 2rem; font-weight: 900; color: rgba(37,99,235,.4); }
.thumb-cat { position: absolute; top: .7rem; left: .7rem; border-radius: 999px; background: rgba(255,255,255,.85); color: #1d4ed8; padding: .25rem .6rem; font-size: .65rem; font-weight: 800; backdrop-filter: blur(6px); }
.filter-chip { border-radius: 999px; border: 1px solid var(--glass-border); background: var(--glass-bg); padding: .5rem 1rem; font-size: .78rem; font-weight: 700; cursor: pointer; transition: all .3s var(--ease); }
.filter-chip.is-active { background: var(--grad-brand); color: #fff; box-shadow: 0 12px 26px -14px rgba(37,99,235,.9); }
.price-card { position: relative; padding: 2rem; transition: transform .45s var(--ease); }
.price-card.is-popular { transform: translateY(-10px); box-shadow: 0 30px 60px -30px rgba(37,99,235,.7); animation: floaty 9s ease-in-out infinite; }
.price-tag { position: absolute; top: -.8rem; left: 50%; transform: translateX(-50%); border-radius: 999px; background: var(--grad-brand); color: #fff; padding: .25rem .8rem; font-size: .65rem; font-weight: 800; }
.step-num { display: grid; place-items: center; width: 2rem; height: 2rem; flex: none; border-radius: .8rem; background: var(--grad-brand); color: #fff; font-size: .8rem; font-weight: 800; }
.cta { padding: clamp(2rem,5vw,3.5rem); text-align: left; }

/* ---------- Slider ---------- */
.slider { overflow: hidden; }
.slider-track { display: flex; gap: 1.25rem; transition: transform .7s var(--ease); will-change: transform; cursor: grab; }
.slider-track.is-dragging { transition: none; cursor: grabbing; }
.slide { flex: 0 0 100%; }
@media (min-width: 640px) { .slide { flex-basis: calc(50% - .625rem); } }
@media (min-width: 1024px) { .slide { flex-basis: calc(33.333% - .84rem); } }
.quote { font-size: 2.4rem; line-height: 1; color: color-mix(in oklab, var(--brand) 45%, transparent); }
.slider-dots { display: flex; gap: .4rem; }
.slider-dots button { width: .5rem; height: .5rem; border-radius: 999px; background: var(--surface-line); border: 0; cursor: pointer; transition: width .3s, background-color .3s; }
.slider-dots button.is-active { width: 1.6rem; background: var(--brand); }

/* ---------- Team flip ---------- */
.flip { perspective: 1200px; min-height: 300px; }
.flip-inner { position: relative; height: 100%; min-height: 300px; transition: transform .8s var(--ease); transform-style: preserve-3d; }
.flip:hover .flip-inner, .flip:focus-within .flip-inner { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; backface-visibility: hidden; display: flex; flex-direction: column; justify-content: center; }
.flip-back { transform: rotateY(180deg); }
.member-photo { width: 5rem; height: 5rem; border-radius: 999px; object-fit: cover; margin: 0 auto; box-shadow: 0 14px 30px -16px rgba(37,99,235,.8); }
.bar { height: .35rem; border-radius: 999px; background: var(--surface-line); overflow: hidden; margin-top: .2rem; }
.bar-fill { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--grad-brand); transition: width 1.2s var(--ease); }

/* ---------- Accordion ---------- */
.accordion { padding: 1rem 1.25rem; }
.accordion summary { display: flex; justify-content: space-between; gap: 1rem; cursor: pointer; font-weight: 700; font-size: .95rem; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion[open] summary span { transform: rotate(45deg); }
.accordion summary span { transition: transform .3s var(--ease); color: var(--brand); }
.acc-body { margin-top: .75rem; font-size: .875rem; color: var(--surface-muted); line-height: 1.7; }

/* ---------- Forms ---------- */
.lbl { display: grid; gap: .35rem; font-size: .78rem; font-weight: 700; color: var(--surface-muted); }
.req { color: #ef4444; }
.field { width: 100%; border-radius: .95rem; border: 1px solid var(--surface-line); background: var(--glass-bg); padding: .7rem .9rem; font-size: .875rem; font-weight: 500; color: var(--surface-ink); transition: border-color .25s, box-shadow .25s; }
.field:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 16%, transparent); }
.field.file { padding: .5rem .6rem; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.alert-error { border-radius: .9rem; background: rgba(239,68,68,.12); color: #b91c1c; padding: .7rem .9rem; font-size: .8rem; font-weight: 600; }
.prose-custom { line-height: 1.85; font-size: .95rem; color: var(--surface-ink); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2,6,23,.55); backdrop-filter: blur(6px); animation: fadeIn .3s ease; }
.modal-panel { position: relative; width: 100%; max-width: 42rem; max-height: 90vh; overflow-y: auto; padding: 1.75rem; animation: modalIn .45s var(--ease); }
.modal-close { position: absolute; top: .8rem; right: 1rem; font-size: 1.6rem; line-height: 1; background: none; border: 0; color: var(--surface-muted); cursor: pointer; }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 6.5rem; left: 50%; transform: translate(-50%, 20px); z-index: 90; border-radius: 999px; padding: .75rem 1.2rem; font-size: .8rem; font-weight: 700; color: #fff; background: #0f172a; opacity: 0; pointer-events: none; transition: opacity .35s, transform .35s var(--ease); }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.toast.is-error { background: #dc2626; }
.toast.is-ok { background: #15803d; }

/* ---------- Bottom nav & WA ---------- */
.bottom-nav { position: fixed; bottom: .9rem; left: 50%; transform: translateX(-50%); z-index: 60; display: flex; gap: .1rem; padding: .5rem; border-radius: 999px; background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); backdrop-filter: blur(18px); }
.bottom-nav a { display: grid; justify-items: center; gap: .15rem; padding: .45rem .7rem; border-radius: 999px; font-size: .6rem; font-weight: 700; color: var(--surface-muted); transition: color .3s, background-color .3s, transform .3s var(--ease); }
.bottom-nav a svg { width: 20px; height: 20px; }
.bottom-nav a.is-active { color: var(--brand); background: color-mix(in oklab, var(--brand) 12%, transparent); transform: translateY(-3px); filter: drop-shadow(0 6px 12px rgba(37,99,235,.5)); }
.wa-float { position: fixed; right: 1rem; bottom: 5.6rem; z-index: 60; display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 999px; background: #22c55e; color: #fff; box-shadow: 0 16px 32px -14px rgba(34,197,94,.9); transition: transform .3s var(--ease); }
.wa-float:hover { transform: translateY(-3px) scale(1.05); }
@media (min-width: 1024px) { .wa-float { bottom: 1.5rem; } }

/* ---------- Loader, cursor, reveal ---------- */
.page-loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--surface-base); transition: opacity .5s ease, visibility .5s; }
.page-loader.is-done { opacity: 0; visibility: hidden; }
.loader-ring { width: 44px; height: 44px; border-radius: 50%; border: 3px solid color-mix(in oklab, var(--brand) 20%, transparent); border-top-color: var(--brand); animation: spinLoader .8s linear infinite; }
@keyframes spinLoader { to { transform: rotate(360deg); } }
.cursor-glow { position: fixed; top: 0; left: 0; z-index: 5; width: 340px; height: 340px; margin: -170px 0 0 -170px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(59,130,246,.16), transparent 65%); opacity: 0; transition: opacity .4s; will-change: transform; }
@media (pointer: fine) { .cursor-glow.is-on { opacity: 1; } }

.reveal { opacity: 0; will-change: transform, opacity; }
.reveal[data-reveal="up"] { transform: translateY(28px); }
.reveal[data-reveal="left"] { transform: translateX(34px); }
.reveal[data-reveal="right"] { transform: translateX(-34px); }
.reveal[data-reveal="zoom"] { transform: scale(.94); }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }

/* ---------- Admin ---------- */
.admin-side { position: sticky; top: 0; align-self: flex-start; width: 16rem; height: 100vh; overflow-y: auto; padding: 1.25rem 1rem; border-radius: 0 1.5rem 1.5rem 0; flex: none; }
@media (max-width: 1023px) { .admin-side { position: fixed; z-index: 70; transform: translateX(-101%); transition: transform .4s var(--ease); } .admin-side.is-open { transform: none; } }
.side-link { display: block; border-radius: .8rem; padding: .55rem .75rem; font-size: .82rem; font-weight: 600; color: var(--surface-muted); transition: all .25s; }
.side-link:hover { background: color-mix(in oklab, var(--brand) 10%, transparent); color: var(--brand); }
.side-link.is-active { background: var(--grad-brand); color: #fff; }
.tbl { width: 100%; border-collapse: collapse; font-size: .8rem; }
.tbl th, .tbl td { padding: .65rem .6rem; text-align: left; border-bottom: 1px solid var(--surface-line); }
.tbl th { font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; color: var(--surface-muted); }
.pill { border-radius: 999px; padding: .15rem .55rem; font-size: .65rem; font-weight: 800; background: var(--surface-line); }
.pill-new { background: rgba(37,99,235,.15); color: #1d4ed8; }
.pill-process { background: rgba(245,158,11,.18); color: #b45309; }
.pill-done { background: rgba(34,197,94,.18); color: #15803d; }

/* ---------- Demo pages ---------- */
.demo-bar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: .75rem; padding: .6rem 1rem; font-size: .78rem; background: var(--glass-bg); border-bottom: 1px solid var(--surface-line); backdrop-filter: blur(14px); }
.demo-nav { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem; max-width: 72rem; margin: 0 auto; }
.demo-nav nav { margin-left: auto; display: flex; gap: 1rem; font-size: .82rem; color: var(--surface-muted); }
.demo-hero { display: grid; gap: 2rem; align-items: center; max-width: 72rem; margin: 0 auto; padding: 3rem 1.5rem; }
@media (min-width: 900px) { .demo-hero { grid-template-columns: 1.1fr .9fr; } }
.demo-hero h1 { font-size: clamp(2rem,4.6vw,3.2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; margin: .75rem 0; }
.demo-hero .lead { color: var(--surface-muted); margin-bottom: 1.5rem; max-width: 34rem; }
.demo-center { text-align: center; justify-items: center; }
.demo-visual { height: 18rem; border-radius: 1.5rem; background: var(--grad-brand); box-shadow: 0 30px 60px -30px rgba(37,99,235,.8); }
.demo-grid { display: grid; gap: 1rem; max-width: 72rem; margin: 0 auto; padding: 1rem 1.5rem 3rem; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); }
.demo-grid article { padding: 1.5rem; border-radius: 1.25rem; background: var(--glass-bg); border: 1px solid var(--glass-border); }
.demo-grid h3 { font-weight: 700; margin-bottom: .35rem; }
.demo-grid p { font-size: .85rem; color: var(--surface-muted); }
.demo-products { display: grid; gap: 1rem; max-width: 72rem; margin: 0 auto; padding: 1rem 1.5rem 3rem; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); }
.demo-products article { padding: 1rem; border-radius: 1.25rem; background: var(--glass-bg); border: 1px solid var(--glass-border); text-align: center; }
.demo-products .ph { display: block; height: 7rem; border-radius: 1rem; background: linear-gradient(135deg,#dbeafe,#bfdbfe); margin-bottom: .75rem; }
.demo-products h3 { font-size: .85rem; font-weight: 700; }
.demo-products p { font-size: .85rem; color: var(--brand); font-weight: 800; margin-bottom: .6rem; }
.demo-foot { padding: 2rem 1.5rem; text-align: center; font-size: .78rem; color: var(--surface-muted); }
.demo-app { display: grid; grid-template-columns: 14rem 1fr; min-height: 90vh; }
@media (max-width: 780px) { .demo-app { grid-template-columns: 1fr; } }
.demo-side { padding: 1.5rem 1rem; display: grid; align-content: start; gap: .35rem; background: var(--glass-bg); border-right: 1px solid var(--surface-line); font-size: .85rem; }
.demo-side a { color: var(--surface-muted); padding: .45rem .6rem; border-radius: .7rem; }
.demo-main { padding: 2rem 1.5rem; }
.demo-main h1 { font-size: 1.6rem; font-weight: 800; margin-bottom: 1.25rem; }
.demo-kpi { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); }
.demo-kpi div { padding: 1.1rem; border-radius: 1.25rem; background: var(--glass-bg); border: 1px solid var(--glass-border); }
.demo-kpi p { font-size: .72rem; color: var(--surface-muted); }
.demo-kpi strong { font-size: 1.35rem; }
.demo-chart { margin-top: 1.5rem; display: flex; align-items: flex-end; gap: .75rem; height: 15rem; padding: 1.25rem; border-radius: 1.5rem; background: var(--glass-bg); border: 1px solid var(--glass-border); }
.demo-chart span { flex: 1; border-radius: .6rem .6rem 0 0; background: var(--grad-brand); animation: barGrow 1s var(--ease) both; }
@keyframes barGrow { from { height: 0 !important; } }

.footer-title { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--surface-muted); }
.footer-list { margin-top: .75rem; display: grid; gap: .5rem; font-size: .85rem; }
.footer-list a:hover { color: var(--brand); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
