:root {
  --bg: #000000;
  --bg-soft: #0d0d0d;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --card: rgba(17, 17, 17, 0.9);
  --card-border: rgba(255, 255, 255, 0.16);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f5f5f5;
  --muted: #b5b5b5;
  --brand: #ffffff;
  --brand-2: #d9d9d9;
  --brand-3: #8b8b8b;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 20%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.08), transparent 20%),
    #000;
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  pointer-events: none;
  z-index: 0;
}

.ambient,
.grid-overlay {
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

.ambient {
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
  background: rgba(255, 255, 255, 0.16);
  animation: float 18s ease-in-out infinite alternate;
}

.ambient-one {
  top: -8rem;
  left: -6rem;
}

.ambient-two {
  right: -8rem;
  top: 16rem;
  animation-delay: 1.5s;
}

.ambient-three {
  left: 50%;
  bottom: -10rem;
  width: 26rem;
  height: 26rem;
  transform: translateX(-50%);
  animation-delay: 3s;
}

.grid-overlay {
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at center, black 20%, transparent 90%);
  opacity: 0.35;
}

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

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

button {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(0, 0, 0, 0.64);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  color: #000;
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: none;
}

.brand-text {
  font-size: 1.05rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta {
  padding: 0.9rem 1.3rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text);
}

.button {
  padding: 1rem 1.6rem;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.primary {
  background: #fff;
  color: #000;
  box-shadow: none;
}

.secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.hero {
  position: relative;
  z-index: 1;
  padding: 72px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  margin: 0 0 18px;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.8);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  max-width: 620px;
  text-shadow: 0 0 22px rgba(255, 255, 255, 0.14);
  animation: revealUp 0.9s ease both;
}

.lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  animation: revealUp 1.1s ease 0.1s both;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: revealUp 1.2s ease 0.2s both;
}

.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 0;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
  animation: revealUp 1.4s ease 0.3s both;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-trust li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: none;
}

.hero-panel {
  position: relative;
  display: grid;
  gap: 18px;
  animation: floatPanel 6s ease-in-out infinite alternate;
}

.panel-card {
  background: #101010;
  border: 1px solid var(--card-border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 24px 22px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.panel-card:hover,
.metric-box:hover,
.info-card:hover,
.feature-item:hover,
.timeline-item:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 28px 60px rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.top-card {
  min-height: 200px;
}

.stack-label {
  display: inline-block;
  color: var(--brand);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.panel-card strong {
  display: block;
  margin-top: 14px;
  font-size: clamp(1.9rem, 2vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.panel-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 14px 0 0;
}

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

.metric-box {
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 22px 18px;
  display: grid;
  gap: 8px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.metric-box.accent {
  background: #171717;
  border-color: rgba(255, 255, 255, 0.2);
}

.metric-box strong {
  font-size: clamp(1.8rem, 2vw, 2.3rem);
  letter-spacing: -0.05em;
}

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

.bottom-card {
  display: grid;
  gap: 14px;
}

.mini-list {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: none;
}

.logo-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.strip-wrap {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 20px 0;
  color: rgba(237, 243, 255, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
  overflow: hidden;
}

.strip-wrap span {
  display: inline-block;
  animation: marquee 12s linear infinite alternate;
}

.section {
  padding: 104px 0;
}

.alt-section {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-heading h2,
.two-col h2,
.cta-wrap h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.06em;
  line-height: 1.04;
}

.narrow {
  max-width: 640px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.info-card {
  background: rgba(17, 17, 17, 0.9);
  border: 1px solid var(--card-border);
  border-radius: 26px;
  padding: 24px 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #000;
  font-weight: 700;
}

.info-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.info-card p,
.feature-item p,
.timeline-item p,
.site-footer p,
.contact-box a,
.office-box address {
  color: var(--muted);
  line-height: 1.7;
}

.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.feature-stack {
  display: grid;
  gap: 18px;
}

.feature-item {
  padding: 24px 22px;
  background: rgba(10, 19, 31, 0.55);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.feature-item h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: start;
  gap: 18px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(12, 22, 33, 0.62);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.timeline-item span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #fff;
  color: #000;
  font-weight: 800;
}

.timeline-item h3 {
  margin: 0 0 10px;
  font-size: 1.32rem;
}

.cta-band {
  padding: 34px 0 88px;
}

.cta-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: #101010;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.light-button {
  background: #fff;
  color: #000;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(6, 13, 21, 0.9);
  padding: 50px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr 0.9fr;
  gap: 30px;
  align-items: start;
}

.office-box address {
  font-style: normal;
}

.footer-brand {
  margin-bottom: 18px;
}

.contact-box {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.contact-box h3 {
  margin: 0;
  font-size: 1.1rem;
}

.bottom-bar {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: rgba(237, 243, 255, 0.7);
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  border-radius: 2px;
}

@keyframes float {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(2rem, 2rem, 0) scale(1.08);
  }
  100% {
    transform: translate3d(-1rem, 3rem, 0) scale(0.96);
  }
}

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

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

@keyframes marquee {
  0% {
    transform: translateX(0);
    opacity: 0.65;
  }
  100% {
    transform: translateX(10px);
    opacity: 1;
  }
}

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

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

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.4s; }
.delay-6 { transition-delay: 0.48s; }

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    background: rgba(8, 17, 31, 0.96);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px 16px;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .hero-grid,
  .two-col,
  .footer-grid,
  .cards-grid,
  .cta-wrap {
    grid-template-columns: 1fr;
    display: grid;
  }

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

  .cta-wrap {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 52px;
  }

  .hero-copy h1 {
    font-size: clamp(2.4rem, 13vw, 3.4rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-item span {
    width: 46px;
    height: 46px;
  }
}
