/* ==========================================================================
   IndoWaris — landing page (modern / premium). Loaded only on the home page.
   ========================================================================== */
:root {
  --night: #070F1C;
  --night-2: #0C1A2E;
  --glass: rgba(255, 255, 255, .06);
  --glass-2: rgba(255, 255, 255, .1);
  --glass-line: rgba(255, 255, 255, .12);
  --glow-gold: 0 0 0 1px rgba(246, 185, 43, .5), 0 10px 40px -8px rgba(246, 185, 43, .65);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- transparent header over the dark hero ---------- */
.is-home main { margin-top: -69px; }
.is-home .topbar { transition: background .3s, border-color .3s, box-shadow .3s; }
.is-home .topbar:not(.scrolled) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.is-home .topbar:not(.scrolled) .brand, .is-home .topbar:not(.scrolled) .nav a, .is-home .topbar:not(.scrolled) .btn-text, .is-home .topbar:not(.scrolled) .icon-btn { color: #fff; }
.is-home .topbar:not(.scrolled) .brand span b { color: var(--gold); }
.is-home .topbar:not(.scrolled) .nav a:hover, .is-home .topbar:not(.scrolled) .nav a.active { background: rgba(255, 255, 255, .1); }
.is-home .topbar:not(.scrolled) .lang-chip { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); color: #fff; }
.is-home .topbar:not(.scrolled) .btn-primary { background: var(--gold); color: #1d1400; }
.is-home .topbar:not(.scrolled) .btn-tonal { background: rgba(255, 255, 255, .12); color: #fff; }
.is-home .topbar.scrolled { box-shadow: 0 8px 30px -12px rgba(15, 30, 50, .25); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- shared backgrounds ---------- */
.hx-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.blob.b1 { width: 560px; height: 560px; background: radial-gradient(circle, rgba(246, 185, 43, .55), transparent 65%); top: -180px; inset-inline-end: -120px; }
.blob.b2 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(142, 201, 245, .45), transparent 65%); bottom: -220px; inset-inline-start: -160px; animation-duration: 22s; }
.blob.b3 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(125, 181, 72, .4), transparent 65%); top: 30%; inset-inline-start: 38%; animation-duration: 26s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, -30px) scale(1.08); } 100% { transform: translate(-30px, 30px) scale(.95); } }
.hx-grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); }
.hx-noise { position: absolute; inset: 0; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- HERO ---------- */
.hx { position: relative; overflow: hidden; padding-bottom: 130px !important; background: radial-gradient(1200px 600px at 80% -10%, #16304f 0%, transparent 60%), linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); color: #fff; padding: 150px 0 110px; isolation: isolate; }
.hx-wrap { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hx-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); color: #E6EEF7; font: 600 .88rem var(--font); cursor: pointer; backdrop-filter: blur(10px); transition: background .2s, border-color .2s; position: relative; overflow: hidden; }
.hx-pill:hover { background: var(--glass-2); border-color: rgba(246, 185, 43, .5); }
.hx-pill::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .18) 50%, transparent 70%); transform: translateX(-100%); animation: shimmer 4s infinite; }
@keyframes shimmer { 60%, 100% { transform: translateX(100%); } }
.hx-pill-tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: linear-gradient(135deg, #F6B92B, #FFD66B); color: #2B1E00; font-weight: 800; font-size: .75rem; letter-spacing: .04em; }
.hx-pill-tag .material-symbols-rounded { font-size: 15px; }
.hx-pill-arrow { font-size: 18px; transition: transform .2s; }
.hx-pill:hover .hx-pill-arrow { transform: translateX(3px); }
[dir="rtl"] .hx-pill-arrow { transform: scaleX(-1); }
.hx-title { font-size: clamp(2.4rem, 4.6vw, 3.9rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; margin: 22px 0 18px; color: #fff; }
.grad-text { background: linear-gradient(92deg, #FFD66B 0%, #F6B92B 35%, #9BD46A 70%, #8EC9F5 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradshift 8s ease-in-out infinite alternate; }
@keyframes gradshift { to { background-position: 100% 0; } }
.hx-lead { font-size: 1.16rem; color: #B8C6D6; max-width: 560px; margin: 0 0 30px; }
.hx-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.center-row { justify-content: center; }
.btn-glow, .btn-glass { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 26px; border-radius: 16px; font: 700 1rem var(--font); cursor: pointer; text-decoration: none !important; transition: transform .2s var(--ease), box-shadow .25s, background .2s; border: 0; }
.btn-glow { background: linear-gradient(135deg, #FFD66B, #F6B92B 55%, #E8A40F); color: #221700; box-shadow: var(--glow-gold); }
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(246, 185, 43, .7), 0 16px 50px -8px rgba(246, 185, 43, .8); }
.btn-glass { background: var(--glass); color: #fff; border: 1px solid var(--glass-line); backdrop-filter: blur(12px); }
.btn-glass:hover { background: var(--glass-2); transform: translateY(-2px); }
.hx-proof { list-style: none; padding: 0; margin: 38px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hx-proof li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; min-width: 0; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); font-size: .76rem; line-height: 1.35; color: #9FB0C3; }
.hx-proof li > .material-symbols-rounded { color: var(--gold); font-size: 20px; }
.hx-proof b { display: block; color: #fff; font-size: 1rem; }

/* app window mockup */
.hx-visual { position: relative; perspective: 1400px; }
.win { position: relative; border-radius: 22px; background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .15); backdrop-filter: blur(18px); padding: 12px; transform: rotateY(-8deg) rotateX(6deg); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.hx-visual:hover .win { transform: rotateY(-2deg) rotateX(2deg); }
[dir="rtl"] .win { transform: rotateY(8deg) rotateX(6deg); }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 4px 6px 12px; }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF6B5E; } .win-bar i:nth-child(2) { background: #FFC23D; } .win-bar i:nth-child(3) { background: #3DD07A; }
.win-url { margin-inline-start: 12px; flex: 1; display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 9px; background: rgba(0, 0, 0, .25); color: #9FB0C3; font-size: .75rem; }
.win-url .material-symbols-rounded { font-size: 14px; color: #3DD07A; }
.win-tabs { display: flex; gap: 6px; padding: 0 4px 10px; }
.win-tabs span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 9px; font-size: .72rem; color: #9FB0C3; }
.win-tabs span .material-symbols-rounded { font-size: 15px; }
.win-tabs .on { background: rgba(246, 185, 43, .16); color: #FFD66B; }
.tree { display: block; width: 100%; height: auto; background: #fff; border-radius: 14px; font-family: var(--font); }
.tree .lines path { fill: none; stroke: #9AABBE; stroke-width: 2; stroke-dasharray: 800; stroke-dashoffset: 800; animation: draw 2s .4s var(--ease) forwards; }
.tree .lines path.late { animation-delay: 1.3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.tree .node text { text-anchor: middle; font-size: 13px; font-weight: 700; fill: #1F2D3D; }
.tree .node text.sub { font-size: 10.5px; font-weight: 600; fill: #5B6B7B; }
.tree .n-pw rect { fill: #243447; } .tree .n-pw text { fill: #fff; } .tree .n-pw text.sub { fill: #C9D6E4; }
.tree .n-tr rect { fill: #FFF3D1; stroke: #F6B92B; stroke-width: 1.6; } .tree .n-tr text.sub { fill: #8A6100; }
.tree .n-hr rect { fill: #EAF5DE; stroke: #7DB548; stroke-width: 1.6; } .tree .n-hr text.share { fill: #2F5A12; font-weight: 800; }
.tree .n-dc rect { fill: #E6EBF0; stroke: #A9B6C3; stroke-width: 1.2; }
.tree .node { opacity: 0; animation: pop .6s var(--ease) forwards; transform-box: fill-box; transform-origin: center; }
.tree .node:nth-of-type(1) { animation-delay: .2s; } .tree .node:nth-of-type(2) { animation-delay: .35s; } .tree .node:nth-of-type(3) { animation-delay: .9s; }
.tree .node:nth-of-type(4) { animation-delay: 1s; } .tree .node:nth-of-type(5) { animation-delay: 1.1s; } .tree .node.pop { animation-delay: 1.9s; }
@keyframes pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: scale(1); } }
.tree .sum rect { fill: #243447; } .tree .sum text { text-anchor: middle; fill: #FFD66B; font-size: 12px; font-weight: 800; }

/* floating cards */
.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .55); backdrop-filter: blur(10px); max-width: 280px; animation: bob 6s ease-in-out infinite; }
.float b { display: block; font-size: .84rem; }
.float p { margin: 2px 0 0; font-size: .76rem; color: var(--muted); line-height: 1.35; }
.f-va { top: -34px; inset-inline-start: -40px; }
.f-doc { top: 34px; inset-inline-end: -52px; animation-delay: -2s; }
.f-pptx { bottom: -46px; inset-inline-end: 8%; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.f-avatar { width: 38px; height: 38px; border-radius: 12px; background: #fff; border: 1px solid var(--outline); display: grid; place-items: center; flex: none; }
.f-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.f-ico.gold { background: var(--gold-soft); color: var(--gold-ink); } .f-ico.green { background: var(--green-soft); color: var(--green-ink); }
.f-meta { font-size: .72rem; color: var(--muted); }
.scanbar { display: block; width: 150px; height: 6px; border-radius: 9px; background: #EEF2F6; margin-top: 7px; overflow: hidden; }
.scanbar i { display: block; height: 100%; width: 40%; border-radius: 9px; background: linear-gradient(90deg, var(--gold), var(--green)); animation: scanload 2.4s ease-in-out infinite; }
@keyframes scanload { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }

/* ---------- marquee ---------- */
.mq { position: relative; overflow: hidden; background: #0A1526; border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06); padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq-track { display: flex; gap: 40px; width: max-content; animation: marquee 45s linear infinite; }
.mq-track > span { display: inline-flex; align-items: center; gap: 10px; color: #8FA2B8; font-weight: 700; font-size: .92rem; white-space: nowrap; }
.mq-track .material-symbols-rounded { font-size: 16px; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .mq-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- sections ---------- */
.sx { position: relative; padding: 110px 0; }
.sx.pt-0 { padding-top: 0; }
.sx-soft { background: linear-gradient(180deg, #F6F8FB, #fff); }
.sx-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sx-head.left { margin: 0 0 36px; text-align: start; }
.sx-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.03em; line-height: 1.1; margin: 14px 0 14px; }
.sx-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #B07C00; }
.kicker::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), var(--green)); }
.kicker.light { color: var(--gold); }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(230px, auto); gap: 18px; }
.bx { position: relative; border-radius: 24px; padding: 26px; background: #fff; border: 1px solid #E4EAF1; overflow: hidden; display: flex; flex-direction: column; gap: 10px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.bx:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(20, 40, 70, .35); border-color: #D6DFEA; }
.bx h3 { margin: 6px 0 0; font-size: 1.18rem; letter-spacing: -.01em; }
.bx p { margin: 0; color: var(--muted); font-size: .95rem; }
.bx-ai { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, #0F2036, #1B3556); color: #fff; border-color: #1B3556; }
.bx-ai h3 { font-size: 1.6rem; } .bx-ai p { color: #B8C6D6; }
.bx-tree.bx-wide { grid-column: span 2; }
.bx-top { display: flex; align-items: center; justify-content: space-between; }
.bx-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.bx-ico.big { width: 60px; height: 60px; border-radius: 18px; } .bx-ico.big .material-symbols-rounded { font-size: 32px; }
.bx-ico.gold { background: var(--gold-soft); color: var(--gold-ink); } .bx-ico.green { background: var(--green-soft); color: var(--green-ink); }
.bx-ico.blue { background: var(--blue-soft); color: var(--blue-ink); } .bx-ico.navy { background: #E3E8EF; color: var(--primary); }
.bx-ai .bx-ico.gold { background: rgba(246, 185, 43, .18); color: #FFD66B; }
.bx-link { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; font: 700 .95rem var(--font); color: var(--primary); cursor: pointer; }
.bx-ai .bx-link { color: #FFD66B; }
.bx-link .material-symbols-rounded { font-size: 18px; transition: transform .2s; }
.bx-link:hover .material-symbols-rounded { transform: translateX(4px); }
[dir="rtl"] .bx-link .material-symbols-rounded { transform: scaleX(-1); }
/* cursor spotlight (position set from JS via CSS variables) */
.spot::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(246, 185, 43, .13), transparent 45%); }
.spot:hover::before { opacity: 1; }
.bx-ai.spot::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 214, 107, .16), transparent 45%); }

.mini-chat { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 8px; }
.mc { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: .88rem; line-height: 1.45; }
.mc.a { align-self: flex-start; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: #E6EEF7; border-start-start-radius: 4px; }
.mc.u { align-self: flex-end; background: linear-gradient(135deg, #FFD66B, #F6B92B); color: #221700; font-weight: 600; border-start-end-radius: 4px; }
.mc.typing { display: flex; gap: 5px; padding: 12px 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.mc.typing i { width: 7px; height: 7px; border-radius: 50%; background: #FFD66B; animation: typing 1.2s infinite ease-in-out; }
.mc.typing i:nth-child(2) { animation-delay: .15s; } .mc.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.mc ol { margin: 6px 0 0; padding-inline-start: 1.2em; } .mc p { margin: 0; }

.kk-mock { position: relative; margin-top: auto; border-radius: 14px; background: #F7F8F4; border: 1px solid #E4E6DC; padding: 12px; overflow: hidden; }
.kk-head { font-size: .7rem; font-weight: 800; letter-spacing: .12em; color: #6B7069; text-align: center; margin-bottom: 8px; }
.kk-mock i { display: block; height: 8px; border-radius: 6px; background: #E1E5DA; margin: 7px 0; }
.kk-mock i:nth-of-type(2) { width: 82%; } .kk-mock i:nth-of-type(3) { width: 90%; } .kk-mock i:nth-of-type(4) { width: 70%; }
.kk-mock .scan { position: absolute; inset-inline: 0; top: 0; height: 36px; background: linear-gradient(180deg, transparent, rgba(125, 181, 72, .35), transparent); border-bottom: 2px solid #7DB548; animation: scan 2.8s ease-in-out infinite; }
@keyframes scan { 0% { transform: translateY(-40px); } 100% { transform: translateY(110px); } }

.frac-row { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.frac-row span { padding: 6px 12px; border-radius: 10px; background: var(--green-soft); color: var(--green-ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.frac-row b { font-size: 1.3rem; color: var(--primary); }
.slides { margin-top: auto; position: relative; height: 74px; }
.slides i { position: absolute; width: 110px; height: 66px; border-radius: 10px; background: #fff; border: 1px solid #DCE3EA; box-shadow: 0 10px 24px -14px rgba(20, 40, 70, .4); }
.slides i::after { content: ''; position: absolute; inset: 10px 10px auto; height: 8px; border-radius: 4px; background: #243447; opacity: .8; }
.slides i:nth-child(1) { inset-inline-start: 0; top: 8px; transform: rotate(-6deg); }
.slides i:nth-child(2) { inset-inline-start: 40px; top: 2px; transform: rotate(-1deg); }
.slides i:nth-child(3) { inset-inline-start: 82px; top: 6px; transform: rotate(5deg); background: linear-gradient(135deg, #243447, #34507a); }
.slides i:nth-child(3)::after { background: var(--gold); }
.bx:hover .slides i:nth-child(1) { transform: rotate(-10deg) translateX(-6px); } .bx:hover .slides i:nth-child(3) { transform: rotate(9deg) translateX(6px); }
.slides i { transition: transform .4s var(--ease); }
.lang-chips { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.lang-chips a:not(.btn) { padding: 8px 12px; border-radius: 12px; background: #F3F6F9; color: var(--ink); font-weight: 700; font-size: .88rem; text-decoration: none; border: 1px solid transparent; }
.lang-chips a:hover { border-color: var(--gold); }
.lang-chips a.on { background: var(--gold-soft); color: var(--gold-ink); }
.bx-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: center; height: 100%; }
.bx-split > div:first-child { display: flex; flex-direction: column; gap: 10px; }
.gen-stack { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; align-items: center; justify-items: center; }
.gen-stack span { height: 30px; border-radius: 9px; width: 100%; }
.gen-stack .g1 { grid-column: 2 / span 4; background: #243447; }
.gen-stack .g2 { grid-column: span 3; background: #FFF3D1; border: 1.5px solid var(--gold); }
.gen-stack .g3 { grid-column: span 2; background: var(--green-soft); border: 1.5px solid var(--green); }
.gen-stack span { transition: transform .4s var(--ease); }
.bx:hover .gen-stack span:nth-child(odd) { transform: translateY(-3px); }

/* ---------- how (dark) ---------- */
.sx-dark { background: linear-gradient(180deg, #0A1526, #0F2036); color: #fff; overflow: hidden; }
.sx-dark .sx-head h2 { color: #fff; } .sx-dark .sx-head p { color: #9FB0C3; }
.hx-bg.soft .blob { opacity: .35; }
.how-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ''; position: absolute; inset-inline-start: 23px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--gold), var(--green), var(--blue)); opacity: .5; }
.timeline li { position: relative; display: flex; gap: 20px; padding: 0 0 28px; }
.tl-num { position: relative; z-index: 1; width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; color: #221700; background: linear-gradient(135deg, #FFD66B, #F6B92B); box-shadow: 0 0 0 6px rgba(246, 185, 43, .12); }
.timeline h3 { color: #fff; margin: 4px 0 4px; }
.timeline p { color: #9FB0C3; margin: 0; }
.glass-chat { border-radius: 26px; padding: 18px; background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(16px); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .8); }
.gc-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.gc-head span { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: #9FB0C3; }
.gc-head .dot { width: 8px; height: 8px; border-radius: 50%; background: #3DD07A; box-shadow: 0 0 0 3px rgba(61, 208, 122, .25); }
.gc-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 0; }
.gc-input { width: 100%; display: flex; align-items: center; justify-content: space-between; height: 50px; padding: 0 8px 0 16px; border-radius: 14px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .12); color: #8FA2B8; font: 500 .92rem var(--font); cursor: pointer; }
.gc-input .material-symbols-rounded { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--gold); color: #221700; }

/* ---------- outputs & security ---------- */
.out-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: start; }
.files { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.file { position: relative; overflow: hidden; display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 20px; border: 1px solid #E4EAF1; background: #fff; transition: transform .3s var(--ease), box-shadow .3s; }
.file:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(20, 40, 70, .4); }
.file p { margin: 0; color: var(--muted); font-size: .93rem; }
.file-ico { position: relative; flex: none; width: 50px; height: 60px; border-radius: 8px 16px 8px 8px; display: grid; place-items: end center; padding-bottom: 8px; font-size: .7rem; font-weight: 800; color: #fff; letter-spacing: .04em; }
.file-ico::after { content: ''; position: absolute; top: 0; inset-inline-end: 0; width: 16px; height: 16px; border-radius: 0 16px 0 8px; background: rgba(255, 255, 255, .45); }
.f-svg { background: linear-gradient(160deg, #5AAEE8, #1E5E8C); } .f-png { background: linear-gradient(160deg, #9BD46A, #3F6E1C); }
.f-pdf { background: linear-gradient(160deg, #F07C6E, #B0382A); } .f-ppt { background: linear-gradient(160deg, #FFB25B, #D9620F); }
.sec-card { position: relative; overflow: hidden; border-radius: 28px; padding: 34px; background: linear-gradient(160deg, #0F2036, #16304f); color: #fff; }
.sec-glow { position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(125, 181, 72, .35), transparent 65%); top: -140px; inset-inline-end: -120px; }
.sec-card h3 { color: #fff; font-size: 1.5rem; margin: 18px 0 14px; }
.sec-card .bx-ico.green { background: rgba(125, 181, 72, .18); color: #A8E07A; }
.checks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; color: #C7D2DE; font-size: .95rem; }
.checks .material-symbols-rounded { color: #7DD65A; font-size: 20px; flex: none; }
.sec-card .bx-link { color: #FFD66B; }

/* ---------- languages ---------- */
.lang-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lang-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: 22px; background: #fff; border: 1px solid #E4EAF1; color: var(--ink); text-decoration: none !important; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.lang-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(20, 40, 70, .4); }
.lang-card.on { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(246, 185, 43, .15); }
.lang-card .glyph { font-size: 2.6rem; font-weight: 800; line-height: 1; background: linear-gradient(135deg, #243447, #4D6F99); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lang-card b { font-size: 1.1rem; }
.lang-card .code { font-size: .8rem; color: var(--muted); font-weight: 700; letter-spacing: .08em; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.sticky { position: sticky; top: 100px; }
.faq-list { display: grid; gap: 12px; }
.faq2 { border-radius: 18px; background: #fff; border: 1px solid #E4EAF1; padding: 0 22px; transition: border-color .2s, box-shadow .2s; }
.faq2[open] { border-color: #E8D9A6; box-shadow: 0 20px 40px -30px rgba(20, 40, 70, .35); background: linear-gradient(180deg, #FFFCF3, #fff); }
.faq2 summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 1.02rem; }
.faq2 summary::-webkit-details-marker { display: none; }
.faq2 summary .material-symbols-rounded { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #F3F6F9; transition: transform .3s var(--ease), background .2s; }
.faq2[open] summary .material-symbols-rounded { transform: rotate(45deg); background: var(--gold); color: #221700; }
.faq2 p { margin: 0; padding: 0 0 20px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta2 { position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; padding: 80px 32px; text-align: center; background: linear-gradient(160deg, #0A1526, #16304f); color: #fff; }
.cta2 h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; margin: 0 0 12px; }
.cta2 p { color: #B8C6D6; font-size: 1.1rem; margin: 0 0 30px; }
.cta2-inner { position: relative; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bx-ai { grid-row: span 1; }
  .f-va { inset-inline-start: -10px; } .f-doc { inset-inline-end: -10px; }
}
@media (max-width: 960px) {
  .hx { padding: 130px 0 90px; }
  .hx-wrap, .how-grid, .out-grid, .faq-grid { grid-template-columns: 1fr; gap: 44px; }
  .win, [dir="rtl"] .win { transform: none; }
  .sticky { position: static; }
  .lang-row { grid-template-columns: repeat(2, 1fr); }
  .sx { padding: 80px 0; }
}
@media (max-width: 640px) {
  .bento, .files { grid-template-columns: 1fr; }
  .bx-ai, .bx-tree.bx-wide { grid-column: auto; }
  .bx-split { grid-template-columns: 1fr; }
  .hx-title { font-size: 2.35rem; }
  .float { position: relative; inset: auto !important; margin-top: 12px; max-width: none; animation: none; }
  .hx-visual { display: flex; flex-direction: column; }
  .hx-proof { grid-template-columns: 1fr; }
  .cta2 { padding: 56px 20px; border-radius: 24px; }
  .btn-glow, .btn-glass { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .blob, .grad-text, .float, .mq-track, .hx-pill::after, .scanbar i, .kk-mock .scan, .mc.typing i { animation: none !important; }
  .tree .lines path { stroke-dashoffset: 0; animation: none; } .tree .node { opacity: 1; animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media print { .reveal { opacity: 1 !important; transform: none !important; } }
