:root {
  color-scheme: dark;
  font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #05060a;
  color: #e9ecf4;
  --accent: #7b6cff;
  --accent-soft: #a398ff;
  --surface: rgba(255, 255, 255, 0.04);
  --stroke: rgba(255, 255, 255, 0.08);
  --gradient: linear-gradient(120deg, #6f6bff, #b372ff 45%, #4bf4ff);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, rgba(123, 108, 255, 0.15), transparent 40%) #05060a;
  min-height: 100vh;
}

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

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background-color: rgba(5, 6, 10, 0.85);
  border-bottom: 1px solid var(--stroke);
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}

.logo {
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.logo small {
  padding: 0.1rem 0.4rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  font-size: 0.75rem;
}

.nav {
  display: flex;
  gap: 1.5rem;
  flex: 1;
}

.nav a {
  color: #cfd3e4;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.nav a:hover {
  color: #fff;
}

.cta {
  border: 1px solid var(--stroke);
  background: transparent;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.cta.primary {
  background: var(--gradient);
  border: none;
  color: #05060a;
  font-weight: 600;
}

.cta.ghost {
  background: rgba(255, 255, 255, 0.06);
}

.cta.stretch {
  width: 100%;
  margin-top: 0.25rem;
}

.cta:hover {
  transform: translateY(-2px);
  border-color: #7b6cff;
}

.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
  padding: 5rem 0 4rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  color: var(--accent-soft);
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  margin: 0;
  line-height: 1.1;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  color: transparent;
}

.lede {
  color: #b2b8cc;
  line-height: 1.6;
  margin: 1.25rem 0 2rem;
}

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

.hero-metrics {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-metrics li span {
  display: block;
  font-size: 1.75rem;
  font-weight: 600;
  color: #fff;
}

.hero-visual {
  position: relative;
  min-height: 320px;
}

.orb {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75, 244, 255, 0.6), rgba(123, 108, 255, 0.1));
  filter: blur(0px);
  animation: pulse 6s linear infinite alternate;
}

.grid {
  position: absolute;
  inset: 20px;
  border: 1px solid var(--stroke);
  border-radius: 40px;
  overflow: hidden;
}

.grid-line {
  position: absolute;
  width: 1px;
  height: 200%;
  background: rgba(255, 255, 255, 0.08);
  top: -50%;
  animation: slide 12s linear infinite;
}

.grid-line:nth-child(1) {
  left: 25%;
  animation-delay: 0s;
}

.grid-line:nth-child(2) {
  left: 50%;
  animation-delay: 1.5s;
}

.grid-line:nth-child(3) {
  left: 75%;
  animation-delay: 3s;
}

.grid-line:nth-child(4) {
  top: 25%;
  width: 200%;
  height: 1px;
  left: -50%;
}

.floating-card {
  position: absolute;
  right: 10%;
  bottom: 10%;
  padding: 1.5rem;
  background: rgba(5, 6, 10, 0.85);
  border: 1px solid var(--stroke);
  border-radius: 1rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: float 5s ease-in-out infinite;
}

.services {
  padding: 5rem 0;
}

.section-heading {
  text-align: center;
  max-width: 780px;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.section-heading p {
  color: #b2b8cc;
}

.service-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  border: 1px solid var(--stroke);
  border-radius: 1.5rem;
  background: var(--surface);
  min-height: 290px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card ul {
  margin: 0;
  padding-left: 1.25rem;
  color: #c7cbe0;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(123, 108, 255, 0.6);
}

.industries {
  padding: 5rem 0;
}

.industry-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.industry-card {
  border: 1px solid var(--stroke);
  border-radius: 1.25rem;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.industry-card:hover {
  border-color: rgba(75, 244, 255, 0.4);
  transform: translateY(-4px);
}

.construction {
  padding: 5rem 0;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.construction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.construction-lead h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  margin-bottom: 1rem;
}

.construction-lead p {
  color: #b2b8cc;
  line-height: 1.7;
}

.construction-highlights {
  margin-top: 1.5rem;
  padding-left: 1.25rem;
  color: #c7cbe0;
  line-height: 1.6;
}

.construction-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.construction-card {
  border: 1px solid var(--stroke);
  border-radius: 1.25rem;
  padding: 1.75rem;
  background: rgba(5, 6, 10, 0.75);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.construction-card span {
  font-size: 0.85rem;
  color: var(--accent-soft);
}

.construction-card:hover {
  border-color: rgba(75, 244, 255, 0.4);
  transform: translateY(-4px);
  background: rgba(5, 6, 10, 0.85);
}

.order-section {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  padding: 5rem 0;
}

.order-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}

.order-copy .order-steps {
  padding-left: 1.25rem;
  color: #c7cbe0;
  line-height: 1.7;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(5, 6, 10, 0.6);
  border: 1px solid var(--stroke);
  border-radius: 1.5rem;
  padding: 2rem;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.form-status {
  font-size: 0.85rem;
  color: var(--accent-soft);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-status.visible {
  opacity: 1;
  transform: translateY(0);
}

.order-form::before,
.contact-form::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(123, 108, 255, 0.2), transparent 60%);
  animation: rotate 16s linear infinite;
}

.order-form.is-loading::after,
.contact-form.is-loading::after {
  content: '';
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top-color: rgba(75, 244, 255, 0.9);
  top: 1.5rem;
  right: 1.5rem;
  animation: spin 1.2s linear infinite;
}

.order-form *,
.contact-form * {
  position: relative;
}

.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  gap: 0.35rem;
  color: #cfd3e4;
}

input,
select,
textarea {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  padding: 0.85rem 1rem;
  font: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(75, 244, 255, 0.8);
  box-shadow: 0 0 0 2px rgba(75, 244, 255, 0.25);
}

.form-note {
  font-size: 0.8rem;
  color: #9fa5bb;
}

.contact-section {
  padding: 5rem 0 6rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact-card {
  border: 1px solid var(--stroke);
  border-radius: 1.5rem;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.03);
}

.contact-card .contact-meta {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
  color: #cfd3e4;
}

.contact-form {
  min-height: 100%;
}

.site-footer {
  border-top: 1px solid var(--stroke);
  padding: 1.5rem 0 3rem;
  color: #9fa5bb;
  font-size: 0.9rem;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@keyframes pulse {
  from {
    transform: scale(0.9);
    opacity: 0.7;
  }
  to {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes slide {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(50%);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }

  .hero-actions {
    width: 100%;
  }

  .form-row {
    flex-direction: column;
  }

  form {
    padding: 1.5rem;
  }
}
