/* Ocean Hub Landing Page
   Minimal, centered hero over a full-screen background image.
   Place 'background.png' in the same folder as this file.
*/

/* ----- Reset / base ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family:
    system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  color: #ffffff;
  overflow: hidden;
}

/* ----- Background ----- */
.bg {
  position: fixed;
  inset: 0;
  background-image: url("background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.02);
  z-index: -3;
}

/* Soft overlay for readability */
.bg-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 50% 35%, rgba(0,0,0,0), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.15));
  z-index: -2;
}

/* ----- Layout ----- */
.center {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 40px);
}

/* Glass-like card */
.card {
  text-align: center;
  width: min(640px, 92vw);
  padding: clamp(28px, 4.5vw, 44px);
  border-radius: 24px;
  background: rgba(0, 10, 25, 0.30);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 10px 40px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.08);
  opacity: 0;
  transform: translateY(8px);
  animation: fadeInUp 700ms ease-out 120ms forwards;
}

h1 {
  margin: 0 0 10px 0;
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 4.2vw, 40px);
  line-height: 1.15;
  text-wrap: balance;
}

p {
  margin: 0 0 28px 0;
  font-size: clamp(16px, 1.6vw, 18px);
  opacity: 0.92;
}

/* ----- CTA Button ----- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 16px 34px;
  min-width: min(320px, 80vw);

  border-radius: 16px;
  text-decoration: none;
  color: #0b1020;

  background:
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(230,245,255,0.95));
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow:
    0 10px 24px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.7);

  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 20px);
  letter-spacing: 0.01em;

  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease,
    background 160ms ease;
}

.cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.01);
  box-shadow:
    0 14px 30px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.75);
}

.cta:active {
  transform: translateY(1px);
  box-shadow:
    0 6px 14px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.6);
}

.cta:focus-visible {
  outline: 3px solid rgba(255,255,255,0.9);
  outline-offset: 4px;
}

/* Optional hint */
.hint {
  display: block;
  margin-top: 14px;
  font-size: 12.5px;
  opacity: 0.70;
}

/* ----- Animations ----- */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .card {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .cta {
    transition: none;
  }
}

/* Small screens */
@media (max-width: 420px) {
  .cta {
    min-width: 0;
    width: 100%;
  }
}


/* ----- Brand Logo ----- */
.brand-logo {
  display: block;
  margin: 0 auto 18px auto;
  width: clamp(120px, 22vw, 180px);
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.25));
  opacity: 0.98;
}

