/* =============================================
   CNC PARTS PRO — Global Stylesheet
   Industrial Dark Design System
   ============================================= */

/* ┌─────────────────────────────────────────────┐
   │  DESIGN REFERENCE — FOR WIX STUDIO MATCHING │
   │  Use these values when theming Wix product  │
   │  pages to match this front-end design.      │
   └─────────────────────────────────────────────┘

   ── COLORS ──────────────────────────────────────
   Page background (deep navy):  #060B18
   Card / section background:    #0D1526
   Card surface:                 #141E33
   Card hover:                   #1A2640
   Border / divider:             #1E2D47
   Border light:                 #253554
   Primary text (white):         #F1F5F9
   Secondary text:               #94A3B8
   Muted / placeholder text:     #64748B
   Accent orange:                #F97316
   Accent orange hover:          #EA580C
   Accent orange glow bg:        rgba(249, 115, 22, 0.15)
   Info blue:                    #60A5FA
   Success green:                #22C55E
   Danger red:                   #EF4444

   ── TYPOGRAPHY ──────────────────────────────────
   Heading font:  Rubik (Google Fonts) — weights 400, 600, 700
   Body font:     Nunito Sans (Google Fonts) — weights 400, 600
   Google Fonts import URL:
     https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600&family=Rubik:wght@400;600;700&display=swap

   ── BORDER RADIUS ───────────────────────────────
   Small (badges/tags):  6px
   Medium (cards):       12px
   Large (buttons):      8px

   ── KEY UI PATTERNS ─────────────────────────────
   Product card:
     background: #141E33
     border: 1px solid #1E2D47
     border-radius: 12px
     hover border: #F97316 (accent orange)

   Buy Now button:
     background: #F97316
     color: #000000
     font: Rubik 600
     border-radius: 8px
     hover background: #EA580C

   Category badge:
     background: rgba(249,115,22,0.15)
     color: #F97316
     font-size: 0.7rem
     letter-spacing: 0.08em
     text-transform: uppercase
     border-radius: 6px

   Price display:
     color: #F97316
     font: Rubik 700
     font-size: 1.4rem

   In Stock badge:
     background: rgba(34,197,94,0.15)
     color: #22C55E
     border: 1px solid rgba(34,197,94,0.3)

   Limited stock badge:
     background: rgba(249,115,22,0.15)
     color: #F97316
     border: 1px solid rgba(249,115,22,0.3)

   Section label (above headings):
     color: #F97316
     text-transform: uppercase
     letter-spacing: 0.1em
     font-size: 0.78rem

   ─────────────────────────────────────────────── */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600&family=Rubik:wght@400;600;700&display=swap');

/* =============================================
   CSS CUSTOM PROPERTIES
   ============================================= */
:root {
  /* Colors */
  --bg-deep: #060B18;
  --bg-base: #0D1526;
  --bg-card: #141E33;
  --bg-card-hover: #1A2640;
  --border: #1E2D47;
  --border-light: #253554;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --accent: #F97316;
  --accent-hover: #EA580C;
  --accent-glow: rgba(249, 115, 22, 0.15);
  --steel: #60A5FA;
  --success: #22C55E;
  --danger: #EF4444;

  /* Typography */
  --font-heading: 'Rubik', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --radius-pill: 50px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-nav: 0 2px 20px rgba(0, 0, 0, 0.6);
  --shadow-accent: 0 4px 20px rgba(249, 115, 22, 0.3);

  /* Transitions */
  --transition: 0.2s ease;

  /* Layout */
  --nav-height: 72px;
  --container-max: 1280px;
}

/* =============================================
   CSS RESET
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section-pad {
  padding: var(--space-4xl) 0;
}

.section-pad-sm {
  padding: var(--space-2xl) 0;
}

.text-accent { color: var(--accent); }
.text-steel { color: var(--steel); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(249, 115, 22, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-light);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-1px);
}

.btn-steel {
  background: var(--steel);
  color: var(--bg-deep);
  border-color: var(--steel);
  font-weight: 700;
}

.btn-steel:hover {
  background: #93C5FD;
  border-color: #93C5FD;
  transform: translateY(-1px);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(6, 11, 24, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-nav);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  gap: var(--space-xl);
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
  white-space: nowrap;
  padding: 0.25rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.25rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
  border: 2px solid var(--accent);
}

.btn-nav:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}

.nav-toggle:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  color: var(--accent);
}

/* Mobile Nav Drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: var(--space-lg) var(--space-xl);
  flex-direction: column;
  gap: var(--space-sm);
  box-shadow: var(--shadow-nav);
}

.nav-drawer.open {
  display: flex;
}

.nav-drawer a {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1rem;
  color: var(--text-secondary);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.nav-drawer a:hover {
  color: var(--accent);
}

.nav-drawer a:last-child {
  border-bottom: none;
}

.nav-drawer .btn-nav {
  margin-top: var(--space-sm);
  text-align: center;
  justify-content: center;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 11, 24, 0.85) 0%,
    rgba(6, 11, 24, 0.75) 50%,
    rgba(13, 21, 38, 0.80) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xl);
  max-width: 820px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.4rem 1rem;
  background: var(--accent-glow);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  color: var(--accent);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Page Hero (inner pages) */
.page-hero {
  background: var(--bg-deep);
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-2xl) 0;
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
}

.trust-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-glow);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.trust-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* =============================================
   SECTION HEADINGS
   ============================================= */
.section-heading {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-heading .label {
  display: inline-block;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.section-heading p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

/* =============================================
   PRODUCT CARDS
   ============================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.product-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  background: var(--bg-deep);
}

.product-card-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: var(--space-sm);
  padding: var(--space-md);
}

.product-card-img-placeholder svg {
  width: 40px;
  height: 40px;
  color: var(--text-muted);
  opacity: 0.4;
}

.product-card-img-placeholder span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  opacity: 0.5;
}

.product-card-body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.category-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--steel);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  width: fit-content;
}

.product-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 0;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-heading);
  width: fit-content;
}

.status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-in {
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-in::before {
  background: var(--success);
}

.status-limited {
  background: rgba(249, 115, 22, 0.12);
  color: var(--accent);
  border: 1px solid rgba(249, 115, 22, 0.25);
}

.status-limited::before {
  background: var(--accent);
}

.status-out {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-out::before {
  background: var(--danger);
}

.product-card-footer {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--border);
}

.btn-card {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.6rem;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--transition);
  text-decoration: none;
}

.btn-card:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* =============================================
   CATEGORIES SECTION
   ============================================= */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  text-decoration: none;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.category-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.category-card-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.category-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

/* =============================================
   ABOUT STRIP
   ============================================= */
.about-strip {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

.about-text p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.stat-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  transition: all var(--transition);
}

.stat-block:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  white-space: nowrap;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: linear-gradient(135deg, #1a0a00 0%, #2d1200 40%, #1a0a00 100%);
  border-top: 1px solid rgba(249, 115, 22, 0.2);
  border-bottom: 1px solid rgba(249, 115, 22, 0.2);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
  position: relative;
}

.cta-banner p {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  font-size: 1.05rem;
  position: relative;
}

.cta-banner .btn {
  position: relative;
}

/* =============================================
   SHOP PAGE — FILTER PILLS
   ============================================= */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.filter-pill {
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* =============================================
   PRODUCT DETAIL PAGE
   ============================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--steel);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--text-primary);
}

.breadcrumb-sep {
  color: var(--border-light);
}

.breadcrumb-current {
  color: var(--text-secondary);
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.product-detail-img {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  position: sticky;
  top: calc(var(--nav-height) + var(--space-lg));
  overflow: hidden;
}

/* Real image layout */
.product-detail-img .product-main-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  background: var(--bg-card);
  padding: var(--space-xl);
  display: block;
}

.product-thumb-row {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-top: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: thin;
}

.product-thumb {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--transition);
}

.product-thumb:hover,
.product-thumb.active {
  border-color: var(--accent);
}

/* Fallback placeholder (SVG) */
.product-detail-img-placeholder {
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-xl);
}

.product-detail-img-placeholder svg {
  width: 64px;
  height: 64px;
  color: var(--text-muted);
  opacity: 0.3;
}

.product-detail-img-placeholder span {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  opacity: 0.5;
}

.product-detail-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.product-detail-info h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
}

.product-detail-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.product-detail-desc {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.specs-table caption {
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  caption-side: top;
}

.specs-table tr {
  border-bottom: 1px solid var(--border);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 0.6rem 0.25rem;
  vertical-align: top;
}

.specs-table td:first-child {
  color: var(--text-muted);
  width: 40%;
  padding-right: var(--space-md);
  font-size: 0.82rem;
}

.specs-table td:last-child {
  color: var(--text-primary);
  font-weight: 600;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.btn-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 1rem 2rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: var(--shadow-accent);
  border: 2px solid var(--accent);
}

.btn-buy:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(249, 115, 22, 0.45);
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--transition);
  align-self: flex-start;
}

.btn-back:hover {
  color: var(--steel);
}

/* =============================================
   RELATED PRODUCTS
   ============================================= */
.related-section {
  margin-top: var(--space-4xl);
  padding-top: var(--space-3xl);
  border-top: 1px solid var(--border);
}

.related-section h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: var(--space-xl);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  position: sticky;
  top: calc(var(--nav-height) + var(--space-lg));
}

.contact-card h2 {
  font-size: 1.3rem;
  margin-bottom: var(--space-lg);
}

.contact-info-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:last-of-type {
  border-bottom: none;
}

.contact-info-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info-item div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-info-item .label {
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-info-item .value {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-info-item a.value {
  color: var(--steel);
  text-decoration: none;
  transition: color var(--transition);
}

.contact-info-item a.value:hover {
  color: var(--text-primary);
}

/* =============================================
   FORMS
   ============================================= */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.form-group:last-of-type {
  margin-bottom: 0;
}

.form-group label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.form-group label .required {
  color: var(--accent);
}

.form-group label .optional {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.form-control {
  padding: 0.7rem 1rem;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: all var(--transition);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control:hover {
  border-color: var(--border-light);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 2.5rem;
}

.form-submit {
  margin-top: var(--space-lg);
}

.form-message {
  display: none;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: var(--space-md);
}

.form-message.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--success);
}

.form-message.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--danger);
}

/* =============================================
   WARRANTY PAGE
   ============================================= */
.warranty-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.warranty-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
}

.warranty-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.warranty-card h3 svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.warranty-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.warranty-card ul li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.warranty-card ul li::before {
  content: '→';
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.warranty-steps {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.warranty-steps h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  counter-reset: steps;
}

.step-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.step-num {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.step-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* =============================================
   BUNDLES PAGE
   ============================================= */
.bundles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.bundle-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.bundle-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.bundle-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bundle-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}

.bundle-card-header {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
  padding: var(--space-2xl);
  text-align: center;
}

.bundle-card-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.bundle-price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
}

.bundle-card-body {
  padding: var(--space-xl);
  flex: 1;
}

.bundle-card-body p {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.bundle-includes {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.bundle-includes h4 {
  font-size: 0.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.bundle-includes li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.87rem;
  color: var(--text-secondary);
}

.bundle-includes li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

.bundle-card-footer {
  padding: var(--space-lg) var(--space-xl);
  border-top: 1px solid var(--border);
}

/* =============================================
   BUY A CNC ROUTER PAGE
   ============================================= */
.router-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.router-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.benefit-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.benefit-item:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
}

.benefit-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-item div h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.benefit-item div p {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin: 0;
}

.router-cta-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3xl);
  text-align: center;
}

.router-cta-block h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.router-cta-block p {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: var(--space-3xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand .nav-logo {
  font-size: 1.2rem;
  display: inline-block;
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.footer-contact-item svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-contact-item span {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.footer-contact-item a {
  font-size: 0.87rem;
  color: var(--steel);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-contact-item a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: var(--space-lg) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* =============================================
   MISC
   ============================================= */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-xl) 0;
}

.notice-box {
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.notice-box strong {
  color: var(--accent);
}

/* =============================================
   RESPONSIVE — 1024px
   ============================================= */
@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-strip-inner {
    gap: var(--space-2xl);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =============================================
   RESPONSIVE — 768px
   ============================================= */
@media (max-width: 768px) {
  :root {
    --space-4xl: 3rem;
    --space-3xl: 2.5rem;
  }

  .nav-links,
  .btn-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .trust-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-strip-inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-detail-img {
    position: static;
    aspect-ratio: 16/9;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-card {
    position: static;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .warranty-grid {
    grid-template-columns: 1fr;
  }

  .bundles-grid {
    grid-template-columns: 1fr;
  }

  .router-info {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

/* Product info note (used on product pages for important notices) */
.product-info-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-top: var(--space-lg);
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}
.product-info-note svg {
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--accent);
}
.product-info-note strong {
  color: var(--text-primary);
}

/* =============================================
   RESPONSIVE — 480px
   ============================================= */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-lg);
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    text-align: center;
    justify-content: center;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .trust-bar-grid {
    grid-template-columns: 1fr 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    gap: var(--space-xs);
  }

  .filter-pill {
    font-size: 0.75rem;
    padding: 0.35rem 0.8rem;
  }
}

/* =============================================
   TECH SUPPORT PAGE
   ============================================= */

/* Label above headings */
.ts-label {
  display: inline-block;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

/* Problem section — two-column layout */
.ts-problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}
.ts-problem-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  line-height: 1.25;
}
.ts-problem-text p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

/* Pricing pill */
.ts-pricing-pill {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
  margin-top: var(--space-xl);
}
.ts-price-block {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-shrink: 0;
}
.ts-price {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.ts-per {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 600;
}
.ts-price-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}
.ts-price-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.ts-price-detail span::before {
  content: '✓ ';
  color: var(--success);
  font-weight: 700;
}

/* Stat cards grid */
.ts-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.ts-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: border-color var(--transition);
}
.ts-stat-card:hover {
  border-color: var(--accent);
}
.ts-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--space-sm);
}
.ts-stat-num span {
  font-size: 1rem;
  color: var(--text-secondary);
}
.ts-stat-label {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Services grid */
.ts-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}
.ts-service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: border-color var(--transition), transform var(--transition);
}
.ts-service-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.ts-service-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}
.ts-service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}
.ts-service-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* How it works steps */
.ts-steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: var(--space-lg);
  align-items: center;
  margin-top: var(--space-2xl);
}
.ts-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
}
.ts-step-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: var(--space-md);
}
.ts-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}
.ts-step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.ts-step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Calendly booking wrapper */
.ts-booking-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-2xl);
}

/* Booking note below calendly */
.ts-booking-note {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-lg);
  font-size: 0.875rem;
  color: var(--text-muted);
}
.ts-booking-note a {
  color: var(--accent);
  text-decoration: none;
}
.ts-booking-note a:hover {
  text-decoration: underline;
}

/* Tech support teaser card (used on buy-a-cnc-router.html) */
.ts-teaser {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-2xl) var(--space-3xl);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-2xl);
  align-items: center;
  margin-top: var(--space-3xl);
  transition: border-color var(--transition);
}
.ts-teaser:hover {
  border-color: var(--accent);
}
.ts-teaser h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}
.ts-teaser p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 560px;
}

/* ── RESPONSIVE — Tech Support ──────────────────────── */
@media (max-width: 900px) {
  .ts-problem-grid { grid-template-columns: 1fr; }
  .ts-services-grid { grid-template-columns: repeat(2, 1fr); }
  .ts-steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .ts-step-arrow { transform: rotate(90deg); }
  .ts-teaser { grid-template-columns: 1fr; gap: var(--space-lg); }
}
@media (max-width: 600px) {
  .ts-services-grid { grid-template-columns: 1fr; }
  .ts-stats-grid { grid-template-columns: 1fr 1fr; }
  .ts-pricing-pill { flex-direction: column; gap: var(--space-md); }
  .ts-price-divider { width: 48px; height: 1px; }
}


