:root {
  --bg: #0b1324;
  --bg-2: #111c33;
  --bg-3: #172542;
  --surface: rgba(20, 31, 55, 0.9);
  --surface-strong: rgba(24, 38, 67, 0.96);
  --surface-solid: #1c2d4f;
  --surface-soft: rgba(255, 255, 255, 0.06);
  --surface-elevated: rgba(247, 250, 255, 0.96);
  --text: #f7fbff;
  --text-strong: #ffffff;
  --muted: #d8e4f7;
  --muted-2: #b8c8e6;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --accent: #76a4ff;
  --accent-2: #97bfff;
  --accent-3: #b8d3ff;
  --accent-soft: rgba(118, 164, 255, 0.18);
  --accent-soft-2: rgba(151, 191, 255, 0.2);
  --dark: #0f1727;
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.22);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 30px 90px rgba(0, 0, 0, 0.38);
  --radius-sm: 16px;
  --radius: 24px;
  --radius-lg: 30px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at 0% 0%, rgba(118, 164, 255, 0.18), transparent 28%),
    radial-gradient(circle at 100% 10%, rgba(151, 191, 255, 0.12), transparent 24%),
    radial-gradient(circle at 84% 84%, rgba(104, 194, 255, 0.08), transparent 22%),
    linear-gradient(180deg, #091121 0%, #0e1830 55%, #13203c 100%);
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.58;
}

body::before {
  width: 360px;
  height: 360px;
  top: 80px;
  left: -110px;
  background: rgba(67, 112, 255, 0.22);
}

body::after {
  width: 320px;
  height: 320px;
  right: -90px;
  top: 360px;
  background: rgba(81, 203, 238, 0.16);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.narrow {
  max-width: 760px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(8, 16, 34, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 130px;
  padding: 1rem 0;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo {
  height: clamp(100px, 14vw, 180px);
  width: auto;
  object-fit: contain;
  animation: logoEntrance 0.8s ease both;
  transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.brand:hover .brand-logo {
  transform: translateY(-1px) scale(1.03);
  filter: drop-shadow(0 0 14px rgba(67, 112, 255, 0.5));
}

@keyframes logoEntrance {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.brand-main {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.brand-sub,
.footer-sub {
  display: block;
  font-size: 0.82rem;
  text-transform: lowercase;
  color: var(--muted-2);
  margin-top: 0.1rem;
  line-height: 1.1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav a {
  color: #dbe7fb;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--text-strong);
}

.nav-cta {
  padding: 0.82rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #11213d !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover,
.nav-cta.active {
  color: #091121 !important;
  background: #ffffff;
}

main {
  position: relative;
}

.hero,
.page-hero,
.video-intro,
.services,
.process,
.cta-band {
  padding: 5.5rem 0;
}

.hero {
  padding-top: 2rem;
}

.hero-grid,
.intro-wrap,
.two-col-detail,
.contact-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: center;
}

.hero h1,
.page-hero h1,
.video-intro h2,
.services h2,
.process h2,
.cta-band h2 {
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin: 0 0 1rem;
  color: var(--text-strong);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}

.page-hero h1,
.video-intro h2,
.services h2,
.process h2,
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

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

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #d7e7ff;
  background: rgba(89, 133, 255, 0.14);
  border: 1px solid rgba(151, 191, 255, 0.18);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-weight: 800;
  margin-bottom: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.section-tag.light {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.hero-text,
.page-hero p,
.video-intro p,
.services p,
.process p,
.cta-band p {
  color: var(--muted);
  max-width: 62ch;
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.9rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.98rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  min-height: 52px;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 18px 40px rgba(67, 112, 255, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 24px 45px rgba(67, 112, 255, 0.34);
}

.btn-secondary,
.btn-light {
  background: rgba(255, 255, 255, 0.96);
  color: #10213e;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover,
.btn-light:hover {
  background: #ffffff;
  color: #091121;
  border-color: rgba(255, 255, 255, 0.42);
}

.hero-points {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
  color: #e5eeff;
  font-weight: 500;
}

.hero-points li::before,
.detail-list li::before {
  content: '•';
  color: var(--accent-3);
  margin-right: 0.5rem;
}

.dashboard-card,
.info-card,
.quote-card,
.detail-card,
.step,
.note-box,
.video-placeholder,
.video-frame {
  background: linear-gradient(180deg, rgba(28, 42, 73, 0.95), rgba(20, 31, 55, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.dashboard-card,
.detail-card,
.note-box,
.info-card,
.quote-card,
.step {
  position: relative;
  overflow: hidden;
}

.dashboard-card::before,
.detail-card::before,
.info-card::before,
.quote-card::before,
.step::before,
.note-box::before,
.video-placeholder::before,
.video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
  pointer-events: none;
}

.dashboard-card {
  padding: 1.3rem;
}

.dashboard-top {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(223, 234, 255, 0.22);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.metric-box {
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.98), rgba(232, 240, 255, 0.95));
  border: 1px solid rgba(17, 33, 61, 0.08);
  padding: 1rem;
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.metric-box strong,
.metric-box p,
.metric-label {
  color: #142543;
}

.metric-box strong {
  display: block;
  font-size: 1.2rem;
  margin-top: 0.35rem;
  line-height: 1.3;
}

.metric-box p {
  margin: 0.5rem 0 0;
}

.metric-box.wide {
  grid-column: 1 / -1;
}

.metric-label {
  font-size: 0.95rem;
  font-weight: 800;
}

.cards.three-up,
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.info-card,
.quote-card,
.step,
.detail-card,
.note-box {
  padding: 1.6rem;
}

.info-card h3,
.step h3,
.detail-card h2,
.quote-card strong {
  margin-top: 0;
  letter-spacing: -0.03em;
}

.quote-card p {
  font-size: 1.02rem;
  color: #ecf4ff;
}

.quote-card strong,
.quote-card span {
  display: block;
}

.quote-card strong {
  margin-top: 1rem;
  color: var(--text-strong);
}

.quote-card span {
  color: var(--muted-2);
  font-size: 0.95rem;
}

.step span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: #e8f0ff;
  font-weight: 800;
  margin-bottom: 0.8rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14);
}

.video-placeholder {
  min-height: 280px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(243, 247, 255, 0.98), rgba(229, 238, 255, 0.94));
}

.video-placeholder.tall {
  min-height: 360px;
}

.play-button {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  box-shadow: 0 18px 35px rgba(67, 112, 255, 0.24);
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
  color: #e6efff;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
  color: #f6fbff;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 1rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(245, 249, 255, 0.98);
  color: #122240;
  caret-color: #122240;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(18, 34, 64, 0.5);
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: rgba(118, 164, 255, 0.9);
  box-shadow: 0 0 0 4px rgba(67, 112, 255, 0.14);
  background: #ffffff;
  color: #091121;
}

.form-status {
  min-height: 1.5rem;
  margin: 0.25rem 0 0;
  color: #e1ebff;
  font-weight: 600;
}

.services p,
.process p,
.page-hero p,
.video-intro p,
.hero-text,
.detail-list,
.quote-card p,
.site-footer p,
.site-footer a {
  color: var(--muted);
}

.detail-card h2,
.info-card h3,
.step h3,
.quote-card strong,
.contact-form label,
.page-hero h1,
.services h2,
.process h2,
.video-intro h2,
.cta-band h2 {
  color: #f8fbff;
}

.page-main .page-hero {
  padding-bottom: 2rem;
}

.cta-band {
  background: linear-gradient(135deg, #122140, #1a2d55 60%, #244174 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(93, 148, 255, 0.18);
  right: -100px;
  top: -60px;
  filter: blur(40px);
}

.cta-band-wrap,
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer {
  padding: 2.2rem 0 3rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
}

.site-footer strong {
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.page-hero {
  position: relative;
}

.page-hero::after {
  content: "";
  display: block;
  width: 120px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(118,164,255,0.85), rgba(151,191,255,0.45));
  margin-top: 1.5rem;
}

.video-frame {
  padding: 1rem;
  overflow: hidden;
}

.video-frame-tall {
  min-height: 360px;
}

.site-video {
  display: block;
  width: 100%;
  height: auto;
  min-height: 240px;
  border-radius: calc(var(--radius) - 8px);
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.site-video:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.note-box strong,
.detail-card strong,
.services strong,
.process strong {
  color: #ffffff;
}

::-moz-selection {
  background: rgba(118, 164, 255, 0.32);
  color: #fff;
}

::selection {
  background: rgba(118, 164, 255, 0.32);
  color: #fff;
}

@media (max-width: 900px) {
  .hero,
  .page-hero,
  .video-intro,
  .services,
  .process,
  .cta-band {
    padding: 4rem 0;
  }

  .hero-grid,
  .intro-wrap,
  .two-col-detail,
  .contact-layout,
  .cards.three-up,
  .steps,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .nav-wrap,
  .cta-band-wrap,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    gap: 0.9rem;
  }

  .hero h1,
  .page-hero h1,
  .video-intro h2,
  .services h2,
  .process h2,
  .cta-band h2 {
    line-height: 1.02;
  }

  .metric-box.wide {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max-width), calc(100% - 1.25rem));
  }

  .nav {
    flex-wrap: wrap;
  }

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

  .btn {
    width: 100%;
  }

  .nav-cta {
    width: auto;
  }

  .dashboard-card,
  .info-card,
  .quote-card,
  .detail-card,
  .step,
  .note-box,
  .video-placeholder,
  .video-frame {
    border-radius: 20px;
  }

  .brand-logo {
    height: clamp(70px, 18vw, 120px);
  }

  .video-frame {
    padding: 0.75rem;
  }

  .site-video {
    min-height: 200px;
    border-radius: 14px;
  }
}
