:root {
  --bg-0: #06080F;
  --bg-1: #0A0E1A;

  --brand-blue: #00AFF0;
  --brand-blue-soft: #4FC8F4;

  --ink-100: #F5F6F8;
  --ink-60: rgba(245, 246, 248, 0.62);
  --ink-40: rgba(245, 246, 248, 0.42);

  --font-display: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-sans: system-ui, -apple-system, sans-serif;
}

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

html, body { height: 100%; }

body {
  background: var(--bg-1);
  color: var(--ink-100);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Full-page background image */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(1.05) contrast(1.05);
}
.bg-overlay {
  position: absolute;
  inset: 0;
  background:
    /* Dark gradient on the left for title legibility */
    linear-gradient(90deg, rgba(6, 8, 15, 0.92) 0%, rgba(6, 8, 15, 0.7) 30%, rgba(6, 8, 15, 0.3) 55%, rgba(6, 8, 15, 0.1) 75%, transparent 100%),
    /* Subtle bottom darkening for footer */
    linear-gradient(180deg, transparent 60%, rgba(6, 8, 15, 0.6) 100%);
}

/* Page layout */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(40px, 6vh, 80px) clamp(32px, 5vw, 80px);
  max-width: 1600px;
  margin: 0 auto;
}

/* Title */
.hero-content {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding-top: clamp(40px, 8vh, 120px);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink-100);
  white-space: nowrap;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

/* Footer */
.footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  display: inline-flex;
  transition: opacity 0.2s ease;
}
.footer-logo:hover { opacity: 0.8; }
.footer-logo img {
  height: clamp(44px, 4.5vw, 64px);
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.4));
}
.footer-copy {
  color: var(--ink-60);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* Responsive */
@media (max-width: 700px) {
  .bg img { object-position: 70% center; }
  .bg-overlay {
    background:
      linear-gradient(180deg, rgba(6, 8, 15, 0.85) 0%, rgba(6, 8, 15, 0.5) 40%, rgba(6, 8, 15, 0.4) 70%, rgba(6, 8, 15, 0.85) 100%);
  }
  .hero-title {
    white-space: normal;
    font-size: clamp(34px, 9vw, 56px);
  }
}

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