:root {
  --primary: #1a2a4a;
  --primary-light: #2d4a7a;
  --accent: #c41e3a;
  --accent-hover: #a01830;
  --tech-blue: #2f6bff;
  --tech-cyan: #22d3ee;
  --tech-red: #ff4d6a;
  --bg: #ffffff;
  --bg-light: #f6f7f9;
  --bg-dark: #0b1424;
  --bg-dark-2: #101f3a;
  --text: #1a1a2e;
  --text-muted: #5a5a6e;
  --text-light: #8a8a9a;
  --border: #e2e4ea;
  --border-light: #f0f1f5;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.1);
  --max-width: 1200px;
  --header-height: 88px;
  --font: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration:none; color:inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top:0; left:0; right:0;
  height: var(--header-height);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: var(--shadow); }

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-link img {
  height: 56px;
  width: auto;
}
.logo-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-item {
  position: relative;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  cursor: pointer;
}
.nav-item:hover { color: var(--primary); background: var(--bg-light); }
.nav-item.active { color: var(--accent); }

.nav-item.has-dropdown::after {
  content: "\25BC";
  font-size: 0.6rem;
  margin-left: 4px;
  opacity: 0.5;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s;
  z-index: 1001;
}
.nav-item:hover .dropdown { opacity:1; visibility:visible; transform:translateY(0); }
.dropdown a {
  display: block;
  padding: 8px 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all 0.15s;
}
.dropdown a:hover { color: var(--accent); background: var(--bg-light); }

.nav-cta {
  margin-left: 12px;
  padding: 8px 20px;
  background: var(--accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-hover); }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s;
}

/* Right-side Section Nav */
.section-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}
.section-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 0;
  transition: all 0.2s;
}
.section-nav-label {
  font-size: 0.7rem;
  color: var(--text-light);
  opacity: 0;
  transform: translateX(6px);
  transition: all 0.2s;
  white-space: nowrap;
  font-weight: 500;
}
.section-nav-item:hover .section-nav-label { opacity:1; transform:translateX(0); }
.section-nav-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--border);
  transition: all 0.2s;
  flex-shrink: 0;
}
.section-nav-item.active .section-nav-dot {
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
  transform: scale(1.3);
}
.section-nav-item.active .section-nav-label { opacity:1; color: var(--accent); transform:translateX(0); }

/* Sections */
.section {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding: 0;
  scroll-margin-top: var(--header-height);
}
.section .container {
  margin: 0 auto;
  width: 100%;
}
.section:nth-of-type(even) { background: var(--bg-light); }
.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  text-align: center;
  letter-spacing: -0.5px;
  position: relative;
  padding-bottom: 16px;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  border-radius: 99px;
  background: var(--accent);
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

/* Hero — Unified CAD Studio Composition */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 0;
}
.hero .container { width: 100%; position: relative; z-index: 1; }
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

/* Full-width background layer */
.hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-layer::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 15%;
  background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.75) 35%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-bg-layer::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
  height: 28%;
  background: linear-gradient(to top, rgba(255,255,255,1.0) 0%, rgba(255,255,255,0.92) 25%, rgba(255,255,255,0.6) 55%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}
.hero-bg-atmo {
  position: absolute;
  inset: 0;
  background: url('../images/hero-design-studio.jpg') center / cover no-repeat;
  opacity: 0.18;
  filter: grayscale(0.2) brightness(1.05);
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  background: url('../images/hero-cad-banner.webp') calc(100% - 24px) center / auto 76% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 16%, black 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 16%, black 100%);
}
@media (max-width: 768px) {
  .hero-bg-img {
    background-image: url('../images/hero-cad-banner-mobile.webp');
  }
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(248,249,252,0.96) 0%,
    rgba(248,249,252,0.82) 38%,
    rgba(248,249,252,0.35) 60%,
    transparent 76%
  );
}

/* Left text area with atmospheric readability */
.hero-content {
  flex: 1;
  max-width: 600px;
  position: relative;
}
.hero-text-atmo {
  position: absolute;
  inset: -30px -40px -30px -60px;
  background: linear-gradient(90deg,
    rgba(255,255,255,0.82) 0%,
    rgba(255,255,255,0.55) 50%,
    rgba(255,255,255,0.15) 80%,
    transparent 100%
  );
  pointer-events: none;
  z-index: -1;
}
.hero-company {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hero-title {
  font-size: 3.0rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -1.5px;
}
.hero-title span { color: var(--accent); }
.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
}
.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  max-width: 460px;
  line-height: 1.7;
}
.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-features {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-feature {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-feature-icon {
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  color: var(--accent);
  flex-shrink: 0;
}
.hero-feature-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Product layer — three cartridges naturally placed */
.hero-products-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.hero-cartridge-wrap {
  position: absolute;
  bottom: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-cartridge-wrap:hover {
  transform: translateY(-6px);
}
.hero-cartridge-wrap img {
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.14)) drop-shadow(0 6px 12px rgba(0,0,0,0.08));
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-cartridge-wrap:hover img {
  transform: translateY(-4px) scale(1.02);
}
.hero-cartridge-plus {
  left: 54%;
  bottom: 5%;
  z-index: 3;
}
.hero-cartridge-plus img { width: 250px; height: auto; }
.hero-cartridge-grade {
  left: 68%;
  bottom: 5%;
  z-index: 2;
}
.hero-cartridge-grade img { width: 215px; height: auto; }
.hero-cartridge-regular {
  left: 81%;
  bottom: 5%;
  z-index: 1;
}
.hero-cartridge-regular img { width: 195px; height: auto; }

/* Floating cartridge labels */
.hero-cartridge-label {
  margin-top: 14px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 7px 16px;
  border-radius: 6px;
  border: 1px solid rgba(26,42,74,0.06);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.cartridge-label-grade {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.3px;
  line-height: 1.2;
}
.cartridge-label-name {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.2;
}
.cartridge-label-tag {
  font-size: 0.64rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.3px;
  line-height: 1.2;
}

/* Buttons */
.btn-arrow {
  margin-left: 2px;
  transition: transform 0.25s;
  display: inline-block;
  vertical-align: middle;
}
.btn-primary:hover .btn-arrow,
.btn-outline:hover .btn-arrow {
  transform: translateX(4px);
}
.btn-primary {
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196,30,58,0.25);
}
.btn-outline {
  padding: 14px 28px;
  background: #fff;
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(196,30,58,0.04);
}

/* Products — CAD Solution Selection */
.section.section-products {
  background: var(--bg);
  background-image:
    linear-gradient(to right, rgba(26,42,74,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(26,42,74,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
}
.section-products .container {
  padding-top: 48px;
  padding-bottom: 48px;
}
/* Section header — centered */
.products-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}
.products-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.products-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}
.products-intro {
  max-width: 720px;
  margin: -24px auto 44px;
  text-align: center;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.products-spec {
  margin-top: 30px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.products-spec-label {
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.78rem;
  margin-right: 8px;
}
.products-spec-value {
  font-weight: 600;
  color: var(--primary);
}
/* Grade cards — three columns */
.grade-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.grade-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s;
}
.grade-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.grade-card-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.2px;
}
.grade-card-image {
  width: 100%;
  margin: 16px 0;
  padding: 18px 12px;
  background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.grade-card-image img {
  max-height: 170px;
  width: auto;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.10));
}
.grade-card-tagline {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 14px;
}
.grade-card-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.grade-card-checks li {
  font-size: 0.86rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.grade-card-checks li::before {
  content: "\2713";
  color: var(--accent);
  font-weight: 700;
  font-size: 0.76rem;
  flex-shrink: 0;
}
/* Grade accents */
.grade-card-plus { border-top: 3px solid var(--accent); }
.grade-card-plus:hover { box-shadow: 0 8px 32px rgba(196,30,58,0.08); }
.grade-card-a { border-top: 3px solid var(--primary); }
.grade-card-a:hover { box-shadow: 0 8px 32px rgba(26,42,74,0.08); }
.grade-card-regular { border-top: 3px solid #c3cad6; }
/* Compatible-with strip */
.products-compat {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 18px;
}
.products-compat-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-light);
}
.products-compat-item {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 7px 18px;
}
.products-compat-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}
/* Conversion CTA — single primary action below the three grade cards */
.products-cta {
  margin-top: 56px;
  text-align: center;
}
.products-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 52px;
  background: var(--accent);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(196,30,58,0.18);
  transition: all 0.25s;
}
.products-cta-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(196,30,58,0.30);
}
.products-cta-btn:hover .btn-arrow {
  transform: translateX(4px);
}
.products-cta-note {
  margin: 18px auto 0;
  max-width: 560px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Compatible Plotters & Cutters — Reference Design */
.section-compat {
  background: var(--bg);
  background-image:
    linear-gradient(to right, rgba(26,42,74,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(26,42,74,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
}

.compat-workflow {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}
.workflow-strip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 16px 28px;
  box-shadow: var(--shadow-sm);
  justify-content: center;
}
.workflow-step {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-light);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  color: var(--text-dark);
  font-weight: 600;
}
.workflow-step-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}
.workflow-arrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
}

.compat-subtitle {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 24px;
  margin-top: 0;
}

.compat-grade-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.compat-grade-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s;
}
.compat-grade-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.compat-grade-card.plus { border-top: 3px solid var(--accent); }
.compat-grade-card.a { border-top: 3px solid var(--primary); }
.compat-grade-card.regular { border-top: 3px solid #3b82f6; }

.grade-images {
  position: relative;
  width: 100%;
  height: 180px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.grade-img {
  max-height: 150px;
  width: auto;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.12));
  transition: transform 0.3s;
}
.grade-img-back {
  position: absolute;
  transform: translate(-38px, 8px) rotate(-8deg) scale(0.90);
  opacity: 0.85;
}
.grade-img-front {
  position: relative;
  z-index: 1;
}
.compat-grade-card:hover .grade-img-back {
  transform: translate(-42px, 6px) rotate(-10deg) scale(0.92);
}
.compat-grade-card:hover .grade-img-front {
  transform: translateY(-4px) scale(1.03);
}

.grade-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.grade-position {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.grade-plus .grade-position { color: var(--accent); }
.grade-a .grade-position { color: var(--primary); }
.grade-regular .grade-position { color: #3b82f6; }
.grade-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 280px;
}

.compat-machine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.compat-machine-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}
.compat-machine-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.machine-card-header {
  padding: 22px 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.machine-card-header h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}
.machine-card-header p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}
.machine-card-visual {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.machine-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  box-sizing: border-box;
  transition: transform 0.4s;
}
.compat-machine-card:hover .machine-card-visual img {
  transform: scale(1.03);
}
.machine-chips {
  padding: 14px 24px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.machine-chip {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 3px 10px;
  line-height: 1.4;
}
.machine-note {
  padding: 0 24px 22px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.4;
  margin-top: auto;
}

.compat-cta-banner {
  background: #EEF2F6;
  border: 1px solid #dce4ec;
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.compat-cta-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(196,30,58,0.08);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.compat-cta-banner-icon svg {
  width: 22px;
  height: 22px;
}
.compat-cta-banner h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}
.compat-cta-banner p {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 6px;
  line-height: 1.55;
}
.compat-cta-banner .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s;
  margin-top: 4px;
}
.compat-cta-banner .btn:hover {
  background: var(--primary);
  color: #fff;
}

/* Applications */
.section-applications { background: linear-gradient(180deg, #fff 0%, #f8f9fc 100%); }
.apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.app-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 12px rgba(26, 42, 74, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.app-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.app-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #eef0f4;
}
.app-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(0.96) brightness(1.06);
  transition: transform 0.4s ease, filter 0.4s ease;
}
.app-card:hover .app-card-image img { transform: scale(1.06); }
.app-card-body { padding: 24px 22px 26px; flex: 1; }
.app-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.app-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Resources & Knowledge */
.kb-header { text-align: center; max-width: 720px; margin: 0 auto 28px; }
.kb-search {
  position: relative;
  max-width: 320px;
  margin: 18px auto 0;
}
.kb-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}
#kbSearch {
  width: 100%;
  padding: 8px 16px 8px 40px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--primary);
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
#kbSearch::placeholder { color: var(--text-light); }
#kbSearch:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.08);
}

/* Filter Tabs */
.kb-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}
.kb-filter {
  padding: 7px 18px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  background: #fff;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.kb-filter:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.kb-filter.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* No Results — subtle text, not a red dashed box */
.kb-no-results {
  text-align: center;
  padding: 20px;
  margin-bottom: 24px;
  color: var(--text-light);
  font-size: 0.88rem;
}

.kb-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.kb-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 26px 28px 22px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
}
.kb-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-3px); }
.kb-card.is-hidden { display: none; }
.kb-card-label {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(196, 30, 58, 0.07);
  border-radius: 4px;
  padding: 4px 9px;
  margin-bottom: 14px;
}
.kb-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 10px;
}
.kb-card-summary {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.kb-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.kb-card-body > * { font-size: 0.87rem; color: var(--text-muted); line-height: 1.7; }
.kb-card-body ul, .kb-card-body ol { padding-left: 20px; margin: 10px 0; }
.kb-card-body li { margin-bottom: 6px; }
.kb-card-body strong { color: var(--primary); font-weight: 600; }
.kb-card.expanded .kb-card-body { max-height: 1200px; margin-top: 4px; }
.kb-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 14px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.2s;
}
.kb-read-more:hover { color: var(--primary); }
.kb-read-more-arrow { font-size: 0.7rem; transition: transform 0.3s; }
.kb-card.expanded .kb-read-more-arrow { transform: rotate(180deg); }
.kb-cta {
  margin-top: 52px;
  background: #EEF2F6;
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.kb-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: #D7193F;
}
.kb-cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #13284B;
  margin-bottom: 14px;
}
.kb-cta-text {
  font-size: 0.95rem;
  color: #4B5563;
  line-height: 1.7;
  margin-bottom: 26px;
}
.kb-cta .btn-primary, .kb-cta a.btn, .kb-cta > a {
  display: inline-block;
  background: #D7193F;
  color: #fff;
  padding: 13px 34px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.25s;
}
.kb-cta > a:hover { background: #B01534; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(215, 25, 63, 0.35); }

/* About — Focused 45A CAD Printing Partner */
.section-about {
  min-height: calc(100vh - var(--header-height)); /* ensures About fills at least one viewport so FAQ title doesn't bleed in */
  background: var(--bg-light);
  background-image:
    linear-gradient(to right, rgba(26,42,74,0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(26,42,74,0.028) 1px, transparent 1px);
  background-size: 40px 40px;
}
.section-about .container {
  padding-top: 72px;
  padding-bottom: 72px;
}
.about-layout {
  display: flex;
  align-items: center;
  gap: 64px;
}
.about-left {
  flex: 0 0 44%;
  max-width: 44%;
}
.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.about-eyebrow-line {
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: 99px;
  flex-shrink: 0;
}
.about-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.22;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
.about-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 26px;
}
.about-support {
  padding: 16px 20px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.about-support-text {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.7;
}
.about-support-text strong {
  color: var(--primary);
  font-weight: 700;
}
.about-right {
  flex: 1;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.about-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: all 0.25s;
}
.about-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--accent), rgba(196,30,58,0.18));
  opacity: 0;
  transition: opacity 0.25s;
}
.about-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.about-card:hover::before { opacity: 1; }
.about-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.about-card-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.about-card-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 1px;
}
.about-card-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 8px;
}
.about-card-text {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* FAQ */
.faq-category { margin-bottom: 44px; }
.faq-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.faq-category-bar {
  width: 4px;
  height: 22px;
  border-radius: 2px;
  background: var(--accent);
  flex: none;
}
.faq-category-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.2px;
}
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.25s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.faq-item:hover { border-color: var(--border); box-shadow: var(--shadow); }
.faq-item.open { border-color: rgba(196, 30, 58, 0.35); box-shadow: var(--shadow); }
.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  transition: all 0.2s;
}
.faq-question:hover { background: var(--bg-light); }
.faq-q-text { flex: 1; }
.faq-toggle {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: all 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-toggle { transform: rotate(180deg); background: var(--accent); color: #fff; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer {
  max-height: 900px;
  padding: 0 24px 22px;
}
.faq-answer p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 8px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul { padding-left: 20px; margin: 8px 0 12px; }
.faq-answer li { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 5px; }
.faq-answer strong { color: var(--primary); font-weight: 600; }
.faq-compare {
  margin-top: 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-light);
}
.faq-compare-row {
  display: flex;
  gap: 16px;
  padding: 12px 16px;
  align-items: center;
  background: #fff;
}
.faq-compare-row + .faq-compare-row { border-top: 1px solid var(--border-light); }
.faq-compare-name { flex: 0 0 120px; }
.faq-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.faq-badge-premium { background: rgba(196, 30, 58, 0.09); color: var(--accent); }
.faq-badge-gradea { background: rgba(26, 42, 74, 0.08); color: var(--primary); }
.faq-badge-regular { background: rgba(138, 138, 154, 0.14); color: var(--text-muted); }
.faq-compare-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.faq-reco { margin: 8px 0 0; }
.faq-cta {
  margin-top: 56px;
  background: #EEF2F6;
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.faq-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: #D7193F;
}
.faq-cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #13284B;
  margin-bottom: 14px;
}
.faq-cta-text {
  font-size: 0.95rem;
  color: #4B5563;
  line-height: 1.7;
  margin-bottom: 26px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.faq-cta-btn {
  display: inline-block;
  background: #D7193F;
  color: #fff;
  padding: 13px 34px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.25s;
}
.faq-cta-btn:hover { background: #B01534; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(215, 25, 63, 0.35); }

/* Contact / Get Quote */
.contact-inner { display: flex; gap: 60px; }
.contact-info { flex: 0 0 380px; }
.contact-info-title { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.contact-info-text { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; }
.contact-method { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.contact-method-icon {
  width: 40px; height: 40px;
  background: var(--bg-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent);
}
.contact-method-icon--whatsapp { color: #25D366; }
.contact-method-icon svg { width: 22px; height: 22px; display: block; }
.contact-method-label { font-size: 0.75rem; color: var(--text-light); font-weight: 500; }
.contact-method-value { font-size: 0.9rem; color: var(--primary); font-weight: 600; }
.contact-method-value + .contact-method-value { margin-top: 4px; }
.contact-method-link { color: inherit; text-decoration: none; transition: color 0.2s; }
.contact-method-link:hover { color: var(--accent); text-decoration: underline; }

.contact-form { flex: 1; background: #fff; border-radius: var(--radius); border: 1px solid var(--border-light); padding: 36px; }
#contact { padding-bottom: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196,30,58,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #bbb; }
.form-group textarea { min-height: 120px; resize: vertical; }

/* Country / Region searchable selector */
.country-select { position: relative; width: 100%; }
.country-select-input {
  width: 100%;
  padding: 12px 40px 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  cursor: text;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.country-select-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196,30,58,0.08);
}
.country-select-input::placeholder { color: #bbb; }
.country-select-chevron {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  font-size: 0.7rem;
  color: var(--text-light);
  cursor: pointer;
}
.country-select-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 232px;
  overflow-y: auto;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  z-index: 60;
}
.country-select-list[hidden] { display: none; }
.country-select-option {
  padding: 9px 12px;
  font-size: 0.9rem;
  color: var(--text);
  border-radius: 4px;
  cursor: pointer;
}
.country-select-option:hover,
.country-select-option.is-active { background: var(--bg-light); }
.country-select-option.is-selected { font-weight: 700; }
.country-select-empty { padding: 10px 12px; font-size: 0.85rem; color: var(--text-light); }

.form-error { font-size: 0.75rem; color: var(--accent); margin-top: 4px; display: none; }
.form-group.error input,
.form-group.error select,
.form-group.error textarea,
.form-group.error .country-select-input { border-color: var(--accent); }
.form-group.error .form-error { display: block; }

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}
.form-submit:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(196,30,58,0.25); }

.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
.form-success-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.75rem;
  color: #fff;
}
.form-success h3 { font-size: 1.5rem; color: var(--primary); margin-bottom: 8px; }
.form-success p { color: var(--text-muted); }

/* Form submission failure message */
.form-failure {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
.form-failure h3 { font-size: 1.5rem; color: var(--accent); margin-bottom: 8px; }
.form-failure p { color: var(--text-muted); }
.form-failure a { color: var(--accent); text-decoration: underline; }
.form-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Footer */
.footer {
  position: relative;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 64px 0 0;
}
.footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  opacity: 0.4;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1.6fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand img { height: 56px; width: auto; margin-bottom: 18px; }
.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 320px;
}
.footer-factory {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 0.72rem;
  color: var(--text-light);
  line-height: 1.5;
  white-space: nowrap;
}
.footer-factory strong { color: var(--primary); font-weight: 600; }
.footer-col h4 {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.footer-col a,
.footer-col span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 4px 0;
  line-height: 1.6;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-col-contact .footer-contact-block {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 18px;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.footer-contact-item:last-of-type { margin-bottom: 0; }
.footer-contact-item-multi { align-items: flex-start; }
.footer-contact-icon {
  flex: 0 0 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-top: 1px;
}
.footer-contact-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.footer-contact-icon--whatsapp { color: #1F2937; }
.footer-contact-item-multi .footer-contact-icon { margin-top: 3px; }
.footer-contact-value {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 4px 0;
  white-space: nowrap;
}
.footer-contact-values .footer-contact-value + .footer-contact-value { margin-top: 2px; }
a.footer-contact-value { transition: color 0.2s; }
a.footer-contact-value:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 20px 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-light);
}
.footer-bottom-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-bottom-right a { color: var(--text-muted); transition: color 0.2s; }
.footer-bottom-right a:hover { color: var(--accent); }
.footer-sep { color: var(--border); }
.footer-registered {
  border-top: 1px solid var(--border-light);
  padding: 16px 0 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: 10px;
  row-gap: 4px;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.7;
  text-align: center;
}
.footer-registered-label {
  font-weight: 500;
  color: var(--text-light);
}

/* Legal Pages (Privacy Policy / Terms of Use) */
.legal-page {
  background: var(--bg-light);
  min-height: 100vh;
  padding: calc(var(--header-height) + 48px) 0 88px;
}
.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}
.legal-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 56px 64px;
}
.legal-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.legal-date {
  font-size: 0.9rem;
  color: var(--text-light);
  padding-bottom: 22px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
}
.legal-intro {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 34px;
}
.legal-section { margin-bottom: 32px; }
.legal-section h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}
.legal-section p {
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 10px;
}
.legal-section ul {
  padding-left: 20px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 10px;
}
.legal-section li { margin-bottom: 6px; }
.legal-contact {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-top: 6px;
}
.legal-contact p { margin-bottom: 4px; }
.legal-contact a { color: var(--accent); text-decoration: none; }
.legal-contact a:hover { text-decoration: underline; }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height); left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
}
/* Static fallback nav — only rendered inside <noscript>, hidden by default */
.noscript-nav { display: none; }
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  border-bottom: 1px solid var(--border-light);
}
.mobile-menu .mobile-cta {
  margin-top: 24px;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  text-align: center;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

/* Responsive */
/* Desktop nav compression for longer labels */
@media (max-width: 1280px) {
  .nav-item { padding: 8px 8px; font-size: 0.79rem; }
  .nav-cta { padding: 8px 12px; font-size: 0.79rem; }
  .header-inner { padding: 0 16px; }
}
@media (max-width: 1180px) {
  .nav-desktop { display: none; }
  .mobile-toggle { display: flex; }
  /* Static fallback nav rendered only when JavaScript is disabled */
  .noscript-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid var(--border-light);
  }
  .noscript-nav a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
  }
  .noscript-nav a:hover { color: var(--accent); }
}
@media (max-width: 1024px) {
  .section-nav { display: none; }
  .hero-inner { flex-direction: column; text-align: center; gap: 48px; }
  .hero-content { order: 1; max-width: 100%; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-cta-group { justify-content: center; }
  .hero-features { justify-content: center; }
  .hero-text-atmo {
    inset: -20px -20px -20px -20px;
    background: linear-gradient(180deg,
      rgba(255,255,255,0.9) 0%,
      rgba(255,255,255,0.7) 60%,
      transparent 100%
    );
  }
  .hero-bg-overlay {
    background: linear-gradient(180deg,
      rgba(248,249,252,0.96) 0%,
      rgba(248,249,252,0.88) 40%,
      rgba(248,249,252,0.50) 60%,
      rgba(248,249,252,0.15) 78%,
      transparent 100%
    );
  }
  .hero-bg-img {
    background-position: center bottom 40px;
    background-size: auto 55%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 12%, black 100%);
    mask-image: linear-gradient(180deg, transparent 0%, black 12%, black 100%);
  }
  .about-layout { flex-direction: column; align-items: flex-start; gap: 44px; }
  .about-left { flex: none; max-width: 100%; }
  .about-right { width: 100%; }
  .about-title { font-size: 1.95rem; }
  .contact-inner { flex-direction: column; }
  .contact-info { flex: none; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .grade-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .grade-card { padding: 22px 18px 20px; }
  .grade-card-image img { max-height: 145px; }
  .products-compat { gap: 10px 12px; }
  .compat-grade-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .compat-machine-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.6rem; }
  .hero-company { font-size: 0.85rem; letter-spacing: 2px; }
  .hero-subtitle { font-size: 1.15rem; }
  .hero-features { gap: 20px; }
  .hero-feature { flex: 0 0 calc(50% - 10px); }
  .hero-bg-img {
    background-size: auto 48%;
  }
  .grade-grid { grid-template-columns: 1fr; gap: 18px; }
  .grade-card-image img { max-height: 160px; }
  .products-header { margin-bottom: 32px; }
  .products-title { font-size: 1.75rem; }
  .products-cta { margin-top: 40px; }
  .products-cta-btn { min-height: 52px; padding: 0 40px; font-size: 1rem; }
  .products-cta-note { font-size: 0.88rem; }
  .products-compat { flex-direction: column; gap: 10px; }
  .products-compat-dot { display: none; }
  .compat-grade-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .compat-machine-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .compat-workflow { margin-bottom: 36px; }
  .workflow-strip { padding: 14px 20px; gap: 8px; }
  .workflow-step { padding: 5px 10px; font-size: 0.74rem; }
  .grade-images { height: 150px; }
  .grade-img { max-height: 130px; }
  .machine-card-visual { height: 150px; }
  .compat-cta-banner { padding: 28px 22px; }
  .apps-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .kb-grid { grid-template-columns: 1fr; gap: 18px; }
  .kb-header { margin-bottom: 22px; }
  .kb-filters { gap: 6px; margin-bottom: 22px; }
  .kb-cta { padding: 36px 24px; }
  .faq-category { margin-bottom: 34px; }
  .faq-cta { padding: 36px 24px; }
  .faq-compare-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .faq-compare-name { flex: none; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 0; }
  .section-title { font-size: 1.75rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-contact-icon { flex: 0 0 20px; height: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-registered { justify-content: flex-start; text-align: left; }
  .legal-page { padding: calc(var(--header-height) + 28px) 0 64px; }
  .legal-card { padding: 36px 24px; }
  .legal-title { font-size: 1.7rem; }
  .legal-section h2 { font-size: 1.05rem; }
}

@media (max-width: 480px) {
  .compat-grade-grid { grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; }
  .compat-machine-grid { grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; }
  .workflow-strip { flex-direction: column; gap: 10px; width: 100%; }
  .workflow-arrow { display: none; }
  .workflow-step { width: 100%; justify-content: center; }
  .grade-images { height: 160px; }
  .grade-img { max-height: 140px; }
  .apps-grid { grid-template-columns: 1fr; }
  .app-card-image { height: 180px; }
  .hero-title { font-size: 2.1rem; }
  .hero-company { font-size: 0.78rem; letter-spacing: 1.5px; }
  .hero-bg-overlay {
    background: linear-gradient(180deg,
      rgba(248,249,252,0.98) 0%,
      rgba(248,249,252,0.92) 55%,
      rgba(248,249,252,0.55) 82%,
      transparent 100%
    );
  }
  .hero-bg-img {
    background-size: auto 42%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 10%, black 100%);
    mask-image: linear-gradient(180deg, transparent 0%, black 10%, black 100%);
  }
  .hero-features { flex-direction: column; align-items: center; }
  .hero-feature { flex: none; }
  .about-grid { grid-template-columns: 1fr; gap: 16px; }
  .about-title { font-size: 1.7rem; }
  .footer-contact-icon { flex: 0 0 18px; height: 18px; }
  .section-about .container { padding-top: 56px; padding-bottom: 56px; }
  .faq-question { padding: 18px 16px; font-size: 0.95rem; }
  .faq-item.open .faq-answer { padding: 0 16px 18px; }
}
