:root {
  --primary: #0284C7;
  --primary-dark: #0369A1;
  --accent: #2563EB;
  --accent-light: #38BDF8;
  --text: #0F172A;
  --text-muted: #64748B;
  --bg: #FFFFFF;
  --bg-alt: #F8FAFC;
  --border: #E2E8F0;
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 24px rgba(2, 132, 199, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.68; font-size: 15px; padding-top: 68px;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; height: auto; }
.container { width: 92%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }

/* Navbar */
header.tg-header {
  position: fixed; top: 0; left: 0; right: 0; height: 68px; z-index: 1000;
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--text); }
.logo-icon-box {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}
.brand-logo span { color: var(--primary); }
.nav-links { display: flex; gap: 26px; list-style: none; font-size: 14.5px; }
.nav-links a { color: var(--text-muted); font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); font-weight: 600; }
.btn-nav {
  padding: 8px 22px; border-radius: 6px; background: var(--primary);
  color: #fff !important; font-size: 13.5px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25); transition: all .2s;
}
.btn-nav:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* Hero */
.hero-section {
  padding: 60px 0 70px; background: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--border); text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 18px; border-radius: 30px;
  background: #E0F2FE; border: 1px solid #BAE6FD; color: var(--primary); font-size: 13px; font-weight: 700;
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(30px, 4.2vw, 44px); font-weight: 850; line-height: 1.25; margin-bottom: 16px; color: var(--text);
}
.text-highlight { color: var(--primary); }
.hero-sub {
  font-size: 16.5px; color: var(--text-muted); max-width: 680px; margin: 0 auto 28px; line-height: 1.75;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.btn-hero {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 30px; border-radius: 8px; font-size: 15px; font-weight: 700; transition: all .2s;
}
.btn-primary { background: var(--primary); color: #fff !important; box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--text) !important; border: 1px solid var(--border); }
.btn-outline:hover { background: var(--bg-alt); border-color: var(--primary); }

.hero-visual { max-width: 780px; margin: 0 auto; }
.hero-visual img {
  border-radius: 16px; box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1); border: 1px solid var(--border); width: 100%;
}

/* Sections Global */
section { padding: 75px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.sec-tag { font-size: 13px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; display: block; }
.sec-title { font-size: 28px; font-weight: 850; color: var(--text); margin-bottom: 10px; }
.sec-desc { font-size: 16px; color: var(--text-muted); max-width: 640px; margin: 0 auto; line-height: 1.7; }

/* 9-Grid Cards */
.grid-9 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.card-9 {
  background: #FFFFFF; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 24px; transition: all .25s ease; box-shadow: var(--shadow-sm);
}
.card-9:hover {
  border-color: #7DD3FC; transform: translateY(-4px); box-shadow: var(--shadow-md);
}
.card-9-icon {
  width: 44px; height: 44px; border-radius: 10px; background: #E0F2FE; color: var(--primary);
  display: grid; place-items: center; font-size: 20px; font-weight: 800; margin-bottom: 16px;
}
.card-9 h3 { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.card-9 p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* Tutorial 4-Grid */
.grid-4-news { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.news-card {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; justify-content: space-between;
  transition: all .2s;
}
.news-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.news-date { font-size: 12.5px; color: var(--text-muted); margin-bottom: 10px; }
.news-card h4 { font-size: 16px; font-weight: 750; color: var(--text); line-height: 1.5; margin-bottom: 12px; }
.news-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.news-link { font-size: 13.5px; font-weight: 700; color: var(--primary); }

/* FAQ */
.faq-wrap { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #FFFFFF; border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px; font-size: 16px; font-weight: 750; color: var(--text); cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--primary); font-weight: bold; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  padding: 0 22px 18px; font-size: 14px; color: var(--text-muted); line-height: 1.7;
  border-top: 1px solid var(--border); padding-top: 14px;
}

/* Download Page Grid */
.dl-grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 40px 0 60px; }
.dl-card-item {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 26px; display: flex; flex-direction: column; justify-content: space-between;
  transition: all .25s ease;
}
.dl-card-item:hover {
  background: #fff; border-color: #7DD3FC; transform: translateY(-4px); box-shadow: var(--shadow-md);
}
.dl-icon { font-size: 36px; margin-bottom: 14px; }
.dl-card-item h3 { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.dl-tag { font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 12px; }
.dl-card-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 22px; }
.dl-btn {
  width: 100%; height: 46px; border-radius: 6px; background: var(--primary);
  color: #fff !important; font-size: 14.5px; font-weight: 700; text-align: center; line-height: 46px;
  display: block; transition: background .2s;
}
.dl-btn:hover { background: var(--primary-dark); }

/* Footer */
footer { background: #0F172A; color: #94A3B8; padding: 60px 0 30px; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 750; margin-bottom: 16px; }
.footer-col p { line-height: 1.75; }
.footer-col li { margin-bottom: 10px; list-style: none; }
.footer-col a { color: #94A3B8; transition: color .2s; }
.footer-col a:hover { color: #38BDF8; }
.footer-copy {
  border-top: 1px solid rgba(148, 163, 184, 0.2); padding-top: 20px;
  text-align: center; color: #64748B; font-size: 12.5px;
}

@media (max-width: 992px) {
  .grid-9 { grid-template-columns: repeat(2, 1fr); }
  .grid-4-news { grid-template-columns: repeat(2, 1fr); }
  .dl-grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-9 { grid-template-columns: 1fr; }
  .grid-4-news { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
