/* DEXTEAM v2 — CINEMATIC version (dark + golden hour, PM character, 3D depth). Bakar, 1 Nov 2026 */
:root {
  --c-bg: #0F0C0D;            /* night site */
  --c-bg-2: #191415;
  --c-glass: rgba(255, 255, 255, .07);
  --c-glass-2: rgba(255, 255, 255, .12);
  --c-line: rgba(255, 255, 255, .14);
  --c-text: #F7F2EE;
  --c-muted: #C4B9B3;
  --c-orange: #F26D20;        /* logo TEAM */
  --c-amber: #FFB56B;         /* sunset glow */
  --c-green: #69BE60;         /* logo bubble */
  --c-ink: #231F20;
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--c-bg); color: var(--c-text); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--c-amber); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.band { position: relative; padding-block: clamp(72px, 10vw, 120px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--c-amber); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--c-orange), transparent); }
.h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; margin-top: 14px; }
.h2 em, h1 em { font-style: normal; color: var(--c-orange); }
.lede { color: var(--c-muted); font-size: 18px; max-width: 58ch; margin-top: 16px; }

/* Buttons */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; border: 1.5px solid var(--c-line); font-weight: 800; font-size: 16px; text-decoration: none; color: var(--c-text); background: var(--c-glass); backdrop-filter: blur(10px); transition: transform 220ms var(--spring), box-shadow 300ms ease, background 300ms; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(242, 109, 32, .28); }
.btn:active { transform: translateY(1px) scale(.96); }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.35) 48%, transparent 66%); transform: translateX(-120%); }
.btn:hover::after { transform: translateX(120%); transition: transform 800ms var(--ease); }
.btn-primary { background: linear-gradient(135deg, #FF8A3D, var(--c-orange)); border-color: transparent; color: #1A0E06; box-shadow: 0 10px 30px rgba(242, 109, 32, .35); }
.btn-ghost svg { color: var(--c-green); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14px; }

/* Nav */
.route-bar { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; height: 3px; width: 100%; z-index: 80; background: linear-gradient(90deg, var(--c-green), var(--c-orange), var(--c-amber)); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.route-bar.go { animation: bar 650ms var(--ease); }
@keyframes bar { 0% { transform: scaleX(0); opacity: 1; } 80% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 70; background: var(--c-bg); }
.nav { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 60; transition: background 400ms, backdrop-filter 400ms, border-color 400ms; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(15, 12, 13, .82); backdrop-filter: blur(14px); border-bottom-color: var(--c-line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 78px; }
.nav-logo { display: inline-flex; align-items: center; background: #fff; border-radius: 14px; padding: 6px 12px; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform 300ms var(--spring); }
.nav-logo:hover { transform: rotate(-2deg) scale(1.03); }
.nav-logo img { height: 34px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link { position: relative; padding: 10px 14px; font-weight: 700; font-size: 15px; background: none; border: 0; color: var(--c-text); text-decoration: none; }
.nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; background: var(--c-orange); transform: scaleX(0); transform-origin: left; transition: transform 350ms var(--ease); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.dd { position: relative; }
.dd-panel { position: absolute; top: calc(100% + 10px); left: -20px; width: 340px; padding: 10px; display: grid; gap: 4px; background: rgba(25, 20, 21, .96); border: 1px solid var(--c-line); border-radius: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transform: perspective(800px) rotateX(-12deg) translateY(-6px); transform-origin: top; transition: all 380ms var(--ease); }
.dd:hover .dd-panel, .dd:focus-within .dd-panel { opacity: 1; visibility: visible; transform: none; }
.dd-panel a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 15px; transition: background 200ms; }
.dd-panel a:hover { background: var(--c-glass-2); }
.dd-panel .thumb { width: 56px; height: 40px; border-radius: 8px; flex: none; background-size: cover; background-position: center; }
.burger { display: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--c-line); background: var(--c-glass); align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2.5px; border-radius: 3px; background: var(--c-text); position: relative; transition: transform 300ms var(--spring), background 150ms; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
.mnav { display: none; }
@media (max-width: 920px) {
  .nav-links { display: none; }
  .burger { display: inline-flex; }
  .nav.open { background: rgba(15, 12, 13, .97); }
  .mnav { display: block; overflow: hidden; max-height: 0; transition: max-height 600ms var(--ease); }
  .mnav.open { max-height: 760px; }
  .mnav-in { display: grid; gap: 2px; padding-block: 6px 22px; }
  .mnav a, .mnav button { text-align: left; font-size: 18px; font-weight: 700; padding: 12px 4px; border: 0; background: none; color: var(--c-text); text-decoration: none; border-bottom: 1px solid var(--c-line); }
  .mnav .sub { padding-left: 18px; font-size: 16px; font-weight: 600; color: var(--c-muted); }
  .mnav .btn { margin-top: 14px; justify-content: center; }
}

#app, .view { overflow-x: clip; }
/* Views */
.view { animation: viewIn 650ms var(--ease) both; }
.view.leaving { animation: viewOut 240ms ease-in both; }
@keyframes viewIn { from { opacity: 0; transform: perspective(1200px) translateZ(-60px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes viewOut { to { opacity: 0; transform: perspective(1200px) translateZ(40px); filter: blur(4px); } }

/* ---------- Cinematic hero with 3D layers */
.hero { position: relative; overflow: hidden; min-height: 640px; display: flex; align-items: center; perspective: 1400px; }
.layer { position: absolute; inset: -5%; will-change: transform; transform: translate3d(var(--mx, 0px), calc(var(--my, 0px) + var(--sy, 0px)), 0); transition: transform 400ms var(--ease); }
.photo { background-size: cover; background-position: center; }
.hero .bg { background-position: 72% 18%; animation: kenburns 18s ease-in-out infinite alternate; }
.hero .layer { inset: -3%; }
@keyframes kenburns { from { scale: 1; } to { scale: 1.05; } }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,12,13,.94) 0%, rgba(15,12,13,.78) 34%, rgba(15,12,13,.15) 64%, rgba(15,12,13,.05) 100%), linear-gradient(0deg, var(--c-bg) 0%, transparent 28%); }
.sun { position: absolute; left: 8%; top: 18%; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(255,181,107,.55), rgba(242,109,32,.0) 70%); filter: blur(10px); mix-blend-mode: screen; animation: pulse 6s ease-in-out infinite; pointer-events: none; }
@keyframes pulse { 50% { opacity: .65; transform: scale(1.08); } }
.hero-in { position: relative; z-index: 3; width: 100%; padding-block: 140px 110px; }
.hero-copy { max-width: 560px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--c-glass); border: 1px solid var(--c-line); backdrop-filter: blur(8px); font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.badge i { width: 9px; height: 9px; border-radius: 50%; background: var(--c-green); box-shadow: 0 0 0 0 rgba(105,190,96,.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 12px rgba(105,190,96,0); } 100% { box-shadow: 0 0 0 0 rgba(105,190,96,0); } }
.hero h1 { font-size: clamp(42px, 7vw, 82px); font-weight: 800; margin-top: 22px; letter-spacing: -0.04em; text-shadow: 0 10px 40px rgba(0,0,0,.4); }
.hero h1 .w { display: inline-block; animation: rise 900ms var(--ease) backwards; }
.hero h1 .w:nth-child(2) { animation-delay: 80ms; } .hero h1 .w:nth-child(3) { animation-delay: 160ms; } .hero h1 .w:nth-child(4) { animation-delay: 240ms; } .hero h1 .w:nth-child(5) { animation-delay: 320ms; }
@keyframes rise { from { opacity: 0; transform: translateY(40px) rotateX(-60deg); } }
.hero-sub { margin-top: 22px; font-size: 19px; color: #E6DDD8; max-width: 500px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.trust li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--c-line); background: rgba(0,0,0,.25); font-size: 13px; font-weight: 700; color: #E6DDD8; }

/* floating glass cards orbiting the PM's phone */
.orbit { position: absolute; inset: 0; z-index: 4; pointer-events: none; transform-style: preserve-3d; }
.gcard { position: absolute; pointer-events: auto; min-width: 190px; padding: 12px 14px; border-radius: 16px; background: rgba(20, 16, 17, .55); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(12px); box-shadow: 0 20px 50px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.15); font-size: 13px; line-height: 1.35; transform: translate3d(var(--px, 0), var(--py, 0), 0); transition: transform 500ms var(--ease), border-color 300ms; animation: pop 900ms var(--spring) backwards, bob 6s ease-in-out infinite; animation-delay: var(--d), calc(var(--d) + 900ms); }
.gcard:hover { border-color: var(--c-orange); }
.gcard b { display: block; font-size: 14px; }
.gcard small { color: var(--c-muted); }
.gcard .row { display: flex; align-items: center; gap: 10px; }
.gcard .ic { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; }
.gcard .ic svg { width: 18px; height: 18px; }
.gcard .bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.15); margin-top: 8px; overflow: hidden; }
.gcard .bar i { display: block; height: 100%; width: 60%; background: linear-gradient(90deg, var(--c-green), #9BE08F); animation: fill 2.4s var(--ease) 1.2s backwards; }
@keyframes fill { from { width: 0; } }
@keyframes pop { from { opacity: 0; scale: .6; filter: blur(8px); } }
@keyframes bob { 50% { translate: 0 -10px; } }
.beam { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.beam path { stroke-dasharray: 4 10; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.scroll-cue { position: absolute; left: 50%; bottom: 24px; z-index: 3; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--c-amber); animation: cue 1.8s infinite; }
@keyframes cue { 60% { transform: translateY(12px); opacity: 0; } }

/* Sector marquee */
.sectors { border-block: 1px solid var(--c-line); background: var(--c-bg-2); overflow: hidden; }
.sectors-in { display: flex; align-items: center; gap: 22px; padding-block: 18px; }
.sectors-label { flex: none; font-weight: 800; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-amber); }
.marquee { position: relative; flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.sector { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--c-glass); border: 1px solid var(--c-line); font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform 250ms var(--spring), border-color 250ms; }
.sector svg { width: 36px; height: 36px; }
.sector:hover { transform: translateY(-3px); border-color: var(--c-orange); }

/* 3D tilt frames */
[data-tilt] { transform-style: preserve-3d; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(calc(var(--ry, 0deg) + var(--sr, 0deg))); transition: transform 500ms var(--ease); }
[data-tilt].moving { transition: transform 80ms linear; }
.frame { position: relative; border-radius: 26px; transform-style: preserve-3d; }
.frame .photo { position: absolute; inset: 0; border-radius: 26px; box-shadow: 0 40px 80px rgba(0,0,0,.55); }
.frame .photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255,200,140,.28), transparent 45%); pointer-events: none; }
.frame .chip3d { position: absolute; transform: translateZ(70px); padding: 10px 14px; border-radius: 14px; background: rgba(20,16,17,.7); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); font-weight: 800; font-size: 13px; box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.frame .chip3d.z2 { transform: translateZ(120px); }
.frame .chip3d i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c-green); margin-right: 8px; }

/* Demo: PM + phone */
.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.demo-art { position: relative; aspect-ratio: 4 / 5; max-width: 480px; width: 100%; margin: 0 auto; }
.phone3d { position: absolute; right: -14%; bottom: -6%; width: 62%; transform: translateZ(90px); }
.phone { aspect-ratio: 9 / 18; background: #EFEAE2; border: 9px solid #0B0909; border-radius: 34px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.15); color: #111; }
.phone-head { display: flex; align-items: center; gap: 8px; background: #fff; padding: 9px 10px; border-bottom: 1px solid #e6e6e6; }
.phone-head .av { width: 26px; height: 26px; border-radius: 50%; background: var(--c-green); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.phone-head b { display: block; font-size: 12px; line-height: 1.2; }
.phone-head small { color: #2A7F3E; font-weight: 700; font-size: 10px; }
.chat { flex: 1; padding: 10px 8px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.msg { max-width: 86%; padding: 6px 9px; border-radius: 10px; font-size: 11px; line-height: 1.4; white-space: pre-line; color: #111; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.msg.me { align-self: flex-end; background: #DCF8C6; border-bottom-right-radius: 3px; }
.msg.bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 3px; }
.msg.anim { animation: msgIn 420ms var(--spring) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.9); } }
.typing { align-self: flex-start; background: #fff; border-radius: 10px; padding: 8px 10px; display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9a9a9a; animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 30% { transform: translateY(-4px); background: var(--c-green); } }
.phone-foot { display: flex; align-items: center; gap: 6px; background: #F6F3EE; padding: 6px 8px; }
.phone-foot span { flex: 1; background: #fff; border-radius: 999px; padding: 6px 10px; font-size: 10px; color: #6E6668; }
.phone-foot i { width: 26px; height: 26px; border-radius: 50%; background: #25A244; }
.scn-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-glass); color: var(--c-text); font-weight: 700; font-size: 14px; transition: transform 220ms var(--spring), background 250ms, border-color 250ms, box-shadow 250ms; }
.chip:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.35); }
.chip:active { transform: scale(.94); }
.chip[aria-pressed="true"] { background: var(--c-orange); border-color: var(--c-orange); color: #1A0E06; box-shadow: 0 10px 26px rgba(242,109,32,.35); }
.note { font-size: 12px; color: var(--c-muted); margin-top: 12px; }

/* Feature cards with pointer-tilt */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; perspective: 1200px; }
.fcard { position: relative; padding: 28px; border-radius: 22px; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid var(--c-line); overflow: hidden; }
.fcard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(242,109,32,.22), transparent 55%); opacity: 0; transition: opacity 300ms; }
.fcard:hover::before { opacity: 1; }
.fcard .ic { position: relative; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(242,109,32,.14); border: 1px solid rgba(242,109,32,.4); transform: translateZ(40px); transition: transform 400ms var(--spring); }
.fcard:hover .ic { transform: translateZ(60px) rotate(-8deg) scale(1.08); }
.fcard .ic svg { width: 28px; height: 28px; }
.fcard h3 { position: relative; font-size: 21px; font-weight: 800; margin-top: 18px; transform: translateZ(26px); }
.fcard p { position: relative; margin-top: 8px; color: var(--c-muted); font-size: 15.5px; transform: translateZ(14px); }

/* Modules over site backdrop */
.mod-band { overflow: hidden; }
.mod-band .bgimg { position: absolute; inset: -10% 0; background-size: cover; background-position: center 30%; opacity: .32; }
.mod-band .veil { position: absolute; inset: 0; background: linear-gradient(180deg, var(--c-bg) 0%, rgba(15,12,13,.72) 30%, rgba(15,12,13,.85) 80%, var(--c-bg) 100%); }
.mod-band .wrap { position: relative; }
.mod-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.mod-panel { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 48px; align-items: center; margin-top: 40px; }
.mod-panel h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.mod-panel .hook { margin-top: 10px; font-weight: 700; color: var(--c-amber); }
.mod-panel .blurb { margin-top: 8px; color: var(--c-muted); }
.caps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.caps li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.caps li::before { content: ""; flex: none; margin-top: 3px; width: 20px; height: 20px; border-radius: 6px; background: var(--c-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-9' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 22px; padding: 0; list-style: none; }
.flow li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; }
.flow li span { padding: 6px 12px; border-radius: 999px; background: var(--c-glass-2); border: 1px solid var(--c-line); }
.flow li + li::before { content: ""; width: 14px; height: 2px; background: var(--c-orange); }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-weight: 800; text-decoration: none; color: var(--c-text); border-bottom: 2px solid var(--c-orange); padding-bottom: 3px; }
.more svg { transition: transform 300ms var(--spring); }
.more:hover svg { transform: translateX(6px); }
.mod-art { position: relative; aspect-ratio: 4 / 3; width: 100%; }
.mod-art.swap { animation: artIn 700ms var(--ease) both; }
.mod-copy.swap { animation: copyIn 450ms var(--ease) both; }
@keyframes artIn { from { opacity: 0; transform: perspective(1000px) rotateY(-24deg) translateX(60px) scale(.92); filter: blur(6px); } }
@keyframes copyIn { from { opacity: 0; transform: translateY(14px); } }

/* Steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.steps-line { position: absolute; left: 8%; right: 8%; top: 54px; height: 3px; }
.steps-line .draw { stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 1.8s var(--ease); }
.in .steps-line .draw { stroke-dashoffset: 0; }
.step { position: relative; padding: 28px; border-radius: 22px; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid var(--c-line); transition: transform 400ms var(--spring), border-color 300ms; }
.step:hover { transform: translateY(-8px); border-color: rgba(242,109,32,.6); }
.step .n { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; font-size: 22px; font-weight: 800; color: #1A0E06; background: linear-gradient(135deg, var(--c-amber), var(--c-orange)); box-shadow: 0 0 0 8px rgba(242,109,32,.12), 0 12px 30px rgba(242,109,32,.4); position: relative; z-index: 1; }
.step h3 { font-size: 22px; font-weight: 800; margin-top: 20px; }
.step p { margin-top: 8px; color: var(--c-muted); }
.qr-panel { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 28px; margin-top: 28px; padding: 26px; border-radius: 24px; background: linear-gradient(120deg, rgba(242,109,32,.18), rgba(105,190,96,.08)); border: 1px solid var(--c-line); }
.qr { width: 150px; height: 150px; padding: 10px; background: #fff; border-radius: 16px; transition: transform 400ms var(--spring); }
.qr:hover { transform: perspective(600px) rotateY(-14deg) scale(1.05); }
.qr-panel h3 { font-size: 24px; font-weight: 800; }
.qr-panel p { margin-top: 6px; color: var(--c-muted); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--c-line); border-radius: 18px; background: var(--c-glass); transition: border-color 300ms, background 300ms; }
.faq details:hover { border-color: rgba(255,255,255,.3); }
.faq details[open] { border-color: rgba(242,109,32,.6); background: rgba(242,109,32,.08); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 800; font-size: 17px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--c-line); position: relative; transition: transform 400ms var(--spring), background 300ms; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--c-text); border-radius: 2px; }
.faq summary i::after { transform: rotate(90deg); transition: transform 300ms; }
.faq details[open] summary i { transform: rotate(180deg); background: var(--c-orange); border-color: var(--c-orange); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .ans { padding: 0 20px 18px; color: var(--c-muted); }
.faq details[open] .ans { animation: copyIn 360ms var(--ease); }
.faq-side .frame { margin-top: 30px; aspect-ratio: 4 / 3; max-width: 380px; }

/* CTA band */
.cta { position: relative; overflow: hidden; border-radius: 32px; min-height: 380px; display: flex; align-items: center; }
.cta .layer { inset: -8%; }
.cta .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,12,13,.92) 0%, rgba(15,12,13,.7) 45%, rgba(15,12,13,.1) 80%); }
.cta-in { position: relative; z-index: 2; padding: clamp(36px, 6vw, 72px); max-width: 640px; }
.cta h2 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; }
.cta p { margin-top: 12px; color: #E6DDD8; }

/* Footer */
.footer { border-top: 1px solid var(--c-line); margin-top: 90px; background: var(--c-bg-2); }
.footer-in { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 28px; padding-block: 48px; font-size: 15px; }
.footer .logo-pill { display: inline-flex; background: #fff; border-radius: 14px; padding: 8px 14px; }
.footer .logo-pill img { height: 36px; width: auto; display: block; }
.footer h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-amber); }
.footer a, .footer button { display: block; padding: 4px 0; background: none; border: 0; font-size: 15px; font-weight: 600; color: var(--c-text); text-decoration: none; text-align: left; transition: color 200ms, transform 200ms; }
.footer a:hover, .footer button:hover { color: var(--c-orange); transform: translateX(3px); }
.footer .tag { font-style: italic; font-weight: 800; margin-top: 14px; }
.footer-base { border-top: 1px solid var(--c-line); padding-block: 16px; font-size: 13px; color: var(--c-muted); }
.fb-link { display: inline-flex !important; align-items: center; gap: 8px; }

/* Module + contact pages */
.page-hero { position: relative; overflow: hidden; min-height: 560px; display: flex; align-items: flex-end; perspective: 1400px; }
.page-hero .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,12,13,.95) 0%, rgba(15,12,13,.75) 40%, rgba(15,12,13,.1) 75%), linear-gradient(0deg, var(--c-bg) 0%, transparent 35%); }
.page-hero-in { position: relative; z-index: 2; width: 100%; padding-block: 150px 70px; }
.page-hero .copy { max-width: 600px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; font-weight: 700; color: var(--c-muted); }
.crumbs button { background: none; border: 0; padding: 0; font-weight: 700; color: var(--c-amber); }
.page-hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 800; margin-top: 16px; }
.page-hero .hook { font-size: 20px; font-weight: 700; color: var(--c-amber); margin-top: 14px; }
.page-hero .flowchips { position: absolute; right: 6%; top: 28%; z-index: 2; display: grid; gap: 12px; transform-style: preserve-3d; }
.cap-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 36px; perspective: 1000px; }
.cap { display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 18px; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid var(--c-line); font-weight: 800; }
.cap b { font-size: 13px; color: var(--c-amber); letter-spacing: .1em; transform: translateZ(30px); }
.cap span { transform: translateZ(20px); }
.flow-wrap { overflow-x: auto; padding-bottom: 8px; }
.flow-lg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin-top: 32px; padding: 0; min-width: 520px; counter-reset: f; }
.flow-lg li { list-style: none; position: relative; text-align: center; padding: 0 8px; font-weight: 800; }
.flow-lg li::before { counter-increment: f; content: counter(f); display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; font-size: 19px; background: var(--c-bg-2); border: 1px solid var(--c-line); position: relative; z-index: 1; transition: background 300ms, transform 400ms var(--spring), box-shadow 300ms; }
.flow-lg li:hover::before { background: var(--c-orange); color: #1A0E06; transform: scale(1.12); box-shadow: 0 10px 30px rgba(242,109,32,.45); }
.flow-lg li::after { content: ""; position: absolute; top: 28px; left: 50%; width: 100%; height: 2px; background: linear-gradient(90deg, var(--c-orange), rgba(242,109,32,.2)); }
.flow-lg li:last-child::after { display: none; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill { padding: 8px 16px; border-radius: 999px; background: var(--c-glass); border: 1px solid var(--c-line); font-weight: 700; font-size: 15px; transition: transform 250ms var(--spring), border-color 250ms; }
.pill:hover { transform: translateY(-3px); border-color: var(--c-orange); }
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.why div { padding: 20px; border-radius: 18px; background: rgba(105,190,96,.1); border: 1px solid rgba(105,190,96,.35); font-weight: 800; }
.sub-h { font-size: 22px; font-weight: 800; margin-top: 52px; }
.mod-nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.contact-card { padding: 26px; border-radius: 22px; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid var(--c-line); }
.contact-card h3 { font-size: 20px; font-weight: 800; }
.contact-card p { margin-top: 6px; color: var(--c-muted); word-break: break-word; }
.copy-row { margin-top: 16px; }

/* Reveal (readable at rest) */
.rv { transition: transform 900ms var(--ease); }
.rv.pre { transform: perspective(1000px) translateY(40px) rotateX(8deg); }
.rv.pre.in { transform: none; }

/* Responsive */
@media (max-width: 1020px) {
  .grid3, .cap-grid, .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .demo, .mod-panel, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps-line { display: none; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 0; align-items: flex-end; }
  .hero .bg { background-position: 78% 30%; }
  .hero .shade { background: linear-gradient(0deg, var(--c-bg) 8%, rgba(15,12,13,.86) 48%, rgba(15,12,13,.2) 80%); }
  .hero-in { padding-block: 300px 56px; }
  .orbit .gcard.far, .beam .far-b { display: none; }
  .orbit .gcard { left: auto !important; right: 16px; }
  .orbit .gcard:nth-of-type(1) { top: 96px !important; }
  .orbit .gcard:nth-of-type(2) { top: 190px !important; right: 40px; }
  .beam { display: none; }
  .page-hero .flowchips { display: none; }
  .page-hero .shade { background: linear-gradient(0deg, var(--c-bg) 10%, rgba(15,12,13,.85) 55%, rgba(15,12,13,.25) 90%); }
  .page-hero-in { padding-block: 280px 48px; }
  .demo-art { max-width: 300px; margin-left: 0; }
  .phone3d { right: -8%; width: 58%; }
  .demo-art .chip3d { left: 4% !important; top: 4% !important; }
  .mod-art .chip3d { right: 4% !important; left: auto; }
  .mod-art .chip3d:not(.z2) { left: 4% !important; right: auto !important; }
}
@media (max-width: 560px) {
  .grid3, .cap-grid, .why { grid-template-columns: minmax(0, 1fr); }
  .cta-row .btn { flex: 1 1 100%; justify-content: center; }
  .qr-panel { grid-template-columns: minmax(0, 1fr); }
  .sectors-in { flex-direction: column; align-items: stretch; gap: 10px; }
  .footer-in { grid-template-columns: minmax(0, 1fr); }
  .gcard { min-width: 0; font-size: 12px; padding: 10px 12px; }
  .cta .shade { background: linear-gradient(0deg, rgba(15,12,13,.95) 30%, rgba(15,12,13,.5) 100%); }
  .cta { align-items: flex-end; min-height: 460px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .rv.pre { transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
}
.img-site-bg{background-image:url(../img/site-bg.jpg)}.img-pm-hero{background-image:url(../img/pm-hero.jpg)}.img-pm-site-alt{background-image:url(../img/pm-site-alt.jpg)}.img-pm-office{background-image:url(../img/pm-office.jpg)}.img-pm-plant{background-image:url(../img/pm-plant.jpg)}.img-pm-phone{background-image:url(../img/pm-phone.jpg)}.img-pm-warehouse{background-image:url(../img/pm-warehouse.jpg)}.img-pm-logistics{background-image:url(../img/pm-logistics.jpg)}
