/* TradeVN landing. Self-hosted Inter only (the page CSP allows nothing external, no inline styles). */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-vietnamese-400-normal.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/inter-vietnamese-500-normal.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/inter-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-vietnamese-600-normal.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/inter-vietnamese-700-normal.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/inter-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root { --bg: #131315; --bg2: #19191c; --card: #1e1e22; --line: rgba(255, 255, 255, .09); --txt: #e9eefc; --mut: #a3a3ad; --blue: #2f6df0; --cobalt: #1b3cf0; --acc: #19d3a2; --btn: #0a9b6e; --up: #12b981; --down: #ef4565; --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--txt); font: 15px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0; }
img { max-width: 100%; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.c { text-align: center; }
.hl { color: var(--acc); }
.up-t { color: var(--up); } .down-t { color: var(--down); }
a:focus-visible { outline: 2px solid #4f8cff; outline-offset: 3px; border-radius: 10px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s; }
.nav.solid { background: rgba(19, 19, 21, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-in { display: flex; align-items: center; height: 68px; }
.logo { height: 44px; width: auto; display: block; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.btn-join { background: var(--btn); color: #fff; font-weight: 700; font-size: .8rem; padding: 6px 14px; border-radius: 6px; }
.btn-login { border: 1px solid rgba(255, 255, 255, .28); font-weight: 600; font-size: .8rem; padding: 5px 14px; border-radius: 6px; color: #fff; }
.btn-login:hover { background: rgba(255, 255, 255, .08); }
.btn-join:hover { filter: brightness(1.08); }

/* shared bits */
.sub-title { color: #a3a3ad; font-weight: 600; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.btn-start { display: inline-block; background: var(--btn); color: #fff; font-weight: 700; font-size: .95rem; text-transform: uppercase; letter-spacing: .02em; padding: 17px 48px; border-radius: 99px; transition: transform .25s, filter .25s; }
.btn-start:hover { transform: translateY(-2px); filter: brightness(1.1); }
.lead { color: var(--mut); font-size: 1rem; line-height: 1.7; max-width: 540px; }
.lead.c { margin-inline: auto; }
.big { font-size: clamp(1.9rem, 4.4vw, 3.1rem); font-weight: 800; }
.mid { font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 800; }

/* hero */
.hero { position: relative; padding: 130px 0 90px; min-height: min(100svh, 760px); display: flex; align-items: center; background: var(--bg); }
.hero-in > * { min-width: 0; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; margin-bottom: 20px; color: #fff; }
.hero h1 .hl { color: inherit; }
.hero .lead { margin-bottom: 32px; }
.hero-meta { color: var(--mut); font-size: .82rem; margin-top: 16px; }
.scroll-down { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--mut); animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }
.win { background: linear-gradient(180deg, #232328, #1a1a1e); border: 1px solid var(--line); border-radius: 22px; padding: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.win-top { display: flex; align-items: baseline; gap: 12px; padding: 2px 4px 12px; }
.win-top b { font-size: .95rem; } .win-top span { color: var(--up); font-weight: 600; font-variant-numeric: tabular-nums; }
.win-top em { margin-left: auto; font-style: normal; color: var(--mut); font-size: .72rem; }
.win-body { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 12px; }
#chart { width: 100%; height: 250px; display: block; background: rgba(255, 255, 255, .02); border-radius: 12px; }
#chart .gl { stroke: rgba(255, 255, 255, .06); }
#chart .cu line { stroke: var(--up); } #chart .cu rect { fill: var(--up); }
#chart .cd line { stroke: var(--down); } #chart .cd rect { fill: var(--down); }
#chart .last { stroke: #4f8cff; stroke-dasharray: 4 4; }
.win-side { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ring-wrap { position: relative; width: 84px; height: 84px; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring-bg { stroke: rgba(255, 255, 255, .1); }
.ring-fg { stroke: var(--acc); stroke-linecap: round; }
.ring-wrap.result .ring-fg { stroke: #f0b429; }
.ring-txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-txt b { font-size: 1.3rem; line-height: 1; font-variant-numeric: tabular-nums; }
.ring-txt span { font-size: .5rem; color: var(--mut); letter-spacing: .04em; margin-top: 3px; }
.dir { display: grid; gap: 8px; width: 100%; }
.dir span { text-align: center; padding: 9px 0; border-radius: 10px; font-weight: 700; font-size: .8rem; }
.d-up { background: rgba(18, 185, 129, .18); color: var(--up); } .d-down { background: rgba(239, 69, 101, .18); color: var(--down); }

/* platform */
.platform { padding: 100px 0; background: var(--bg2); }
.platform-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.ind-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; max-width: 420px; margin-inline: auto; display: grid; gap: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }
.ind-row { display: flex; justify-content: space-between; font-size: .88rem; color: var(--mut); } .ind-row b { color: #fff; }
.ind-card svg { width: 100%; height: 90px; }
.ind-line { fill: none; stroke: #4f8cff; stroke-width: 2.4; stroke-linejoin: round; }
.ind-ref { stroke: rgba(255, 255, 255, .12); stroke-dasharray: 3 4; }
.mood { display: flex; height: 10px; border-radius: 99px; overflow: hidden; gap: 3px; } .mood i { display: block; height: 100%; }
.m-up { background: var(--up); flex: 62; } .m-down { background: var(--down); flex: 38; }
.ind-card small { color: var(--mut); font-size: .74rem; }
.platform-copy h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; margin-bottom: 16px; }
.platform-copy p { color: var(--mut); margin-bottom: 28px; max-width: 520px; }

/* built on */
.built { padding: 110px 0 90px; }
.big.c { margin-bottom: 56px; }
.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.item { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; }
.ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(25, 211, 162, .12); color: var(--acc); margin-bottom: 18px; }
.item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.item p { color: var(--mut); font-size: .92rem; }

.built { padding-bottom: 0; }
.logo-strip { margin-top: 70px; background: #f5b800; color: rgba(26, 19, 0, .78); overflow: hidden; padding: 32px 0; }
.strip-track { display: flex; width: max-content; animation: strip 40s linear infinite; }
.strip-grp { display: flex; align-items: center; flex: none; }
.lg { display: inline-flex; align-items: center; gap: 14px; padding: 0 60px; white-space: nowrap; }
.lg svg { width: 56px; height: 56px; flex: none; }
.lg b { font-size: 1.35rem; font-weight: 800; line-height: 1.05; letter-spacing: .02em; }
.lg b.it { font-size: 2.3rem; font-style: italic; letter-spacing: -.02em; text-transform: lowercase; }
.lg b.tag { font-size: 1.9rem; letter-spacing: .06em; }
@media (max-width: 860px) { .logo-strip { padding: 24px 0; } .lg { padding: 0 40px; } .lg svg { width: 46px; height: 46px; } .lg b { font-size: 1.1rem; } .lg b.it { font-size: 1.9rem; } .lg b.tag { font-size: 1.55rem; } }
@keyframes strip { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }
/* numbers */
.numbers { padding: 80px 0; background: var(--bg2); }
.mid.c { margin-bottom: 36px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px 16px; text-align: center; }
.stat b { display: block; font-size: clamp(1.4rem, 3vw, 2rem); font-variant-numeric: tabular-nums; color: #fff; }
.stat span { color: var(--mut); font-size: .84rem; }
.stats-note { text-align: center; color: var(--mut); font-size: .8rem; margin-top: 16px; }

/* steps */
.steps-sec { padding: 110px 0 90px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { text-align: center; padding: 8px 18px; }
.num { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--btn); color: #fff; font-weight: 800; font-size: 1.4rem; }
.step small { display: block; color: var(--acc); font-weight: 600; margin-bottom: 4px; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--mut); font-size: .92rem; }

/* final */
.final { padding: 100px 0; text-align: center; background: var(--bg2); }
.final .big { margin-bottom: 16px; }
.final .btn-start { margin-top: 28px; }

/* footer */
.foot { padding: 64px 0 36px; background: var(--bg); border-top: 1px solid var(--line); }
.foot-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; align-items: start; }
.logo-lg { height: 76px; width: auto; display: block; }
.foot-col { display: grid; gap: 12px; align-content: start; font-size: .92rem; }
.foot-col b { color: #fff; font-size: .95rem; margin-bottom: 6px; }
.foot-col a { color: #8b8b95; transition: color .2s; } .foot-col a:hover { color: #fff; }
.lang select { color-scheme: dark; appearance: auto; width: 100%; max-width: 190px; background: var(--card); color: #fff; border: 1px solid rgba(255, 255, 255, .22); border-radius: 6px; padding: 11px 12px; font: 600 .9rem var(--font); cursor: pointer; }
.lang select:focus-visible { outline: 2px solid #4f8cff; outline-offset: 2px; }
.risk { color: #8b8b95; font-size: .78rem; line-height: 1.75; border-top: 1px solid var(--line); padding-top: 28px; }
.risk b { color: #b4b4be; font-weight: 600; }
.copy { color: #6f6f79; font-size: .76rem; margin-top: 20px; }
.ns { padding: 12px 20px; text-align: center; color: var(--mut); }

/* reveal (only when JS is on, so no-JS visitors see everything) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .hero { padding: 100px 0 80px; min-height: 0; }
  .hero-in, .platform-in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .platform { padding: 70px 0; }
  .items, .steps { grid-template-columns: minmax(0, 1fr); } .foot-row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scroll-down { display: none; }
  .built, .steps-sec { padding: 70px 0 60px; }
}
@media (max-width: 420px) {
  .win-body { grid-template-columns: 1fr; } .win-side { flex-direction: row; justify-content: space-between; }
  .dir { grid-auto-flow: column; width: auto; flex: 1; }
  .btn-join, .btn-login { padding-inline: 14px; }
}
@media (max-width: 860px) {
  .sub-title { font-size: .76rem; margin-bottom: 12px; }
  .hero h1 { font-size: 2.15rem; margin-bottom: 14px; }
  .lead { font-size: .92rem; line-height: 1.65; }
  .hero .lead { margin-bottom: 26px; }
  .btn-start { font-size: .88rem; padding: 15px 40px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .scroll-down { animation: none; } .js .reveal { opacity: 1; transform: none; transition: none; } }

/* hero badge: gold pill with a glowing dot */
.sub-title.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 20px; border: 1px solid rgba(245, 184, 0, .55); border-radius: 99px; background: rgba(245, 184, 0, .08); color: #f5b800; font-weight: 800; font-size: .78rem; letter-spacing: .09em; }
.sub-title.hero-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #f5b800; box-shadow: 0 0 8px rgba(245, 184, 0, .9); flex: none; }
@media (max-width: 860px) { .sub-title.hero-badge { font-size: .66rem; padding: 8px 14px; gap: 8px; letter-spacing: .06em; } }
/* hero headline: highlighted words in the accent colour */
.hero h1 .hl { color: var(--acc); }

/* smaller badge; lead paragraph with soft grey body, green and white emphasis */
.sub-title.hero-badge { font-size: .66rem; padding: 6px 15px; gap: 8px; letter-spacing: .08em; }
.sub-title.hero-badge::before { width: 6px; height: 6px; box-shadow: 0 0 6px rgba(245, 184, 0, .9); }
@media (max-width: 860px) { .sub-title.hero-badge { font-size: .58rem; padding: 5px 12px; gap: 6px; } }
.hero .lead { color: #a3a3ad; }
.hero .lead .g { color: #4be3a0; font-weight: 700; }
.hero .lead b { color: #fff; font-weight: 700; }
/* hero call-to-action: gold primary + dark secondary, stacked */
.hero-cta { display: grid; gap: 12px; max-width: 460px; margin-top: 6px; }
.cta-gold, .cta-ghost { display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 12px; font-weight: 700; transition: transform .2s, filter .2s; }
.cta-gold { padding: 16px 22px; background: #f2b90f; color: #1a1300; font-size: .88rem; text-transform: uppercase; letter-spacing: .02em; }
.cta-ghost { padding: 14px 22px; background: #14161d; border: 1px solid #2a2e38; color: #fff; font-size: .9rem; }
.cta-gold:hover, .cta-ghost:hover { transform: translateY(-2px); filter: brightness(1.1); }
.cta-gold svg, .cta-ghost svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
/* hero: device mock-up instead of the animated chart; trust labels under the buttons */
.hero-vis { display: grid; justify-items: center; gap: 6px; }
.hero-img { width: 100%; max-width: 560px; height: auto; display: block; }
.hero-note { font-style: normal; color: var(--mut); font-size: .72rem; }
.hero-trust { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 26px; color: #b8bcc8; font-size: .9rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 19px; height: 19px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hero-trust .ti-g { stroke: #2fd08a; } .hero-trust .ti-y { stroke: #f5b800; fill: #f5b800; } .hero-trust .ti-c { stroke: #35c6e8; }
/* smaller hero buttons: box about 80%, text about 75-80% */
.hero-cta { max-width: 368px; gap: 10px; }
.cta-gold { padding: 13px 18px; font-size: .7rem; border-radius: 10px; }
.cta-ghost { padding: 11px 18px; font-size: .72rem; border-radius: 10px; }
.cta-gold svg, .cta-ghost svg { width: 13px; height: 13px; }
/* hero image raised a little (the PNG has empty margin above and below the devices) */
.hero-img { margin: -7% 0 -9%; }

/* hero buttons stretch across the whole text column like the reference (height and text stay small) */
.hero-cta { max-width: none; }

/* hero button text a little larger */
.cta-gold { font-size: .8rem; }
.cta-ghost { font-size: .82rem; }
.cta-gold svg, .cta-ghost svg { width: 14px; height: 14px; }

/* light streak sweeping across the gold button and its text */
.cta-gold { position: relative; overflow: hidden; isolation: isolate; }
.cta-gold::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 38%; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 244, 190, .75) 50%, rgba(255, 255, 255, 0) 100%); transform: translateX(-130%) skewX(-18deg); animation: cta-sweep 3.2s ease-in-out infinite; pointer-events: none; z-index: 1; }
@keyframes cta-sweep { 0% { transform: translateX(-130%) skewX(-18deg); } 55%, 100% { transform: translateX(340%) skewX(-18deg); } }
@media (prefers-reduced-motion: reduce) { .cta-gold::after { animation: none; display: none; } }
/* hero badge a little larger */
.sub-title.hero-badge { font-size: .74rem; padding: 7px 17px; gap: 9px; }
.sub-title.hero-badge::before { width: 7px; height: 7px; }
@media (max-width: 860px) { .sub-title.hero-badge { font-size: .66rem; padding: 6px 14px; gap: 8px; } }
/* hero headline: airier like the reference */
.hero h1 { font-weight: 700; line-height: 1.32; letter-spacing: .01em; margin: 18px 0 22px; }
.hero .lead { line-height: 1.75; }
.sub-title.hero-badge { margin-bottom: 8px; }
/* hero badge taller */
.sub-title.hero-badge { padding-top: 11px; padding-bottom: 11px; }
@media (max-width: 860px) { .sub-title.hero-badge { padding-top: 9px; padding-bottom: 9px; } }

/* shine on the gold button text only (no streak over the box), faster */
.cta-gold::after { display: none; }
.cta-gold > span { background: linear-gradient(100deg, #1a1300 0%, #1a1300 40%, #fffbe0 50%, #1a1300 60%, #1a1300 100%) 100% 0 / 250% 100% repeat-x; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: cta-text 1.5s ease-in-out infinite; }
@keyframes cta-text { 0% { background-position: 100% 0; } 65%, 100% { background-position: 0% 0; } }
@media (prefers-reduced-motion: reduce) { .cta-gold > span { animation: none; background-position: 100% 0; } }
/* faster text shine */
.cta-gold > span { animation-duration: .9s; }

/* text shine: fast, slows down in the middle, then speeds up and leaves */
.cta-gold > span { animation: cta-text2 1.7s infinite; }
@keyframes cta-text2 { 0% { background-position: 100% 0; animation-timing-function: cubic-bezier(.05, .9, .95, .1); } 68%, 100% { background-position: 0% 0; } }
@media (prefers-reduced-motion: reduce) { .cta-gold > span { animation: none; background-position: 100% 0; } }
/* text shine: quick approach, crawls across the word "TÀI", then speeds off to the end */
.cta-gold > span { animation: cta-text3 2.1s infinite; }
@keyframes cta-text3 {
  0% { background-position: 100% 0; animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  16% { background-position: 78% 0; animation-timing-function: linear; }
  54% { background-position: 58% 0; animation-timing-function: cubic-bezier(.5, 0, .9, .6); }
  74%, 100% { background-position: 0% 0; }
}
@media (prefers-reduced-motion: reduce) { .cta-gold > span { animation: none; background-position: 100% 0; } }
/* indicators section, reference layout: badge, headline with gold words, ticks, gold call-to-action with glow */
.sub-title.hero-badge.nodot::before { display: none; }
.platform-copy .hero-badge { margin-bottom: 16px; }
.platform-copy h2 { margin-bottom: 14px; }
.platform-copy h2 .gold { color: #f5b800; }
.checks { list-style: none; margin: 20px 0 26px; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 10px; color: #e8e8ee; font-size: .95rem; }
.checks svg { width: 20px; height: 20px; flex: none; }
.checks circle { fill: #f5b800; }
.checks path { fill: none; stroke: #1a1300; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.btn-gold2 { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 14px; background: #f5b800; color: #1a1300; font-weight: 800; font-size: .92rem; text-transform: uppercase; letter-spacing: .02em; box-shadow: 0 10px 30px rgba(245, 184, 0, .28); transition: transform .2s, filter .2s; }
.btn-gold2:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-gold2 svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/* indicators card removed: the copy now stands alone */
.platform-in { grid-template-columns: minmax(0, 1fr); max-width: 720px; }

/* indicators headline: larger and airier like the reference */
.platform-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 700; line-height: 1.3; letter-spacing: .01em; margin-bottom: 18px; }
.platform-copy > p:not(.sub-title) { line-height: 1.75; }
/* indicators section: same background as the page, headline fills the line (no balanced wrapping) */
.platform { background: transparent; }
.platform-copy h2 { text-wrap: wrap; }

/* hover: the paragraph lights up and the brand name turns green */
.hover-lit { transition: color .3s ease; cursor: default; }
.hover-lit .brand { transition: color .3s ease, text-shadow .3s ease; }
.hover-lit:hover { color: #f1f1f6; }
.hover-lit:hover .brand { color: var(--acc); font-weight: 700; text-shadow: 0 0 14px rgba(47, 208, 138, .35); }
/* indicators section: tighter, same scale as the reference */
.platform { padding: 64px 0; }
.platform-copy h2 { font-size: clamp(1.55rem, 2.7vw, 2rem); line-height: 1.28; margin-bottom: 14px; }
.platform-copy > p:not(.sub-title) { font-size: .88rem; line-height: 1.6; max-width: none; margin-bottom: 18px; }
.platform-copy .hero-badge { font-size: .66rem; padding: 7px 15px; margin-bottom: 14px; }
.checks { gap: 10px; margin: 0 0 22px; }
.checks li { font-size: .85rem; gap: 9px; }
.checks svg { width: 18px; height: 18px; }
.btn-gold2 { padding: 13px 22px; font-size: .84rem; border-radius: 12px; }
.platform-in { max-width: none; }
/* the lit state is now the default (no hover needed) */
.hover-lit { color: #f1f1f6; }
.hover-lit .brand { color: var(--acc); font-weight: 700; text-shadow: 0 0 14px rgba(47, 208, 138, .35); }

/* indicators headline larger; the gold phrase never splits across lines */
.platform-copy h2 { font-size: clamp(1.85rem, 3.3vw, 2.45rem); }
.platform-copy h2 .gold { white-space: nowrap; }

/* headline: \"chỉ báo\" may stay on the first line (it is glued with a no-break space, the phrase can split only between báo and tiên) */
.platform-copy h2 { font-size: clamp(1.7rem, 2.9vw, 2.1rem); }
.platform-copy h2 .gold { white-space: normal; }

/* indicators headline larger again */
.platform-copy h2 { font-size: clamp(1.95rem, 3.4vw, 2.55rem); }

/* indicators headline: a step smaller */
.platform-copy h2 { font-size: clamp(1.8rem, 3.1vw, 2.3rem); }

/* devices picture under the indicators copy, with two floating info cards */
.platform-art { position: relative; width: 100%; max-width: 560px; margin: 28px 0 0; }
.platform-art img { display: block; width: 100%; height: auto; }
.pop { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: rgba(20, 22, 29, .92); border: 1px solid rgba(47, 208, 138, .35); box-shadow: 0 12px 34px rgba(0, 0, 0, .45); animation: pop-float 5s ease-in-out infinite; }
.pop b { display: block; font-size: 1.05rem; color: #fff; line-height: 1.2; }
.pop small { display: block; color: #a9adba; font-size: .78rem; }
.pop .pi { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(47, 208, 138, .14); flex: none; }
.pop .pi svg { width: 20px; height: 20px; fill: none; stroke: #2fd08a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pop .pi.gold { background: rgba(245, 184, 0, .14); }
.pop .pi.gold svg { stroke: #f5b800; }
.pop-up { top: 4%; right: 0; }
.pop-lat { left: 0; bottom: 4%; border-color: rgba(245, 184, 0, .35); animation-delay: -2.5s; }
@keyframes pop-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .pop { animation: none; } }
/* floating cards smaller */
.pop { gap: 9px; padding: 8px 12px; border-radius: 11px; }
.pop b { font-size: .86rem; }
.pop small { font-size: .66rem; }
.pop .pi { width: 28px; height: 28px; border-radius: 8px; }
.pop .pi svg { width: 15px; height: 15px; }
/* devices picture a little larger (the file has empty space around the devices) */
.platform-art { max-width: 640px; }
.platform-art img { width: 115%; max-width: none; margin-left: -7.5%; }

/* centred badge above the section headline */
.sub-title.hero-badge.c { display: flex; width: fit-content; margin: 0 auto 16px; }

/* "why TradeVN" cards, reference layout: icon + title, text, tag pills, a gold area chart and a stats panel */
.feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fcard { background: linear-gradient(180deg, #17191f, #12141a); border: 1px solid #23262f; border-radius: 20px; padding: 24px; min-width: 0; }
.fhead { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.fico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(245, 184, 0, .13); border: 1px solid rgba(245, 184, 0, .3); color: #f5b800; flex: none; margin-bottom: 14px; }
.fhead .fico { margin-bottom: 0; }
.fico svg { width: 24px; height: 24px; }
.fcard h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 8px; letter-spacing: 0; }
.fhead h3 { margin-bottom: 0; font-size: 1.2rem; }
.fcard p { color: #a3a3ad; font-size: .9rem; line-height: 1.6; margin: 0; }
.ftags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ftags span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1px solid #2a2e38; border-radius: 99px; background: #1a1c24; color: #e8e8ee; font-size: .8rem; }
.ftags svg { width: 15px; height: 15px; color: #f5b800; flex: none; }
.fchart { display: block; width: 100%; height: 120px; margin-top: 16px; }
.farea { fill: url(#fgrad); }
.fline { fill: none; stroke: #f5b800; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.fstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; margin-top: 20px; padding: 26px; border-radius: 20px; background: #12141a; border: 1px solid #23262f; }
.fstats b { display: block; font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1.15; }
.fstats b.g { color: #4be3a0; }
.fstats span { display: block; margin-top: 6px; color: #7d8190; font-size: .8rem; }
@media (max-width: 860px) { .feat-grid { grid-template-columns: minmax(0, 1fr); } .fstats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* longer stat value */
.fstats b.long { font-size: 1.45rem; line-height: 1.3; }

/* solid (filled) icons like the reference instead of thin outlines */
.fico svg, .ftags svg { fill: currentColor; stroke: none; }
.fico svg .st, .ftags svg .st { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.fico svg .ck, .ftags svg .ck { fill: none; stroke: #14110a; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fico svg { width: 26px; height: 26px; }
.ftags svg { width: 16px; height: 16px; }
/* static gold panel with network cards instead of the scrolling logo strip */
.net-panel { margin-top: 56px; padding: 34px 20px 38px; text-align: center; background: linear-gradient(135deg, #f2c12e, #f4b800 55%, #eab000); }
.net-title { margin: 0 0 22px; color: #fff; font-weight: 700; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; }
.net-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.net-card { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 170px; padding: 16px 26px; border-radius: 16px; background: #fffbf0; box-shadow: 0 10px 26px rgba(120, 80, 0, .22); }
.net-bnb { display: grid; text-align: left; line-height: 1.05; }
.net-bnb b { color: #f0b90b; font-size: 1.05rem; letter-spacing: .04em; }
.net-bnb small { color: #f0b90b; font-size: .66rem; letter-spacing: .08em; font-weight: 700; }
.net-tether { color: #2b2f36; font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
/* icon tiles with a soft gradient sheen like the reference */
.fico { background: linear-gradient(140deg, rgba(245, 184, 0, .42) 0%, rgba(245, 184, 0, .1) 48%, rgba(245, 184, 0, .22) 100%); border: 1px solid rgba(245, 184, 0, .45); box-shadow: inset 0 1px 0 rgba(255, 224, 130, .4), inset 0 -10px 18px rgba(0, 0, 0, .18), 0 6px 16px rgba(245, 184, 0, .08); }
/* real BNB logo (background removed) */
.net-logo { width: 30px; height: 30px; display: block; flex: none; }

/* OKX and Bitget cards (text wordmarks) */
.net-okx { color: #111; font-size: 1.3rem; font-weight: 800; letter-spacing: .02em; }
.net-bitget { color: #0fb5c4; font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; }
.net-cards { max-width: 560px; margin: 0 auto; }
.net-card { min-width: 150px; }
/* official OKX logo (white background removed) */
.net-okx-img { height: 26px; width: auto; display: block; }

/* the gold chart keeps running: the pattern repeats every 400 units and slides left forever */
.fscroll { animation: fscroll 8s linear infinite; }
@keyframes fscroll { to { transform: translateX(-400px); } }
@media (prefers-reduced-motion: reduce) { .fscroll { animation: none; } }

/* official Tether (SVG) and Bybit (white background removed) logos */
.net-tether-img { height: 28px; width: auto; display: block; }
.net-bybit-img { height: 29px; width: auto; display: block; }
/* OKX and Bybit logos a little smaller, the boxes keep their size */
.net-card { min-height: 62px; box-sizing: border-box; }
.net-okx-img { height: 20px; }
.net-bybit-img { height: 22px; }

/* wide screens: all four cards in a single row */
.net-cards { max-width: 860px; }
@media (min-width: 900px) { .net-cards { flex-wrap: nowrap; } .net-card { flex: 1 1 0; } }

/* closing call-to-action: gold rounded panel with white button and tablet picture */
.final { padding: 60px 0 70px; background: transparent; }
.cta-panel { text-align: center; padding: 44px 24px 0; border-radius: 28px; overflow: hidden; background: linear-gradient(135deg, #f4c431, #f4b800 55%, #eaae00); }
.cta-h { color: #fff; font-size: clamp(1.9rem, 4.2vw, 2.8rem); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 16px; }
.cta-p { color: #fffaf0; max-width: 560px; margin: 0 auto 26px; font-size: .98rem; line-height: 1.65; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 20px; margin-bottom: 18px; }
.cta-white { display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; border-radius: 14px; background: #fff; color: #e8a400; font-weight: 800; font-size: .92rem; text-transform: uppercase; letter-spacing: .03em; box-shadow: 0 12px 28px rgba(120, 80, 0, .25); transition: transform .2s, filter .2s; }
.cta-white:hover { transform: translateY(-2px); filter: brightness(1.04); }
.cta-white svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cta-note { color: #fff; font-size: .88rem; }
.cta-img { display: block; width: 100%; max-width: 620px; height: auto; margin: 12px auto 0; filter: drop-shadow(0 18px 28px rgba(80, 50, 0, .35)); }
/* "start in 5 minutes": glowing timeline, glass cards, gold numbers */
.steps-sec { background: transparent; padding: 90px 0 70px; }
.steps-sec .big .gold { color: #f5b800; }
.steps2 { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; counter-reset: none; }
.steps2::before { content: ""; position: absolute; top: 28px; left: 16.6%; right: 16.6%; height: 2px; background: linear-gradient(90deg, rgba(245, 184, 0, .15), rgba(245, 184, 0, .6), rgba(245, 184, 0, .15)); }
.steps2::after { content: ""; position: absolute; top: 25px; left: 16.6%; width: 56px; height: 8px; border-radius: 99px; background: radial-gradient(closest-side, rgba(255, 224, 130, .95), rgba(245, 184, 0, 0)); animation: st2-run 3.6s ease-in-out infinite; }
@keyframes st2-run { 0% { left: 16.6%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(83.4% - 56px); opacity: 0; } }
.st2 { position: relative; padding-top: 28px; min-width: 0; }
.st2:nth-child(2) { transition-delay: .12s; } .st2:nth-child(3) { transition-delay: .24s; }
.st2-num { position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 2; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #ffd34d, #f5b800 55%, #d99b00); color: #1a1300; font-size: 1.5rem; font-weight: 800; box-shadow: 0 0 0 6px rgba(245, 184, 0, .14), 0 10px 26px rgba(245, 184, 0, .35); }
.st2-card { position: relative; height: 100%; box-sizing: border-box; padding: 44px 24px 26px; text-align: center; border-radius: 22px; background: linear-gradient(180deg, #181a21, #12141a); border: 1px solid #262a33; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.st2-card:hover { transform: translateY(-6px); border-color: rgba(245, 184, 0, .5); box-shadow: 0 18px 40px rgba(0, 0, 0, .45), 0 0 0 1px rgba(245, 184, 0, .12); }
.st2-ic { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 15px; color: #f5b800; background: linear-gradient(140deg, rgba(245, 184, 0, .4), rgba(245, 184, 0, .08) 55%, rgba(245, 184, 0, .2)); border: 1px solid rgba(245, 184, 0, .4); box-shadow: inset 0 1px 0 rgba(255, 224, 130, .4); }
.st2-ic svg { width: 26px; height: 26px; fill: currentColor; stroke: none; }
.st2-ic svg .st { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.st2-ic svg .ck2 { fill: #14110a; }
.st2-card small { display: block; color: #f5b800; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.st2-card h3 { font-size: 1.25rem; font-weight: 800; color: #fff; margin-bottom: 8px; letter-spacing: 0; }
.st2-card p { color: #a3a3ad; font-size: .9rem; line-height: 1.65; margin: 0 0 16px; }
.st2-chip { display: inline-block; padding: 6px 14px; border-radius: 99px; border: 1px solid rgba(245, 184, 0, .4); background: rgba(245, 184, 0, .09); color: #f5c93a; font-size: .76rem; font-weight: 600; }
@media (max-width: 860px) {
  .steps2 { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .steps2::before { top: 28px; bottom: 60px; left: 50%; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, rgba(245, 184, 0, .6), rgba(245, 184, 0, .15)); }
  .steps2::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .steps2::after { animation: none; display: none; } .st2-card { transition: none; } }
/* tablet with the phone and coins overlapping at the bottom left, like the reference */
.cta-visual { position: relative; max-width: 620px; margin: 12px auto 0; }
.cta-visual .cta-img { margin: 0; max-width: none; width: 100%; }
.cta-phone { position: absolute; left: -3%; bottom: -3%; width: 36%; height: auto; filter: drop-shadow(0 18px 24px rgba(80, 50, 0, .4)); pointer-events: none; }
/* card stacks (narrow screens): cards pile up, the top one flips to the back */
.is-stack { position: relative; display: block !important; perspective: 1100px; touch-action: pan-y; cursor: pointer; }
.is-stack > * { position: absolute !important; left: 0; right: 0; top: 0; margin: 0 !important; transform-origin: 50% 0; transition: transform .55s cubic-bezier(.2, .8, .2, 1), opacity .45s ease !important; will-change: transform; }
.is-stack > [data-pos="0"] { transform: none !important; opacity: 1 !important; z-index: 4; }
.is-stack > [data-pos="1"] { transform: translateY(16px) scale(.95) !important; opacity: .85 !important; z-index: 3; }
.is-stack > [data-pos="2"] { transform: translateY(32px) scale(.9) !important; opacity: .55 !important; z-index: 2; }
.is-stack > [data-pos="3"] { transform: translateY(32px) scale(.9) !important; opacity: 0 !important; z-index: 1; }
.is-stack > .out { transform: translateY(-26px) rotateX(78deg) !important; opacity: 0 !important; z-index: 5; transition-duration: .46s !important; }
.steps2.is-stack::before, .steps2.is-stack::after { display: none; }
.stack-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.stack-dots span { width: 8px; height: 8px; border-radius: 99px; background: #3a3d48; transition: width .3s, background .3s; }
.stack-dots span.on { width: 22px; background: #f5b800; }
@media (prefers-reduced-motion: reduce) { .is-stack > * { transition: none !important; } }
/* gold panel no longer cuts the picture; light sweep over the tablet; button and note on one row */
.cta-panel { padding: 44px 20px 40px; }
.cta-phone { bottom: -1%; }
.cta-shine { position: absolute; inset: 0; z-index: 1; pointer-events: none; -webkit-mask: url(/img/cta-tablet.png) center / 100% 100% no-repeat; mask: url(/img/cta-tablet.png) center / 100% 100% no-repeat; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .6) 50%, rgba(255, 255, 255, 0) 62%) 160% 0 / 260% 100% no-repeat; animation: cta-tab-shine 3.4s ease-in-out infinite; }
@keyframes cta-tab-shine { 0% { background-position: 160% 0; } 55%, 100% { background-position: -60% 0; } }
.cta-phone { z-index: 2; }
.cta-white { padding: 14px 22px; font-size: .86rem; }
.cta-row { gap: 12px 16px; }
.cta-note { font-size: .8rem; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .cta-shine { animation: none; display: none; } }
/* swipe-style flip: the top card is pulled out to the right, comes back in from the left */
.is-stack > .out { transform: translateX(118%) rotate(9deg) !important; opacity: 0 !important; z-index: 5; transition-duration: .32s !important; }
.is-stack > .nt { transition: none !important; }
.is-stack > .from-left { transform: translateX(-70%) scale(.92) !important; opacity: 0 !important; }

/* step cards: left-aligned, number badge inside the card (no centred floating circle, no connector line) */
.steps2::before, .steps2::after { display: none !important; }
.st2 { padding-top: 0; }
.st2-num { position: absolute; top: 18px; right: 18px; left: auto; transform: none; width: 44px; height: 44px; font-size: 1.2rem; box-shadow: 0 0 0 5px rgba(245, 184, 0, .12), 0 8px 20px rgba(245, 184, 0, .3); }
.st2-card { text-align: left; padding: 24px 24px 24px; }
.st2-ic { margin: 0 0 16px; }
.st2-card small { margin-bottom: 4px; }
.st2-card p { margin-bottom: 18px; }
/* tablet light sweep removed */
.cta-shine { display: none; animation: none; }

/* the step number is a corner tab glued to the card (top-right), not a floating circle */
.st2-num { top: 0; right: 0; width: 58px; height: 54px; border-radius: 0 22px 0 22px; box-shadow: none; font-size: 1.3rem; background: linear-gradient(145deg, #ffd34d, #f5b800 60%, #e0a200); }
.st2-card { overflow: hidden; }
/* no slide-in from the left: the card simply fades back in behind the pile */
.is-stack > .fade { opacity: 0 !important; }

/* corner tab shows "BƯỚC" above the step number */
.st2-num { flex-direction: column; gap: 0; line-height: 1; padding-top: 2px; width: 64px; height: 60px; }
.st2-num small { display: block; font-size: .56rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(26, 19, 0, .75); margin: 0 0 3px; }
.st2-num b { display: block; font-size: 1.45rem; font-weight: 800; line-height: 1; }
.st2-card { padding-top: 26px; }
/* slow light sweep across the "Bắt đầu sau 5 phút" heading (white part and gold part each get their own gradient) */
.shine-text { background: linear-gradient(100deg, #fff 0%, #fff 42%, #ffe39a 50%, #fff 58%, #fff 100%) 100% 0 / 250% 100% repeat-x; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: shine-slow 6s ease-in-out infinite; }
.shine-text .gold { background: linear-gradient(100deg, #f5b800 0%, #f5b800 42%, #fff4c9 50%, #f5b800 58%, #f5b800 100%) 100% 0 / 250% 100% repeat-x; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: shine-slow 6s ease-in-out infinite; }
@keyframes shine-slow { 0% { background-position: 100% 0; } 65%, 100% { background-position: 0% 0; } }
@media (prefers-reduced-motion: reduce) { .shine-text, .shine-text .gold { animation: none; background-position: 100% 0; } }
/* corner tab reads "Bước 2" on one line, the word as big as the number, glued to the card's top-right corner */
.st2-num { flex-direction: row; align-items: baseline; justify-content: center; gap: 7px; width: auto; height: auto; padding: 11px 20px 12px 24px; font-size: 1.25rem; line-height: 1.1; }
.st2-num small { display: inline; font-size: 1.25rem; font-weight: 800; letter-spacing: 0; text-transform: none; color: #1a1300; margin: 0; }
.st2-num b { display: inline; font-size: 1.25rem; font-weight: 800; line-height: 1.1; }
/* white words get a dark sweep, the gold "5 phút" gets a white sweep */
.shine-text { background: linear-gradient(100deg, #fff 0%, #fff 42%, #111 50%, #fff 58%, #fff 100%) 100% 0 / 250% 100% repeat-x; -webkit-background-clip: text; background-clip: text; }
.shine-text .gold { background: linear-gradient(100deg, #f5b800 0%, #f5b800 42%, #fff 50%, #f5b800 58%, #f5b800 100%) 100% 0 / 250% 100% repeat-x; -webkit-background-clip: text; background-clip: text; }
/* the tab is a grid in the base rule, so the word and the number stacked - make it a single flex row and let the yellow tab stretch to fit */
.st2-num { display: flex; flex-direction: row; align-items: baseline; justify-content: center; white-space: nowrap; width: auto; min-width: 0; gap: 7px; padding: 11px 22px 12px 26px; }

/* the card is pulled away more slowly */
.is-stack > .out { transition-duration: .64s !important; transition-timing-function: cubic-bezier(.45, .05, .35, 1) !important; }

/* the card stays fully opaque while it is pulled away (it slides right out of view instead of fading) */
.is-stack > .out { opacity: 1 !important; transform: translateX(128%) rotate(9deg) !important; }

/* call-to-action under the steps */
.steps-cta { display: flex; justify-content: center; margin-top: 34px; }
.btn-create { display: inline-flex; align-items: center; gap: 12px; padding: 17px 32px; border-radius: 14px; background: #f2b90f; color: #1a1300; font-weight: 800; font-size: .92rem; text-transform: uppercase; letter-spacing: .02em; box-shadow: 0 14px 34px rgba(245, 184, 0, .32); transition: transform .2s, filter .2s; }
.btn-create:hover { transform: translateY(-2px); filter: brightness(1.07); }
.btn-create svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.stack-dots + .steps-cta { margin-top: 26px; }
/* golden light sweeping across the black text of the sign-up button (the gradient always covers the whole text) */
.btn-create > span { background: linear-gradient(100deg, #1a1300 0%, #1a1300 40%, #ffe27a 50%, #1a1300 60%, #1a1300 100%) 100% 0 / 250% 100% repeat-x; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: create-shine 2.4s infinite; }
@keyframes create-shine { 0% { background-position: 100% 0; animation-timing-function: cubic-bezier(.05, .9, .95, .1); } 68%, 100% { background-position: 0% 0; } }
@media (prefers-reduced-motion: reduce) { .btn-create > span { animation: none; background-position: 100% 0; } }
/* "Đầu tư ngay" button and the note on one row, balanced like the reference */
.cta-row { flex-wrap: nowrap; justify-content: center; align-items: center; gap: 14px; margin-bottom: 22px; }
.cta-white { flex: none; padding: 13px 20px; font-size: .8rem; }
.cta-note { flex: 0 1 auto; font-size: .78rem; white-space: nowrap; }
@media (max-width: 400px) { .cta-row { flex-wrap: wrap; } .cta-note { white-space: normal; } }
/* sweep on the black text of the sign-up button is now white */
.btn-create > span { background: linear-gradient(100deg, #1a1300 0%, #1a1300 40%, #fff 50%, #1a1300 60%, #1a1300 100%) 100% 0 / 250% 100% repeat-x; -webkit-background-clip: text; background-clip: text; }

/* "system ready" badge with a vanilla CSS loader (three dots) */
.sys-ready { display: inline-flex; align-items: center; gap: 14px; padding: 14px 26px; border-radius: 99px; border: 1px solid rgba(245, 184, 0, .4); background: rgba(245, 184, 0, .08); color: #f5c93a; font-weight: 700; font-size: .92rem; letter-spacing: .02em; transition: border-color .4s, background .4s, color .4s; }
.ldr { display: inline-flex; align-items: center; gap: 5px; }
.ldr i { display: block; width: 9px; height: 9px; border-radius: 50%; background: #f5b800; animation: ldr-bounce 1s ease-in-out infinite; }
.ldr i:nth-child(2) { animation-delay: .15s; } .ldr i:nth-child(3) { animation-delay: .3s; }
@keyframes ldr-bounce { 0%, 80%, 100% { transform: scale(.55); opacity: .5; } 40% { transform: scale(1.15); opacity: 1; } }
.sys-ready.ok { border-color: rgba(47, 208, 138, .55); background: rgba(47, 208, 138, .1); color: #4be3a0; }
.sys-ready.ok .ldr i { background: #2fd08a; animation: ldr-ok 2.4s ease-in-out infinite; box-shadow: 0 0 10px rgba(47, 208, 138, .7); }
.sys-ready.ok .ldr i:nth-child(2) { animation-delay: .2s; } .sys-ready.ok .ldr i:nth-child(3) { animation-delay: .4s; }
@keyframes ldr-ok { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.8); opacity: .65; } }
.sys-ready.bad { border-color: rgba(255, 99, 99, .5); background: rgba(255, 99, 99, .08); color: #ff8d8d; }
.sys-ready.bad .ldr i { background: #ff6363; animation: none; }
@media (prefers-reduced-motion: reduce) { .ldr i { animation: none !important; } }
/* Loader, vanilla CSS port of the documented component: variants default / dual-ring / magnetic-dots / cube, size via --s.
   The page uses the default ring next to the status text, exactly like <Loader>text</Loader>. */
.ld { --s: 24px; display: inline-flex; align-items: center; justify-content: center; width: var(--s); height: var(--s); flex: none; position: relative; color: currentColor; }
.ld-default .ld-ring { width: 100%; height: 100%; box-sizing: border-box; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .22); border-top-color: currentColor; animation: ld-spin .9s linear infinite; }
.ld-dual-ring::before, .ld-dual-ring::after { content: ""; position: absolute; inset: 0; box-sizing: border-box; border-radius: 50%; border: 2px solid transparent; }
.ld-dual-ring::before { border-top-color: currentColor; border-bottom-color: currentColor; animation: ld-spin 1s linear infinite; }
.ld-dual-ring::after { inset: 20%; border-left-color: currentColor; border-right-color: currentColor; animation: ld-spin .8s linear infinite reverse; }
.ld-magnetic-dots { width: auto; gap: 4px; } .ld-magnetic-dots i { width: calc(var(--s) / 3.2); height: calc(var(--s) / 3.2); border-radius: 50%; background: currentColor; animation: ld-mag 1s ease-in-out infinite; }
.ld-magnetic-dots i:nth-child(2) { animation-delay: .15s; } .ld-magnetic-dots i:nth-child(3) { animation-delay: .3s; }
.ld-cube { perspective: 120px; } .ld-cube::before { content: ""; width: 60%; height: 60%; background: currentColor; border-radius: 3px; animation: ld-cube 1.4s ease-in-out infinite; }
@keyframes ld-spin { to { transform: rotate(360deg); } }
@keyframes ld-mag { 0%, 100% { transform: translateX(0) scale(.7); opacity: .6; } 50% { transform: translateX(3px) scale(1.15); opacity: 1; } }
@keyframes ld-cube { 0% { transform: rotateX(0) rotateY(0); } 50% { transform: rotateX(180deg) rotateY(0); } 100% { transform: rotateX(180deg) rotateY(180deg); } }

/* the status line is plain: ring + text, no pill; green when ready, red when the check failed */
.sys-ready { padding: 0; border: 0; background: transparent; border-radius: 0; color: #e8e8ee; gap: 12px; font-weight: 600; font-size: .98rem; }
.sys-ready.ok { color: #4be3a0; border: 0; background: transparent; }
.sys-ready.ok .ld-ring { border-color: rgba(47, 208, 138, .25); border-top-color: #2fd08a; animation-duration: 1.6s; }
.sys-ready.bad { color: #ff8d8d; border: 0; background: transparent; }
.sys-ready.bad .ld-ring { border-color: rgba(255, 99, 99, .3); border-top-color: #ff6363; animation: none; }
@media (prefers-reduced-motion: reduce) { .ld *, .ld::before, .ld::after { animation: none !important; } }
/* ready state is white (ring and text) */
.sys-ready.ok { color: #fff; }
.sys-ready.ok .ld-ring { border-color: rgba(255, 255, 255, .22); border-top-color: #fff; }

/* loader closer to the reference: a thin full outline circle with a thicker arc running around it, regular-weight text */
.ld-default { --s: 26px; }
.ld-default .ld-ring { border: 1.5px solid currentColor; border-radius: 50%; animation: none; position: relative; opacity: .9; }
.ld-default .ld-ring::after { content: ""; position: absolute; inset: -1.5px; box-sizing: border-box; border-radius: 50%; border: 3px solid transparent; border-top-color: currentColor; border-right-color: currentColor; animation: ld-spin 1.1s linear infinite; }
.sys-ready { font-weight: 500; font-size: .98rem; gap: 12px; color: #fff; }
.sys-ready.ok { color: #fff; }
.sys-ready.ok .ld-ring { border-color: currentColor; border-top-color: currentColor; animation: none; }
.sys-ready.ok .ld-ring::after { animation-duration: 1.4s; }
.sys-ready.bad .ld-ring { border-color: currentColor; border-top-color: currentColor; }
.sys-ready.bad .ld-ring::after { animation: none; border-top-color: transparent; border-right-color: transparent; }
@media (prefers-reduced-motion: reduce) { .ld-default .ld-ring::after { animation: none; } }
/* refined loader: faint thin ring + a bright arc with a fading comet tail and a soft glow */
.ld-default { --s: 26px; }
.ld-default .ld-ring { border: 1.5px solid rgba(255, 255, 255, .28); opacity: 1; }
.ld-default .ld-ring::after { inset: -1.5px; border: 0; background: conic-gradient(from 0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 45%, currentColor 100%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px)); filter: drop-shadow(0 0 3px rgba(255, 255, 255, .55)); animation: ld-spin 1s cubic-bezier(.5, .15, .5, .85) infinite; }
.sys-ready.ok .ld-ring { border-color: rgba(255, 255, 255, .28); }
.sys-ready.ok .ld-ring::after { animation-duration: 1.3s; }
.sys-ready.bad .ld-ring { border-color: rgba(255, 99, 99, .45); }
.sys-ready.bad .ld-ring::after { background: none; animation: none; filter: none; }
.sys-ready { letter-spacing: .01em; }