:root {
  --bg: #020a0e;
  --panel: #ffffff;
  --text: #f5f8fa;
  --muted: #b7c0c7;
  --dark: #111820;
  --green: #8bd824;
  --green-2: #31d45d;
  --blue: #2998ec;
  --cyan: #00c9f5;
  --border: rgba(255,255,255,.12);
  --danger: #d62f45;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: #02080d;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 7, 10, .95);
  border-bottom: 1px solid rgba(64, 175, 225, .18);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1450px, calc(100% - 48px));
  min-height: 84px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  flex-wrap: wrap;
  width: 210px;
  align-items: baseline;
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -2px;
}

.brand-opty {
  color: white;
}

.brand-tech {
  color: var(--green);
}

.brand small {
  width: 100%;
  margin-top: 3px;
  color: #8b9399;
  font-size: 9px;
  letter-spacing: 1.2px;
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 42px;
  font-size: 14px;
  font-weight: 600;
}

.main-nav > a:not(.quote-button) {
  transition: color .2s ease;
}

.main-nav > a:not(.quote-button):hover {
  color: var(--green);
}

.quote-button {
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(#02070a, #02070a) padding-box,
    linear-gradient(90deg, var(--blue), var(--green)) border-box;
  box-shadow: 0 0 20px rgba(75, 220, 70, .16);
  transition: transform .2s ease, box-shadow .2s ease;
}

.quote-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 26px rgba(75, 220, 70, .28);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: transparent;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: white;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 84px);
  background:
    linear-gradient(90deg, rgba(1,8,13,.99) 0%, rgba(1,13,24,.95) 42%, rgba(2,15,28,.85) 100%),
    repeating-linear-gradient(90deg, transparent 0 75px, rgba(31,108,168,.08) 76px),
    linear-gradient(145deg, #03101a, #001b33 55%, #06140f);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -8% -25% -8%;
  height: 52%;
  background:
    repeating-linear-gradient(165deg, transparent 0 22px, rgba(27, 146, 234, .24) 24px 25px),
    repeating-linear-gradient(15deg, transparent 0 35px, rgba(65, 221, 60, .18) 36px 37px);
  transform: perspective(650px) rotateX(56deg);
  transform-origin: bottom;
  opacity: .75;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 23%;
  width: 28%;
  height: 100%;
  background:
    repeating-linear-gradient(90deg, rgba(1,13,22,.9) 0 42px, rgba(16,72,113,.23) 43px 46px);
  border-left: 1px solid rgba(32, 139, 206, .25);
  border-right: 1px solid rgba(32, 139, 206, .25);
  opacity: .55;
  transform: skewY(-4deg);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 17% 50%, rgba(0,210,130,.08), transparent 24%),
    radial-gradient(circle at 47% 70%, rgba(0,126,255,.12), transparent 33%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1450px, calc(100% - 48px));
  margin: 0 auto;
  padding: 70px 0 76px;
  display: grid;
  grid-template-columns: minmax(480px, .9fr) minmax(650px, 1.1fr);
  gap: 72px;
  align-items: start;
}

.intro-column {
  padding: 60px 0 0;
}

.eyebrow {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}

h1 {
  margin: 24px 0 30px;
  font-size: clamp(48px, 4.1vw, 70px);
  line-height: 1.06;
  letter-spacing: -.055em;
}

h1 span {
  background: linear-gradient(90deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.intro-text {
  max-width: 690px;
  color: #e0e7eb;
  font-size: 17px;
  line-height: 1.65;
}

.service-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 40px;
}

.service-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}

.service-icon {
  width: 45px;
  height: 45px;
  color: var(--cyan);
}

.service-card:nth-child(2n) .service-icon,
.service-card:nth-child(3) .service-icon,
.service-card:nth-child(4) .service-icon {
  color: var(--green-2);
}

.service-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 0 0 7px;
  font-size: 16px;
}

.service-card p {
  margin: 0;
  color: #d0d8dd;
  font-size: 13px;
  line-height: 1.55;
}

.project-callout {
  margin-top: 40px;
  padding: 19px 22px;
  display: flex;
  gap: 18px;
  align-items: center;
  border: 1px solid #00b9ef;
  border-radius: 7px;
  background: rgba(1, 22, 38, .58);
  box-shadow: inset 0 0 25px rgba(0, 130, 218, .08);
}

.project-callout:hover {
  border-color: var(--green);
}

.callout-icon {
  font-size: 28px;
}

.project-callout strong,
.project-callout small {
  display: block;
}

.project-callout strong {
  margin-bottom: 5px;
}

.project-callout small {
  color: #d8e0e5;
  font-size: 13px;
}

.form-card {
  border-radius: 12px;
  padding: 30px 32px 24px;
  background: rgba(255,255,255,.985);
  color: var(--dark);
  box-shadow: 0 32px 80px rgba(0,0,0,.38);
}

.form-heading h2 {
  margin: 0 0 5px;
  font-size: 27px;
  letter-spacing: -.04em;
}

.form-heading p {
  margin: 0 0 24px;
  color: #59626b;
  font-size: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

label,
legend {
  font-size: 12px;
  font-weight: 700;
}

label span,
legend span {
  color: #e03145;
}

input,
select,
textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d6dce2;
  border-radius: 5px;
  background: white;
  color: #192028;
  outline: none;
  font-size: 13px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #39a7e8;
  box-shadow: 0 0 0 3px rgba(40, 158, 229, .1);
}

textarea {
  min-height: 90px;
  resize: vertical;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--danger);
}

.error {
  min-height: 12px;
  color: var(--danger);
  font-size: 10px;
}

.services-field {
  margin: 0;
  padding: 0;
  border: 0;
}

.services-field legend {
  margin-bottom: 8px;
}

.checkbox-grid {
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 14px;
  border: 1px solid #d6dce2;
  border-radius: 5px;
}

.checkbox-grid label {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #303841;
  font-weight: 500;
}

.checkbox-grid input {
  width: 15px;
  height: 15px;
  padding: 0;
  accent-color: var(--green-2);
}

.submit-button {
  width: 100%;
  margin-top: 16px;
  padding: 13px 20px;
  border: 0;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(90deg, var(--blue), #35c9a8, var(--green));
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: filter .2s ease, transform .2s ease;
}

.submit-button:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.submit-button:disabled {
  opacity: .7;
  cursor: not-allowed;
}

.submit-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.form-status {
  display: none;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 5px;
  font-size: 12px;
}

.form-status.success {
  display: block;
  background: #eaf9ef;
  color: #19743b;
  border: 1px solid #bde8ca;
}

.form-status.failure {
  display: block;
  background: #fff0f2;
  color: #9a2435;
  border: 1px solid #f2c3ca;
}

.secure-note {
  margin: 12px 0 0;
  text-align: center;
  color: #7a838b;
  font-size: 11px;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
}

.site-footer {
  background: #02070a;
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-inner {
  width: min(1450px, calc(100% - 48px));
  min-height: 88px;
  margin: auto;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 42px;
  align-items: center;
}

.footer-brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.footer-brand strong {
  color: var(--green);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: #11171b;
  color: white;
  transition: background .2s ease, color .2s ease;
}

.social-links a:hover {
  background: var(--green);
  color: #061006;
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.copyright {
  text-align: center;
  color: #d0d5d8;
  font-size: 12px;
}

.footer-contact {
  display: flex;
  gap: 34px;
  font-size: 13px;
}

.footer-contact a:hover {
  color: var(--green);
}

@media (max-width: 1180px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .intro-column {
    padding-top: 20px;
  }

  .form-card {
    max-width: 900px;
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: auto 1fr auto;
  }

  .copyright {
    display: none;
  }
}

@media (max-width: 760px) {
  .header-inner,
  .hero-content,
  .footer-inner {
    width: min(100% - 28px, 1450px);
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 84px;
    left: 14px;
    right: 14px;
    padding: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #061016;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 14px;
  }

  .quote-button {
    text-align: center;
  }

  .hero-content {
    padding-top: 36px;
    gap: 42px;
  }

  h1 {
    font-size: 45px;
  }

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

  .form-card {
    padding: 24px 18px 20px;
  }

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

  .field.full {
    grid-column: auto;
  }

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

  .footer-inner {
    padding: 26px 0;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 18px;
  }

  .footer-contact {
    flex-direction: column;
    gap: 10px;
  }
}
