@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  --bg: #03080f;
  --bg-soft: #071523;
  --text: #f3f8ff;
  --muted: rgba(220, 235, 248, 0.68);
  --soft: rgba(220, 235, 248, 0.72);
  --line: rgba(190, 225, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.055);
  --blue: #9bdcff;
  --blue-strong: #62c8ff;
}

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

html,
body {
  min-height: 100%;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 16%, rgba(98, 200, 255, 0.22), transparent 34%),
    radial-gradient(circle at 82% 76%, rgba(25, 92, 138, 0.22), transparent 32%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-size: 140% 140%;
  animation: oceanDrift 24s ease-in-out infinite alternate;
}

@keyframes oceanDrift {
  from { background-position: 48% 14%, 82% 76%, center; }
  to { background-position: 54% 18%, 76% 70%, center; }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: repeating-radial-gradient(
    circle at center,
    rgba(255,255,255,0.028) 0,
    rgba(255,255,255,0.028) 1px,
    transparent 1px,
    transparent 18px
  );
  opacity: 0.42;
}

.page {
  width: min(1160px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  z-index: 1;
}

.brand {
  padding: 34px 0;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.36em;
  color: rgba(243,248,255,0.88);
}

.hero {
  min-height: calc(100vh - 150px);
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: 72px 0 96px;
}

.kicker {
  margin-bottom: 30px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: var(--blue);
  text-transform: uppercase;
}

h1 {
  max-width: 1080px;
  font-size: clamp(50px, 7vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  word-spacing: 0.03em;
  font-weight: 900;
  text-shadow:
    0 22px 70px rgba(0,0,0,0.58),
    0 0 80px rgba(98,200,255,0.08);
}

.subheadline {
  max-width: 790px;
  margin-top: 32px;
  font-size: clamp(19px, 2.1vw, 28px);
  line-height: 1.48;
  color: var(--muted);
}

.access-form {
  width: min(720px, 100%);
  margin-top: 52px;
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--glass);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow:
    0 34px 110px rgba(0,0,0,0.42),
    inset 0 1px 0 rgba(255,255,255,0.075);
}

input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 17px;
  padding: 19px 22px;
}

input::placeholder {
  color: rgba(220,235,248,0.46);
}

button {
  border: 0;
  border-radius: 22px;
  padding: 0 30px;
  min-height: 60px;
  color: #02101b;
  background: linear-gradient(135deg, #edfaff, var(--blue-strong));
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
  box-shadow:
    0 0 36px rgba(98,200,255,0.28),
    inset 0 1px 0 rgba(255,255,255,0.45);
}

.trust {
  margin-top: 26px;
  color: var(--soft);
  font-size: 13px;
  letter-spacing: 0.1em;
}

.form-message {
  min-height: 24px;
  margin-top: 18px;
  color: rgba(220,235,248,0.78);
  font-size: 14px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.form-message.show {
  opacity: 1;
  transform: translateY(0);
}

footer {
  padding: 28px 0 38px;
  text-align: center;
}

footer a {
  color: var(--blue);
  text-decoration: none;
  font-size: 14px;
  opacity: 0.86;
}

@media (max-width: 720px) {
  .page {
    width: min(100% - 28px, 1160px);
  }

  .brand {
    text-align: center;
    letter-spacing: 0.22em;
    font-size: 12px;
  }

  .hero {
    padding: 42px 0 80px;
  }

  h1 {
    font-size: clamp(46px, 13vw, 72px);
    line-height: 0.98;
  }

  .access-form {
    grid-template-columns: 1fr;
  }

  button {
    width: 100%;
  }

  .trust {
    line-height: 1.75;
  }
}
/* OCEAN PHASE 5 — MICRO LUXURY */

.brand,
.kicker,
h1,
.subheadline,
.access-form,
.trust,
footer {
  will-change: transform, opacity;
}

.brand {
  transition: opacity 240ms ease, letter-spacing 240ms ease;
}

.brand:hover {
  opacity: 1;
  letter-spacing: 0.39em;
}

.access-form {
  transition:
    transform 260ms cubic-bezier(.16, 1, .3, 1),
    border-color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
}

.access-form:hover {
  transform: translateY(-2px);
  border-color: rgba(155, 220, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
  box-shadow:
    0 42px 130px rgba(0, 0, 0, 0.48),
    0 0 78px rgba(98, 200, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.access-form:focus-within {
  transform: translateY(-3px);
  border-color: rgba(155, 220, 255, 0.46);
  box-shadow:
    0 46px 150px rgba(0, 0, 0, 0.52),
    0 0 92px rgba(98, 200, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

button {
  position: relative;
  overflow: hidden;
  transition:
    transform 220ms cubic-bezier(.16, 1, .3, 1),
    filter 220ms ease,
    box-shadow 220ms ease;
}

button:hover {
  transform: translateY(-2px) scale(1.012);
  filter: brightness(1.045);
  box-shadow:
    0 0 54px rgba(98, 200, 255, 0.38),
    0 18px 42px rgba(98, 200, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

button:active {
  transform: translateY(0) scale(0.995);
}

button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.38) 45%,
    transparent 75%
  );
  transform: translateX(-130%);
  transition: transform 800ms cubic-bezier(.16, 1, .3, 1);
}

button:hover::after {
  transform: translateX(130%);
}

input {
  transition:
    color 220ms ease,
    opacity 220ms ease;
}

input:focus::placeholder {
  opacity: 0.55;
}

footer a {
  transition:
    opacity 220ms ease,
    color 220ms ease,
    text-shadow 220ms ease;
}

footer a:hover {
  opacity: 1;
  text-shadow: 0 0 24px rgba(155, 220, 255, 0.38);
}

@media (prefers-reduced-motion: reduce) {
  body,
  .brand,
  .access-form,
  button,
  input,
  footer a {
    animation: none !important;
    transition: none !important;
  }
}
/* OCEAN PHASE 8 — MOTION LUXURY */

.hero {
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  width: min(620px, 70vw);
  height: min(620px, 70vw);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(155, 220, 255, 0.13),
    rgba(98, 200, 255, 0.05) 38%,
    transparent 68%
  );
  filter: blur(18px);
  z-index: -1;
  animation: oceanPulse 9s ease-in-out infinite;
}

@keyframes oceanPulse {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.55;
  }

  50% {
    transform: scale(1.06);
    opacity: 0.85;
  }
}

.kicker {
  animation: signalDrift 7s ease-in-out infinite alternate;
}

@keyframes signalDrift {
  from {
    letter-spacing: 0.34em;
    opacity: 0.78;
  }

  to {
    letter-spacing: 0.38em;
    opacity: 1;
  }
}

.access-form {
  transform-style: preserve-3d;
}

.access-form:hover {
  transform: translateY(-3px) scale(1.005);
}

button {
  isolation: isolate;
}

button::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.42),
    transparent 44%
  );
  opacity: 0;
  transform: translateX(-30%);
  transition: opacity 260ms ease;
  z-index: -1;
}

button:hover::before {
  opacity: 0.35;
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .kicker {
    animation: none !important;
  }
}
/* ===== Phase 9 Mobile Luxury Polish ===== */

@media (max-width: 720px) {

  .hero {
    padding: 48px 0 64px;
  }

  h1 {
    font-size: clamp(54px, 12vw, 76px);
    line-height: 0.94;
    letter-spacing: -0.045em;
    word-spacing: -0.03em;
    max-width: 100%;
  }

  .subheadline {
    font-size: 17px;
    line-height: 1.55;
    opacity: 0.82;
    padding: 0 8px;
  }

  .access-form {
    margin-top: 28px;
    padding: 12px;
    border-radius: 26px;
  }

  .access-form input {
    font-size: 18px;
    padding: 18px 18px;
  }

  .access-form button {
    height: 70px;
    font-size: 22px;
    font-weight: 800;
    border-radius: 18px;
  }

  .trust {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.72;
    padding: 0 12px;
  }
}
/* ===== Phase 10 Billionaire Trust Conversion Layer ===== */

.microtrust {
  margin-top: 10px;
  color: rgba(220, 235, 248, 0.48);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.access-form.submitted + .form-message + .trust,
.access-form.submitted + .form-message + .trust + .microtrust {
  opacity: 0.9;
}

.form-message.show {
  color: rgba(220, 235, 248, 0.82);
}

@media (max-width: 720px) {
  .microtrust {
    margin-top: 12px;
    font-size: 11px;
    line-height: 1.6;
    padding: 0 16px;
  }
}