:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --surface-elevated: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-dim: #e2e8f0;
  --accent-amber: #f59e0b;
  --accent-amber-light: #fef3c7;
  --accent-indigo: #6366f1;
  --accent-indigo-light: #e0e7ff;
  --accent-purple: #8b5cf6;
  --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  --card-shadow-hover: 0 20px 30px -10px rgba(15, 23, 42, 0.08), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
}

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

body {
  font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

.font-serif {
  font-family: Georgia, Cambria, 'Times New Roman', serif;
}

.text-indigo-semibold {
  color: #6366f1;
  font-weight: 600;
}

/* Ambient Atmosphere */
.ambient-glow-top {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(circle at 50% 30%, rgba(99, 102, 241, 0.12) 0%, rgba(245, 158, 11, 0.08) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

.ambient-glow-bottom {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 800px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, rgba(99, 102, 241, 0.05) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(50px);
}

/* Top Notice Bar */
.top-notice-bar {
  background: #0f172a;
  color: #e2e8f0;
  font-size: 12px;
  padding: 8px 16px;
  text-align: center;
  position: relative;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-notice-bar a {
  color: #fbbf24;
  text-decoration: underline;
  font-weight: 600;
  margin-left: 6px;
}

/* Header Nav */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 40;
  transition: all 0.2s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-logo-img {
  height: 76px;
  width: auto;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

.brand-badge {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: #f1f5f9;
  color: #475569;
  padding: 3px 8px;
  border-radius: 9999px;
  border: 1px solid #cbd5e1;
  font-weight: 600;
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

@media (max-width: 780px) {
  .nav-links {
    display: none;
  }
}

/* Buttons */
.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0f172a;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-login-lg {
  padding: 14px 28px;
  font-size: 15px;
}

.btn-login:hover {
  background: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
}

.btn-login-pulse {
  position: relative;
}

.btn-login-pulse::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #6366f1, #f59e0b);
  z-index: -1;
  opacity: 0.5;
  filter: blur(4px);
  transition: opacity 0.2s ease;
}

.btn-login-pulse:hover::after {
  opacity: 0.9;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: var(--text-main);
  padding: 10px 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-dim);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.15s ease;
}

.btn-secondary-lg {
  padding: 14px 24px;
  font-size: 15px;
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-dim);
  background: #ffffff;
  padding: 48px 24px 32px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-container {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.footer-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.footer-center {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-center a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.footer-center a:hover {
  color: var(--text-main);
  text-decoration: underline;
}

.footer-logo-img {
  height: 24px;
  width: auto;
  border-radius: 4px;
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-self: end;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--text-main);
}

@media (max-width: 820px) {
  .footer-container {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-copy,
  .footer-center,
  .footer-links {
    justify-self: center;
    justify-content: center;
  }
}
