@import "tailwindcss";

:root {
  --ink: #071735;
  --paper: #f4f6fb;
  --muted: #9da9bf;
  --line: rgba(255, 255, 255, 0.14);
  --acid: #7697f4;
  --orange: #315bd5;
  --brand-blue: #315bd5;
  --brand-blue-deep: #071735;
  --brand-blue-pale: #dfe7ff;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: #fff;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
main { overflow: hidden; }

.site-header {
  height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 4.5vw;
  border-bottom: 1px solid #dfe4ef;
  background: #fff;
  color: var(--brand-blue-deep);
  position: relative;
  z-index: 5;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; letter-spacing: -.8px; width: max-content; }
.brand img { width: 34px; height: 34px; object-fit: cover; border-radius: 7px; }
.brand-word { color: var(--brand-blue-deep); }
.brand-word i { color: var(--brand-blue); font-style: normal; }
.nav-links { display: flex; gap: 34px; font-size: 13px; color: #546078; }
.nav-links a, .header-cta, .text-link { transition: color .2s ease; }
.nav-links a:hover, .text-link:hover { color: var(--acid); }
.header-cta {
  border: 1px solid var(--brand-blue-deep);
  padding: 12px 16px;
  font-size: 12px;
  letter-spacing: .4px;
}
.header-actions { justify-self: end; display: flex; align-items: center; gap: 14px; }
.language-link { font-size: 11px; letter-spacing: .5px; color: #59647a; transition: color .2s ease; }
.language-link:hover { color: var(--brand-blue); }
.header-cta:hover { background: var(--brand-blue); color: #fff; border-color: var(--brand-blue); }

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 7vw;
  padding: 76px 4.5vw 74px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  width: 550px;
  height: 550px;
  border: 1px solid rgba(255,255,255,.045);
  border-radius: 50%;
  left: 38%;
  top: -230px;
}
.hero-copy { position: relative; z-index: 1; }
.eyebrow, .section-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #b4b5b2;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 38px; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: #8ba8ff; box-shadow: 0 0 15px #7899ff; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 30px;
  font-size: clamp(52px, 6.3vw, 94px);
  line-height: .92;
  letter-spacing: -5.3px;
  font-weight: 800;
}
h1 em, .trade-heading h2 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: #8da9ff; }
.hero-intro { max-width: 580px; font-size: 18px; line-height: 1.55; color: #d0d1cd; margin-bottom: 8px; }
.hero-intro-zh { font-size: 14px; color: #7f827c; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 28px; align-items: center; }
.primary-button {
  background: var(--brand-blue);
  color: #fff;
  display: inline-flex;
  gap: 36px;
  align-items: center;
  padding: 17px 20px;
  font-size: 13px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease;
}
.primary-button:hover { transform: translateY(-2px); background: #496fdf; }
.text-link { font-size: 13px; color: #b4b5b2; }

.trade-card { 
  align-self: center;
  min-height: 495px;
  background: #0d214b;
  border: 1px solid rgba(255,255,255,.12);
  position: relative;
  box-shadow: 0 36px 100px rgba(0,0,0,.3);
}
.trade-card-top { height: 48px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 18px; font-family: monospace; font-size: 10px; letter-spacing: 1px; color: #888b85; }
.live { color: var(--acid); display: flex; align-items: center; gap: 7px; }
.live i { width: 5px; height: 5px; background: var(--acid); border-radius: 50%; }
.trade-visual { height: 312px; overflow: hidden; position: relative; background: radial-gradient(circle at 55% 45%, #294c91 0, #122a59 40%, #091a3e 75%); }
.trade-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 34px 34px; }
.orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-one { width: 180px; height: 180px; right: -45px; top: -60px; background: #4e75e5; opacity: .72; }
.orb-two { width: 110px; height: 110px; left: 24px; bottom: -48px; background: #b8c9ff; opacity: .45; }
.device { position: absolute; width: 180px; height: 235px; border-radius: 18px; border: 1px solid rgba(255,255,255,.35); box-shadow: 0 22px 50px rgba(0,0,0,.45); display: flex; flex-direction: column; }
.device-back { left: 27%; top: 53px; transform: rotate(-12deg); background: linear-gradient(145deg, #8b9088, #30332f); align-items: center; justify-content: flex-end; padding-bottom: 25px; color: rgba(255,255,255,.35); letter-spacing: 4px; font-size: 9px; }
.device-front { left: 46%; top: 30px; transform: rotate(8deg); background: linear-gradient(150deg, #252824, #080a09); padding: 24px; justify-content: center; }
.device-front small { color: #a9beff; font-size: 7px; letter-spacing: 1.5px; }
.device-front strong { font-size: 51px; letter-spacing: -4px; margin: 8px 0 0; }
.device-front span { font-size: 8px; letter-spacing: 1.4px; color: #868983; }
.trade-list > div { height: 44px; padding: 0 18px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); font-size: 10px; letter-spacing: .8px; }
.trade-list span { color: #a5a7a2; }
.trade-list b { font-size: 9px; color: #e4e5e1; }

.proof-strip { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0 4.5vw; }
.proof-strip > div { min-height: 118px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); padding-left: 26px; }
.proof-strip > div:first-child { padding-left: 0; }
.proof-strip > div:last-child { border-right: 0; }
.proof-strip strong { font-size: 26px; letter-spacing: -1px; margin-bottom: 6px; }
.proof-strip span { color: #7f817d; font-size: 11px; }

.section { padding: 112px 4.5vw; }
.products { background: var(--paper); color: var(--ink); }
.section-heading { display: grid; grid-template-columns: 1fr .72fr; gap: 12vw; align-items: end; margin-bottom: 70px; }
.section-kicker { display: block; color: #6f726c; margin-bottom: 25px; }
.section-heading h2, .about h2, .contact-panel h2 { font-size: clamp(44px, 6vw, 84px); letter-spacing: -4.5px; line-height: .92; margin-bottom: 0; }
.section-heading > p { font-size: 17px; color: #5d605a; line-height: 1.55; margin-bottom: 0; max-width: 530px; }
.product-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid #c7c7c0; border-left: 1px solid #c7c7c0; }
.product-card { min-height: 460px; border-right: 1px solid #c7c7c0; border-bottom: 1px solid #c7c7c0; padding: 28px; display: flex; flex-direction: column; position: relative; transition: background .25s ease, color .25s ease; }
.product-card:hover { background: var(--ink); color: white; }
.product-card:hover p { color: #a6a8a3; }
.product-card:hover .tag-list span { border-color: #50534e; }
.product-number { font-family: monospace; font-size: 10px; color: #777a74; }
.product-icon { margin: 45px 0 55px; height: 90px; position: relative; }
.product-icon span:first-child { position: absolute; width: 78px; height: 78px; border-radius: 14px; border: 2px solid currentColor; transform: rotate(-9deg); left: 16px; }
.product-icon span:last-child { position: absolute; width: 61px; height: 61px; border-radius: 50%; background: #6f8fea; left: 58px; top: 20px; mix-blend-mode: multiply; }
.product-card:nth-child(2) .product-icon span:last-child { background: #a8bcf5; border-radius: 12px; transform: rotate(20deg); }
.product-card:nth-child(3) .product-icon span:first-child { width: 105px; height: 64px; border-radius: 3px; transform: none; top: 7px; }
.product-card:nth-child(3) .product-icon span:last-child { width: 105px; height: 10px; border-radius: 0; left: 16px; top: 76px; }
.product-card h3 { font-size: 25px; letter-spacing: -1px; margin-bottom: 13px; }
.product-card p { color: #686b65; font-size: 13px; line-height: 1.55; margin-bottom: 24px; transition: color .25s ease; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag-list span { border: 1px solid #c9cac4; border-radius: 20px; padding: 6px 9px; font-size: 9px; text-transform: uppercase; letter-spacing: .5px; }

.trade-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; padding: 112px 4.5vw; }
.trade-heading h2 { font-size: clamp(48px, 6.3vw, 90px); line-height: .92; letter-spacing: -5px; }
.trade-heading .section-kicker { color: #7d807a; }
.steps { border-top: 1px solid var(--line); }
.steps article { min-height: 145px; display: grid; grid-template-columns: 60px 1fr; border-bottom: 1px solid var(--line); padding: 26px 0; }
.steps article > span { font-family: monospace; color: #8da9ff; font-size: 11px; }
.steps h3 { font-size: 21px; letter-spacing: -.6px; margin-bottom: 10px; }
.steps p { max-width: 480px; font-size: 13px; line-height: 1.55; color: #848781; margin-bottom: 0; }
.steps-cta { min-height: 85px; background: var(--brand-blue); color: #fff; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 800; transition: background .2s ease; }
.steps-cta:hover { background: #496fdf; }

.markets { padding: 45px 4.5vw; background: var(--brand-blue); color: #fff; }
.markets p { font-size: 10px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; margin-bottom: 28px; }
.market-list { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; font-size: clamp(20px, 3.25vw, 48px); font-weight: 900; letter-spacing: -2px; }
.market-list i { width: 7px; height: 7px; background: #fff; border-radius: 50%; opacity: .45; }

.about { background: var(--paper); color: var(--ink); display: grid; grid-template-columns: 1fr .78fr; gap: 12vw; }
.about-copy { padding-top: 54px; }
.about-copy > p { font-size: 19px; line-height: 1.55; color: #555852; }
.about-copy .about-zh { font-size: 14px; color: #7f817c; }
.company-details { margin: 52px 0 0; padding: 0; border-top: 1px solid #c8c9c3; }
.company-details > div { display: grid; grid-template-columns: minmax(155px, .72fr) 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid #d4d5cf; }
.company-details dt { color: #777a74; font-size: 9px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.company-details dd { margin: 0; color: #252824; font-size: 12px; font-weight: 750; letter-spacing: .15px; overflow-wrap: anywhere; }
.address { border-top: 1px solid #c8c9c3; margin-top: 58px; padding-top: 25px; display: grid; grid-template-columns: 140px 1fr; gap: 20px; }
.address span { font-size: 9px; letter-spacing: 1px; font-weight: 800; }
.address address { font-style: normal; font-size: 13px; line-height: 1.6; color: #60635d; }
.email-address { margin-top: 28px; }
.email-address a { width: max-content; font-size: 14px; font-weight: 700; border-bottom: 1px solid #8d8f89; padding-bottom: 4px; transition: color .2s ease, border-color .2s ease; }
.email-address a:hover { color: #417000; border-color: #417000; }
.email-address i { font-style: normal; margin-left: 6px; }

.contact-panel { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 10vw; padding: 105px 4.5vw; background: var(--brand-blue-pale); color: var(--brand-blue-deep); }
.contact-panel .section-kicker { color: #575b4f; }
.contact-actions { display: grid; }
.contact-actions > a { border-top: 1px solid rgba(0,0,0,.35); padding: 22px 4px; display: grid; grid-template-columns: 1fr auto; align-items: center; position: relative; }
.contact-actions > a:last-child { border-bottom: 1px solid rgba(0,0,0,.35); }
.contact-actions > a span { font-size: 9px; letter-spacing: 1px; grid-column: 1; margin-bottom: 8px; }
.contact-actions > a strong { font-size: clamp(18px, 2.45vw, 34px); letter-spacing: -1.3px; grid-column: 1; }
.contact-actions > a i { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-size: 30px; transition: transform .2s ease; }
.contact-actions > a:hover i { transform: translate(5px,-5px); }

.qr-section { padding: 100px 4.5vw; display: grid; grid-template-columns: .72fr 1.28fr; gap: 9vw; background: #0a1b3e; border-bottom: 1px solid var(--line); }
.qr-heading h2 { font-size: clamp(44px, 5.4vw, 78px); line-height: .94; letter-spacing: -4px; margin-bottom: 24px; }
.qr-heading p { max-width: 430px; color: #8c8f89; font-size: 13px; line-height: 1.65; }
.qr-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid #c8c8c2; border-left: 1px solid #c8c8c2; }
.qr-card { min-width: 0; padding: 25px; color: var(--ink); background: var(--paper); border-right: 1px solid #c8c8c2; border-bottom: 1px solid #c8c8c2; transition: background .2s ease; }
.qr-card:hover { background: #fff; }
.qr-code-frame { background: #fff; padding: 12px; margin-bottom: 26px; }
.qr-code-frame img { display: block; width: 100%; height: auto; }
.qr-card-copy > span { display: block; font-family: monospace; font-size: 9px; letter-spacing: .8px; color: #73766f; margin-bottom: 12px; }
.qr-card-copy h3 { font-size: 25px; letter-spacing: -1px; margin-bottom: 8px; }
.qr-card-copy p { color: #686b65; font-size: 12px; line-height: 1.5; margin-bottom: 0; }

footer { min-height: 150px; padding: 32px 4.5vw; display: grid; grid-template-columns: .5fr 1.35fr .85fr; gap: 40px; align-items: center; color: #777a74; font-size: 10px; letter-spacing: .7px; }
.footer-brand .brand-word { color: white; }
footer p { margin-bottom: 0; }
.footer-company { display: grid; gap: 7px; }
.footer-company strong { color: #d8d9d5; font-size: 11px; letter-spacing: .9px; }
.footer-company span { color: #6f726c; line-height: 1.5; }
.footer-contact { justify-self: end; display: grid; justify-items: end; gap: 9px; }
.footer-email { transition: color .2s ease; }
.footer-email:hover { color: #9eb6ff; }
.floating-whatsapp { position: fixed; right: 24px; bottom: 24px; width: 50px; height: 50px; background: var(--brand-blue); color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 900; box-shadow: 0 12px 35px rgba(0,0,0,.3); z-index: 10; transition: transform .2s ease; }
.floating-whatsapp:hover { transform: scale(1.08); }

.zh-page { font-family: "PingFang HK", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", var(--sans); }
.zh-page h1 { font-size: clamp(52px, 5.8vw, 86px); line-height: 1.02; letter-spacing: -.08em; }
.zh-page h1 em, .zh-page .trade-heading h2 em { font-family: inherit; font-style: normal; font-weight: 500; }
.zh-page .section-heading h2, .zh-page .about h2, .zh-page .contact-panel h2 { line-height: 1.05; letter-spacing: -.07em; }
.zh-page .trade-heading h2 { line-height: 1.05; letter-spacing: -.075em; }
.zh-page .eyebrow, .zh-page .section-kicker { letter-spacing: .16em; }
.zh-page .market-list { letter-spacing: -.06em; }
.zh-page .qr-heading h2 { line-height: 1.06; letter-spacing: -.07em; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; padding: 0 24px; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding: 60px 24px; }
  h1 { letter-spacing: -3.8px; }
  .trade-card { width: min(100%, 560px); }
  .proof-strip { grid-template-columns: repeat(2,1fr); padding: 0 24px; }
  .proof-strip > div { border-bottom: 1px solid var(--line); }
  .proof-strip > div:nth-child(2) { border-right: 0; }
  .section, .trade-section, .contact-panel, .qr-section { padding: 80px 24px; }
  .section-heading, .about, .trade-section, .contact-panel, .qr-section { grid-template-columns: 1fr; gap: 50px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 390px; }
  .markets { padding: 38px 24px; }
  .about-copy { padding-top: 0; }
  footer { padding: 42px 24px; grid-template-columns: 1fr; gap: 24px; }
  .footer-contact { justify-self: start; justify-items: start; }
}

@media (max-width: 520px) {
  body { overflow-x: hidden; }
  .site-header { height: 68px; padding: 0 16px; }
  .brand { font-size: 20px; }
  .brand img { width: 30px; height: 30px; border-radius: 6px; }
  .header-actions { gap: 7px; }
  .language-link { font-size: 10px; }
  .header-cta { min-height: 42px; display: inline-flex; align-items: center; padding: 9px 10px; font-size: 10px; }
  .hero { min-height: auto; padding: 44px 18px 58px; gap: 38px; }
  .eyebrow { margin-bottom: 27px; }
  h1 { font-size: clamp(41px, 13vw, 50px); line-height: .95; letter-spacing: -3px; margin-bottom: 24px; }
  .zh-page h1 { font-size: clamp(39px, 11.5vw, 46px); letter-spacing: -.08em; }
  .hero-intro { font-size: 16px; }
  .hero-intro-zh { line-height: 1.55; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .primary-button { width: 100%; min-height: 52px; justify-content: space-between; }
  .trade-card { min-height: 420px; }
  .trade-visual { height: 250px; }
  .device { transform: scale(.86) rotate(0); }
  .device-back { left: 10%; top: 38px; transform: scale(.78) rotate(-12deg); }
  .device-front { left: 37%; top: 18px; transform: scale(.78) rotate(8deg); }
  .proof-strip { grid-template-columns: 1fr; padding: 0 18px; }
  .proof-strip > div { min-height: 92px; border-right: 0; padding-left: 0; }
  .section, .trade-section, .contact-panel, .qr-section { padding: 64px 18px; }
  .section-heading, .about, .trade-section, .contact-panel, .qr-section { gap: 36px; }
  .section-heading { margin-bottom: 44px; }
  .section-heading h2, .about h2, .contact-panel h2, .trade-heading h2 { font-size: 43px; letter-spacing: -2.7px; }
  .section-heading > p { font-size: 15px; }
  .product-card { min-height: 340px; padding: 22px; }
  .product-icon { margin: 36px 0 40px; }
  .steps article { grid-template-columns: 44px 1fr; min-height: 128px; padding: 24px 0; }
  .markets { padding: 32px 18px; }
  .market-list { letter-spacing: -1px; }
  .company-details { margin-top: 38px; }
  .company-details > div { grid-template-columns: 1fr; gap: 6px; padding: 14px 0; }
  .company-details dd { font-size: 13px; line-height: 1.4; }
  .address { grid-template-columns: 1fr; gap: 8px; margin-top: 38px; padding-top: 20px; }
  .contact-actions > a { min-height: 82px; }
  .contact-actions > a strong { font-size: 21px; overflow-wrap: anywhere; }
  .qr-grid { grid-template-columns: 1fr; }
  .qr-card { padding: 18px; }
  .qr-code-frame { max-width: 300px; margin: 0 auto 22px; }
  footer { padding: 40px 18px 96px; gap: 22px; }
  .footer-company span { max-width: 330px; }
  .floating-whatsapp { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
