:root {
  --bg: #020914;
  --panel: #0a1428;
  --panel-2: #0e1b34;
  --line: rgba(100, 150, 255, 0.22);
  --text: #f7fbff;
  --muted: #a6b5cf;
  --blue: #2e7bff;
  --cyan: #23d6ff;
  --purple: #854dff;
  --green: #35c76c;
  --orange: #f07b2c;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 6%, rgba(46, 123, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 12% 18%, rgba(133, 77, 255, 0.16), transparent 24rem),
    linear-gradient(180deg, #020814 0%, #061021 44%, #030a16 100%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 10px 0;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-family: "Poppins", "Inter", Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.site-logo {
  width: 118px;
  height: 82px;
  object-fit: contain;
}

.footer-logo {
  width: 150px;
  height: 104px;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  box-shadow: 0 0 25px rgba(0, 114, 255, 0.5);
  transform: rotate(10deg);
}

.logo-icon span {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  transform: rotate(-10deg);
}

.logo-copy,
.logo-text,
.logo-sub {
  display: block;
  line-height: 1;
}

.logo-copy {
  min-width: 112px;
}

.logo-text {
  color: #fff;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo-sub {
  margin-top: 5px;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
}

.highlight {
  color: #38bdf8;
}

.brand-kicker {
  color: #aebbf0;
  font-size: 13px;
  letter-spacing: 0;
}

.brand-name {
  margin-top: 3px;
  font-size: 22px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: #d8e4ff;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  transition: width 0.2s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.header-cta,
.primary-button,
.secondary-button,
.light-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 10px;
  padding: 0 24px;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}

.header-cta,
.primary-button {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 14px 28px rgba(50, 111, 255, 0.38);
}

.secondary-button {
  border: 1px solid rgba(72, 124, 255, 0.72);
  background: rgba(2, 12, 28, 0.42);
}

.light-button {
  color: #10214c;
  background: #fff;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(9, 22, 45, 0.78);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: 46px;
  width: min(1240px, calc(100% - 40px));
  min-height: 710px;
  margin: 0 auto;
  padding: 54px 0 84px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 22px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #60a0ff;
  background: rgba(46, 123, 255, 0.13);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.cta-band h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 740px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.08;
}

.hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(100deg, #4a83ff 8%, #9857ff 88%);
  background-clip: text;
}

.hero-text {
  max-width: 650px;
  margin: 26px 0 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 62px;
}

.stats div {
  min-width: 150px;
  padding-left: 18px;
  border-left: 1px solid rgba(81, 127, 255, 0.45);
}

.stats strong {
  display: block;
  font-size: 28px;
}

.stats span {
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  isolation: isolate;
}

.hero-visual::before {
  position: absolute;
  inset: 18% 6% 8%;
  z-index: -1;
  content: "";
  border-radius: 30px;
  background: rgba(35, 214, 255, 0.1);
  filter: blur(42px);
}

.section,
.why-section {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading .eyebrow {
  margin-bottom: 12px;
}

.section-heading h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.section-heading p:not(.eyebrow) {
  margin: 15px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.service-grid,
.project-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.project-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(15, 31, 62, 0.86), rgba(8, 18, 38, 0.86));
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 290px;
  padding: 30px 26px;
}

.icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  margin-bottom: 25px;
  font-weight: 900;
}

.blue {
  background: rgba(46, 123, 255, 0.2);
  color: #67a3ff;
  box-shadow: 0 14px 34px rgba(46, 123, 255, 0.24);
}

.purple {
  background: rgba(133, 77, 255, 0.2);
  color: #b38dff;
  box-shadow: 0 14px 34px rgba(133, 77, 255, 0.24);
}

.green {
  background: rgba(53, 199, 108, 0.2);
  color: #7dea9c;
  box-shadow: 0 14px 34px rgba(53, 199, 108, 0.2);
}

.orange {
  background: rgba(240, 123, 44, 0.2);
  color: #ffad70;
  box-shadow: 0 14px 34px rgba(240, 123, 44, 0.2);
}

.service-card h3,
.project-card h3,
.value-item h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
}

.service-card p,
.value-item p {
  color: var(--muted);
  line-height: 1.7;
}

.service-card a {
  color: #5a9aff;
  font-weight: 800;
  font-size: 14px;
}

.project-card {
  overflow: hidden;
  padding: 14px;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  object-fit: cover;
}

.project-card p {
  margin: 18px 0 8px;
  color: #5a9aff;
  font-size: 12px;
  font-weight: 800;
}

.project-card span {
  display: block;
  margin: 10px 0 6px;
  color: var(--muted);
  line-height: 1.55;
}

.why-section {
  padding-top: 52px;
}

.value-grid {
  margin-top: 50px;
}

.value-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  column-gap: 18px;
  align-items: start;
}

.value-item .icon {
  grid-row: span 2;
  margin: 0;
  border-radius: 50%;
}

.value-item p {
  margin: 12px 0 0;
  font-size: 14px;
}

.cta-band {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  width: min(1240px, calc(100% - 40px));
  margin: 36px auto 74px;
  padding: 42px 48px;
  border-radius: 12px;
  background: linear-gradient(110deg, #176dff, #8d43ff);
  box-shadow: 0 28px 74px rgba(49, 88, 255, 0.34);
}

.cta-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 900;
  font-size: 26px;
}

.cta-band p {
  margin: 10px 0 0;
  color: #e4ecff;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 54px;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 48px;
}

.site-footer h3 {
  margin: 0 0 22px;
  font-size: 18px;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
}

.footer-brand p {
  max-width: 330px;
  margin-top: 24px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid rgba(120, 157, 255, 0.16);
  color: var(--muted);
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom span {
  display: inline-block;
  margin: 0 18px;
}

@media (max-width: 1020px) {
  .header-cta {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 34px;
  }

  .hero-visual {
    max-width: 760px;
    margin: 0 auto;
  }

  .service-grid,
  .project-grid,
  .value-grid,
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: min(100% - 28px, 1240px);
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(5, 13, 28, 0.98);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero,
  .section,
  .why-section,
  .cta-band,
  .site-footer,
  .footer-bottom {
    width: min(100% - 28px, 1240px);
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 58px);
  }

  .hero-text {
    font-size: 16px;
  }

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

  .stats,
  .service-grid,
  .project-grid,
  .value-grid,
  .site-footer,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .stats {
    display: grid;
  }

  .value-item {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .value-item .icon {
    width: 52px;
    height: 52px;
    font-size: 13px;
  }

  .cta-band {
    padding: 32px 24px;
  }

  .footer-bottom {
    display: grid;
  }
}
