:root {
  --bg: #f2f5fa;
  --bg-soft: #e9eef7;
  --surface: #ffffff;
  --surface-dark: #0f1825;
  --text: #0f2033;
  --muted: #52657a;
  --brand: #0057a4;
  --brand-dark: #0a2342;
  --accent: #a100ff;
  --teal: #0f9c90;
  --line: #d6e0ed;
  --shadow: 0 18px 48px rgba(15, 31, 53, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.7;
  background:
    radial-gradient(circle at 110% -10%, #d5e4ff 0, #f2f5fa 38%),
    linear-gradient(180deg, #f2f5fa 0%, #edf3fb 100%);
}

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

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

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

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

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.88rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Sora", "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--brand) 0%, var(--accent) 55%, var(--teal) 100%);
  box-shadow: 0 10px 22px rgba(71, 0, 132, 0.25);
}

.menu-toggle {
  display: none;
  font: inherit;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.4rem 0.7rem;
}

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

.nav-menu a {
  padding: 0.42rem 0.7rem;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: #e5ebf6;
  color: var(--text);
}

.lang-switch {
  display: inline-flex;
  gap: 0.3rem;
  margin-left: 0.6rem;
}

.lang-switch a {
  border-radius: 999px;
  border: 1px solid #c0d1e6;
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.22rem 0.54rem;
}

.lang-switch a.active {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}

main {
  padding: 2.8rem 0 4rem;
}

.home-main {
  padding: 0 0 4rem;
}

.video-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  border-bottom: 1px solid #2b3c57;
  display: flex;
  align-items: flex-end;
}

.video-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(108deg, rgba(8, 15, 28, 0.66) 0%, rgba(10, 21, 37, 0.56) 42%, rgba(12, 25, 42, 0.36) 100%),
    linear-gradient(180deg, rgba(8, 16, 28, 0.08) 0%, rgba(7, 14, 25, 0.58) 84%);
  z-index: 1;
}

.video-hero::after {
  content: "";
  position: absolute;
  inset: -18% -10%;
  background:
    radial-gradient(circle at 20% 24%, rgba(0, 148, 255, 0.18) 0%, rgba(0, 148, 255, 0) 48%),
    radial-gradient(circle at 76% 36%, rgba(140, 0, 255, 0.2) 0%, rgba(140, 0, 255, 0) 46%),
    radial-gradient(circle at 44% 78%, rgba(15, 156, 144, 0.18) 0%, rgba(15, 156, 144, 0) 52%);
  mix-blend-mode: screen;
  opacity: 0.58;
  animation: driftGlow 14s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}

.video-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(6rem, 18vh, 10rem) 0 3.8rem;
}

.video-hero-card {
  position: relative;
  overflow: hidden;
  width: min(760px, 100%);
  border-radius: 22px;
  border: 1px solid #4f6787;
  background: rgba(8, 18, 32, 0.78);
  backdrop-filter: blur(9px) saturate(112%);
  padding: 1.6rem;
  color: #edf5ff;
  box-shadow: 0 22px 60px rgba(3, 11, 22, 0.48);
}

.video-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 44%);
  pointer-events: none;
}

.video-hero-card h1 {
  color: #f4f8ff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.42);
}

.video-hero-card .lead {
  color: #e4edf8;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.34);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.2rem;
}

.page-hero-with-video {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 100svh;
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  border-radius: 0;
  border-bottom: 1px solid #2b3c57;
  background: #0e1e34;
  display: flex;
  align-items: flex-end;
  grid-template-columns: 1fr;
  gap: 0;
}

.page-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-hero-with-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(108deg, rgba(8, 15, 28, 0.68) 0%, rgba(10, 21, 37, 0.56) 42%, rgba(12, 25, 42, 0.36) 100%),
    linear-gradient(180deg, rgba(8, 16, 28, 0.08) 0%, rgba(7, 14, 25, 0.6) 86%);
  z-index: 1;
}

.page-hero-with-video::after {
  content: "";
  position: absolute;
  inset: -18% -10%;
  background:
    radial-gradient(circle at 20% 24%, rgba(0, 148, 255, 0.18) 0%, rgba(0, 148, 255, 0) 48%),
    radial-gradient(circle at 76% 36%, rgba(140, 0, 255, 0.2) 0%, rgba(140, 0, 255, 0) 46%),
    radial-gradient(circle at 44% 78%, rgba(15, 156, 144, 0.18) 0%, rgba(15, 156, 144, 0) 52%);
  mix-blend-mode: screen;
  opacity: 0.52;
  animation: driftGlow 14s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}

.page-hero-with-video > * {
  position: relative;
  z-index: 2;
}

.page-hero-with-video .panel.hero-copy {
  background: rgba(8, 18, 32, 0.8);
  backdrop-filter: blur(9px) saturate(112%);
  border-color: #4f6787;
  box-shadow: 0 22px 60px rgba(3, 11, 22, 0.48);
  width: min(760px, 100%);
  margin: 0 max(4vw, calc((100vw - 1160px) / 2)) 3.8rem;
}

.page-hero-with-video .hero-visual {
  display: none;
}

.hero-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid #263249;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(8, 18, 33, 0.62) 0%, rgba(9, 30, 55, 0.14) 62%);
}

.hero-visual .overlay {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  color: #ebf2fc;
  z-index: 2;
}

.panel {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1.55rem;
  box-shadow: var(--shadow);
}

.panel.hero-copy {
  background:
    linear-gradient(155deg, #0e1724 0%, #11273f 52%, #14395b 100%);
  border: 1px solid #24344d;
  color: #eff5fd;
}

.panel.hero-copy .lead,
.panel.hero-copy .muted,
.panel.hero-copy .pill {
  color: #d7e3f1;
}

.pill {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid #bfd3ea;
  background: #ecf5ff;
  color: var(--brand-dark);
  font-size: 0.77rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
}

.panel.hero-copy .pill {
  border-color: #4d6486;
  background: rgba(255, 255, 255, 0.08);
}

h1,
h2,
h3 {
  font-family: "Sora", "Plus Jakarta Sans", sans-serif;
  line-height: 1.2;
}

h1 {
  margin: 0.7rem 0 1rem;
  font-size: clamp(2rem, 3.7vw, 3.1rem);
}

h2 {
  margin: 0.45rem 0 1rem;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.12rem;
}

.lead,
.muted {
  color: var(--muted);
}

.btn-row {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  font-weight: 700;
  border: 0;
  padding: 0.74rem 1.08rem;
}

.btn.primary {
  color: #fff;
  background: linear-gradient(125deg, #1162ad 0%, #0f4f9d 45%, #8f00de 100%);
  box-shadow: 0 12px 30px rgba(69, 0, 116, 0.28);
}

.btn.secondary {
  color: var(--brand-dark);
  background: #fff;
  border: 1px solid #bfd1e7;
}

.panel.hero-copy .btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #e8f1fc;
  border-color: #5e7594;
}

.badge-row {
  margin-top: 1rem;
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  padding: 0.26rem 0.58rem;
  border-radius: 999px;
  background: #edf3fc;
  border: 1px solid #d0dceb;
  color: #334d69;
  font-size: 0.8rem;
  font-weight: 600;
}

.panel.hero-copy .badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: #5d7392;
  color: #dce9f6;
}

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

.metric {
  border-radius: 13px;
  border: 1px solid #d5e3f3;
  background: linear-gradient(180deg, #f8fbff 0%, #eaf2fc 100%);
  padding: 0.82rem;
  color: #3f5570;
}

.metric strong {
  display: block;
  color: #122942;
  font-family: "Sora", sans-serif;
  font-size: 1.34rem;
  margin-bottom: 0.15rem;
}

.section {
  margin-top: 3.3rem;
}

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

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.76rem;
  color: #5f7591;
  font-weight: 700;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.card {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 1.1rem;
  box-shadow: 0 8px 24px rgba(13, 35, 60, 0.08);
}

.card p,
.card li {
  color: var(--muted);
}

.card-image {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #c6d5e7;
  margin-bottom: 0.7rem;
}

.card-image img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.list {
  margin: 0;
  padding-left: 1rem;
}

.logo-wall {
  border-radius: 16px;
  border: 1px solid #d5dfed;
  background: #f8fbff;
  padding: 1rem;
}

.logo-wall ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
}

.logo-chip {
  border-radius: 10px;
  border: 1px dashed #bfd0e6;
  padding: 0.52rem;
  text-align: center;
  font-size: 0.85rem;
  color: #4d637d;
  font-weight: 700;
  background: #fff;
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.client-logo-card {
  border-radius: 14px;
  border: 1px solid #d3dfea;
  background: #fff;
  padding: 1rem 0.9rem;
  min-height: 138px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(13, 35, 60, 0.08);
}

.client-logo-card img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.client-logo-card span {
  color: #425a75;
  font-size: 0.85rem;
  font-weight: 700;
}

.logo-disclaimer {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: #607791;
}

.longform-card {
  padding: 1.35rem;
}

.longform-card p {
  margin: 0 0 0.9rem;
}

.image-banner {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #2a3954;
  position: relative;
  min-height: 210px;
  box-shadow: var(--shadow);
}

.image-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 20, 35, 0.68) 0%, rgba(12, 32, 57, 0.2) 100%);
}

.image-banner .overlay {
  position: absolute;
  inset: auto 1.2rem 1.1rem 1.2rem;
  color: #e6effb;
}

.callout {
  margin-top: 3.2rem;
  border-radius: 22px;
  padding: 2rem;
  color: #ddeaf8;
  background: linear-gradient(155deg, #0b223b 0%, #0d3d68 48%, #7f00cb 100%);
  box-shadow: var(--shadow);
}

.callout p {
  color: #c8d8e9;
}

.callout .btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #f1f6fc;
  border-color: #99afcd;
}

.timeline {
  margin: 0;
  padding-left: 1rem;
  border-left: 2px solid #c0d4eb;
}

.timeline li {
  margin-bottom: 0.7rem;
}

footer.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  padding-top: 1.3rem;
  color: var(--muted);
  font-size: 0.92rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

footer.site-footer nav {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

form {
  display: grid;
  gap: 0.72rem;
}

input,
select,
textarea {
  font: inherit;
  border-radius: 10px;
  border: 1px solid #c3d3e7;
  background: #fff;
  padding: 0.72rem 0.8rem;
  width: 100%;
}

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

.fade {
  opacity: 0;
  transform: translateY(10px);
  animation: rise 0.62s ease forwards;
}

.fade:nth-child(2) {
  animation-delay: 0.08s;
}

.fade:nth-child(3) {
  animation-delay: 0.16s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes driftGlow {
  0% {
    transform: translate3d(-1.5%, -1.2%, 0) scale(1);
    opacity: 0.58;
  }
  50% {
    transform: translate3d(1.8%, 1.2%, 0) scale(1.03);
    opacity: 0.76;
  }
  100% {
    transform: translate3d(-0.8%, 2%, 0) scale(1.01);
    opacity: 0.64;
  }
}

@media (max-width: 1020px) {
  .home-main {
    padding-top: 0;
  }

  .hero,
  .grid.cols-2,
  .grid.cols-3,
  .stats,
  .logo-wall ul,
  .client-logo-grid {
    grid-template-columns: 1fr;
  }

  .video-hero {
    min-height: 100svh;
  }

  .video-hero::after {
    opacity: 0.5;
  }

  .video-hero-card {
    background: rgba(8, 18, 32, 0.82);
    border-color: #5b7496;
    padding: 1.3rem;
  }

  .page-hero-with-video {
    min-height: 100svh;
    padding: 0;
  }

  .page-hero-with-video .panel.hero-copy {
    margin: 0 4.4vw 2.2rem;
    padding: 1.3rem;
  }

  .hero-visual {
    min-height: 300px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 68px;
    right: 4vw;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
    min-width: 252px;
    padding: 0.7rem;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .lang-switch {
    margin-left: 0;
  }

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