/* ============================================
   Protech Automation LLC — Brand Styles
   ============================================ */

:root {
  --color-bg: #1e2126;
  --color-bg-elevated: #282c33;
  --color-bg-card: #2f343c;
  --color-surface: #363c46;
  --color-border: #3d4450;
  --color-text: #e8eaed;
  --color-text-muted: #9aa0a8;
  --color-text-dim: #6b7280;
  --color-white: #ffffff;
  --color-accent: #e85d04;
  --color-accent-light: #ff7a1a;
  --color-accent-glow: rgba(232, 93, 4, 0.35);
  --font-display: 'Exo 2', sans-serif;
  --font-body: 'Inter', sans-serif;
  --header-height: 80px;
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.25s ease;
  --container: 1200px;
}

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

html {
  scroll-behavior: auto;
  scroll-padding-top: var(--header-height);
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

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

body.loading {
  overflow: hidden;
}

body.loading .header,
body.loading main,
body.loading .footer {
  visibility: hidden;
}

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


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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-accent {
  color: var(--color-accent-light);
}

/* Circuit board background */
.circuit-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(30, 33, 38, 0.97) 0%, rgba(30, 33, 38, 0.92) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg stroke='%233a3f47' stroke-width='0.5' opacity='0.4'%3E%3Cpath d='M0 30h20M40 30h20M30 0v20M30 40v20'/%3E%3Ccircle cx='30' cy='30' r='2' fill='%233a3f47'/%3E%3Ccircle cx='0' cy='30' r='1.5' fill='%233a3f47'/%3E%3Ccircle cx='60' cy='30' r='1.5' fill='%233a3f47'/%3E%3Ccircle cx='30' cy='0' r='1.5' fill='%233a3f47'/%3E%3Ccircle cx='30' cy='60' r='1.5' fill='%233a3f47'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.circuit-bg::before,
.circuit-bg::after {
  content: '';
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='400' viewBox='0 0 120 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23e85d04' stroke-width='1' fill='none' opacity='0.6'%3E%3Cpath d='M20 0v80l30 20v60M60 160l-20 40v100M40 300h40v100'/%3E%3Ccircle cx='20' cy='80' r='3' fill='%23e85d04'/%3E%3Ccircle cx='50' cy='100' r='2' fill='%23e85d04'/%3E%3Ccircle cx='40' cy='200' r='2' fill='%23e85d04'/%3E%3Ccircle cx='80' cy='300' r='3' fill='%23e85d04'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-y;
}

.circuit-bg::before { left: 0; }
.circuit-bg::after { right: 0; transform: scaleX(-1); }

/* Particle canvas */
.particle-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.6;
}

/* Cursor glow */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 93, 4, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
}

.preloader.done {
  pointer-events: none;
  visibility: hidden;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.preloader-logo {
  width: auto;
  max-width: min(280px, 70vw);
  height: auto;
  max-height: 80px;
  object-fit: contain;
  animation: preloaderPulse 2s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(232, 93, 4, 0.3)); }
  50% { filter: drop-shadow(0 0 24px rgba(232, 93, 4, 0.7)); }
}

.preloader-bar {
  width: 240px;
  height: 3px;
  background: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-progress {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  border-radius: 2px;
  box-shadow: 0 0 12px var(--color-accent-glow);
}

.preloader-text {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  animation: textFlicker 3s step-end infinite;
}

@keyframes textFlicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(30, 33, 38, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--color-border);
  background: rgba(30, 33, 38, 0.95);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 1rem;
  transition: filter var(--transition);
}

.logo:hover {
  filter: drop-shadow(0 0 12px rgba(232, 93, 4, 0.4));
}

.logo-img {
  display: block;
  width: 220px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

.logo-sm .logo-img {
  height: 36px;
  max-width: 180px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-left: auto;
  flex-shrink: 1;
  min-width: 0;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-links a:not(.nav-cta):hover,
.nav-links a:not(.nav-cta).active {
  color: var(--color-white);
}

.nav-links a:not(.nav-cta).active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

.nav-links li:last-child {
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-white) !important;
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius);
  border: 2px solid var(--color-accent);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(232, 93, 4, 0.3);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
  color: var(--color-white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(232, 93, 4, 0.45);
}

.nav-cta.active::after {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition);
  border-radius: 1px;
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-ripple {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%) scale(0);
  animation: rippleExpand 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes rippleExpand {
  to {
    transform: translate(-50%, -50%) scale(20);
    opacity: 0;
  }
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--color-accent-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-light);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--header-height);
  position: relative;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--color-accent-glow);
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}

.hero-line {
  display: block;
  overflow: hidden;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.stat-text {
  letter-spacing: 0.06em;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-accent-light);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  margin-top: 0.25rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.hero-logo-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--color-bg-card) 0%, var(--color-bg-elevated) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.1s ease;
}

.hero-logo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(232, 93, 4, 0.12) 0%,
    transparent 50%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.hero-logo-frame:hover::before {
  opacity: 1;
}

.hero-logo {
  width: auto;
  max-width: min(340px, 90%);
  height: auto;
  max-height: 120px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  border-radius: var(--radius);
}

.hero-logo-ring {
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  background: linear-gradient(var(--color-bg-card), var(--color-bg-card)) padding-box,
              conic-gradient(from 0deg, transparent, var(--color-accent), var(--color-accent-light), transparent) border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: 0.7;
  z-index: 1;
}

.hero-logo-ring-2 {
  inset: 8px;
  opacity: 0.35;
  animation: ringSpinReverse 25s linear infinite;
}

@keyframes ringSpinReverse {
  to { transform: rotate(-360deg); }
}

.hero-logo-scan {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(232, 93, 4, 0.06) 48%,
    rgba(232, 93, 4, 0.15) 50%,
    rgba(232, 93, 4, 0.06) 52%,
    transparent 100%
  );
  background-size: 100% 200%;
  animation: scanLine 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scanLine {
  0% { background-position: 0 -100%; }
  100% { background-position: 0 200%; }
}

.hero-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orbit-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-accent);
}

.orbit-dot:nth-child(1) {
  top: 15%;
  left: 10%;
  animation: orbitFloat1 6s ease-in-out infinite;
}

.orbit-dot:nth-child(2) {
  top: 70%;
  right: 12%;
  animation: orbitFloat2 7s ease-in-out infinite;
}

.orbit-dot:nth-child(3) {
  bottom: 20%;
  left: 20%;
  animation: orbitFloat3 5s ease-in-out infinite;
}

@keyframes orbitFloat1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -15px); }
}

@keyframes orbitFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-18px, 12px); }
}

@keyframes orbitFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(15px, 18px); }
}

.hero-card-glow {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 50%;
  background: radial-gradient(ellipse, var(--color-accent-glow) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.hero-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  margin: 0 1.5rem;
  box-shadow: 0 0 12px var(--color-accent-glow);
  animation: dividerShimmer 3s ease-in-out infinite;
}

@keyframes dividerShimmer {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; box-shadow: 0 0 20px var(--color-accent-glow); }
}

/* Sections */
.section {
  padding: 5rem 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.section.hero {
  content-visibility: visible;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  position: relative;
}

.section-tag::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  animation: tagUnderline 2s ease-in-out infinite;
}

@keyframes tagUnderline {
  0%, 100% { opacity: 0.4; transform: scaleX(0.6); transform-origin: left; }
  50% { opacity: 1; transform: scaleX(1); }
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* About */
/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  z-index: 1001;
  box-shadow: 0 0 8px var(--color-accent-glow);
  transition: width 0.1s linear;
}

/* Tech marquee */
.tech-marquee {
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: rgba(40, 44, 51, 0.6);
  padding: 1rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-text-dim);
  white-space: nowrap;
  transition: color 0.3s;
}

.marquee-track span:hover {
  color: var(--color-accent);
}

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

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.6rem 1.2rem;
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--radius);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Process */
.process {
  background: linear-gradient(180deg, transparent 0%, rgba(40, 44, 51, 0.4) 50%, transparent 100%);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 0 1rem;
}

.process-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 1rem;
  transition: opacity var(--transition), text-shadow var(--transition);
}

.process-step:hover .process-num {
  opacity: 1;
  text-shadow: 0 0 20px var(--color-accent-glow);
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.process-connector {
  width: 40px;
  flex-shrink: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-border), var(--color-accent), var(--color-border));
  margin-top: 2.5rem;
  opacity: 0.5;
}

.about-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  transform-style: preserve-3d;
  will-change: transform;
}

.about-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 12px 40px rgba(232, 93, 4, 0.15);
}

.about-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 93, 4, 0.12);
  border-radius: var(--radius);
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.about-icon svg {
  width: 24px;
  height: 24px;
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.about-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Engineering */
.engineering {
  background: linear-gradient(180deg, transparent 0%, rgba(40, 44, 51, 0.5) 50%, transparent 100%);
}

.engineering-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.eng-icon-vision svg {
  width: 28px;
  height: 28px;
}

.eng-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.eng-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(232, 93, 4, 0.05), transparent);
  transition: left 0.6s ease;
}

.eng-card:hover {
  border-color: rgba(232, 93, 4, 0.5);
  box-shadow: 0 12px 40px rgba(232, 93, 4, 0.12);
}

.eng-card:hover::after {
  left: 150%;
}

.eng-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 93, 4, 0.15);
  border-radius: var(--radius);
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.eng-icon svg {
  width: 28px;
  height: 28px;
}

.eng-icon-rockwell span,
.eng-icon-siemens span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.eng-icon-siemens span {
  font-size: 0.55rem;
}

.eng-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.eng-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.eng-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.eng-tags li {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  background: rgba(232, 93, 4, 0.1);
  color: var(--color-accent-light);
  border-radius: 100px;
  border: 1px solid rgba(232, 93, 4, 0.25);
}

/* Solutions */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.solution-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  transform-style: preserve-3d;
  will-change: transform;
}

.solution-card:hover {
  border-color: var(--color-accent);
  background: var(--color-bg-elevated);
  box-shadow: 0 10px 32px rgba(232, 93, 4, 0.12);
}

.solution-card:hover .solution-icon {
  animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
  60% { transform: translateY(-3px); }
}

.solution-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.solution-icon svg {
  width: 28px;
  height: 28px;
}

.solution-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.solution-card p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Robots */
.robots-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.robots-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.robots-content p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.robot-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.robot-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text);
  font-size: 0.95rem;
}

.robot-features li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.robot-brands {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.brand-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  transform-style: preserve-3d;
  will-change: transform;
}

.brand-card:hover {
  border-left-color: var(--color-accent-light);
  border-color: rgba(232, 93, 4, 0.3);
  box-shadow: 0 8px 28px rgba(232, 93, 4, 0.1);
}

.brand-card:hover .brand-name {
  text-shadow: 0 0 20px var(--color-accent-glow);
}

.brand-card-highlight {
  border-left-color: var(--color-accent-light);
  background: linear-gradient(135deg, var(--color-bg-card) 0%, rgba(232, 93, 4, 0.06) 100%);
}

/* Vision section */
.vision {
  background: linear-gradient(180deg, transparent 0%, rgba(40, 44, 51, 0.5) 50%, transparent 100%);
}

.vision-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 3rem;
}

.vision-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.vision-content p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.vision-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vision-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text);
  font-size: 0.95rem;
}

.vision-features li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--color-accent-glow);
}

.vision-brands {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.vision-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  transform-style: preserve-3d;
  will-change: transform;
}

.vision-card:hover {
  border-color: rgba(232, 93, 4, 0.4);
  box-shadow: 0 8px 28px rgba(232, 93, 4, 0.1);
}

.vision-brand-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 0.4rem;
}

.vision-card p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.vision-card-highlight {
  grid-column: 1 / -1;
  border-left: 3px solid var(--color-accent);
  background: linear-gradient(135deg, var(--color-bg-card) 0%, rgba(232, 93, 4, 0.06) 100%);
}

.vision-applications {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.vision-applications h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.vision-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.vision-tags span {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  background: rgba(232, 93, 4, 0.08);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  transition: all var(--transition);
}

.vision-tags span:hover {
  color: var(--color-accent-light);
  border-color: var(--color-accent);
  background: rgba(232, 93, 4, 0.15);
  transform: translateY(-2px);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  border: none;
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  box-shadow: 0 4px 20px var(--color-accent-glow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-accent-light);
  transform: translateY(-4px);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.brand-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Industries */
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.industry-pill {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.65rem 1.25rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  color: var(--color-text-muted);
  transition: all var(--transition);
}

.industry-pill:hover {
  color: var(--color-white);
  border-color: var(--color-accent);
  background: rgba(232, 93, 4, 0.1);
  transform: translateY(-2px);
}

/* CTA Banner */
.cta-banner {
  padding: 4rem 0;
}

.cta-inner {
  text-align: center;
  background: linear-gradient(135deg, var(--color-bg-card) 0%, var(--color-bg-elevated) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  animation: dividerShimmer 3s ease-in-out infinite;
}

.cta-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(232, 93, 4, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.cta-inner p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.contact-item:hover {
  border-color: var(--color-accent);
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 93, 4, 0.12);
  border-radius: var(--radius);
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-value {
  display: block;
  font-weight: 600;
  color: var(--color-white);
}

.contact-person {
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.person-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
}

.person-title {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Form */
.contact-form {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-dim);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-dim);
  margin-top: 1rem;
}

.form-note a {
  color: var(--color-accent);
}

.form-note a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 2rem;
  background: rgba(24, 27, 31, 0.5);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-tagline {
  color: var(--color-text-dim);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

/* Scroll reveal fallback */
.reveal {
  opacity: 1;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .preloader { display: none; }
  body.loading { overflow: auto; }
  body.loading .header,
  body.loading main,
  body.loading .footer { visibility: visible; }
  .particle-canvas,
  .cursor-glow { display: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .engineering-grid,
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    flex-direction: column;
    gap: 2rem;
  }

  .process-connector {
    width: 2px;
    height: 30px;
    margin: 0 auto;
  }

  .robots-layout,
  .contact-grid,
  .vision-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .vision-brands {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(30, 33, 38, 0.98);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links li:last-child a {
    border-bottom: none;
    margin-top: 0.5rem;
    text-align: center;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 6vw, 2.5rem);
  }

  .hero-logo-frame {
    padding: 2rem 1.5rem;
  }

  .hero-logo {
    max-height: 100px;
  }

  .section {
    padding: 4rem 0;
  }

  .footer-links {
    gap: 1.25rem;
  }

  .mobile-cta {
    display: flex;
  }

  body {
    padding-bottom: 64px;
  }

  .back-to-top {
    bottom: 5.5rem;
  }

  .nav {
    gap: 1rem;
  }

  .logo {
    margin-right: 0;
  }

  .logo-img {
    width: 150px;
    max-height: 36px;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links li:last-child {
    margin-left: 0;
  }

  .nav-links li:last-child a {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    padding: 0.85rem 1.5rem !important;
    border-radius: var(--radius);
    border-bottom: none !important;
    margin-top: 0.75rem;
  }
}

/* Hero video background */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 33, 38, 0.92) 0%,
    rgba(30, 33, 38, 0.75) 50%,
    rgba(30, 33, 38, 0.9) 100%
  );
}

.hero-grid {
  position: relative;
  z-index: 1;
}

/* Projects gallery */
.projects {
  background: linear-gradient(180deg, transparent 0%, rgba(40, 44, 51, 0.35) 50%, transparent 100%);
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.project-filter-btn {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.5rem 1.1rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.project-filter-btn:hover,
.project-filter-btn.active {
  color: var(--color-white);
  border-color: var(--color-accent);
  background: rgba(232, 93, 4, 0.12);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.project-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.project-card.hidden {
  display: none;
}

.project-image-wrap {
  position: relative;
  overflow: hidden;
}

.project-image-wrap img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-image-wrap img {
  transform: scale(1.04);
}

.project-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  background: rgba(30, 33, 38, 0.85);
  color: var(--color-accent-light);
  border: 1px solid rgba(232, 93, 4, 0.3);
  border-radius: 100px;
}

.project-info {
  padding: 1.25rem 1.5rem 1.5rem;
}

.project-info h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.project-info p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.project-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
}

.projects-note,
.simulation-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-dim);
  margin-top: 2rem;
}

.projects-note code,
.simulation-note code {
  font-size: 0.75rem;
  padding: 0.15rem 0.4rem;
  background: var(--color-bg-card);
  border-radius: 4px;
  color: var(--color-text-muted);
}

.projects-note a {
  color: var(--color-accent);
}

/* Project modal */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.project-modal.open {
  opacity: 1;
  visibility: visible;
}

.project-modal-content {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition);
}

.project-modal.open .project-modal-content {
  transform: translateY(0);
}

.project-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--color-bg-card);
  color: var(--color-text);
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.project-modal-close:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.modal-header {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.modal-image {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16/10;
  object-fit: cover;
}

.modal-meta h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-white);
  margin: 0.5rem 0 1rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.project-tags span {
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  background: rgba(232, 93, 4, 0.1);
  color: var(--color-accent-light);
  border-radius: 100px;
  border: 1px solid rgba(232, 93, 4, 0.2);
}

.modal-disclaimer {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  font-style: italic;
  margin-bottom: 1.25rem;
  padding: 0.6rem 0.9rem;
  background: var(--color-bg-card);
  border-radius: var(--radius);
  border-left: 2px solid var(--color-border);
}

.modal-block {
  margin-bottom: 1.25rem;
}

.modal-block h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.4rem;
}

.modal-block p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.modal-result {
  padding: 1rem;
  background: rgba(232, 93, 4, 0.06);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius);
}

.modal-cta {
  width: 100%;
  margin-top: 0.5rem;
}

/* Simulation section */
.simulation {
  background: linear-gradient(180deg, transparent 0%, rgba(40, 44, 51, 0.4) 50%, transparent 100%);
}

.simulation-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.sim-tool {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.4rem 1rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  color: var(--color-text-dim);
}

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

.sim-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition);
}

.sim-card:hover {
  border-color: rgba(232, 93, 4, 0.4);
}

.sim-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  background: #000;
}

.sim-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.sim-info {
  padding: 1.25rem;
}

.sim-platform {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.sim-info h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0.4rem 0 0.5rem;
}

.sim-info p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Form enhancements */
.form-status {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.form-status[hidden] {
  display: none;
}

.form-status--success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.form-status--error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.form-status--info {
  background: rgba(232, 93, 4, 0.1);
  border: 1px solid rgba(232, 93, 4, 0.25);
  color: var(--color-accent-light);
}

.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  cursor: pointer;
  appearance: none;
  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='%239aa0a8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
}

.hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Mobile sticky CTA */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 850;
  padding: 0.75rem 1rem;
  background: rgba(30, 33, 38, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border);
  gap: 0.75rem;
  align-items: center;
}

.mobile-cta-call {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-white);
  padding: 0.6rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  flex-shrink: 0;
}

.mobile-cta-quote {
  flex: 1;
  text-align: center;
  padding: 0.6rem 1rem !important;
  font-size: 0.9rem !important;
}

@media (max-width: 1024px) {
  .projects-grid,
  .simulation-grid {
    grid-template-columns: 1fr;
  }

  .modal-header {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) {
  .mobile-cta {
    display: none !important;
  }

  .logo-img {
    width: 280px;
    max-height: 56px;
  }
}

@media (min-width: 1025px) {
  .logo-img {
    width: 340px;
    max-height: 64px;
  }

  .hero-logo-frame {
    max-width: 560px;
    padding: 3.5rem 2.5rem;
  }

  .hero-logo {
    max-width: 440px;
    max-height: 160px;
  }
}
