:root {
  --navy: #06152f;
  --blue: #1478ff;
  --blue-2: #065de8;
  --cyan: #24c8ff;
  --white: #ffffff;
  --text: #f8fbff;
  --muted: rgba(255, 255, 255, 0.74);
  --line: rgba(255, 255, 255, 0.14);
  --dark-text: #06152f;
  --soft: #f6faff;
  --shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--navy);
  color: var(--text);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 10000;
  background: white;
  color: var(--navy);
  padding: 12px 16px;
  border-radius: 12px;
  transition: top .2s ease;
}

.skip-link:focus { top: 16px; }

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #06152f;
  transition: opacity .35s ease, visibility .35s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffffff, #dceeff);
  color: #06152f;
  font-size: 44px;
  font-weight: 950;
  letter-spacing: -6px;
  box-shadow: 0 0 44px rgba(20, 120, 255, .45);
  animation: pulse 1.2s ease-in-out infinite;
}

.site-header {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  transition: padding .2s ease, background .2s ease, border .2s ease, box-shadow .2s ease;
}

.site-header.scrolled {
  top: 14px;
  padding: 13px 18px;
  border-radius: 24px;
  background: rgba(6, 21, 47, .78);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(0,0,0,.22);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 850;
  letter-spacing: 7px;
  text-transform: uppercase;
}

.brand-mark {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffffff, #e6f4ff);
  color: #082352;
  font-size: 34px;
  font-weight: 950;
  letter-spacing: -5px;
  box-shadow: 0 18px 46px rgba(20,120,255,.28);
}

.brand small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: rgba(255,255,255,.72);
  letter-spacing: 9px;
  font-weight: 500;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: rgba(255,255,255,.8);
  font-size: 15px;
}

.desktop-nav a { transition: color .2s ease; }

.desktop-nav a:hover,
.desktop-nav a.active { color: #fff; }

.nav-cta {
  padding: 12px 19px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  color: white;
  background: rgba(255,255,255,.08);
  cursor: pointer;
  place-items: center;
  gap: 4px;
  padding: 12px;
}

.menu-button span {
  width: 20px;
  height: 2px;
  background: white;
  display: block;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 92px;
  left: 24px;
  right: 24px;
  z-index: 30;
  padding: 18px;
  border-radius: 22px;
  background: rgba(6, 21, 47, .96);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.mobile-nav.open { display: grid; gap: 8px; }

.mobile-nav a {
  padding: 14px 12px;
  border-radius: 14px;
  color: rgba(255,255,255,.86);
}

.mobile-nav a:hover { background: rgba(255,255,255,.08); color: white; }

.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 44%, rgba(20, 120, 255, 0.45), transparent 28%),
    radial-gradient(circle at 20% 92%, rgba(36, 200, 255, 0.2), transparent 35%),
    linear-gradient(135deg, #050d20 0%, #071a3d 48%, #0a2b66 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 76%, transparent);
  opacity: 0.42;
  pointer-events: none;
}

.waves {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -7%;
  height: 36%;
  opacity: .7;
  background:
    repeating-radial-gradient(ellipse at center, rgba(36,200,255,.34) 0 1px, transparent 2px 16px),
    linear-gradient(180deg, transparent, rgba(0, 102, 255, .18));
  transform: perspective(760px) rotateX(62deg);
  filter: blur(.2px);
  pointer-events: none;
}

.glow-line {
  position: absolute;
  bottom: 13%;
  left: -10%;
  width: 120%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(36,200,255,.82), transparent);
  box-shadow: 0 0 24px rgba(36,200,255,.9);
  transform: rotate(-2deg);
  opacity: .68;
  pointer-events: none;
}

.hero-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 54px;
  padding: 132px 0 82px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #65caff;
  font-weight: 800;
  letter-spacing: 2.4px;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

h1 {
  font-size: clamp(43px, 6vw, 80px);
  line-height: .99;
  letter-spacing: -3px;
  max-width: 760px;
  margin-bottom: 26px;
}

h1 span {
  display: block;
  color: var(--blue);
  text-shadow: 0 0 30px rgba(20, 120, 255, .32);
}

.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
  max-width: 640px;
  margin-bottom: 34px;
}

.actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  padding: 16px 24px;
  border-radius: 14px;
  font-weight: 850;
  font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #1687ff, #0751db);
  color: white;
  box-shadow: 0 18px 38px rgba(20,120,255,.28);
}

.btn-secondary {
  background: rgba(255,255,255,.08);
  color: white;
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
}

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

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  max-width: 760px;
}

.feature {
  padding: 22px 16px 0 0;
  display: flex;
  gap: 12px;
  align-items: center;
  color: rgba(255,255,255,.84);
  font-size: 14px;
  line-height: 1.35;
}

.feature-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(36,200,255,.28);
  border-radius: 10px;
  filter: drop-shadow(0 0 9px rgba(36,200,255,.45));
}

.visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  transition: transform .15s ease-out;
}

.k-giant {
  position: relative;
  width: min(470px, 82vw);
  height: 560px;
  filter: drop-shadow(0 0 55px rgba(20,120,255,.42));
  transform: perspective(900px) rotateY(-18deg) rotateX(3deg);
  animation: float 5s ease-in-out infinite;
}

.k-left, .k-right {
  position: absolute;
  top: 7%;
  bottom: 7%;
  border-radius: 10px;
}

.k-left {
  width: 32%;
  left: 15%;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(11,31,70,.92));
  border: 1px solid rgba(255,255,255,.28);
  clip-path: polygon(12% 0, 94% 0, 94% 38%, 56% 50%, 94% 62%, 94% 100%, 12% 100%, 12% 0);
  box-shadow: inset 0 0 34px rgba(36,200,255,.22);
}

.k-right {
  width: 55%;
  right: 4%;
  background: linear-gradient(135deg, #25ccff, #065de8 52%, #021b58);
  clip-path: polygon(42% 0, 100% 0, 64% 50%, 100% 100%, 42% 100%, 8% 50%);
  border: 1px solid rgba(95,213,255,.76);
  box-shadow: inset 0 0 40px rgba(255,255,255,.12), 0 0 50px rgba(20,120,255,.55);
}

.k-right::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(35deg, transparent 0 46%, rgba(255,255,255,.25) 47%, transparent 49%),
    radial-gradient(circle, rgba(255,255,255,.95) 0 2px, transparent 3px);
  background-size: 160px 160px, 92px 92px;
  opacity: .25;
}

.glass-card {
  position: absolute;
  left: 0;
  bottom: 8%;
  width: 260px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(4, 18, 47, .78);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  transform: rotate(-7deg);
}

.glass-card strong {
  display: block;
  font-size: 20px;
  margin-bottom: 6px;
}

.glass-card p {
  color: rgba(255,255,255,.66);
  font-size: 13px;
  line-height: 1.5;
}

.stats {
  position: absolute;
  right: 0;
  top: 16%;
  width: 220px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.stats div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.72);
  font-size: 13px;
}

.stats div:last-child { border-bottom: 0; }
.stats b { color: white; }

.section {
  background: var(--soft);
  color: var(--dark-text);
  padding: 92px 24px;
}

.section.alt { background: white; }

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 34px;
  align-items: start;
  margin-bottom: 36px;
}

.section .eyebrow { color: var(--blue); }

.section h2 {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -1.8px;
  line-height: 1.1;
}

.section-description {
  color: #51617a;
  font-size: 17px;
  line-height: 1.75;
  max-width: 720px;
}

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

.card, .contact-card {
  padding: 28px;
  border-radius: 26px;
  background: white;
  box-shadow: 0 16px 48px rgba(8,35,82,.08);
  border: 1px solid rgba(8,35,82,.06);
}

.soft-card { background: #f7fbff; }

.icon-box {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  margin-bottom: 18px;
  box-shadow: 0 14px 30px rgba(20,120,255,.2);
  font-weight: 900;
}

.card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.card p {
  color: #51617a;
  line-height: 1.65;
  font-size: 14.5px;
}

.about-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
  padding: 36px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 90% 20%, rgba(36,200,255,.18), transparent 30%),
    linear-gradient(135deg, #06152f, #0a2b66);
  color: white;
  overflow: hidden;
  position: relative;
}

.about-box p {
  color: rgba(255,255,255,.72);
  line-height: 1.8;
  margin-top: 16px;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.metric {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
}

.metric b {
  display: block;
  font-size: 34px;
  color: #fff;
  margin-bottom: 6px;
}

.metric span {
  color: rgba(255,255,255,.68);
  font-size: 14px;
}

.contact-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 22px;
  align-items: stretch;
}

.contact-card { height: 100%; }

.contact-text { margin-top: 12px; }

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  color: #51617a;
}

.contact-list a {
  color: #0b1f46;
  font-weight: 800;
}

.form { display: grid; gap: 14px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: #51617a;
  font-size: 14px;
  font-weight: 700;
}

input, textarea {
  width: 100%;
  border: 1px solid rgba(8,35,82,.12);
  border-radius: 16px;
  padding: 15px 16px;
  outline: none;
  color: #06152f;
  background: #f8fbff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

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

input:focus, textarea:focus {
  border-color: rgba(20,120,255,.7);
  box-shadow: 0 0 0 4px rgba(20,120,255,.12);
}

.form-note {
  color: #6b7890;
  font-size: 13px;
  line-height: 1.5;
}

.site-footer {
  padding: 30px 24px;
  background: #041126;
  color: rgba(255,255,255,.72);
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: #1478ff;
  color: white;
  cursor: pointer;
  display: none;
  box-shadow: 0 18px 34px rgba(20,120,255,.3);
}

.to-top.show { display: grid; place-items: center; }

@keyframes float {
  0%, 100% { transform: perspective(900px) rotateY(-18deg) rotateX(3deg) translateY(0); }
  50% { transform: perspective(900px) rotateY(-18deg) rotateX(3deg) translateY(-18px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(.94); opacity: .84; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .menu-button { display: grid; }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 132px;
  }

  .visual { min-height: 480px; }
  .features { grid-template-columns: repeat(2, 1fr); }

  .section-head,
  .about-box,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 600px) {
  .site-header, .hero-inner {
    width: min(100% - 30px, 1180px);
  }

  .site-header.scrolled {
    top: 10px;
    padding: 10px 12px;
  }

  .brand { letter-spacing: 4px; }
  .brand small { letter-spacing: 6px; }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  h1 {
    font-size: 42px;
    letter-spacing: -1.5px;
  }

  .lead { font-size: 16px; }

  .features,
  .form-row,
  .about-metrics {
    grid-template-columns: 1fr;
  }

  .stats, .glass-card { display: none; }

  .k-giant {
    width: 300px;
    height: 390px;
  }

  .section { padding: 70px 18px; }
}
