/* ======================================
   RESET
====================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ======================================
   DESIGN TOKENS — LIGHT MODE (DEFAULT)
====================================== */
:root {
  --bg-page: #f5f6f8;
  --bg-card: #ffffff;
  --bg-input: #fafafa;

  --text-primary: #111111;
  --text-secondary: #555555;
  --text-muted: #8a8a8a;

  --border: #e5e7eb;

  --btn-bg: #111111;
  --btn-text: #ffffff;

  --radius-lg: 20px;
  --radius-md: 12px;

  --shadow-card: 0 18px 45px rgba(0,0,0,0.08);
}

/* ======================================
   DESIGN TOKENS — DARK MODE (SYSTEM)
====================================== */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-page: #0b0b0b;
    --bg-card: #141414;
    --bg-input: #1c1c1c;

    --text-primary: #ffffff;
    --text-secondary: #d1d1d1;
    --text-muted: #9a9a9a;

    --border: rgba(255,255,255,0.14);

    --btn-bg: #ffffff;
    --btn-text: #000000;

    --shadow-card: 0 30px 90px rgba(0,0,0,0.95);
  }
}

/* ======================================
   BODY
====================================== */
/* ======================================
   BODY
====================================== */
body {
  background: var(--bg-page);
  color: var(--text-primary);

  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* ======================================
   PAGE CONTENT
====================================== */
.page-content {
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 80px 16px; /* space for navbar & footer */
}


/* ======================================
   SIGNUP CARD
====================================== */
.signup-container {
  width: 420px;
  background: var(--bg-card);
  padding: 42px;

  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* ======================================
   TITLE — FINAL & FIXED
====================================== */
.signup-container h2 {
  text-align: center;
  margin-bottom: 32px;

  color: var(--text-primary); /* ✅ BLACK in light, WHITE in dark */

  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  /* premium clarity */
  text-shadow:
    0 1px 2px rgba(0,0,0,0.25);
}

/* ======================================
   FORM
====================================== */
.form-group {
  margin-bottom: 18px;
}

label {
  display: block;
  margin-bottom: 6px;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  color: var(--text-secondary);
}

input {
  width: 100%;
  padding: 14px 16px;

  border-radius: var(--radius-md);
  border: 1px solid var(--border);

  background: var(--bg-input);
  color: var(--text-primary);

  font-size: 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

input::placeholder {
  color: var(--text-muted);
}

input:focus {
  outline: none;
  border-color: var(--text-primary);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.15);
}

/* ======================================
   BUTTON
====================================== */
button {
  width: 100%;
  margin-top: 14px;
  padding: 16px;

  background: var(--btn-bg);
  color: var(--btn-text);

  border: none;
  border-radius: var(--radius-md);

  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}

/* ======================================
   RESPONSIVE
====================================== */
@media (max-width: 480px) {
  .signup-container {
    width: 100%;
    padding: 28px;
  }
}
