:root {
  color-scheme: dark;
  --navy-950: #020b14;
  --navy-900: #031425;
  --navy-800: #06233c;
  --blue-600: #0576c9;
  --blue-500: #159ce6;
  --cyan-400: #4ed7ff;
  --text: #f4fbff;
  --muted: #a8bfd0;
  --line: rgba(105, 202, 255, 0.18);
  --panel: rgba(4, 25, 44, 0.72);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }

html { min-height: 100%; scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 15%, rgba(21, 156, 230, 0.16), transparent 34%),
    radial-gradient(circle at 85% 82%, rgba(78, 215, 255, 0.10), transparent 30%),
    linear-gradient(145deg, var(--navy-950), var(--navy-900) 48%, #02101e);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

.ambient-grid {
  position: fixed;
  inset: -35%;
  pointer-events: none;
  opacity: .28;
  background: repeating-linear-gradient(120deg, transparent 0 82px, rgba(45, 181, 255, .09) 83px 84px);
  animation: drift 24s linear infinite;
}

.orb {
  position: fixed;
  width: 24rem;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(85px);
  pointer-events: none;
  opacity: .16;
}
.orb-one { top: -8rem; right: -7rem; background: var(--blue-500); animation: float 9s ease-in-out infinite; }
.orb-two { bottom: -12rem; left: -8rem; background: var(--cyan-400); animation: float 12s ease-in-out infinite reverse; }

.page-shell {
  width: min(1380px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5.5rem) 0 2.5rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(560px, 1.1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: stretch;
}

.brand-panel,
.services-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(7, 35, 61, .82), var(--panel));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.brand-panel::after,
.services-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(255,255,255,.045), transparent 30% 70%, rgba(78,215,255,.035));
}

.brand-panel {
  padding: clamp(1.6rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-logo {
  width: min(270px, 65%);
  height: auto;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 16px 28px rgba(0, 99, 177, .30));
}

.eyebrow {
  margin: 0 0 .8rem;
  color: var(--cyan-400);
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.intro {
  margin: 1.5rem 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.75;
}

.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .88rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .pause-button:focus-visible, .social-links a:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 3px; }
.button-primary { background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); box-shadow: 0 14px 36px rgba(5, 118, 201, .28); }
.button-primary:hover { box-shadow: 0 18px 42px rgba(5, 118, 201, .42); }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.035); }
.button-secondary:hover { border-color: rgba(78,215,255,.44); background: rgba(78,215,255,.07); }

.redirect-status { margin-top: 2rem; padding: 1rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(0, 8, 16, .26); }
.redirect-copy { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .9rem; }
.redirect-copy strong { color: var(--text); white-space: nowrap; }
.progress-track { height: 5px; margin-top: .8rem; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.08); }
.progress-bar { display: block; width: 100%; height: 100%; transform-origin: left; background: linear-gradient(90deg, var(--blue-500), var(--cyan-400)); animation: countdown 12s linear forwards; }
.pause-button { margin-top: .7rem; padding: 0; border: 0; color: var(--cyan-400); background: transparent; font: inherit; font-size: .82rem; cursor: pointer; }

.services-panel { padding: clamp(1.3rem, 2.3vw, 2rem); }
.panel-heading { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.15rem; color: var(--muted); font-size: .82rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.status-dot { width: .62rem; aspect-ratio: 1; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 0 6px rgba(78,215,255,.08), 0 0 20px rgba(78,215,255,.75); animation: pulse 2s ease-in-out infinite; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.service-card { min-height: 170px; padding: 1.15rem; border: 1px solid rgba(105,202,255,.13); border-radius: 18px; background: linear-gradient(145deg, rgba(8,47,79,.66), rgba(3,21,37,.72)); transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.service-card:hover { transform: translateY(-4px); border-color: rgba(78,215,255,.38); background: linear-gradient(145deg, rgba(10,61,101,.74), rgba(3,24,43,.8)); }
.service-number { color: var(--cyan-400); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.service-card h2 { margin: .8rem 0 .48rem; font-size: 1.15rem; }
.service-card p { margin: 0; color: var(--muted); line-height: 1.55; font-size: .9rem; }

.site-footer { width: min(1380px, calc(100% - 2rem)); margin: 0 auto; padding: 0 0 2rem; display: flex; justify-content: space-between; gap: 1rem; color: #7995a8; font-size: .86rem; }
.social-links { display: flex; gap: 1rem; }
.social-links a { color: #a9c8da; text-decoration: none; }
.social-links a:hover { color: var(--cyan-400); }

.reveal { animation: reveal .75s cubic-bezier(.2,.75,.25,1) both; }
.reveal-delay { animation-delay: .14s; }

@keyframes reveal { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes drift { to { transform: translate3d(120px, 60px, 0); } }
@keyframes float { 50% { transform: translateY(24px) scale(1.04); } }
@keyframes pulse { 50% { opacity: .55; transform: scale(.8); } }
@keyframes countdown { to { transform: scaleX(0); } }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; }
  .brand-panel { min-height: auto; }
}

@media (max-width: 660px) {
  .page-shell { width: min(100% - 1rem, 1380px); padding-top: .5rem; }
  .brand-panel, .services-panel { border-radius: 20px; }
  .brand-panel { padding: 1.35rem; }
  .brand-logo { width: 190px; }
  h1 { font-size: clamp(2.2rem, 13vw, 3.7rem); }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .redirect-copy { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .site-footer { width: min(100% - 1.5rem, 1380px); flex-direction: column; align-items: center; text-align: center; }
}

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