/* ===========================================================
   BraceSense Website — Global Stylesheet
   Primary: Tiffany Blue #0ABAB5
   Design: Clean, modern, medical-professional
   =========================================================== */

/* --- CSS Custom Properties --- */
:root {
  --primary: #0ABAB5;
  --primary-dark: #089B97;
  --primary-light: #E6F7F7;
  --primary-bg: #F5FAFA;

  --accent-blue: #0077B6;
  --accent-orange: #F4A261;
  --accent-coral: #E76F51;

  --text-heading: #1A2B2B;
  --text-body: #3D4F4F;
  --text-muted: #6B7F7F;

  --white: #FFFFFF;
  --border: #DDE8E8;

  --nav-height: 64px;
  --nav-height-mobile: 56px;
  --max-width: 1200px;
  --radius-card: 16px;
  --radius-btn: 50px;
  --radius-img: 12px;

  --shadow-card: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.06);
  --shadow-hover: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --shadow-nav: 0 1px 3px rgba(0,0,0,0.06);

  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--primary-bg);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--primary-dark);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  color: var(--text-heading);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: 2.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }

p { margin-bottom: 1rem; }

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

/* --- Section Spacing --- */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  display: inline-block;
  position: relative;
  margin-bottom: 1rem;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--primary);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ===========================================================
   NAVIGATION
   =========================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-nav);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-heading);
  text-decoration: none;
}

.nav-brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius-btn);
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-links a.router-link-active,
.nav-links a[aria-current="page"] {
  color: var(--primary);
  background: var(--primary-light);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Mobile Nav Overlay --- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.open {
  display: flex;
  opacity: 1;
}

.nav-overlay a {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-heading);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-btn);
  transition: all var(--transition);
}

.nav-overlay a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

/* ===========================================================
   BUTTONS
   =========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10,186,181,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

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

.btn-white:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #E6F7F7 0%, #F5FAFA 50%, #FFFFFF 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 3rem 1.5rem;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.18;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.hero .hero-sub {
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.hero .hero-zh {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 1rem;
}

.hero .hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero .btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================================================
   COMPARISON TABLE (Homepage Feature)
   =========================================================== */
.compare-section {
  background: var(--white);
}

.compare-table-wrap {
  max-width: 960px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  border: 1px solid var(--border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table thead th {
  background: var(--primary);
  color: var(--white);
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.compare-table thead th:first-child {
  text-align: left;
  border-radius: 0;
}

.compare-table tbody td {
  padding: 0.9rem 1.25rem;
  text-align: center;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}

.compare-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text-heading);
}

.compare-table tbody tr:nth-child(even) {
  background: var(--primary-bg);
}

.compare-table tbody tr:hover {
  background: var(--primary-light);
}

.compare-table .check {
  color: #059669;
  font-weight: 700;
  font-size: 1.1rem;
}

.compare-table .dash {
  color: #CBD5E1;
}

.compare-table .cross {
  color: #94A3B8;
}

.compare-table .tag {
  display: inline-block;
  font-size: 0.8rem;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
}

/* Compare Cards (Mobile fallback) */
.compare-cards {
  display: none;
}

.compare-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  text-align: center;
}

.compare-card h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.compare-card ul {
  list-style: none;
  text-align: left;
}

.compare-card ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.compare-card ul li:last-child {
  border-bottom: none;
}

.compare-card ul li .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.compare-card ul li .dot.yes { background: #059669; }
.compare-card ul li .dot.no { background: #CBD5E1; }

/* ===========================================================
   CARDS
   =========================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--primary-bg);
  padding: 1.5rem;
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  margin-bottom: 0.5rem;
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

/* Feature Card */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition);
}

.feature-card:hover {
  transform: translateY(-3px);
}

.feature-card .feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===========================================================
   PRODUCT PAGE HERO
   =========================================================== */
.product-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary-bg) 100%);
}

.product-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.product-hero .product-main-img {
  max-width: 500px;
  margin-bottom: 2rem;
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-hover);
}

.product-hero h1 {
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.product-hero .product-subtitle {
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-hero .product-tagline {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-heading);
  max-width: 600px;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

/* ===========================================================
   CONTENT BLOCKS (Product Pages)
   =========================================================== */
.text-block {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.text-block p {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Quote / Tagline block */
.quote-block {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1.5rem;
}

.quote-block p {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.6;
  font-style: italic;
  position: relative;
  padding: 0 2rem;
}

.quote-block p::before,
.quote-block p::after {
  content: '"';
  font-size: 3rem;
  color: var(--primary-light);
  position: absolute;
  line-height: 1;
}

.quote-block p::before {
  left: -0.25rem;
  top: -0.5rem;
}

.quote-block p::after {
  right: -0.25rem;
  bottom: -1.5rem;
}

/* Info Cards Grid */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--primary);
}

.info-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.info-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* --- Tabs (BraceSense Pre-installed / Retrofit) --- */
.tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--border);
  background: var(--white);
  border-radius: var(--radius-btn);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--transition);
}

.tab-btn.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

.tab-btn:hover {
  border-color: var(--primary);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ===========================================================
   IMAGE GALLERY / CAROUSEL
   =========================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-img);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-card);
}

.gallery img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

/* Carousel */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-img);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
}

.carousel-slide img {
  max-height: 500px;
  width: 100%;
  object-fit: contain;
  padding: 1rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(255,255,255,0.9);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--text-heading);
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 1rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* ===========================================================
   LIGHTBOX
   =========================================================== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.3);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.3);
}

.lightbox-nav.prev { left: 1.5rem; }
.lightbox-nav.next { right: 1.5rem; }

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

/* ===========================================================
   SPECS TABLE (BraceWatch)
   =========================================================== */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

.spec-item .spec-icon {
  font-size: 1.3rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.spec-item .spec-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.spec-item .spec-value {
  font-weight: 600;
  color: var(--text-heading);
}

/* ===========================================================
   DOWNLOAD CARDS
   =========================================================== */
.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.download-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.download-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.download-card .dl-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.download-card h4 {
  margin-bottom: 0.5rem;
}

.download-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

/* ===========================================================
   APK DOWNLOAD BLOCK
   =========================================================== */
.apk-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--text-heading);
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-hover);
}

.apk-card .apk-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.apk-card h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.apk-card .apk-meta {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.25rem;
}

.apk-card .apk-warning {
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.apk-card .btn {
  background: var(--primary);
  color: var(--white);
  font-size: 1.05rem;
  padding: 0.9rem 2.5rem;
}

.apk-card .btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.apk-card .apk-hint {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 1rem;
}

/* ===========================================================
   QR CODE
   =========================================================== */
.qr-block {
  text-align: center;
}

.qr-block img {
  width: 180px;
  height: 180px;
  margin: 0 auto 1rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.qr-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===========================================================
   VIDEO PLAYER
   =========================================================== */
.video-container {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-img);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: #000;
}

.video-container video {
  width: 100%;
  display: block;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.video-grid .video-container {
  margin: 0;
}

/* ===========================================================
   STEPPER (PressFilm usage steps)
   =========================================================== */
.stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  counter-reset: step;
}

.step {
  flex: 1 1 180px;
  max-width: 220px;
  text-align: center;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 0.75rem;
}

.step h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Stepper Connector (desktop only) --- */
.step + .step::after {
  content: '';
  position: absolute;
  top: 22px;
  left: -0.75rem;
  width: 1.5rem;
  height: 2px;
  background: var(--border);
}

/* ===========================================================
   SCENE CARDS (PressFilm use cases)
   =========================================================== */
.scene-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.scene-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition);
}

.scene-card:hover {
  transform: translateY(-3px);
}

.scene-card .scene-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.scene-card h4 {
  margin-bottom: 0.5rem;
}

.scene-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===========================================================
   CTA BANNER
   =========================================================== */
.cta-banner {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 4rem 1.5rem;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 2rem;
  font-size: 1.15rem;
}

.cta-banner .btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================================================
   CONTACT PAGE
   =========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 960px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.contact-item .contact-icon {
  font-size: 1.4rem;
  color: var(--primary);
  width: 28px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-item .contact-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.contact-item .contact-value {
  font-weight: 600;
  color: var(--text-heading);
}

.contact-item .contact-value a {
  color: var(--text-heading);
  text-decoration: none;
}

.contact-item .contact-value a:hover {
  color: var(--primary);
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.contact-sidebar .qr-wrapper {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.contact-sidebar .qr-wrapper img {
  width: 180px;
  height: auto;
  margin-bottom: 0.75rem;
}

.contact-sidebar .qr-wrapper p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.contact-sidebar .company-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.contact-sidebar .company-card img {
  width: 100px;
  margin: 0 auto 1rem;
}

.contact-sidebar .company-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ===========================================================
   CUSTOMER SHOWCASE
   =========================================================== */
.customer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.customer-grid img {
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-card);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ===========================================================
   FOOTER
   =========================================================== */
.footer {
  background: var(--text-heading);
  color: rgba(255,255,255,0.7);
  padding: 3rem 1.5rem 2rem;
  text-align: center;
  font-size: 0.95rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
}

.footer-item a {
  color: rgba(255,255,255,0.85);
}

.footer-item a:hover {
  color: var(--primary);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ===========================================================
   UTILITY
   =========================================================== */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ===========================================================
   RESPONSIVE — Tablet (≤1024px)
   =========================================================== */
@media (max-width: 1024px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .hero h1 { font-size: 2.4rem; }
  .hero .hero-sub { font-size: 1.15rem; }
  .hero .hero-zh { font-size: 1.2rem; }
  .hero .hero-desc { font-size: 1rem; }

  .section { padding: 3.5rem 0; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .customer-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-hero .product-main-img {
    max-width: 400px;
  }

  .product-hero h1 { font-size: 2rem; }
  .product-hero .product-tagline { font-size: 1.25rem; }

  .footer-grid {
    gap: 1rem;
  }
}

/* --- Responsive: Tablet / Small Screen (≤768px) --- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav {
    height: var(--nav-height-mobile);
  }

  .container {
    padding: 0 1rem;
  }

  .compare-table-wrap {
    display: none;
  }

  .compare-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
  }

  .hero {
    min-height: 70vh;
    padding: 2rem 0;
  }

  .hero-content {
    padding: 2rem 1rem;
  }

  .stepper {
    flex-direction: column;
    align-items: center;
  }

  .step {
    max-width: 320px;
  }

  .step + .step::after {
    display: none;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .quote-block p {
    font-size: 1.15rem;
    padding: 0 1rem;
  }

  .footer-grid {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .apk-card {
    padding: 2rem 1.25rem;
  }
}

/* --- Responsive: Mobile (≤640px) --- */
@media (max-width: 640px) {
  :root {
    --radius-card: 12px;
  }

  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.2rem; }

  body {
    font-size: 1rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .hero {
    min-height: 65vh;
  }

  .hero h1 { font-size: 1.9rem; }
  .hero .hero-sub { font-size: 1rem; }
  .hero .hero-zh { font-size: 1.1rem; }
  .hero .hero-desc { font-size: 0.95rem; }

  .hero .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .hero .btn-group .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .product-hero {
    padding: 3rem 0 2rem;
  }

  .product-hero .product-main-img {
    max-width: 280px;
    margin-bottom: 1.5rem;
  }

  .product-hero h1 { font-size: 1.7rem; }
  .product-hero .product-subtitle { font-size: 1rem; }
  .product-hero .product-tagline { font-size: 1.05rem; }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .card-img {
    aspect-ratio: 3 / 2;
  }

  .gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .download-cards {
    grid-template-columns: 1fr;
  }

  .info-cards {
    grid-template-columns: 1fr;
  }

  .scene-cards {
    grid-template-columns: 1fr;
  }

  .carousel-slide img {
    max-height: 250px;
  }

  .carousel-btn {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }

  .carousel-btn.prev { left: 6px; }
  .carousel-btn.next { right: 6px; }

  .compare-cards {
    grid-template-columns: 1fr;
  }

  .tabs {
    flex-direction: column;
    align-items: center;
  }

  .tab-btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.95rem;
  }

  .btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }

  .contact-item {
    padding: 1rem;
  }

  .contact-sidebar .qr-wrapper img {
    width: 140px;
  }

  .apk-card {
    padding: 1.5rem 1rem;
  }

  .apk-card .apk-icon {
    font-size: 2.5rem;
  }

  .apk-card h3 {
    font-size: 1.2rem;
  }

  .customer-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-nav { display: none; }

  .nav-overlay a {
    font-size: 1.2rem;
    padding: 0.6rem 1.5rem;
  }

  .text-block p {
    font-size: 1rem;
  }

  .compare-table-wrap {
    border-radius: var(--radius-card);
  }
}
