:root {
  --tectron-ink: #07111f;
  --tectron-steel: #132238;
  --tectron-panel: #0d1a2b;
  --tectron-blue: #005dff;
  --tectron-cyan: #37d8ff;
  --tectron-ice: #d7edff;
  --tectron-muted: #8ba2b8;
  --tectron-line: rgba(141, 196, 232, 0.22);
  --tectron-white: #f7fbff;
  --tectron-font: "Space Grotesk", sans-serif;
  --tectron-display: "Rajdhani", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--tectron-ink);
  color: var(--tectron-white);
  font-family: var(--tectron-font);
  line-height: 1.65;
}

body::selection {
  background: var(--tectron-cyan);
  color: var(--tectron-ink);
}

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

img {
  max-width: 100%;
  height: auto;
}

section:target [data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

h1,
h2,
h3,
.brand-text,
.brand-symbol {
  font-family: var(--tectron-display);
  letter-spacing: 0.015em;
}

h1 {
  max-width: 12ch;
  font-size: 5.6rem;
  font-weight: 700;
  line-height: 0.86;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
}

h3 {
  font-size: 1.45rem;
  font-weight: 700;
  text-transform: uppercase;
}

.section-padding {
  padding: clamp(5rem, 9vw, 8.5rem) 0;
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: var(--tectron-cyan);
  font-family: var(--tectron-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-kicker::before,
.eyebrow::before {
  width: 38px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--tectron-cyan), transparent);
}

.section-copy,
.section-heading p {
  color: #b9cad8;
  font-size: 1.08rem;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 3.5rem;
}

.tectron-navbar {
  padding: 1rem 0;
  background: rgba(5, 12, 23, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  transition: padding 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.tectron-navbar.is-scrolled {
  padding: 0.55rem 0;
  background: rgba(5, 12, 23, 0.94);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.32);
}

.navbar-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--tectron-white);
  font-weight: 700;
  text-transform: uppercase;
}

.brand-symbol {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 42px;
  color: var(--tectron-cyan);
  background: linear-gradient(145deg, rgba(55, 216, 255, 0.18), rgba(0, 93, 255, 0.08));
  border: 1px solid rgba(55, 216, 255, 0.5);
  border-radius: 12px 4px 12px 4px;
  box-shadow: 0 0 30px rgba(55, 216, 255, 0.16);
}

.brand-text {
  font-size: 1.35rem;
}

.navbar-toggler {
  border: 1px solid rgba(55, 216, 255, 0.36);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.18rem rgba(55, 216, 255, 0.18);
}

.navbar-toggler-icon {
  filter: invert(1);
}

.nav-link {
  color: rgba(247, 251, 255, 0.74);
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--tectron-cyan);
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn-nav {
  padding: 0.65rem 1.15rem;
  color: var(--tectron-ink);
  background: var(--tectron-cyan);
  border: 0;
}

.btn-nav:hover,
.btn-primary-tectron:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(55, 216, 255, 0.28);
}

.btn-primary-tectron {
  padding: 0.95rem 1.45rem;
  color: #031120;
  background: linear-gradient(135deg, var(--tectron-cyan), #7ae8ff 48%, var(--tectron-blue));
  border: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.btn-ghost {
  padding: 0.9rem 1.25rem;
  color: var(--tectron-white);
  border: 1px solid rgba(215, 237, 255, 0.28);
  background: rgba(255, 255, 255, 0.045);
}

.btn-ghost:hover {
  color: var(--tectron-white);
  border-color: var(--tectron-cyan);
  background: rgba(55, 216, 255, 0.12);
}

.hero-section {
  position: relative;
  min-height: 92vh;
  padding: 8.25rem 0 5rem;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 8, 15, 0.92) 0%, rgba(5, 13, 24, 0.84) 43%, rgba(5, 13, 24, 0.42) 100%),
    linear-gradient(180deg, rgba(3, 8, 15, 0.2) 0%, rgba(3, 8, 15, 0.82) 100%),
    url("../assets/img/hero-metal-cutting.jpg") center / cover no-repeat;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(55, 216, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55, 216, 255, 0.1) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, black, transparent 92%);
}

.laser-sweep {
  position: absolute;
  top: -15%;
  left: 52%;
  width: 2px;
  height: 135%;
  background: linear-gradient(180deg, transparent, rgba(55, 216, 255, 0.9), transparent);
  box-shadow: 0 0 30px rgba(55, 216, 255, 0.75);
  transform: rotate(18deg);
  animation: sweep 6s cubic-bezier(0.77, 0, 0.18, 1) infinite;
}

.hero-logo-reveal {
  position: absolute;
  right: clamp(4rem, 8vw, 8.5rem);
  top: 50%;
  z-index: 1;
  width: min(34vw, 520px);
  padding: clamp(1rem, 1.8vw, 1.7rem);
  overflow: hidden;
  background: rgba(244, 248, 252, 0.9);
  border-radius: 16px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
  transform: translateY(-42%);
}

.hero-logo-reveal::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -22%;
  width: 22%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(55, 216, 255, 0.34), rgba(255, 255, 255, 0.46), transparent);
  transform: translateX(0);
  animation: logoScan 3.8s ease-in-out 0.35s forwards;
}

.hero-logo-reveal img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  opacity: 0;
  filter: drop-shadow(0 0 14px rgba(55, 216, 255, 0.28));
  clip-path: inset(0 100% 0 0);
  animation: logoWrite 3.8s ease-in-out 0.35s forwards;
}

.hero-logo-laser {
  position: absolute;
  top: 50%;
  left: 7%;
  z-index: 3;
  width: 10px;
  height: 10px;
  background: #aaf4ff;
  border-radius: 50%;
  box-shadow: 0 0 18px 8px rgba(55, 216, 255, 0.78), 0 0 70px 18px rgba(0, 93, 255, 0.42);
  transform: translate(-50%, -50%);
  animation: logoLaserDot 3.8s ease-in-out 0.35s forwards;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-split {
  min-height: calc(92vh - 13.25rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-lead {
  max-width: 620px;
  margin: 1.5rem 0 0;
  color: #c1d2e0;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.hero-proof span {
  padding: 0.55rem 0.85rem;
  color: #d9efff;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(55, 216, 255, 0.18);
  border-radius: 999px;
}

.intro-section {
  background:
    linear-gradient(180deg, #07111f, #0c1728),
    radial-gradient(circle at 90% 20%, rgba(55, 216, 255, 0.12), transparent 30%);
}

.intro-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.intro-highlights > div,
.service-card,
.challenge-card,
.process-step,
.roadmap-list div,
.contact-card,
.inquiry-form {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(215, 237, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.intro-highlights > div {
  padding: 1.25rem;
}

.metric {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--tectron-cyan);
  font-family: var(--tectron-display);
  font-size: 2rem;
  font-weight: 700;
}

.services-section,
.process-section {
  background: #eef5fa;
  color: var(--tectron-ink);
}

.services-section .section-kicker,
.process-section .section-kicker {
  color: var(--tectron-blue);
}

.services-section .section-heading p,
.process-section .section-heading p {
  color: #52677a;
}

.service-card {
  height: 100%;
  padding: 2rem;
  color: var(--tectron-ink);
  background: #ffffff;
  border-color: rgba(6, 25, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 93, 255, 0.28);
  box-shadow: 0 30px 70px rgba(3, 17, 32, 0.15);
}

.service-card.featured {
  color: var(--tectron-white);
  background:
    radial-gradient(circle at 85% 16%, rgba(55, 216, 255, 0.34), transparent 28%),
    linear-gradient(145deg, #0b1728, #122d53);
}

.service-card i {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1.4rem;
  color: var(--tectron-cyan);
  background: rgba(55, 216, 255, 0.12);
  border-radius: 18px 6px 18px 6px;
  font-size: 1.8rem;
}

.service-card ul {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 1.4rem;
}

.service-card li::before {
  position: absolute;
  top: 0.72rem;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--tectron-cyan);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(55, 216, 255, 0.65);
}

.precision-band {
  position: relative;
  padding: clamp(5rem, 9vw, 7.5rem) 0;
  background:
    linear-gradient(90deg, rgba(5, 11, 20, 0.88), rgba(5, 11, 20, 0.62)),
    url("../assets/img/parallax-machining.jpg") center / cover no-repeat;
  background-attachment: fixed;
}

.precision-band h2 {
  color: var(--tectron-white);
}

.precision-band p:last-child {
  color: #c8d8e5;
  font-size: 1.12rem;
}

.challenges-section,
.roadmap-section,
.contact-section {
  background:
    radial-gradient(circle at 10% 10%, rgba(0, 93, 255, 0.13), transparent 28%),
    linear-gradient(180deg, #08111f, #0c1728);
}

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

.challenge-card {
  padding: 1.6rem;
}

.challenge-card span {
  color: var(--tectron-cyan);
  font-family: var(--tectron-display);
  font-size: 1.55rem;
  font-weight: 700;
}

.challenge-card p {
  margin-bottom: 0;
  color: #b6c7d6;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}

.process-step {
  position: relative;
  padding: 1.7rem;
  color: var(--tectron-ink);
  background: #ffffff;
  border-color: rgba(6, 25, 42, 0.08);
}

.process-step span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.15rem;
  color: var(--tectron-white);
  background: linear-gradient(135deg, var(--tectron-blue), var(--tectron-cyan));
  border-radius: 50%;
  font-family: var(--tectron-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.process-step p {
  color: #53677a;
}

.roadmap-list {
  display: grid;
  gap: 1rem;
}

.roadmap-list div {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem;
}

.roadmap-list span {
  display: inline-flex;
  justify-content: center;
  padding: 0.65rem 1rem;
  color: var(--tectron-ink);
  background: var(--tectron-cyan);
  border-radius: 999px;
  font-family: var(--tectron-display);
  font-weight: 700;
  text-transform: uppercase;
}

.roadmap-list p {
  margin: 0;
  color: #c1d2e0;
}

.contact-cards {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0.25rem 1rem;
  padding: 1.1rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.contact-card:hover {
  transform: translateX(6px);
  color: var(--tectron-white);
  border-color: rgba(55, 216, 255, 0.4);
  background: rgba(55, 216, 255, 0.08);
}

.contact-card i {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--tectron-cyan);
  background: rgba(55, 216, 255, 0.1);
  border-radius: 15px;
  font-size: 1.25rem;
}

.contact-card span {
  color: var(--tectron-muted);
  font-size: 0.9rem;
}

.contact-card strong {
  overflow-wrap: anywhere;
}

.inquiry-form {
  padding: clamp(1.35rem, 3vw, 2.25rem);
}

.form-label {
  color: #d9e9f7;
  font-weight: 700;
}

.form-control,
.form-select {
  min-height: 54px;
  color: var(--tectron-white);
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(215, 237, 255, 0.16);
  border-radius: 16px;
}

.form-control:focus,
.form-select:focus {
  color: var(--tectron-white);
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--tectron-cyan);
  box-shadow: 0 0 0 0.2rem rgba(55, 216, 255, 0.15);
}

.form-select option {
  color: var(--tectron-ink);
}

textarea.form-control {
  min-height: 160px;
}

.form-note {
  margin: 0.85rem 0 0;
  color: var(--tectron-muted);
  font-size: 0.92rem;
  text-align: center;
}

.site-footer {
  padding: 2rem 0;
  background: #040914;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer p,
.footer-credit {
  color: #96a9ba;
}

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

.footer-links a,
.footer-credit a {
  color: var(--tectron-cyan);
  font-weight: 700;
}

.footer-links a:hover,
.footer-credit a:hover {
  color: var(--tectron-white);
}

@keyframes sweep {
  0%,
  18% {
    transform: translateX(-80vw) rotate(18deg);
    opacity: 0;
  }
  32% {
    opacity: 1;
  }
  68% {
    opacity: 1;
  }
  88%,
  100% {
    transform: translateX(72vw) rotate(18deg);
    opacity: 0;
  }
}

@keyframes logoWrite {
  0%,
  12% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }
  24% {
    opacity: 1;
  }
  62%,
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes logoScan {
  0%,
  14% {
    transform: translateX(0);
    opacity: 0;
  }
  22% {
    opacity: 1;
  }
  62%,
  100% {
    transform: translateX(550%);
    opacity: 0;
  }
}

@keyframes logoLaserDot {
  0%,
  14% {
    left: 7%;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  62% {
    left: 93%;
    opacity: 1;
  }
  70%,
  100% {
    left: 93%;
    opacity: 0;
  }
}

@media (max-width: 1199.98px) {
  .process-line {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991.98px) {
  .tectron-navbar {
    background: rgba(5, 12, 23, 0.96);
  }

  .navbar-collapse {
    padding-top: 1rem;
  }

  .hero-section {
    padding-top: 5rem;
  }

  h1 {
    font-size: 4.9rem;
  }

  .hero-logo-reveal {
    right: 2rem;
    width: min(36vw, 360px);
    opacity: 0.82;
  }

  .intro-highlights {
    grid-template-columns: 1fr;
  }

  .precision-band {
    background-attachment: scroll;
  }
}

@media (max-width: 767.98px) {
  h1 {
    max-width: 100%;
    font-size: clamp(2.85rem, 12vw, 4.05rem);
    overflow-wrap: break-word;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-logo-reveal {
    display: none;
  }

  .challenge-grid,
  .process-line {
    grid-template-columns: 1fr;
  }

  .roadmap-list div {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
