:root {
  --navy-950: #050d24;
  --navy-900: #0a1a3f;
  --blue-400: #4a9eff;
  --blue-300: #6db4ff;
  --blue-200: #a3ccff;
  --cyan: #5ad1ff;
  --white: #ffffff;
  --mist: #d8e3ff;
  --muted: #93a4c8;
  --line: rgba(173, 199, 255, 0.14);
  --line-strong: rgba(173, 199, 255, 0.28);
}

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

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--navy-950);
  color: var(--mist);
  line-height: 1.55;
  overflow: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* === Background layers === */
.blueprint-bg {
  position: fixed;
  inset: 0;
  background-color: var(--navy-950);
  background-image:
    linear-gradient(rgba(74, 158, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 158, 255, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(74, 158, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 158, 255, 0.03) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
  z-index: -2;
}

.gradient-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 600px at 15% 0%, rgba(29, 61, 138, 0.55), transparent 70%),
    radial-gradient(800px 600px at 95% 30%, rgba(74, 158, 255, 0.18), transparent 70%),
    radial-gradient(700px 500px at 50% 100%, rgba(10, 26, 63, 0.85), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* === Hero layout (full viewport, no scroll) === */
.hero {
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(20px, 4vh, 40px) clamp(20px, 5vw, 64px);
  gap: 20px;
}

/* === Brand (top) === */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: start;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(74, 158, 255, 0.25), rgba(74, 158, 255, 0.05));
  border: 1px solid var(--line-strong);
  color: var(--blue-300);
  box-shadow: inset 0 0 20px rgba(74, 158, 255, 0.15);
}

.brand-mark svg { width: 28px; height: 28px; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}

.brand-sub {
  font-size: 12px;
  color: var(--blue-200);
  letter-spacing: 0.06em;
}

/* === Center === */
.hero-center {
  align-self: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(74, 158, 255, 0.1);
  border: 1px solid rgba(74, 158, 255, 0.3);
  color: var(--blue-200);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease both;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(90, 209, 255, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(90, 209, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(90, 209, 255, 0); }
}

.title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 22px;
}

.title .line {
  display: block;
  animation: fadeUp 0.9s ease both;
}

.title .line:nth-child(2) { animation-delay: 0.1s; }

.title .gradient {
  background: linear-gradient(120deg, var(--blue-300) 0%, var(--cyan) 50%, var(--blue-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: var(--muted);
  max-width: 580px;
  animation: fadeUp 1s ease 0.2s both;
}

/* === Contact row (bottom) === */
.contact-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  animation: fadeUp 1s ease 0.4s both;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(15, 36, 84, 0.55), rgba(10, 26, 63, 0.35));
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-item:hover {
  background: rgba(74, 158, 255, 0.08);
  border-color: var(--blue-400);
  transform: translateY(-2px);
}

.ci-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(74, 158, 255, 0.18), rgba(74, 158, 255, 0.03));
  border: 1px solid var(--line-strong);
  color: var(--blue-300);
}

.ci-icon svg { width: 20px; height: 20px; }

.ci-text { display: flex; flex-direction: column; min-width: 0; }

.ci-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-200);
  margin-bottom: 3px;
}

.ci-value {
  color: var(--white);
  font-size: 0.92rem;
  line-height: 1.4;
  font-weight: 500;
}

/* === Animations === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Responsive === */
@media (max-width: 880px) {
  .contact-row { grid-template-columns: 1fr; gap: 10px; }
  .contact-item { padding: 14px 16px; }
}

@media (max-width: 600px) {
  body { overflow-y: auto; }
  .hero { height: auto; min-height: 100vh; min-height: 100dvh; gap: 32px; padding-top: 24px; padding-bottom: 24px; }
  .brand-name { font-size: 12px; }
  .brand-sub { font-size: 11px; }
  .ci-value { font-size: 0.88rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
