/* ============================================
   LDSL 六合彩数据科学实验室 - 主样式表
   数据科学实验室风 (Data Science Lab Style)
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --tech-blue: #0a75c9;
  --tech-blue-light: #1a8fe0;
  --tech-blue-dark: #065a9e;
  --dark-bg: #2c3e50;
  --dark-bg-deeper: #1a252f;
  --dark-bg-card: #243342;
  --signal-green: #2ecc71;
  --warn-red: #e74c3c;
  --light-gray: #bdc3c7;
  --text-primary: #ecf0f1;
  --text-secondary: #95a5a6;
  --text-muted: #7f8c8d;
  --border-color: #34495e;
  --card-shadow: 0 4px 20px rgba(0,0,0,0.3);
  --font-heading: 'JetBrains Mono', monospace;
  --font-body: 'Inter', sans-serif;
  --grid-gap: 20px;
  --container-max: 1280px;
  --radius: 8px;
  --radius-lg: 12px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background-color: var(--dark-bg-deeper);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  background-image:
    linear-gradient(rgba(10,117,201,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,117,201,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
a { color: var(--tech-blue-light); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--signal-green); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.3; color: var(--text-primary); }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; }
p { margin-bottom: 1rem; color: var(--text-secondary); }

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Jammer Block (SEO干扰标签，不可见) --- */
.jammer-block {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
  background: linear-gradient(180deg, var(--dark-bg-deeper), rgba(26,37,47,0.95));
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  /* 非sticky导航 */
  position: relative;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}
.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo img { height: 50px; width: auto; }
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--tech-blue);
  color: var(--tech-blue);
  font-size: 1.5rem;
  padding: 4px 10px;
  cursor: pointer;
  border-radius: var(--radius);
}
.main-nav ul {
  display: flex;
  gap: 6px;
  align-items: center;
}
.main-nav a {
  display: block;
  padding: 8px 14px;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.3s;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--text-primary);
  background: rgba(10,117,201,0.15);
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--tech-blue-light); }
.breadcrumb span { margin: 0 6px; color: var(--text-muted); }

/* ============================================
   HERO MODULE
   ============================================ */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark-bg-deeper);
}
.hero-video-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.hero-poster-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(26,37,47,0.7) 0%, rgba(26,37,47,0.9) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 800px;
}
.hero-content h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--tech-blue-light), var(--signal-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-slogan {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-family: var(--font-body);
  line-height: 1.8;
}
.btn-cta {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--tech-blue), var(--tech-blue-dark));
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(10,117,201,0.4);
}
.btn-cta:hover {
  background: linear-gradient(135deg, var(--tech-blue-light), var(--tech-blue));
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(10,117,201,0.5);
  color: #fff;
}
.hero-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 15px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.3s;
}
.hero-play-btn:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-block {
  padding: 60px 0;
  position: relative;
}
.section-block:nth-child(even) {
  background: rgba(36,51,66,0.5);
}
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.section-title h2 span {
  color: var(--tech-blue-light);
}
.section-title p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* ============================================
   DASHBOARD CARDS (模块3)
   ============================================ */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--grid-gap);
}
.dash-card {
  background: var(--dark-bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.dash-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
}
.dash-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.dash-card-header h3 {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.refresh-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.3s;
}
.refresh-btn:hover {
  border-color: var(--tech-blue);
  color: var(--tech-blue);
}
.dash-value {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.dash-value.green { color: var(--signal-green); }
.dash-value.red { color: var(--warn-red); }
.dash-value.blue { color: var(--tech-blue-light); }
.dash-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.dash-chart-area {
  margin-top: 16px;
  border-radius: var(--radius);
  overflow: hidden;
}
.dash-chart-area img {
  width: 100%;
  border-radius: var(--radius);
}

/* Countdown */
.countdown-display {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 16px 0;
}
.countdown-item {
  text-align: center;
}
.countdown-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--tech-blue-light);
  background: rgba(10,117,201,0.1);
  border: 1px solid var(--tech-blue);
  border-radius: var(--radius);
  padding: 8px 14px;
  min-width: 60px;
}
.countdown-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================
   ABOUT / LAB INTRO (模块2)
   ============================================ */
.about-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}
.about-sidebar {
  position: sticky;
  top: 20px;
}
.about-sidebar ul { border-left: 2px solid var(--border-color); padding-left: 16px; }
.about-sidebar li { margin-bottom: 12px; }
.about-sidebar a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.3s;
}
.about-sidebar a:hover { color: var(--tech-blue-light); }
.about-content h3 {
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}
.about-content p {
  text-align: justify;
  margin-bottom: 16px;
}
.about-content strong { color: var(--text-primary); }

/* ============================================
   REPORTS (模块4)
   ============================================ */
.reports-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--grid-gap);
}
.report-item {
  display: flex;
  gap: 16px;
  background: var(--dark-bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.report-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow);
}
.report-thumb {
  flex-shrink: 0;
  width: 80px;
  border-radius: var(--radius);
  overflow: hidden;
}
.report-info h4 { font-size: 0.95rem; margin-bottom: 8px; line-height: 1.4; }
.report-info h4 a { color: var(--text-primary); }
.report-info h4 a:hover { color: var(--tech-blue-light); }
.report-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.report-excerpt {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================
   MONTE CARLO SIMULATOR (模块5)
   ============================================ */
.simulator-panel {
  background: var(--dark-bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  max-width: 900px;
  margin: 0 auto;
}
.sim-controls {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.sim-controls label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.sim-controls select, .sim-controls input[type="number"] {
  background: var(--dark-bg-deeper);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.9rem;
}
.btn-simulate {
  padding: 10px 24px;
  background: var(--tech-blue);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-simulate:hover {
  background: var(--tech-blue-light);
}
.sim-result {
  border-radius: var(--radius);
  overflow: hidden;
}
.sim-result canvas {
  width: 100%;
  height: 350px;
}

/* ============================================
   ARTICLES (模块6)
   ============================================ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--grid-gap);
}
.article-card {
  background: var(--dark-bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
}
.article-card-img {
  height: 180px;
  overflow: hidden;
}
.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.article-card:hover .article-card-img img {
  transform: scale(1.05);
}
.article-card-body {
  padding: 20px;
}
.article-card-body h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.5;
}
.article-card-body h4 a { color: var(--text-primary); }
.article-card-body h4 a:hover { color: var(--tech-blue-light); }
.article-meta {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.article-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(10,117,201,0.15);
  color: var(--tech-blue-light);
  font-size: 0.75rem;
  font-family: var(--font-heading);
  border-radius: 20px;
}

/* ============================================
   REGISTER / API KEY (模块7)
   ============================================ */
.register-section {
  background: var(--dark-bg-deeper);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.register-code-bg {
  background: #1e1e2e;
  padding: 20px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  line-height: 1.8;
}
.register-code-bg .comment { color: #6a9955; }
.register-code-bg .keyword { color: #569cd6; }
.register-code-bg .string { color: #ce9178; }
.register-form {
  padding: 30px;
  max-width: 500px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.form-group input {
  width: 100%;
  padding: 12px 16px;
  background: var(--dark-bg-deeper);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s;
}
.form-group input:focus {
  outline: none;
  border-color: var(--tech-blue);
}
.btn-generate-key {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--tech-blue), var(--tech-blue-dark));
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-generate-key:hover {
  background: linear-gradient(135deg, var(--tech-blue-light), var(--tech-blue));
}

/* ============================================
   RESPONSIBLE GAMING (模块8)
   ============================================ */
.responsible-box {
  background: linear-gradient(135deg, rgba(231,76,60,0.1), rgba(231,76,60,0.05));
  border: 1px solid rgba(231,76,60,0.3);
  border-radius: var(--radius-lg);
  padding: 30px;
  max-width: 900px;
  margin: 0 auto;
}
.responsible-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.responsible-header img { width: 60px; }
.responsible-header h3 { color: var(--warn-red); }
.responsible-content ul {
  margin-top: 16px;
}
.responsible-content li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.responsible-content li::before {
  content: "⚠";
  position: absolute;
  left: 0;
}
.responsible-links {
  margin-top: 20px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.responsible-links a {
  padding: 8px 16px;
  border: 1px solid var(--warn-red);
  color: var(--warn-red);
  border-radius: var(--radius);
  font-size: 0.85rem;
  transition: all 0.3s;
}
.responsible-links a:hover {
  background: var(--warn-red);
  color: #fff;
}

/* ============================================
   MGA LICENSE (模块9)
   ============================================ */
.mga-section {
  text-align: center;
}
.mga-badge-wrap {
  display: inline-block;
  background: linear-gradient(135deg, rgba(10,117,201,0.1), rgba(10,117,201,0.05));
  border: 1px solid rgba(10,117,201,0.3);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 20px;
}
.mga-badge-wrap img {
  width: 200px;
  margin: 0 auto;
}
.mga-text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.mga-license-id {
  font-family: var(--font-heading);
  color: var(--tech-blue-light);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

/* ============================================
   FAQ (模块10)
   ============================================ */
.faq-search {
  max-width: 600px;
  margin: 0 auto 30px;
}
.faq-search input {
  width: 100%;
  padding: 14px 20px;
  background: var(--dark-bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-body);
}
.faq-search input::placeholder { color: var(--text-muted); }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--dark-bg-card);
}
.faq-question {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: background 0.3s;
}
.faq-question:hover { background: rgba(10,117,201,0.1); }
.faq-question .arrow {
  transition: transform 0.3s;
  color: var(--tech-blue);
}
.faq-item.active .faq-question .arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer-inner {
  padding: 0 20px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--dark-bg-deeper);
  border-top: 1px solid var(--border-color);
  padding: 50px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--tech-blue-light); }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.3s;
}
.footer-social a:hover {
  border-color: var(--tech-blue);
  color: var(--tech-blue);
}
.footer-payments {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 12px;
}
.footer-payments img { height: 35px; width: auto; }
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}
.footer-bottom-links {
  display: flex;
  gap: 16px;
}
.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-18plus {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-18plus img { width: 40px; }

/* ============================================
   INNER PAGES
   ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--dark-bg), var(--dark-bg-deeper));
  padding: 50px 0 30px;
  border-bottom: 1px solid var(--border-color);
}
.page-header h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}
.page-header p {
  max-width: 700px;
  color: var(--text-muted);
}
.page-content {
  padding: 40px 0 60px;
}
.page-content h2 {
  margin: 30px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}
.page-content h3 {
  margin: 24px 0 12px;
  color: var(--tech-blue-light);
}
.page-content p {
  text-align: justify;
  margin-bottom: 16px;
  line-height: 1.8;
}
.page-content figure {
  margin: 24px 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark-bg-card);
}
.page-content figure img {
  width: 100%;
}
.page-content figcaption {
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  border-top: 1px solid var(--border-color);
}
.formula-block {
  background: #1e1e2e;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 16px 0;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--signal-green);
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
}
.data-table th, .data-table td {
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  text-align: center;
}
.data-table th {
  background: var(--dark-bg-card);
  color: var(--tech-blue-light);
  font-family: var(--font-heading);
  font-weight: 600;
}
.data-table td { color: var(--text-secondary); }
.data-table tr:hover td { background: rgba(10,117,201,0.05); }

/* ============================================
   APP DOWNLOAD PAGE
   ============================================ */
.app-download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.app-platform {
  background: var(--dark-bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
}
.app-platform h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
}
.app-platform .qr-wrap {
  display: inline-block;
  padding: 15px;
  background: var(--dark-bg-deeper);
  border: 2px solid var(--tech-blue);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}
.app-platform .qr-wrap img { width: 200px; }
.app-steps {
  text-align: left;
  margin-top: 20px;
}
.app-steps .step {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--tech-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
}
.step-content code {
  display: block;
  background: #1e1e2e;
  padding: 8px 12px;
  border-radius: var(--radius);
  margin-top: 6px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--signal-green);
}
.app-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.app-feature-card {
  background: var(--dark-bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}
.app-feature-card h4 {
  margin-bottom: 10px;
  color: var(--tech-blue-light);
}
.app-screenshot-wrap {
  text-align: center;
  margin: 40px 0;
}
.app-screenshot-wrap img {
  max-width: 300px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-color);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.number-scroll {
  animation: countUp 0.5s ease forwards;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-layout { grid-template-columns: 1fr; }
  .about-sidebar { display: none; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-bg-deeper);
    border-top: 1px solid var(--border-color);
    padding: 16px;
    z-index: 99;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { padding: 12px 16px; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-slogan { font-size: 1rem; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .reports-list { grid-template-columns: 1fr; }
  .app-download-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-block { padding: 40px 0; }
  .countdown-num { font-size: 1.5rem; padding: 6px 10px; min-width: 48px; }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
  .container { padding: 0 15px; }
  .hero-section { min-height: 70vh; }
  .hero-content h1 { font-size: 1.5rem; }
  .btn-cta { padding: 12px 24px; font-size: 0.9rem; }
  .dash-value { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* --- Print --- */
@media print {
  .site-header, .site-footer, .hero-section { display: none; }
  body { background: #fff; color: #000; }
}
