/* DuanJuClient — overseas English landing page
   Style: TradingView-inspired dark, bold type, minimal */

:root {
  --bg: #131722;
  --bg-alt: #0d1117;
  --panel: #1b2030;
  --panel-border: #2a2e39;
  --text: #d1d4dc;
  --text-dim: #787b86;
  --white: #f0f3fa;
  --blue: #2962ff;
  --blue-hover: #1e53e5;
  --green: #089981;
  --radius: 12px;
  --font: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }
.accent { color: var(--blue); }
b { color: var(--white); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 17, 23, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--panel-border);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; gap: 32px;
}
.logo {
  font-weight: 800; font-size: 19px; color: var(--white);
  display: flex; align-items: center; gap: 9px; letter-spacing: -0.3px;
}
.logo-mark {
  width: 14px; height: 14px; border-radius: 3px; flex: none;
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
}
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  color: var(--text-dim); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  border-radius: 8px; transition: all .15s; text-align: center;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--panel-border);
}
.btn-ghost:hover { border-color: var(--text-dim); color: var(--white); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-block { display: block; width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 72px; text-align: center; }
.hero-badge {
  display: inline-block; font-size: 13px; font-weight: 600;
  color: var(--green); background: rgba(8, 153, 129, 0.12);
  border: 1px solid rgba(8, 153, 129, 0.35);
  padding: 5px 14px; border-radius: 99px; margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 60px); line-height: 1.12;
  font-weight: 800; color: var(--white); letter-spacing: -1.5px;
}
.hero-sub {
  max-width: 620px; margin: 22px auto 0;
  font-size: 18px; color: var(--text-dim);
}
.hero-cta { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-trust {
  margin-top: 34px; display: flex; gap: 14px; justify-content: center; align-items: center;
  flex-wrap: wrap; font-size: 14px; color: var(--text-dim);
}
.hero-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text-dim); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-size: clamp(28px, 4vw, 38px); font-weight: 800;
  color: var(--white); letter-spacing: -0.8px; text-align: center; line-height: 1.2;
}
.section-sub { text-align: center; color: var(--text-dim); margin-top: 14px; font-size: 16px; }

/* ---------- Feature cards ---------- */
.grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 52px;
}
.card {
  background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: var(--radius); padding: 28px 26px;
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: #3a3f4d; transform: translateY(-2px); }
.card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(41, 98, 255, 0.12); color: var(--blue);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { color: var(--white); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--text-dim); }

/* ---------- Steps ---------- */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 52px;
}
.step {
  background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: var(--radius); padding: 30px 26px; text-align: center;
}
.step-num {
  width: 44px; height: 44px; margin: 0 auto 18px;
  border-radius: 50%; background: var(--blue); color: #fff;
  font-size: 19px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { color: var(--white); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--text-dim); }

/* ---------- Pricing ---------- */
.price-card {
  margin-top: 52px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 0;
  background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: var(--radius); overflow: hidden;
}
.price-left { padding: 40px 42px; }
.price-label { font-size: 14px; font-weight: 600; color: var(--text-dim); }
.price-value {
  font-size: 52px; font-weight: 800; color: var(--white);
  letter-spacing: -1.5px; margin: 10px 0 22px;
}
.price-once { font-size: 16px; font-weight: 600; color: var(--green); letter-spacing: 0; }
.price-list { list-style: none; }
.price-list li {
  padding: 9px 0 9px 28px; position: relative; font-size: 15px; color: var(--text);
}
.price-list li::before {
  content: ""; position: absolute; left: 2px; top: 16px;
  width: 7px; height: 12px; border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green); transform: rotate(40deg);
}
.price-right {
  padding: 40px 36px; display: flex; flex-direction: column; justify-content: center;
  background: var(--bg-alt); border-left: 1px solid var(--panel-border);
}
.pay-badge {
  text-align: center; font-size: 13.5px; font-weight: 600; color: var(--green);
  background: rgba(8, 153, 129, 0.12); border: 1px solid rgba(8, 153, 129, 0.35);
  border-radius: 8px; padding: 9px 12px; margin-bottom: 18px;
}
.price-note { text-align: center; font-size: 13px; color: var(--text-dim); margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq { margin-top: 44px; }
.faq details {
  background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: 10px; margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 18px 22px; font-weight: 700;
  color: var(--white); font-size: 15.5px; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 22px; font-weight: 400; color: var(--text-dim);
  transition: transform .15s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 18px; color: var(--text-dim); font-size: 14.5px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--panel-border);
  padding: 44px 0; text-align: center; color: var(--text-dim); font-size: 14px;
}
.footer .logo { justify-content: center; margin-bottom: 12px; }
.footer-contact a { color: var(--blue); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-copy { margin-top: 16px; font-size: 12.5px; color: #4a4e59; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3, .steps { grid-template-columns: 1fr; }
  .price-card { grid-template-columns: 1fr; }
  .price-right { border-left: none; border-top: 1px solid var(--panel-border); }
  .nav-links { display: none; }
  .hero { padding: 64px 0 48px; }
  .section { padding: 60px 0; }
}
