:root {
  --bg: #050505;
  --panel: #0b0f0b;
  --glow: #36ff8a;
  --glow-soft: rgba(54, 255, 138, 0.24);
  --text: #dfffe8;
  --muted: #5e7f6a;
  --error: #ff6b6b;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(54, 255, 138, 0.12), transparent 35%),
              radial-gradient(circle at 80% 30%, rgba(54, 255, 138, 0.08), transparent 32%),
              var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(20px, 4vw, 48px);
  overflow: hidden;
  position: relative;
}

.page {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.hero {
  position: relative;
  width: min(1100px, 96vw);
  border: 1px solid rgba(54, 255, 138, 0.35);
  background: linear-gradient(145deg, rgba(54, 255, 138, 0.08), rgba(5, 5, 5, 0.92));
  box-shadow: 0 0 90px rgba(54, 255, 138, 0.18);
  border-radius: 22px;
  padding: clamp(28px, 5vw, 56px);
  backdrop-filter: blur(4px);
  overflow: hidden;
  isolation: isolate;
}

.background {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  top: -12%;
  left: var(--x, 10%);
  width: 2px;
  height: 120%;
  background: linear-gradient(180deg, rgba(54, 255, 138, 0.0), rgba(54, 255, 138, 0.4));
  filter: blur(0.5px);
  animation: drift 6s linear infinite;
  animation-delay: var(--d, 0s);
}

@keyframes drift {
  0% { transform: translateY(-20%); opacity: 0; }
  10% { opacity: 0.9; }
  100% { transform: translateY(120%); opacity: 0; }
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(16px, 2vw, 24px);
}

.brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.brand-name {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}

.hero-left {
  display: grid;
  gap: 14px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.eyebrow .dot {
  width: 36px;
  height: 2px;
  background: var(--glow);
  box-shadow: 0 0 12px rgba(54, 255, 138, 0.65);
}

h1 {
  font-size: clamp(2.8rem, 6.6vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 600;
  max-width: 18ch;
}

.subhead {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease, background 150ms ease;
}

.btn.primary {
  background: linear-gradient(135deg, rgba(54, 255, 138, 0.28), rgba(54, 255, 138, 0.18));
  color: var(--text);
  border-color: rgba(54, 255, 138, 0.42);
  box-shadow: 0 0 18px rgba(54, 255, 138, 0.26);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(54, 255, 138, 0.35);
  border-color: rgba(54, 255, 138, 0.6);
}

.btn.ghost {
  background: rgba(5, 5, 5, 0.5);
  color: var(--text);
  border: 1px solid rgba(54, 255, 138, 0.25);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(54, 255, 138, 0.45);
  background: rgba(5, 5, 5, 0.7);
  color: var(--glow);
  letter-spacing: 0.12em;
  font-weight: 600;
  box-shadow: 0 0 18px rgba(54, 255, 138, 0.2);
}

.hero-right {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.logo-orb {
  position: relative;
  width: clamp(220px, 36vw, 300px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.orb-glow {
  position: absolute;
  inset: 4%;
  background: radial-gradient(circle, rgba(54, 255, 138, 0.2), transparent 65%);
  filter: blur(18px);
  z-index: 0;
}

.orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(54, 255, 138, 0.35);
  box-shadow: 0 0 18px rgba(54, 255, 138, 0.18);
  animation: pulse 6s ease-in-out infinite;
}

.ring-1 { animation-delay: 0s; }
.ring-2 { inset: 8%; animation-delay: 1.2s; opacity: 0.8; }

@keyframes pulse {
  0%, 100% { transform: scale(0.98); opacity: 0.8; }
  50% { transform: scale(1.04); opacity: 1; }
}

.orb-logo {
  width: 62%;
  height: 62%;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 0 22px rgba(54, 255, 138, 0.6));
  z-index: 1;
}

.status-card {
  width: min(320px, 90%);
  border: 1px solid rgba(54, 255, 138, 0.32);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(5, 5, 5, 0.6);
  box-shadow: 0 0 20px rgba(54, 255, 138, 0.16);
  display: grid;
  gap: 10px;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
}

.status-row .label {
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.status-row .value {
  color: var(--text);
  letter-spacing: 0.06em;
  font-weight: 600;
}

.status-row .online {
  color: var(--glow);
  text-shadow: 0 0 10px rgba(54, 255, 138, 0.6);
}

.signup-card {
  margin-top: 16px;
  border: 1px solid rgba(54, 255, 138, 0.3);
  background: rgba(5, 5, 5, 0.6);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  display: grid;
  gap: 14px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.card-kicker {
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
}

.chip {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(54, 255, 138, 0.35);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.chip.success {
  color: var(--glow);
  background: rgba(54, 255, 138, 0.12);
  box-shadow: 0 0 12px rgba(54, 255, 138, 0.2);
}

.signup-form {
  display: grid;
  gap: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.field input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(54, 255, 138, 0.28);
  background: rgba(5, 5, 5, 0.6);
  color: var(--text);
  box-shadow: inset 0 0 8px rgba(54, 255, 138, 0.08);
}

.submit {
  padding-inline: 18px;
  min-width: 140px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--glow);
}

.form-success {
  color: var(--glow);
  font-size: 0.92rem;
}

.form-error, .field .errorlist {
  color: var(--error);
  font-size: 0.9rem;
  list-style: none;
}

footer {
  width: 100%;
}

.privacy-policy {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  color: var(--muted);
  z-index: 10;
  text-align: center;
}

.privacy-policy a {
  color: var(--glow);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(54, 255, 138, 0.12);
  border: 1px solid rgba(54, 255, 138, 0.35);
  box-shadow: 0 0 14px rgba(54, 255, 138, 0.2);
  backdrop-filter: blur(4px);
}

.privacy-policy a:hover {
  text-decoration: underline;
  border-color: rgba(54, 255, 138, 0.55);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  z-index: 20;
  padding: 16px;
}

.cookie-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.cookie-card {
  width: min(520px, 96vw);
  background: rgba(5, 5, 5, 0.92);
  border: 1px solid rgba(54, 255, 138, 0.35);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 10px;
}

.cookie-copy {
  color: var(--muted);
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.privacy-page {
  align-items: flex-start;
  padding-top: 60px;
}

.privacy-wrapper {
  max-width: 800px;
  background: rgba(5, 5, 5, 0.8);
  border: 1px solid rgba(54, 255, 138, 0.25);
  border-radius: 18px;
  padding: 24px;
  display: grid;
  gap: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.privacy-wrapper ul {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.dashboard-page {
  align-items: center;
  padding-top: 40px;
}

.dashboard-wrapper {
  width: min(1120px, 96vw);
  margin: 0 auto;
  background: rgba(5, 5, 5, 0.8);
  border: 1px solid rgba(54, 255, 138, 0.25);
  border-radius: 18px;
  padding: 24px;
  display: grid;
  gap: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 900px) {
  .hero {
    padding: clamp(24px, 6vw, 48px);
  }

  .hero-body {
    grid-template-columns: 1fr;
  }

  .hero-right {
    justify-items: start;
  }

  .logo-orb {
    width: clamp(200px, 60vw, 260px);
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .submit {
    width: 100%;
  }
}
