:root {
  --bg: #050812;
  --ink: #f4f8ff;
  --muted: #9aa9bd;
  --line: rgba(177, 204, 233, 0.16);
  --panel: rgba(11, 18, 32, 0.72);
  --panel-strong: rgba(14, 24, 43, 0.9);
  --navy: #070d1a;
  --teal: #38dfc2;
  --blue: #6aa6ff;
  --gold: #f4c76a;
  --coral: #ff7468;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 13% 10%, rgba(56, 223, 194, 0.16), transparent 28rem),
    radial-gradient(circle at 88% 2%, rgba(106, 166, 255, 0.18), transparent 30rem),
    radial-gradient(circle at 72% 72%, rgba(244, 199, 106, 0.08), transparent 24rem),
    linear-gradient(180deg, #03050b 0%, #07101f 38%, #050812 100%);
  overflow-x: hidden;
}

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

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

.motion-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.58;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
  background: rgba(5, 8, 18, 0.76);
  border-bottom: 1px solid rgba(177, 204, 233, 0.12);
  backdrop-filter: blur(16px);
  transition: min-height 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.site-header.scrolled {
  min-height: 62px;
  background: rgba(4, 8, 17, 0.92);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.34);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #ffffff;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, #1ddfbd, #366fff 62%, #f4c76a);
  border-radius: 8px;
  font-size: 0.82rem;
  box-shadow: 0 0 0 0 rgba(22, 138, 122, 0.28);
  animation: brandPulse 3.8s ease-in-out infinite;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #c7d3e2;
  font-weight: 700;
  font-size: 0.95rem;
}

.nav a {
  padding: 10px 0;
}

.nav a:hover {
  color: #ffffff;
}

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

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 64px 5vw 54px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 7% 2% auto auto;
  width: min(42vw, 620px);
  aspect-ratio: 1;
  background: conic-gradient(from 110deg, rgba(56, 223, 194, 0.28), rgba(244, 199, 106, 0.16), rgba(106, 166, 255, 0.28), rgba(56, 223, 194, 0.28));
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
  animation: slowSpin 18s linear infinite;
}

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

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  text-shadow: 0 0 22px rgba(56, 223, 194, 0.32);
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 6.2vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
  color: #ffffff;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.03;
  letter-spacing: 0;
  color: #ffffff;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.2;
}

.hero-text {
  max-width: 640px;
  margin-bottom: 30px;
  color: #b8c5d8;
  font-size: 1.18rem;
  line-height: 1.62;
}

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

.button,
.price-card a,
.service-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  font-weight: 850;
  cursor: pointer;
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.price-card a:hover,
.service-card button:hover {
  transform: translateY(-3px);
}

.primary {
  color: white;
  background: linear-gradient(135deg, #159f8e, #356fff 58%, #7253ff);
  box-shadow: 0 18px 42px rgba(53, 111, 255, 0.28);
}

.primary:hover {
  box-shadow: 0 22px 54px rgba(53, 111, 255, 0.42);
}

.secondary {
  color: #eaf2ff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 38px 0 0;
}

.stats div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
  animation: riseIn 700ms ease both;
}

.stats div:nth-child(2) {
  animation-delay: 90ms;
}

.stats div:nth-child(3) {
  animation-delay: 180ms;
}

.stats dt {
  font-size: 1.25rem;
  font-weight: 900;
}

.stats dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-media {
  position: relative;
  perspective: 1100px;
}

.hero-media img {
  position: relative;
  z-index: 1;
  width: min(900px, 62vw);
  min-width: 560px;
  border-radius: 8px;
  border: 1px solid rgba(177, 204, 233, 0.18);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48), 0 0 70px rgba(56, 223, 194, 0.08);
  transform: rotateY(-6deg) rotateX(2deg);
  transform-origin: center;
  animation: heroFloat 7s ease-in-out infinite;
}

.floating-card {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 3px;
  min-width: 156px;
  padding: 15px 16px;
  color: white;
  background: rgba(5, 10, 22, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 22px 52px rgba(15, 23, 36, 0.24);
  backdrop-filter: blur(14px);
}

.floating-card span {
  color: #99e6d9;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.floating-card strong {
  font-size: 1.35rem;
}

.floating-card small {
  color: #c7d3e2;
}

.card-api {
  top: 11%;
  left: -2%;
  animation: chipFloat 5.2s ease-in-out infinite;
}

.card-speed {
  right: 0;
  bottom: 12%;
  animation: chipFloat 5.8s ease-in-out 650ms infinite;
}

.trust-band {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 24px 5vw;
  background: linear-gradient(90deg, rgba(56, 223, 194, 0.12), rgba(106, 166, 255, 0.08), rgba(244, 199, 106, 0.10));
  border-block: 1px solid rgba(177, 204, 233, 0.12);
  overflow: hidden;
}

.trust-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(56, 223, 194, 0.24), transparent);
  width: 36%;
  transform: translateX(-120%);
  animation: signalSweep 5.5s ease-in-out infinite;
}

.trust-band span {
  position: relative;
  padding: 10px 14px;
  color: #e7eef7;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-weight: 750;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 180ms ease, border-color 180ms ease;
}

.trust-band span:hover {
  transform: translateY(-3px);
  border-color: rgba(153, 230, 217, 0.6);
}

.section,
.split-section,
.contact-section {
  position: relative;
  padding: 86px 5vw;
}

.section::before,
.split-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(177, 204, 233, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(177, 204, 233, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, transparent, black 18%, black 72%, transparent);
  pointer-events: none;
}

.section > *,
.split-section > * {
  position: relative;
}

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

.section-heading p:not(.eyebrow),
.split-section p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.65;
}

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

.service-card,
.price-card {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.service-card::before,
.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.10), transparent 38%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

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

.service-card > *,
.price-card > * {
  position: relative;
}

.service-card:hover,
.price-card:hover,
.benefits div:hover,
.timeline div:hover {
  transform: translateY(-7px);
  border-color: rgba(56, 223, 194, 0.4);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.34), 0 0 38px rgba(56, 223, 194, 0.10);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.service-card p,
.price-card li {
  color: var(--muted);
  line-height: 1.55;
}

.icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 22px;
  color: white;
  background: linear-gradient(135deg, rgba(56, 223, 194, 0.95), rgba(106, 166, 255, 0.95));
  border-radius: 8px;
  font-weight: 900;
  font-size: 0.72rem;
}

.service-card button {
  margin-top: auto;
  color: #dffdf8;
  background: rgba(56, 223, 194, 0.11);
  border: 1px solid rgba(56, 223, 194, 0.22);
}

.detail-panel {
  margin-top: 18px;
  padding: 22px 24px;
  color: #dce8f7;
  background: rgba(8, 15, 28, 0.78);
  border: 1px solid var(--line);
  border-left: 6px solid var(--teal);
  border-radius: 8px;
  line-height: 1.6;
  transition: transform 180ms ease, opacity 180ms ease;
}

.detail-panel.flash {
  transform: translateY(-4px);
  opacity: 0.78;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 48px;
  background:
    linear-gradient(135deg, rgba(56, 223, 194, 0.06), transparent 34%),
    rgba(255, 255, 255, 0.025);
  border-block: 1px solid rgba(177, 204, 233, 0.10);
}

.benefits {
  display: grid;
  gap: 18px;
}

.benefits div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.052);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

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

.muted {
  background:
    linear-gradient(180deg, rgba(106, 166, 255, 0.055), rgba(56, 223, 194, 0.035)),
    rgba(255, 255, 255, 0.018);
  border-block: 1px solid rgba(177, 204, 233, 0.10);
}

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

.price-card {
  position: relative;
}

.price-card.featured {
  border-color: rgba(56, 223, 194, 0.46);
  background: linear-gradient(180deg, rgba(56, 223, 194, 0.12), rgba(14, 24, 43, 0.88));
  box-shadow: var(--shadow), 0 0 44px rgba(56, 223, 194, 0.10);
}

.badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 10px;
  color: #211600;
  background: linear-gradient(135deg, #f4c76a, #ffe7a6);
  border-radius: 8px;
  font-weight: 850;
  font-size: 0.82rem;
}

.price {
  margin: 12px 0 22px;
  font-size: 1.75rem;
  font-weight: 950;
}

.price-card ul {
  display: grid;
  gap: 12px;
  min-height: 132px;
  margin: 0 0 24px;
  padding-left: 20px;
}

.price-card a {
  width: 100%;
  color: white;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(177, 204, 233, 0.16);
}

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

.timeline div {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.timeline span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  color: white;
  background: linear-gradient(135deg, var(--coral), #7253ff);
  border-radius: 8px;
  font-weight: 900;
}

.timeline strong {
  display: block;
  margin-bottom: 8px;
}

.timeline p {
  color: var(--muted);
  line-height: 1.55;
}

.contact-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 42px;
  align-items: start;
  color: white;
  background: #030711;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 138, 122, 0.16), transparent 42%),
    radial-gradient(circle at 84% 16%, rgba(242, 184, 75, 0.16), transparent 22rem);
  pointer-events: none;
}

.contact-section > * {
  position: relative;
}

.contact-copy p {
  color: #b9c6d6;
}

.contact-methods a {
  padding: 12px 14px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-methods a:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 223, 194, 0.44);
  background: rgba(56, 223, 194, 0.10);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(177, 204, 233, 0.16);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: rgba(3, 7, 17, 0.56);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #75869c;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(56, 223, 194, 0.34);
  border-color: rgba(56, 223, 194, 0.58);
}

.form-note a {
  color: var(--teal);
  font-weight: 900;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 5vw;
  color: #91a3b9;
  background: #030711;
  border-top: 1px solid var(--line);
}

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

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

@keyframes brandPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(22, 138, 122, 0.28);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(22, 138, 122, 0);
  }
}

@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes heroFloat {
  0%, 100% {
    transform: rotateY(-6deg) rotateX(2deg) translateY(0);
  }
  50% {
    transform: rotateY(-4deg) rotateX(1deg) translateY(-14px);
  }
}

@keyframes chipFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes signalSweep {
  0%, 22% {
    transform: translateX(-120%);
  }
  62%, 100% {
    transform: translateX(340%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

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

  .hero {
    min-height: auto;
  }

  .hero-media img {
    width: 100%;
    min-width: 0;
    transform: none;
  }

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

@media (max-width: 760px) {
  .site-header {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 64px;
    right: 5vw;
    left: 5vw;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: rgba(5, 8, 18, 0.96);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 14px;
    border-radius: 8px;
  }

  .nav a:hover {
    background: rgba(255, 255, 255, 0.07);
  }

  .hero,
  .section,
  .split-section,
  .contact-section {
    padding: 54px 5vw;
  }

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

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

  .price-card ul {
    min-height: 0;
  }

  .site-footer {
    flex-direction: column;
  }

  .floating-card {
    position: static;
    margin-top: 12px;
  }

  .hero-media {
    display: grid;
  }
}
