/* ==========================================================================
   NEXT 3D - TECHNICAL SERVICE LANDING PAGE STYLES (MASTER TEMPLATE)
   Applicable for SLA, FDM, SLS, 3D Scanning & CAD Reverse Engineering
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. STICKY SUB-NAV (QUICK NAVIGATION ANCHOR BAR)
   -------------------------------------------------------------------------- */
.n3d-subnav-sticky {
  position: sticky;
  top: 0;
  z-index: 990;
  background: rgba(5, 40, 36, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219, 225, 52, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.n3d-subnav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.n3d-subnav-list::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.n3d-subnav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #CBE6E2;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  text-decoration: none;
}

.n3d-subnav-link i {
  font-size: 12px;
  color: var(--n3d-pear);
  transition: transform 0.2s ease;
}

.n3d-subnav-link:hover {
  color: #FFFFFF;
  background: rgba(222, 241, 251, 0.12);
}

.n3d-subnav-link:hover i {
  transform: scale(1.15);
}

.n3d-subnav-link.active {
  color: var(--n3d-pear);
  background: rgba(219, 225, 52, 0.16);
  border: 1px solid rgba(219, 225, 52, 0.35);
  box-shadow: 0 2px 8px rgba(219, 225, 52, 0.2);
}

.n3d-subnav-cta {
  margin-left: auto;
  flex-shrink: 0;
}

.n3d-btn-subnav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--n3d-pear);
  color: var(--n3d-pear-text);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 10px rgba(219, 225, 52, 0.35);
  transition: all 0.25s ease;
}

.n3d-btn-subnav:hover {
  background: #FFFFFF;
  color: var(--n3d-primary);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   2. ULTRA-MODERN HERO SECTION
   -------------------------------------------------------------------------- */
.n3d-sla-hero {
  position: relative;
  background: linear-gradient(135deg, var(--n3d-deep) 0%, #083832 50%, var(--n3d-primary) 100%);
  color: #FFFFFF;
  padding: 70px 0 95px 0;
  overflow: hidden;
}

.n3d-hero-ambient-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(219, 225, 52, 0.18) 0%, rgba(10, 70, 64, 0.05) 55%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.n3d-hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(222, 241, 251, 0.07) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
}

.n3d-sla-hero .container {
  position: relative;
  z-index: 2;
}

.n3d-sla-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 50px;
  align-items: center;
}

.n3d-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  white-space: nowrap;
  margin-bottom: 20px;
  max-width: 100%;
}

.n3d-badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(219, 225, 52, 0.16);
  border: 1px solid rgba(219, 225, 52, 0.45);
  color: var(--n3d-pear);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: 0 0 16px rgba(219, 225, 52, 0.25);
  white-space: nowrap;
  flex-shrink: 0;
}

.n3d-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--n3d-pear);
  box-shadow: 0 0 8px var(--n3d-pear);
  animation: n3d-radar-pulse 1.8s infinite;
}

@keyframes n3d-radar-pulse {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
  100% { transform: scale(0.9); opacity: 1; }
}

.n3d-hero-tag-text {
  font-size: 14px;
  color: #CBE6E2;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.n3d-sla-title {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
  color: #FFFFFF;
  letter-spacing: -0.5px;
}

.n3d-gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--n3d-neon) 45%, var(--n3d-pear) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 30px rgba(219, 225, 52, 0.3);
}

.n3d-sla-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #E2EFF2;
  margin-bottom: 28px;
  max-width: 620px;
}

.n3d-hero-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  list-style: none;
  padding: 0;
}

.n3d-hero-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: #F1F8F8;
}

.n3d-check-icon {
  width: 22px;
  height: 22px;
  background: rgba(219, 225, 52, 0.2);
  border: 1px solid var(--n3d-pear);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--n3d-pear);
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 1px;
  box-shadow: 0 0 10px rgba(219, 225, 52, 0.3);
}

.n3d-hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.n3d-glow-btn {
  box-shadow: 0 4px 20px rgba(219, 225, 52, 0.4);
  animation: n3d-btn-glow 3s infinite alternate;
}

@keyframes n3d-btn-glow {
  0% { box-shadow: 0 4px 18px rgba(219, 225, 52, 0.35); }
  100% { box-shadow: 0 6px 28px rgba(219, 225, 52, 0.6); }
}

/* Hero Media Card 3D */
.n3d-sla-hero-media {
  position: relative;
}

.n3d-sla-media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(222, 241, 251, 0.3);
  background: #000;
  transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.n3d-sla-media-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-6px);
  border-color: var(--n3d-pear);
}

.n3d-sla-media-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.n3d-sla-media-card:hover img {
  transform: scale(1.04);
}

.n3d-media-overlay-badge {
  position: absolute;
  background: rgba(5, 40, 36, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FFFFFF;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(219, 225, 52, 0.45);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.n3d-badge-icon {
  width: 32px;
  height: 32px;
  background: rgba(219, 225, 52, 0.18);
  color: var(--n3d-pear);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.badge-sub {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #A3C9C4;
}

.n3d-media-overlay-badge strong {
  font-size: 15px;
  color: var(--n3d-pear);
  font-weight: 800;
}

.n3d-media-overlay-badge.badge-top-left {
  top: 20px;
  left: 20px;
}

.n3d-media-overlay-badge.badge-top-right {
  top: 20px;
  right: 20px;
}

.n3d-media-overlay-badge.badge-bottom-full {
  bottom: 20px;
  left: 20px;
  right: 20px;
}

/* --------------------------------------------------------------------------
   3. QUICK SPECS BAR (TRUST METRICS)
   -------------------------------------------------------------------------- */
.n3d-specs-bar {
  background-color: #FFFFFF;
  border: 1px solid var(--n3d-border);
  box-shadow: 0 14px 40px rgba(10, 70, 64, 0.12);
  margin-top: -34px;
  position: relative;
  z-index: 20;
  border-radius: var(--radius-lg);
}

.n3d-specs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.n3d-spec-item {
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-right: 1px solid var(--n3d-border-subtle);
  transition: all 0.25s ease;
}

.n3d-spec-item:last-child {
  border-right: none;
}

.n3d-spec-item:hover {
  background-color: var(--n3d-surface-alt);
}

.n3d-spec-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--n3d-neon) 0%, #cae7f7 100%);
  color: var(--n3d-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(10, 70, 64, 0.08);
  transition: transform 0.25s ease;
}

.n3d-spec-item:hover .n3d-spec-icon {
  transform: scale(1.1) rotate(-4deg);
  background: var(--n3d-primary);
  color: var(--n3d-pear);
}

.n3d-spec-number {
  font-size: 19px;
  font-weight: 900;
  color: var(--n3d-text-heading);
  line-height: 1.25;
  margin-bottom: 3px;
}

.n3d-spec-label {
  font-size: 12px;
  color: var(--n3d-text-muted);
  line-height: 1.4;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   4. TECH COMPARISON CARDS & MATRIX
   -------------------------------------------------------------------------- */
.n3d-tech-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.n3d-tech-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--n3d-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.n3d-tech-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(10, 70, 64, 0.12);
}

.n3d-tech-card.active-card {
  border: 2px solid var(--n3d-primary);
  box-shadow: 0 12px 32px rgba(10, 70, 64, 0.16);
}

.n3d-tech-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--n3d-pear);
  color: var(--n3d-pear-text);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.n3d-tech-badge.tech-badge-secondary {
  background: var(--n3d-deep);
  color: #FFFFFF;
}

.n3d-tech-img {
  height: 220px;
  overflow: hidden;
  background-color: #f1f1f1;
}

.n3d-tech-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.n3d-tech-card:hover .n3d-tech-img img {
  transform: scale(1.08);
}

.n3d-tech-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.n3d-tech-tag-pill {
  display: inline-block;
  align-self: flex-start;
  background: rgba(10, 70, 64, 0.08);
  color: var(--n3d-primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.n3d-tech-tag-pill.tag-muted {
  background: #EDF2F7;
  color: #4A5568;
}

.n3d-tech-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--n3d-text-heading);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.n3d-tech-title i {
  color: var(--n3d-primary);
}

.n3d-tech-desc {
  font-size: 14px;
  color: var(--n3d-text-body);
  line-height: 1.65;
  margin-bottom: 18px;
}

.n3d-tech-points {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--n3d-border-subtle);
  padding-top: 16px;
  list-style: none;
  padding-left: 0;
}

.n3d-tech-points li {
  font-size: 13px;
  color: var(--n3d-text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.n3d-tech-points li i {
  color: var(--n3d-primary);
  margin-top: 2px;
  flex-shrink: 0;
}

/* Comparison Table */
.n3d-compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.n3d-compare-table th, 
.n3d-compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--n3d-border);
}

.n3d-compare-table th {
  background-color: #F8FAFB;
  font-weight: 800;
  color: var(--n3d-text-heading);
  font-size: 14px;
}

.n3d-compare-table th.highlight-col,
.n3d-compare-table td.highlight-col {
  background-color: rgba(222, 241, 251, 0.45);
  border-left: 2px solid var(--n3d-primary);
  border-right: 2px solid var(--n3d-primary);
}

.n3d-compare-table th.highlight-col {
  color: var(--n3d-primary);
  font-size: 15px;
  font-weight: 900;
}

.badge-highlight {
  background-color: var(--n3d-primary);
  color: var(--n3d-pear);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 13px;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   5. MACHINE FLEET SECTION
   -------------------------------------------------------------------------- */
.n3d-fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.n3d-fleet-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--n3d-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.n3d-fleet-card:hover {
  transform: translateY(-6px);
  border-color: var(--n3d-primary);
  box-shadow: 0 12px 30px rgba(10, 70, 64, 0.1);
}

.n3d-fleet-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--n3d-deep) 0%, var(--n3d-primary) 100%);
  color: var(--n3d-pear);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  box-shadow: 0 6px 14px rgba(10, 70, 64, 0.2);
}

.n3d-fleet-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--n3d-text-heading);
  line-height: 1.35;
  margin-bottom: 10px;
}

.n3d-fleet-desc {
  font-size: 13.5px;
  color: var(--n3d-text-body);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.n3d-fleet-specs {
  border-top: 1px solid var(--n3d-border-subtle);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
  color: var(--n3d-text-muted);
}

.n3d-fleet-specs span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.n3d-fleet-specs span i {
  color: var(--n3d-primary);
}

.n3d-fleet-specs strong {
  color: var(--n3d-text-heading);
}

/* --------------------------------------------------------------------------
   6. MATERIALS MATRIX (6 DÒNG RESIN KỸ THUẬT)
   -------------------------------------------------------------------------- */
.n3d-materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.n3d-mat-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--n3d-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.n3d-mat-card:hover {
  transform: translateY(-6px);
  border-color: var(--n3d-primary);
  box-shadow: 0 16px 36px rgba(10, 70, 64, 0.1);
}

.n3d-mat-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--n3d-primary);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.n3d-mat-badge.badge-amber { background: #D97706; }
.n3d-mat-badge.badge-red { background: #DC2626; }
.n3d-mat-badge.badge-cyan { background: #0284C7; }
.n3d-mat-badge.badge-gold { background: #B45309; }
.n3d-mat-badge.badge-emerald { background: #059669; }

.n3d-mat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.mat-icon-blue { background: #E0F2FE; color: #0284C7; }
.mat-icon-amber { background: #FEF3C7; color: #D97706; }
.mat-icon-red { background: #FEE2E2; color: #DC2626; }
.mat-icon-cyan { background: #CFFAFE; color: #0891B2; }
.mat-icon-gold { background: #FEF3C7; color: #B45309; }
.mat-icon-emerald { background: #D1FAE5; color: #059669; }

.n3d-mat-header h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--n3d-text-heading);
  line-height: 1.3;
  margin-bottom: 6px;
}

.n3d-mat-tag {
  display: inline-block;
  background-color: rgba(10, 70, 64, 0.08);
  color: var(--n3d-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.n3d-mat-desc {
  font-size: 14px;
  color: var(--n3d-text-body);
  line-height: 1.6;
  margin-bottom: 18px;
}

.n3d-mat-specs {
  border-top: 1px solid var(--n3d-border-subtle);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--n3d-text-muted);
  list-style: none;
  padding-left: 0;
  margin-top: auto;
}

.n3d-mat-specs strong {
  color: var(--n3d-text-heading);
}

/* --------------------------------------------------------------------------
   7. PRICING & ESTIMATOR 2.0
   -------------------------------------------------------------------------- */
.n3d-discount-badges-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.n3d-discount-badge.badge-deep {
  background-color: var(--n3d-deep);
  color: #FFFFFF;
}

.n3d-discount-badge.badge-pear {
  background-color: var(--n3d-pear);
  color: var(--n3d-pear-text);
}

.n3d-estimator-box {
  margin-top: 48px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 2px solid var(--n3d-neon-border);
  box-shadow: 0 16px 40px rgba(10, 70, 64, 0.08);
  padding: 38px;
}

.n3d-range {
  height: 8px;
  border-radius: 4px;
}

.n3d-range::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--n3d-primary);
  border: 3px solid var(--n3d-pear);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.n3d-btn-sm {
  padding: 10px 18px;
  font-size: 13.5px;
}

/* --------------------------------------------------------------------------
   8. 5-STEP ROADMAP TIMELINE (PIPELINE)
   -------------------------------------------------------------------------- */
.n3d-process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
  position: relative;
}

.n3d-process-step {
  position: relative;
  display: flex;
  flex-direction: column;
}

.n3d-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.n3d-step-number {
  font-size: 34px;
  font-weight: 900;
  color: var(--n3d-pear);
  line-height: 1;
  letter-spacing: -1px;
}

.n3d-step-icon-top {
  width: 36px;
  height: 36px;
  background: rgba(219, 225, 52, 0.15);
  color: var(--n3d-pear);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.n3d-step-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(222, 241, 251, 0.16);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  height: 100%;
  transition: all 0.3s ease;
}

.n3d-step-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--n3d-pear);
  transform: translateY(-5px);
}

.n3d-step-img,
.n3d-step-media {
  height: 150px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.2);
  position: relative;
  flex-shrink: 0;
}

.n3d-step-img img,
.n3d-step-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.n3d-step-card:hover .n3d-step-img img,
.n3d-step-card:hover .n3d-step-media img {
  transform: scale(1.06);
}

.n3d-step-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.n3d-step-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1.35;
}

.n3d-step-content p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.n3d-process-step .n3d-step-badge,
.n3d-process-section .n3d-step-badge {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  border-radius: var(--radius-full) !important;
  background: rgba(219, 225, 52, 0.12) !important;
  color: var(--n3d-pear) !important;
  border: 1px solid rgba(219, 225, 52, 0.35) !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  padding: 6px 12px !important;
  gap: 6px !important;
  margin-top: auto !important;
  align-self: flex-start !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  transition: all 0.25s ease !important;
}

.n3d-process-step .n3d-step-badge i,
.n3d-process-section .n3d-step-badge i {
  font-size: 11px !important;
  color: var(--n3d-pear) !important;
}

/* --------------------------------------------------------------------------
   9. INDUSTRY APPLICATIONS (6 NGÀNH)
   -------------------------------------------------------------------------- */
.n3d-apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.n3d-app-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--n3d-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.n3d-app-card:hover {
  transform: translateY(-6px);
  border-color: var(--n3d-primary);
  box-shadow: 0 14px 32px rgba(10, 70, 64, 0.1);
}

.n3d-app-icon {
  width: 52px;
  height: 52px;
  background: var(--n3d-neon);
  color: var(--n3d-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  transition: transform 0.25s ease;
}

.n3d-app-card:hover .n3d-app-icon {
  background: var(--n3d-primary);
  color: var(--n3d-pear);
  transform: scale(1.1);
}

.n3d-app-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--n3d-text-heading);
  margin-bottom: 10px;
}

.n3d-app-card p {
  font-size: 14px;
  color: var(--n3d-text-body);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.n3d-app-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--n3d-primary);
  background: rgba(10, 70, 64, 0.06);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  align-self: flex-start;
}

/* --------------------------------------------------------------------------
   10. GALLERY ENHANCEMENTS
   -------------------------------------------------------------------------- */
.n3d-gal-tag {
  display: inline-block;
  background: var(--n3d-primary);
  color: var(--n3d-pear);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
  align-self: flex-start;
}

/* --------------------------------------------------------------------------
   10.1. FAQ ACCORDION COMPONENT
   -------------------------------------------------------------------------- */
.n3d-faq-accordion,
.n3d-faq-container {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.n3d-faq-item {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--n3d-border);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.n3d-faq-item:hover {
  border-color: rgba(10, 70, 64, 0.3);
  box-shadow: 0 4px 16px rgba(10, 70, 64, 0.06);
}

.n3d-faq-item.active {
  border-color: var(--n3d-primary);
  box-shadow: 0 8px 24px rgba(10, 70, 64, 0.09);
}

.n3d-faq-question {
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--n3d-text-heading);
  cursor: pointer;
  gap: 16px;
  transition: color 0.25s ease;
  font-family: inherit;
}

.n3d-faq-question:hover {
  color: var(--n3d-primary);
}

.n3d-faq-item.active .n3d-faq-question {
  color: var(--n3d-primary);
  font-weight: 800;
}

.n3d-faq-icon {
  font-size: 14px;
  color: var(--n3d-text-muted);
  transition: transform 0.3s ease, color 0.25s ease;
  flex-shrink: 0;
}

.n3d-faq-item.active .n3d-faq-icon {
  transform: rotate(180deg);
  color: var(--n3d-primary);
}

.n3d-faq-answer {
  display: none;
  padding: 0 24px 22px 24px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--n3d-text-body);
  border-top: 1px solid var(--n3d-border-subtle);
  padding-top: 16px;
}

.n3d-faq-item.active .n3d-faq-answer {
  display: block;
  animation: n3d-fade-down 0.3s ease forwards;
}

@keyframes n3d-fade-down {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   10.2. SCAN 3D & SERVICE CARD ENHANCEMENTS
   -------------------------------------------------------------------------- */
.n3d-fleet-img-wrap {
  position: relative;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  background: #f1f5f9;
}

.n3d-fleet-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.n3d-fleet-card:hover .n3d-fleet-img-wrap img {
  transform: scale(1.06);
}

.n3d-fleet-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(5, 40, 36, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--n3d-pear);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(219, 225, 52, 0.4);
  letter-spacing: 0.3px;
}

.n3d-fleet-sub {
  font-size: 13px;
  color: var(--n3d-text-muted);
  font-style: italic;
  margin-bottom: 14px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed var(--n3d-border-subtle);
  font-size: 13px;
}

.spec-row .spec-name {
  color: var(--n3d-text-muted);
  font-weight: 600;
}

.spec-row .spec-val {
  color: var(--n3d-text-heading);
  font-weight: 700;
  text-align: right;
}

.spec-row .spec-val.highlight {
  color: var(--n3d-primary);
  font-weight: 800;
}

.n3d-mat-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--n3d-border-subtle);
  font-size: 13px;
  color: var(--n3d-text-body);
}

.n3d-mat-footer .ideal-for {
  font-weight: 700;
  color: var(--n3d-primary);
}

.n3d-gal-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 250px;
  box-shadow: var(--shadow-sm);
  background: #f1f5f9;
}

.n3d-gal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.n3d-gallery-item:hover .n3d-gal-img-wrap img {
  transform: scale(1.08);
}

.n3d-gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 40, 36, 0.92) 0%, rgba(5, 40, 36, 0.45) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.n3d-gallery-item:hover .n3d-gal-overlay {
  opacity: 1;
}

.n3d-gal-overlay i {
  font-size: 24px;
  color: var(--n3d-pear);
  margin-bottom: 8px;
}

.n3d-gal-overlay h4 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.n3d-gal-overlay span {
  font-size: 13px;
  color: #CBE6E2;
}

/* --------------------------------------------------------------------------
   11. RESPONSIVE OPTIMIZATIONS (TABLET & MOBILE)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .n3d-specs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .n3d-specs-grid .n3d-spec-item:nth-child(3) {
    border-right: none;
  }
  .n3d-fleet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .n3d-process-timeline {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .n3d-sla-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .n3d-sla-media-card {
    transform: none;
  }
  .n3d-sla-media-card img {
    height: 380px;
  }
  .n3d-tech-cards-grid {
    grid-template-columns: 1fr;
  }
  .n3d-materials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .n3d-apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .n3d-estimator-form {
    grid-template-columns: 1fr;
  }
  .n3d-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .n3d-sla-hero .n3d-hero-tag {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    white-space: normal !important;
  }
  .n3d-sla-hero .n3d-badge-pulse {
    font-size: 11px;
    padding: 4px 10px;
  }
  .n3d-sla-hero .n3d-hero-tag-text {
    font-size: 13px;
    white-space: normal;
    display: block;
    width: 100%;
  }
  .n3d-sla-title {
    font-size: 32px;
  }
  .n3d-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .n3d-fleet-grid {
    grid-template-columns: 1fr;
  }
  .n3d-materials-grid {
    grid-template-columns: 1fr;
  }
  .n3d-apps-grid {
    grid-template-columns: 1fr;
  }
  .n3d-process-timeline {
    grid-template-columns: 1fr;
  }
  .n3d-commitments-grid {
    grid-template-columns: 1fr;
  }
  .n3d-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .n3d-quote-grid {
    grid-template-columns: 1fr;
  }
  .n3d-quote-card {
    padding: 30px 20px;
  }
  .n3d-bottom-cta-box {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .n3d-specs-grid {
    grid-template-columns: 1fr;
  }
  .n3d-specs-grid .n3d-spec-item {
    border-right: none;
    border-bottom: 1px solid var(--n3d-border-subtle);
  }
  .n3d-gallery-grid {
    grid-template-columns: 1fr;
  }
  .n3d-hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .n3d-hero-cta-group a {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   12. COMPARISON SECTION: NĂNG LỰC KHÁC BIỆT (#so-sanh)
   ========================================================================== */
.n3d-compare-section {
  background: var(--n3d-surface);
  position: relative;
  padding: 80px 0;
}

.n3d-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 30px;
}

.n3d-compare-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg, 16px);
  border: 1px solid var(--n3d-border, #E2E8F0);
  box-shadow: var(--shadow-sm, 0 4px 16px rgba(0, 0, 0, 0.04));
  padding: 36px 28px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.n3d-compare-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(10, 70, 64, 0.1);
  border-color: var(--n3d-primary, #0A4640);
}

.n3d-compare-card.card-featured {
  border: 2px solid var(--n3d-primary, #0A4640);
  background: linear-gradient(180deg, #FFFFFF 0%, #F4FAF8 100%);
  box-shadow: 0 14px 36px rgba(10, 70, 64, 0.14);
  transform: scale(1.02);
  z-index: 2;
}

.n3d-compare-card.card-featured:hover {
  transform: scale(1.02) translateY(-6px);
  box-shadow: 0 20px 45px rgba(10, 70, 64, 0.2);
}

.n3d-compare-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--n3d-pear, #D8FA70);
  color: var(--n3d-pear-text, #052824);
  font-size: 11px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
}

.n3d-compare-header {
  margin-bottom: 20px;
}

.n3d-compare-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  background: #F1F5F9;
  color: #64748B;
  transition: transform 0.3s ease;
}

.n3d-compare-card:hover .n3d-compare-icon {
  transform: scale(1.08);
}

.n3d-compare-icon.icon-next3d {
  background: linear-gradient(135deg, rgba(10, 70, 64, 0.12) 0%, rgba(216, 250, 112, 0.25) 100%);
  color: var(--n3d-primary, #0A4640);
}

.n3d-compare-header h3 {
  font-size: 21px;
  font-weight: 800;
  color: var(--n3d-text-heading, #0F172A);
  margin-bottom: 8px;
}

.n3d-compare-summary {
  font-size: 13px;
  color: var(--n3d-text-muted, #64748B);
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: 42px;
  border-bottom: 1px solid var(--n3d-border-subtle, #E2E8F0);
  padding-bottom: 16px;
}

.n3d-compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex-grow: 1;
}

.n3d-compare-list li {
  position: relative;
  padding-left: 26px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--n3d-text-body, #334155);
}

.n3d-compare-list li i.text-green,
.n3d-compare-list li i.text-red {
  position: absolute;
  left: 0;
  top: 3px;
  font-size: 15px;
}

.n3d-compare-list li i.text-green {
  color: #16A34A;
}

.n3d-compare-list li i.text-red {
  color: #DC2626;
}

/* ==========================================================================
   13. SOFTWARE PLATFORM CARDS (#phan-mem)
   ========================================================================== */
.n3d-sw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.n3d-sw-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg, 16px);
  border: 1px solid var(--n3d-border, #E2E8F0);
  box-shadow: var(--shadow-sm, 0 4px 16px rgba(0, 0, 0, 0.04));
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
}

.n3d-sw-card:hover {
  transform: translateY(-6px);
  border-color: var(--n3d-primary, #0A4640);
  box-shadow: 0 16px 36px rgba(10, 70, 64, 0.1);
}

.n3d-sw-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.n3d-sw-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: transform 0.3s ease;
}

.n3d-sw-card:hover .n3d-sw-icon {
  transform: scale(1.1);
}

.sw-icon-solidworks { background: #E0F2FE; color: #0284C7; }
.sw-icon-nx { background: #EEF2FF; color: #4F46E5; }
.sw-icon-rhino { background: #F5F3FF; color: #7C3AED; }
.sw-icon-geomagic { background: #D1FAE5; color: #059669; }

.n3d-sw-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.n3d-sw-badge.badge-blue { background: #E0F2FE; color: #0369A1; }
.n3d-sw-badge.badge-indigo { background: #EEF2FF; color: #4338CA; }
.n3d-sw-badge.badge-purple { background: #F5F3FF; color: #6D28D9; }
.n3d-sw-badge.badge-emerald { background: #D1FAE5; color: #047857; }

.n3d-sw-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--n3d-text-heading, #0F172A);
  margin-bottom: 10px;
  line-height: 1.4;
}

.n3d-sw-desc {
  font-size: 13.5px;
  color: var(--n3d-text-body, #334155);
  line-height: 1.6;
  margin-bottom: 14px;
}

.n3d-sw-features {
  margin-top: auto;
  border-top: 1px solid var(--n3d-border-subtle, #F1F5F9);
  padding-top: 12px;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.n3d-sw-features li {
  font-size: 12.5px;
  color: var(--n3d-text-muted, #64748B);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.n3d-sw-features li i {
  color: var(--n3d-primary, #0A4640);
  font-size: 12px;
}

@media (max-width: 992px) {
  .n3d-compare-grid {
    grid-template-columns: 1fr;
  }
  .n3d-compare-card.card-featured {
    transform: none;
  }
  .n3d-sw-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .n3d-sw-grid {
    grid-template-columns: 1fr;
  }
}

