:root {
  --bg: #07111f;
  --bg-soft: #0d1d34;
  --surface: rgba(13, 29, 52, 0.75);
  --surface-strong: rgba(12, 24, 43, 0.96);
  --line: rgba(158, 203, 255, 0.15);
  --text: #f6fbff;
  --muted: #a7bfd7;
  --primary: #ff7a18;
  --secondary: #4fe0c8;
  --tertiary: #67a7ff;
  --glow: rgba(255, 122, 24, 0.28);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI Variable Display", "Trebuchet MS", "Gill Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 122, 24, 0.22), transparent 28%),
    radial-gradient(circle at 90% 15%, rgba(79, 224, 200, 0.18), transparent 22%),
    radial-gradient(circle at bottom right, rgba(103, 167, 255, 0.2), transparent 30%),
    linear-gradient(160deg, #04101d 0%, #091628 44%, #05101c 100%);
  min-height: 100vh;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

body::before {
  top: 8%;
  left: -4rem;
  background: rgba(255, 122, 24, 0.09);
}

body::after {
  right: -6rem;
  bottom: 12%;
  background: rgba(79, 224, 200, 0.09);
}

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

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.2rem 0 3rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.2rem;
  position: sticky;
  top: 1rem;
  z-index: 10;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(4, 14, 26, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark {
  width: 2.7rem;
  height: 2.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-copy strong {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.brand-copy small,
.eyebrow,
.service-card p,
.metric-copy p,
.value-card p,
.leader-card p,
.contact-cta p,
.hero-text,
.panel-primary p,
.mini-card p,
.brands-strip p {
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav a {
  font-size: 0.95rem;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nav-cta {
  padding: 0.75rem 1.1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.3rem;
}

.menu-toggle span {
  display: block;
  width: 1.6rem;
  height: 2px;
  margin: 0.3rem 0;
  background: var(--text);
  border-radius: 999px;
}

.hero,
.services,
.metrics,
.stack,
.team,
.footer,
.contact-cta {
  margin-top: 1.5rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1.4rem;
  align-items: stretch;
  padding: 2rem 0 0.5rem;
}

.hero-copy,
.hero-panel,
.brands-strip,
.services,
.metrics,
.stack,
.team,
.footer,
.contact-cta {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(10, 23, 41, 0.85), rgba(5, 14, 25, 0.94));
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel {
  padding: 2rem;
}

.hero h1 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(2.7rem, 4.5vw, 5rem);
  line-height: 0.98;
  max-width: 12ch;
}

.hero-text {
  max-width: 58ch;
  font-size: 1.03rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.7rem 0 2rem;
}

.btn {
  padding: 0.95rem 1.3rem;
  border: 1px solid transparent;
  font-weight: 700;
}

.btn:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #07111f;
  background: linear-gradient(135deg, var(--primary), #ffb347);
  box-shadow: 0 14px 40px var(--glow);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust-row div,
.metric-grid article {
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-row strong,
.metric-grid strong {
  display: block;
  font-size: clamp(1.7rem, 2vw, 2.4rem);
  margin-bottom: 0.3rem;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
}

.panel-primary {
  padding: 1.4rem;
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 122, 24, 0.2), rgba(103, 167, 255, 0.12)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-tag,
.role-badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #dbedff;
  font-size: 0.82rem;
}

.panel-primary h2,
.section-head h2,
.metric-copy h2,
.value-card h3,
.contact-cta h2 {
  margin: 0.85rem 0;
  line-height: 1.1;
}

.panel-grid,
.service-grid,
.metric-grid,
.leader-grid {
  display: grid;
  gap: 1rem;
}

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

.mini-card,
.service-card,
.value-card,
.leader-card {
  padding: 1.3rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.mini-card span,
.service-card h3,
.stack-cloud span,
.leader-card h3 {
  display: block;
}

.mini-card span,
.metric-copy strong,
.section-head .eyebrow {
  color: var(--secondary);
}

.brands-strip,
.services,
.stack,
.team {
  padding: 1.7rem;
}

.brands-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
}

.chip-row,
.stack-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.chip-row span,
.stack-cloud span {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
}

.accent-a::before { background: linear-gradient(90deg, #ff7a18, #ffd166); }
.accent-b::before { background: linear-gradient(90deg, #4fe0c8, #7ce8f0); }
.accent-c::before { background: linear-gradient(90deg, #67a7ff, #7e8bff); }
.accent-d::before { background: linear-gradient(90deg, #ffa94d, #ff7a18); }
.accent-e::before { background: linear-gradient(90deg, #57cc99, #4fe0c8); }
.accent-f::before { background: linear-gradient(90deg, #8ec5ff, #67a7ff); }

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  padding: 1.7rem;
}

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

.stack-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: start;
}

.stack-cloud {
  min-height: 100%;
}

.value-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.leader-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.contact-cta {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
}

.contact-cta h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.section-head h2,
.metric-copy h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

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

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

.footer {
  padding: 1.8rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  gap: 1.4rem;
}

.footer h3 {
  margin-top: 0;
  margin-bottom: 0.9rem;
}

.footer p,
.footer a {
  color: var(--muted);
}

.footer-brand p {
  max-width: 54ch;
  line-height: 1.7;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-contact p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .metrics,
  .stack-layout,
  .leader-grid,
  .footer,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .brands-strip,
  .contact-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 1rem, 1180px);
  }

  .topbar {
    flex-wrap: wrap;
    border-radius: 22px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.8rem;
  }

  .nav.open {
    display: flex;
  }

  .hero-copy,
  .hero-panel,
  .services,
  .stack,
  .team,
  .metrics,
  .contact-cta,
  .brands-strip {
    padding: 1.25rem;
  }

  .trust-row,
  .panel-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.2rem, 11vw, 3.3rem);
  }
}
