/* Modern CSS Variable System for Premium Design */
:root {
  --bg-primary: #03040a;
  --bg-secondary: #070b15;
  --bg-tertiary: #0e1828;
  
  --accent-blue: #2563eb;
  --accent-blue-glow: rgba(37, 99, 235, 0.4);
  --accent-sky: #60a5fa;
  --accent-sky-glow: rgba(96, 165, 250, 0.35);
  
  --text-primary: #e8eef7;
  --text-secondary: #a9b5c8;
  --text-muted: #6f7d92;
  
  --glass-bg: rgba(7, 11, 21, 0.65);
  --glass-border: rgba(130, 165, 225, 0.14);
  --glass-border-hover: rgba(130, 165, 225, 0.35);
  
  --font-headings: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  
  --transition-smooth: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-fast: all 0.2s ease;
}

/* Global Reset & Base Style */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-headings);
  overflow-x: hidden;
  height: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #1c2a42;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}

/* Fullscreen Scroller Layout */
[data-el="root"] {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: radial-gradient(135% 105% at 50% 16%, var(--bg-tertiary) 0%, var(--bg-secondary) 52%, var(--bg-primary) 100%);
}

[data-el="scroller"] {
  position: fixed;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 6;
}

/* Animations */
@keyframes pulseRing {
  0% { transform: translateY(0); opacity: 0.9; }
  70% { opacity: 0.2; }
  100% { transform: translateY(11px); opacity: 0; }
}

@keyframes soundBar {
  0%, 100% { transform: scaleY(0.22); }
  50% { transform: scaleY(1); }
}

@keyframes floaty {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  12% { opacity: 0.55; }
  88% { opacity: 0.45; }
  100% { transform: translate3d(16px, -140px, 0); opacity: 0; }
}

/* Navigation Bar */
header[data-el="nav"] {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(24px, 4vw, 52px);
  z-index: 10;
  background: linear-gradient(180deg, rgba(6, 10, 18, 0.85), rgba(6, 10, 18, 0));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

header[data-el="nav"] .logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

header[data-el="nav"] .logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(140deg, var(--accent-sky), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px var(--accent-blue-glow);
  transition: var(--transition-smooth);
}

header[data-el="nav"]:hover .logo-icon {
  transform: rotate(45deg);
}

header[data-el="nav"] .logo-svg-shape {
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 3px;
  transform: rotate(45deg);
}

header[data-el="nav"] .logo-text {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 1.5px;
  font-size: 14.5px;
  color: var(--text-primary);
}

header[data-el="nav"] .nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14.5px;
  font-weight: 500;
}

header[data-el="nav"] .nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  padding: 4px 0;
  transition: var(--transition-fast);
}

header[data-el="nav"] .nav-link:hover {
  color: var(--text-primary);
}

header[data-el="nav"] .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent-sky);
  transition: var(--transition-fast);
}

header[data-el="nav"] .nav-link:hover::after {
  width: 100%;
}

/* Secondary CTA Button (Explore Capabilities / View Our Work) */
.btn-primary {
  pointer-events: auto;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  padding: 15px 28px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--accent-blue), #1d4ed8);
  box-shadow: 0 12px 30px var(--accent-blue-glow);
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
  touch-action: manipulation;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.6);
}

.btn-secondary {
  pointer-events: auto;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 15px;
  color: #dbe6f5;
  padding: 15px 26px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(130, 165, 225, 0.22);
  transition: var(--transition-smooth);
  cursor: pointer;
  touch-action: manipulation;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(130, 165, 225, 0.4);
  transform: translateY(-2px);
}

/* Hero Section */
section[data-screen-label="Hero"] {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 40px clamp(24px, 4vw, 56px);
  box-sizing: border-box;
  margin-top: -76px; /* Offset navigation height */
}

[data-el="hero"] {
  max-width: min(560px, 58vw);
  will-change: transform, opacity;
}

[data-el="eyebrow"] {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-sky);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-el="eyebrow"] .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-sky);
  box-shadow: 0 0 10px var(--accent-sky);
}

[data-el="hero"] h1 {
  font-size: clamp(32px, 4.2vw, 60px);
  line-height: 1.05;
  font-weight: 700;
  margin: 18px 0 0;
  letter-spacing: -0.02em;
}

[data-el="hero"] [data-line] {
  display: block;
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-el="hero"] .gradient-text {
  background: linear-gradient(92deg, #9cc2ff, var(--accent-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-el="sub"] {
  margin: 24px 0 0;
  max-width: 480px;
  font-size: clamp(14.5px, 1.3vw, 17px);
  line-height: 1.65;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.05s, transform 0.7s ease 0.05s;
}

[data-el="ctas"] {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.1s, transform 0.7s ease 0.1s;
}

/* Services Section */
section[data-screen-label="Services"] {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px clamp(24px, 4vw, 56px);
  box-sizing: border-box;
}

section[data-screen-label="Services"] > div {
  max-width: min(580px, 58vw);
  width: 100%;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-sky);
}

.section-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-sky);
  box-shadow: 0 0 10px var(--accent-sky);
}

.section-heading {
  font-size: clamp(28px, 3.5vw, 52px);
  line-height: 1.05;
  font-weight: 700;
  margin: 18px 0 0;
  letter-spacing: -0.02em;
}

.section-heading .gradient-text {
  background: linear-gradient(92deg, #9cc2ff, var(--accent-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 36px;
  max-width: 500px;
}

.service-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(130, 170, 235, 0.14);
  transition: var(--transition-smooth);
}

.service-item:last-child {
  border-bottom: 1px solid rgba(130, 170, 235, 0.14);
}

.service-item:hover {
  padding-left: 8px;
  border-top-color: rgba(96, 165, 250, 0.35);
}

.service-item .service-num {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--accent-sky);
  min-width: 32px;
  font-weight: 500;
}

.service-item .service-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.service-item:hover .service-title {
  color: #fff;
}

.service-item .service-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.5;
}

/* Trust Indicators Section */
section[data-screen-label="Trust Indicators"] {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px clamp(24px, 4vw, 56px);
  box-sizing: border-box;
}

section[data-screen-label="Trust Indicators"] > div {
  max-width: min(580px, 58vw);
  width: 100%;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
  max-width: 500px;
}

.trust-card {
  padding: 24px 28px;
  border-radius: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.trust-card:hover {
  transform: translateY(-3px);
  background: rgba(14, 24, 40, 0.75);
  border-color: var(--glass-border-hover);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.15);
}

.trust-card .card-number {
  font-family: var(--font-mono);
  font-size: clamp(32px, 3.2vw, 42px);
  font-weight: 700;
  color: transparent;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  background: linear-gradient(135deg, #bcd6ff, var(--accent-sky));
  -webkit-background-clip: text;
  background-clip: text;
}

.trust-card .card-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 8px;
  font-weight: 500;
}

/* About Company Section */
section[data-screen-label="About Company"] {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px clamp(24px, 4vw, 56px);
  box-sizing: border-box;
}

section[data-screen-label="About Company"] > div {
  max-width: min(580px, 58vw);
  width: 100%;
}

.about-intro-text {
  margin: 22px 0 0;
  max-width: 520px;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.65;
  color: #cdd7e6;
  font-weight: 400;
}

.about-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(130, 170, 235, 0.14);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-quote-btn {
  margin-top: 36px;
}

/* Particle Container & Background Graphics */
[data-el="particles"] {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: transform;
}

[data-el="light"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 920px;
  height: 920px;
  margin: -460px 0 0 -460px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, rgba(56, 116, 235, 0.06) 36%, transparent 68%);
  will-change: transform;
  transform: translate(50vw, 42vh);
}

/* Machine Simulator Styling */
[data-el="machineLayer"] {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

[data-el="scene"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 1200px;
  height: 620px;
  transform-origin: 0 0;
  will-change: transform;
  transform: translate(-9999px, 0);
}

/* Lathe Bed Component Styling */
.lathe-glow-effect {
  position: absolute;
  left: 140px;
  top: 300px;
  width: 560px;
  height: 24px;
  border-radius: 40px;
  background: radial-gradient(ellipse at 50% 30%, rgba(96, 165, 250, 0.10), transparent 70%);
  filter: blur(6px);
}

.lathe-base {
  position: absolute;
  left: 118px;
  top: 452px;
  width: 770px;
  height: 44px;
  border-radius: 7px;
  background: linear-gradient(180deg, #3d4653, #1e242f 55%, #0d1117);
  box-shadow: 0 26px 50px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.08);
}

.lathe-shadow {
  position: absolute;
  left: 152px;
  top: 488px;
  width: 702px;
  height: 64px;
  background: linear-gradient(180deg, #14181f, #080a0e);
  clip-path: polygon(3% 0, 97% 0, 100% 100%, 0 100%);
  opacity: 0.92;
}

.lathe-guideway {
  position: absolute;
  left: 300px;
  top: 445px;
  width: 548px;
  height: 9px;
  border-radius: 5px;
  background: linear-gradient(180deg, #cbd4e2, #6c7686 48%, #272d37);
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.lathe-headstock {
  position: absolute;
  left: 150px;
  top: 288px;
  width: 176px;
  height: 204px;
  border-radius: 11px;
  background: linear-gradient(152deg, #485265, #29313d 52%, #151a21);
  box-shadow: 0 28px 56px rgba(0,0,0,0.55), inset 0 2px 0 rgba(255,255,255,0.07), inset 0 -2px 0 rgba(0,0,0,0.4);
}

.lathe-headstock-panel {
  position: absolute;
  left: 168px;
  top: 306px;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: linear-gradient(150deg, #3a4250, #1c222c);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.screw-bolt-1 {
  position: absolute;
  left: 172px;
  top: 430px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #11151b;
  box-shadow: 0 1px 0 rgba(255,255,255,0.07);
}

.screw-bolt-2 {
  position: absolute;
  left: 296px;
  top: 430px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #11151b;
  box-shadow: 0 1px 0 rgba(255,255,255,0.07);
}

.lathe-chuck-ring {
  position: absolute;
  left: 330px;
  top: 372px;
  width: 268px;
  height: 268px;
  margin: -134px 0 0 -134px;
  transform: scaleX(0.9);
}

.lathe-chuck-body {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #d8e0ec, #8590a2 33%, #3e4854 64%, #1a1e27);
  box-shadow: 0 20px 44px rgba(0,0,0,0.55), inset 0 0 30px rgba(0,0,0,0.55), inset 0 3px 6px rgba(255,255,255,0.18);
}

.lathe-chuck-inner {
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 5px solid rgba(15,19,25,0.5);
  box-shadow: inset 0 0 18px rgba(0,0,0,0.45);
}

.lathe-chuck-jaw-1 {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50px;
  height: 104px;
  margin: -104px 0 0 -25px;
  transform-origin: 50% 104px;
  transform: rotate(0deg);
  background: linear-gradient(180deg, #b3bccb, #586273 52%, #262c35);
  border-radius: 9px 9px 5px 5px;
  box-shadow: inset 0 3px 0 rgba(255,255,255,0.22), inset 0 -4px 6px rgba(0,0,0,0.4);
}

.lathe-chuck-jaw-2 {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50px;
  height: 104px;
  margin: -104px 0 0 -25px;
  transform-origin: 50% 104px;
  transform: rotate(120deg);
  background: linear-gradient(180deg, #b3bccb, #586273 52%, #262c35);
  border-radius: 9px 9px 5px 5px;
  box-shadow: inset 0 3px 0 rgba(255,255,255,0.22), inset 0 -4px 6px rgba(0,0,0,0.4);
}

.lathe-chuck-jaw-3 {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50px;
  height: 104px;
  margin: -104px 0 0 -25px;
  transform-origin: 50% 104px;
  transform: rotate(240deg);
  background: linear-gradient(180deg, #b3bccb, #586273 52%, #262c35);
  border-radius: 9px 9px 5px 5px;
  box-shadow: inset 0 3px 0 rgba(255,255,255,0.22), inset 0 -4px 6px rgba(0,0,0,0.4);
}

.chuck-pin-1 {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  margin: -100px 0 0 -5px;
  border-radius: 50%;
  background: #0f1319;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.6);
}

.chuck-pin-2 {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  margin: 89px 0 0 -5px;
  border-radius: 50%;
  background: #0f1319;
}

.chuck-pin-3 {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  margin: -5px 0 0 90px;
  border-radius: 50%;
  background: #0f1319;
}

.chuck-pin-4 {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  margin: -5px 0 0 -100px;
  border-radius: 50%;
  background: #0f1319;
}

.chuck-spindle-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #5e6980, #272f3a 60%, #10141b);
  box-shadow: inset 0 0 12px rgba(0,0,0,0.6), 0 0 0 3px rgba(20,25,33,0.6);
}

/* Lathe Workpiece (Metal Shaft being machined) */
.lathe-workpiece {
  position: absolute;
  left: 330px;
  top: 317px;
  width: 432px;
  height: 110px;
  border-radius: 0 55px 55px 0;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(0,0,0,0.45);
}

.lathe-workpiece-texture {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #1d2633 0%, #9db7d8 23%, #f2f7fe 42%, #a6bcd8 56%, #3a4755 80%, #121a24 100%);
}

.lathe-workpiece-reflection {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,0) 0, rgba(255,255,255,0) 9px, rgba(255,255,255,0.12) 10px, rgba(255,255,255,0) 15px);
  background-position: 0 0;
  mix-blend-mode: screen;
  opacity: 0.7;
}

.workpiece-step-1 {
  position: absolute;
  left: 64px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(0,0,0,0.22);
}

.workpiece-step-2 {
  position: absolute;
  left: 150px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(0,0,0,0.18);
}

.workpiece-step-3 {
  position: absolute;
  left: 250px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(0,0,0,0.28);
}

.workpiece-shading {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 34px;
  background: linear-gradient(90deg, rgba(8,12,20,0.55), transparent);
}

.workpiece-endface {
  position: absolute;
  left: 732px;
  top: 317px;
  width: 54px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #f2f7fe, #879cb8 52%, #2d3b4a);
  box-shadow: inset -7px 0 14px rgba(0,0,0,0.45), 0 10px 24px rgba(0,0,0,0.4);
}

/* Lathe Tool Post and Slide (Carriage) */
[data-el="carriage"] {
  position: absolute;
  left: 0;
  top: 466px;
  width: 210px;
  height: 160px;
  will-change: transform;
  transform: translateX(-9999px);
}

.carriage-saddle {
  position: absolute;
  left: 0;
  top: 46px;
  width: 210px;
  height: 104px;
  border-radius: 9px;
  background: linear-gradient(180deg, #4f5769, #282f3a 54%, #12161f);
  box-shadow: 0 20px 42px rgba(0,0,0,0.5), inset 0 2px 0 rgba(255,255,255,0.07);
}

.carriage-cross-slide {
  position: absolute;
  left: 52px;
  top: 16px;
  width: 106px;
  height: 52px;
  border-radius: 7px;
  background: linear-gradient(180deg, #5d677a, #323a46 55%, #191f29);
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.1), 0 6px 14px rgba(0,0,0,0.4);
}

/* Lathe Cutting Tool Bit */
[data-el="toolGroup"] {
  position: absolute;
  left: 82px;
  top: -44px;
  width: 46px;
  height: 74px;
  will-change: transform;
}

.tool-holder {
  position: absolute;
  left: 10px;
  top: 30px;
  width: 26px;
  height: 44px;
  border-radius: 4px;
  background: linear-gradient(180deg, #6c768c, #363e4b 60%, #1b212f);
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.12);
}

.tool-carbide-tip {
  position: absolute;
  left: 14px;
  top: 10px;
  width: 18px;
  height: 24px;
  background: linear-gradient(180deg, #f3f7fc, #9aa6b6 55%, #39414d);
  clip-path: polygon(0 0, 100% 0, 52% 100%);
  box-shadow: 0 -2px 4px rgba(120,180,255,0.3);
}

/* Spark Particle Canvas */
canvas[data-el="sparks"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 1200px;
  height: 620px;
  pointer-events: none;
}

/* Sound Wave bars (Machining Sound Simulation) */
[data-el="sound"] {
  position: absolute;
  left: 640px;
  top: 298px;
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 32px;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.sound-bar {
  width: 5px;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(180deg, #7cb3ff, var(--accent-blue));
  transform-origin: bottom;
}

.sound-bar-1 { animation: soundBar 0.55s ease-in-out -0.0s infinite; }
.sound-bar-2 { animation: soundBar 0.55s ease-in-out -0.18s infinite; }
.sound-bar-3 { animation: soundBar 0.55s ease-in-out -0.36s infinite; }
.sound-bar-4 { animation: soundBar 0.55s ease-in-out -0.1s infinite; }
.sound-bar-5 { animation: soundBar 0.55s ease-in-out -0.28s infinite; }

/* Grid & Blueprint lines Overlay */
svg[data-el="grid"] {
  position: absolute;
  left: 300px;
  top: 222px;
  opacity: 0;
  overflow: visible;
  pointer-events: none;
}

/* Dimming Ambient Light Overlay */
.machine-ambient-darkener {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(125% 100% at 50% 46%, transparent 52%, rgba(2,3,8,0.6) 100%);
}

/* Scroll Cue Indicator */
[data-el="scroll"] {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: 7;
}

[data-el="scroll"] .scroll-text {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 3px;
  color: var(--text-muted);
}

[data-el="scroll"] .mouse-outline {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(150,180,230,0.45);
  border-radius: 12px;
  position: relative;
}

[data-el="scroll"] .mouse-wheel {
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent-sky);
  position: absolute;
  left: 50%;
  top: 6px;
  margin-left: -2px;
  animation: pulseRing 1.8s ease-in-out infinite;
}

/* Intro Fader Overlay */
[data-el="black"] {
  position: absolute;
  inset: 0;
  background: var(--bg-primary);
  z-index: 30;
  pointer-events: none;
  opacity: 1;
  transition: opacity 1.25s ease;
}

/* Hamburger Navigation Button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin: -10px;
  min-width: 44px;
  min-height: 44px;
  touch-action: manipulation;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease;
  pointer-events: none;
}

.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9;
  background: rgba(3, 4, 10, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 0 24px;
}

.mobile-menu-link {
  font-size: 26px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  cursor: pointer;
  padding: 14px 32px;
  border-radius: 12px;
  letter-spacing: -0.01em;
  transition: color 0.2s ease, background 0.2s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
  touch-action: manipulation;
  width: 100%;
  justify-content: center;
}

.mobile-menu-link:hover,
.mobile-menu-link:active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

/* Media Queries for Mobile & Tablet Responsiveness */
@media (max-width: 760px) {
  header[data-el="nav"] {
    padding: 16px 20px !important;
    padding-top: calc(16px + env(safe-area-inset-top, 0px)) !important;
    padding-left: calc(20px + env(safe-area-inset-left, 0px)) !important;
    padding-right: calc(20px + env(safe-area-inset-right, 0px)) !important;
  }

  header[data-el="nav"] .logo-text {
    font-size: 13.5px !important;
  }

  header[data-el="nav"] .nav-link {
    display: none !important;
  }

  .nav-hamburger {
    display: flex !important;
  }

  section[data-screen-label] {
    padding-left: calc(24px + env(safe-area-inset-left, 0px)) !important;
    padding-right: calc(24px + env(safe-area-inset-right, 0px)) !important;
    min-height: 100svh !important;
  }
  
  section[data-screen-label="Services"],
  section[data-screen-label="Trust Indicators"],
  section[data-screen-label="About Company"] {
    min-height: auto !important;
    padding-top: 76px !important;
    padding-bottom: 76px !important;
  }
  
  section[data-screen-label="About Company"] {
    padding-bottom: 92px !important;
  }
  
  section[data-screen-label] > div {
    max-width: 100% !important;
    width: 100% !important;
  }
  
  section[data-screen-label="Hero"] {
    align-items: flex-start !important;
    padding-top: clamp(105px, 14vh, 135px) !important;
    padding-bottom: 40px !important;
  }
  
  [data-el="hero"] {
    max-width: 100% !important;
  }
  
  [data-el="hero"] h1 {
    font-size: 35px !important;
  }
  
  [data-el="eyebrow"] {
    font-size: 11px !important;
  }
  
  [data-el="sub"] {
    max-width: 100% !important;
    font-size: 14.5px !important;
    margin-top: 16px !important;
  }
  
  [data-el="ctas"] {
    margin-top: 24px !important;
    flex-direction: column;
    gap: 10px;
  }
  
  [data-el="ctas"] .btn-primary,
  [data-el="ctas"] .btn-secondary {
    width: 100% !important;
    justify-content: center !important;
  }
  
  section[data-screen-label="Trust Indicators"] .trust-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .trust-card {
    padding: 18px 16px !important;
  }

  .trust-card .card-number {
    font-size: clamp(26px, 6.5vw, 34px) !important;
  }

  .about-quote-btn {
    width: 100% !important;
    justify-content: center !important;
    margin-top: 28px !important;
  }

  [data-el="scroll"] {
    display: none !important;
  }
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  [data-el="eyebrow"],
  [data-el="hero"] [data-line],
  [data-el="sub"],
  [data-el="ctas"],
  [data-reveal] {
    transition: none !important;
  }

  .sound-bar {
    animation: none !important;
  }

  [data-el="particles"] {
    display: none;
  }

  .mouse-wheel {
    animation: none !important;
  }
}
