/* ============================================
   DBTool Modern UI - 商务简约风格
   ============================================ */

/* CSS Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-primary: #1e3a5f;
  --color-primary-light: #2563eb;
  --color-primary-dark: #0f2440;
  --color-accent: #3b82f6;
  --color-accent-hover: #1d4ed8;
  --color-text: #334155;
  --color-text-light: #64748b;
  --color-text-muted: #94a3b8;
  --color-bg: #ffffff;
  --color-bg-light: #f8fafc;
  --color-bg-gray: #f1f5f9;
  --color-border: #e2e8f0;
  --color-border-light: #f1f5f9;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
  --transition: all 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--color-accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-accent-hover); }

img { max-width: 100%; height: auto; border: 0; }

ul, ol { list-style: none; }

/* ============================================
   Layout
   ============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Header & Navigation
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo img {
  height: 40px;
  width: auto;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav > li {
  position: relative;
}

.main-nav > li > a {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.main-nav > li > a:hover,
.main-nav > li.active > a {
  color: var(--color-accent);
  background: var(--color-bg-gray);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 1001;
}

.main-nav > li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: var(--color-text);
  font-size: 14px;
  transition: var(--transition);
}

.dropdown-menu li a:hover {
  color: var(--color-accent);
  background: var(--color-bg-gray);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 24px;
}

.header-actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.header-actions .btn-support {
  color: var(--color-text-light);
  background: var(--color-bg-gray);
}

.header-actions .btn-support:hover {
  color: var(--color-accent);
  background: var(--color-border);
}

.header-actions .btn-download {
  color: #fff;
  background: var(--color-accent);
}

.header-actions .btn-download:hover {
  background: var(--color-accent-hover);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   Hero / Welcome Section
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, #1e40af 100%);
  color: #fff;
  padding: 80px 0 60px;
  text-align: center;
}

.hero h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 18px;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

.btn-secondary {
  background: var(--color-bg-gray);
  color: var(--color-text);
}

.btn-secondary:hover {
  background: var(--color-border);
}

/* ============================================
   Section Styles
   ============================================ */
.section {
  padding: 60px 0;
}

.section-gray {
  background: var(--color-bg-light);
}

.section-dark {
  background: var(--color-primary-dark);
  color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Product Cards
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.product-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--color-accent);
}

.product-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.product-card .product-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
  background: #eff6ff;
  border-radius: 20px;
  margin-bottom: 16px;
}

.product-card p {
  color: var(--color-text-light);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-card ul {
  margin-bottom: 24px;
}

.product-card ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.5;
}

.product-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
  font-size: 14px;
}

.product-card .card-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.product-card .card-actions .btn {
  padding: 10px 20px;
  font-size: 14px;
}

/* ============================================
   Features Grid
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.feature-item:hover {
  background: var(--color-bg-gray);
}

.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: var(--color-accent);
  border-radius: var(--radius-md);
  font-size: 20px;
}

.feature-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* ============================================
   News / Updates Section
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.news-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow-md);
}

.news-card .news-date {
  display: inline-block;
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.news-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.news-card p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* News list (for news.htm) */
.news-list {
  max-width: 800px;
}

.news-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}

.news-item:last-child {
  border-bottom: none;
}

.news-item .news-date {
  display: inline-block;
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 6px;
}

.news-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.news-item p,
.news-item .news-detail {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ============================================
   Testimonials / Customer Feedback
   ============================================ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
}

.testimonial-card::before {
  content: "\201C";
  font-size: 48px;
  color: var(--color-accent);
  opacity: 0.2;
  position: absolute;
  top: 12px;
  left: 20px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card p {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.7;
  font-style: italic;
  position: relative;
  z-index: 1;
}

/* ============================================
   Page Content (Inner Pages)
   ============================================ */
.page-content {
  padding: 48px 0 60px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--color-text-light);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb .separator {
  color: var(--color-text-muted);
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-border);
}

/* Text Content */
.text-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
  max-width: 800px;
}

.text-content p {
  margin-bottom: 16px;
}

.text-content ul,
.text-content ol {
  margin: 12px 0 20px 20px;
}

.text-content ul li,
.text-content ol li {
  margin-bottom: 8px;
  list-style: disc;
  font-size: 15px;
}

.text-content ol li {
  list-style: decimal;
}

.text-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 32px 0 16px;
}

.text-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 24px 0 12px;
}

/* ============================================
   Tables
   ============================================ */
.modern-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.modern-table thead {
  background: var(--color-primary);
  color: #fff;
}

.modern-table thead th,
.modern-table thead td {
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  color: #fff;
}

.modern-table tbody td,
.modern-table tbody th {
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.modern-table tbody tr:hover {
  background: var(--color-bg-gray);
}

.modern-table tbody tr:last-child td {
  border-bottom: none;
}

.modern-table tbody th {
  background: var(--color-bg-gray);
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}

.modern-table a {
  color: var(--color-accent);
  font-weight: 500;
}

.modern-table a:hover {
  text-decoration: underline;
}

/* Download Table - wider install column, narrower version column */
.download-table {
  table-layout: fixed;
}
.download-table th:nth-child(1),
.download-table td:nth-child(1) { width: 12%; }
.download-table th:nth-child(2),
.download-table td:nth-child(2) { width: 18%; font-size: 13px; }
.download-table th:nth-child(3),
.download-table td:nth-child(3) { width: 40%; }
.download-table th:nth-child(4),
.download-table td:nth-child(4) { width: 15%; }
.download-table th:nth-child(5),
.download-table td:nth-child(5) { width: 15%; }
.download-table td:nth-child(3) a {
  white-space: nowrap;
}

/* ============================================
   Product Detail Page
   ============================================ */
.product-hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #fff;
  padding: 48px 0;
}

.product-hero h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.product-hero .product-desc {
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 24px;
}

.product-hero .product-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.product-hero .product-tags span {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.product-features {
  padding: 48px 0;
}

.product-features h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 32px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.feature-list-item:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.feature-list-item .check-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ecfdf5;
  color: var(--color-success);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
}

.feature-list-item .feature-text {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.5;
}

.feature-list-item .feature-text a {
  color: var(--color-accent);
  font-weight: 500;
}

/* Product Overview Section */
.product-overview {
  background: var(--color-bg-gray);
  padding: 48px 0;
}

.product-overview h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.product-overview p {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.8;
  max-width: 800px;
  margin-bottom: 12px;
}

/* Screenshot Section */
.product-screenshots {
  padding: 48px 0;
  text-align: center;
}

.product-screenshots h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.screenshot-gallery {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.screenshot-gallery img {
  max-width: 300px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

/* ============================================
   Contact / Support Page
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.contact-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.contact-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.contact-card .contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
}

.contact-card .contact-label {
  color: var(--color-text-light);
  min-width: 100px;
}

.contact-card .contact-value {
  color: var(--color-text);
  font-weight: 500;
}

.contact-card .contact-value a {
  color: var(--color-accent);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 40px 0 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}

.footer-copyright a {
  color: rgba(255,255,255,0.5);
}

.footer-copyright a:hover {
  color: rgba(255,255,255,0.8);
}

/* Footer Content (samples & err404 pages) */
.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.footer-info {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}

.footer-info a {
  color: rgba(255,255,255,0.5);
}

.footer-info a:hover {
  color: rgba(255,255,255,0.8);
}

/* ============================================
   Slider (Homepage)
   ============================================ */
.slider-section {
  background: var(--color-bg-light);
  padding: 48px 0;
}

.slider-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.slider-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.slider-image {
  flex: 0 0 45%;
}

.slider-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.slider-text {
  flex: 1;
}

.slider-text h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.slider-text p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.slider-text ul {
  margin-bottom: 24px;
}

.slider-text ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--color-text);
}

.slider-text ul li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--color-accent);
  font-weight: 700;
}

.slider-buttons {
  display: flex;
  gap: 12px;
}

/* ============================================
   Quick Links Section (Homepage)
   ============================================ */
.quick-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.quick-link-block {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.quick-link-block h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.quick-link-block h3 img {
  width: 24px;
  height: 24px;
}

.quick-link-block ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.quick-link-block ul li:last-child {
  border-bottom: none;
}

.quick-link-block ul li a {
  font-size: 14px;
  color: var(--color-text);
}

.quick-link-block ul li a:hover {
  color: var(--color-accent);
}

.quick-link-block .more-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.quick-link-block .more-link:hover {
  color: var(--color-accent);
}

/* Latest News in quick link */
.latest-news-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.latest-news-item:last-child {
  border-bottom: none;
}

.latest-news-item .date {
  font-size: 12px;
  color: var(--color-accent);
  font-weight: 600;
}

.latest-news-item p {
  font-size: 14px;
  color: var(--color-text);
  margin-top: 4px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .slider-content {
    flex-direction: column;
  }
  
  .slider-image {
    flex: none;
    width: 100%;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .site-logo img {
    height: 32px;
  }
  
  .main-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: 16px;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
  }
  
  .main-nav.active {
    display: flex;
  }
  
  .main-nav > li > a {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 0;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 20px;
    display: none;
  }
  
  .main-nav > li.dropdown-open .dropdown-menu {
    display: block;
  }
  
  .header-actions {
    display: none;
  }
  
  .hero {
    padding: 48px 0 40px;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .quick-links {
    grid-template-columns: 1fr;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .page-title {
    font-size: 26px;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section-header h2 {
    font-size: 24px;
  }
  
  .feature-list {
    grid-template-columns: 1fr;
  }
  
  .modern-table {
    display: block;
    overflow-x: auto;
  }
  
  /* Product hero responsive */
  .product-hero {
    padding: 36px 0;
  }
  
  .product-hero h1 {
    font-size: 26px;
  }
  
  .product-hero .product-desc {
    font-size: 15px;
  }
  
  .product-features h2,
  .product-overview h2,
  .product-screenshots h2 {
    font-size: 20px;
  }
  
  /* Screenshot gallery responsive */
  .screenshot-gallery img {
    max-width: 100%;
  }
  
  /* Feature detail responsive */
  .feature-detail {
    padding: 32px 0;
  }
  
  .feature-detail h2 {
    font-size: 20px;
  }
  
  .feature-detail p {
    font-size: 14px;
  }
  
  /* Doc card responsive */
  .doc-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 18px;
  }
  
  .doc-card-body {
    padding: 16px 18px;
  }
  
  /* Breadcrumb responsive */
  .breadcrumb {
    font-size: 13px;
    flex-wrap: wrap;
    gap: 4px;
  }
  
  /* Page content responsive */
  .page-content {
    padding: 32px 0 48px;
  }
  
  /* Footer responsive */
  .site-footer {
    padding: 32px 0 20px;
  }
  
  .footer-links {
    gap: 16px;
  }
  
  .footer-copyright,
  .footer-info {
    font-size: 12px;
  }
  
  /* News responsive */
  .news-item h3 {
    font-size: 16px;
  }
  
  /* Table responsive */
  .modern-table thead th,
  .modern-table thead td,
  .modern-table tbody td,
  .modern-table tbody th {
    padding: 10px 12px;
    font-size: 13px;
  }
  
  /* Download table responsive */
  .download-table {
    table-layout: auto;
  }
  
  .download-table th:nth-child(1),
  .download-table td:nth-child(1),
  .download-table th:nth-child(2),
  .download-table td:nth-child(2),
  .download-table th:nth-child(3),
  .download-table td:nth-child(3),
  .download-table th:nth-child(4),
  .download-table td:nth-child(4),
  .download-table th:nth-child(5),
  .download-table td:nth-child(5) {
    width: auto;
  }
  
  /* Text content responsive */
  .text-content h2 {
    font-size: 20px;
  }
  
  .text-content h3 {
    font-size: 17px;
  }
  
  /* Doc section responsive */
  .doc-section h2 {
    font-size: 20px;
  }
  
  .doc-section h3 {
    font-size: 16px;
  }
  
  .doc-section p {
    font-size: 14px;
  }
  
  /* Contact card responsive */
  .contact-card {
    padding: 20px;
  }
  
  /* Info cards responsive */
  .info-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero {
    padding: 36px 0 32px;
  }
  
  .hero h1 {
    font-size: 22px;
  }
  
  .hero p {
    font-size: 15px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .product-card {
    padding: 20px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  /* Product hero 480px */
  .product-hero h1 {
    font-size: 22px;
  }
  
  .product-hero .product-desc {
    font-size: 14px;
  }
  
  .product-hero .product-tags span {
    font-size: 12px;
    padding: 3px 10px;
  }
  
  /* Feature list 480px */
  .feature-list-item {
    padding: 12px;
  }
  
  .feature-list-item .feature-text {
    font-size: 14px;
  }
  
  /* Screenshot gallery 480px */
  .screenshot-gallery {
    flex-direction: column;
    align-items: center;
  }
  
  /* Doc card 480px */
  .doc-card-header h3 {
    font-size: 15px;
  }
  
  /* Step block 480px */
  .step-block {
    padding: 14px;
  }
  
  .step-block h3 {
    font-size: 15px;
  }
  
  .step-block p {
    font-size: 13px;
  }
  
  /* Code block 480px */
  .code-block {
    padding: 12px;
    font-size: 11px;
  }
  
  .code-block pre {
    font-size: 11px;
  }
  
  /* Page title 480px */
  .page-title {
    font-size: 22px;
    margin-bottom: 16px;
    padding-bottom: 12px;
  }
  
  /* Breadcrumb 480px */
  .breadcrumb {
    margin-bottom: 16px;
  }
  
  /* Footer 480px */
  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-inner,
  .footer-content {
    padding: 0 16px;
  }
  
  /* Note box 480px */
  .note-box {
    padding: 10px 14px;
    font-size: 13px;
  }
  
  /* Platform list 480px */
  .platform-item {
    padding: 10px 12px;
    font-size: 13px;
  }
  
  /* Table 480px */
  .modern-table thead th,
  .modern-table thead td,
  .modern-table tbody td,
  .modern-table tbody th {
    padding: 8px 10px;
    font-size: 12px;
  }
  
  /* Menu toggle active state */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* Highlight box */
.highlight-box {
  background: #eff6ff;
  border-left: 4px solid var(--color-accent);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
}

.highlight-box p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
}

/* Info cards row */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.info-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.info-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.info-card p {
  font-size: 14px;
  color: var(--color-text-light);
}

/* Tag badges */
.tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 12px;
  line-height: 1.5;
}

.tag-blue {
  background: #eff6ff;
  color: var(--color-accent);
}

.tag-green {
  background: #ecfdf5;
  color: var(--color-success);
}

.tag-orange {
  background: #fffbeb;
  color: var(--color-warning);
}

/* ============================================
   Code Block (Feature Tour Pages)
   ============================================ */
.code-block {
  background: #1e293b;
  color: #e2e8f0;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 16px 0;
  overflow-x: auto;
  font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.7;
  box-shadow: var(--shadow-md);
}

.code-block .code-label {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.code-block pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-all;
}

.code-block code {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Step block for numbered steps */
.step-block {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 20px 0;
}

.step-block .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-block h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.step-block p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 12px;
}

.step-block .code-block {
  margin: 12px 0;
}

/* Feature detail section */
.feature-detail {
  padding: 48px 0;
}

.feature-detail h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.feature-detail p {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.8;
  max-width: 800px;
  margin-bottom: 16px;
}

.feature-detail ul {
  margin: 12px 0 20px 24px;
}

.feature-detail ul li {
  list-style: disc;
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.6;
}

.feature-detail img {
  max-width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin: 16px 0;
}

/* Platform list */
.platform-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.platform-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--color-bg-gray);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--color-text);
  font-family: "SF Mono", "Fira Code", "Courier New", monospace;
}

.platform-item::before {
  content: "▸";
  color: var(--color-accent);
  font-weight: 700;
}

/* ============================================
   Samples Page Layout (Sidebar + Content)
   ============================================ */
.page-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.sidebar {
  flex: 0 0 220px;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.sidebar .submenu {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 8px 0;
  box-shadow: var(--shadow-sm);
}

.sidebar .submenu li a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--color-text);
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.sidebar .submenu li a:hover {
  color: var(--color-accent);
  background: var(--color-bg-gray);
  border-left-color: var(--color-accent);
}

.sidebar .submenu li.active a {
  color: var(--color-accent);
  font-weight: 600;
  background: #eff6ff;
  border-left-color: var(--color-accent);
}

.main-content {
  flex: 1;
  min-width: 0;
}

/* Doc Card (for sample index pages) */
.doc-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  transition: var(--transition);
  overflow: hidden;
}

.doc-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.doc-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--color-bg-gray);
  border-bottom: 1px solid var(--color-border);
}

.doc-card-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
}

.doc-card-header .doc-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-accent);
  white-space: nowrap;
}

.doc-card-header .doc-link:hover {
  text-decoration: underline;
}

.doc-card-body {
  padding: 20px 24px;
}

.doc-card-body p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 12px;
}

.doc-card-body ul {
  margin: 8px 0 0 20px;
}

.doc-card-body ul li {
  list-style: disc;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 4px;
}

/* Content section styles for samples */
.doc-section {
  margin-bottom: 32px;
}

.doc-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
}

.doc-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin: 24px 0 12px;
}

.doc-section p {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 12px;
}

.doc-section ul, .doc-section ol {
  margin: 8px 0 16px 24px;
}

.doc-section ul li {
  list-style: disc;
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 6px;
}

.doc-section ol li {
  list-style: decimal;
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 6px;
}

.doc-section strong {
  color: var(--color-primary);
  font-weight: 600;
}

.doc-section img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin: 12px 0;
}

/* Note/highlight box for samples */
.note-box {
  background: #fffbeb;
  border-left: 4px solid var(--color-warning);
  padding: 14px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 16px 0;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
}

.note-box strong {
  color: var(--color-warning);
}

/* Responsive for code blocks */
@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .slider-content {
    flex-direction: column;
  }
  
  .slider-image {
    flex: none;
    width: 100%;
    max-width: 500px;
  }
  
  /* Feature list 1024px */
  .feature-list {
    grid-template-columns: 1fr;
  }
  
  /* Testimonials 1024px */
  .testimonials {
    grid-template-columns: 1fr;
  }
  
  /* Products grid 1024px */
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .code-block {
    padding: 16px;
    font-size: 12px;
  }
  
  .step-block {
    padding: 16px;
  }
  
  .platform-list {
    grid-template-columns: 1fr;
  }
  
  .page-layout {
    flex-direction: column;
    gap: 24px;
  }
  
  .sidebar {
    flex: none;
    width: 100%;
    position: static;
  }
  
  .sidebar .submenu {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
    border-radius: var(--radius-md);
  }
  
  .sidebar .submenu li a {
    padding: 10px 16px;
    border-left: none;
    border-bottom: 3px solid transparent;
    font-size: 14px;
  }
  
  .sidebar .submenu li.active a {
    border-bottom-color: var(--color-accent);
    border-left: none;
  }
  
  /* Step block images responsive */
  .step-block img {
    max-width: 100%;
    height: auto;
  }
  
  /* Feature detail images responsive */
  .feature-detail img {
    max-width: 100%;
    height: auto;
  }
  
  /* Doc section images responsive */
  .doc-section img {
    max-width: 100%;
    height: auto;
  }
}