/* =========================================================
   Schoolmantic Enterprise — stylesheet
   Tema terang default, tema gelap via [data-theme="dark"].
   Tanpa build tool / framework — CSS murni.
   ========================================================= */

:root {
  --primary: #3B82F6;
  --primary-600: #2563EB;
  --primary-700: #1D4ED8;
  --cyan: #06B6D4;
  --violet: #8B5CF6;
  --green: #10B981;
  --orange: #F59E0B;
  --red: #EF4444;
  --grad: linear-gradient(135deg, #3B82F6 0%, #06B6D4 50%, #8B5CF6 100%);
  --grad-soft: linear-gradient(135deg, rgba(59,130,246,.12), rgba(6,182,212,.10) 50%, rgba(139,92,246,.12));

  --bg: #F6F8FC;
  --bg-alt: #EDF2FA;
  --surface: #FFFFFF;
  --surface-2: #F3F6FB;
  --surface-glass: rgba(255,255,255,.72);
  --text: #0B1426;
  --text-2: #1E293B;
  --muted: #5B6B82;
  --border: rgba(15, 23, 42, .08);
  --border-strong: rgba(15, 23, 42, .14);
  --grid-line: rgba(59,130,246,.08);
  --shadow-sm: 0 1px 2px rgba(15,23,42,.05), 0 2px 8px rgba(15,23,42,.04);
  --shadow: 0 10px 30px -12px rgba(15,23,42,.18), 0 4px 12px -6px rgba(15,23,42,.08);
  --shadow-lg: 0 30px 60px -20px rgba(30,64,175,.28), 0 12px 24px -12px rgba(15,23,42,.12);
  --glow: 0 0 0 1px rgba(59,130,246,.18), 0 18px 40px -12px rgba(59,130,246,.45);

  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.22,1,.36,1);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
  --header-h: 72px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #060A14;
  --bg-alt: #0A1120;
  --surface: #0E1628;
  --surface-2: #131D33;
  --surface-glass: rgba(14,22,40,.72);
  --text: #E8EEF8;
  --text-2: #CBD5E1;
  --muted: #93A3BA;
  --border: rgba(148,163,184,.14);
  --border-strong: rgba(148,163,184,.24);
  --grid-line: rgba(96,165,250,.07);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow: 0 10px 30px -12px rgba(0,0,0,.6);
  --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(96,165,250,.08);
  --glow: 0 0 0 1px rgba(96,165,250,.3), 0 18px 50px -12px rgba(59,130,246,.55);
  --grad-soft: linear-gradient(135deg, rgba(59,130,246,.18), rgba(6,182,212,.12) 50%, rgba(139,92,246,.18));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65;
  color: var(--text); background: var(--bg); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; transition: background-color .5s var(--ease), color .5s var(--ease);
}
img, svg { display: block; max-width: 100%; }
main, .site-footer { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--text); letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(59,130,246,.25); }

.ic { width: 1.15em; height: 1.15em; flex: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }
.grad-text {
  background: var(--grad); background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 6s ease infinite;
}
@keyframes gradShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.4em; border-radius: 999px; font-weight: 700; font-size: .95rem; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .35s, border-color .35s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { padding: .6em 1.1em; font-size: .88rem; }
.btn-lg { padding: 1em 1.7em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-600)); box-shadow: 0 10px 24px -10px rgba(59,130,246,.7); }
.btn-primary:hover { box-shadow: 0 16px 34px -10px rgba(59,130,246,.8); }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost .ic { transition: transform .35s var(--ease); }
.btn-ghost:hover .ic { transform: translateX(4px); }
.btn-outline { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); background: rgba(59,130,246,.08); color: var(--primary); }
.btn-shine::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 200; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .4s, box-shadow .4s, border-color .4s, height .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: var(--surface-glass); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-color: var(--border); box-shadow: var(--shadow-sm);
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff;
  background: var(--grad); background-size: 200% 200%; animation: gradShift 6s ease infinite;
  box-shadow: 0 8px 20px -8px rgba(59,130,246,.8);
}
.brand-mark .ic { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-family: var(--font-head); font-size: 1.02rem; letter-spacing: .06em; }
.brand-text small { font-size: .72rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) {
  position: relative; padding: 8px 12px; border-radius: 10px; font-size: .92rem; font-weight: 600; color: var(--text-2);
  transition: color .3s, background .3s;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--primary); }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-strong);
  background: var(--surface); cursor: pointer; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: border-color .3s, transform .3s var(--ease);
}
.theme-toggle:hover { border-color: var(--primary); transform: rotate(-8deg); }
.tt-icon { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .6s var(--ease), opacity .4s; }
.tt-sun { color: var(--orange); }
.tt-moon { color: #A5B4FC; transform: translateY(120%) rotate(-90deg); opacity: 0; }
[data-theme="dark"] .tt-sun { transform: translateY(-120%) rotate(90deg); opacity: 0; }
[data-theme="dark"] .tt-moon { transform: none; opacity: 1; }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; padding: calc(var(--header-h) + 56px) 0 90px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.grid-bg {
  position: absolute; inset: -2px;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove { to { background-position: 48px 48px; } }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; transform: translate3d(var(--px, 0px), calc(var(--py, 0px) + var(--sy, 0px)), 0); transition: transform .8s var(--ease); }
.blob.b1 { width: 520px; height: 520px; background: #93C5FD; top: -140px; right: -80px; animation: blobFloat 16s ease-in-out infinite; }
.blob.b2 { width: 420px; height: 420px; background: #A5F3FC; bottom: -120px; left: -120px; animation: blobFloat 18s ease-in-out infinite reverse; }
.blob.b3 { width: 340px; height: 340px; background: #DDD6FE; top: 35%; left: 38%; animation: blobFloat 22s ease-in-out infinite; }
[data-theme="dark"] .blob { opacity: .28; }
[data-theme="dark"] .blob.b1 { background: #1D4ED8; } [data-theme="dark"] .blob.b2 { background: #0E7490; } [data-theme="dark"] .blob.b3 { background: #6D28D9; }
@keyframes blobFloat { 0%,100% { translate: 0 0; } 33% { translate: 40px -30px; } 66% { translate: -30px 25px; } }
#particles { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-inner > *, .solution > *, .showcase > *, .tech-wrap > *, .mw-kpis > *, .mw-grid > * { min-width: 0; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px;
  background: var(--surface-glass); border: 1px solid var(--border-strong); font-size: .84rem; font-weight: 600; color: var(--text-2);
  backdrop-filter: blur(10px); box-shadow: var(--shadow-sm);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.55); } 70% { box-shadow: 0 0 0 10px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
.hero-title { font-size: clamp(2.2rem, 4.6vw, 3.7rem); font-weight: 800; margin: 22px 0 14px; letter-spacing: -.035em; }
.hero-typed { font-family: var(--font-head); font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; color: var(--text-2); margin-bottom: 14px; min-height: 1.6em; }
.typed { color: var(--primary); }
.caret { display: inline-block; width: 3px; height: 1.1em; margin-left: 3px; vertical-align: -3px; background: var(--primary); border-radius: 2px; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-sub { font-size: 1.08rem; color: var(--muted); max-width: 560px; }
.hero-sub b { color: var(--text-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--text-2); }
.hero-trust .ic { color: #fff; background: var(--green); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }

/* Hero visual */
.hero-visual { position: relative; perspective: 1400px; }
.orbit { position: absolute; left: 50%; top: 50%; width: 112%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 1px dashed var(--border-strong); animation: spin 40s linear infinite; }
.orbit::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 1px solid var(--border); }
.orbit-node {
  position: absolute; display: grid; place-items: center; width: 42px; height: 42px; translate: -50% -50%;
  border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--primary); box-shadow: var(--shadow);
  animation: counterSpin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.mock-window {
  position: relative; z-index: 2; border-radius: 18px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg);
  transform: rotateY(-8deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .6s var(--ease);
  animation: floatY 7s ease-in-out infinite;
}
@keyframes floatY { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.mw-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #F87171; } .dot.y { background: #FBBF24; } .dot.g { background: #34D399; }
.mw-url { margin-left: 12px; flex: 1; display: flex; align-items: center; gap: 6px; font-size: .74rem; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 4px 10px; }
.mw-url .ic { width: 12px; height: 12px; color: var(--green); }
.mw-body { padding: 16px; display: grid; gap: 12px; }
.mw-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mw-brand b { display: block; font-family: var(--font-head); font-size: .82rem; letter-spacing: .08em; color: var(--primary); }
.mw-brand small { font-size: .66rem; color: var(--muted); }
.mw-menu { display: flex; gap: 4px; }
.mw-menu span { font-size: .64rem; font-weight: 600; padding: 4px 8px; border-radius: 6px; color: var(--muted); }
.mw-menu span.on { background: rgba(59,130,246,.12); color: var(--primary); }
.mw-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kpi { padding: 10px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.kpi small { display: block; font-size: .6rem; color: var(--muted); font-weight: 600; }
.kpi b { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.kpi em { font-style: normal; font-size: .6rem; font-weight: 700; }
.kpi em.up { color: var(--green); }
.mw-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; }
.mw-card { padding: 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.mw-card-t { font-size: .68rem; font-weight: 700; display: flex; justify-content: space-between; margin-bottom: 8px; }
.mw-card-t span { color: var(--muted); font-weight: 500; }
.bars { height: 82px; display: flex; align-items: flex-end; gap: 7px; }
.bars span {
  flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--primary), var(--cyan));
  transform-origin: bottom; transform: scaleY(0); animation: growY 1.1s var(--ease) forwards; animation-delay: calc(.6s + var(--i) * .08s);
}
.bars span:nth-child(6) { background: linear-gradient(180deg, var(--violet), var(--primary)); }
@keyframes growY { to { transform: scaleY(1); } }
.bars-x { display: flex; gap: 7px; margin-top: 4px; }
.bars-x span { flex: 1; text-align: center; font-size: .55rem; color: var(--muted); }
.donut-card { position: relative; display: flex; flex-direction: column; align-items: center; }
.donut { width: 92px; height: 92px; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 5; }
.donut-bg { stroke: var(--border-strong); }
.donut-fg { stroke: var(--primary); stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 100; animation: donut 1.6s var(--ease) .8s forwards; }
@keyframes donut { to { stroke-dashoffset: calc(100 - var(--p)); } }
.donut-label { position: absolute; top: 58%; left: 50%; transform: translate(-50%, -50%); text-align: center; line-height: 1.1; }
.donut-label b { font-family: var(--font-head); font-size: 1rem; display: block; }
.donut-label small { font-size: .58rem; color: var(--muted); }
.mw-list { display: grid; gap: 6px; }
.mw-row { display: flex; align-items: center; gap: 8px; font-size: .7rem; font-weight: 600; padding: 7px 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); opacity: 0; animation: slideIn .7s var(--ease) forwards; }
.mw-row:nth-child(1) { animation-delay: 1.2s; } .mw-row:nth-child(2) { animation-delay: 1.4s; } .mw-row:nth-child(3) { animation-delay: 1.6s; }
.mw-row em { margin-left: auto; font-style: normal; font-weight: 500; color: var(--muted); font-size: .62rem; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.tag { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; }
.tag .ic { width: 12px; height: 12px; }
.t-green { background: rgba(16,185,129,.14); color: var(--green); }
.t-blue { background: rgba(59,130,246,.14); color: var(--primary); }
.t-violet { background: rgba(139,92,246,.14); color: var(--violet); }

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px;
  background: var(--surface-glass); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); max-width: 250px;
  opacity: 0; animation: popIn .8s var(--ease) forwards, floatY 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: .8rem; line-height: 1.25; }
.float-card small { font-size: .68rem; color: var(--muted); }
.fc-1 { top: -26px; left: -34px; animation-delay: 1.4s, 2.2s; }
.fc-2 { bottom: 64px; right: -38px; animation-delay: 1.7s, 2.5s; }
.fc-3 { bottom: -30px; left: 10%; animation-delay: 2s, 2.8s; }
@keyframes popIn { from { opacity: 0; transform: scale(.7) translateY(12px); } to { opacity: 1; transform: none; } }
.fc-ic { width: 36px; height: 36px; flex: none; border-radius: 11px; display: grid; place-items: center; color: #fff; }
.fc-ic .ic { width: 18px; height: 18px; }
.fc-green { background: linear-gradient(135deg, #22C55E, #10B981); }
.fc-blue { background: linear-gradient(135deg, var(--primary), var(--cyan)); }
.fc-violet { background: linear-gradient(135deg, var(--violet), var(--primary)); }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; z-index: 2; width: 26px; height: 42px; margin-left: -13px; border: 2px solid var(--border-strong); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--primary); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee-section { padding: 36px 0 20px; border-block: 1px solid var(--border); background: var(--surface); }
.marquee-title { text-align: center; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); padding-bottom: 16px; }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-weight: 700; font-size: .92rem; white-space: nowrap; color: var(--text-2); }
.marquee-item .ic { color: var(--primary); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats-section { padding: 56px 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.stat:hover { transform: translateY(-6px); box-shadow: var(--glow); }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.stat > span { font-size: .92rem; color: var(--muted); font-weight: 600; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 110px 0; }
.section-alt { background: var(--bg-alt); }
.section-alt::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 300px at 10% 0%, rgba(59,130,246,.08), transparent 70%), radial-gradient(600px 300px at 90% 100%, rgba(139,92,246,.08), transparent 70%); }
.section > .container { position: relative; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; }
.section-head p { font-size: 1.06rem; color: var(--muted); margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; margin-bottom: 16px; border-radius: 999px;
  font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--primary);
  background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.2);
}
.eyebrow .ic { width: 15px; height: 15px; }
.eyebrow.light { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25); }
.sub-head { text-align: center; font-size: 1.4rem; margin: 70px 0 28px; }

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.card:hover { box-shadow: var(--shadow-lg); border-color: rgba(59,130,246,.3); }
.spotlight { overflow: hidden; }
.spotlight::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(59,130,246,.14), transparent 45%);
}
.spotlight:hover::before { opacity: 1; }
.spotlight::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(59,130,246,.8), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.spotlight:hover::after { opacity: 1; }
[data-tilt] { transform-style: preserve-3d; will-change: transform; }

.icon-box {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; flex: none; color: var(--primary);
  background: var(--grad-soft); border: 1px solid rgba(59,130,246,.18); transition: transform .5s var(--ease), background .4s, color .4s;
}
.icon-box .ic { width: 24px; height: 24px; }
.icon-box.sm { width: 44px; height: 44px; border-radius: 13px; } .icon-box.sm .ic { width: 21px; height: 21px; }
.icon-box.xs { width: 38px; height: 38px; border-radius: 11px; } .icon-box.xs .ic { width: 18px; height: 18px; }
.icon-box.lg { width: 64px; height: 64px; border-radius: 18px; } .icon-box.lg .ic { width: 30px; height: 30px; }
.card:hover .icon-box { transform: rotate(-8deg) scale(1.08); background: var(--grad); color: #fff; }

.check-list { display: grid; gap: 12px; margin-top: 18px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; color: var(--text-2); }
.check-list .ic { margin-top: 3px; width: 20px; height: 20px; padding: 3px; border-radius: 50%; color: #fff; background: var(--grad); }

/* ---------- Problems & hub ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.problem-card { padding: 28px 24px; }
.problem-card:hover { transform: translateY(-8px); border-color: rgba(239,68,68,.35); }
.problem-ic { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: rgba(239,68,68,.1); color: var(--red); margin-bottom: 18px; transition: transform .5s var(--ease); }
.problem-ic .ic { width: 24px; height: 24px; }
.problem-card:hover .problem-ic { transform: scale(1.1) rotate(8deg); animation: wobble .6s ease; }
@keyframes wobble { 25% { rotate: -8deg; } 50% { rotate: 8deg; } 75% { rotate: -4deg; } }
.problem-card h3 { font-size: 1.1rem; }
.problem-card p { font-size: .94rem; color: var(--muted); margin: 0; }

.solution { margin-top: 90px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.solution-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
.solution-copy p { color: var(--muted); font-size: 1.04rem; }
.hub { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1; margin: 0 auto; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-lines line { stroke: var(--primary); stroke-width: .35; stroke-dasharray: 1.2 1.6; opacity: .55; animation: dashFlow 1.6s linear infinite; animation-delay: calc(var(--i) * -.2s); }
@keyframes dashFlow { to { stroke-dashoffset: -5.6; } }
.hub-center { position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; }
.hub-core {
  position: relative; z-index: 2; width: 100%; height: 100%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: var(--grad); background-size: 200% 200%; animation: gradShift 6s ease infinite; color: #fff; box-shadow: 0 20px 50px -12px rgba(59,130,246,.7);
}
.hub-core .ic { width: 38%; height: 38%; }
.hub-core b { font-family: var(--font-head); font-size: .82rem; letter-spacing: .06em; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(59,130,246,.45); animation: ripple 3s ease-out infinite; }
.ring.r2 { animation-delay: 1.5s; }
@keyframes ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(1.8); opacity: 0; } }
.hub-node {
  position: absolute; z-index: 2; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 5px;
  width: 78px; padding: 10px 6px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  color: var(--primary); animation: nodeFloat 5s ease-in-out infinite; animation-delay: calc(var(--i) * -.6s);
}
.hub-node .ic { width: 22px; height: 22px; }
.hub-node small { font-size: .66rem; font-weight: 700; color: var(--text-2); }
@keyframes nodeFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* ---------- Benefits ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit-card { padding: 30px 28px; }
.benefit-card h3 { font-size: 1.15rem; margin-top: 20px; }
.benefit-card p { font-size: .95rem; color: var(--muted); margin: 0; }

/* ---------- Modules ---------- */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.tab {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer;
  font-weight: 700; font-size: .88rem; color: var(--text-2); transition: all .35s var(--ease);
}
.tab:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.tab.active { background: var(--grad); background-size: 200% 200%; animation: gradShift 6s ease infinite; color: #fff; border-color: transparent; box-shadow: 0 8px 20px -8px rgba(59,130,246,.7); }
.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.module-card { padding: 22px; display: flex; flex-direction: column; }
.module-card:hover { transform: translateY(-6px); }
.module-card.hide { display: none; }
.module-card.pop { animation: cardPop .55s var(--ease) both; animation-delay: var(--pd, 0s); }
@keyframes cardPop { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
.module-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.module-cat { font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); padding: 4px 9px; border-radius: 999px; border: 1px solid var(--border); }
.module-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.module-card p { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.module-card ul { display: grid; gap: 7px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--border-strong); }
.module-card li { display: flex; gap: 8px; align-items: flex-start; font-size: .84rem; font-weight: 600; color: var(--text-2); }
.module-card li .ic { width: 15px; height: 15px; margin-top: 3px; color: var(--green); }

/* ---------- Showcase ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; }
.showcase + .showcase { margin-top: 120px; }
.showcase.reverse .showcase-copy { order: 2; }
.showcase-copy h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; }
.showcase-copy > p { color: var(--muted); font-size: 1.03rem; }
.showcase-visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.showcase-visual::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: var(--grad); opacity: .14; filter: blur(60px); animation: blobFloat 14s ease-in-out infinite; }

/* Rapor */
.rapor-paper { position: relative; width: 100%; max-width: 440px; padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); }
.rp-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--primary); }
.rp-logo { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--grad); }
.rp-head b { display: block; font-family: var(--font-head); font-size: .92rem; letter-spacing: .04em; }
.rp-head small { font-size: .72rem; color: var(--muted); }
.rp-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .74rem; color: var(--muted); padding: 12px 0; }
.rp-meta b { color: var(--text); }
.rp-rows { display: grid; gap: 9px; }
.rp-row { display: grid; grid-template-columns: 1.4fr 1fr 32px; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; }
.rp-row i { height: 7px; border-radius: 99px; background: var(--surface-2); overflow: hidden; border: 1px solid var(--border); }
.rp-row em { display: block; height: 100%; width: var(--v); border-radius: inherit; background: var(--grad); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease); transition-delay: calc(.3s + var(--i) * .12s); }
.rp-row b { text-align: right; font-family: var(--font-head); color: var(--primary); }
.in-view .rp-row em { transform: scaleX(1); }
.rp-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--border-strong); }
.rp-qr { display: flex; flex-direction: column; gap: 4px; }
.qr-svg { width: 68px; height: 68px; padding: 4px; background: #fff; border-radius: 6px; border: 1px solid var(--border); }
.qr-svg .qf { fill: #0B1426; } .qr-svg .qb { fill: #fff; }
.rp-qr small, .rp-sign small { font-size: .62rem; color: var(--muted); }
.rp-sign { text-align: center; }
.rp-sign b { display: block; font-size: .72rem; }
.signature { width: 120px; height: 40px; }
.signature path { fill: none; stroke: var(--primary-700); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; }
[data-theme="dark"] .signature path { stroke: #93C5FD; }
.in-view .signature path { animation: draw 2.4s var(--ease) 1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.stamp {
  position: absolute; top: 88px; right: -14px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px;
  font-family: var(--font-head); font-size: .78rem; font-weight: 800; letter-spacing: .1em; color: var(--green);
  border: 2px solid var(--green); background: color-mix(in srgb, var(--surface) 85%, transparent); transform: rotate(10deg) scale(2.2); opacity: 0;
}
.in-view .stamp { animation: stamp .6s cubic-bezier(.5,1.8,.5,1) 2.4s forwards; }
@keyframes stamp { to { opacity: 1; transform: rotate(10deg) scale(1); } }

/* Keuangan */
.fin-mock { position: relative; width: 100%; max-width: 460px; }
.fin-card { padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); }
.fin-top { display: flex; justify-content: space-between; align-items: flex-start; }
.fin-top small, .fin-va small { display: block; font-size: .7rem; color: var(--muted); }
.fin-top b { font-size: .95rem; }
.badge-qris { font-family: var(--font-head); font-weight: 800; font-size: .72rem; padding: 5px 10px; border-radius: 8px; color: #fff; background: linear-gradient(135deg, #EF4444, #F59E0B); letter-spacing: .08em; }
.fin-va { margin: 14px 0; padding: 12px 14px; border-radius: 12px; background: var(--grad); color: #fff; position: relative; overflow: hidden; }
.fin-va small { color: rgba(255,255,255,.8); }
.fin-va b { font-family: var(--font-head); font-size: 1.15rem; letter-spacing: .08em; }
.fin-va::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); animation: shine 4s ease-in-out infinite; }
.fin-items { display: grid; gap: 8px; }
.fin-item { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); font-size: .8rem; }
.fin-item span { font-weight: 600; }
.fin-item b { text-align: right; }
.st { grid-column: 1 / -1; justify-self: start; font-style: normal; font-size: .64rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.st-ok { background: rgba(16,185,129,.14); color: var(--green); }
.st-part { background: rgba(245,158,11,.16); color: #D97706; }
.st-due { background: rgba(239,68,68,.12); color: var(--red); }
.fin-progress { margin-top: 14px; }
.fin-progress div { display: flex; justify-content: space-between; }
.fin-progress small { font-size: .72rem; font-weight: 700; color: var(--muted); }
.fin-progress i { display: block; height: 8px; margin-top: 6px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; }
.fin-progress em, .meter em { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--grad); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) .4s; }
.in-view .fin-progress em, .in-view .meter em { transform: scaleX(1); }
.wa-chat {
  position: absolute; right: -30px; bottom: -50px; width: 250px; padding: 12px; border-radius: 16px;
  background: #E7F8EE; border: 1px solid rgba(16,185,129,.25); box-shadow: var(--shadow-lg); color: #0B1426;
  opacity: 0; transform: translateY(20px) scale(.9);
}
[data-theme="dark"] .wa-chat { background: #0F2A21; color: #E8EEF8; }
.in-view .wa-chat { animation: popIn .7s var(--ease) .9s forwards; }
.wa-head { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid rgba(16,185,129,.2); margin-bottom: 8px; }
.wa-head .fc-ic { width: 30px; height: 30px; }
.wa-head b { display: block; font-size: .78rem; } .wa-head small { font-size: .64rem; color: var(--green); }
.wa-typing { display: inline-flex; gap: 4px; padding: 8px 12px; max-height: 40px; overflow: hidden; border-radius: 12px; background: rgba(255,255,255,.8); }
[data-theme="dark"] .wa-typing { background: rgba(255,255,255,.08); }
.wa-typing span { width: 6px; height: 6px; border-radius: 50%; background: #94A3B8; animation: typing 1s infinite; }
.wa-typing span:nth-child(2) { animation-delay: .15s; } .wa-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%,60%,100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.in-view .wa-typing { animation: collapse .3s ease 2.3s forwards; }
@keyframes collapse { to { max-height: 0; padding-block: 0; opacity: 0; } }
.wa-bubble { position: relative; padding: 9px 12px 18px; border-radius: 4px 12px 12px 12px; background: #fff; font-size: .74rem; line-height: 1.5; display: none; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.wa-chat .wa-bubble { margin-top: 0; }
[data-theme="dark"] .wa-bubble { background: #1F3B30; }
.in-view .wa-bubble { animation: bubbleIn .5s var(--ease) 2.6s both; display: block; }
@keyframes bubbleIn { from { opacity: 0; transform: scale(.85); transform-origin: top left; } to { opacity: 1; transform: none; } }
.wa-bubble small { color: #64748B; }
.wa-bubble em { position: absolute; right: 8px; bottom: 3px; font-style: normal; font-size: .6rem; color: #0EA5E9; }

/* Absensi */
.att-visual { position: relative; width: 100%; max-width: 420px; }
.att-stage { position: relative; width: 100%; aspect-ratio: 1; }
.att-orbit { position: absolute; inset: 6%; border-radius: 50%; border: 2px dashed rgba(59,130,246,.3); animation: spin 30s linear infinite; }
.att-node {
  position: absolute; width: 58px; height: 58px; translate: -50% -50%; border-radius: 18px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow); color: var(--primary);
  animation: counterSpin 30s linear infinite;
}
.att-node .ic { width: 26px; height: 26px; }
@keyframes counterSpin { to { transform: rotate(-360deg); } }
.att-core { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; transform: translate(-50%, -50%); display: grid; place-items: center; }
.att-core-in { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #fff; background: var(--grad); box-shadow: 0 20px 50px -12px rgba(59,130,246,.7); }
.att-core-in .ic { width: 34px; height: 34px; }
.att-core-in small { font-size: .66rem; font-weight: 700; }
.att-feed { position: relative; width: 88%; margin: 18px auto 0; padding: 12px 14px; background: var(--surface-glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-lg); }
.att-feed-t { display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 800; margin-bottom: 8px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulseDot 1.6s infinite; box-shadow: 0 0 0 0 rgba(239,68,68,.5); }
.att-feed ul { display: grid; gap: 6px; min-height: 108px; }
.att-feed li { display: grid; grid-template-columns: 40px 1fr auto; gap: 8px; align-items: center; font-size: .72rem; padding: 6px 8px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--border); animation: feedIn .5s var(--ease); }
.att-feed li b { font-family: var(--font-head); color: var(--primary); }
.att-feed li span { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.att-feed li em { font-style: normal; font-size: .62rem; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: rgba(16,185,129,.14); color: var(--green); }
.att-feed li em.late { background: rgba(245,158,11,.16); color: #D97706; }
@keyframes feedIn { from { opacity: 0; transform: translateY(-10px) scale(.96); } to { opacity: 1; transform: none; } }
.method-list { display: grid; gap: 10px; margin-top: 20px; }
.method { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); transition: transform .4s var(--ease), border-color .3s; }
.method:hover { transform: translateX(6px); border-color: rgba(59,130,246,.35); }
.method b { display: block; font-size: .92rem; } .method small { font-size: .82rem; color: var(--muted); }

.notif-title { display: flex; align-items: center; gap: 8px; margin: 22px 0 10px; font-weight: 700; font-size: .92rem; color: var(--text-2); }
.notif-title .ic { color: var(--primary); }
.notif-channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.notif-ch { position: relative; padding: 14px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); text-align: center; overflow: hidden; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.notif-ch::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--ch-grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); transition-delay: calc(.3s + var(--i) * .15s); }
.in-view .notif-ch::before, .revealed .notif-ch::before { transform: scaleX(1); }
.notif-ch:hover { transform: translateY(-5px); border-color: var(--ch-main); box-shadow: 0 14px 28px -14px var(--ch-main); }
.notif-ic { width: 42px; height: 42px; margin: 0 auto 8px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: var(--ch-grad); animation: nodeFloat 4s ease-in-out infinite; animation-delay: calc(var(--i) * -.8s); }
.notif-ic .ic { width: 20px; height: 20px; }
.notif-ch b { display: block; font-size: .88rem; }
.notif-ch small { display: block; font-size: .74rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.ch-wa { --ch-main: #16A34A; --ch-grad: linear-gradient(135deg, #22C55E, #16A34A); }
.ch-tg { --ch-main: #0EA5E9; --ch-grad: linear-gradient(135deg, #38BDF8, #0284C7); }
.ch-push { --ch-main: #8B5CF6; --ch-grad: linear-gradient(135deg, #8B5CF6, #3B82F6); }
.fc-tg { background: linear-gradient(135deg, #38BDF8, #0284C7); }
.att-push { position: absolute; top: 13%; right: -7%; z-index: 3; width: 205px; height: 50px; pointer-events: none; }
.att-push-row {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 13px;
  background: var(--surface-glass); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transform: translateX(24px) scale(.94);
}
.att-push-row .fc-ic { width: 30px; height: 30px; border-radius: 9px; }
.att-push-row .fc-ic .ic { width: 15px; height: 15px; }
.att-push-row b { display: block; font-size: .72rem; line-height: 1.2; }
.att-push-row > div { min-width: 0; }
.att-push-row small { display: block; font-size: .64rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.in-view .att-push-row { animation: pushCycle 7.5s var(--ease) infinite both; }
.in-view .att-push-row:nth-child(2) { animation-delay: 2.5s; }
.in-view .att-push-row:nth-child(3) { animation-delay: 5s; }
@keyframes pushCycle { 0% { opacity: 0; transform: translateY(14px) scale(.94); } 5%, 28% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; transform: translateY(-12px) scale(.96); } }

/* CBT */
.cbt-mock { width: 100%; max-width: 440px; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); }
.cbt-top { display: flex; justify-content: space-between; align-items: center; }
.cbt-top small { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; }
.cbt-top b { font-family: var(--font-head); }
.cbt-timer { position: relative; width: 64px; height: 64px; }
.cbt-timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.cbt-timer circle { fill: none; stroke-width: 3; }
.tm-bg { stroke: var(--border-strong); }
.tm-fg { stroke: var(--violet); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; animation: timerRing 60s linear infinite; }
@keyframes timerRing { to { stroke-dashoffset: 100; } }
.cbt-timer b { position: absolute; inset: 0; display: grid; place-items: center; font-size: .72rem; }
.cbt-q { margin: 16px 0 12px; padding: 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); font-weight: 700; }
.cbt-opts { display: grid; gap: 8px; }
.cbt-opts span { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border-strong); font-size: .86rem; font-weight: 600; transition: all .4s var(--ease); }
.cbt-opts i { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 8px; font-style: normal; font-weight: 800; font-size: .78rem; background: var(--surface-2); border: 1px solid var(--border); }
.cbt-opts em { font-style: normal; }
.cbt-opts span.sel { border-color: var(--primary); background: rgba(59,130,246,.08); box-shadow: 0 0 0 3px rgba(59,130,246,.12); }
.cbt-opts span.sel i { background: var(--primary); color: #fff; border-color: transparent; }
.cbt-nums { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; margin-top: 16px; }
.cbt-nums span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 7px; font-size: .66rem; font-weight: 700; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); }
.cbt-nums .done { background: rgba(16,185,129,.14); color: var(--green); border-color: transparent; }
.cbt-nums .cur { background: var(--primary); color: #fff; border-color: transparent; animation: pulseBlue 1.6s infinite; }
.cbt-nums .flag { background: rgba(245,158,11,.18); color: #D97706; border-color: transparent; }
@keyframes pulseBlue { 0% { box-shadow: 0 0 0 0 rgba(59,130,246,.6); } 70% { box-shadow: 0 0 0 8px rgba(59,130,246,0); } 100% { box-shadow: 0 0 0 0 rgba(59,130,246,0); } }

/* Phones */
.phones { position: relative; width: 100%; max-width: 440px; height: 440px; }
.phone { position: absolute; width: 210px; height: 420px; padding: 10px; border-radius: 34px; background: #0B1426; box-shadow: var(--shadow-lg), inset 0 0 0 2px #334155; }
.phone.p1 { left: 4%; top: 0; z-index: 2; animation: floatY 7s ease-in-out infinite; }
.phone.p2 { right: 2%; top: 30px; transform: rotate(6deg); animation: floatY 8s ease-in-out infinite reverse; }
.phone-notch { position: absolute; top: 14px; left: 50%; width: 70px; height: 18px; margin-left: -35px; border-radius: 10px; background: #0B1426; z-index: 2; }
.phone-screen { height: 100%; border-radius: 26px; overflow: hidden; background: var(--bg); padding: 34px 11px 11px; display: flex; flex-direction: column; gap: 7px; }
.ph-head small { display: block; font-size: .64rem; color: var(--muted); }
.ph-head b { font-family: var(--font-head); font-size: .92rem; }
.ph-child { display: flex; gap: 8px; align-items: center; padding: 10px; border-radius: 14px; background: var(--grad); color: #fff; }
.ph-child b { display: block; font-size: .78rem; } .ph-child small { font-size: .6rem; opacity: .85; }
.avatar { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 800; background: rgba(255,255,255,.25); }
.ph-status { display: flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 700; color: var(--green); padding: 7px 9px; border-radius: 10px; background: rgba(16,185,129,.12); }
.ph-status .ic { width: 13px; height: 13px; }
.ph-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ph-grid span { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); font-size: .58rem; font-weight: 700; }
.ph-grid .ic { width: 16px; height: 16px; color: var(--primary); }
.ph-bill { padding: 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.ph-bill small { display: block; font-size: .58rem; color: var(--muted); } .ph-bill b { display: block; font-size: .68rem; margin-bottom: 6px; }
.ph-btn { display: block; text-align: center; font-size: .62rem; font-weight: 800; padding: 6px; border-radius: 8px; background: var(--primary); color: #fff; }
.ph-notif { display: flex; gap: 8px; align-items: center; padding: 8px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); opacity: 0; transform: translateX(20px); }
.in-view .ph-notif { animation: notifIn .6s var(--ease) forwards; animation-delay: calc(.6s + var(--i) * .35s); }
@keyframes notifIn { to { opacity: 1; transform: none; } }
.ph-notif > span { width: 28px; height: 28px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--grad-soft); color: var(--primary); }
.ph-notif .ic { width: 14px; height: 14px; }
.ph-notif b { display: block; font-size: .64rem; line-height: 1.3; } .ph-notif small { font-size: .56rem; color: var(--muted); }

/* ---------- Roles ---------- */
.roles { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: stretch; }
.role-tabs { display: grid; gap: 8px; }
.role-tab {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--border);
  background: var(--surface); cursor: pointer; text-align: left; font-weight: 700; transition: all .4s var(--ease);
}
.role-tab:hover { transform: translateX(6px); border-color: rgba(59,130,246,.35); }
.role-tab.active { border-color: transparent; background: var(--grad); background-size: 200% 200%; animation: gradShift 6s ease infinite; color: #fff; box-shadow: 0 12px 26px -12px rgba(59,130,246,.8); transform: translateX(8px); }
.role-tab.active .icon-box { background: rgba(255,255,255,.2); color: #fff; border-color: transparent; }
.role-panels { position: relative; padding: 40px; overflow: hidden; min-height: 360px; }
.role-panels::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%; background: var(--grad); opacity: .12; filter: blur(30px); }
.role-panel { display: none; }
.role-panel.active { display: block; animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.role-panel h3 { font-size: 1.6rem; margin-top: 18px; }
.role-panel > p { color: var(--muted); font-size: 1.05rem; }
.role-panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.role-panel li { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); font-weight: 600; font-size: .93rem; animation: panelIn .6s var(--ease) both; animation-delay: calc(.1s + var(--i) * .08s); }
.role-panel li .ic { color: var(--green); margin-top: 3px; }

/* ---------- Special ---------- */
.special-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.special-card { padding: 30px; overflow: hidden; }
.special-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--c-grad); }
.special-art { position: relative; width: 64px; height: 64px; margin-bottom: 20px; }
.special-card .icon-box { background: var(--c-soft); color: var(--c-main); border-color: transparent; position: relative; z-index: 1; }
.special-card:hover .icon-box { background: var(--c-grad); color: #fff; }
.sp-ring { position: absolute; inset: -8px; border-radius: 22px; border: 2px dashed var(--c-main); opacity: .35; animation: spin 14s linear infinite; }
.special-card h3 { font-size: 1.25rem; }
.special-card ul { display: grid; gap: 10px; }
.special-card li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: .93rem; color: var(--text-2); }
.special-card li .ic { color: var(--c-main); margin-top: 3px; }
.c-orange { --c-main: #F59E0B; --c-soft: rgba(245,158,11,.14); --c-grad: linear-gradient(135deg, #F59E0B, #EF4444); }
.c-emerald { --c-main: #10B981; --c-soft: rgba(16,185,129,.14); --c-grad: linear-gradient(135deg, #10B981, #06B6D4); }
.c-violet { --c-main: #8B5CF6; --c-soft: rgba(139,92,246,.14); --c-grad: linear-gradient(135deg, #8B5CF6, #3B82F6); }
.special-card:hover { transform: translateY(-8px); }

/* ---------- Pricing ---------- */
.price-grid > * { min-width: 0; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { padding: 34px 30px; display: flex; flex-direction: column; }
.price-card:hover { transform: translateY(-8px); }
.price-card.featured { border: 0; background: transparent; isolation: isolate; box-shadow: var(--glow); transform: scale(1.03); z-index: 1; }
.price-card.featured:hover { transform: scale(1.03) translateY(-8px); }
.price-card.featured::before {
  content: ""; position: absolute; inset: -2px; border-radius: calc(var(--radius) + 2px); z-index: -1;
  background: conic-gradient(from var(--ang, 0deg), #3B82F6, #06B6D4, #8B5CF6, #3B82F6); animation: rotateAng 4s linear infinite;
}
.price-card.featured::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); z-index: -1; background: var(--surface); }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes rotateAng { to { --ang: 360deg; } }
.ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-size: .76rem; font-weight: 800; color: #fff; background: var(--grad); box-shadow: 0 8px 20px -8px rgba(59,130,246,.8); white-space: nowrap; }
.ribbon .ic { width: 14px; height: 14px; }
.price-card h3 { font-size: 1.4rem; margin: 0; }
.price-note { font-size: .84rem; color: var(--muted); font-weight: 600; margin: 4px 0 16px; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price small { font-weight: 700; color: var(--muted); }
.price b { font-family: var(--font-head); font-size: 2.8rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.featured .price b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price span { font-weight: 700; color: var(--muted); }
.price-ask {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px;
  background: rgba(34,197,94,.1); border: 1px dashed rgba(22,163,74,.45); color: var(--text);
  transition: transform .35s var(--ease), background .35s, border-color .35s, box-shadow .35s;
}
.price-ask:hover { transform: translateY(-3px); background: rgba(34,197,94,.16); border-color: #16A34A; box-shadow: 0 12px 24px -12px rgba(22,163,74,.6); }
.price-ask-ic { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #22C55E, #16A34A); animation: pulseGreen 2.2s infinite; }
.price-ask-ic .ic { width: 22px; height: 22px; }
.price-ask > span:not(.price-ask-ic) { min-width: 0; }
.price-ask b { white-space: nowrap; }
.price-ask b { display: block; font-family: var(--font-head); font-size: 1.25rem; line-height: 1.15; }
.price-ask small { font-size: .8rem; font-weight: 600; color: #16A34A; }
.price-ask > .ic { margin-left: auto; color: #16A34A; transition: transform .35s var(--ease); }
.price-ask:hover > .ic { transform: translateX(4px); }
@keyframes pulseGreen { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.price-once { display: flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--green); margin: 10px 0 14px; }
.price-desc { font-size: .92rem; color: var(--muted); padding-bottom: 18px; border-bottom: 1px dashed var(--border-strong); }
.price-card ul { display: grid; gap: 10px; margin-bottom: 26px; flex: 1; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; font-weight: 600; color: var(--text-2); }
.price-card li .ic { color: var(--primary); margin-top: 3px; width: 17px; height: 17px; }
.addon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.addon { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px dashed var(--border-strong); transition: transform .4s var(--ease), border-color .3s; }
.addon:hover { transform: translateY(-4px); border-color: var(--primary); }
.addon b { display: block; font-size: .92rem; } .addon small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.5; margin-top: 2px; }

/* ---------- Select (form kontak) ---------- */
select { width: 100%; padding: 11px 36px 11px 12px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B82F6' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; -webkit-appearance: none; appearance: none; font-weight: 600; font-size: .9rem; cursor: pointer; }
select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(59,130,246,.15); }

/* ---------- Tech ---------- */
.tech-wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: start; }
.arch { padding: 26px; }
.arch-title { display: flex; align-items: center; gap: 8px; font-weight: 800; margin-bottom: 14px; }
.arch-title .ic { color: var(--primary); }
.arch-svg { width: 100%; height: auto; }
.a-vps { fill: rgba(59,130,246,.04); stroke: var(--primary); stroke-width: 1.5; stroke-dasharray: 6 6; animation: dashFlow2 20s linear infinite; }
@keyframes dashFlow2 { to { stroke-dashoffset: -240; } }
.a-vps-t { fill: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: .12em; font-family: var(--font); }
.a-line { fill: none; stroke: var(--border-strong); stroke-width: 2; }
.a-dot { fill: var(--cyan); filter: drop-shadow(0 0 4px rgba(6,182,212,.9)); }
.a-box rect { fill: var(--surface); stroke: var(--border-strong); stroke-width: 1.5; transition: fill .3s; }
.a-box text { fill: var(--text); font-size: 13px; font-weight: 700; font-family: var(--font); }
.a-user rect { fill: var(--surface-2); }
.a-edge rect { fill: url(#gArch); stroke: none; }
.a-edge text { fill: #fff; }
.a-app rect { stroke: var(--primary); }
.a-data rect { stroke: var(--violet); stroke-dasharray: 0; }
.a-box { opacity: 0; transform: translateY(10px); transform-box: fill-box; }
.in-view .a-box { animation: archIn .6s var(--ease) forwards; animation-delay: calc(var(--i) * .1s); }
@keyframes archIn { to { opacity: 1; transform: none; } }
.tech-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tech-chips span { padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--surface-2); border: 1px solid var(--border); transition: all .3s var(--ease); }
.tech-chips span:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.security-grid { display: grid; gap: 12px; }
.sec-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; }
.sec-item:hover { transform: translateX(-6px); }
.sec-item b { display: block; font-size: .95rem; } .sec-item small { font-size: .84rem; color: var(--muted); }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.spec-card { padding: 26px; }
.spec-card:hover { transform: translateY(-6px); }
.spec-top { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.spec-top h4 { margin: 0; font-size: 1.1rem; } .spec-top small { font-size: .82rem; color: var(--muted); font-weight: 600; }
.spec-card dl { margin: 0; display: grid; gap: 8px; }
.spec-card dl div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: .9rem; }
.spec-card dt { color: var(--muted); font-weight: 600; } .spec-card dd { margin: 0; font-weight: 700; text-align: right; }
.meter { margin-top: 16px; }
.meter span { font-size: .76rem; font-weight: 700; color: var(--muted); }
.meter i { display: block; height: 8px; margin-top: 6px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; }

/* ---------- Hardware ---------- */
.hw-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.hw-card { flex: 1 1 190px; max-width: 224px; padding: 26px 20px; text-align: center; }
.hw-card:hover { transform: translateY(-8px); }
.hw-ic { position: relative; width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 22px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 14px 30px -12px rgba(59,130,246,.8); }
.hw-ic::after { content: ""; position: absolute; inset: -6px; border-radius: 26px; border: 2px solid rgba(59,130,246,.3); animation: ripple 2.6s ease-out infinite; }
.hw-ic .ic { width: 32px; height: 32px; }
.hw-card:hover .hw-ic { animation: bounce .8s var(--ease); }
@keyframes bounce { 30% { transform: translateY(-10px) rotate(-6deg); } 60% { transform: translateY(0) rotate(4deg); } }
.hw-card h3 { font-size: 1rem; } .hw-card p { font-size: .86rem; color: var(--muted); margin: 0; }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; counter-reset: step; }
.timeline-line { position: absolute; left: 8%; right: 8%; top: 29px; height: 4px; border-radius: 4px; background: var(--border-strong); overflow: hidden; }
.timeline-line i { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(var(--prog, 0)); transition: transform .2s linear; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step-num {
  position: relative; z-index: 1; width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--primary); background: var(--surface); border: 3px solid var(--primary);
  box-shadow: 0 0 0 6px var(--bg); transition: all .5s var(--ease);
}
.step.lit .step-num { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 0 0 6px var(--bg), 0 12px 24px -8px rgba(59,130,246,.8); transform: scale(1.08); }
.step h3 { font-size: 1rem; } .step p { font-size: .86rem; color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq { padding: 0; overflow: hidden; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 1.02rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq-ic { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--primary); transition: transform .5s var(--ease), background .3s, color .3s; }
.faq[open] .faq-ic { transform: rotate(135deg); background: var(--primary); color: #fff; }
.faq[open] { border-color: rgba(59,130,246,.35); box-shadow: var(--shadow); }
.faq-a { padding: 0 24px; }
.faq-a p { color: var(--muted); margin: 0; padding-bottom: 22px; }
.faq[open] .faq-a { animation: faqOpen .5s var(--ease); }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- CTA / contact ---------- */
.cta-section { padding-top: 60px; }
.cta-panel { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 56px; border-radius: 32px; overflow: hidden; color: #fff; background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 35%, #0891B2 75%, #7C3AED 100%); background-size: 200% 200%; animation: gradShift 12s ease infinite; box-shadow: 0 40px 80px -30px rgba(29,78,216,.6); }
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-bg span { position: absolute; border-radius: 50%; background: rgba(255,255,255,.1); animation: blobFloat 12s ease-in-out infinite; }
.cta-bg span:nth-child(1) { width: 320px; height: 320px; top: -120px; right: 30%; }
.cta-bg span:nth-child(2) { width: 220px; height: 220px; bottom: -80px; left: -60px; animation-delay: -4s; }
.cta-bg span:nth-child(3) { width: 140px; height: 140px; top: 40%; left: 42%; animation-delay: -8s; }
.cta-copy, .cta-form { position: relative; z-index: 1; }
.cta-copy h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.cta-copy > p { color: rgba(255,255,255,.88); font-size: 1.05rem; }
.cta-contact { display: grid; gap: 14px; margin-top: 26px; }
.cta-contact li { display: flex; gap: 14px; align-items: center; }
.cta-contact li > span { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); }
.cta-contact small { display: block; font-size: .78rem; color: rgba(255,255,255,.75); }
.cta-contact b { font-size: 1rem; }
.cta-contact a:hover { text-decoration: underline; }
.cta-form { padding: 28px; border-radius: 24px; background: var(--surface); color: var(--text); box-shadow: 0 30px 60px -20px rgba(0,0,0,.4); display: grid; gap: 14px; align-content: start; }
.cta-form h3 { font-size: 1.3rem; margin: 0 0 4px; }
.field { position: relative; }
.field input, .field textarea, .field select { width: 100%; padding: 22px 14px 8px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface-2); outline: none; transition: border-color .3s, box-shadow .3s; resize: vertical; }
.field select { padding-top: 22px; background-color: var(--surface-2); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(59,130,246,.15); }
.field label { position: absolute; left: 15px; top: 15px; font-size: .92rem; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field label.static { top: 6px; font-size: .7rem; font-weight: 700; color: var(--primary); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: .78rem; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; padding: 70px 0 26px; background: var(--surface); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-brand p { margin-top: 16px; color: var(--muted); font-size: .92rem; max-width: 360px; }
.site-footer h4 { font-size: .95rem; margin-bottom: 14px; }
.site-footer a:not(.brand) { display: block; padding: 4px 0; color: var(--muted); font-size: .92rem; transition: color .3s, transform .3s var(--ease); }
.site-footer a:not(.brand):hover { color: var(--primary); transform: translateX(4px); }
.footer-company { font-weight: 800; margin-bottom: 6px; }
.footer-wa { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 700; color: var(--green) !important; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); font-size: .84rem; color: var(--muted); }

/* ---------- Floating ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: linear-gradient(135deg, #22C55E, #16A34A); box-shadow: 0 14px 30px -8px rgba(22,163,74,.7);
  transition: transform .4s var(--ease);
}
.wa-float .ic { width: 28px; height: 28px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #22C55E; animation: ripple 2s ease-out infinite; }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }
.wa-tip { position: absolute; right: 72px; white-space: nowrap; padding: 8px 12px; border-radius: 10px; background: var(--surface); color: var(--text); font-size: .82rem; font-weight: 700; box-shadow: var(--shadow); opacity: 0; transform: translateX(10px); pointer-events: none; transition: all .35s var(--ease); }
.wa-float:hover .wa-tip { opacity: 1; transform: none; }
.to-top { position: fixed; right: 30px; bottom: 96px; z-index: 90; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--primary); box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center; opacity: 0; transform: translateY(16px); pointer-events: none; transition: all .4s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--primary); color: #fff; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); will-change: opacity, transform; }
[data-reveal="up"] { transform: translateY(40px); }
[data-reveal="left"] { transform: translateX(60px); }
[data-reveal="right"] { transform: translateX(-60px); }
[data-reveal="zoom"] { transform: scale(.9); filter: blur(6px); }
[data-reveal].revealed { opacity: 1; transform: none; filter: none; }
.no-js [data-reveal] { opacity: 1; transform: none; filter: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .module-grid { grid-template-columns: repeat(3, 1fr); }
  .addon-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links a:not(.btn) { padding: 8px 9px; font-size: .88rem; }
}

@media (max-width: 980px) {
  :root { --header-h: 66px; }
  .burger { display: block; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 20px 24px;
    background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .45s var(--ease), opacity .35s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a:not(.btn) { padding: 12px 14px; font-size: 1rem; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links a.active { background: rgba(59,130,246,.08); }
  .nav-cta-mobile { display: inline-flex; margin-top: 8px; }
  .site-header.menu-open { background: var(--surface); }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 40px); }
  .hero-inner { grid-template-columns: 1fr; gap: 70px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .solution, .showcase, .tech-wrap { grid-template-columns: 1fr; gap: 50px; }
  .showcase.reverse .showcase-copy { order: 0; }
  .benefit-grid, .special-grid, .price-grid, .spec-grid { grid-template-columns: 1fr 1fr; }
  .price-card.featured { transform: none; } .price-card.featured:hover { transform: translateY(-8px); }
  .roles { grid-template-columns: 1fr; }
  .role-tabs { grid-template-columns: repeat(3, 1fr); }
  .role-tab { justify-content: center; flex-direction: column; text-align: center; font-size: .86rem; padding: 12px 8px; }
  .role-tab:hover, .role-tab.active { transform: translateY(-3px); }
  .timeline { grid-template-columns: 1fr; gap: 26px; padding-left: 0; }
  .timeline-line { left: 28px; right: auto; top: 10px; bottom: 10px; width: 4px; height: auto; }
  .timeline-line i { transform-origin: top; transform: scaleY(var(--prog, 0)); }
  .step { display: grid; grid-template-columns: 60px 1fr; gap: 0 18px; text-align: left; padding: 0; }
  .step-num { grid-row: span 2; margin: 0; }
  .step h3 { margin: 6px 0 4px; }
  .cta-panel { grid-template-columns: 1fr; padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .hero-cta .btn { width: 100%; }
  .orbit { width: 104%; }
  .orbit-node { width: 34px; height: 34px; border-radius: 10px; }
  .orbit-node .ic { width: 16px; height: 16px; }
  .mock-window { transform: none; }
  .mw-menu { display: none; }
  .mw-kpis { grid-template-columns: repeat(2, 1fr); }
  .mw-grid { grid-template-columns: 1fr 1fr; }
  .donut { width: 72px; height: 72px; }
  .float-card { max-width: 200px; padding: 9px 11px; }
  .float-card b { font-size: .72rem; }
  .fc-1 { left: -6px; top: -40px; }
  .fc-2 { right: -6px; bottom: 40px; }
  .fc-3 { left: 4%; bottom: -44px; }
  .problem-grid, .benefit-grid, .special-grid, .price-grid, .spec-grid, .addon-grid { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: 1fr; }
  .hw-grid { gap: 12px; }
  .hw-card { flex-basis: calc(50% - 6px); max-width: calc(50% - 6px); padding: 22px 14px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 8px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .role-tabs { grid-template-columns: repeat(2, 1fr); }
  .role-panels { padding: 26px 20px; }
  .role-panel ul { grid-template-columns: 1fr; }
  .hub-node { width: 62px; padding: 8px 4px; }
  .hub-node .ic { width: 18px; height: 18px; }
  .hub-node small { font-size: .58rem; }
  .showcase + .showcase { margin-top: 90px; }
  .showcase-visual { min-height: 0; }
  .rapor-paper { padding: 18px; }
  .stamp { right: 6px; top: 70px; }
  .wa-chat { position: relative; right: auto; bottom: auto; width: 88%; margin: -20px 0 0 auto; }
  .att-node { width: 46px; height: 46px; border-radius: 14px; }
  .att-node .ic { width: 20px; height: 20px; }
  .att-core { width: 96px; height: 96px; }
  .att-feed { width: 100%; }
  .att-push { right: -2%; top: 14%; width: 185px; }
  .notif-channels { grid-template-columns: 1fr; }
  .notif-ch { display: grid; grid-template-columns: 42px 1fr; gap: 0 12px; text-align: left; align-items: center; }
  .notif-ic { margin: 0; grid-row: span 2; }
  .phones { height: 400px; }
  .phone { width: 180px; height: 370px; }
  .phone.p1 { left: 0; } .phone.p2 { right: 0; }
  .field-row { grid-template-columns: 1fr; }
  .cta-panel { padding: 32px 20px; border-radius: 24px; }
  .cta-form { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { gap: 12px; }
  .stat { padding: 20px 10px; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .to-top { right: 21px; bottom: 82px; }
}

@media (max-width: 400px) {
  .nav { gap: 8px; }
  .nav-actions { gap: 6px; }
  .brand { gap: 8px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 11px; }
  .brand-text small { letter-spacing: .2em; }
  .theme-toggle, .burger { width: 40px; height: 40px; }
  .burger span { left: 10px; right: 10px; }
  .burger span:nth-child(1) { top: 13px; } .burger span:nth-child(2) { top: 19px; } .burger span:nth-child(3) { top: 25px; }
  .price-card { padding: 30px 20px; }
  .price-ask { padding: 10px 12px; gap: 10px; }
  .price-ask b { font-size: 1.08rem; }
  .phone { width: 160px; height: 340px; }
  .brand-text b { font-size: .86rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
}
