:root {
  --bg: #031116;
  --bg-2: #071b21;
  --panel: rgba(10, 26, 31, 0.62);
  --panel-strong: rgba(9, 22, 27, 0.88);
  --line: rgba(99, 255, 181, 0.16);
  --text: #eef7f5;
  --muted: #9fb8b5;
  --brand: #13d56e;
  --brand-2: #41ffab;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 20%, rgba(19, 213, 110, 0.12), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(65, 255, 171, 0.09), transparent 20%),
    linear-gradient(180deg, #021014 0%, #04161c 38%, #031116 100%);
  overflow-x: hidden;
}

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

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

.page-glow,
.page-glow::before,
.page-glow::after {
  position: fixed;
  pointer-events: none;
  inset: auto;
  content: "";
  z-index: 0;
  filter: blur(60px);
}

.page-glow {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(19, 213, 110, 0.16);
  top: 120px;
  right: 5%;
  animation: floatGlow 12s ease-in-out infinite;
}

.page-glow::before {
  width: 220px;
  height: 220px;
  left: -720px;
  top: 480px;
  border-radius: 50%;
  background: rgba(65, 255, 171, 0.08);
  animation: floatGlow 14s ease-in-out infinite reverse;
}

.page-glow::after {
  width: 160px;
  height: 160px;
  left: -420px;
  top: 80px;
  border-radius: 50%;
  background: rgba(19, 213, 110, 0.08);
  animation: floatGlow 10s ease-in-out infinite;
}

@keyframes floatGlow {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, 22px, 0); }
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(3, 17, 22, 0.82), rgba(3, 17, 22, 0.52));
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: 215px;
  max-width: min(42vw, 215px);
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.96rem;
  padding: 10px 14px;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, text-shadow 0.25s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(65, 255, 171, 0.08);
  box-shadow: 0 0 0 1px rgba(65, 255, 171, 0.12), 0 0 22px rgba(65, 255, 171, 0.18);
  text-shadow: 0 0 10px rgba(65, 255, 171, 0.55);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-chip,
.btn,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.phone-chip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: #d9fbe9;
}

.phone-chip::before {
  content: "\260E";
  font-size: 0.96rem;
  line-height: 1;
}

.btn {
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #032118;
  box-shadow: 0 12px 35px rgba(19, 213, 110, 0.28);
}

.call-btn::before {
  content: "\260E";
  font-size: 0.96rem;
  line-height: 1;
}

.btn-secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.phone-chip:hover,
.btn:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}

.hero,
.page-intro {
  padding: 56px 0 48px;
}

.clients-intro-tight {
  padding-top: 32px;
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-wave-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.78;
  mix-blend-mode: screen;
}

.hero-grid,
.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.intro-grid-full {
  grid-template-columns: 1fr;
}

.intro-grid-full .fade-up,
.intro-grid-full p {
  max-width: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(19, 213, 110, 0.08);
  border: 1px solid rgba(65, 255, 171, 0.15);
  color: #b8f8da;
  font-size: 0.92rem;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 18px var(--brand-2);
}

.compact {
  margin-bottom: 0;
  width: fit-content;
}

.hero h1,
.page-intro h1 {
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  line-height: 1;
  margin: 0 0 18px;
  letter-spacing: -0.03em;
}

.hero h1 span {
  background: linear-gradient(135deg, #ffffff 0%, #baf7dc 48%, var(--brand-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.heading-subdue {
  font-size: 0.8em;
}

.hero p,
.page-intro p,
.panel-copy,
.muted-copy {
  color: var(--muted);
}

.hero p,
.page-intro p {
  font-size: 1.08rem;
  max-width: 620px;
  margin: 0 0 28px;
}

.page-intro .intro-grid-full p {
  max-width: none;
}

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

.compact-actions {
  margin: 8px 0 0;
}

.hero-stats,
.metrics-grid,
.contact-grid,
.services-grid,
.two-column {
  display: grid;
  gap: 18px;
}

.hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 680px;
}

.stat,
.metric,
.panel,
.intro-card,
.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.stat {
  border-radius: var(--radius-md);
  padding: 18px;
}

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

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

.hero-visual {
  position: relative;
  min-height: 640px;
}

.visual-card {
  position: relative;
  height: 100%;
  min-height: 640px;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  background:
    linear-gradient(145deg, rgba(6, 30, 37, 0.92), rgba(2, 14, 18, 0.98)),
    radial-gradient(circle at 20% 20%, rgba(65, 255, 171, 0.16), transparent 24%),
    radial-gradient(circle at 75% 68%, rgba(19, 213, 110, 0.18), transparent 26%);
}

.visual-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(2, 14, 18, 0.15) 0%, rgba(3, 17, 22, 0.45) 40%, rgba(3, 17, 22, 0.7) 100%),
    linear-gradient(transparent 95%, rgba(255, 255, 255, 0.04) 100%),
    linear-gradient(90deg, transparent 95%, rgba(255, 255, 255, 0.03) 100%);
  background-size: auto, 100% 42px, 42px 100%;
}

.floating-panel {
  position: absolute;
  backdrop-filter: blur(16px);
  background: rgba(7, 20, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
  border-radius: 22px;
}

.floating-top {
  top: 24px;
  right: 24px;
  width: 240px;
  padding: 18px;
}

.floating-top small,
.floating-bottom small {
  display: block;
  color: #b7cbc7;
  margin-bottom: 8px;
}

.floating-top strong {
  font-size: 1.15rem;
  display: block;
  margin-bottom: 6px;
}

.mini-bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  align-items: end;
  height: 80px;
  margin-top: 12px;
}

.mini-bars span {
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand-2), rgba(65, 255, 171, 0.2));
  box-shadow: 0 0 24px rgba(65, 255, 171, 0.12);
  animation: barPulse 4s ease-in-out infinite;
}

.mini-bars span:nth-child(1) { height: 36%; animation-delay: 0.2s; }
.mini-bars span:nth-child(2) { height: 70%; animation-delay: 0.6s; }
.mini-bars span:nth-child(3) { height: 52%; animation-delay: 0.9s; }
.mini-bars span:nth-child(4) { height: 84%; animation-delay: 0.3s; }
.mini-bars span:nth-child(5) { height: 60%; animation-delay: 0.7s; }

@keyframes barPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.9; }
  50% { transform: scaleY(1.08); opacity: 1; }
}

.floating-bottom {
  left: 24px;
  bottom: 24px;
  width: min(82%, 360px);
  padding: 20px;
}

.feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-row:first-of-type { border-top: 0; }

.feature-row b {
  display: block;
  margin-bottom: 4px;
}

.feature-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(19, 213, 110, 0.12);
  color: #d7ffe9;
  font-size: 0.84rem;
  border: 1px solid rgba(65, 255, 171, 0.15);
}

section { padding: 0 0 44px; }

.contact-section-tight {
  padding-top: 0;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 10px;
}

.logo-chip {
  border-radius: 18px;
  padding: 18px 16px;
  text-align: center;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #9bc0b8;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 26px;
}

.section-head h2,
.panel h2,
.contact-card h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.contact-card h2 {
  padding-top: 10px;
}

.section-head p {
  max-width: 620px;
  color: var(--muted);
  margin: 0;
}

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

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

.client-tile {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 26px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(247, 250, 249, 0.98), rgba(232, 238, 236, 0.95)),
    radial-gradient(circle at top right, rgba(65, 255, 171, 0.12), transparent 30%);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.client-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(65, 255, 171, 0.28);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28), 0 0 26px rgba(65, 255, 171, 0.08);
}

.client-logo {
  width: 72%;
  max-width: 150px;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(1.08) brightness(0.9);
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: auto auto -40px -20px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 213, 110, 0.18), transparent 65%);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(65, 255, 171, 0.18);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
}

.icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(19, 213, 110, 0.1);
  border: 1px solid rgba(65, 255, 171, 0.14);
  color: #b9ffde;
  font-size: 1rem;
  margin-bottom: 18px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.card ul,
.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: #d9e9e6;
  font-size: 0.94rem;
}

.card li::before,
.plain-list li::before {
  content: "•";
  color: var(--brand-2);
  margin-right: 8px;
}

.showcase,
.two-column {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.showcase-panel,
.panel,
.intro-card,
.contact-card,
.cta-banner {
  border-radius: 30px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(8, 27, 33, 0.85), rgba(4, 16, 20, 0.9)),
    radial-gradient(circle at top right, rgba(65, 255, 171, 0.14), transparent 30%);
}

.showcase-visual {
  display: grid;
  place-items: center;
  position: relative;
}

.stack {
  display: grid;
  align-content: start;
  gap: 20px;
}

.panel-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.02em;
  line-height: 1;
}

.panel-copy {
  margin: 0;
  font-size: 1.02rem;
}

.screen {
  width: min(100%, 620px);
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 95%, rgba(255, 255, 255, 0.06) 100%),
    linear-gradient(90deg, transparent 95%, rgba(255, 255, 255, 0.04) 100%);
  background-size: 100% 38px, 38px 100%;
  opacity: 0.4;
}

.screen-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.screen-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.screen-body {
  padding: 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  height: calc(100% - 58px);
}

.code-stack,
.checklist {
  display: grid;
  gap: 14px;
  align-content: start;
}

.code-line,
.signal-card,
.check-item,
.contact-item {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.code-line {
  height: 18px;
}

.code-line:nth-child(1) { width: 88%; }
.code-line:nth-child(2) { width: 70%; }
.code-line:nth-child(3) { width: 93%; }
.code-line:nth-child(4) { width: 56%; }
.code-line:nth-child(5) { width: 76%; }

.signal-card {
  padding: 16px;
  min-height: 112px;
}

.signal-wave {
  display: grid;
  grid-template-columns: repeat(18, 1fr);
  gap: 6px;
  align-items: end;
  height: 76px;
  margin-top: 10px;
}

.signal-wave span {
  display: block;
  background: linear-gradient(180deg, var(--brand-2), rgba(65, 255, 171, 0.16));
  border-radius: 999px;
  animation: wave 3.5s ease-in-out infinite;
}

.signal-wave span:nth-child(odd) { animation-duration: 4.2s; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.85); opacity: 0.7; }
  50% { transform: scaleY(1.08); opacity: 1; }
}

.check-item,
.contact-item {
  padding: 16px 18px;
}

.check-item strong,
.contact-item strong {
  display: block;
  margin-bottom: 6px;
}

.check-item span,
.contact-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.metric {
  padding: 26px;
  border-radius: 22px;
}

.metric strong {
  display: block;
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.metric span {
  color: var(--muted);
}

.contact-grid {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

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

form {
  display: grid;
  gap: 14px;
}

.recaptcha-wrap {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.form-message {
  margin: 0;
  min-height: 1.25rem;
  color: #ffb8b8;
  font-size: 0.92rem;
}

.form-message.is-success {
  color: #b8f8da;
}

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

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 15px 16px;
  border-radius: 16px;
  outline: none;
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: #7da19a;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.cta-banner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

footer {
  position: sticky;
  bottom: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(3, 17, 22, 0.82), rgba(3, 17, 22, 0.52));
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 10px 0 14px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 12px;
  align-items: center;
}

.footer-brand,
.footer-block {
  position: relative;
  z-index: 1;
}

.footer-brand p,
.footer-block p {
  margin: 3px 0 0;
  font-size: 0.9rem;
  line-height: 1.35;
}

.footer-block h3 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 0.92rem;
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero-grid,
  .intro-grid,
  .showcase,
  .contact-grid,
  .services-grid,
  .clients-grid,
  .metrics-grid,
  .two-column,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .intro-grid,
  .showcase,
  .contact-grid,
  .two-column,
  .cta-banner {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .visual-card {
    min-height: 560px;
  }

  .logo-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 780px) {
  .nav {
    flex-wrap: wrap;
    padding: 16px 0;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .page-intro {
    padding-top: 30px;
  }

  .services-grid,
  .clients-grid,
  .metrics-grid,
  .logo-strip,
  .input-row,
  .hero-stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1,
  .page-intro h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .hero-wave-canvas {
    opacity: 0.5;
  }

  .visual-card,
  .hero-visual {
    min-height: 480px;
  }

  .floating-top { width: 200px; }
  .floating-bottom { width: calc(100% - 48px); }
  .screen-body { grid-template-columns: 1fr; }
  .phone-chip,
  .btn,
  .btn-secondary {
    padding: 12px 18px;
  }

  .g-recaptcha {
    transform-origin: left top;
    transform: scale(0.92);
  }
}
