/* ═══════════════════════════════════════════════════════════════════
   TextGlam — Design System (Revised for Modern, Premium Look)
═══════════════════════════════════════════════════════════════════ */

:root {
  /* Brand Palette (Neon Lime) */
  --brand-500: #c4ff2e;
  --brand-600: #b0e625;
  --brand-400: #d4ff5e;
  
  /* Core Colors */
  --bg-base: #f8fafc;
  --bg-surface: #ffffff;
  --bg-elevated: #f1f5f9;
  --bg-hover: #f1f5f9;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverse: #000000;
  
  --border: #e2e8f0;
  --border-hover: #cbd5e1;
  --border-focus: #c4ff2e;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.05);
  --shadow-lg: 0 12px 24px rgba(0,0,0,0.08);
  --shadow-glow: 0 4px 20px rgba(196, 255, 46, 0.3);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --dur-fast: 0.15s;
  --dur-med: 0.3s;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --sidebar-w: 260px;
  --sidebar-w-sm: 80px;
  --header-h: 72px;
}

/* ── Base Styles ─────────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: all var(--dur-fast); }

/* ── Typography ──────────────────────────────────────────────────── */
h1 { font-size: 3rem; font-weight: 900; letter-spacing: -0.04em; }
h2 { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; font-weight: 700; }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-md);
  font-weight: 700; font-size: 0.9375rem; cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  border: none; outline: none;
}

.btn-primary {
  background-color: var(--brand-500);
  color: #000;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background-color: var(--brand-600);
  box-shadow: 0 8px 25px rgba(196, 255, 46, 0.4);
}

.btn-secondary {
  background-color: #fff;
  border: 1px solid var(--border);
  color: var(--text-primary);
}
.btn-secondary:hover { background-color: var(--bg-hover); border-color: var(--border-hover); }

/* ── Cards ───────────────────────────────────────────────────────── */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 24px;
}

/* ── Alerts ──────────────────────────────────────────────────────── */
.alert {
  padding: 16px; border-radius: var(--radius-md); margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px; font-weight: 600;
}
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ── Utilities ───────────────────────────────────────────────────── */
.text-muted { color: var(--text-muted); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.fade-in { animation: fadeIn 0.6s var(--ease) forwards; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
