/* Modern homepage styles for HaoChi Trading */
:root{
  --bg:#0b1220;
  --bg2:#0f1b33;
  --card:#0f1b33;
  --text:#eaf0ff;
  --muted:rgba(234,240,255,.72);
  --line:rgba(234,240,255,.12);
  --accent:#ffd700;
  --accent2:#7dd3fc;
  --shadow:0 10px 30px rgba(0,0,0,.35);
  --radius:16px;
  --max:1160px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Microsoft YaHei","PingFang SC", sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(125,211,252,.18), transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(255,215,0,.12), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}
a{color:inherit}

.container{max-width:var(--max); margin:0 auto; padding:0 20px}
.skip{position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden}
.skip:focus{left:20px; top:20px; width:auto; height:auto; padding:10px 12px; background:#fff; color:#000; z-index:9999; border-radius:10px}

/* Header */
.topbar{
  border-bottom:1px solid var(--line);
  background:rgba(11,18,32,.55);
  backdrop-filter:saturate(140%) blur(10px);
}
.topbar .row{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; padding:10px 0;
  font-size:14px;
}
.topbar a{color:var(--muted); text-decoration:none}
.topbar a:hover{color:var(--text)}
.topbar .links{display:flex; gap:14px; align-items:center; flex-wrap:wrap}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid var(--line);
  padding:6px 10px; border-radius:999px;
}
.social{display:flex; gap:10px}
.social a{
  width:34px; height:34px; border-radius:10px;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
}
.social a:hover{border-color:rgba(255,215,0,.35); background:rgba(255,215,0,.08)}

.nav{
  position:sticky; top:0; z-index:50;
  border-bottom:1px solid var(--line);
  background:rgba(11,18,32,.72);
  backdrop-filter:saturate(140%) blur(12px);
}
.nav .inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0; gap:18px;
}
.brand{
  display:flex; align-items:center; gap:12px; text-decoration:none;
}
.brand img{width:36px; height:36px; border-radius:10px}
.brand .name{font-weight:800; letter-spacing:.2px}
.brand .tag{font-size:12px; color:var(--muted)}

.menu{display:flex; gap:16px; align-items:center}
.menu a{
  color:var(--muted); text-decoration:none; font-weight:600; font-size:14px;
  padding:10px 10px; border-radius:10px;
}
.menu a:hover{color:var(--text); background:rgba(255,255,255,.05)}
.menu .cta{
  color:#111; background:var(--accent);
  border:1px solid rgba(255,215,0,.45);
}
.menu .cta:hover{background:#ffe45e}
.menu .ghost{
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
}

.hamburger{display:none; border:1px solid var(--line); background:rgba(255,255,255,.04); color:var(--text); border-radius:12px; padding:10px 12px}

/* Hero */
.hero{
  padding:64px 0 34px;
}
.heroGrid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:28px;
  align-items:stretch;
}
.heroCard{
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.heroMain{padding:34px}
.kicker{
  display:inline-flex; gap:10px; align-items:center;
  color:rgba(255,255,255,.9);
  font-weight:700; font-size:13px;
}
.kicker span{
  display:inline-flex; align-items:center; justify-content:center;
  width:28px; height:28px; border-radius:10px;
  border:1px solid rgba(255,215,0,.35);
  background:rgba(255,215,0,.08);
  color:var(--accent);
}
h1{margin:14px 0 12px; font-size:42px; line-height:1.1}
.sub{margin:0; color:var(--muted); font-size:16px; line-height:1.6; max-width:54ch}
.badges{margin:18px 0 22px; display:flex; gap:10px; flex-wrap:wrap}
.badge{
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  padding:8px 10px; border-radius:999px;
  color:rgba(255,255,255,.88);
  font-size:13px; font-weight:650;
}
.badge strong{color:var(--accent)}
.actions{display:flex; gap:12px; flex-wrap:wrap}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 14px;
  border-radius:12px;
  text-decoration:none;
  font-weight:800;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
}
.btnPrimary{
  background:var(--accent);
  color:#111;
  border-color:rgba(255,215,0,.5);
}
.btnPrimary:hover{background:#ffe45e}
.btnSecondary:hover{background:rgba(255,255,255,.07)}
.btnSmall{padding:10px 12px; font-weight:750}

.heroSide{padding:24px}
.heroSide h2{margin:0 0 12px; font-size:16px}
.list{margin:0; padding:0; list-style:none; display:grid; gap:10px}
.list li{
  display:flex; gap:10px; align-items:flex-start;
  color:var(--muted);
  padding:12px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(0,0,0,.12);
}
.dot{
  width:10px; height:10px; border-radius:999px; margin-top:6px;
  background:var(--accent2);
  box-shadow:0 0 0 4px rgba(125,211,252,.12);
}
.list b{color:rgba(255,255,255,.92)}

/* Sections */
section{padding:56px 0}
.sectionHead{
  display:flex; justify-content:space-between; align-items:flex-end; gap:14px; flex-wrap:wrap;
  margin-bottom:18px;
}
.sectionHead h2{margin:0; font-size:24px}
.sectionHead p{margin:0; color:var(--muted); max-width:72ch}

.grid3{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.grid2{display:grid; grid-template-columns:repeat(2,1fr); gap:16px}
.card{
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 10px 24px rgba(0,0,0,.22);
}
.card h3{margin:0 0 8px; font-size:16px}
.card p{margin:0; color:var(--muted); line-height:1.6}
.card a{color:var(--text); text-decoration:none}
.card a:hover{text-decoration:underline}
.icon{
  width:42px; height:42px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,215,0,.25);
  background:rgba(255,215,0,.08);
  color:var(--accent);
  font-weight:900;
  margin-bottom:10px;
}

.steps{display:grid; grid-template-columns:repeat(5,1fr); gap:12px}
.step{
  padding:14px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(0,0,0,.12);
}
.step b{display:block; margin-bottom:6px}
.step small{color:var(--muted)}

/* Contact */
.contactWrap{
  display:grid; grid-template-columns: .9fr 1.1fr; gap:16px; align-items:start;
}
.contactCard{padding:22px}
.contactCard h3{margin:0 0 10px; font-size:18px}
.contactCard p{margin:0 0 14px; color:var(--muted)}
.contactCard .mini{display:grid; gap:10px}
.mini a{display:flex; gap:10px; align-items:center; text-decoration:none; color:var(--muted)}
.mini a:hover{color:var(--text)}
.mini .ico{
  width:36px; height:36px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line); background:rgba(255,255,255,.04)
}

form{display:grid; gap:12px}
.row2{display:grid; grid-template-columns:repeat(2,1fr); gap:12px}
input,textarea{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:var(--text);
  outline:none;
}
textarea{min-height:120px; resize:vertical}
input::placeholder,textarea::placeholder{color:rgba(234,240,255,.55)}
input:focus,textarea:focus{border-color:rgba(125,211,252,.55); box-shadow:0 0 0 4px rgba(125,211,252,.12)}
.submitRow{display:flex; gap:12px; align-items:center; flex-wrap:wrap}
.fine{color:var(--muted); font-size:13px; margin:0}

/* Footer */
footer{
  border-top:1px solid var(--line);
  padding:22px 0;
  color:var(--muted);
}
.foot{
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
}
.foot a{color:var(--muted); text-decoration:none}
.foot a:hover{color:var(--text)}

@media (max-width: 980px){
  .heroGrid{grid-template-columns:1fr}
  h1{font-size:36px}
  .grid3{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
  .contactWrap{grid-template-columns:1fr}
  .menu{display:none}
  .hamburger{display:inline-flex}
}

@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto !important; transition:none !important; animation:none !important}
}

