/* ========================================================================
   MUQI TECH — emuqi.com  Brand Stylesheet
   ========================================================================
   Fonts:    DM Sans (headings/UI) + Inter (body)
   Primary:  #1a3a6e    Accent: #1d4ed8    Gold: #f47b20
   BG:       #ffffff    BG-alt: #f5f6f8
   Text:     #1a1a2e    Text-light: #6b7280
   Border:   #e2e8f0
   ======================================================================== */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ── Custom Properties ── */
:root {
  /* Brand colors */
  --primary:       #1a3a6e;
  --primary-light: #2b6cb0;
  --primary-dark:  #0a1628;
  --accent:        #1d4ed8;
  --accent-light:  #60a5fa;
  --accent-dark:   #1d4ed8;
  --orange:          #f47b20;
  --bg:            #ffffff;
  --bg-alt:        #f5f6f8;
  --bg-card:       #ffffff;
  --text:          #1a1a2e;
  --text-light:    #6b7280;
  --text-on-dark:  #94a3b8;
  --border:        #e2e8f0;
  --border-light:  #edf2f7;
  --success:       #10b981;
  --warning:       #f59e0b;
  --error:         #ef4444;

  /* Typography */
  --font-heading:  'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:     'SF Mono', 'Fira Code', 'Fira Mono', monospace;

  /* Spacing */
  --max-w:         1200px;
  --nav-h:         72px;
  --radius-sm:     6px;
  --radius-md:     8px;
  --radius-lg:     12px;
  --radius-xl:     16px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow:        0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl:     0 12px 48px rgba(0,0,0,0.15);
  --transition:    0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: #f5f6f8;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dark); }
ul, ol { list-style: none; }

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

/* ── Utility ── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* ========================================================================
   HEADER & NAVIGATION
   ======================================================================== */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, #e8eaed 0%, #d8dadf 40%, #cfd2d7 70%, #c5c8cd 100%);
  border-bottom: 1px solid #b8bbc0;
  height: 73px !important;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.65);
}

/* Shared navigation geometry: identical across root pages and blog pages. */
header nav {
  height: 34px;
  align-items: center;
  flex-shrink: 0;
}

header nav > a,
header nav > div > a {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  height: 34px;
  line-height: 18px;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  white-space: nowrap;
}

header nav > a.nav-store {
  gap: 7px;
  min-width: 78px;
  justify-content: center;
  color: #0a1628 !important;
  border: 1px solid rgba(10,22,40,.18);
  background: rgba(255,255,255,.42) !important;
  box-shadow: inset 0 -2px 0 rgba(244,123,32,.65);
  border-radius: 8px;
}

header nav > a.nav-store:hover {
  color: #fff !important;
  background: #0a1628 !important;
  border-color: #0a1628;
  box-shadow: inset 0 -2px 0 #f47b20, 0 4px 12px rgba(10,22,40,.18);
}

header nav > a.nav-contact {
  min-width: 94px;
  justify-content: center;
  margin-left: 16px !important;
  background: #0a1628 !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(10,22,40,.16);
  border-radius: 8px;
}

header nav > a.nav-contact:hover {
  background: #1a3a6e !important;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  color: #1a1a2e;
  text-decoration: none;
  letter-spacing: -0.3px;
}
.logo:hover { color: #1a1a2e; }
.logo img { height: 38px; width: auto; border-radius: 3px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-sub { font-size: 10px; font-weight: 400; color: var(--text-light); letter-spacing: 1px; text-transform: uppercase; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: #4a4a5a;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: #1d4ed8;
  background: transparent;
}

.nav-links > li > a .arrow {
  font-size: 10px;
  transition: transform var(--transition);
}

/* ── Dropdown ── */
.dropdown { position: relative; }

.dropdown-menu {
  display: block;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 260px;
  padding: 8px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown:hover > a .arrow {
  transform: rotate(180deg);
}

.dropdown-menu a {
  display: flex;
  flex-direction: column;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 14px;
  transition: background var(--transition);
}

.dropdown-menu a:hover { background: var(--bg-alt); }

.dropdown-menu .menu-desc {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 400;
  margin-top: 1px;
}

/* ── Hamburger ── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: absolute;
  left: 4px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle span:nth-child(1) { top: 9px; }
.nav-toggle span:nth-child(2) { top: 15px; }
.nav-toggle span:nth-child(3) { top: 21px; }

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

/* ========================================================================
   BUTTONS
   ======================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  line-height: 1.4;
}

.btn-primary {
  background: #f47b20;
  color: #fff;
}
.btn-primary:hover {
  background: #d4a84b;
  color: #fff;
  box-shadow: 0 4px 14px rgba(244,123,32,0.35);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  color: #f47b20;
  border: 2px solid #f47b20;
}
.btn-outline:hover {
  background: #f47b20;
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: #1d4ed8;
  color: #1d4ed8;
  background: rgba(29,78,216,0.04);
}

.btn-lg   { padding: 16px 40px; font-size: 17px; }
.btn-sm   { padding: 8px 20px; font-size: 13px; }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: 50%; }

/* ========================================================================
   HERO
   ======================================================================== */

.hero {
  position: relative;
  padding: 160px 24px 100px;
  text-align: center;
  background: linear-gradient(135deg, rgba(10,22,40,0.55) 0%, rgba(26,58,110,0.50) 60%, rgba(29,78,216,0.40) 100%), url('assets/images/hero-bg.png') center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,54,93,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero > * { position: relative; z-index: 1; }

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 600;
  color: #f0ece4;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.hero h1 .highlight {
  color: #f47b20;
  position: relative;
}
.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 6px;
  background: rgba(244,123,32,0.15);
  border-radius: 3px;
}

.hero-sub {
  font-size: 17px;
  color: rgba(240,236,228,0.75);
  margin-bottom: 6px;
  font-weight: 300;
}

.hero-cn {
  font-size: 16px;
  color: rgba(240,236,228,0.6);
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 17px;
  color: rgba(240,236,228,0.8);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 160px 24px 100px;
  text-align: center;
  background: linear-gradient(135deg, rgba(10,22,40,0.55) 0%, rgba(26,58,110,0.50) 60%, rgba(29,78,216,0.40) 100%), url('assets/images/hero-bg.png') center/cover no-repeat;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 600;
  color: #f0ece4;
  margin-bottom: 8px;
}

.page-hero p {
  color: rgba(240,236,228,0.75);
  max-width: 560px;
  margin: 0 auto;
  font-size: 16px;
}

/* ========================================================================
   SECTION
   ======================================================================== */

.section {
  padding: 80px 24px;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-light);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ========================================================================
   PRODUCT CARDS
   ======================================================================== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.product-card {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,.1);
  transition: transform 0.4s ease;
}

.product-card:hover img {
  transform: scale(1.03);
}

.product-card .card-body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

/* Product cards without a card-body wrapper still need the same editorial hierarchy. */
.product-card > h3 {
  position: relative;
  padding: 20px 20px 8px;
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.1px;
}

.product-card > h3::before {
  content: '';
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 12px;
  border-radius: 2px;
  background: var(--orange);
}

.product-card > p {
  padding: 0 20px 24px;
  margin: 0;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.65;
}

.product-card .card-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.product-card .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-card .card-tag {
  font-size: 12px;
  color: #f47b20;
  font-weight: 600;
  background: rgba(244,123,32,0.08);
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card .btn {
  align-self: flex-start;
}

/* ========================================================================
   PRODUCT DETAIL PAGE
   ======================================================================== */

.product-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-bottom: 40px;
  align-items: start;
}

.product-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
}

.product-detail-img img {
  width: 100%;
  height: auto;
  display: block;
}

.product-detail-text h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.product-detail-text .subtitle {
  font-size: 15px;
  color: var(--accent);
  font-style: italic;
  margin-bottom: 16px;
}

.product-detail-text p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 12px;
  font-size: 15px;
}

/* ── Spec Table ── */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.spec-table thead {
  background: #0a1628;
  color: #f0ece4;
}

.spec-table th {
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 20px;
  text-align: left;
  font-size: 14px;
  letter-spacing: 0.3px;
}

.spec-table td {
  padding: 11px 20px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
}

.spec-table tbody tr:last-child td {
  border-bottom: none;
}

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

.spec-table tbody tr:hover {
  background: #edf2f7;
}

/* Alternative spec grid layout */
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  max-width: 700px;
  margin: 24px 0;
}

.spec-grid .spec-row {
  display: contents;
}

.spec-grid .spec-label {
  background: var(--bg-alt);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.spec-grid .spec-value {
  background: var(--bg-alt);
  padding: 10px 18px;
  font-size: 14px;
  color: var(--text-light);
}

/* Feature list */
.feature-list {
  margin: 16px 0;
}

.feature-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--text);
  font-size: 15px;
  border-bottom: 1px solid var(--border-light);
  line-height: 1.5;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 4px;
  color: var(--success);
  font-weight: 700;
  font-size: 14px;
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px;
  transition: color var(--transition);
}

.back-link:hover {
  color: var(--accent);
}

/* ========================================================================
   ABOUT PAGE
   ======================================================================== */

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  margin: 48px 0;
  text-align: center;
}

.stat-card {
  padding: 28px 16px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.stat-card .num {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  color: #f47b20;
  line-height: 1.1;
}

.stat-card .label {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 6px;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin: 48px 0;
}

.mission-card {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.mission-card .icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.mission-card h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.mission-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* About page editorial composition */
.about-page .section {
  padding-top: 72px;
  padding-bottom: 88px;
}

.about-overview {
  padding: 56px 24px 0;
  background: var(--surface);
}

.about-overview-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.about-overview-inner img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 14px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 30px rgba(10,22,40,.10);
}

.about-page .about-copy strong {
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-weight: 600;
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 56px;
  align-items: end;
  max-width: 1100px;
  margin: 0 auto;
}

.about-kicker,
.about-section-kicker {
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.about-intro h2 {
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.4px;
  margin-bottom: 20px;
}

.about-intro p,
.about-copy p {
  color: #2d3748;
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 16px;
}

.about-intro-note {
  border-left: 3px solid var(--orange);
  background: linear-gradient(135deg, #0a1628, #1a3a6e);
  color: rgba(240,236,228,.84);
  padding: 26px 28px;
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.55;
}

.about-stat-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
  margin: 64px auto 0;
  background: #0a1628;
  color: #f0ece4;
}

.about-stat-band .stat-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 30px 28px 32px;
  text-align: left;
}

.about-stat-band .stat-card + .stat-card {
  border-left: 1px solid rgba(255,255,255,.12);
}

.about-stat-band .stat-card .num {
  color: var(--orange);
  font-size: 42px;
}

.about-stat-band .stat-card .label {
  color: #94a3b8;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-feature {
  max-width: 1100px;
  margin: 48px auto 0;
}

.about-feature.reverse .about-feature-image { order: 0; }

.about-feature-image {
  width: 100%;
  margin-bottom: 16px;
}

.about-feature-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}

.about-feature h2 {
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 12px;
}

.about-feature p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 16px;
}

.about-capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
  margin: 28px auto 0;
  gap: 12px;
}

.about-capability {
  padding: 22px 20px 24px;
  border-top: 3px solid var(--blue);
  background: #fff;
  box-shadow: 0 4px 18px rgba(10,22,40,.07);
}

.about-capability:nth-child(2) { border-top-color: var(--orange); }
.about-capability:nth-child(3) { border-top-color: #5b8def; }

.about-capability h3 {
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.about-capability p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.about-mission {
  max-width: 1100px;
  margin: 80px auto 0;
  padding: 52px 56px;
  background: linear-gradient(135deg, #0a1628 0%, #1a3a6e 68%, #1d4ed8 100%);
  color: #f0ece4;
}

.about-mission .about-section-kicker { color: #f47b20; }
.about-mission h2 { color: #f0ece4; font-size: 30px; margin-bottom: 12px; }
.about-mission > p { color: rgba(240,236,228,.72); max-width: 620px; line-height: 1.75; }

.about-mission .mission-grid {
  margin: 32px 0 0;
  gap: 1px;
  background: rgba(255,255,255,.14);
  display: flex;
  flex-direction: column;
}

.about-mission .mission-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  background: rgba(10,22,40,.5);
  border: 0;
  border-radius: 0;
  padding: 16px 20px;
  text-align: left;
}

.about-mission .mission-card h3 { color: #f47b20; }
.about-mission .mission-card p {
  color: rgba(240,236,228,.7);
  margin: 0;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

@media (max-width: 768px) {
  .about-intro,
  .about-feature { grid-template-columns: 1fr; gap: 28px; }
  .about-stat-band,
  .about-capabilities { grid-template-columns: 1fr; }
  .about-mission .mission-card { grid-template-columns: 100px minmax(0, 1fr); }
  .about-stat-band .stat-card + .stat-card { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .about-feature.reverse .about-feature-image { order: initial; }
  .about-mission { padding: 36px 24px; }
}

@media (max-width: 520px) {
  .about-mission .mission-card { grid-template-columns: 1fr; gap: 5px; }
  .about-mission .mission-card p { white-space: normal; }
}

/* Application portfolio — hero-first product showcase */
.application-intro {
  padding: 72px 24px 48px;
  background: #0a1628;
}

.application-intro-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr);
  gap: 56px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: end;
}

.application-intro .about-section-kicker { color: #f47b20; }

.application-intro h2 {
  max-width: 650px;
  color: #f0ece4;
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.1;
}

.application-intro p {
  color: rgba(240,236,228,.65);
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

/* Each product is a full-width hero band */
.application-product {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  min-height: 520px;
  overflow: hidden;
  background: #0f172a;
}

.application-product:nth-child(even) { direction: rtl; }
.application-product:nth-child(even) > * { direction: ltr; }

/* Large background image */
.application-product-bg {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.application-product-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 48px 48px 110px;
  background: #0f172a;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}

.application-product:hover .application-product-bg img {
  transform: scale(1.03);
}

/* Gradient overlay on image side */
.application-product-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(10,22,40,.7) 100%);
  pointer-events: none;
}

.application-product:nth-child(even) .application-product-bg::after {
  background: linear-gradient(270deg, transparent 60%, rgba(10,22,40,.7) 100%);
}

/* Text panel */
.application-product-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px;
  background: linear-gradient(135deg, #0a1628 0%, #12203a 100%);
  transition: background .4s ease;
}

.application-product:hover .application-product-panel {
  background: linear-gradient(135deg, #0a1628 0%, #152a4a 100%);
}

/* Decorative large number behind text */
.application-product-panel::before {
  content: attr(data-num);
  position: absolute;
  top: 24px;
  right: 32px;
  font-family: var(--font-heading);
  font-size: 120px;
  font-weight: 700;
  color: rgba(244,123,32,.08);
  line-height: 1;
  pointer-events: none;
}

/* Orange left accent bar */
.application-product-panel::after {
  content: '';
  position: absolute;
  left: 0;
  top: 48px;
  bottom: 48px;
  width: 4px;
  background: var(--orange);
  border-radius: 2px;
}

.application-number {
  color: #f47b20;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.application-product-panel h2 {
  color: #f0ece4;
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 20px;
}

.application-product-panel > p {
  color: rgba(240,236,228,.7);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 440px;
}

.application-product-panel ul {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.application-product-panel li {
  position: relative;
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: rgba(240,236,228,.6);
  font-size: 14px;
  line-height: 1.5;
}

.application-product-panel li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
}

.application-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #f0ece4;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 28px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  transition: all .25s ease;
  width: fit-content;
  margin-top: 4px;
}

.application-link:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.application-link span {
  color: var(--orange);
  font-size: 18px;
  transition: transform var(--transition);
}

.application-link:hover span { color: #fff; transform: translateX(4px); }

/* Horizontal thumbnail strip */
.application-thumbs {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(10,22,40,.85);
  backdrop-filter: blur(8px);
}

.application-thumbs img {
  display: block;
  width: 110px;
  height: 80px;
  object-fit: contain;
  background: rgba(255,255,255,.08);
  border-radius: 6px;
  padding: 6px;
  cursor: pointer;
  transition: all .25s ease;
  flex-shrink: 0;
}

.application-thumbs img:hover,
.application-thumbs img.active {
  background: rgba(244,123,32,.25);
  outline: 2px solid var(--orange);
}

/* Summary band after all products */
.application-summary {
  padding: 80px 24px;
  background: #0a1628;
  text-align: center;
}

.application-summary h2 {
  color: #f0ece4;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 16px;
}

.application-summary p {
  color: rgba(240,236,228,.6);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.75;
}

.application-summary .btn { background: var(--orange); color: #fff; }
.application-summary .btn:hover { background: #e06a10; }

@media (max-width: 900px) {
  .application-product {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .application-product:nth-child(even) { direction: ltr; }
  .application-product-bg { min-height: 320px; }
  .application-product-bg::after { display: none; }
  .application-product-panel { padding: 36px 28px; }
  .application-product-panel::before { font-size: 80px; right: 16px; }
  .application-intro-inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 520px) {
  .application-product-bg { min-height: 240px; }
  .application-product-panel { padding: 28px 20px; }
  .application-product-panel::before { display: none; }
  .application-thumbs { padding: 8px 12px; }
  .application-thumbs img { width: 72px; height: 56px; }
}

/* ========================================================================
   BLOG
   ======================================================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

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

.blog-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.35;
}

.blog-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
}

.blog-card .date {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ========================================================================
   SOLUTIONS
   ======================================================================== */

.solution-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.9;
  color: var(--text);
  font-size: 15px;
}

.solution-content h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--primary);
  margin: 32px 0 12px;
}

.solution-content h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--primary);
  margin: 24px 0 8px;
}

.solution-content p {
  margin-bottom: 16px;
  color: var(--text-light);
}

.solution-content ul,
.solution-content ol {
  margin: 12px 0 20px;
  padding-left: 24px;
}

.solution-content li {
  margin-bottom: 8px;
  color: var(--text-light);
  list-style: disc;
}

/* ========================================================================
   CONTACT
   ======================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}

.contact-info-block {
  color: var(--text-light);
  line-height: 2.2;
}

.contact-info-block h3 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 20px;
  margin-bottom: 16px;
}

.contact-info-block strong {
  color: var(--text);
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-light);
  font-size: 14px;
  transition: all var(--transition);
}

.social-links a:hover {
  border-color: #f47b20;
  color: #f47b20;
  background: rgba(244,123,32,0.04);
}

/* Form */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(29,78,216,0.12);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* ========================================================================
   FOOTER
   ======================================================================== */

.footer {
  background: #0a1628;
  color: var(--text-on-dark);
  padding: 60px 24px 0;
}

.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: #f47b20;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col p,
.footer-col li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-on-dark);
}

.footer-col a {
  color: var(--text-on-dark);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #f0ece4;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-brand {
  font-size: 18px !important;
  font-weight: 700;
  color: #f0ece4 !important;
  font-family: var(--font-heading);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  padding: 24px;
  font-size: 13px;
  color: #475569;
}

/* ========================================================================
   ANIMATIONS
   ======================================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ========================================================================
   RESPONSIVE — TABLETS
   ======================================================================== */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .product-detail-card {
    gap: 28px;
    padding: 28px;
  }
}

/* ========================================================================
   RESPONSIVE — MOBILE
   ======================================================================== */

@media (max-width: 768px) {
  /* Navigation */
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-toggle { display: block; }

  .nav-links > li > a {
    padding: 12px 16px;
    font-size: 15px;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--border);
    border-radius: 0;
    margin: 0 0 4px 12px;
    padding: 4px 0 4px 12px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .dropdown.active .dropdown-menu {
    max-height: 400px;
  }

  .dropdown-menu a {
    padding: 10px 12px;
  }

  .dropdown > a .arrow { display: inline-block; }

  /* Hero */
  .hero {
    padding: 100px 20px 60px;
  }

  .hero h1 {
    font-size: 30px;
  }

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

  /* Sections */
  .section {
    padding: 56px 20px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Product detail */
  .product-detail-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  .spec-table {
    font-size: 13px;
  }

  .spec-table th,
  .spec-table td {
    padding: 10px 14px;
  }

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

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* About */
  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

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

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

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

  .page-hero {
    padding: 100px 20px 60px;
  }

  .nav-l { gap: 12px; }
  .nav-l a { font-size: 13px; }
}

/* ── Small phones ── */
@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
  }

  .product-detail-card {
    padding: 16px;
  }

  .container {
    padding: 0 16px;
  }
}
