:root {
  --deep: #031024;
  --navy: #06152b;
  --ocean: #0b2a55;
  --blue: #2563eb;
  --cyan: #22d3ee;
  --foam: #e0f7ff;
  --text: #e6f1ff;
  --muted: #9bb4d4;
}

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

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

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 50% -10%, #12407e 0%, transparent 60%),
    linear-gradient(180deg, var(--ocean) 0%, var(--navy) 55%, var(--deep) 100%);
  background-color: var(--navy);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ---------- Underwater light ---------- */
.caustics {
  position: fixed; inset: -20%;
  background:
    radial-gradient(40% 25% at 30% 20%, rgba(34, 211, 238, .14), transparent 70%),
    radial-gradient(35% 20% at 70% 35%, rgba(37, 99, 235, .18), transparent 70%),
    radial-gradient(30% 25% at 50% 60%, rgba(125, 211, 252, .08), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes drift {
  0%   { transform: translate3d(-3%, -2%, 0) rotate(0deg); }
  100% { transform: translate3d(3%, 2%, 0) rotate(6deg); }
}

.bubbles { position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.bubble {
  position: absolute; bottom: -40px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.7), rgba(125,211,252,.25) 40%, rgba(34,211,238,.05) 70%);
  border: 1px solid rgba(186, 230, 253, .35);
  animation: rise linear infinite;
}
@keyframes rise {
  0%   { transform: translate(0, 0) scale(.8); opacity: 0; }
  10%  { opacity: .9; }
  50%  { transform: translate(var(--sway, 20px), -55vh) scale(1); }
  100% { transform: translate(calc(var(--sway, 20px) * -1), -115vh) scale(1.1); opacity: 0; }
}

/* ---------- Layout ---------- */
.wrap {
  position: relative; z-index: 2;
  flex: 1;
  width: 100%; max-width: 760px;
  margin: 0 auto;
  padding: 40px 16px 140px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--text); text-decoration: none;
  margin-bottom: 36px;
}
.brand-logo { width: 38px; height: 45px; filter: drop-shadow(0 4px 14px rgba(34,211,238,.45)); }
.brand-text { display: flex; flex-direction: column; text-align: left; line-height: 1.1; }
.brand-name { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; letter-spacing: .14em; font-size: 1.15rem; }
.brand-sub { font-size: .75rem; color: var(--muted); letter-spacing: .06em; }

/* ---------- Filling drop ---------- */
.drop { width: 110px; height: 138px; margin-bottom: 24px; animation: bob 4s ease-in-out infinite; }
.drop svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 10px 30px rgba(34,211,238,.35)); }
.drop-fill { animation: fill 6s ease-in-out infinite alternate; }
.drop-wave { animation: slosh 2.4s linear infinite; }
.drop-wave.w2 { animation-duration: 3.6s; animation-direction: reverse; }
@keyframes fill  { from { transform: translateY(40px); } to { transform: translateY(-14px); } }
@keyframes slosh { from { transform: translateX(0); } to { transform: translateX(120px); } }
@keyframes bob   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Copy ---------- */
.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 14px;
}
h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 18px;
  text-wrap: balance;
}
.shine {
  background: linear-gradient(90deg, #7dd3fc, var(--cyan), #60a5fa, #7dd3fc);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: flow 6s linear infinite;
}
@keyframes flow { to { background-position: 300% 0; } }

.lead {
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.1rem);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 34px;
  text-wrap: pretty;
}

/* ---------- Waves ---------- */
.sea {
  position: fixed; left: 0; right: 0; bottom: 0;
  height: 180px; z-index: 1; pointer-events: none;
  overflow: hidden;
}
.wave {
  position: absolute; bottom: 0; left: 0;
  width: 200%; height: 100%;
}
.wave path { transform-origin: center; }
.wave-back  { fill: rgba(37, 99, 235, .25);  animation: sway 16s linear infinite; }
.wave-mid   { fill: rgba(34, 211, 238, .18); animation: sway 11s linear infinite reverse; height: 85%; }
.wave-front { fill: rgba(3, 16, 36, .9);     animation: sway 8s linear infinite; height: 70%; }
@keyframes sway { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.foot {
  position: relative;
  z-index: 3; text-align: center;
  font-size: .75rem; color: #8aa3c4;
  padding: 0 16px 18px;
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
  .wrap { padding-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .drop-fill { transform: translateY(0); }
  .bubbles { display: none; }
}
