:root {
  --bg-body: #f8f9fa;
  --bg-surface: #ffffff;
  --text-main: #1f2937;
  --text-muted: #4b5563;
  --color-tg: #2AABEE;
  --color-tg-hover: #229ED9;
  --color-go: #10b981;
  --color-go-hover: #059669;
  --border: #e5e7eb;
  --radius: 8px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
}
a { color: var(--color-tg); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

.header-container, .content-container, .hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}
.logo-text { font-size: 20px; font-weight: 800; color: var(--text-main); }
.header-actions { display: flex; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 16px; border-radius: var(--radius); font-weight: 600;
  text-decoration: none !important; transition: background 0.2s, transform 0.1s;
}
.btn:active { transform: scale(0.98); }
.btn-tg { background: var(--color-tg); color: #fff; }
.btn-tg:hover { background: var(--color-tg-hover); color: #fff; }
.btn-go { background: var(--color-go); color: #fff; }
.btn-go:hover { background: var(--color-go-hover); color: #fff; }
.btn-large { padding: 12px 24px; font-size: 16px; }
.btn-xl { padding: 16px 32px; font-size: 18px; }

.hero {
  background: var(--bg-surface);
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero h1 { margin: 0 0 16px; font-size: clamp(28px, 5vw, 42px); line-height: 1.2; }
.hero-lead { font-size: 18px; color: var(--text-muted); margin: 0 0 32px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.content-section { padding: 40px 0; }
.content-container h2 { margin-top: 40px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.content-container p { margin-bottom: 16px; }
.content-container ul, .content-container ol { margin-bottom: 20px; padding-left: 24px; }
.content-container li { margin-bottom: 8px; }

.tg-banner {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius);
  padding: 30px 20px;
  margin: 32px 0;
  text-align: center;
}
.tg-banner h3 { margin: 0 0 12px; color: #0369a1; }
.tg-banner p { color: #0c4a6e; margin-bottom: 20px; }

.table-wrapper { overflow-x: auto; margin: 32px 0; }
table { width: 100%; border-collapse: collapse; background: var(--bg-surface); }
th, td { padding: 12px 16px; border: 1px solid var(--border); text-align: left; }
th { background: #f3f4f6; }

.faq-accordion details { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; }
.faq-accordion summary { padding: 16px; font-weight: 600; cursor: pointer; }
.faq-accordion p { padding: 0 16px 16px; margin: 0; color: var(--text-muted); }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 20px; }
.cards-grid article { background: var(--bg-surface); border: 1px solid var(--border); padding: 20px; border-radius: var(--radius); }

.cta-bottom { padding: 60px 0; background: var(--bg-surface); border-top: 1px solid var(--border); }
.text-center { text-align: center; }

.footer { padding: 40px 0; text-align: center; color: var(--text-muted); font-size: 14px; }

.btn-top {
  position: fixed; bottom: 20px; right: 20px;
  background: var(--text-main); color: var(--bg-surface); border: none;
  width: 44px; height: 44px; border-radius: 50%; font-size: 20px;
  cursor: pointer; display: none; z-index: 99;
}
.btn-top:hover { opacity: 0.9; }

@media (max-width: 600px) {
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; }
  .header-actions .btn { width: auto; font-size: 13px; padding: 6px 12px; }
}