:root {
  --bg: #020304;
  --panel: rgba(13, 15, 22, 0.74);
  --panel-soft: rgba(17, 19, 27, 0.78);
  --line: rgba(255, 255, 255, 0.095);
  --text: #f8f8fa;
  --muted: #c7c7cf;
  --accent: #9b5cff;
  --accent-blue: #4387ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 0% 30%, rgba(119, 87, 255, 0.22), transparent 18%),
    radial-gradient(circle at 76% 16%, rgba(146, 80, 255, 0.16), transparent 21%),
    #020304;
  font-family: Inter, Arial, sans-serif;
}

@media (min-width: 981px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  body.contact-page {
    overflow: auto;
  }
}

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

.site-header {
  height: 58px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(0, 0, 0, 0.88);
}

.nav-shell {
  width: min(1320px, calc(100% - 42px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: "Roboto Condensed", Inter, sans-serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 29px;
  font-size: 13px;
}

.nav-links a:not(.nav-button) {
  color: #f4f4f6;
}

.nav-button,
.outline-button {
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: rgba(20, 18, 30, 0.68);
  box-shadow: inset 0 0 0 1px rgba(67, 135, 255, 0.28);
}

.nav-button {
  padding: 9px 17px;
}

.hero {
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  background:
    radial-gradient(circle at 22% 84%, rgba(65, 111, 255, 0.07), transparent 26%),
    linear-gradient(180deg, rgba(9, 11, 17, 0.72), rgba(4, 5, 8, 0.92));
}

.hero-inner {
  width: min(1320px, calc(100% - 42px));
  min-height: 286px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 424px;
  align-items: center;
  gap: 78px;
  padding: 24px 0 21px;
}

.eyebrow {
  margin: 0 0 13px;
  color: #8176ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3.3px;
}

.eyebrow.small {
  margin-bottom: 7px;
  font-size: 12px;
  letter-spacing: 2.6px;
}

.hero h1 {
  margin: 0 0 12px;
  color: #f5f5f5;
  font-family: "Roboto Condensed", Inter, sans-serif;
  font-size: clamp(50px, 5.2vw, 68px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.16);
}

.hero-text {
  margin: 0 0 19px;
  color: #f0f0f2;
  font-size: 16px;
  line-height: 1.55;
}

.primary-button {
  width: fit-content;
  min-width: 176px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 5px;
  border: 1px solid rgba(169, 92, 255, 0.92);
  background: linear-gradient(135deg, #a756ff 0%, #5f6df7 52%, #357ff4 100%);
  color: white;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 0 28px rgba(108, 95, 255, 0.35);
}

.primary-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-card {
  position: relative;
  height: 224px;
  overflow: hidden;
  border: 1px solid rgba(164, 100, 255, 0.78);
  border-radius: 14px;
  background:
    radial-gradient(circle at 18% 0%, rgba(126, 72, 255, 0.20), transparent 32%),
    radial-gradient(circle at 50% 100%, rgba(92, 50, 255, 0.17), transparent 40%),
    linear-gradient(135deg, rgba(17, 15, 25, 0.92), rgba(4, 7, 11, 0.96));
  box-shadow:
    0 0 38px rgba(143, 75, 255, 0.25),
    inset 0 0 42px rgba(255, 255, 255, 0.025);
}

.brand-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(214, 118, 255, 0.68), transparent 31%, transparent 69%, rgba(82, 113, 255, 0.58));
  opacity: 0.52;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
  pointer-events: none;
}

.brand-card-glow {
  position: absolute;
  inset: auto 0 -70px 0;
  height: 170px;
  background: radial-gradient(ellipse at center, rgba(114, 52, 255, 0.36), transparent 65%);
  filter: blur(18px);
}

.brand-mark {
  position: absolute;
  z-index: 2;
  top: 53px;
  left: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.9;
}

.mark-main {
  color: #f8f8f8;
  font-family: "Roboto Condensed", Inter, sans-serif;
  font-size: 66px;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.2);
}

.mark-sub {
  color: rgba(255, 255, 255, 0.68);
  font-size: 31px;
  font-weight: 700;
  letter-spacing: 8px;
}

.wave {
  position: absolute;
  left: -44px;
  right: -42px;
  bottom: 36px;
  height: 96px;
  opacity: 0.92;
}

.wave::before,
.wave::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border-top: 2px solid rgba(78, 94, 255, 0.92);
  transform: rotate(7deg);
}

.wave::after {
  top: 21px;
  border-color: rgba(142, 70, 255, 0.86);
  transform: rotate(-9deg);
}

.wave-b {
  bottom: 9px;
  opacity: 0.55;
  transform: scaleX(0.95);
}

.dot-field {
  position: absolute;
  inset: 158px 0 0;
  opacity: 0.76;
  background-image: radial-gradient(circle, rgba(114, 95, 255, 0.88) 1px, transparent 1.5px);
  background-size: 8px 8px;
  clip-path: polygon(0 39%, 14% 20%, 28% 40%, 45% 69%, 61% 68%, 78% 44%, 100% 64%, 100% 100%, 0 100%);
}

.content-wrap {
  width: min(1320px, calc(100% - 42px));
  margin: 16px auto 0;
}

.about-panel,
.cta-panel,
.service-card {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 4% 0%, rgba(119, 89, 255, 0.075), transparent 34%),
    linear-gradient(145deg, rgba(14, 16, 22, 0.82), rgba(8, 10, 14, 0.84));
  box-shadow: inset 0 0 32px rgba(255, 255, 255, 0.018);
}

.about-panel {
  height: 170px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 7px;
  padding: 12px 23px 11px;
}

.about-copy h2,
.services h2,
.cta-copy h2 {
  margin: 0;
  font-family: "Roboto Condensed", Inter, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.about-copy h2 {
  font-size: 25px;
}

.about-copy p:not(.eyebrow) {
  margin: 6px 0 0;
  color: #e2e2e5;
  font-size: 14px;
  line-height: 1.35;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  height: 32px;
  color: #f4f4f5;
  font-size: 13px;
}

.contact-list {
  margin: 8px 0 8px;
  padding: 0 0 0 36px;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #f5f5f6;
  font-size: 16px;
}

.contact-list svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #8073ff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.services {
  padding: 8px 19px 0;
}

.services h2 {
  margin-bottom: 7px;
  font-size: 24px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.service-card {
  height: 132px;
  border-radius: 7px;
  padding: 13px 11px 9px;
  text-align: center;
}

.service-card svg {
  width: 37px;
  height: 37px;
  margin-bottom: 7px;
  fill: none;
  stroke: #8d62ff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(93, 128, 255, 0.5));
}

.service-card h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
}

.service-card p {
  margin: 0;
  color: #e5e5e7;
  font-size: 12px;
  line-height: 1.18;
}

.cta-panel {
  height: 64px;
  margin: 10px 19px 0;
  border-radius: 7px;
  display: grid;
  grid-template-columns: 65px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 10px 30px 10px 27px;
}

.cta-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: #935dff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(93, 128, 255, 0.45));
}

.cta-copy h2 {
  margin-bottom: 4px;
  font-size: 20px;
}

.cta-copy p {
  margin: 0;
  color: #e5e5e7;
  font-size: 13px;
}

.cta-button {
  min-width: 159px;
  height: 38px;
  gap: 20px;
  font-size: 14px;
}

.contact-main {
  width: min(1320px, calc(100% - 42px));
  min-height: calc(100vh - 58px);
  margin: 0 auto;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 42px 0;
}

.contact-hero {
  display: grid;
  grid-template-columns: 1fr 430px;
  align-items: stretch;
  gap: 22px;
}

.contact-copy,
.contact-card,
.project-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 4% 0%, rgba(119, 89, 255, 0.11), transparent 34%),
    linear-gradient(145deg, rgba(14, 16, 22, 0.86), rgba(8, 10, 14, 0.9));
  box-shadow: inset 0 0 32px rgba(255, 255, 255, 0.018);
}

.contact-copy {
  min-height: 310px;
  padding: 44px 48px;
}

.contact-copy h1 {
  margin: 0 0 16px;
  color: #f5f5f5;
  font-family: "Roboto Condensed", Inter, sans-serif;
  font-size: clamp(56px, 6vw, 82px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.16);
}

.contact-copy p:not(.eyebrow),
.project-panel p {
  max-width: 620px;
  margin: 0;
  color: #e5e5e7;
  font-size: 17px;
  line-height: 1.55;
}

.contact-card {
  padding: 35px 34px;
}

.contact-list-page {
  margin: 22px 0 0;
  padding: 0;
  border: 0;
  gap: 26px;
}

.project-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 34px;
}

.project-panel h2 {
  margin: 0 0 8px;
  font-family: "Roboto Condensed", Inter, sans-serif;
  font-size: 34px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .brand-card {
    width: min(424px, 100%);
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    height: auto;
  }

  .nav-shell {
    min-height: 68px;
    flex-wrap: wrap;
    gap: 16px;
    padding: 18px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
  }

  .nav-button {
    padding: 9px 12px;
  }

  .hero-inner,
  .content-wrap,
  .nav-shell {
    width: min(100% - 28px, 1320px);
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-text br,
  .about-copy br {
    display: none;
  }

  .brand-card {
    height: 245px;
  }

  .brand-mark {
    left: 50%;
    transform: translateX(-50%);
  }

  .mark-main {
    font-size: 68px;
  }

  .mark-sub {
    font-size: 31px;
    letter-spacing: 6px;
  }

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

  .contact-list {
    margin-top: 24px;
    padding: 22px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
  }

  .services {
    padding-inline: 0;
  }

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

  .cta-panel {
    margin-inline: 0;
    grid-template-columns: 54px 1fr;
  }

  .cta-button {
    grid-column: 1 / -1;
  }

  .contact-main {
    width: min(100% - 28px, 1320px);
    min-height: auto;
    padding: 28px 0;
  }

  .contact-hero,
  .project-panel {
    grid-template-columns: 1fr;
  }

  .contact-copy,
  .contact-card,
  .project-panel {
    padding: 24px;
  }

  .contact-copy h1 {
    font-size: 48px;
  }
}

@media (max-width: 470px) {
  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: 42px;
  }

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