:root {
  --bg: #071122;
  --bg-soft: #0d1e37;
  --panel: rgba(7, 18, 34, 0.76);
  --panel-strong: #0a1730;
  --text: #f5f7fb;
  --muted: #b7c4da;
  --accent: #3ae6ff;
  --accent-2: #66ffb8;
  --line: rgba(97, 207, 255, 0.22);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(58, 230, 255, 0.18), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(102, 255, 184, 0.12), transparent 18%),
    linear-gradient(180deg, #06101e 0%, #091728 52%, #f4f7fb 52%, #eef4f9 100%);
  min-height: 100vh;
}

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 40px;
}

.topbar,
.hero,
.section-card,
.footer {
  backdrop-filter: blur(18px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 26px;
  background: rgba(6, 17, 34, 0.88);
  border: 1px solid rgba(101, 191, 255, 0.12);
  border-radius: 24px;
  position: sticky;
  top: 16px;
  z-index: 10;
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text-inline {
  display: block;
}

.brand-text strong {
  font-size: 1.08rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #03121b;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 30px rgba(58, 230, 255, 0.28);
}

.button-secondary,
.button-outline {
  border: 1px solid rgba(108, 211, 255, 0.26);
  background: rgba(255, 255, 255, 0.03);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  padding: 52px;
  margin-top: 18px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(7, 18, 34, 0.96), rgba(8, 29, 58, 0.9)),
    radial-gradient(circle at 75% 20%, rgba(58, 230, 255, 0.14), transparent 30%);
  border: 1px solid rgba(101, 191, 255, 0.12);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(58, 230, 255, 0.18), transparent 68%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #8de9ff;
  font-size: 0.78rem;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.04;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(2.7rem, 6vw, 4.5rem);
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
  margin: 20px 0 26px;
}

.hero-text-secondary {
  margin-top: -6px;
  margin-bottom: 26px;
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
  color: var(--muted);
}

.hero-points li {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-visual {
  display: grid;
  place-items: center;
  min-height: 520px;
  position: relative;
}

.city-grid {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    repeating-linear-gradient(
      90deg,
      rgba(120, 170, 255, 0.06),
      rgba(120, 170, 255, 0.06) 1px,
      transparent 1px,
      transparent 48px
    ),
    repeating-linear-gradient(
      180deg,
      rgba(120, 170, 255, 0.05),
      rgba(120, 170, 255, 0.05) 1px,
      transparent 1px,
      transparent 48px
    );
  border: 1px solid rgba(129, 207, 255, 0.18);
  box-shadow: inset 0 0 40px rgba(58, 230, 255, 0.08);
}

.hub,
.connector,
.glow {
  position: absolute;
}

.hub {
  display: grid;
  place-items: center;
  text-align: center;
  color: #d8f8ff;
  font-weight: 700;
  letter-spacing: 0.03em;
  background:
    linear-gradient(180deg, rgba(87, 241, 255, 0.22), rgba(64, 109, 255, 0.16)),
    rgba(8, 24, 46, 0.82);
  border: 1px solid rgba(121, 225, 255, 0.35);
  box-shadow: 0 0 30px rgba(58, 230, 255, 0.16);
}

.hub span {
  padding: 8px;
  font-size: 0.88rem;
}

.hub-center {
  width: 180px;
  height: 180px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 28px;
}

.hub-a,
.hub-b,
.hub-c,
.hub-d,
.hub-e {
  width: 110px;
  height: 110px;
  border-radius: 22px;
}

.hub-a {
  left: 8%;
  top: 18%;
}

.hub-b {
  right: 9%;
  top: 16%;
}

.hub-c {
  left: 10%;
  bottom: 12%;
}

.hub-d {
  right: 11%;
  bottom: 10%;
}

.hub-e {
  left: 50%;
  top: 8%;
  transform: translateX(-50%);
}

.connector {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(92, 247, 255, 0.95), transparent);
  transform-origin: left center;
}

.connector-1 {
  width: 168px;
  left: 26%;
  top: 31%;
  transform: rotate(20deg);
}

.connector-2 {
  width: 154px;
  right: 24%;
  top: 31%;
  transform: rotate(160deg);
}

.connector-3 {
  width: 154px;
  left: 28%;
  bottom: 30%;
  transform: rotate(-28deg);
}

.connector-4 {
  width: 148px;
  right: 25%;
  bottom: 29%;
  transform: rotate(28deg);
}

.glow {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 230, 255, 0.2), transparent 70%);
}

.glow-1 {
  top: 18%;
  right: 14%;
}

.glow-2 {
  bottom: 12%;
  left: 10%;
}

.section-card,
.process,
.footer {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.services,
.technologies {
  margin-top: 28px;
  padding: 42px;
  background: rgba(255, 255, 255, 0.9);
  color: #081325;
}

.section-heading {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  margin-bottom: 28px;
}

.section-heading-left {
  justify-items: start;
  text-align: left;
}

.section-heading h2 {
  max-width: 720px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-heading .eyebrow {
  color: #2488b2;
}

.section-intro {
  max-width: 930px;
  margin: 0 auto 28px;
  color: #4d6078;
  text-align: center;
  line-height: 1.8;
  font-size: 1.04rem;
}

.section-intro-dark {
  color: var(--muted);
}

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

.service-card {
  padding: 26px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff, #f1f7fb);
  border: 1px solid rgba(73, 139, 180, 0.14);
  box-shadow: 0 20px 40px rgba(20, 53, 92, 0.08);
}

.service-card h3 {
  margin: 16px 0 10px;
  font-size: 1.15rem;
}

.service-card p {
  margin: 0;
  color: #4d6078;
  line-height: 1.7;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(58, 230, 255, 0.18), rgba(102, 255, 184, 0.28));
  color: #0b3b57;
  font-weight: 800;
}

.process {
  margin-top: 28px;
  padding: 42px;
  background:
    linear-gradient(180deg, rgba(5, 16, 31, 0.98), rgba(8, 25, 47, 0.96)),
    radial-gradient(circle at right top, rgba(58, 230, 255, 0.12), transparent 25%);
  border: 1px solid rgba(101, 191, 255, 0.12);
}

.showcase {
  margin-top: 28px;
  padding: 42px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(241, 247, 251, 0.96)),
    radial-gradient(circle at right top, rgba(58, 230, 255, 0.08), transparent 28%);
  color: #081325;
  box-shadow: var(--shadow);
}

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

.showcase-card {
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(73, 139, 180, 0.14);
  box-shadow: 0 20px 40px rgba(20, 53, 92, 0.08);
}

.showcase-media {
  min-height: 290px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  overflow: hidden;
}

.showcase-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 18, 34, 0.04), rgba(7, 18, 34, 0.55));
  z-index: 1;
}

.showcase-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-media::after {
  content: none;
}

.photo-overlay {
  position: relative;
  z-index: 2;
  max-width: 62%;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(5, 16, 31, 0.72);
  color: #f5f7fb;
  backdrop-filter: blur(8px);
}

.photo-overlay span {
  display: block;
  margin-bottom: 8px;
  color: #8de9ff;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.photo-overlay strong {
  font-size: 1.05rem;
  line-height: 1.5;
}

.showcase-copy {
  padding: 24px;
}

.showcase-copy h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.showcase-copy p {
  margin: 0;
  color: #4d6078;
  line-height: 1.8;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-grid article {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(101, 191, 255, 0.12);
}

.process-grid strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.tech-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tech-row span {
  padding: 18px;
  text-align: center;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff, #eff5fa);
  border: 1px solid rgba(77, 126, 164, 0.14);
  font-weight: 700;
  color: #15314d;
}

.footer {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 28px;
  padding: 34px 38px;
  margin: 28px 0 20px;
  background: linear-gradient(180deg, rgba(5, 16, 31, 0.98), rgba(7, 21, 40, 0.98));
  border: 1px solid rgba(101, 191, 255, 0.12);
}

.brand-footer {
  margin-bottom: 16px;
}

.footer p,
.footer h3 {
  margin: 0 0 12px;
}

.footer p {
  color: var(--muted);
  line-height: 1.8;
}

.footer h3 {
  font-size: 1rem;
  color: #dff8ff;
}

@media (max-width: 1100px) {
  .hero,
  .service-grid,
  .process-grid,
  .footer {
    grid-template-columns: 1fr 1fr;
  }

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

  .tech-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: 420px;
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    margin-top: 10px;
  }

  .topbar {
    flex-wrap: wrap;
    justify-content: center;
    position: static;
  }

  .nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .hero,
  .service-grid,
  .process-grid,
  .tech-row,
  .footer,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .services,
  .technologies,
  .showcase,
  .process,
  .footer {
    padding: 28px 22px;
  }

  .hero h1 {
    max-width: none;
  }

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

@media (max-width: 560px) {
  body {
    background:
      radial-gradient(circle at top left, rgba(58, 230, 255, 0.16), transparent 26%),
      linear-gradient(180deg, #06101e 0%, #091728 58%, #f4f7fb 58%, #eef4f9 100%);
  }

  .button,
  .button-outline {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-points {
    flex-direction: column;
  }

  .hub-center {
    width: 140px;
    height: 140px;
  }

  .hub-a,
  .hub-b,
  .hub-c,
  .hub-d,
  .hub-e {
    width: 88px;
    height: 88px;
  }

  .hub span {
    font-size: 0.72rem;
  }

  .showcase-media {
    min-height: 240px;
  }

  .photo-overlay {
    max-width: 100%;
  }
}
