/* ── AmnesiaIQ Design System — Gold/Dark Theme ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;800&family=Outfit:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg:           #080808;
  --bg-surface:   #0f0f0f;
  --card:         #131313;
  --card-hover:   #1a1a1a;
  --input-fill:   #1c1c1c;
  --border:       #242424;
  --border-input: #2e2e2e;

  --gold:         #c9a84c;
  --gold-light:   #e0c06a;
  --gold-dark:    #a8852f;
  --gold-glow:    rgba(201, 168, 76, 0.18);

  --accent:       #c9a84c;
  --accent-hover: #a8852f;

  --text:         #e8e0d0;
  --text-muted:   #9a9080;
  --text-ghost:   #5a5248;

  --green:        #4caf7a;
  --red:          #e05252;

  --font:         'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-mono:    'JetBrains Mono', 'SF Mono', 'Consolas', 'Monaco', monospace;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  min-height: 100vh;
  line-height: 1.6;
}

/* ── Card ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  background: var(--gold);
  color: #0a0806;
  border: none;
  border-radius: 6px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, box-shadow 0.15s ease;
  line-height: 1;
  letter-spacing: 0.01em;
}

.btn:hover {
  background: var(--gold-light);
  box-shadow: 0 0 16px var(--gold-glow);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  line-height: 1;
}

.btn-outline:hover {
  background: var(--gold-glow);
  color: var(--gold-light);
  box-shadow: 0 0 12px var(--gold-glow);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 13px;
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
  line-height: 1;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-danger {
  display: inline-block;
  background: transparent;
  color: var(--red);
  border: 1px solid var(--red);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  line-height: 1;
}

.btn-danger:hover {
  background: var(--red);
  color: #fff;
}

/* ── Inputs ── */
input,
textarea {
  width: 100%;
  background: var(--input-fill);
  border: 1px solid var(--border-input);
  border-radius: 6px;
  color: var(--text);
  padding: 10px 14px;
  font-size: 15px;
  font-family: var(--font);
  transition: border-color 0.15s ease;
}

input:focus,
textarea:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-ghost);
}

/* ── Label ── */
.label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--gold);
}

/* ── Copy button ── */
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--input-fill);
  border: 1px solid var(--border-input);
  border-radius: 4px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.copy-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── Badges ── */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-green {
  background: rgba(76,175,122,0.12);
  color: var(--green);
}

.badge-red {
  background: rgba(224,82,82,0.12);
  color: var(--red);
}

/* ── Form group spacing ── */
.form-group {
  margin-bottom: 18px;
}

/* ── Section wrapper ── */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}

/* ── Page container ── */
.page-center {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

/* ── Gold divider ── */
.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 40%, var(--gold) 60%, transparent);
  opacity: 0.25;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .card {
    padding: 24px 20px;
  }

  .section {
    padding: 48px 16px;
  }
}
