/* ==========================================================================
   PT. KARYA NUSANTARA DIGITAL — DESIGN SYSTEM
   Software Development | Digital Publishing | Future Innovations
   Warna mengikuti kop surat resmi. Dimuat sesudah style.css di halaman dalam,
   dan berdiri sendiri di beranda.
   ========================================================================== */

:root {
  --navy: #1C3A6B;
  --navy-2: #12284D;
  --night: #050D1C;
  --night-2: #0A1830;
  --blue: #1F86C8;
  --blue-2: #176CA6;
  --sky: #6EC1F2;
  --ice: #CFEAFB;
  --teal: #19C3B1;
  --bg: #F4F7FB;
  --ink: #0B1730;
  --ink-2: #3C4B63;
  --muted: #6E7B90;
  --line: #E1E7EF;
  --grad: linear-gradient(110deg, #6EC1F2 0%, #1F86C8 45%, #19C3B1 100%);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* Token lama dari style.css dipetakan ke palet baru */
  --brand-navy-900: #0A1830;
  --brand-navy-800: #12284D;
  --brand-navy-700: #1C3A6B;
  --brand-navy-600: #24508F;
  --brand-blue: #1F86C8;
  --brand-cyan: #6EC1F2;
  --brand-cyan-light: #E7F3FC;
  --brand-teal: #19C3B1;
  --surface-page: #F4F7FB;
  --surface-muted: #EEF3F9;
  --border-light: #E1E7EF;
  --text-main: #0B1730;
  --text-muted: #3C4B63;
  --text-soft: #6E7B90;
  --font-sans: var(--sans);
  --font-serif: var(--sans);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(5, 13, 28, .04), 0 6px 18px rgba(5, 13, 28, .05);
  --shadow-md: 0 2px 4px rgba(5, 13, 28, .04), 0 14px 34px rgba(5, 13, 28, .08);
  --shadow-lg: 0 30px 70px -30px rgba(5, 13, 28, .35);
  --shadow-hover: 0 30px 60px -30px rgba(5, 13, 28, .35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
html, body { overflow-x: clip; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--blue); color: #fff; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% auto; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }
@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes rot { to { --a: 360deg; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes hov { 50% { translate: 0 -12px; } }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); z-index: 1001; }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.nav-shell { position: fixed; top: 14px; left: 0; right: 0; z-index: 1000; padding: 0 16px; }
.nav {
  position: relative; max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(10, 24, 48, .55); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; padding: 7px 7px 7px 12px;
  transition: background .4s, border-color .4s, box-shadow .4s;
}
.nav-shell.light .nav { background: rgba(255, 255, 255, .88); border-color: rgba(28, 58, 107, .08); box-shadow: 0 10px 30px -18px rgba(28, 58, 107, .45); }
.nav-logo img { height: 40px; width: auto; border-radius: 10px; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { font-size: .87rem; font-weight: 600; color: #C7D6EA; padding: 9px 14px; border-radius: 999px; transition: background .25s, color .25s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-links a.active { background: #fff; color: var(--navy); }
.nav-shell.light .nav-links a { color: var(--ink-2); }
.nav-shell.light .nav-links a:hover { background: #EAF4FC; color: var(--navy); }
.nav-shell.light .nav-links a.active { background: var(--navy); color: #fff; }
.nav-links .nav-mobile-cta { display: none; }
.menu-btn { display: none; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; padding: 15px 26px; border-radius: 999px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, translate .35s var(--ease); border: 0; font-family: inherit; cursor: pointer; overflow: hidden; isolation: isolate; line-height: 1.2; }
.btn:hover { transform: translateY(-2px); }
.btn-glow { background: var(--blue); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15) inset, 0 18px 40px -14px rgba(31, 134, 200, .9); }
.btn-glow::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .35s; z-index: -1; }
.btn-glow:hover::before { opacity: 1; }
.btn-glass { background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .12); }
.btn-white { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { box-shadow: 0 14px 30px -12px rgba(28, 58, 107, .7); }
.btn-sm { padding: 11px 18px; font-size: .85rem; }
.btn .arrow { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .18); font-size: .72rem; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: rotate(-45deg); }

/* ==========================================================================
   SHARED DARK BACKDROP (hero, banner, CTA)
   ========================================================================== */
.mesh { position: absolute; inset: -20%; z-index: -3; filter: blur(60px); opacity: .9; pointer-events: none;
  background:
    radial-gradient(30% 35% at 78% 22%, rgba(31, 134, 200, .75), transparent 70%),
    radial-gradient(28% 32% at 18% 78%, rgba(28, 58, 107, .95), transparent 70%),
    radial-gradient(22% 28% at 60% 70%, rgba(25, 195, 177, .35), transparent 70%),
    radial-gradient(25% 30% at 35% 15%, rgba(110, 193, 242, .25), transparent 70%);
  animation: mesh 20s ease-in-out infinite alternate; }
@keyframes mesh { 50% { transform: translate(-4%, 3%) rotate(6deg) scale(1.06); } 100% { transform: translate(3%, -3%) rotate(-4deg); } }
.floor { position: absolute; left: -50%; right: -50%; bottom: -10%; height: 60%; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgba(110, 193, 242, .22) 1px, transparent 1px), linear-gradient(90deg, rgba(110, 193, 242, .22) 1px, transparent 1px);
  background-size: 70px 70px; transform: perspective(500px) rotateX(62deg); transform-origin: top;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 60%, transparent);
  animation: floor 4s linear infinite; }
@keyframes floor { to { background-position: 0 70px; } }
.grain { position: absolute; inset: 0; z-index: -1; opacity: .06; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(520px circle at var(--x, 70%) var(--y, 30%), rgba(110, 193, 242, .14), transparent 60%); }

/* ==========================================================================
   HOME — HERO
   ========================================================================== */
.hero { position: relative; min-height: 100vh; padding: 150px 0 120px; background: var(--night); color: #fff; overflow: hidden; isolation: isolate; }
#stars { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero-grid > * { min-width: 0; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); font-size: .8rem; font-weight: 600; color: #D6E6F7; backdrop-filter: blur(8px); }
.badge b { background: var(--grad); color: var(--night); padding: 3px 10px; border-radius: 999px; font-size: .7rem; letter-spacing: .06em; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.8rem); line-height: .98; letter-spacing: -0.05em; font-weight: 800; margin: 26px 0; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: up 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes up { to { transform: none; } }
.hero h1 .line > .rotator { display: grid; perspective: 600px; padding-bottom: .08em; }
.rotator > span { grid-area: 1 / 1; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; font-size: 1.08em; line-height: 1; opacity: 0; transform: translateY(50%) rotateX(-60deg); filter: blur(8px); transition: all .7s var(--ease); white-space: nowrap; }
.rotator > span.on { opacity: 1; transform: none; filter: none; }
.rotator > span.out { opacity: 0; transform: translateY(-50%) rotateX(60deg); filter: blur(8px); }
.rotator > span:nth-child(1) { color: var(--sky); }
.rotator > span:nth-child(2) { color: #8FD3FF; }
.rotator > span:nth-child(3) { color: var(--teal); }
.hero-lead { font-size: 1.12rem; color: #AFC2DA; max-width: 560px; margin-bottom: 36px; opacity: 0; animation: fade 1s .5s var(--ease) forwards; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 50px; opacity: 0; animation: fade 1s .65s var(--ease) forwards; }
.pillar-pills { display: flex; gap: 10px; flex-wrap: wrap; opacity: 0; animation: fade 1s .8s var(--ease) forwards; }
.pillar-pills a { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; font-weight: 700; color: #E1ECF8; transition: background .3s, border-color .3s; }
.pillar-pills a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(110, 193, 242, .5); }

/* Hero 3D scene */
.scene { position: relative; height: 560px; perspective: 1400px; }
.scene-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.glass { position: absolute; border-radius: 20px; background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .15); overflow: hidden; }
.spin-border::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--a, 0deg), transparent 0 65%, #6EC1F2 78%, #19C3B1 90%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: rot 5s linear infinite; pointer-events: none; }
.code-win { width: 400px; left: 0; top: 30px; transform: translateZ(40px) rotateY(10deg); animation: hov 9s ease-in-out infinite; }
.win-bar { display: flex; gap: 6px; align-items: center; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; }
.win-bar span { margin-left: 10px; font-family: var(--mono); font-size: .7rem; color: #8FA6C2; }
.code { padding: 16px 18px 20px; font-family: var(--mono); font-size: .76rem; line-height: 1.75; color: #CFE1F5; min-height: 210px; white-space: pre; }
.code .k { color: #6EC1F2; } .code .s { color: #19C3B1; } .code .c { color: #627A99; } .code .f { color: #FFD27A; }
.caret { display: inline-block; width: 7px; height: 14px; background: var(--sky); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.phone { width: 168px; height: 330px; right: 20px; top: 0; border-radius: 32px; padding: 10px; transform: translateZ(90px) rotateY(-14deg); animation: hov 8s ease-in-out infinite reverse; }
.phone-in { height: 100%; border-radius: 24px; background: linear-gradient(170deg, #1F86C8, #1C3A6B 70%); padding: 26px 13px 13px; display: flex; flex-direction: column; gap: 9px; }
.phone-in small { font-size: .58rem; color: #CFEAFB; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.phone-in strong { font-size: 1rem; line-height: 1.15; }
.ring-chart { width: 84px; height: 84px; border-radius: 50%; margin: 6px auto; background: conic-gradient(var(--teal) 0 72%, rgba(255, 255, 255, .15) 72%); display: grid; place-items: center; }
.ring-chart b { width: 62px; height: 62px; border-radius: 50%; background: #1A4C84; display: grid; place-items: center; font-size: .9rem; }
.p-row { height: 32px; border-radius: 10px; background: rgba(255, 255, 255, .12); display: flex; align-items: center; gap: 8px; padding: 0 9px; }
.p-row i { width: 16px; height: 16px; border-radius: 5px; background: rgba(255, 255, 255, .4); }
.p-row em { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .35); }
.book3d { position: absolute; left: 130px; bottom: 30px; width: 170px; height: 232px; transform-style: preserve-3d; transform: translateZ(120px) rotateY(-28deg) rotateX(6deg); animation: bookspin 10s ease-in-out infinite; }
@keyframes bookspin { 50% { transform: translateZ(120px) rotateY(-8deg) rotateX(2deg) translateY(-14px); } }
.book3d .front, .book3d .spine, .book3d .pages { position: absolute; }
.book3d .front { inset: 0; border-radius: 3px 10px 10px 3px; background: linear-gradient(150deg, #24508F, #0E2246); padding: 18px 16px 16px 20px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; box-shadow: inset 4px 0 0 rgba(0, 0, 0, .25); }
.book3d .front::after { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; border: 18px solid rgba(110, 193, 242, .3); right: -50px; bottom: -50px; }
.book3d .front small { font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); font-weight: 800; }
.book3d .front h4 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.04; position: relative; z-index: 1; }
.book3d .spine { left: 0; top: 0; width: 30px; height: 100%; background: #0B1B38; transform: rotateY(-90deg); transform-origin: left; }
.book3d .pages { right: 0; top: 4px; width: 28px; height: calc(100% - 8px); background: repeating-linear-gradient(90deg, #F2F5F9 0 2px, #D9E1EB 2px 3px); transform: rotateY(90deg) translateX(28px); transform-origin: right; }
.float-chip { position: absolute; z-index: 5; display: flex; align-items: center; gap: 11px; padding: 10px 14px 10px 10px; border-radius: 16px; font-size: .78rem; }
.float-chip .ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #fff; }
.float-chip strong { display: block; font-size: .82rem; }
.float-chip span { color: #A8BCD5; font-size: .72rem; }
.fc-1 { right: 0; top: 400px; transform: translateZ(150px); animation: hov 6s ease-in-out infinite; }
.fc-2 { left: -20px; top: 300px; transform: translateZ(70px); animation: hov 7s ease-in-out infinite reverse; }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .7rem; letter-spacing: .2em; color: #8FA6C2; }
.scroll-hint i { width: 22px; height: 36px; border: 2px solid rgba(255, 255, 255, .3); border-radius: 12px; position: relative; }
.scroll-hint i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--sky); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* ==========================================================================
   HOME — STATS, SECTIONS, SWITCHER, BENTO, PROCESS, CTA
   ========================================================================== */
.stats { position: relative; z-index: 2; margin-top: -60px; }
.stats-card { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 26px; box-shadow: 0 30px 70px -30px rgba(5, 13, 28, .35); border: 1px solid var(--line); overflow: hidden; }
.stat { padding: 30px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 2.8rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--navy); }
.stat strong em { font-family: var(--serif); font-weight: 400; font-size: .55em; color: var(--blue); }
.stat > span { font-size: .86rem; color: var(--muted); font-weight: 600; }

section.block { padding: 120px 0; }
.head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #E7F3FC; color: var(--blue-2); font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.head h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.02; letter-spacing: -0.045em; font-weight: 800; color: var(--ink); }
.head h2 .serif { color: var(--blue); }
.head p { color: var(--ink-2); font-size: 1.05rem; margin-top: 16px; }

.switch-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.tab { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px; border-radius: 18px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-family: inherit; text-align: left; transition: all .35s var(--ease); overflow: hidden; }
.tab .t-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #EEF4FA; color: var(--navy); transition: all .35s; }
.tab strong { display: block; font-size: .92rem; color: var(--ink); }
.tab small { font-size: .74rem; color: var(--muted); }
.tab .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--grad); }
.tab.active { border-color: transparent; background: var(--night-2); box-shadow: 0 20px 40px -20px rgba(5, 13, 28, .7); }
.tab.active strong { color: #fff; }
.tab.active small { color: #9FB4CF; }
.tab.active .t-ic { background: var(--grad); color: #fff; }
.tab.active .bar { animation: fill 7s linear forwards; }
@keyframes fill { to { width: 100%; } }

.stage { position: relative; border-radius: 32px; background: var(--night-2); color: #fff; overflow: hidden; isolation: isolate; min-height: 470px; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 85% 20%, rgba(31, 134, 200, .45), transparent 70%), radial-gradient(40% 60% at 10% 100%, rgba(25, 195, 177, .22), transparent 70%); }
.panel { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 56px; align-items: center; opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s; }
.panel.show { position: relative; opacity: 1; visibility: visible; transform: none; }
.panel small.eyebrow { font-size: .74rem; font-weight: 800; letter-spacing: .16em; color: var(--sky); text-transform: uppercase; }
.panel h3 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.05; letter-spacing: -0.04em; margin: 12px 0 14px; }
.panel h3 .serif { color: var(--sky); }
.panel p { color: #AFC2DA; margin-bottom: 26px; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 30px; }
.feat span { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); font-size: .86rem; font-weight: 600; transition: background .3s, border-color .3s; }
.feat span:hover { background: rgba(110, 193, 242, .1); border-color: rgba(110, 193, 242, .4); }
.feat i { color: var(--sky); width: 16px; text-align: center; }
.vis { position: relative; height: 360px; }
.vis-dash { position: absolute; inset: 0 0 30px 0; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); padding: 18px; display: grid; grid-template-rows: auto 1fr; gap: 14px; }
.vd-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vd-top div { border-radius: 12px; background: rgba(255, 255, 255, .06); padding: 12px; }
.vd-top small { display: block; font-size: .64rem; color: #9FB4CF; }
.vd-top b { font-size: 1.2rem; }
.vd-chart { border-radius: 12px; background: rgba(255, 255, 255, .04); padding: 14px; display: flex; align-items: end; gap: 8px; }
.vd-chart i { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(to top, #1F86C8, #6EC1F2); transform-origin: bottom; animation: grow 2.4s var(--ease) infinite alternate; }
.vd-chart i:nth-child(3n) { background: linear-gradient(to top, #138E82, #19C3B1); }
@keyframes grow { from { transform: scaleY(.4); } to { transform: scaleY(1); } }
.vis-phone { position: absolute; right: -10px; bottom: 0; width: 130px; height: 250px; border-radius: 26px; background: #0B1730; border: 6px solid #1E2E4A; padding: 18px 10px; display: grid; gap: 8px; align-content: start; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .7); }
.vis-phone i { height: 28px; border-radius: 9px; background: rgba(110, 193, 242, .18); }
.vis-phone i:first-child { height: 70px; background: var(--grad); }
.vis-books { display: flex; justify-content: center; align-items: end; gap: 16px; height: 100%; padding-bottom: 40px; }
.vb { width: 120px; border-radius: 3px 10px 10px 3px; padding: 16px 12px 12px 16px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .7); transition: transform .6s var(--ease); }
.vb::before { content: ""; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: rgba(255, 255, 255, .2); }
.vb small { font-size: .52rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; opacity: .85; }
.vb h5 { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; line-height: 1.05; }
.vis-books:hover .vb:nth-child(1) { transform: translateY(-16px) rotate(-4deg); }
.vis-books:hover .vb:nth-child(2) { transform: translateY(-26px); }
.vis-books:hover .vb:nth-child(3) { transform: translateY(-16px) rotate(4deg); }
.journal-badge { position: absolute; right: 10px; top: 10px; padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); }
.journal-badge b { display: block; font-size: 2.2rem; line-height: 1; letter-spacing: -0.05em; }
.journal-badge span { font-size: .74rem; color: #AFC2DA; }
.vis-orbit { position: relative; height: 100%; display: grid; place-items: center; }
.orb-ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(110, 193, 242, .35); animation: spin 30s linear infinite; }
.orb-ring.o1 { width: 330px; height: 330px; }
.orb-ring.o2 { width: 210px; height: 210px; animation-duration: 20s; animation-direction: reverse; }
.orb-ring .n { position: absolute; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 15px; display: grid; place-items: center; font-size: 1.05rem; color: #fff; animation: spin 30s linear infinite reverse; box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .7); }
.orb-ring.o2 .n { animation-duration: 20s; animation-direction: normal; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 12px; font-size: .85rem; }
.orb-core { width: 110px; height: 110px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-size: 2.2rem; box-shadow: 0 0 60px rgba(25, 195, 177, .5); animation: pulse 3s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 90px rgba(110, 193, 242, .7); transform: scale(1.05); } }

.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 18px; }
.cell { position: relative; overflow: hidden; border-radius: 26px; background: #fff; border: 1px solid var(--line); padding: 26px; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.cell:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(5, 13, 28, .35); }
.cell::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(31, 134, 200, .1), transparent 50%); }
.cell:hover::after { opacity: 1; }
.cell h4 { font-size: 1.2rem; letter-spacing: -0.02em; margin-bottom: 6px; }
.cell p { font-size: .88rem; color: var(--ink-2); }
.c-2x2 { grid-column: span 2; grid-row: span 2; }
.c-2 { grid-column: span 2; }
.cell.dark { background: var(--night-2); color: #fff; border-color: transparent; }
.cell.dark p { color: #AFC2DA; }
.cell.dark::after { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(110, 193, 242, .16), transparent 50%); }
.cell .tag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.cell.dark .tag { color: var(--sky); }
.term { margin-top: 18px; border-radius: 16px; background: #030A16; border: 1px solid rgba(255, 255, 255, .08); padding: 16px; font-family: var(--mono); font-size: .78rem; color: #9FE7DE; height: calc(100% - 120px); overflow: hidden; }
.term .l { opacity: 0; animation: line .4s forwards; }
.term .l span { color: var(--sky); }
@keyframes line { to { opacity: 1; } }
.big { font-size: 5rem; font-weight: 800; letter-spacing: -0.06em; line-height: .9; }
.blue-cell { background: var(--blue); color: #fff; border-color: transparent; }
.blue-cell p { color: #DDEFFC; }
.blue-cell .tag { color: #fff; opacity: .8; }
.disc-cloud { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.disc-cloud a { font-size: .76rem; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: #EEF4FA; color: var(--navy); transition: background .25s, color .25s; }
.disc-cloud a:hover { background: var(--navy); color: #fff; }
.mini-shelf { display: flex; gap: 10px; align-items: end; position: absolute; right: 22px; bottom: -14px; }
.mini-shelf i { width: 56px; border-radius: 3px 8px 8px 3px; box-shadow: 0 16px 24px -14px rgba(0, 0, 0, .5); transition: transform .5s var(--ease); }
.cell:hover .mini-shelf i:nth-child(odd) { transform: translateY(-10px); }
.ring-big { position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border-radius: 50%; border: 26px solid rgba(255, 255, 255, .15); }
.icon-xl { position: absolute; right: 24px; top: 24px; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.3rem; }
.cell .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .85rem; font-weight: 700; color: var(--blue); }

.proc { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.proc-line { position: absolute; left: 6%; right: 6%; top: 34px; height: 2px; background: var(--line); }
.proc-line i { display: block; height: 100%; width: 0; background: var(--grad); transition: width 1.6s var(--ease); }
.proc.in .proc-line i { width: 100%; }
.pstep { position: relative; text-align: center; padding: 0 10px; }
.pstep .dot { width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.3rem; color: var(--navy); position: relative; z-index: 1; transition: all .5s var(--ease); box-shadow: 0 14px 30px -20px rgba(5, 13, 28, .4); }
.proc.in .pstep .dot { background: var(--night-2); color: var(--sky); border-color: transparent; }
.proc.in .pstep:nth-child(3) .dot { transition-delay: .3s; }
.proc.in .pstep:nth-child(4) .dot { transition-delay: .6s; }
.proc.in .pstep:nth-child(5) .dot { transition-delay: .9s; }
.pstep b { font-family: var(--mono); font-size: .74rem; color: var(--blue); }
.pstep h4 { font-size: 1.15rem; margin: 6px 0 8px; }
.pstep p { font-size: .9rem; color: var(--ink-2); }

.cta { position: relative; border-radius: 36px; padding: 80px 60px; background: var(--night); color: #fff; overflow: hidden; isolation: isolate; text-align: center; }
.cta .mesh { inset: -40%; opacity: .8; }
.cta h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -0.05em; font-weight: 800; max-width: 820px; margin: 0 auto; }
.cta > p { color: #AFC2DA; margin: 18px auto 36px; max-width: 560px; }
.cta-tracks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 940px; margin: 0 auto; }
.track { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(10px); text-align: left; transition: transform .4s var(--ease), background .3s; overflow: hidden; }
.track:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .1); }
.track::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--a, 0deg), transparent 0 65%, #6EC1F2 80%, #19C3B1 92%, transparent); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; animation: rot 4s linear infinite; pointer-events: none; }
.track:hover::before { opacity: 1; }
.track .t-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; flex-shrink: 0; }
.track strong { display: block; font-size: .95rem; }
.track span { font-size: .78rem; color: #AFC2DA; }
.track .go { margin-left: auto; transition: transform .3s; }
.track:hover .go { transform: translateX(4px); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.knd-footer { margin-top: 120px; background: var(--night); color: #9FB4CF; }
.foot-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 70px 24px 50px; }
.foot-brand img { width: 74px; border-radius: 14px; background: #fff; margin-bottom: 16px; }
.foot-brand h3 { color: #fff; font-size: 1.15rem; letter-spacing: .01em; }
.foot-brand p { margin-top: 6px; font-size: .74rem; letter-spacing: .14em; font-weight: 800; color: var(--sky); text-transform: uppercase; }
.foot-brand .foot-ojs { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .15); font-size: .8rem; font-weight: 700; color: #fff; transition: background .25s; }
.foot-brand .foot-ojs:hover { background: rgba(255, 255, 255, .08); }
.knd-footer h5 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.knd-footer ul { list-style: none; display: grid; gap: 10px; font-size: .9rem; }
.knd-footer ul a { transition: color .25s; }
.knd-footer ul a:hover { color: #fff; }
.foot-band { background: var(--blue); color: #fff; }
.foot-band .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.foot-band .wrap > div { padding: 18px 24px; border-right: 1px solid rgba(255, 255, 255, .22); }
.foot-band .wrap > div:last-child { border-right: 0; }
.foot-band small { display: block; font-size: .66rem; font-weight: 800; letter-spacing: .22em; color: #D8EEFC; }
.foot-band strong, .foot-band a { font-size: .92rem; font-weight: 600; }
.foot-band a:hover { text-decoration: underline; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 30px; font-size: .8rem; flex-wrap: wrap; }

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px 13px 16px; border-radius: 999px;
  background: linear-gradient(135deg, #25D366, #128C7E); color: #fff !important;
  font-weight: 700; font-size: .9rem;
  box-shadow: 0 18px 40px -12px rgba(18, 140, 126, .7);
  transition: transform .35s var(--ease);
}
.floating-whatsapp i { font-size: 1.35rem; }
.floating-whatsapp:hover { transform: translateY(-3px); }
.floating-whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: waPulse 2.4s infinite; pointer-events: none; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 80%, 100% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } }

/* Reveal (diaktifkan oleh knd.js) */
.js-rv .rv { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js-rv .rv.in { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-links {
    position: absolute; left: 0; right: 0; top: calc(100% + 10px);
    flex-direction: column; gap: 2px; padding: 10px;
    background: rgba(10, 24, 48, .96); backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav-shell.light .nav-links { background: rgba(255, 255, 255, .98); border-color: var(--line); box-shadow: 0 30px 60px -30px rgba(5, 13, 28, .4); }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 13px 16px; font-size: .95rem; border-radius: 14px; }
  .nav-links .nav-mobile-cta { display: block; margin-top: 6px; text-align: center; background: var(--blue) !important; color: #fff !important; }
  .nav .nav-cta { display: none; }
  .menu-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; border: 0; font-size: 1rem; cursor: pointer; }
  .nav-shell.light .menu-btn { background: #EAF4FC; color: var(--navy); }
  .hero-grid { grid-template-columns: 1fr; }
  .scene { max-width: 600px; width: 100%; margin: 0 auto; }
  .panel { grid-template-columns: 1fr; padding: 36px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .stats-card { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .proc { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .proc-line { display: none; }
  .cta-tracks { grid-template-columns: 1fr; }
  .foot-main { grid-template-columns: 1fr 1fr; }
  .scroll-hint { display: none; }
}
@media (max-width: 680px) {
  .hero { padding: 120px 0 110px; min-height: auto; }
  .scene { height: 520px; transform: scale(.72); transform-origin: top left; width: 138%; margin-bottom: -150px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .c-2x2, .c-2 { grid-column: span 1; grid-row: auto; }
  .cell { min-height: 220px; }
  .term { height: 180px; }
  .feat { grid-template-columns: 1fr; }
  .panel { padding: 28px 22px; }
  .vis { height: 300px; }
  .orb-ring.o1 { width: 260px; height: 260px; }
  .stat { padding: 22px 18px; }
  .stat strong { font-size: 2.1rem; }
  .proc { grid-template-columns: 1fr; }
  .cta { padding: 50px 22px; border-radius: 28px; }
  .foot-main, .foot-band .wrap { grid-template-columns: 1fr; }
  .foot-band .wrap { padding: 0; }
  .foot-band .wrap > div { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .rotator > span { white-space: normal; }
  section.block { padding: 80px 0; }
  .tab { flex: 1 1 100%; }
  .floating-whatsapp span { display: none; }
  .floating-whatsapp { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01s !important; animation-iteration-count: 1 !important; transition: none !important; }
  .js-rv .rv { opacity: 1; transform: none; }
}
