:root {
  --bg: #040816;
  --bg-soft: #081224;
  --panel: rgba(10, 18, 36, 0.72);
  --panel-strong: rgba(7, 14, 28, 0.9);
  --text: #eef4ff;
  --muted: #9db1d1;
  --line: rgba(95, 151, 255, 0.18);
  --blue: #2d7cff;
  --blue-2: #63b3ff;
  --cyan: #37d5ff;
  --violet: #8a5cff;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
  --radius: 24px;
  --max: 1280px;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(44, 124, 255, 0.18), transparent 35%),
    radial-gradient(circle at 85% 10%, rgba(55, 213, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #030712 0%, #07101f 45%, #030712 100%);
  overflow-x: hidden;
  width: 100%;
}

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

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

canvas,
section,
header,
footer,
div,
main,
aside,
article,
nav {
  max-width: 100%;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(99, 179, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 179, 255, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
  z-index: 0;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.site {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow-x: hidden;
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px);
  background: linear-gradient(180deg, rgba(3, 8, 18, 0.88), rgba(3, 8, 18, 0.62));
  border-bottom: 1px solid rgba(99, 179, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(71, 150, 255, 0.35));
}

.brand span {
  font-size: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a:hover {
  color: #fff;
}

.btn,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 700;
  transition: 0.25s ease;
  white-space: nowrap;
  max-width: 100%;
}

.btn {
  color: white;
  background: linear-gradient(135deg, var(--cyan), var(--blue), var(--violet));
  box-shadow: 0 10px 30px rgba(45, 124, 255, 0.28), inset 0 1px 0 rgba(255,255,255,0.18);
}

.btn:hover {
  transform: translateY(-2px) scale(1.01);
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(119, 170, 255, 0.22);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding: 140px 0 56px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
  animation: slowZoom 18s ease-in-out infinite alternate;
  filter: saturate(1.08) contrast(1.05);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 7, 16, 0.84) 0%, rgba(4, 8, 22, 0.48) 35%, rgba(4, 8, 22, 0.20) 62%, rgba(4, 8, 22, 0.62) 100%),
    linear-gradient(180deg, rgba(4,8,22,0.12) 0%, rgba(4,8,22,0.42) 100%);
  z-index: 1;
}

.hero-orb {
  position: absolute;
  width: 42vw;
  height: 42vw;
  max-width: 540px;
  max-height: 540px;
  min-width: 260px;
  min-height: 260px;
  right: -6vw;
  top: 10vh;
  background: radial-gradient(circle, rgba(55,213,255,0.20), rgba(138,92,255,0.10), transparent 68%);
  filter: blur(18px);
  z-index: 0;
  animation: floatOrb 10s ease-in-out infinite;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(360px, 430px);
  justify-content: center;
  align-items: start;
  gap: 72px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 120px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(16, 27, 52, 0.6);
  border: 1px solid rgba(99, 179, 255, 0.16);
  color: #d7e6ff;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  max-width: 100%;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 18px var(--cyan);
  flex: 0 0 auto;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5.4vw, 5.3rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-wrap: balance;
  text-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

.hero p.lead {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.7;
  color: #d7e3f8;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
  max-width: 820px;
}

.stat {
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(8, 15, 30, 0.55);
  border: 1px solid rgba(99, 179, 255, 0.12);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
  display: block;
}

.hero-card {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 460px;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(12, 21, 43, 0.72), rgba(6, 12, 24, 0.9));
  border: 1px solid rgba(110, 159, 255, 0.14);
  backdrop-filter: blur(24px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.42);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(99, 179, 255, 0.35), rgba(138, 92, 255, 0.18), transparent 68%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.badge {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: #dbe8ff;
  font-size: 0.76rem;
  border: 1px solid rgba(110, 159, 255, 0.12);
  flex: 0 0 auto;
}

.hero-card img {
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  border: 1px solid rgba(110, 159, 255, 0.14);
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.mini-grid .tile {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(110,159,255,0.12);
  border-radius: 16px;
  padding: 14px;
}

.mini-grid .tile strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.mini-grid .tile span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  display: block;
}

section {
  padding: 92px 0;
  position: relative;
  overflow: hidden;
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-2);
  margin-bottom: 14px;
  font-weight: 700;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-head p,
.info-panel p,
.contact-box p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

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

.card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(9, 18, 36, 0.84), rgba(7, 12, 24, 0.92));
  border: 1px solid rgba(99, 179, 255, 0.12);
  box-shadow: var(--shadow);
  min-height: 540px;
  display: flex;
  flex-direction: column;
}

.card .media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.card:hover .media img {
  transform: scale(1.045);
}

.card .media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(7,12,24,0.82) 100%);
}

.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.icon-tag {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(55,213,255,0.18), rgba(138,92,255,0.18));
  border: 1px solid rgba(99,179,255,0.15);
  font-size: 1.3rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.card h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: 0.98rem;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: #e2ecff;
  font-size: 0.95rem;
}

.list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-top: 0.48em;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 14px rgba(55,213,255,0.45);
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 26px;
  align-items: stretch;
}

.showcase-reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.showcase-panel,
.info-panel {
  background: linear-gradient(180deg, rgba(8, 16, 32, 0.86), rgba(7, 12, 24, 0.94));
  border-radius: 28px;
  border: 1px solid rgba(99, 179, 255, 0.12);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.showcase-panel img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.info-panel {
  padding: 28px;
  display: grid;
  gap: 18px;
  align-content: start;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.feature {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(99,179,255,0.1);
}

.feature strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.feature span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  display: block;
}

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

.step {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(10, 18, 36, 0.82), rgba(7, 12, 24, 0.94));
  border: 1px solid rgba(99, 179, 255, 0.12);
  box-shadow: var(--shadow);
}

.step .num {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 18px;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 10px 25px rgba(45, 124, 255, 0.24);
}

.step h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.contact-box,
.contact-card {
  border-radius: 28px;
  border: 1px solid rgba(99, 179, 255, 0.12);
  background: linear-gradient(180deg, rgba(10, 18, 36, 0.84), rgba(7, 12, 24, 0.94));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-box {
  padding: 30px;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(99, 179, 255, 0.1);
}

.contact-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.contact-item span,
.contact-item a {
  color: var(--muted);
  line-height: 1.6;
  word-break: break-word;
}

.contact-card img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

footer {
  padding: 26px 0 46px;
  color: var(--muted);
  font-size: 0.94rem;
  overflow: hidden;
}

.footer-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  border-top: 1px solid rgba(99, 179, 255, 0.08);
  padding-top: 24px;
}

.footer-cards {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.footer-card {
  padding: 22px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(10, 18, 36, 0.86), rgba(7, 12, 24, 0.96));
  border: 1px solid rgba(99, 179, 255, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.footer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(55,213,255,0.14), transparent 32%),
    radial-gradient(circle at bottom left, rgba(138,92,255,0.12), transparent 28%);
  pointer-events: none;
}

.footer-card-inner {
  position: relative;
  z-index: 1;
}

.footer-company-card,
.footer-nav-card,
.footer-legal-card {
  width: 100%;
}

.footer-company-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.footer-card-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(71, 150, 255, 0.24));
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  padding: 8px;
  border: 1px solid rgba(99, 179, 255, 0.12);
  flex: 0 0 auto;
}

.footer-company {
  display: grid;
  gap: 6px;
  color: var(--muted);
  line-height: 1.7;
}

.footer-company strong {
  color: var(--text);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.footer-card-title {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: 0.01em;
}

.footer-link-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-nav-card .footer-link-grid {
  flex-direction: column;
  align-items: center;
}

.footer-nav-card .footer-link-btn {
  width: min(280px, 100%);
  justify-content: center;
}

.footer-pill,
.footer-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(99, 179, 255, 0.10);
  color: #d8e7ff;
  font-size: 0.90rem;
  transition: 0.25s ease;
  text-align: center;
}

.footer-link-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(99, 179, 255, 0.28);
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.footer-legal-extra {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom-text {
  text-align: center;
  color: #d8e7ff;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding-top: 4px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slowZoom {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  100% { transform: scale(1.05) translate3d(0, -1%, 0); }
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(18px); }
}

@media (max-width: 1180px) {
  .services,
  .process {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid,
  .showcase,
  .showcase-reverse,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .hero-card {
    justify-self: center;
    max-width: 520px;
  }

  .showcase-panel img {
    min-height: 420px;
  }

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

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }

  .nav {
    gap: 14px;
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
    padding-bottom: 28px;
  }

  .hero-grid {
    gap: 28px;
    padding-top: 24px;
  }

  h1 {
    font-size: clamp(2.3rem, 12vw, 4rem);
  }

  .hero-stats,
  .feature-grid,
  .services,
  .process,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 76px 0;
  }

  .contact-card {
    min-height: 340px;
  }

  .footer-company-layout {
    grid-template-columns: 1fr;
  }

  .footer-link-grid {
    flex-direction: column;
  }

  .footer-link-btn,
  .footer-pill,
  .btn,
  .btn-secondary,
  .nav-cta {
    width: 100%;
  }

  .footer-nav-card .footer-link-btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 20px), var(--max));
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand span {
    font-size: 0.94rem;
  }

  .eyebrow {
    font-size: 0.72rem;
    line-height: 1.4;
    white-space: normal;
  }

  .hero-orb {
    opacity: 0.55;
  }

  .showcase-panel img {
    min-height: 300px;
  }

  .footer-card {
    padding: 18px;
  }

  .footer-bottom-text {
    font-size: 0.88rem;
    line-height: 1.6;
  }
}