/* ============================================
   弘兆航空科技 - 主样式表
   设计主题：深色科技风
   ============================================ */

/* --- CSS Variables --- */
:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #1a1f2e;
  --bg-card-hover: #1e2640;
  --accent: #00b4d8;
  --accent-light: #48cae4;
  --accent-glow: rgba(0, 180, 216, 0.3);
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: #1e293b;
  --border-light: #334155;
  --gradient-hero: linear-gradient(135deg, #0a0e17 0%, #0f172a 40%, #0c1929 70%, #0a1628 100%);
  --gradient-accent: linear-gradient(135deg, #00b4d8, #0077b6);
  --gradient-card: linear-gradient(180deg, #1a1f2e 0%, #151b28 100%);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.6);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

/* --- Grid Background --- */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(0, 180, 216, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 216, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: all var(--transition);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav.scrolled {
  background: rgba(10, 14, 23, 0.92);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}
.nav-logo img {
  height: 40px;
  border-radius: 8px;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient-accent);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: heroPulse 4s ease-in-out infinite;
}
@keyframes heroPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}
.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero-logo {
  width: 140px;
  margin: 0 auto 32px;
  border-radius: 20px;
  box-shadow: 0 0 40px var(--accent-glow);
  animation: logoFloat 3s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #e2e8f0 0%, #00b4d8 50%, #48cae4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.hero .subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 8px;
}
.hero .domain {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 40px;
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid var(--accent-glow);
  border-radius: 50px;
  background: rgba(0, 180, 216, 0.05);
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px var(--accent-glow);
}
.btn-outline {
  background: transparent;
  color: var(--accent-light);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover {
  background: rgba(0, 180, 216, 0.1);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* --- Section Common --- */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 12px;
  padding: 4px 16px;
  border: 1px solid rgba(0, 180, 216, 0.2);
  border-radius: 50px;
}
.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.section-desc {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* --- Product Grid --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-light);
  box-shadow: var(--shadow-lg);
}
.product-card:hover::before { opacity: 1; }
.product-card .icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(0, 180, 216, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.product-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.product-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}
.product-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.tag {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(0, 180, 216, 0.08);
  color: var(--accent-light);
  border: 1px solid rgba(0, 180, 216, 0.15);
}

/* Featured Product Card */
.product-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 0;
  overflow: hidden;
  border-color: var(--accent-glow);
}
.product-card.featured::before {
  opacity: 1;
  height: 4px;
}
.product-card.featured .card-content {
  padding: 48px 40px 48px 48px;
}
.product-card.featured .card-image {
  height: 100%;
  min-height: 320px;
  background: rgba(0, 180, 216, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.6;
}

/* --- Stats --- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item {
  text-align: center;
  padding: 40px 20px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-value {
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

/* --- Product Detail Sections (Home Page Teasers) --- */
.detail-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.detail-teaser:last-child { margin-bottom: 0; }
.detail-teaser.reverse { direction: rtl; }
.detail-teaser.reverse > * { direction: ltr; }
.detail-teaser .teaser-image {
  background: rgba(0, 180, 216, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.5;
  overflow: hidden;
}
.detail-teaser .teaser-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.teaser-content h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
.teaser-content p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.feature-list li::before {
  content: '◆';
  color: var(--accent);
  font-size: 0.5rem;
}

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  aspect-ratio: 1;
}
.gallery-item:hover {
  transform: scale(1.03);
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Video Grid --- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.video-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.video-card video {
  width: 100%;
  display: block;
  background: #000;
}
.video-card .video-info {
  padding: 14px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --- Download Card --- */
.download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: all var(--transition);
}
.download-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
}
.download-card .dl-icon {
  font-size: 2rem;
}
.download-card .dl-info {
  flex: 1;
}
.download-card .dl-name {
  font-weight: 600;
  color: var(--text-primary);
}
.download-card .dl-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== 产品子页通用样式 ===== */
.product-page-header {
  padding: 110px 0 64px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.product-page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb .sep { color: var(--border-light); }
.breadcrumb .current { color: var(--accent-light); }
.product-page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.product-page-header .subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}
.product-page-header .header-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* Feature Highlights */
.feature-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.highlight-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.highlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
}
.highlight-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.highlight-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.highlight-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Mode table */
.mode-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.mode-table th {
  background: rgba(0, 180, 216, 0.1);
  color: var(--accent-light);
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}
.mode-table td {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.mode-table tr:hover td {
  background: rgba(0, 180, 216, 0.03);
}
.mode-table code {
  background: rgba(0, 180, 216, 0.1);
  color: var(--accent-light);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.step h4 {
  margin-bottom: 8px;
  color: var(--text-primary);
}
.step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Page nav */
.page-nav {
  position: sticky;
  top: 64px;
  z-index: 100;
  background: rgba(10, 14, 23, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  display: none;
}
.page-nav.visible { display: block; }
.page-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 24px;
  overflow-x: auto;
}
.page-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  white-space: nowrap;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.page-nav a:hover, .page-nav a.active {
  color: var(--accent-light);
  border-bottom-color: var(--accent);
}

/* --- Product Grid (makeflyeasy-style) --- */
.mfe-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.mfe-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}
.mfe-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(0, 180, 216, 0.12);
}
.mfe-card-image {
  width: 100%;
  height: 210px;
  background: rgba(0, 180, 216, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  font-size: 4rem;
  opacity: 0.55;
}
.mfe-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mfe-card-body {
  padding: 22px 24px 24px;
}
.mfe-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.mfe-card-body p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* --- Contact Grid & QR Cards --- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}
.contact-info-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.contact-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.contact-info-card h4 {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.contact-phone {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 1px;
}
.contact-phone:hover {
  color: var(--accent-light);
}
.qr-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.qr-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.qr-card img {
  width: 140px;
  height: 140px;
  max-width: 140px;
  object-fit: cover;
  margin: 0 auto 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
}
.qr-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 {
  color: var(--text-primary);
  margin-bottom: 16px;
  font-size: 1rem;
}
.footer p, .footer a {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 2;
}
.footer a:hover { color: var(--accent-light); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- Lightbox --- */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Language Switcher --- */
.lang-switch {
  background: transparent;
  border: 1.5px solid var(--border-light);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all var(--transition);
  font-family: var(--font-mono);
}
.lang-switch:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: rgba(0, 180, 216, 0.08);
}

/* --- Hamburger Menu --- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
  background: transparent;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 14, 23, 0.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.mobile-nav-overlay.active {
  display: flex;
}
.mobile-nav-overlay a {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.mobile-nav-overlay a:hover {
  color: var(--accent-light);
}
.mobile-nav-overlay .btn {
  font-size: 1rem;
}
.mobile-nav-lang {
  margin-top: 8px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .product-card.featured {
    grid-template-columns: 1fr;
  }
  .product-card.featured .card-image {
    min-height: 200px;
    order: -1;
  }
  .product-card.featured .card-content {
    padding: 32px;
  }
  .detail-teaser {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .detail-teaser .teaser-image {
    min-height: 240px;
  }
  .detail-teaser.reverse {
    direction: ltr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) { border-right: none; }
  .mfe-product-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
  .feature-highlights {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* Typography */
  html { font-size: 15px; }
  .hero h1 { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }

  /* Nav */
  .nav-links { display: none; }
  .nav-links .lang-switch { display: none; }
  .hamburger { display: flex; }
  .nav-inner {
    padding: 0 16px;
  }

  /* Product grid */
  .product-grid { grid-template-columns: 1fr; }
  .mfe-product-grid { grid-template-columns: 1fr; }
  .mfe-card-image { height: 180px; }

  /* Teasers */
  .detail-teaser { gap: 24px; }
  .teaser-content h2 { font-size: 1.5rem; }

  /* Stats */
  .stats { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 24px 12px; }
  .stat-value { font-size: 1.8rem; }

  /* Footer */
  .footer { padding: 40px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }

  /* Product page header */
  .product-page-header { padding: 100px 0 48px; }
  .product-page-header h1 { font-size: 1.8rem; }

  /* Feature highlights */
  .feature-highlights { grid-template-columns: 1fr; }
  .highlight-card { padding: 24px 16px; }

  /* Steps */
  .steps { grid-template-columns: 1fr; }

  /* Tables */
  .mode-table { font-size: 0.8rem; }
  .mode-table th, .mode-table td { padding: 10px 12px; }

  /* Breadcrumb */
  .breadcrumb { font-size: 0.8rem; }

  /* Hero CTAs */
  .hero-cta { flex-direction: column; align-items: center; }

  /* Product cards */
  .product-card { padding: 24px; }

  /* Container */
  .container { padding: 0 16px; }

  /* Page nav (sticky sub-nav) */
  .page-nav-inner { gap: 16px; padding: 0 16px; }
  .page-nav a { font-size: 0.8rem; }

  /* Two-column layouts to single */
  .detail-teaser div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Contact grid */
  .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .qr-card img { width: 120px; height: 120px; max-width: 120px; object-fit: cover; }
}

@media (max-width: 480px) {
  html { font-size: 14px; }
  .hero h1 { font-size: 1.6rem; }
  .section-title { font-size: 1.4rem; }
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 32px; }

  .nav-logo span { font-size: 1rem; }
  .nav-logo img { height: 32px; }

  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat-value { font-size: 1.5rem; }
  .stat-label { font-size: 0.75rem; }

  .btn { padding: 10px 20px; font-size: 0.85rem; }
  .btn-sm { padding: 6px 14px; font-size: 0.8rem; }

  .mfe-card-body { padding: 16px; }
  .mfe-card-body h3 { font-size: 1rem; }
  .mfe-card-body p { font-size: 0.8rem; }
  .mfe-card-image { height: 160px; }

  .product-card.featured .card-content { padding: 20px; }

  .detail-teaser .teaser-image { min-height: 180px; }

  .footer h4 { font-size: 0.95rem; }
  .footer p, .footer a { font-size: 0.8rem; }

  .mobile-nav-overlay a { font-size: 1.15rem; }
  .mobile-nav-overlay { gap: 22px; }

  .product-page-header { padding: 95px 0 40px; }
  .product-page-header h1 { font-size: 1.5rem; }
  .product-page-header .subtitle { font-size: 0.9rem; }

  .mode-table { font-size: 0.75rem; }
  .mode-table th, .mode-table td { padding: 8px 10px; }

  .download-card { flex-direction: column; text-align: center; }
  .header-actions { flex-direction: column; }
  .header-actions .btn { width: 100%; text-align: center; justify-content: center; }

  /* Contact grid */
  .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .qr-card img { width: 110px; height: 110px; max-width: 110px; object-fit: cover; }
  .contact-phone { font-size: 1.1rem; }
}
