﻿/* 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 { color-scheme: light; --blue: #1b3cf0; --blue-d: #1230c8; --ink: #0b1440; --muted: #5a6491; --line: #e2e7fb; --soft: #f4f6ff; --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: 76px; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/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: -.02em; }
p { margin: 0; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; }
.mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--blue); color: #fff; font-weight: 800; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { color: var(--muted); font-size: .94rem; font-weight: 500; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border-radius: 10px; font-weight: 700; font-size: .94rem; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.btn.lg { padding: 14px 26px; font-size: 1rem; border-radius: 12px; }
.btn.ghost { color: var(--ink); } .btn.ghost:hover { background: var(--soft); }
.btn.solid { background: var(--blue); color: #fff; } .btn.solid:hover { background: var(--blue-d); }
.btn.white { background: #fff; color: var(--blue); } .btn.white:hover { background: #eef1ff; }
.btn.line { border-color: rgba(255,255,255,.55); color: #fff; } .btn.line:hover { background: rgba(255,255,255,.12); }

/* hero */
.hero { background: var(--blue); color: #fff; padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
.lead { margin-top: 20px; font-size: 1.1rem; color: #dce3ff; max-width: 540px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

.demo { background: #0d1c8a; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 16px; box-shadow: 0 24px 60px rgba(0,10,80,.35); min-width: 0; }
.demo-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.demo-top b { display: block; }
.demo-top small { color: #aebaf5; font-size: .76rem; }
.ring-wrap { position: relative; width: 56px; height: 56px; flex: none; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring-bg { stroke: rgba(255,255,255,.18); }
.ring-fg { stroke: #fff; stroke-linecap: round; transition: stroke .3s; }
.ring-wrap.result .ring-fg { stroke: #ffc94d; }
.ring-txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.05; }
.ring-txt b { font-size: 1rem; font-variant-numeric: tabular-nums; }
.ring-txt span { font-size: .55rem; color: #aebaf5; text-transform: uppercase; letter-spacing: .06em; }
.chart { display: block; width: 100%; height: auto; aspect-ratio: 640 / 280; border-radius: 10px; background: #0a1670; }
.demo-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.demo-btns span { text-align: center; font-weight: 800; padding: 11px; border-radius: 10px; color: #fff; }
.up-btn { background: var(--up); } .down-btn { background: var(--down); }
.demo-note { margin-top: 10px; color: #aebaf5; font-size: .76rem; text-align: center; }

/* stats */
.stats { padding: 40px 0 8px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.stat { padding: 22px 16px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; color: var(--blue); font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .86rem; }
.stats-note { margin-top: 10px; text-align: center; color: var(--muted); font-size: .76rem; }

/* sections */
.sec { padding: 80px 0; }
.sec.alt { background: var(--soft); }
.title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; text-align: center; }
.title.left, .sub.left { text-align: left; margin-left: 0; }
.sub { margin: 12px auto 0; max-width: 600px; color: var(--muted); text-align: center; }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step, .card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step h3, .card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.step p, .card p { color: var(--muted); font-size: .95rem; }
.cards { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.trust { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 28px; color: var(--muted); }
.checks li b { color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 2px; top: .4em; width: 13px; height: 7px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }
.facts { border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; background: var(--soft); }
.row { display: flex; justify-content: space-between; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.row:last-child { border-bottom: 0; }
.row span { color: var(--muted); } .row b { color: var(--blue); text-align: right; }

.faq { margin-top: 32px; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 16px; font-size: .95rem; }

.cta { padding: 72px 0; }
.cta-in { text-align: center; background: var(--blue); color: #fff; border-radius: 20px; padding: 52px 24px; }
.cta h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
.cta p { color: #dce3ff; margin: 10px 0 24px; }

.foot { background: var(--soft); border-top: 1px solid var(--line); padding: 40px 0 36px; }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.foot nav a:hover { color: var(--blue); }
.risk { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; line-height: 1.75; }
.risk b { color: var(--ink); }
.copy { margin-top: 16px; color: var(--muted); font-size: .8rem; }
.ns { text-align: center; padding: 14px; color: var(--muted); }

/* one simple effect: fade up when scrolled into view */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero-grid, .trust { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .steps, .cards { grid-template-columns: minmax(0, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .ghost { display: none; }
  .nav-in { height: 58px; }
  .hero { padding: 36px 0 44px; }
  .hero h1 { font-size: 1.9rem; }
  .lead { font-size: 1rem; }
  .hero-cta { flex-direction: column; } .hero-cta .btn { width: 100%; }
  .sec { padding: 56px 0; }
  .stat b { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* text-only hero */
.hero-grid { grid-template-columns: minmax(0, 1fr); text-align: center; }
.hero-copy { max-width: 760px; margin-inline: auto; }
.lead { margin-inline: auto; }
.hero-cta { justify-content: center; }
.hero { padding: 84px 0 88px; }
@media (max-width: 720px) { .hero { padding: 44px 0 52px; } }

/* phones: smaller type, buttons and spacing */
@media (max-width: 720px) {
  body { font-size: 14px; line-height: 1.6; }
  .nav-in { height: 52px; gap: 10px; } .brand { font-size: .98rem; gap: 8px; } .mark { width: 28px; height: 28px; border-radius: 8px; font-size: .85rem; }
  .btn { padding: 8px 14px; font-size: .84rem; border-radius: 9px; } .btn.lg { padding: 11px 18px; font-size: .9rem; border-radius: 10px; }
  .hero { padding: 30px 0 34px; }
  .hero h1 { font-size: 1.5rem; line-height: 1.18; }
  .lead { font-size: .9rem; margin-top: 12px; }
  .hero-cta { gap: 8px; margin-top: 20px; }
  .stats { padding: 24px 0 4px; } .stat { padding: 14px 10px; } .stat b { font-size: 1.1rem; } .stat span { font-size: .76rem; } .stats-note { font-size: .68rem; }
  .sec { padding: 40px 0; }
  .title { font-size: 1.3rem; } .sub { font-size: .86rem; margin-top: 8px; }
  .steps, .cards { margin-top: 24px; gap: 10px; }
  .step, .card { padding: 16px; border-radius: 12px; } .num { width: 30px; height: 30px; margin-bottom: 10px; font-size: .9rem; }
  .step h3, .card h3 { font-size: .98rem; } .step p, .card p { font-size: .86rem; }
  .checks { gap: 10px; font-size: .88rem; } .row { padding: 12px 0; font-size: .86rem; }
  .faq summary { padding: 13px 0; font-size: .92rem; } .faq details p { font-size: .86rem; }
  .cta { padding: 40px 0; } .cta-in { padding: 34px 18px; border-radius: 16px; } .cta h2 { font-size: 1.25rem; } .cta p { font-size: .88rem; margin: 8px 0 18px; }
  .foot { padding: 28px 0; } .risk { font-size: .76rem; } .foot nav { font-size: .84rem; gap: 16px; }
}

/* ===== dark blue-black tone ===== */
:root { color-scheme: dark; --blue: #2f5bff; --blue-d: #2347d9; --blue-l: #7a9bff; --ink: #eaf0ff; --muted: #93a0c4; --line: #1a2447; --soft: #0b1226; }
body { background: #060a14; color: var(--ink); }
.nav { background: rgba(6,10,20,.9); border-bottom-color: var(--line); }
.nav-links a:hover, .foot nav a:hover { color: var(--blue-l); }
.btn.ghost:hover { background: #111a38; }
.hero { background: radial-gradient(70% 90% at 50% 0%, rgba(47,91,255,.38), transparent 70%), #060a14; color: #fff; border-bottom: 1px solid var(--line); }
.lead { color: #a9b6dc; }
.hero .btn.white, .cta .btn.white { background: var(--blue); color: #fff; }
.hero .btn.white:hover, .cta .btn.white:hover { background: var(--blue-d); }
.btn.line { border-color: rgba(255,255,255,.22); } .btn.line:hover { background: rgba(255,255,255,.07); }
.stats-grid, .step, .card, .facts, .faq details { background: #0b1226; border-color: var(--line); }
.stat { border-color: var(--line); }
.stat b, .row b { color: var(--blue-l); }
.sec.alt { background: #08101f; border-block: 1px solid var(--line); }
.checks li::before { border-color: var(--blue-l); }
.faq summary::after { color: var(--blue-l); }
.cta-in { background: radial-gradient(90% 140% at 50% 0%, rgba(47,91,255,.55), transparent 70%), #0c1636; border: 1px solid #1d2c66; }
.cta p { color: #a9b6dc; }
.foot { background: #04070f; border-top-color: var(--line); }
.risk { border-top-color: var(--line); }
a:focus-visible, summary:focus-visible { outline-color: var(--blue-l); }

/* flat hero (no glow), balanced headline lines */
.hero { background: #060a14; }
.cta-in { background: #0c1636; }
.hero h1, .title, .cta h2 { text-wrap: balance; }
.lead, .sub { text-wrap: pretty; }
@media (max-width: 720px) { .hero h1 { font-size: clamp(1.3rem, 5.8vw, 1.5rem); } }

/* phones: one more step down */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (max-width: 720px) {
  body { font-size: 13px; }
  .nav-in { height: 48px; } .brand { font-size: .9rem; } .mark { width: 26px; height: 26px; font-size: .8rem; }
  .btn { padding: 7px 12px; font-size: .78rem; border-radius: 8px; }
  .btn.lg { padding: 9px 14px; font-size: .82rem; border-radius: 9px; }
  .hero { padding: 24px 0 28px; }
  .hero h1 { font-size: clamp(1.08rem, 4.8vw, 1.28rem); line-height: 1.22; }
  .lead { font-size: .8rem; margin-top: 10px; line-height: 1.55; }
  .hero-cta { margin-top: 16px; gap: 7px; }
  .stat b { font-size: 1rem; } .stat span { font-size: .7rem; } .stat { padding: 12px 8px; }
  .title { font-size: 1.15rem; } .sub { font-size: .8rem; }
  .step h3, .card h3 { font-size: .9rem; } .step p, .card p { font-size: .8rem; }
  .faq summary { font-size: .86rem; } .faq details p { font-size: .8rem; }
  .cta h2 { font-size: 1.1rem; } .cta p { font-size: .8rem; }
  .risk { font-size: .72rem; } .checks, .row { font-size: .8rem; }
}

.hero-meta { margin-top: 20px; color: #7f8db5; font-size: .85rem; }
@media (max-width: 720px) { .hero-meta { font-size: .72rem; margin-top: 14px; } }

/* source-style content blocks */
.kicker { color: #8fa3d9; font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
.center-block { text-align: center; }
.center-cta { margin-top: 26px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step small { display: block; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
@media (max-width: 900px) { .cards.three { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .kicker { font-size: .66rem; margin-bottom: 10px; } .center-cta { margin-top: 18px; } .step small { font-size: .74rem; } }

/* centering + button size fixes */
.center-t { text-align: center; }
.hero-cta { justify-content: center; }
@media (max-width: 720px) {
  .hero-cta { flex-direction: row; justify-content: center; }
  .hero-cta .btn { width: auto; min-width: 150px; }
}

.logo { display: block; height: 30px; width: auto; }
.foot .logo { height: 36px; }
@media (max-width: 720px) { .logo { height: 24px; } .foot .logo { height: 28px; } }

.logo { height: 36px; }
.foot .logo { height: 44px; }
@media (max-width: 720px) { .logo { height: 30px; } .foot .logo { height: 36px; } }

/* content aligned left */
.hero-grid { text-align: left; }
.hero-copy { margin-inline: 0; max-width: 680px; }
.lead, .sub, .title { margin-left: 0; margin-right: 0; text-align: left; }
.lead { max-width: 560px; }
.sub { max-width: 620px; }
.hero-cta { justify-content: flex-start; }
.center-t, .center-block, .center-cta, .stats-note { text-align: left; }
.center-block.narrow { width: min(1120px, 100% - 32px); }
.kicker { text-align: left; }
.cta-in, .foot-top { text-align: left; }
@media (max-width: 720px) { .hero-cta { justify-content: flex-start; } }

.h-logo { display: inline-block; height: 1.05em; width: auto; vertical-align: -.14em; margin: 0 .08em; }

.h-logo { height: 1.15em; vertical-align: -.2em; margin: 0 .1em; }

.logo { height: 24px; }
.foot .logo { height: 30px; }
@media (max-width: 720px) { .logo { height: 20px; } .foot .logo { height: 26px; } }

/* nav: both buttons visible, small */
.nav-cta { gap: 6px; }
.nav-cta .btn { padding: 6px 12px; font-size: .8rem; border-radius: 8px; }
.nav-cta .btn.ghost { border-color: rgba(255,255,255,.25); }
@media (max-width: 720px) {
  .nav-cta .btn.ghost { display: inline-flex; }
  .nav-cta .btn { padding: 5px 10px; font-size: .72rem; border-radius: 7px; }
}

/* softer blue */
:root { --blue: #4f6fd8; --blue-d: #4263c2; --blue-l: #8da6ec; }


