:root {
  --bg: #080C18;
  --bg2: #0D1F4E;
  --text: #FFFFFF;
  --muted: rgba(255,255,255,0.5);
  --accent: #00FFB2;
  --accent2: #00CFFF;
  --border: rgba(255,255,255,0.08);
  --input-bg: rgba(255,255,255,0.05);
  --tag-bg: rgba(0,255,178,0.08);
  --tag-border: rgba(0,255,178,0.25);
}
[data-theme="light"] {
  --bg: #FFFFFF;
  --bg2: #EEF3FF;
  --text: #0A0E1A;
  --muted: rgba(10,14,26,0.5);
  --accent: #00B386;
  --accent2: #0077FF;
  --border: rgba(0,0,0,0.08);
  --input-bg: rgba(0,0,0,0.04);
  --tag-bg: rgba(0,122,85,0.08);
  --tag-border: rgba(0,122,85,0.3);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px 24px;
  transition: background 0.3s, color 0.3s;
  overflow: hidden;
  position: relative;
}
.bg-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, var(--bg2), transparent),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(0,207,255,0.07), transparent),
    radial-gradient(ellipse 30% 30% at 70% 80%, rgba(0,255,178,0.05), transparent);
}
[data-theme="light"] .bg-glow {
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, #EEF3FF, transparent),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(0,85,255,0.04), transparent);
}
.theme-toggle {
  position: fixed; top: 24px; right: 24px; z-index: 10;
  background: var(--input-bg); border: 1px solid var(--border);
  color: var(--text); cursor: pointer; border-radius: 10px;
  width: 40px; height: 40px; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s;
}
.theme-toggle:hover { border-color: var(--accent); }
.container {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; max-width: 640px; width: 100%;
  gap: 0; padding-top: 140px;
}
.logo-wrap {
  position: fixed; top: 24px; left: 50%; transform: translateX(-50%);
  z-index: 100; margin-bottom: 0;
}
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--tag-bg); border: 1px solid var(--tag-border);
  border-radius: 100px; padding: 6px 16px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  color: var(--accent); text-transform: uppercase; margin-bottom: 28px;
}
.tag-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.3; transform:scale(0.6); }
}
h1 {
  font-size: clamp(38px, 8vw, 64px); font-weight: 800;
  letter-spacing: -1.5px; line-height: 1.05; margin-bottom: 20px;
}
.sub {
  font-size: clamp(15px, 2.5vw, 18px); color: var(--text);
  line-height: 1.7; margin-bottom: 12px; max-width: 520px;
}
.sub-highlight {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; font-weight: 600;
}
.tagline {
  font-size: 15px; font-weight: 600; margin-bottom: 48px;
}
.tagline .dim {
  -webkit-text-fill-color: var(--text); color: var(--text);
}
.tagline .bright {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.form-wrap {
  display: flex; gap: 10px; width: 100%; max-width: 440px; margin-bottom: 20px;
}
.form-wrap input {
  flex: 1; padding: 13px 18px; border-radius: 10px; font-size: 14px;
  background: var(--input-bg); border: 1px solid var(--border);
  color: var(--text); outline: none; font-family: inherit;
  transition: border-color 0.2s;
}
.form-wrap input::placeholder { color: var(--muted); }
.form-wrap input:focus { border-color: var(--accent2); }
.form-wrap button {
  padding: 13px 24px; border-radius: 10px; font-size: 14px; font-weight: 700;
  background: linear-gradient(135deg, #00FFB2, #00AAFF);
  color: #080C18; border: none; cursor: pointer; white-space: nowrap;
  font-family: inherit; transition: opacity 0.2s, transform 0.2s;
}
.form-wrap button:hover { opacity: 0.88; transform: translateY(-1px); }
.form-note { font-size: 12px; color: var(--muted); margin-bottom: 56px; }
.success-msg {
  display: none; font-size: 14px; font-weight: 600;
  color: var(--accent); margin-bottom: 56px;
}
.sep {
  width: 80px; height: 2px; border-radius: 2px; margin: 16px auto 28px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
footer {
  position: fixed; bottom: 0; left: 0; right: 0;
  text-align: center; padding: 16px 24px;
  font-size: 12px; color: var(--muted);
  border-top: 1px solid var(--border);
  background: var(--bg);
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--accent); }
@media (max-width: 480px) {
  .logo-wrap svg { width: 200px; height: 62px; }
  .container { padding-top: 100px; }
  .theme-toggle { top: 16px; right: 16px; }
  .form-wrap { flex-direction: column; }
  .form-wrap input, .form-wrap button { width: 100%; }
}
