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

:root {
  font-family: "Segoe UI", "Microsoft JhengHei", "PingFang TC", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(15,122,109,0.18) 0%, transparent 48%),
    radial-gradient(ellipse at 85% 20%, rgba(22,50,79,0.35) 0%, transparent 48%),
    linear-gradient(135deg, #061420 0%, #0a2035 55%, #061a12 100%);
}

/* ── Floating particles ── */
.particles { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.p {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--c) 0%, transparent 70%);
  animation: pfloat var(--d) var(--dl) infinite linear;
  opacity: 0;
}
@keyframes pfloat {
  0%   { transform: translateY(110vh) scale(0.5); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 0.5; }
  100% { transform: translateY(-15vh) scale(1.1); opacity: 0; }
}
.p1  { --c: rgba(15,122,109,0.5);  --d: 12s; --dl: 0s;  width: 120px; height: 120px; left: 8%;  bottom: -120px; }
.p2  { --c: rgba(22,50,79,0.6);    --d: 15s; --dl: 2s;  width: 80px;  height: 80px;  left: 24%; bottom: -80px; }
.p3  { --c: rgba(15,122,109,0.3);  --d: 10s; --dl: 4s;  width: 200px; height: 200px; left: 49%; bottom: -200px; }
.p4  { --c: rgba(78,205,196,0.22); --d: 18s; --dl: 1s;  width: 60px;  height: 60px;  left: 70%; bottom: -60px; }
.p5  { --c: rgba(15,122,109,0.4);  --d: 13s; --dl: 6s;  width: 100px; height: 100px; left: 85%; bottom: -100px; }
.p6  { --c: rgba(22,50,79,0.5);    --d: 16s; --dl: 3s;  width: 150px; height: 150px; left: 4%;  bottom: -150px; }
.p7  { --c: rgba(78,205,196,0.18); --d: 11s; --dl: 7s;  width: 90px;  height: 90px;  left: 39%; bottom: -90px; }
.p8  { --c: rgba(15,122,109,0.35); --d: 14s; --dl: 9s;  width: 70px;  height: 70px;  left: 60%; bottom: -70px; }
.p9  { --c: rgba(22,50,79,0.4);    --d: 17s; --dl: 5s;  width: 130px; height: 130px; left: 91%; bottom: -130px; }
.p10 { --c: rgba(15,122,109,0.45); --d: 9s;  --dl: 11s; width: 50px;  height: 50px;  left: 33%; bottom: -50px; }
.p11 { --c: rgba(78,205,196,0.28); --d: 19s; --dl: 8s;  width: 110px; height: 110px; left: 77%; bottom: -110px; }
.p12 { --c: rgba(15,122,109,0.2);  --d: 12s; --dl: 13s; width: 180px; height: 180px; left: 14%; bottom: -180px; }

/* ── Main card ── */
.card {
  position: relative; z-index: 1;
  width: min(500px, 100%);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 32px;
  padding: 48px 44px 44px;
  text-align: center;
  color: #fff;
  box-shadow: 0 32px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04);
  animation: cardIn 0.65s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(32px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Shield ── */
.shield-wrap { margin-bottom: 20px; }
.shield {
  display: inline-block;
  font-size: 4rem;
  line-height: 1;
  filter: drop-shadow(0 0 20px rgba(15,122,109,0.7));
  animation: shieldPulse 3s ease-in-out infinite;
}
@keyframes shieldPulse {
  0%,100% { filter: drop-shadow(0 0 20px rgba(15,122,109,0.7)); transform: scale(1); }
  50%     { filter: drop-shadow(0 0 38px rgba(78,205,196,0.9)); transform: scale(1.06); }
}

/* ── Text ── */
.eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(78,205,196,0.85);
  font-weight: 600;
}
h1 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
  background: linear-gradient(135deg, #ffffff 40%, #4ecdc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sub {
  margin: 0 0 28px;
  font-size: 1rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.65;
}

/* ── Feature chips ── */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}
.chip {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(15,122,109,0.18);
  border: 1px solid rgba(15,122,109,0.38);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.82);
}

/* ── Login button ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f7a6d, #16324f);
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 4px 24px rgba(15,122,109,0.42);
  transition: transform 0.22s, box-shadow 0.22s;
  animation: btnGlow 2.6s ease-in-out infinite;
}
@keyframes btnGlow {
  0%,100% { box-shadow: 0 4px 24px rgba(15,122,109,0.42); }
  50%     { box-shadow: 0 8px 38px rgba(15,122,109,0.7), 0 0 0 4px rgba(15,122,109,0.1); }
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(15,122,109,0.65);
  animation: none;
}

/* ── Note ── */
.note {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.36);
  line-height: 1.6;
}

@media (max-width: 420px) {
  .card { padding: 36px 24px 32px; }
}
