/*
  Lisno Technology & Innovation — Enterprise Design System
  Clean, professional dark theme. No vibe coding.
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ─── DESIGN TOKENS ──────────────────────────────────────────────────────── */
:root {
  /* Backgrounds — Navy Blue theme */
  --bg-base:    #030c29;
  --bg-surface: #061e55;
  --bg-card:    #081e47;
  --bg-card-hover: #152035;
  --bg-inset:   #0a1020;

  /* Brand */
  --orange:      #FF5E00;
  --orange-dim:  rgba(255, 94, 0, 0.08);
  --orange-glow: rgba(255, 94, 0, 0.12);
  --cobalt:      #3b82f6;
  --cobalt-dim:  rgba(59, 130, 246, 0.08);

  /* Status / Highlight (cyan used sparingly) */
  --status-active: #00d9a3;

  /* Text */
  --text-primary:   #eef1f8;
  --text-secondary: #8fa3c8;
  --text-muted:     #4a6080;
  --text-orange:    #FF5E00;

  /* Borders */
  --border:        rgba(100, 140, 200, 0.07);
  --border-strong: rgba(100, 140, 200, 0.13);
  --border-orange: rgba(255, 94, 0, 0.18);

  /* Typography */
  --font-heading: 'Outfit', 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.35);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.4);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.3);

  /* Transitions */
  --t-fast:   0.15s ease;
  --t-normal: 0.25s ease;
  --t-slow:   0.4s ease;

  /* Layout */
  --radius-sm: 3px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-xl: 8px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Subtle radial depth — navy + saffron blend */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% -10%, rgba(255, 94, 0, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 20% 100%, rgba(30, 60, 120, 0.18) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: rgba(255, 94, 0, 0.25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ─── LAYOUT UTILITIES ───────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.section-padding { padding: 7rem 0; }

/* ─── SECTION HEADER ─────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--orange);
  opacity: 0.5;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto;
}

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.5rem;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t-fast);
}
.btn-primary:hover {
  background: #e85500;
}
.btn-primary svg { width: 17px; height: 17px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.5rem;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t-fast);
}
.btn-secondary:hover {
  border-color: var(--orange);
  background: var(--orange-dim);
  color: var(--orange);
}
.btn-secondary svg { width: 17px; height: 17px; }

/* ─── CARD BASE ──────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: none;
}
.card-hover {
  transition: border-color var(--t-fast), background var(--t-fast);
}
.card-hover:hover {
  border-color: var(--border-orange);
  background: var(--bg-card-hover);
}

/* ─── NAVIGATION ─────────────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.1rem 0;
  z-index: 100;
  transition: all var(--t-normal);
}
.header.scrolled {
  padding: 0.7rem 0;
  background: rgba(8, 9, 15, 0.95);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 44px;
  flex-shrink: 0;
}
.logo-svg { height: 100%; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--t-fast);
  letter-spacing: 0.01em;
}
.nav-link:hover { color: var(--text-primary); }
.nav-link.active { color: var(--orange); }

.nav-cta { display: flex; align-items: center; }

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}
.mobile-nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--t-normal);
}
.mobile-nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-nav-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ─── HERO SECTION ───────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--status-active);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-title .highlight {
  color: var(--orange);
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero-subtitle span { color: var(--text-muted); margin: 0 0.5em; }

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}
.stat-item {
  padding-right: 2rem;
}
.stat-item:not(:last-child) {
  border-right: 1px solid var(--border);
  margin-right: 2rem;
}
.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-value .suffix { color: var(--orange); }
.stat-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── PCB VISUALIZER ─────────────────────────────────────────────────────── */
.pcb-visualizer {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 480px;
  margin: 0 auto;
}

.pcb-board {
  width: 100%;
  height: 100%;
  background: #09090b;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

/* PCB grid pattern */
.pcb-board::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.pcb-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Trace animation */
.pcb-trace-animated {
  stroke-dasharray: 6 3;
  animation: trace-flow 2s linear infinite;
}
@keyframes trace-flow {
  to { stroke-dashoffset: -36; }
}

.pcb-trace-animated-rev {
  stroke-dasharray: 6 3;
  animation: trace-flow-rev 2.4s linear infinite;
}
@keyframes trace-flow-rev {
  to { stroke-dashoffset: 36; }
}

/* Signal dot traveling along trace */
.signal-dot {
  r: 3;
  fill: #c8f0c0;
  opacity: 0;
  animation: signal-travel 3s ease-in-out infinite;
}
.signal-dot.d2 { animation-delay: 1s; }
.signal-dot.d3 { animation-delay: 2s; }
.signal-dot.d4 { animation-delay: 0.5s; }
.signal-dot.d5 { animation-delay: 1.5s; }

@keyframes signal-travel {
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { opacity: 0; }
}

/* PCB component labels */
.pcb-chip {
  position: absolute;
  background: #1a3a1e;
  border: 1px solid #2e6234;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: #7fb87f;
  letter-spacing: 0.05em;
  font-weight: 600;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

/* Corner mount holes */
.pcb-hole {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #2e6234;
  background: #04080a;
}

/* Connector pin row */
.pcb-connector {
  position: absolute;
  display: flex;
  gap: 3px;
}
.pcb-pin {
  width: 5px;
  height: 14px;
  background: #c8a000;
  border-radius: 1px;
  box-shadow: 0 0 4px rgba(200, 160, 0, 0.5);
}

/* LED indicator */
.pcb-led {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: led-blink 1.6s ease-in-out infinite;
}
.pcb-led.green  { background: #00d060; box-shadow: 0 0 10px rgba(0, 208, 96, 0.8); }
.pcb-led.amber  { background: #f5a623; box-shadow: 0 0 10px rgba(245, 166, 35, 0.8); animation-delay: 0.5s; }
.pcb-led.red    { background: #ff3a3a; box-shadow: 0 0 10px rgba(255, 58, 58, 0.7); animation-delay: 1s; }

@keyframes led-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* Info overlay card (bottom of PCB visualizer) */
.pcb-info-card {
  position: absolute;
  bottom: -1px;
  left: -1px;
  right: -1px;
  background: rgba(8, 9, 15, 0.9);
  border-top: 1px solid #1e3a22;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 0.9rem 1.2rem;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pcb-info-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #7fb87f;
  letter-spacing: 0.05em;
}
.pcb-info-value {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #c8f0c0;
  font-weight: 600;
}
.pcb-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--status-active);
}
.pcb-status-indicator::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--status-active);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

/* Override inline green styling on PCB visualizer */
.pcb-svg path {
  stroke: var(--border-strong) !important;
}
.pcb-svg circle {
  fill: var(--bg-surface) !important;
  stroke: var(--border) !important;
}
.pcb-svg rect {
  fill: var(--bg-inset) !important;
  stroke: var(--border) !important;
}
.pcb-svg text {
  fill: var(--text-secondary) !important;
}
.pcb-info-card {
  border-top: 1px solid var(--border) !important;
}
.pcb-info-label {
  color: var(--text-muted) !important;
}
.pcb-info-value {
  color: var(--text-secondary) !important;
}

/* ─── SERVICES ───────────────────────────────────────────────────────────── */
.services-filter {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.filter-btn {
  padding: 0.5rem 1.2rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--t-fast);
}
.filter-btn:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}
.filter-btn.active {
  background: var(--orange-dim);
  border-color: var(--border-orange);
  color: var(--orange);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  height: 100%;
}

.service-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--orange-dim);
  border: 1px solid var(--border-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-bottom: 1.5rem;
  transition: background var(--t-normal), color var(--t-normal);
}
.service-icon-wrap svg { width: 22px; height: 22px; }
.service-card:hover .service-icon-wrap {
  background: var(--orange);
  color: #fff;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-bottom: 1rem;
}
.tech-tag {
  padding: 0.2rem 0.6rem;
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap var(--t-fast);
  margin-top: auto;
}
.service-cta svg { width: 14px; height: 14px; }
.service-cta:hover { gap: 0.7rem; }

/* ─── HARDWARE LAB ───────────────────────────────────────────────────────── */
.lab-section { background: var(--bg-surface); }

.lab-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.lab-selectors { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }

.lab-selector-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--t-fast);
  text-align: left;
  width: 100%;
}
.lab-selector-btn:hover,
.lab-selector-btn.active {
  border-color: var(--border-orange);
  background: var(--bg-card-hover);
}
.lab-selector-btn.active { border-left: 3px solid var(--orange); }

.selector-text h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}
.selector-text p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.selector-icon { color: var(--text-muted); transition: color var(--t-fast); }
.lab-selector-btn.active .selector-icon { color: var(--orange); }
.selector-icon svg { width: 18px; height: 18px; }

.hardware-display-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: sticky;
  top: 6rem;
}

.hw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.hw-badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.8rem;
  background: var(--cobalt-dim);
  color: #8899ff;
  border-radius: 50px;
  border: 1px solid rgba(26, 24, 200, 0.2);
}
.hw-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--status-active);
}
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-active);
  animation: pulse-dot 1.6s ease-in-out infinite;
}

.hw-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.hw-model-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

/* PCB section inside hardware card */
.hw-pcb-area {
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  aspect-ratio: 16/7;
  position: relative;
  overflow: hidden;
}
.hw-pcb-area svg rect {
  fill: var(--bg-inset) !important;
  stroke: var(--border) !important;
}
.hw-pcb-area svg line {
  stroke: var(--bg-surface) !important;
}
.hw-pcb-area svg path {
  stroke: var(--border-strong) !important;
}
.hw-pcb-area svg text {
  fill: var(--text-secondary) !important;
}

.hw-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.spec-row {
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
}
.spec-row-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}
.spec-row-value {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.4;
}

/* ─── METHODOLOGY TIMELINE ───────────────────────────────────────────────── */
.process-section { background: var(--bg-base); }

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}
.timeline-item.right { flex-direction: row-reverse; }

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 1.5rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid var(--bg-base);
  transform: translateX(-50%);
  box-shadow: 0 0 8px var(--orange-glow);
  z-index: 2;
}

.timeline-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  padding-top: 0.25rem;
  flex-shrink: 0;
  width: calc(50% - 2.5rem - 10px);
  text-align: right;
}
.timeline-item.right .timeline-num { text-align: left; }

.timeline-card {
  width: calc(50% - 2.5rem - 10px);
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--t-normal);
}
.timeline-card:hover { border-color: var(--border-orange); }
.timeline-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}
.timeline-card p {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─── TECH STACK ─────────────────────────────────────────────────────────── */
.tech-section { background: var(--bg-surface); }

.tech-categories { display: flex; flex-direction: column; gap: 2.5rem; }

.tech-category-row h3 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.tech-items-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tech-item-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.tech-item-chip svg { width: 14px; height: 14px; color: var(--text-muted); }
.tech-item-chip:hover {
  border-color: var(--border-orange);
  color: var(--text-primary);
}

/* ─── BRAND SCROLLER ─────────────────────────────────────────────────────── */
.brand-scroller {
  border-top: 1px solid var(--border);
  padding-top: 3rem;
  margin-top: 3rem;
  overflow: hidden;
}
.brand-scroller h4 {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.brand-track-wrapper {
  position: relative;
  overflow: hidden;
}
.brand-track-wrapper::before,
.brand-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.brand-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-surface), transparent);
}
.brand-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-surface), transparent);
}

.brand-track {
  display: flex;
  gap: 3rem;
  animation: scroll-left 20s linear infinite;
  width: max-content;
}
.brand-track:hover { animation-play-state: paused; }

.brand-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: color var(--t-fast);
}
.brand-name:hover { color: var(--text-secondary); }

@keyframes scroll-left {
  to { transform: translateX(-50%); }
}

/* ─── PROJECT ESTIMATOR ──────────────────────────────────────────────────── */
.estimator-section { background: var(--bg-base); }

.estimator-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.estimator-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.estimator-step { margin-bottom: 2rem; }
.estimator-step:last-child { margin-bottom: 0; }

.estimator-step h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.option-card input { display: none; }
.option-card label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 0.5rem;
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--t-fast);
  text-align: center;
}
.option-card label svg { width: 18px; height: 18px; color: var(--text-muted); }
.option-card label span { font-size: 0.75rem; color: var(--text-secondary); font-weight: 500; }
.option-card input:checked + label {
  border-color: var(--orange);
  background: var(--orange-dim);
  color: var(--orange);
}
.option-card input:checked + label svg { color: var(--orange); }
.option-card input:checked + label span { color: var(--orange); }

.estimator-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: var(--bg-inset);
  border-radius: 2px;
  outline: none;
  border: 1px solid var(--border);
}
.estimator-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
  cursor: pointer;
  box-shadow: 0 0 8px var(--orange-glow);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
}
.slider-labels span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.feature-check input { display: none; }
.feature-check label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.8rem;
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: all var(--t-fast);
}
.feature-check label svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--text-muted); }
.feature-check input:checked + label {
  border-color: var(--border-orange);
  background: var(--orange-dim);
  color: var(--text-primary);
}

.estimator-result {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: sticky;
  top: 6rem;
}

.result-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.result-metric {
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  margin-bottom: 0.75rem;
}
.result-metric-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}
.result-metric-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--orange);
}
.result-metric-value.alt {
  color: #8899ff;
}

.result-breakdown {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.result-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  padding: 0.35rem 0;
  color: var(--text-secondary);
}
.result-row .val { color: var(--text-primary); font-weight: 500; }

/* ─── ABOUT ──────────────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.about-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.about-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.about-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 2rem;
}
.about-pillar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  transition: border-color var(--t-fast);
}
.about-pillar:hover { border-color: var(--border-orange); }
.about-pillar h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}
.about-pillar h4 svg { width: 15px; height: 15px; color: var(--orange); }
.about-pillar p { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.6; }

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: border-color var(--t-fast);
}
.team-card:hover { border-color: var(--border-orange); }
.team-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange-dim);
  border: 1px solid var(--border-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--orange);
  margin-bottom: 0.75rem;
}
.team-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}
.team-role {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
/* Team Member Photo support */
.team-photo-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border-orange);
  background: var(--orange-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  transition: border-color var(--t-fast);
}
.team-card:hover .team-photo-wrap {
  border-color: var(--orange);
}
.team-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-bio { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.5; }

/* ─── CAREERS ────────────────────────────────────────────────────────────── */
.careers-section {
  position: relative;
}
.careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.job-card {
  display: flex;
  flex-direction: column;
  padding: 2.25rem;
  height: 100%;
}
.job-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
}
.job-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.job-dept {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
}
.job-location {
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.job-location svg {
  width: 13px;
  height: 13px;
  color: var(--text-muted);
}
.job-type-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.job-type-badge.badge-full-time {
  background: rgba(0, 217, 163, 0.08);
  color: var(--status-active);
  border-color: rgba(0, 217, 163, 0.2);
}
.job-type-badge.badge-part-time {
  background: rgba(26, 120, 240, 0.08);
  color: #55a0ff;
  border-color: rgba(26, 120, 240, 0.2);
}
.job-type-badge.badge-contract {
  background: rgba(245, 166, 35, 0.08);
  color: #f5a623;
  border-color: rgba(245, 166, 35, 0.2);
}
.job-type-badge.badge-internship {
  background: rgba(168, 85, 247, 0.08);
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.2);
}

.job-card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.job-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.job-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.job-requirements-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.job-requirements-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.job-requirements-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.job-requirements-list .bullet-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  margin-top: 0.55rem;
  flex-shrink: 0;
}
.job-card-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.job-card-footer .job-apply-btn {
  width: 100%;
  justify-content: center;
  font-size: 0.85rem;
  padding: 0.65rem 1.25rem;
}

/* ─── CONTACT ────────────────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.form-group { position: relative; margin-bottom: 1.25rem; }
.form-group-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
}
.form-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 94, 0, 0.1);
}
.form-label {
  position: absolute;
  left: 1rem;
  top: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all var(--t-fast);
  pointer-events: none;
  background: var(--bg-inset);
  padding: 0 0.25rem;
}
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -0.55rem;
  left: 0.8rem;
  font-size: 0.72rem;
  color: var(--orange);
}

textarea.form-input { min-height: 130px; resize: vertical; }

.contact-info-panel { display: flex; flex-direction: column; gap: 1.5rem; }

.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.info-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--orange-dim);
  border: 1px solid var(--border-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}
.info-icon svg { width: 18px; height: 18px; }
.info-item h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}
.info-item p, .info-item a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  line-height: 1.6;
}
.info-item a:hover { color: var(--orange); }

.contact-location-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.location-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--cobalt-dim);
  border: 1px solid rgba(26, 24, 200, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8899ff;
  flex-shrink: 0;
}
.location-icon svg { width: 22px; height: 22px; }
.location-text h4 { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.2rem; }
.location-text p { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; }

/* Alert feedback */
.alert-box {
  display: none;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.alert-success { background: rgba(0, 208, 96, 0.1); border: 1px solid rgba(0, 208, 96, 0.25); color: #00d060; display: none; }
.alert-error   { background: rgba(255, 58, 58, 0.1); border: 1px solid rgba(255, 58, 58, 0.25); color: #ff5a5a; display: none; }

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}
.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--t-fast);
}
.social-link svg { width: 16px; height: 16px; }
.social-link:hover {
  border-color: var(--border-orange);
  color: var(--orange);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links li a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--t-fast);
}
.footer-links li a:hover { color: var(--text-primary); }

.footer-newsletter p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1rem; }
.newsletter-form { display: flex; gap: 0.5rem; }
.newsletter-input {
  flex: 1;
  padding: 0.6rem 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.82rem;
  outline: none;
  transition: border-color var(--t-fast);
}
.newsletter-input:focus { border-color: var(--orange); }
.newsletter-btn {
  padding: 0.6rem 1rem;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t-fast);
  white-space: nowrap;
}
.newsletter-btn:hover { background: #e85500; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }
.footer-sublinks { display: flex; gap: 1.5rem; }
.footer-sublinks a { font-size: 0.8rem; color: var(--text-muted); text-decoration: none; transition: color var(--t-fast); }
.footer-sublinks a:hover { color: var(--text-secondary); }

/* ─── PRODUCTS ───────────────────────────────────────────────────────────── */
.products-section {
  position: relative;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.product-card {
  display: flex;
  flex-direction: column;
  padding: 2.25rem;
  height: 100%;
}
.product-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
}
.product-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--orange-dim);
  border: 1px solid var(--border-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  transition: all var(--t-normal);
}
.product-icon-wrap svg {
  width: 20px;
  height: 20px;
}
.product-card:hover .product-icon-wrap {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 0 12px var(--orange-glow);
}
.product-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.product-badge.badge-hardware {
  background: rgba(255, 94, 0, 0.08);
  color: var(--orange);
  border-color: var(--border-orange);
}
.product-badge.badge-software {
  background: rgba(26, 120, 240, 0.08);
  color: #55a0ff;
  border-color: rgba(26, 120, 240, 0.2);
}
.product-badge.badge-saas {
  background: rgba(0, 217, 163, 0.08);
  color: var(--status-active);
  border-color: rgba(0, 217, 163, 0.2);
}
.product-card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.product-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.product-description {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.product-features-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.product-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.product-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.feature-check-icon {
  width: 15px;
  height: 15px;
  color: var(--status-active);
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.product-card-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.product-card-footer .product-inquire-btn {
  width: 100%;
  justify-content: center;
  font-size: 0.85rem;
  padding: 0.65rem 1.25rem;
}

/* ─── TESTIMONIALS ───────────────────────────────────────────────────────── */
.testimonials-section {
  position: relative;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 2.25rem;
  height: 100%;
  position: relative;
}
.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}
.testimonial-rating svg.star-icon {
  width: 16px;
  height: 16px;
  fill: transparent;
  stroke: var(--text-muted);
  transition: all var(--t-fast);
}
.testimonial-rating svg.star-icon.filled {
  fill: #ffb800;
  stroke: #ffb800;
  filter: drop-shadow(0 0 2px rgba(255, 184, 0, 0.4));
}
.testimonial-feedback {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.testimonial-project {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border-top: 1px solid var(--border);
  padding-top: 1.1rem;
  margin-bottom: 1.25rem;
}
.testimonial-project .project-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
}
.testimonial-project .project-name {
  font-size: 0.85rem;
  font-family: var(--font-heading);
  color: var(--orange);
  font-weight: 600;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--orange-dim);
  border: 1px solid var(--border-orange);
  color: var(--orange);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  flex-shrink: 0;
}
.author-meta {
  display: flex;
  flex-direction: column;
}
.author-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}
.author-title {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ─── SCROLL TO TOP ──────────────────────────────────────────────────────── */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--t-fast);
  opacity: 0;
  pointer-events: none;
  z-index: 50;
}
.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-top-btn:hover {
  border-color: var(--border-orange);
  color: var(--orange);
}
.scroll-top-btn svg { width: 18px; height: 18px; }

/* ─── ANIMATIONS ─────────────────────────────────────────────────────────── */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.left  { transform: translateX(-24px); }
.reveal.right { transform: translateX(24px); }
.reveal.visible {
  opacity: 1;
  transform: translate(0);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-title { font-size: 2.8rem; }
  .pcb-visualizer { max-width: 360px; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .lab-layout { grid-template-columns: 1fr; }
  .hardware-display-card { position: static; }
  .estimator-layout { grid-template-columns: 1fr; }
  .estimator-result { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .section-title { font-size: 2rem; }
  .hero-title { font-size: 2.2rem; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
  .stat-item:not(:last-child) { border-right: none; margin-right: 0; padding-right: 0; }

  /* Mobile Nav */
  .mobile-nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-menu {
    display: none;
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--bg-base);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 99;
  }
  .nav-menu.open { display: flex; }
  .nav-link { font-size: 1.2rem; }
  .nav-cta-mobile { display: list-item !important; }

  .services-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .careers-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 1.5rem; }
  .timeline-item, .timeline-item.right { flex-direction: column; padding-left: 3.5rem; }
  .timeline-dot { left: 1.5rem; }
  .timeline-num { width: auto; text-align: left; }
  .timeline-card { width: 100%; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-group-row { grid-template-columns: 1fr; }
  .about-pillars { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .option-grid { grid-template-columns: repeat(2, 1fr); }
  .hw-specs { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-title { font-size: 1.9rem; }
  .hero-stats { grid-template-columns: 1fr; gap: 1.25rem; }
  .section-title { font-size: 1.75rem; }
}
