/* ==============================================================================
   LEMON CLIX - SLEEK GRAPHITE / GRAY MONOCHROME THEME (PIGEON V2 ACCURACY)
   ============================================================================== */

:root {
  /* Deep Obsidian & Graphite Gray Backgrounds */
  --bg-pure: #050608;
  --bg-primary: #08090c;
  --bg-secondary: #0e1015;
  --bg-card: #101218;
  --bg-card-hover: #151821;
  --bg-input: #0b0d12;
  --bg-pill: #13161f;

  /* Sleek Gray & Silver Accents */
  --accent-white: #ffffff;
  --accent-silver: #e2e8f0;
  --accent-gray: #cbd5e1;
  --accent-glow: rgba(255, 255, 255, 0.12);
  --accent-glow-subtle: rgba(255, 255, 255, 0.05);

  /* Subtle Status Colors */
  --emerald: #22c55e;
  --emerald-soft: rgba(34, 197, 94, 0.12);
  --rose: #ef4444;

  /* Refined Graphite Borders */
  --border-subtle: #181b24;
  --border-card: #1c202c;
  --border-hover: #2e3447;
  --border-active: #3b4259;

  /* Typography */
  --text-main: #ffffff;
  --text-body: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-pure);
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Subtle Ambient Spotlight (Pigeon V2 style) */
body::before {
  content: '';
  position: fixed;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 45%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: 20%;
  right: 8%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(148, 163, 184, 0.04) 0%, transparent 65%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.gradient-title {
  background: linear-gradient(180deg, #ffffff 40%, rgba(255, 255, 255, 0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
  padding: 1.5rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #191d29;
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Pills & Buttons (Pigeon V2 Exact Style) */
.nav-pill-btn {
  background: #11141c;
  color: #d1d5db;
  border: 1px solid var(--border-card);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-main);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.nav-pill-btn:hover {
  background: #191d28;
  border-color: var(--border-hover);
  color: #ffffff;
}

.nav-pill-btn.primary {
  background: #161a24;
  border-color: #262c3e;
  color: #ffffff;
}

.nav-pill-btn.primary:hover {
  background: #1f2533;
  border-color: #3b445e;
}

/* Main Action Buttons */
.btn-main {
  background: #131620;
  color: #ffffff;
  border: 1px solid #282f42;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-main);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-main:hover {
  background: #1a1e2b;
  border-color: #3f4966;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-primary-gray {
  background: #1c212e;
  color: #ffffff;
  border: 1px solid #333c54;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  font-weight: 700;
}

.btn-primary-gray:hover {
  background: #252c3d;
  border-color: #4a5677;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.08);
}

/* Badges */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0f1218;
  border: 1px solid var(--border-card);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
}

.dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.badge-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-body);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.glass-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

/* Toast */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 380px;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-left: 4px solid var(--accent-white);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  color: var(--text-main);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
  font-size: 0.95rem;
}

.toast.toast-error { border-left-color: var(--rose); }
.toast.toast-success { border-left-color: var(--emerald); }

/* Footer */
.footer {
  margin-top: 6rem;
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-dim);
  font-size: 0.85rem;
  text-align: center;
}
