* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-deeper: #1e3a8a;
  --blue-light: #3b82f6;
  --blue-bright: #60a5fa;
  --white: #ffffff;
  --off-white: #e8e8f0;
  --gray: #0f0f1a;
  --text: #e8e8f0;
  --muted: #6b6b88;
  --black: #050508;
  --dark: #0a0a0f;
  --mid: #0f0f1a;
  --card: #12121e;
  --border: rgba(255, 255, 255, 0.06);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--black);
  overflow-x: hidden;
}

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

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 3rem;
  background: rgba(5, 5, 8, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: padding 0.4s;
}

nav.scrolled {
  padding: 0.9rem 3rem;
}

.logo {
  display: flex;
  align-items: center;
  line-height: 0;
}

.logo-box {
  width: 152px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.logo-box img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.2vw, 1.35rem);
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.6rem 0.95rem;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: all 0.3s;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.3);
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  min-height: 46px;
  transition: all 0.3s;
}

.btn-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.nav-cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  background: var(--blue);
  color: var(--white);
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.nav-cta:hover::before {
  left: 100%;
}

.nav-cta:hover,
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
}

.btn-primary,
.btn-secondary {
  padding: 0 24px;
}

.btn-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.btn-secondary:hover {
  border-color: rgba(37, 99, 235, 0.35);
  background: rgba(37, 99, 235, 0.1);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

.mobile-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 320px;
  max-width: 85%;
  height: 100vh;
  background: rgba(5, 5, 8, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 3.5rem 2.5rem 2rem;
  z-index: 1001;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  visibility: hidden;
  display: block;
}

.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: 1.6rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.mobile-menu-close:hover {
  opacity: 1;
}

.mobile-menu ul {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  list-style: none;
  overflow-y: auto;
  padding: 0;
  margin: 0;
}

.mobile-menu li {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu li:last-child {
  border-bottom: none;
}

.mobile-menu a {
  display: block;
  padding: 1.4rem 0;
  color: #e8e8f0;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.3s;
  text-align: center;
}

.mobile-menu a:hover {
  color: var(--blue-light);
  background: rgba(255, 255, 255, 0.03);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 3rem 2rem;
  background:
    radial-gradient(circle at 78% 22%, rgba(37, 99, 235, 0.2), transparent 32%),
    linear-gradient(180deg, var(--dark), var(--black));
}

.hero-inner,
.section-inner {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0 auto;
}

.section-inner {
  text-align: center;
}

.breadcrumb,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  background: var(--blue);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.breadcrumb::before,
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--white);
}

h1 {
  max-width: 900px;
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
  margin: 0 auto 1.6rem;
  overflow-wrap: anywhere;
}

.hero-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.8;
  margin: 0 auto 2.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

section {
  padding: 7rem 3rem;
}

section:nth-of-type(odd) {
  background: var(--black);
}

section:nth-of-type(even) {
  background: var(--dark);
}

.split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.42fr);
  column-gap: clamp(2rem, 5vw, 5rem);
  row-gap: 1rem;
  align-items: center;
  text-align: center;
}

.split::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -2.6rem;
  width: min(720px, 70vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.55), transparent);
}

.split > div:first-child {
  min-width: 0;
  display: contents;
}

.split > div:first-child > .eyebrow,
.split > div:first-child > h2,
.split > div:first-child > .lead {
  grid-column: 1 / -1;
  justify-self: center;
  text-align: center;
}

.split > div:first-child .eyebrow {
  animation: detailFloatIn 0.7s ease both;
}

h2 {
  max-width: 900px;
  color: var(--white);
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
  margin: 0 auto 1rem;
  overflow-wrap: anywhere;
}

.split h2 {
  text-wrap: balance;
  animation: detailFloatIn 0.8s 0.08s ease both;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.85;
  margin: 0 auto;
}

.split .lead {
  animation: detailFloatIn 0.8s 0.16s ease both;
}

.feature-grid {
  grid-column: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
  margin-top: 2.5rem;
  counter-reset: service-feature;
}

.feature,
.panel,
.process-step {
  position: relative;
  background: var(--mid);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 2rem;
  overflow: hidden;
  text-align: center;
}

.feature {
  counter-increment: service-feature;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.35rem, 2.2vw, 2rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    var(--mid);
  transform: translateY(18px);
  opacity: 0;
  animation: detailCardIn 0.72s ease forwards;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.feature:nth-child(1) {
  animation-delay: 0.22s;
}

.feature:nth-child(2) {
  animation-delay: 0.3s;
}

.feature:nth-child(3) {
  animation-delay: 0.38s;
}

.feature:nth-child(4) {
  animation-delay: 0.46s;
}

.feature::before {
  content: '0' counter(service-feature);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 1.15rem;
  border-radius: 14px;
  color: var(--blue-bright);
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.22);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.feature::after {
  content: '';
  position: absolute;
  inset: auto 22px 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-bright), transparent);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.feature:hover {
  transform: translateY(-8px);
  border-color: rgba(96, 165, 250, 0.28);
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.1), rgba(255, 255, 255, 0.018)),
    var(--mid);
  box-shadow: 0 22px 60px rgba(37, 99, 235, 0.14);
}

.feature:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.feature h3,
.panel h3,
.process-step h3 {
  color: var(--white);
  font-size: clamp(1.05rem, 1.3vw, 1.22rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.panel h3 {
  align-self: center;
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.35rem;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  color: var(--white);
  font-size: clamp(0.92rem, 1.1vw, 1.02rem);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.38), rgba(96, 165, 250, 0.16)),
    rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(147, 197, 253, 0.26);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.22);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature p,
.panel p,
.panel li,
.process-step p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.panel {
  position: relative;
  top: auto;
  grid-column: 2;
  grid-row: 4;
  align-self: end;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 3vw, 2.8rem);
  background:
    linear-gradient(145deg, rgba(37, 99, 235, 0.16), rgba(15, 23, 42, 0.98) 56%),
    var(--mid);
  border-color: rgba(96, 165, 250, 0.26);
  box-shadow: 0 24px 70px rgba(37, 99, 235, 0.16);
  animation: detailPanelIn 0.8s 0.28s ease both;
}

.panel::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 18px;
  pointer-events: none;
}

.panel ul {
  display: grid;
  gap: 14px;
  margin-top: 1.4rem;
  padding-left: 0;
  list-style: none;
  text-align: left;
}

.panel li {
  position: relative;
  padding: 0.95rem 0.95rem 0.95rem 2.55rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 14px;
}

.panel li::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 1.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 0 5px rgba(96, 165, 250, 0.12);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
  text-align: center;
}

.step-num {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(37, 99, 235, 0.35);
  font-weight: 900;
  margin: 0 auto 1.2rem;
}

.cta-band {
  background: linear-gradient(140deg, #0a0f1e 0%, #0f2057 50%, #1d4ed8 100%);
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  text-align: center;
  flex-direction: column;
}

.cta-box .eyebrow {
  background: rgba(255, 255, 255, 0.12);
}

@keyframes detailFloatIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

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

@keyframes detailPanelIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .split > div:first-child .eyebrow,
  .split h2,
  .split .lead,
  .feature,
  .panel {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 56px 6% 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}

.footer-logo {
  display: flex;
  align-items: center;
  line-height: 0;
  margin-bottom: 14px;
}

.footer-logo-box {
  width: 152px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.footer-logo-box img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.footer-about {
  max-width: 260px;
  font-size: 13px;
  line-height: 1.8;
}

.footer-col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
}

.footer-links a {
  color: #94a3b8;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #60a5fa;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  font-size: 12px;
}

@media (max-width: 1024px) {
  .split {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .panel {
    grid-column: 1;
  }

  .panel {
    position: relative;
    top: auto;
    grid-row: auto;
    min-height: auto;
  }

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

@media (max-width: 800px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  nav {
    padding: 1rem 5%;
  }

  nav.scrolled {
    padding: 0.8rem 5%;
  }

  nav .nav-links,
  nav .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-left: auto;
  }

  .mobile-menu {
    background: rgba(5, 5, 8, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .logo-box {
    width: 152px;
    height: 48px;
  }

  .footer-logo-box {
    width: 128px;
    height: 40px;
  }

  .hero {
    min-height: auto;
    padding: 7rem 1.4rem 4.5rem;
  }

  .hero-inner,
  .section-inner {
    width: calc(100vw - 2.8rem);
    max-width: calc(100vw - 2.8rem);
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2rem, 8.4vw, 2.25rem);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(1.75rem, 7.8vw, 2.2rem);
    line-height: 1.16;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-actions a {
    width: 100%;
    max-width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  section {
    padding: 4.5rem 1.4rem;
  }

  .split,
  .feature-grid,
  .process,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split::before {
    width: calc(100vw - 3rem);
  }

  .cta-box {
    align-items: center;
    flex-direction: column;
  }

  .cta-box .btn-primary {
    align-self: center;
    text-align: center;
  }

  .feature,
  .panel,
  .process-step {
    border-radius: 18px;
    padding: 1.5rem;
  }
}
