:root {
  --bg: #080817;
  --bg-2: #101023;
  --ink: #f7fbff;
  --muted: #b9c6d6;
  --dim: #7d8ba3;
  --cyan: #55f0ff;
  --cyan-2: #1eacc4;
  --magenta: #f249ff;
  --violet: #7b55ff;
  --lime: #b9ff68;
  --line: rgba(154, 230, 255, 0.2);
  --panel: rgba(12, 15, 34, 0.78);
  --panel-strong: rgba(17, 22, 49, 0.96);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(242, 73, 255, 0.13), transparent 28%),
    radial-gradient(circle at 80% 5%, rgba(85, 240, 255, 0.13), transparent 32%),
    linear-gradient(180deg, #070712 0%, #0b0d1d 38%, #070712 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(85, 240, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 240, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0.08));
}

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

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

.protected-logo {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
  pointer-events: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 22px;
  padding: 12px clamp(16px, 4vw, 64px);
  background: rgba(5, 6, 17, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 174px;
  height: auto;
  filter: drop-shadow(0 0 16px rgba(85, 240, 255, 0.25));
}

.nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a {
  padding: 8px 0;
}

.nav a:hover,
.contact-lines a:hover {
  color: var(--cyan);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  color: var(--bg);
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  border-radius: 8px;
  font-weight: 850;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--cyan);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.84fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(56px, 8vw, 104px) clamp(16px, 5vw, 76px) 46px;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  right: -10vw;
  bottom: -18vw;
  width: 58vw;
  height: 58vw;
  min-width: 520px;
  min-height: 520px;
  content: "";
  background: radial-gradient(circle, rgba(85, 240, 255, 0.16), transparent 62%);
  pointer-events: none;
}

.hero-copy,
.hero-art,
.section,
.contact-section {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero-text,
.section-heading p,
.service-card p,
.timeline p,
.project-card p,
.pricing-grid p,
.contact-copy p {
  color: var(--muted);
}

.hero-text {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  cursor: pointer;
}

.button.primary {
  color: var(--bg);
  background: linear-gradient(135deg, var(--cyan), #ffffff 48%, var(--magenta));
  box-shadow: 0 0 28px rgba(85, 240, 255, 0.22);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.hero-stats div,
.service-card,
.timeline article,
.project-card,
.pricing-grid article,
.contact-form {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-stats div {
  min-height: 104px;
  padding: 18px;
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: var(--cyan);
  font-size: 1.08rem;
}

.hero-stats span {
  margin-top: 5px;
  color: var(--dim);
  font-size: 0.92rem;
}

.hero-art {
  display: grid;
  place-items: center;
  min-height: 560px;
}

.hero-logo {
  width: auto;
  max-width: min(100%, 540px);
  max-height: min(70vh, 590px);
  filter:
    drop-shadow(0 0 16px rgba(85, 240, 255, 0.3))
    drop-shadow(0 0 28px rgba(242, 73, 255, 0.2));
}

.orbit {
  position: absolute;
  border: 1px solid rgba(85, 240, 255, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  width: 520px;
  height: 520px;
}

.orbit-two {
  width: 390px;
  height: 390px;
  border-color: rgba(242, 73, 255, 0.18);
}

.signal-strip {
  display: flex;
  gap: 1px;
  overflow-x: auto;
  border-block: 1px solid var(--line);
  background: rgba(85, 240, 255, 0.12);
}

.signal-strip span {
  flex: 1 0 max-content;
  padding: 18px clamp(18px, 4vw, 42px);
  color: var(--cyan);
  background: rgba(6, 8, 21, 0.82);
  font-weight: 850;
  text-align: center;
  white-space: nowrap;
}

.section,
.contact-section {
  padding: clamp(60px, 9vw, 112px) clamp(16px, 5vw, 76px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading.narrow {
  max-width: 720px;
}

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

.service-card {
  min-height: 305px;
  padding: 24px;
}

.service-card.featured {
  border-color: rgba(242, 73, 255, 0.45);
  box-shadow: 0 20px 70px rgba(242, 73, 255, 0.15);
}

.card-number {
  display: inline-flex;
  margin-bottom: 54px;
  color: var(--cyan);
  font-weight: 950;
}

.process-section {
  background: rgba(255, 255, 255, 0.03);
  border-block: 1px solid rgba(154, 230, 255, 0.12);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.timeline article {
  padding: 22px;
}

.timeline strong {
  color: var(--cyan);
}

.projects-section {
  background:
    linear-gradient(180deg, rgba(8, 8, 23, 0.62), rgba(8, 8, 23, 0.94)),
    radial-gradient(circle at 20% 20%, rgba(185, 255, 104, 0.08), transparent 28%);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 16px;
  align-items: stretch;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.project-card {
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  padding: 18px;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.project-card:hover {
  transform: none;
  border-color: rgba(85, 240, 255, 0.5);
  box-shadow: 0 22px 74px rgba(85, 240, 255, 0.12);
}

.project-link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 10px;
  color: var(--cyan);
  font-size: 0.94rem;
}

.project-card h3 {
  min-height: 2.9em;
}

.project-card p {
  min-height: 5em;
}

.project-screen {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 16 / 10;
  height: auto;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: var(--panel-strong);
}

.project-screen::before {
  position: absolute;
  inset: 16px 16px auto 16px;
  height: 34px;
  content: "";
  border: 0;
  border-radius: 8px;
  background:
    radial-gradient(circle at 12px 50%, rgba(85, 240, 255, 0.85) 0 4px, transparent 5px),
    radial-gradient(circle at 30px 50%, rgba(242, 73, 255, 0.85) 0 4px, transparent 5px),
    linear-gradient(90deg, rgba(85, 240, 255, 0.18), rgba(255, 255, 255, 0.08));
}

.project-screen span {
  position: absolute;
  display: block;
  border-radius: 8px;
}

.project-screen span:nth-child(1),
.project-screen span:nth-child(2),
.project-screen span:nth-child(3) {
  left: 18px;
  right: 18px;
  width: auto;
  height: 16%;
}

.project-screen span:nth-child(1) {
  top: 40%;
  background: linear-gradient(90deg, var(--cyan), rgba(85, 240, 255, 0.18));
}

.project-screen span:nth-child(2) {
  top: 60%;
  background: linear-gradient(90deg, var(--magenta), rgba(242, 73, 255, 0.16));
}

.project-screen span:nth-child(3) {
  top: 78%;
  bottom: auto;
  transform: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(185, 255, 104, 0.16));
}

.pricing-section {
  background: rgba(255, 255, 255, 0.025);
}

.pricing-grid article {
  min-height: 250px;
  padding: 24px;
}

.pricing-grid span,
.pricing-grid strong {
  display: block;
}

.pricing-grid span {
  color: var(--dim);
}

.pricing-grid strong {
  margin: 18px 0;
  color: var(--cyan);
  font-size: clamp(1.28rem, 1.8vw, 1.55rem);
  line-height: 1.15;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.68fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
}

.contact-copy h2 {
  max-width: 760px;
}

.contact-copy p {
  max-width: 640px;
  font-size: 1.08rem;
}

.contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-lines a,
.contact-lines span {
  padding: 10px 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(85, 240, 255, 0.2);
  border-color: var(--cyan);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(16px, 5vw, 76px);
  color: var(--dim);
  border-top: 1px solid var(--line);
  background: rgba(5, 6, 17, 0.84);
}

.footer img {
  width: 152px;
}

.thank-you-page {
  min-height: 100vh;
}

.thank-you {
  display: grid;
  align-content: center;
  min-height: 100vh;
  max-width: 760px;
  padding: clamp(36px, 7vw, 88px);
}

.thank-you img {
  width: min(220px, 70vw);
  margin-bottom: 42px;
}

.thank-you h1 {
  font-size: clamp(3.2rem, 9vw, 7.2rem);
}

.thank-you p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.14rem;
}

.thank-you .button {
  width: fit-content;
  margin-top: 18px;
}

@media (max-width: 1050px) {
  .hero,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-art {
    min-height: 500px;
  }

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

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

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

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .brand img {
    width: 138px;
  }

  .nav {
    position: absolute;
    inset: 70px 16px auto 16px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    background: rgba(9, 11, 27, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 13px;
  }

  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero,
  .section,
  .contact-section {
    padding-inline: 16px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-art {
    min-height: 360px;
  }

  .hero-logo {
    max-width: min(112%, 430px);
    max-height: 390px;
  }

  .orbit-one {
    width: 360px;
    height: 360px;
  }

  .orbit-two {
    width: 270px;
    height: 270px;
  }

  .service-grid,
  .project-grid,
  .timeline,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 34px;
  }

  .project-screen {
    height: 190px;
  }
}
