:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-soft: rgba(9, 17, 32, 0.76);
  --panel: rgba(12, 22, 42, 0.72);
  --panel-strong: rgba(16, 31, 59, 0.9);
  --line: rgba(177, 217, 255, 0.14);
  --text: #eef6ff;
  --muted: rgba(224, 236, 255, 0.76);
  --accent: #5ae3ff;
  --accent-2: #93ffcf;
  --accent-3: #8aa3ff;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(90, 227, 255, 0.22), transparent 26%),
    radial-gradient(circle at 80% 18%, rgba(138, 163, 255, 0.2), transparent 24%),
    linear-gradient(180deg, #040915 0%, #08111f 40%, #04070e 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 100%);
  opacity: 0.18;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle, transparent 65%, rgba(0, 0, 0, 0.4) 100%);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.38;
  pointer-events: none;
  z-index: -1;
}

.ambient-one {
  top: 7%;
  left: -8%;
  width: 24rem;
  height: 24rem;
  background: rgba(90, 227, 255, 0.28);
  animation: drift 16s ease-in-out infinite;
}

.ambient-two {
  right: -10%;
  top: 42%;
  width: 28rem;
  height: 28rem;
  background: rgba(138, 163, 255, 0.18);
  animation: drift 18s ease-in-out infinite reverse;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.045;
  background-image: linear-gradient(transparent 0 48%, rgba(255, 255, 255, 0.35) 49% 50%, transparent 51% 100%);
  background-size: 100% 3px;
}

.bubble-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.bubble {
  position: absolute;
  bottom: -120px;
  background: rgba(255, 255, 255, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.42), 0 0 20px rgba(90, 227, 255, 0.12);
  animation: floatUp 8s infinite ease-in;
  opacity: 0.9;
}

.bubble-circle {
  border-radius: 50%;
}

.bubble-pill {
  border-radius: 50%;
}

.bubble-square {
  border-radius: 50%;
}

.bubble-ring {
  background: transparent;
  border-width: 2px;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.2), 0 0 22px rgba(90, 227, 255, 0.1);
}

.bubble-1 {
  width: 40px;
  height: 40px;
  left: 8%;
  animation-delay: 0s;
  animation-duration: 8s;
}

.bubble-2 {
  width: 70px;
  height: 70px;
  left: 24%;
  animation-delay: 2s;
  animation-duration: 6s;
}

.bubble-3 {
  width: 26px;
  height: 26px;
  left: 41%;
  animation-delay: 4s;
  animation-duration: 10s;
}

.bubble-4 {
  width: 92px;
  height: 92px;
  left: 57%;
  animation-delay: 1s;
  animation-duration: 7s;
}

.bubble-5 {
  width: 52px;
  height: 52px;
  left: 73%;
  animation-delay: 3s;
  animation-duration: 5s;
}

.bubble-6 {
  width: 54px;
  height: 54px;
  left: 86%;
  animation-delay: 1.5s;
  animation-duration: 9s;
}

.bubble-7 {
  width: 60px;
  height: 60px;
  left: 14%;
  animation-delay: 5s;
  animation-duration: 11s;
}

.bubble-8 {
  width: 34px;
  height: 34px;
  left: 49%;
  animation-delay: 2.5s;
  animation-duration: 7.5s;
}

.bubble-9 {
  width: 86px;
  height: 86px;
  left: 64%;
  animation-delay: 6s;
  animation-duration: 9.5s;
}

.bubble-10 {
  width: 64px;
  height: 64px;
  left: 92%;
  animation-delay: 4.5s;
  animation-duration: 8.5s;
}

.topbar,
.section-shell,
.footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0 0.5rem;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 18px;
}

.brand:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.brand-mark {
  width: 3.45rem;
  height: 3.45rem;
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-copy {
  display: grid;
  gap: 0.1rem;
}

.brand-copy strong {
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: 0.03em;
  font-size: 1.2rem;
}

.brand-copy span,
.nav a,
.eyebrow,
.form-note,
.footer,
.service-card p,
.comparison-card p,
.hero-stats span,
.contact-copy p,
.contact-points span {
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 1.2rem;
}

.nav a {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  transition: 180ms ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.section-shell {
  padding: 2.4rem 0;
}

.hero,
.services,
.showcase,
.contact,
.footer {
  position: relative;
  z-index: 1;
}

.hero.section-shell {
  width: 100vw;
  max-width: none;
  margin: 0;
  padding: 0;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 5.5rem 0 3rem;
}

.hero-copy {
  max-width: 46rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  line-height: 0.94;
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  max-width: 8.5ch;
}

h2 {
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  max-width: 11ch;
}

h3 {
  font-size: 1.45rem;
}

.lead {
  max-width: 34rem;
  font-size: 1.08rem;
  line-height: 1.8;
  margin: 1.2rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 180ms ease;
  cursor: pointer;
}

.hero-actions .button:hover {
  transform: translateY(-2px) rotate(-3deg);
}

.button-primary {
  color: #06101a;
  background: linear-gradient(135deg, #d0fbff, #5ae3ff 50%, #93ffcf);
  box-shadow: 0 18px 40px rgba(90, 227, 255, 0.3);
}

.button-primary:hover {
  transform: translateY(-2px) rotate(-3deg);
}

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

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

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

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.hero-badges span,
.hero-panel-label,
.hero-panel-footer strong {
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-badges span {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(6, 12, 24, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.service-card,
.comparison-card,
.contact-form,
.hero-stats article {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.contact-points,
.service-index,
.comparison-labels span {
  display: block;
  font-family: "Space Grotesk", system-ui, sans-serif;
}

.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: #040915;
  overflow: hidden;
}

.hero-background-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  object-position: center;
}

.hero-background-video {
  filter: saturate(1.15) contrast(1.06) brightness(0.88);
  opacity: 0.97;
}

.hero-background-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 9, 20, 0.72) 0%, rgba(7, 17, 31, 0.48) 38%, rgba(7, 17, 31, 0.18) 100%),
    radial-gradient(circle at 20% 30%, rgba(90, 227, 255, 0.12), transparent 26%),
    radial-gradient(circle at 74% 24%, rgba(147, 255, 207, 0.08), transparent 20%);
}

.section-heading {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}

.service-grid,
.comparison-grid {
  display: grid;
  gap: 1rem;
}

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

.service-card {
  border-radius: 26px;
  padding: 1.3rem;
  min-height: 15rem;
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(90, 227, 255, 0.18), transparent 42%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-8px) rotate(-1deg);
  border-color: rgba(90, 227, 255, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.48);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
}

.service-card:hover::before,
.service-card:focus-within::before {
  opacity: 1;
}

.service-card h3,
.service-card p,
.service-index {
  position: relative;
  z-index: 1;
  transition: transform 220ms ease, color 220ms ease, opacity 220ms ease;
}

.service-card:hover .service-index,
.service-card:focus-within .service-index {
  color: var(--accent);
  transform: translateX(4px);
}

.service-card:hover h3,
.service-card:focus-within h3 {
  color: #ffffff;
  transform: translateX(3px);
}

.service-card:hover p,
.service-card:focus-within p {
  opacity: 0.95;
  transform: translateX(3px);
}

.service-index {
  font-size: 0.82rem;
  color: var(--accent-2);
  letter-spacing: 0.18em;
  margin-bottom: 2.8rem;
}

.service-card p,
.comparison-card p,
.contact-copy p,
.footer {
  line-height: 1.75;
}

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

.comparison-card {
  padding: 1rem;
  border-radius: 28px;
}

.comparison-labels {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.comparison-labels span {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.before {
  color: #ffc8a2;
}

.after {
  color: var(--accent-2);
}

.comparison-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.comparison-panels figure {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  min-height: 16rem;
}

.comparison-panels img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-panels figure:first-child img {
  filter: saturate(0.55) contrast(0.9) brightness(0.72);
}

.comparison-panels figure:last-child img {
  filter: saturate(1.2) contrast(1.04) brightness(0.98);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1.2rem;
  align-items: start;
}

.contact-copy {
  padding: 1rem 0;
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.contact-points span {
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.contact-form {
  border-radius: 30px;
  padding: 1.25rem;
  display: grid;
  gap: 1rem;
}

.contact-note {
  margin: 0;
  font-size: 0.92rem;
  color: var(--accent-2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.75rem;
  color: rgba(240, 246, 255, 0.92);
  line-height: 1.7;
}

.contact-email {
  justify-self: start;
}

label {
  display: grid;
  gap: 0.45rem;
  color: rgba(240, 246, 255, 0.9);
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(5, 11, 22, 0.74);
  color: var(--text);
  padding: 0.95rem 1rem;
  transition: 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(90, 227, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(90, 227, 255, 0.12);
}

textarea {
  resize: vertical;
  min-height: 9rem;
}

.form-note {
  margin: 0;
  font-size: 0.92rem;
}

.footer {
  padding: 0.6rem 0 2rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -16px, 0) scale(1.08);
  }
}

@keyframes videoFloat {
  0%,
  100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.03) translateY(-6px);
  }
}

@keyframes floatUp {
  0%,
  100% {
    bottom: -120px;
    transform: translateX(0);
    opacity: 1;
  }
  50% {
    transform: translateX(50px);
  }
  100% {
    bottom: 110%;
    transform: translateX(-50px);
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .contact,
  .comparison-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    min-height: 100vh;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .topbar {
    flex-direction: column;
    gap: 0.75rem;
    position: static;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .hero.section-shell {
    padding-top: 0;
  }

  .hero-content {
    min-height: 100vh;
    padding-top: 4.75rem;
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4.6rem);
  }
}
