/* ============================================
   套路直播 - 防诈骗知识科普与反套路教育平台
   主样式文件 tl-main.css
   CSS/ID前缀: tl- (TaoLu)
   Mobile-First 响应式设计
   ============================================ */

/* === CSS Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --tl-primary: #1A5D99;
  --tl-primary-dark: #134A7A;
  --tl-primary-light: #2A7BC4;
  --tl-success: #28A745;
  --tl-success-dark: #1E7E34;
  --tl-danger: #DC3545;
  --tl-danger-dark: #B02A37;
  --tl-warning: #FFC107;
  --tl-dark: #1A1A2E;
  --tl-gray-900: #212529;
  --tl-gray-700: #495057;
  --tl-gray-500: #6C757D;
  --tl-gray-300: #DEE2E6;
  --tl-gray-100: #F8F9FA;
  --tl-white: #FFFFFF;
  --tl-font-heading: "Source Han Sans SC", "Noto Sans SC", "Heiti SC", "Microsoft YaHei", sans-serif;
  --tl-font-body: "SimSun", "Songti SC", "Noto Serif SC", serif;
  --tl-font-ui: "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --tl-shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --tl-shadow-md: 0 4px 12px rgba(0,0,0,0.15);
  --tl-shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
  --tl-radius: 4px;
  --tl-transition: all 0.3s ease;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--tl-font-body);
  color: var(--tl-gray-900);
  background-color: var(--tl-gray-100);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--tl-primary);
  text-decoration: none;
  transition: var(--tl-transition);
}

a:hover {
  color: var(--tl-danger);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--tl-font-heading);
  font-weight: 700;
  line-height: 1.4;
  color: var(--tl-gray-900);
}

/* === Layout Container === */
.tl-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px;
}

.tl-section {
  padding: 40px 0;
}

.tl-section-title {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 12px;
  color: var(--tl-primary);
  position: relative;
  padding-bottom: 16px;
}

.tl-section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--tl-danger);
  margin: 12px auto 0;
}

.tl-section-subtitle {
  text-align: center;
  color: var(--tl-gray-500);
  font-size: 0.95rem;
  margin-bottom: 32px;
  font-family: var(--tl-font-ui);
}

/* === Top Alert Bar === */
.tl-alert-bar {
  background: var(--tl-danger);
  color: var(--tl-white);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-family: var(--tl-font-ui);
  letter-spacing: 0.5px;
}

.tl-alert-bar a {
  color: var(--tl-warning);
  font-weight: 700;
  text-decoration: underline;
}

/* === Navigation === */
.tl-header {
  background: var(--tl-primary);
  border-bottom: 2px solid rgba(255,255,255,0.2);
  position: relative;
  z-index: 100;
}

.tl-nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  min-height: 60px;
}

.tl-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--tl-white);
  font-family: var(--tl-font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  white-space: nowrap;
}

.tl-logo img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
}

.tl-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.tl-logo-text small {
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.8;
}

.tl-nav-menu {
  display: none;
  list-style: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--tl-primary-dark);
  padding: 8px 0;
  z-index: 99;
}

.tl-nav-menu.tl-nav-active {
  display: flex;
}

.tl-nav-item {
  display: block;
}

.tl-nav-link {
  display: block;
  color: var(--tl-white);
  padding: 12px 24px;
  font-family: var(--tl-font-ui);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--tl-transition);
  border-left: 3px solid transparent;
}

.tl-nav-link:hover,
.tl-nav-link.tl-active {
  color: var(--tl-danger);
  background: rgba(255,255,255,0.05);
  border-left-color: var(--tl-danger);
  transform: scale(1.02);
}

.tl-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tl-search-box {
  display: none;
  position: relative;
}

.tl-search-input {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--tl-radius);
  padding: 6px 32px 6px 12px;
  color: var(--tl-white);
  font-size: 0.85rem;
  width: 180px;
  outline: none;
  font-family: var(--tl-font-ui);
}

.tl-search-input::placeholder {
  color: rgba(255,255,255,0.6);
}

.tl-search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--tl-white);
  cursor: pointer;
  font-size: 1rem;
}

.tl-consult-btn {
  display: none;
  background: var(--tl-danger);
  color: var(--tl-white);
  padding: 6px 14px;
  border-radius: var(--tl-radius);
  font-family: var(--tl-font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: var(--tl-transition);
}

.tl-consult-btn:hover {
  background: var(--tl-danger-dark);
  color: var(--tl-white);
}

/* Hamburger Menu */
.tl-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.tl-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--tl-white);
  transition: var(--tl-transition);
  border-radius: 2px;
}

.tl-hamburger.tl-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.tl-hamburger.tl-active span:nth-child(2) {
  opacity: 0;
}

.tl-hamburger.tl-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === Hero Banner === */
.tl-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--tl-dark);
}

.tl-hero-slider {
  display: flex;
  transition: transform 0.6s ease;
}

.tl-hero-slide {
  min-width: 100%;
  position: relative;
  height: 50vh;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.tl-hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,93,153,0.85), rgba(26,26,46,0.75));
}

.tl-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px;
  max-width: 700px;
}

.tl-hero-badge {
  display: inline-block;
  background: var(--tl-danger);
  color: var(--tl-white);
  padding: 4px 16px;
  border-radius: 2px;
  font-family: var(--tl-font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.tl-hero-title {
  color: var(--tl-white);
  font-size: 1.8rem;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.tl-hero-desc {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  margin-bottom: 24px;
  font-family: var(--tl-font-ui);
}

.tl-hero-cta {
  display: inline-block;
  background: var(--tl-danger);
  color: var(--tl-white);
  padding: 12px 32px;
  border-radius: var(--tl-radius);
  font-family: var(--tl-font-ui);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--tl-transition);
  border: 2px solid var(--tl-danger);
}

.tl-hero-cta:hover {
  background: transparent;
  color: var(--tl-white);
  border-color: var(--tl-white);
}

.tl-hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.tl-hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--tl-transition);
  border: none;
}

.tl-hero-dot.tl-active {
  background: var(--tl-white);
  transform: scale(1.2);
}

/* === Video Section === */
.tl-video-section {
  background: var(--tl-white);
}

.tl-video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.tl-video-card {
  background: var(--tl-gray-100);
  border-radius: var(--tl-radius);
  overflow: hidden;
  box-shadow: var(--tl-shadow-sm);
  transition: var(--tl-transition);
  cursor: pointer;
}

.tl-video-card:hover {
  box-shadow: var(--tl-shadow-md);
  transform: translateY(-2px);
}

.tl-video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.tl-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tl-video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(220,53,69,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--tl-transition);
}

.tl-video-play-icon::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent white;
  margin-left: 4px;
}

.tl-video-card:hover .tl-video-play-icon {
  background: var(--tl-danger);
  transform: translate(-50%, -50%) scale(1.1);
}

.tl-video-info {
  padding: 16px;
}

.tl-video-info h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--tl-gray-900);
}

.tl-video-meta {
  font-size: 0.8rem;
  color: var(--tl-gray-500);
  font-family: var(--tl-font-ui);
}

/* Video Modal */
.tl-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.tl-modal-overlay.tl-active {
  display: flex;
}

.tl-modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: #000;
  border-radius: var(--tl-radius);
  overflow: hidden;
}

.tl-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--tl-white);
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
}

.tl-modal-video {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
}

/* === Ranking Section === */
.tl-ranking-section {
  background: var(--tl-gray-100);
}

.tl-ranking-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--tl-white);
  border-radius: var(--tl-radius);
  overflow: hidden;
  box-shadow: var(--tl-shadow-sm);
  font-family: var(--tl-font-ui);
}

.tl-ranking-table thead {
  background: var(--tl-primary);
  color: var(--tl-white);
}

.tl-ranking-table th {
  padding: 14px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
}

.tl-ranking-table td {
  padding: 12px;
  border-bottom: 1px solid var(--tl-gray-300);
  font-size: 0.9rem;
}

.tl-ranking-table tbody tr:hover {
  background: rgba(26,93,153,0.05);
}

.tl-rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--tl-white);
}

.tl-rank-1 { background: var(--tl-danger); }
.tl-rank-2 { background: #E67E22; }
.tl-rank-3 { background: var(--tl-warning); color: var(--tl-gray-900); }
.tl-rank-4, .tl-rank-5 { background: var(--tl-gray-500); }

.tl-danger-bar {
  display: inline-block;
  height: 8px;
  border-radius: 4px;
  background: var(--tl-danger);
  vertical-align: middle;
}

/* === Case Analysis Section === */
.tl-cases-section {
  background: var(--tl-white);
}

.tl-case-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tl-case-card {
  display: flex;
  flex-direction: column;
  background: var(--tl-gray-100);
  border-radius: var(--tl-radius);
  overflow: hidden;
  box-shadow: var(--tl-shadow-sm);
  transition: var(--tl-transition);
}

.tl-case-card:hover {
  box-shadow: var(--tl-shadow-md);
}

.tl-case-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.tl-case-body {
  padding: 20px;
}

.tl-case-tag {
  display: inline-block;
  background: var(--tl-primary);
  color: var(--tl-white);
  padding: 2px 10px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-family: var(--tl-font-ui);
  margin-bottom: 8px;
}

.tl-case-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.tl-case-body p {
  color: var(--tl-gray-700);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.tl-read-more {
  display: inline-block;
  color: var(--tl-primary);
  font-family: var(--tl-font-ui);
  font-weight: 600;
  font-size: 0.9rem;
}

.tl-read-more:hover {
  color: var(--tl-danger);
}

/* === Knowledge Cards === */
.tl-knowledge-section {
  background: var(--tl-gray-100);
}

.tl-knowledge-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.tl-knowledge-card {
  background: var(--tl-white);
  border-radius: var(--tl-radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--tl-shadow-sm);
  transition: var(--tl-transition);
  border-top: 3px solid var(--tl-primary);
}

.tl-knowledge-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--tl-shadow-md);
}

.tl-knowledge-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}

.tl-knowledge-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--tl-primary);
}

.tl-knowledge-card p {
  font-size: 0.85rem;
  color: var(--tl-gray-700);
  line-height: 1.6;
}

/* === Report Wall (Scrolling) === */
.tl-report-wall {
  background: var(--tl-dark);
  color: var(--tl-white);
  overflow: hidden;
  position: relative;
  padding: 40px 0;
}

.tl-report-wall .tl-section-title {
  color: var(--tl-white);
}

.tl-report-wall .tl-section-title::after {
  background: var(--tl-warning);
}

.tl-report-wall .tl-section-subtitle {
  color: rgba(255,255,255,0.6);
}

.tl-scroll-container {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.tl-scroll-list {
  animation: tl-scroll-up 25s linear infinite;
}

.tl-scroll-item {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-family: var(--tl-font-ui);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tl-scroll-badge {
  display: inline-block;
  background: var(--tl-danger);
  color: var(--tl-white);
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.tl-scroll-time {
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  margin-left: auto;
  white-space: nowrap;
}

@keyframes tl-scroll-up {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.tl-scroll-container:hover .tl-scroll-list {
  animation-play-state: paused;
}

/* === Statistics Section === */
.tl-stats-section {
  background: var(--tl-primary);
  color: var(--tl-white);
  position: relative;
  overflow: hidden;
}

.tl-stats-section .tl-section-title {
  color: var(--tl-white);
}

.tl-stats-section .tl-section-title::after {
  background: var(--tl-warning);
}

.tl-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.tl-stat-card {
  text-align: center;
  padding: 24px 12px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--tl-radius);
}

.tl-stat-number {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--tl-font-heading);
  color: var(--tl-warning);
  display: block;
  margin-bottom: 4px;
}

.tl-stat-label {
  font-size: 0.85rem;
  font-family: var(--tl-font-ui);
  opacity: 0.9;
}

.tl-stat-chart {
  margin-top: 32px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--tl-radius);
  padding: 20px;
}

.tl-bar-chart {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tl-bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tl-bar-label {
  font-size: 0.8rem;
  font-family: var(--tl-font-ui);
  min-width: 80px;
  text-align: right;
}

.tl-bar-track {
  flex: 1;
  height: 20px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  overflow: hidden;
}

.tl-bar-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 1s ease;
}

.tl-bar-fill-danger { background: var(--tl-danger); }
.tl-bar-fill-warning { background: var(--tl-warning); }
.tl-bar-fill-success { background: var(--tl-success); }
.tl-bar-fill-primary { background: var(--tl-primary-light); }

.tl-bar-value {
  font-size: 0.8rem;
  font-weight: 700;
  min-width: 40px;
}

/* === Toolbox Section === */
.tl-toolbox-section {
  background: var(--tl-white);
}

.tl-toolbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tl-tool-card {
  background: var(--tl-gray-100);
  border-radius: var(--tl-radius);
  padding: 24px 16px;
  text-align: center;
  transition: var(--tl-transition);
  border: 1px solid var(--tl-gray-300);
}

.tl-tool-card:hover {
  border-color: var(--tl-primary);
  box-shadow: var(--tl-shadow-sm);
  transform: translateY(-2px);
}

.tl-tool-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: var(--tl-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tl-tool-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--tl-white);
}

.tl-tool-card h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.tl-tool-card p {
  font-size: 0.8rem;
  color: var(--tl-gray-500);
  font-family: var(--tl-font-ui);
}

/* === Expert CTA === */
.tl-expert-section {
  background: linear-gradient(135deg, var(--tl-primary-dark), var(--tl-primary));
  color: var(--tl-white);
  text-align: center;
  padding: 48px 16px;
}

.tl-expert-badge {
  display: inline-block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.tl-expert-badge svg {
  width: 40px;
  height: 40px;
  fill: var(--tl-white);
}

.tl-expert-section h2 {
  color: var(--tl-white);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.tl-expert-section p {
  font-family: var(--tl-font-ui);
  opacity: 0.9;
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.tl-expert-btn {
  display: inline-block;
  background: var(--tl-warning);
  color: var(--tl-gray-900);
  padding: 14px 36px;
  border-radius: var(--tl-radius);
  font-family: var(--tl-font-ui);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--tl-transition);
}

.tl-expert-btn:hover {
  background: var(--tl-white);
  color: var(--tl-primary);
}

/* === Footer === */
.tl-footer {
  background: var(--tl-dark);
  color: rgba(255,255,255,0.8);
  padding: 48px 0 0;
}

.tl-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.tl-footer-col h4 {
  color: var(--tl-white);
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--tl-primary);
  display: inline-block;
}

.tl-footer-col p {
  font-size: 0.85rem;
  line-height: 1.8;
  font-family: var(--tl-font-ui);
}

.tl-footer-links {
  list-style: none;
}

.tl-footer-links li {
  margin-bottom: 8px;
}

.tl-footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-family: var(--tl-font-ui);
  transition: var(--tl-transition);
}

.tl-footer-links a:hover {
  color: var(--tl-warning);
  padding-left: 4px;
}

/* Honor Badges */
.tl-honor-section {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.tl-honor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.tl-honor-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--tl-radius);
  font-family: var(--tl-font-ui);
  font-size: 0.8rem;
}

.tl-honor-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Footer Bottom */
.tl-footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.8rem;
  font-family: var(--tl-font-ui);
}

.tl-footer-bottom p {
  margin-bottom: 4px;
}

.tl-auth-number {
  color: var(--tl-warning);
  font-weight: 700;
  font-size: 0.85rem;
}

/* === Breadcrumb === */
.tl-breadcrumb {
  padding: 16px 0;
  font-family: var(--tl-font-ui);
  font-size: 0.85rem;
  color: var(--tl-gray-500);
}

.tl-breadcrumb a {
  color: var(--tl-primary);
}

.tl-breadcrumb span {
  margin: 0 6px;
  color: var(--tl-gray-300);
}

/* === Article Page === */
.tl-article-header {
  background: var(--tl-primary);
  padding: 40px 0;
  color: var(--tl-white);
}

.tl-article-header h1 {
  color: var(--tl-white);
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.tl-article-meta {
  font-family: var(--tl-font-ui);
  font-size: 0.85rem;
  opacity: 0.8;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.tl-article-body {
  background: var(--tl-white);
  padding: 32px 16px;
  max-width: 900px;
  margin: 0 auto;
}

.tl-article-body h2 {
  font-size: 1.3rem;
  color: var(--tl-primary);
  margin: 32px 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--tl-danger);
}

.tl-article-body h3 {
  font-size: 1.1rem;
  margin: 24px 0 12px;
  color: var(--tl-gray-900);
}

.tl-article-body p {
  margin-bottom: 16px;
  text-indent: 2em;
  line-height: 2;
}

.tl-article-body picture {
  display: block;
  margin: 24px 0;
  border-radius: var(--tl-radius);
  overflow: hidden;
}

.tl-article-body picture img {
  width: 100%;
}

.tl-article-sidebar {
  padding: 24px 16px;
  max-width: 900px;
  margin: 0 auto;
}

.tl-sidebar-box {
  background: var(--tl-gray-100);
  border-radius: var(--tl-radius);
  padding: 20px;
  margin-bottom: 20px;
}

.tl-sidebar-box h3 {
  font-size: 1rem;
  color: var(--tl-primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--tl-gray-300);
}

.tl-sidebar-box ul {
  list-style: none;
}

.tl-sidebar-box li {
  padding: 8px 0;
  border-bottom: 1px solid var(--tl-gray-300);
  font-family: var(--tl-font-ui);
  font-size: 0.85rem;
}

.tl-sidebar-box li:last-child {
  border-bottom: none;
}

.tl-sidebar-box a {
  color: var(--tl-gray-700);
}

.tl-sidebar-box a:hover {
  color: var(--tl-danger);
}

/* === Report Form Page === */
.tl-report-header {
  background: linear-gradient(135deg, var(--tl-danger-dark), var(--tl-danger));
  padding: 40px 0;
  color: var(--tl-white);
  text-align: center;
}

.tl-report-notice {
  background: var(--tl-white);
  border: 2px solid var(--tl-danger);
  border-radius: var(--tl-radius);
  padding: 24px;
  margin: 24px auto;
  max-width: 800px;
  position: relative;
}

.tl-report-notice::before {
  content: "举报须知";
  display: block;
  background: var(--tl-danger);
  color: var(--tl-white);
  padding: 4px 20px;
  font-family: var(--tl-font-heading);
  font-weight: 700;
  font-size: 1rem;
  position: absolute;
  top: -16px;
  left: 24px;
}

.tl-report-notice p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-top: 8px;
}

.tl-form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 16px;
}

.tl-form-group {
  margin-bottom: 20px;
}

.tl-form-label {
  display: block;
  font-family: var(--tl-font-ui);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--tl-gray-900);
}

.tl-form-label .tl-required {
  color: var(--tl-danger);
  margin-left: 4px;
}

.tl-form-input,
.tl-form-select,
.tl-form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--tl-gray-300);
  border-radius: var(--tl-radius);
  font-size: 0.9rem;
  font-family: var(--tl-font-ui);
  transition: var(--tl-transition);
  background: var(--tl-white);
}

.tl-form-input:focus,
.tl-form-select:focus,
.tl-form-textarea:focus {
  outline: none;
  border-color: var(--tl-primary);
  box-shadow: 0 0 0 3px rgba(26,93,153,0.15);
}

.tl-form-textarea {
  min-height: 150px;
  resize: vertical;
}

.tl-file-upload {
  border: 2px dashed var(--tl-gray-300);
  border-radius: var(--tl-radius);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: var(--tl-transition);
}

.tl-file-upload:hover {
  border-color: var(--tl-primary);
  background: rgba(26,93,153,0.03);
}

.tl-file-upload p {
  font-family: var(--tl-font-ui);
  font-size: 0.85rem;
  color: var(--tl-gray-500);
}

.tl-submit-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--tl-danger);
  color: var(--tl-white);
  border: none;
  border-radius: var(--tl-radius);
  font-family: var(--tl-font-ui);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--tl-transition);
}

.tl-submit-btn:hover {
  background: var(--tl-danger-dark);
}

/* Submit Animation */
.tl-submit-animation {
  display: none;
  text-align: center;
  padding: 48px;
}

.tl-submit-animation.tl-active {
  display: block;
}

.tl-encrypt-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--tl-gray-300);
  border-top-color: var(--tl-primary);
  border-radius: 50%;
  animation: tl-spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes tl-spin {
  to { transform: rotate(360deg); }
}

.tl-submit-animation p {
  font-family: var(--tl-font-ui);
  font-size: 0.95rem;
  color: var(--tl-gray-700);
}

.tl-submit-success {
  display: none;
  text-align: center;
  padding: 48px;
}

.tl-submit-success.tl-active {
  display: block;
}

.tl-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--tl-success);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tl-success-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--tl-white);
}

.tl-submit-success h3 {
  color: var(--tl-success);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.tl-submit-success p {
  font-family: var(--tl-font-ui);
  color: var(--tl-gray-700);
}

/* === App Download Page === */
.tl-app-hero {
  background: linear-gradient(135deg, var(--tl-primary-dark), var(--tl-primary));
  color: var(--tl-white);
  padding: 48px 16px;
  text-align: center;
}

.tl-app-hero h1 {
  color: var(--tl-white);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.tl-app-hero p {
  font-family: var(--tl-font-ui);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 24px;
}

.tl-app-img {
  max-width: 300px;
  margin: 0 auto 24px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--tl-shadow-lg);
}

.tl-download-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.tl-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--tl-white);
  color: var(--tl-gray-900);
  padding: 12px 28px;
  border-radius: var(--tl-radius);
  font-family: var(--tl-font-ui);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--tl-transition);
  min-width: 220px;
  justify-content: center;
}

.tl-download-btn:hover {
  background: var(--tl-warning);
  color: var(--tl-gray-900);
  transform: translateY(-2px);
}

.tl-download-btn svg {
  width: 24px;
  height: 24px;
}

.tl-app-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 40px 16px;
  max-width: 900px;
  margin: 0 auto;
}

.tl-app-feature {
  text-align: center;
  padding: 24px;
  background: var(--tl-white);
  border-radius: var(--tl-radius);
  box-shadow: var(--tl-shadow-sm);
}

.tl-app-feature h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--tl-primary);
}

.tl-app-feature p {
  font-size: 0.85rem;
  color: var(--tl-gray-700);
  font-family: var(--tl-font-ui);
}

/* === Responsive Breakpoints === */

/* 768px - Tablet */
@media (min-width: 768px) {
  html { font-size: 15px; }
  
  .tl-container { padding: 0 24px; }
  
  .tl-hamburger { display: none; }
  
  .tl-nav-menu {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    padding: 0;
    gap: 0;
  }
  
  .tl-nav-link {
    padding: 18px 12px;
    font-size: 0.85rem;
    border-left: none;
    border-bottom: 2px solid transparent;
  }
  
  .tl-nav-link:hover,
  .tl-nav-link.tl-active {
    border-left: none;
    border-bottom-color: var(--tl-danger);
    background: transparent;
  }
  
  .tl-search-box { display: block; }
  .tl-consult-btn { display: inline-block; }
  
  .tl-hero-slide {
    height: 60vh;
  }
  
  .tl-hero-title { font-size: 2.2rem; }
  
  .tl-video-grid { grid-template-columns: repeat(3, 1fr); }
  
  .tl-case-card { flex-direction: row; }
  .tl-case-img { width: 280px; min-width: 280px; aspect-ratio: auto; height: 200px; }
  
  .tl-knowledge-grid { grid-template-columns: repeat(2, 1fr); }
  
  .tl-stats-grid { grid-template-columns: repeat(4, 1fr); }
  
  .tl-toolbox-grid { grid-template-columns: repeat(4, 1fr); }
  
  .tl-footer-grid { grid-template-columns: repeat(2, 1fr); }
  
  .tl-honor-grid { grid-template-columns: repeat(2, 1fr); }
  
  .tl-download-btns { flex-direction: row; justify-content: center; }
  
  .tl-app-features { grid-template-columns: repeat(2, 1fr); }
}

/* 1024px - Desktop */
@media (min-width: 1024px) {
  html { font-size: 16px; }
  
  .tl-container { padding: 0 32px; }
  
  .tl-section { padding: 56px 0; }
  
  .tl-hero-slide { height: 70vh; }
  .tl-hero-title { font-size: 2.6rem; }
  
  .tl-knowledge-grid { grid-template-columns: repeat(4, 1fr); }
  
  .tl-footer-grid { grid-template-columns: repeat(4, 1fr); }
  
  .tl-honor-grid { grid-template-columns: repeat(4, 1fr); }
  
  .tl-app-features { grid-template-columns: repeat(4, 1fr); }
  
  .tl-article-body { padding: 48px 32px; }
}

/* 1440px - Large Desktop */
@media (min-width: 1440px) {
  .tl-container { max-width: 1400px; }
  
  .tl-hero-title { font-size: 3rem; }
  .tl-hero-desc { font-size: 1.1rem; }
  
  .tl-section-title { font-size: 1.8rem; }
}

/* === Utility Classes === */
.tl-text-center { text-align: center; }
.tl-text-danger { color: var(--tl-danger); }
.tl-text-primary { color: var(--tl-primary); }
.tl-text-success { color: var(--tl-success); }
.tl-mt-20 { margin-top: 20px; }
.tl-mb-20 { margin-bottom: 20px; }
.tl-hidden { display: none; }

/* === FAQ Section === */
.tl-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.tl-faq-item {
  background: var(--tl-white);
  border-radius: var(--tl-radius);
  margin-bottom: 12px;
  box-shadow: var(--tl-shadow-sm);
  overflow: hidden;
}

.tl-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  font-family: var(--tl-font-ui);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--tl-transition);
}

.tl-faq-question:hover {
  background: rgba(26,93,153,0.05);
}

.tl-faq-arrow {
  transition: var(--tl-transition);
  font-size: 1.2rem;
  color: var(--tl-primary);
}

.tl-faq-item.tl-active .tl-faq-arrow {
  transform: rotate(180deg);
}

.tl-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.tl-faq-item.tl-active .tl-faq-answer {
  max-height: 500px;
}

.tl-faq-answer p {
  padding: 0 20px 16px;
  font-size: 0.9rem;
  color: var(--tl-gray-700);
  line-height: 1.8;
}

/* === Page Header (for inner pages) === */
.tl-page-header {
  background: var(--tl-primary);
  padding: 32px 0;
  color: var(--tl-white);
}

.tl-page-header h1 {
  color: var(--tl-white);
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.tl-page-header p {
  font-family: var(--tl-font-ui);
  opacity: 0.85;
  font-size: 0.95rem;
}

/* === Content Grid for inner pages === */
.tl-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 32px 0;
}

.tl-content-card {
  background: var(--tl-white);
  border-radius: var(--tl-radius);
  overflow: hidden;
  box-shadow: var(--tl-shadow-sm);
  transition: var(--tl-transition);
}

.tl-content-card:hover {
  box-shadow: var(--tl-shadow-md);
  transform: translateY(-2px);
}

.tl-content-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.tl-content-card-body {
  padding: 20px;
}

.tl-content-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.tl-content-card-body p {
  font-size: 0.9rem;
  color: var(--tl-gray-700);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .tl-content-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .tl-content-grid { grid-template-columns: repeat(3, 1fr); }
}
