:root {
  --bg: #070b1f;
  --bg-2: #0d1230;
  --panel: rgba(13, 18, 48, 0.72);
  --panel-strong: rgba(18, 24, 61, 0.95);
  --text: #f5f7ff;
  --muted: #a9b2d1;
  --line: rgba(255, 255, 255, 0.1);
  --core: #161847;
  --core-bright: #2930a3;
  --core-glow: rgba(41, 48, 163, 0.34);
  --cyan: #48d6ff;
  --max-width: 1180px;
  --radius: 24px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(41, 48, 163, 0.28), transparent 30%),
    radial-gradient(circle at bottom right, rgba(72, 214, 255, 0.12), transparent 22%),
    linear-gradient(180deg, #060913 0%, #0b1028 55%, #060913 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(255,255,255,0.5), transparent 85%);
  pointer-events: none;
  z-index: -2;
}

.site-shell {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 25% 15%, rgba(41, 48, 163, 0.18), transparent 18%);
  pointer-events: none;
  z-index: -3;
}

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

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

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 700;
  color: #8bdcff;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: rgba(139, 220, 255, 0.8);
}

h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

h3 {
  font-size: 1.42rem;
}

p {
  color: var(--muted);
}

.lead {
  font-size: 1.08rem;
  max-width: 660px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7, 11, 31, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-text {
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  position: relative;
  color: #d7ddf6;
  transition: color 0.25s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, var(--cyan), var(--core-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 124px;
}

.hero-gradient {
  position: absolute;
  border-radius: 999px;
  filter: blur(20px);
  pointer-events: none;
}

.hero-gradient-a {
  width: 420px;
  height: 420px;
  top: 40px;
  right: -80px;
  background: rgba(41, 48, 163, 0.28);
  animation: pulseGlow 8s ease-in-out infinite;
}

.hero-gradient-b {
  width: 260px;
  height: 260px;
  left: -60px;
  bottom: 40px;
  background: rgba(72, 214, 255, 0.12);
  animation: pulseGlow 10s ease-in-out infinite reverse;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  max-width: 760px;
}

.hero-copy .lead {
  margin-top: 20px;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-contact-strip {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: #d5dcff;
}

.hero-contact-strip span {
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--core-bright), #1d226f);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 30px rgba(41, 48, 163, 0.34);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 16px 36px rgba(41, 48, 163, 0.46);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(72, 214, 255, 0.45);
  box-shadow: 0 10px 24px rgba(72, 214, 255, 0.08);
}

.hero-panel {
  position: relative;
}

.panel-window,
.service-card,
.process-item,
.about-panel,
.cta-box,
.stat-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.panel-window {
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

.panel-window::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(72, 214, 255, 0.25), transparent 60%);
  pointer-events: none;
}

.panel-topbar {
  display: flex;
  gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.panel-content {
  padding: 28px;
}

.panel-chip {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(72, 214, 255, 0.1);
  border: 1px solid rgba(72, 214, 255, 0.22);
  color: #aff0ff;
  font-size: 0.8rem;
  margin-bottom: 18px;
}

.metric-card {
  border-radius: 22px;
  padding: 24px;
  background: var(--panel-strong);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-card small {
  display: block;
  color: #9eb3ff;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  margin-bottom: 10px;
}

.metric-card strong {
  display: block;
  font-size: clamp(1.4rem, 2vw, 2.8rem);
  margin-bottom: 8px;
}

.metric-primary {
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(22, 24, 71, 0.98), rgba(28, 36, 96, 0.96));
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.floating-card {
  animation: floatCard 6s ease-in-out infinite;
}

.delayed-float {
  animation: floatCard 7s ease-in-out infinite 0.6s;
}

.delayed-float-2 {
  animation: floatCard 7.4s ease-in-out infinite 1.2s;
}

.trust-bar {
  padding: 10px 0 0;
}

.trust-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.trust-track span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
  padding: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #dbe4ff;
  font-size: 0.92rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading p {
  margin-top: 16px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  border-radius: var(--radius);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(72,214,255,0.08), transparent 30%);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(72, 214, 255, 0.3);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(72, 214, 255, 0.08);
}

.service-card:hover::before,
.service-card:focus-within::before {
  opacity: 1;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(72,214,255,0.22), rgba(41,48,163,0.58));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.service-card p {
  margin-top: 14px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.about-copy p + p {
  margin-top: 14px;
}

.about-panel {
  border-radius: var(--radius);
  padding: 26px;
  display: grid;
  gap: 16px;
}

.stat-card {
  border-radius: 20px;
  padding: 24px;
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-item {
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.process-item:hover {
  transform: translateY(-6px);
  border-color: rgba(72, 214, 255, 0.25);
}

.process-item span {
  display: inline-flex;
  margin-bottom: 18px;
  color: #8fdfff;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  font-weight: 800;
}

.process-item p {
  margin-top: 14px;
}

.cta-box {
  border-radius: 30px;
  padding: 54px 34px;
  text-align: center;
}

.cta-box p {
  max-width: 760px;
  margin: 16px auto 0;
}

.site-footer {
  padding-top: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr 0.72fr;
  gap: 28px;
  padding-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  margin-top: 18px;
  max-width: 430px;
}

.footer-contact h3,
.footer-links h3 {
  margin-bottom: 18px;
}

.footer-contact ul,
.footer-links ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer-contact a:hover,
.footer-links a:hover {
  color: #8fdfff;
}

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

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

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; }
}

@media (max-width: 1100px) {
  .hero-grid,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-track,
  .service-grid,
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .section {
    padding: 78px 0;
  }

  .hero {
    padding-top: 96px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    background: rgba(13, 18, 48, 0.97);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 22px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .site-nav.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .trust-track,
  .service-grid,
  .process-list,
  .mini-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-contact-strip {
    gap: 10px;
  }

  .hero-contact-strip span {
    display: none;
  }

  .btn {
    width: 100%;
  }
}
