/* Nex-XL landing page: the first-visit opening (intro.js). Base styles are each element's final state and the
   animations bring them in, so landing.css's reduced-motion rule leaves a complete, still opening.
   landing.css hides every [hidden] element with !important; only the gate's rule below overrides that. */
/* Before first paint (intro-gate.js) and while open: the opening covers the page, which neither shows nor scrolls. */
html.intro-pending,html.intro-open{overflow:hidden}
html.intro-pending body{background:#07131f}
html.intro-pending body>:not(#intro){visibility:hidden}
html.intro-pending .intro[hidden]{display:flex !important}
html.intro-pending .chat-launcher,html.intro-open .chat-launcher{display:none !important}
.intro{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;background:#07131f;color:#e5edf5;font-family:var(--body)}
.intro-title:focus{outline:none}
/* Leaving after a choice: the content fades, then the whole layer slides up like a curtain (intro.js waits 1.2 s). */
.intro-curtain-label{position:fixed;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;margin:0;padding:0 24px;font-family:var(--display);font-size:clamp(28px,4vw,44px);font-weight:700;letter-spacing:-.02em;text-align:center;color:#e5edf5;opacity:0;pointer-events:none}
.intro.is-leaving .intro-stage,.intro.is-leaving .intro-top{opacity:0;transition:opacity .3s ease}
.intro.is-leaving .intro-curtain-label{opacity:1;transition:opacity .3s ease .1s}
.intro.is-leaving{transform:translateY(-100%);transition:transform .8s cubic-bezier(.7,0,.2,1) .35s}
/* Where a choice lands: one soft ring. */
.intro-landed{animation:intro-landed 1.6s ease-out both}
@keyframes intro-landed{0%{box-shadow:0 0 0 0 rgba(31,122,140,0)}30%{box-shadow:0 0 0 8px rgba(31,122,140,.28)}100%{box-shadow:0 0 0 0 rgba(31,122,140,0)}}
/* The chosen bar: the sticky header's last row. */
.intro-chosen{border-top:1px solid var(--line);background:var(--mint)}
/* The text keeps one row beside its buttons while it fits; on a narrow phone it takes its own row above them. */
.intro-chosen-inner{display:flex;flex-wrap:wrap;align-items:center;gap:0 12px;min-height:48px;font-size:14px}
.intro-chosen p{flex:1 1 160px;min-width:0;margin:0;padding-block:6px;line-height:1.4}
.intro-chosen strong{font-weight:600}
.intro-chosen-change{min-height:44px;padding:0 10px;border:0;background:none;color:#165e6d;font:inherit;font-weight:600;white-space:nowrap;cursor:pointer}
.intro-chosen-close{display:grid;place-items:center;width:44px;height:44px;margin-left:auto;border:0;background:none;color:var(--ink);font-size:22px;cursor:pointer}
@media (max-width:759px){.intro-chosen-inner{font-size:13px;column-gap:8px}.intro-chosen-change{padding-left:0}}
@media screen{:root[data-theme="dark"] .intro-chosen{background:var(--soft);border-color:var(--line)}:root[data-theme="dark"] .intro-chosen-change{color:var(--teal)}}
/* The look (direction A of the owner's mockup, 17 Oct 2026): letterbox, the mark drawing itself, the title, four cards. */
.intro-bar{position:fixed;left:0;right:0;z-index:3;height:56px;background:#000;transform:scaleY(0);pointer-events:none}
.intro-bar-top{top:0;transform-origin:top;animation:intro-bar .9s cubic-bezier(.7,0,.2,1) 2.1s both}
.intro-bar-bottom{bottom:0;transform-origin:bottom;animation:intro-bar .9s cubic-bezier(.7,0,.2,1) 2.1s both}
/* Fixed, so the 1100 px ring never widens the opening's own scroll area. */
.intro-ambient{position:fixed;top:-330px;left:50%;width:1100px;height:1100px;margin-left:-550px;fill:none;stroke:#35e0dc;stroke-opacity:.07;stroke-width:2;pointer-events:none;animation:intro-spin 90s linear infinite,intro-fade 2s ease-out .5s both}
.intro-top{position:absolute;top:14px;left:28px;right:28px;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:12px}
.intro-brand{display:flex;align-items:center;gap:10px;font-family:var(--display);font-size:18px;font-weight:600;animation:intro-fade .8s ease-out 2.6s both}
.intro-brand svg{flex:none}
.intro-tools{display:flex;align-items:center;gap:12px}
.intro-language{animation:intro-fade .8s ease-out 2.6s both}
.intro-language select{min-height:44px;padding:0 12px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:transparent;color:#c9d6e2;font:inherit;font-size:13px;cursor:pointer}
.intro-language option{background:#07131f;color:#e5edf5}
.intro-skip{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:transparent;color:#c9d6e2;font:inherit;font-size:14px;white-space:nowrap;cursor:pointer;animation:intro-fade .6s ease-out .4s both}
.intro-skip:hover,.intro-language select:hover{border-color:#35e0dc;color:#e5edf5}
.intro-stage{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;margin-block:auto;padding:clamp(76px,11vh,96px) 40px 32px}
.intro-mark{width:clamp(48px,9vh,72px);height:auto}
.intro-mark-ring{fill:none;stroke:#2b98ab;stroke-width:16;stroke-dasharray:760;animation:intro-draw 1.2s cubic-bezier(.6,0,.2,1) .2s both}
.intro-mark-n{fill:#e5edf5;animation:intro-rise-mark .7s ease-out .7s both}
.intro-mark-t{fill:#2b98ab;animation:intro-rise-mark .6s ease-out 1s both}
.intro-mark-h{fill:#35e0dc;transform-box:fill-box;transform-origin:center;animation:intro-pop .6s ease-out 1.2s both}
.intro-eyebrow{margin:18px 0 0;font-size:13px;font-weight:500;letter-spacing:.22em;text-transform:uppercase;text-align:center;color:#7ddbc6;animation:intro-track 1.1s ease-out 1.2s both}
.intro-title{display:flex;flex-wrap:wrap;justify-content:center;column-gap:.3em;margin:14px 0 0;font-family:var(--display);font-size:clamp(34px,min(4.4vw,7.4vh),60px);font-weight:700;line-height:1.15;letter-spacing:-.02em;text-align:center;color:#e5edf5}
.intro-line{display:inline-block;overflow:hidden;padding-bottom:.08em}
.intro-line-text{display:inline-block;animation:intro-reveal 1s cubic-bezier(.2,.7,.2,1) 1.5s both}
.intro-accent{color:#35e0dc;animation-delay:1.8s}
.intro-sweep{position:relative;align-self:stretch;height:2px;overflow:hidden;pointer-events:none}
.intro-sweep::before{content:'';position:absolute;top:0;left:0;width:420px;height:2px;background:linear-gradient(90deg,transparent,#35e0dc,transparent);opacity:0;animation:intro-sweep 1.4s ease-in-out 1.9s both}
.intro-ask{margin:clamp(14px,3vh,26px) 0 0;font-size:clamp(17px,2.6vh,22px);line-height:1.4;text-align:center;color:#c9d6e2;animation:intro-type 1.1s linear 3.6s both}
.intro-ask::after{content:'';display:inline-block;width:2px;height:1em;margin-left:6px;vertical-align:-.15em;background:#35e0dc;animation:intro-blink 1s steps(1) 4.7s infinite}
.intro-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;width:100%;max-width:1320px;margin:clamp(16px,3.5vh,30px) 0 0;padding:0;list-style:none}
.intro-card-wrap{display:flex;animation:intro-card-in .9s cubic-bezier(.2,.7,.2,1) var(--in,2.5s) both}
.intro-card{display:flex;flex-direction:column;width:100%;overflow:hidden;border:1px solid #22384b;border-radius:20px;background:#0c1d2d;color:#e5edf5;text-decoration:none;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.intro-card:hover,.intro-card:focus-visible{transform:translateY(-6px);border-color:#35e0dc;box-shadow:0 20px 60px rgba(53,224,220,.14);color:#e5edf5}
.intro-card:focus-visible{outline:2px solid #35e0dc;outline-offset:3px}
.intro-scene{position:relative;display:block;flex:none;height:clamp(150px,24vh,192px);overflow:hidden;border-bottom:1px solid #1b3043;background:#091725}
/* Anchored at the bottom like a chat: when a short card is tight, the oldest line leaves at the top, never the newest. */
.intro-scene-inner{position:absolute;inset:14px 16px;display:flex;flex-direction:column;justify-content:flex-end;gap:8px}
.intro-card-text{display:flex;flex:1;flex-direction:column;gap:8px;padding:18px 22px 20px}
.intro-tag{font-family:var(--display);font-size:12px;letter-spacing:.16em;color:#7ddbc6}
.intro-card-title{font-family:var(--display);font-size:21px;font-weight:700;line-height:1.25}
.intro-card-body{font-size:14px;line-height:1.6;color:#adbdcc}
/* A long price takes the line, and "Choose this" moves under it rather than splitting "RM 1,499". */
.intro-card-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;margin-top:auto;font-size:14px}
.intro-price{color:#adbdcc}
.intro-pick{font-weight:500;color:#35e0dc;white-space:nowrap}
.intro-browse{display:inline-flex;align-items:center;min-height:44px;margin-top:clamp(10px,2.5vh,22px);padding:0 14px;font-size:14px;color:#8aa0b3;text-decoration:none;animation:intro-fade .8s ease-out 4.4s both}
.intro-browse:hover{color:#e5edf5}
/* Scenes loop every 7 s; each card starts its own (--d) once it has arrived. */
.intro-k1{animation:intro-k1 7s var(--d,0s) infinite both}
.intro-k2{animation:intro-k2 7s var(--d,0s) infinite both}
.intro-k3{animation:intro-k3 7s var(--d,0s) infinite both}
.intro-k4{animation:intro-k4 7s var(--d,0s) infinite both}
.intro-chat-head{display:flex;align-items:center;gap:8px;font-size:11px;color:#8aa0b3}
.intro-avatar{width:22px;height:22px;border-radius:50%;background:#1f3a4f}
.intro-bubble{display:block;max-width:82%;padding:8px 12px;font-size:13px;line-height:1.45}
.intro-in{align-self:flex-start;border-radius:14px 14px 14px 4px;background:#1a2f42}
.intro-out{border-radius:14px 14px 4px 14px;background:#1f7a8c;color:#fff}
.intro-reply{position:relative;display:block;align-self:flex-end;max-width:86%}
.intro-reply .intro-bubble{max-width:none}
.intro-dots{position:absolute;top:0;right:0;display:flex;gap:4px;padding:10px 12px;border-radius:14px;background:#174f5c;opacity:0;animation:intro-kd 7s var(--d,0s) infinite both}
.intro-dots span{width:6px;height:6px;border-radius:50%;background:#bfe9ef;animation:intro-dot 1s infinite}
.intro-dots span:nth-child(2){animation-delay:.15s}
.intro-dots span:nth-child(3){animation-delay:.3s}
.intro-badge{display:inline-flex;align-self:flex-start;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:rgba(53,224,220,.12);color:#35e0dc;font-size:11px}
.intro-scene-inner.intro-site{display:block;overflow:hidden;border:1px solid #1f3548;border-radius:10px;background:#0f2234}
.intro-browser{display:flex;align-items:center;gap:5px;height:22px;padding:0 10px;border-bottom:1px solid #1f3548}
.intro-browser-dot{width:6px;height:6px;border-radius:50%;background:#2a4256}
.intro-url{margin-left:8px;font-size:9px;color:#6f8799}
.intro-lines{display:flex;flex-direction:column;gap:7px;padding:12px}
.intro-ph{display:block;width:70%;height:6px;border-radius:3px;background:#172b3c}
.intro-ph.is-head{width:60%;height:10px;background:#1d3346}
.intro-ph.is-long{width:85%}
.intro-ph.is-button{width:40%;height:16px;border-radius:6px;background:#1f4a5a}
.intro-panel{position:absolute;right:10px;bottom:44px;display:flex;flex-direction:column;gap:5px;width:min(170px,72%);padding:8px;border-radius:10px;background:#e5edf5;color:#08192b;font-size:11px;line-height:1.45;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.intro-panel-in{align-self:flex-start;padding:5px 8px;border-radius:8px;background:#d5e6e6}
.intro-panel-out{align-self:flex-end;padding:5px 8px;border-radius:8px;background:#1f7a8c;color:#fff}
.intro-launch{position:absolute;right:10px;bottom:8px;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#1f7a8c;color:#fff;animation:intro-pulse 1.8s infinite}
.intro-corner{position:absolute;left:10px;bottom:10px;padding:4px 9px;font-size:10px}
.intro-order{display:flex;flex-direction:column;gap:4px;padding:9px 12px;border-radius:10px;background:#e5edf5;color:#08192b;font-size:12px}
.intro-order-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.intro-order-row>span:first-child{color:#526369}
.intro-order-badge{padding:2px 8px;border-radius:999px;background:#1f7a8c;color:#fff;font-size:10px}
.intro-build-nav{display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid #1a2f42}
.intro-build-nav .intro-ph{width:22px;height:5px;background:#2a4256}
.intro-build-nav .intro-ph.is-logo{width:18px;height:10px;margin-right:auto;background:#2b98ab}
.intro-build-hero{display:flex;flex-direction:column;gap:6px;padding:10px 12px}
.intro-build-hero .intro-ph{width:50%;background:#2a4256}
.intro-build-hero .intro-ph.is-head{width:70%;height:12px;border-radius:4px;background:#e5edf5}
.intro-build-hero .intro-ph.is-button{width:60px;height:16px;border-radius:6px;background:#1f7a8c}
.intro-build-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:0 12px}
.intro-build-tiles .intro-ph{width:auto;height:28px;border-radius:6px}
.intro-wa{position:absolute;right:8px;bottom:8px;padding:4px 9px;border-radius:999px;background:#35e0dc;color:#08192b;font-size:10px;font-weight:500}
/* Reopened from the page: no title sequence; the scenes start at once. */
.intro.is-still [data-seq],.intro.is-still .intro-sweep::before{animation:none}
.intro.is-still .intro-card-wrap{--d:0s !important}
/* Short laptop screens: keep the four cards on one screen. */
@media (min-width:760px) and (max-height:800px){.intro-chat-head{display:none}}
@media (min-width:760px) and (max-height:720px){.intro-eyebrow,.intro-card-body{display:none}}
@media (max-width:1099px){.intro-cards{grid-template-columns:repeat(2,minmax(0,1fr));max-width:720px}}
/* Phones: the cards become rows, with each scene drawn small. */
@media (max-width:759px){
  .intro-bar{height:40px}
  .intro-top{top:10px;left:16px;right:16px}
  .intro-brand>span{display:none}
  .intro-skip{padding:0 12px;font-size:13px}
  .intro-stage{padding:72px 16px 24px}
  .intro-title{flex-direction:column;align-items:center}
  .intro-cards{grid-template-columns:minmax(0,1fr);gap:10px;max-width:480px}
  .intro-card{flex-direction:row;align-items:center;gap:14px;min-height:88px;padding:8px 12px 8px 8px;border-radius:16px}
  .intro-card:hover,.intro-card:focus-visible{transform:none}
  .intro-card::after{content:'';flex:none;width:8px;height:8px;margin-right:4px;border-top:2px solid #35e0dc;border-right:2px solid #35e0dc;transform:rotate(45deg)}
  .intro-scene{width:112px;height:72px;border:0;border-radius:10px}
  .intro-scene-inner{inset:auto;top:0;left:0;width:296px;height:190px;padding:14px 16px;box-sizing:border-box;transform:scale(.378);transform-origin:0 0}
  .intro-scene-inner.intro-site{padding:0}
  .intro-card-text{flex:1;min-width:0;gap:3px;padding:0}
  .intro-card-body,.intro-pick{display:none}
  .intro-tag{font-size:10px;letter-spacing:.14em}
  .intro-card-title{font-size:16px}
  .intro-card-foot{margin-top:0;font-size:12px}
}
@media (max-width:759px) and (max-height:700px){.intro-eyebrow{display:none}.intro-card{min-height:76px}}
/* visibility:hidden only while waiting to start: nothing invisible can be clicked or focused. */
@keyframes intro-fade{from{opacity:0;visibility:hidden}}
@keyframes intro-bar{from{transform:scaleY(1)}to{transform:scaleY(0)}}
@keyframes intro-spin{to{transform:rotate(360deg)}}
@keyframes intro-draw{from{stroke-dashoffset:760}to{stroke-dashoffset:0}}
@keyframes intro-rise-mark{from{opacity:0;transform:translateY(60px)}}
@keyframes intro-pop{0%{opacity:0;transform:scale(0)}70%{opacity:1;transform:scale(1.25)}100%{opacity:1;transform:scale(1)}}
@keyframes intro-track{from{opacity:0;letter-spacing:.6em}}
@keyframes intro-reveal{from{transform:translateY(105%);filter:blur(10px)}}
@keyframes intro-sweep{0%{transform:translateX(-460px);opacity:0}20%,80%{opacity:1}100%{transform:translateX(1600px);opacity:0}}
@keyframes intro-type{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes intro-blink{50%{opacity:0}}
@keyframes intro-card-in{from{opacity:0;visibility:hidden;transform:translateY(48px) scale(.97);filter:blur(6px)}}
@keyframes intro-k1{0%,4%{opacity:0;transform:translateY(10px)}9%,90%{opacity:1;transform:none}96%,100%{opacity:0;transform:none}}
@keyframes intro-k2{0%,22%{opacity:0;transform:translateY(10px)}27%,90%{opacity:1;transform:none}96%,100%{opacity:0;transform:none}}
@keyframes intro-k3{0%,40%{opacity:0;transform:translateY(10px)}45%,90%{opacity:1;transform:none}96%,100%{opacity:0;transform:none}}
@keyframes intro-k4{0%,58%{opacity:0;transform:scale(.85)}63%,90%{opacity:1;transform:none}96%,100%{opacity:0;transform:none}}
@keyframes intro-kd{0%,12%{opacity:0}15%,37%{opacity:1}40%,100%{opacity:0}}
@keyframes intro-dot{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-4px)}}
@keyframes intro-pulse{0%{box-shadow:0 0 0 0 rgba(53,224,220,.5)}70%{box-shadow:0 0 0 10px rgba(53,224,220,0)}100%{box-shadow:0 0 0 0 rgba(53,224,220,0)}}
