/* ============ TOKENS ============ */
:root{
  --orange-1:#FDB813;
  --orange-2:#F7931E;
  --orange-3:#F26522;
  --orange-4:#EE3524;
  --grad: linear-gradient(135deg, var(--orange-1) 0%, var(--orange-2) 45%, var(--orange-4) 100%);
  --bg: #08080a;
  --bg-2: #0e0e12;
  --surface: #131318;
  --surface-2: #1a1a21;
  --border: #26262f;
  --text: #f4f4f6;
  --text-muted: #9b9ba6;
  --radius: 18px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --font-head: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,h4{font-family:var(--font-head); line-height:1.2; margin:0 0 .5em;}
p{margin:0 0 1em;}
a{color:inherit; text-decoration:none;}
ul{list-style:none; margin:0; padding:0;}
img{max-width:100%; display:block;}
.container{max-width:var(--maxw); margin:0 auto; padding:0 24px;}

/* language toggle */
html[data-lang="vi"] .en{display:none;}
html[data-lang="en"] .vi{display:none;}
.en-inline{font-weight:400; color:var(--text-muted); font-size:.8em;}
html[data-lang="vi"] .lang-opt[data-set="vi"]{color:var(--orange-2); font-weight:700;}
html[data-lang="en"] .lang-opt[data-set="en"]{color:var(--orange-2); font-weight:700;}

.icon{width:20px; height:20px; stroke:currentColor; fill:none; flex-shrink:0;}
.icon-lg{width:32px; height:32px; color:var(--orange-2);}
.icon-xl{width:100%; height:100%; color:var(--orange-2);}

.grad-text{
  background:var(--grad);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex; align-items:center; gap:8px; justify-content:center;
  padding:14px 26px; border-radius:999px; font-weight:600; font-size:.95rem;
  border:1px solid transparent; cursor:pointer; transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space:nowrap;
}
.btn-primary{ background:var(--grad); color:#0a0a0a; box-shadow:0 8px 30px -8px rgba(242,101,34,.6);}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 12px 36px -6px rgba(242,101,34,.75);}
.btn-ghost{ background:transparent; color:var(--text); border-color:var(--border);}
.btn-ghost:hover{ border-color:var(--orange-2); color:var(--orange-2);}
.btn-outline{ background:transparent; border-color:var(--orange-3); color:var(--orange-2);}
.btn-outline:hover{ background:rgba(242,101,34,.1);}
.btn-sm{ padding:10px 20px; font-size:.85rem;}
.btn-block{ width:100%;}

/* ============ HEADER ============ */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:100;
  background:rgba(8,8,10,.7); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid transparent;
  transition:border-color .3s ease, background .3s ease;
}
.site-header.scrolled{ border-bottom-color:var(--border); background:rgba(8,8,10,.92);}
.header-inner{ display:flex; align-items:center; justify-content:space-between; height:76px; gap:24px;}
.brand img{ height:38px; width:auto;}
.main-nav{ display:flex; gap:32px; flex:1; justify-content:center;}
.main-nav a{ font-size:.92rem; font-weight:500; color:var(--text-muted); transition:color .2s;}
.main-nav a:hover{ color:var(--orange-2);}
.header-actions{ display:flex; align-items:center; gap:14px;}
.lang-toggle{
  background:var(--surface); border:1px solid var(--border); border-radius:999px;
  padding:7px 14px; color:var(--text-muted); font-size:.8rem; font-weight:600; letter-spacing:.03em;
  cursor:pointer; display:flex; gap:6px;
}
.lang-sep{ opacity:.4;}
.nav-burger{ display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px;}
.nav-burger span{ width:22px; height:2px; background:var(--text); border-radius:2px;}
.hide-mobile{ display:inline-flex;}

/* ============ HERO ============ */
.hero{
  position:relative; padding:170px 0 90px; overflow:hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(242,101,34,.18), transparent 60%),
    linear-gradient(var(--bg-2), var(--bg));
}
.hero::before{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  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:52px 52px;
  mask-image:radial-gradient(ellipse 70% 60% at 50% 20%, #000 40%, transparent 90%);
}
#particleCanvas{ position:absolute; inset:0; width:100%; height:100%; z-index:0; opacity:.55;}
.hero-glow{ position:absolute; border-radius:50%; filter:blur(90px); pointer-events:none; z-index:0;}
.hero-glow-1{ width:480px; height:480px; background:rgba(242,101,34,.28); top:-160px; right:-120px;}
.hero-glow-2{ width:380px; height:380px; background:rgba(238,53,36,.2); bottom:-140px; left:-100px;}
.hero-inner{ position:relative; z-index:1; text-align:center; max-width:880px;}
.eyebrow{
  display:inline-block; font-size:.78rem; font-weight:700; letter-spacing:.14em;
  color:var(--orange-2); padding:7px 16px; border:1px solid rgba(242,101,34,.4);
  border-radius:999px; background:rgba(242,101,34,.08); margin-bottom:28px;
}
.hero-title{ font-size:clamp(2.1rem, 5vw, 3.6rem); font-weight:700; letter-spacing:-.02em; margin-bottom:24px;}
.hero-sub{ font-size:1.15rem; color:var(--text-muted); max-width:720px; margin:0 auto 36px;}
.hero-cta{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-bottom:56px;}
.trust-bar{
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:left;
  padding-top:36px; border-top:1px solid var(--border);
}
.trust-item{ display:flex; flex-direction:column; gap:4px;}
.trust-item strong{ font-family:var(--font-head); font-size:1.7rem; color:var(--orange-2);}
.trust-item span{ font-size:.82rem; color:var(--text-muted); line-height:1.4;}

/* ============ SECTIONS ============ */
.section{ padding:110px 0; position:relative;}
.section-alt{ background:var(--bg-2);}
.section-head{ text-align:center; max-width:720px; margin:0 auto 56px;}
.tag{
  display:inline-block; font-size:.78rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color:var(--orange-2); margin-bottom:14px;
}
.section-head h2{ font-size:clamp(1.7rem, 3.4vw, 2.4rem);}
.section-intro{ color:var(--text-muted); margin-top:12px;}
.section-quote{
  text-align:center; max-width:760px; margin:56px auto 0; font-size:1.2rem; font-weight:500;
  font-family:var(--font-head); color:var(--text);
}

/* ============ ABOUT ============ */
.about-grid{ display:grid; grid-template-columns:1fr 1.15fr; gap:56px; align-items:start;}
.about-body{ font-size:1.05rem; color:var(--text-muted); align-self:center;}
.diff-cards{ display:flex; flex-direction:column; gap:20px;}
.diff-card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:28px; transition:border-color .25s, transform .25s;
}
.diff-card:hover{ border-color:rgba(242,101,34,.5); transform:translateY(-3px);}
.diff-card h3{ font-size:1.05rem; margin-top:14px;}
.diff-card p{ color:var(--text-muted); font-size:.92rem; margin:0;}

/* ============ ECOSYSTEM ============ */
.pillars{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px;}
.pillar-card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:26px 20px; text-align:left; transition:transform .25s, border-color .25s;
}
.pillar-card:hover{ transform:translateY(-4px); border-color:rgba(242,101,34,.5);}
.pillar-card h3{ font-size:1rem; margin-top:14px; margin-bottom:12px;}
.pillar-card-hl{ background:linear-gradient(160deg, rgba(242,101,34,.16), rgba(238,53,36,.05)); border-color:rgba(242,101,34,.5);}
.pillar-field{ font-size:.85rem; color:var(--text); margin-bottom:8px; font-weight:500;}
.pillar-role{ font-size:.82rem; color:var(--text-muted); margin:0;}

/* ============ PRODUCTS ============ */
.product-block{
  display:grid; grid-template-columns:220px 1fr; gap:56px; align-items:start;
  padding:56px 0; border-bottom:1px solid var(--border);
}
.product-block:last-child{ border-bottom:none;}
.product-block.reverse{ direction:rtl;}
.product-block.reverse > *{ direction:ltr;}
.product-icon{
  width:100%; aspect-ratio:1; max-width:180px; border-radius:var(--radius);
  background:linear-gradient(160deg, var(--surface), var(--surface-2));
  border:1px solid var(--border); display:flex; align-items:center; justify-content:center; padding:44px;
}
.product-tagline{ display:block; color:var(--orange-2); font-weight:600; font-size:.9rem; margin-bottom:8px;}
.product-copy h3{ font-size:1.6rem; margin-bottom:16px;}
.product-copy p{ color:var(--text-muted);}
.check-list{ display:flex; flex-direction:column; gap:12px; margin:20px 0;}
.check-list li{ display:flex; align-items:flex-start; gap:10px; font-size:.94rem; color:var(--text);}
.check-list li .icon{ color:var(--orange-2); margin-top:3px;}
.check-list li .en{ color:var(--text);}
.tier-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:24px 0;}
.tier-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-sm); padding:18px;}
.tier-card h4{ font-size:.92rem; color:var(--orange-2); margin-bottom:6px;}
.tier-card p{ font-size:.82rem; color:var(--text-muted); margin:0;}
.highlight-quote{
  border-left:3px solid var(--orange-3); padding-left:18px; font-style:italic; color:var(--text); margin-top:20px;
}

/* ============ WHY ============ */
.why-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
.why-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:28px;}
.why-card h3{ font-size:1.02rem; margin-top:14px;}
.why-card p{ color:var(--text-muted); font-size:.9rem; margin:0;}

/* ============ PROCESS ============ */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; position:relative;}
.step-card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:30px 24px; position:relative;
}
.step-num{
  font-family:var(--font-head); font-size:2.2rem; font-weight:700;
  background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent;
  display:block; margin-bottom:10px;
}
.step-card h3{ font-size:1.05rem;}
.step-card p{ color:var(--text-muted); font-size:.88rem; margin:0;}

/* ============ CTA ============ */
.cta-section{
  background:
    radial-gradient(ellipse 60% 60% at 50% 100%, rgba(242,101,34,.16), transparent 65%),
    var(--bg-2);
  overflow:hidden;
}
.cta-inner{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; position:relative; z-index:1;}
.cta-copy h2{ font-size:clamp(1.7rem,3.2vw,2.3rem);}
.cta-copy p{ color:var(--text-muted); margin-bottom:28px;}
.cta-form{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:32px; display:flex; flex-direction:column; gap:16px;
}
.form-row label{ display:flex; flex-direction:column; gap:8px; font-size:.85rem; color:var(--text-muted); font-weight:500;}
.form-row input, .form-row select{
  background:var(--bg); border:1px solid var(--border); border-radius:var(--radius-sm);
  padding:12px 14px; color:var(--text); font-size:.95rem; font-family:inherit;
}
.form-row input:focus, .form-row select:focus{ outline:none; border-color:var(--orange-3);}
.form-note{ font-size:.85rem; color:var(--orange-2); min-height:1.2em; margin:0;}

/* ============ FOOTER ============ */
.site-footer{ background:var(--bg-2); border-top:1px solid var(--border); padding:64px 0 24px;}
.footer-inner{ display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:48px;}
.footer-brand img{ height:34px; margin-bottom:12px;}
.footer-brand p{ color:var(--text-muted); font-size:.9rem;}
.footer-contact p{ display:flex; align-items:center; gap:10px; font-size:.9rem; color:var(--text-muted); margin-bottom:12px;}
.footer-contact a:hover{ color:var(--orange-2);}
.footer-links{ display:flex; flex-direction:column; gap:10px;}
.footer-links-title{ font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; color:var(--text-muted); margin-bottom:4px;}
.footer-links a{ color:var(--text-muted); font-size:.9rem;}
.footer-links a:hover{ color:var(--orange-2);}
.footer-bottom{
  margin-top:48px; padding-top:24px; border-top:1px solid var(--border);
  font-size:.8rem; color:var(--text-muted); text-align:center;
}

/* ============ MOBILE CALL BUTTON ============ */
.mobile-call-btn{
  display:none; position:fixed; bottom:22px; right:22px; z-index:200;
  width:56px; height:56px; border-radius:50%; background:var(--grad);
  align-items:center; justify-content:center; box-shadow:0 10px 30px -6px rgba(242,101,34,.7);
}
.mobile-call-btn .icon{ color:#0a0a0a; width:24px; height:24px;}

/* ============ SCROLL REVEAL ============ */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease;}
.reveal.is-visible{ opacity:1; transform:translateY(0);}

/* ============ RESPONSIVE ============ */
@media (max-width:1080px){
  .pillars{ grid-template-columns:repeat(3,1fr);}
  .why-grid{ grid-template-columns:repeat(2,1fr);}
  .steps{ grid-template-columns:repeat(2,1fr);}
  .footer-inner{ grid-template-columns:1fr 1fr; }
}
@media (max-width:860px){
  .main-nav{ display:none;}
  .nav-burger{ display:flex;}
  .hide-mobile{ display:none;}
  .about-grid{ grid-template-columns:1fr;}
  .product-block, .product-block.reverse{ grid-template-columns:1fr; direction:ltr;}
  .product-icon{ max-width:100px; padding:26px;}
  .cta-inner{ grid-template-columns:1fr;}
  .mobile-call-btn{ display:flex;}
  .trust-bar{ grid-template-columns:repeat(2,1fr);}
}
@media (max-width:640px){
  .pillars{ grid-template-columns:repeat(2,1fr);}
  .why-grid{ grid-template-columns:1fr;}
  .steps{ grid-template-columns:1fr;}
  .tier-cards{ grid-template-columns:1fr;}
  .footer-inner{ grid-template-columns:1fr; gap:32px;}
  .hero{ padding:150px 0 70px;}
  .trust-bar{ grid-template-columns:1fr;}
}

/* mobile nav open state */
.main-nav.open{
  display:flex; flex-direction:column; position:fixed; top:76px; left:0; right:0;
  background:var(--bg-2); border-bottom:1px solid var(--border); padding:20px 24px; gap:18px; z-index:99;
}
