:root {
  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Dark & sleek background hierarchy */
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-card: #1e293b;
  --bg-card-hover: #273549;
  --bg-input: #0b1120;
  --bg-modal: #1e293b;
  --bg-header: rgba(15, 23, 42, 0.85);
  --bg-elevated: rgba(15, 23, 42, 0.55);
  --bg-table-head: rgba(15, 23, 42, 0.65);
  --bg-table-row-hover: rgba(39, 53, 73, 0.5);
  --bg-hover: rgba(255, 255, 255, 0.06);
  --bg-surface-subtle: rgba(255, 255, 255, 0.04);
  --bg-surface-faint: rgba(255, 255, 255, 0.015);
  --bg-code: rgba(0, 0, 0, 0.28);
  --bg-backdrop: rgba(0, 0, 0, 0.75);
  --bg-loading-overlay: rgba(15, 23, 42, 0.7);
  --bg-overlay-dark: rgba(15, 23, 42, 0.88);
  --bg-tooltip: rgba(11, 17, 32, 0.96);
  --bg-btn-action: #17212f;
  --bg-btn-action-hover: #223044;
  --bg-image-canvas: #ffffff;

  /* Text hierarchy */
  --text-white: #ffffff;
  --text-primary: #f8fafc;
  --text-light: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-subtle: #a1a1aa;
  --text-inverse: #0f172a;

  /* Accent & brand colors */
  --brand-primary: #3b82f6;
  --brand-primary-hover: #2563eb;
  --brand-primary-deep: #1d4ed8;
  --brand-primary-light: #60a5fa;
  --brand-primary-lighter: #93c5fd;
  --brand-primary-soft: rgba(59, 130, 246, 0.14);
  --brand-primary-border: rgba(59, 130, 246, 0.4);
  --brand-glow: rgba(59, 130, 246, 0.25);
  --brand-gradient-text: linear-gradient(135deg, #60a5fa, #3b82f6);
  --brand-avatar-gradient: linear-gradient(135deg, #2563eb, #1d4ed8);
  --hero-gradient-text: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #10b981 100%);
  --progress-shimmer-gradient: linear-gradient(90deg, #3b82f6, #60a5fa, #10b981);

  /* Semantic status & accent palette */
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-amber-bg: rgba(245, 158, 11, 0.15);
  --accent-amber-border: rgba(245, 158, 11, 0.35);
  --accent-amber-text: #fbbf24;
  --accent-amber-soft: #fcd34d;
  --accent-amber-light: #fde68a;
  --accent-amber-dark: #d97706;

  --accent-red: #ef4444;
  --accent-ruby: #ef4444;
  --accent-red-bg: rgba(239, 68, 68, 0.15);
  --accent-red-border: rgba(239, 68, 68, 0.4);
  --accent-red-text: #f87171;
  --accent-red-soft: #fca5a5;
  --accent-red-light: #fecaca;

  --accent-indigo: #6366f1;
  --accent-indigo-text: #a5b4fc;
  --accent-indigo-soft: #818cf8;
  --accent-indigo-light: #c7d2fe;
  --accent-indigo-bg: rgba(99, 102, 241, 0.12);
  --accent-indigo-bg-subtle: rgba(99, 102, 241, 0.07);
  --accent-indigo-border: rgba(99, 102, 241, 0.4);
  --accent-indigo-glow: rgba(99, 102, 241, 0.2);

  --accent-violet: #a78bfa;
  --accent-violet-light: #c4b5fd;
  --accent-violet-soft: #e9d5ff;
  --accent-violet-bg: rgba(167, 139, 250, 0.14);
  --accent-violet-border: rgba(167, 139, 250, 0.38);

  --accent-cyan: #22d3ee;
  --accent-cyan-bg: rgba(6, 182, 212, 0.15);
  --accent-cyan-border: rgba(6, 182, 212, 0.35);

  --accent-pink: #ec4899;

  /* Unified status pills & alerts */
  --status-ok-text: #34d399;
  --status-ok-soft: #6ee7b7;
  --status-ok-bg: rgba(16, 185, 129, 0.14);
  --status-ok-border: rgba(16, 185, 129, 0.38);

  --status-warn-text: #fbbf24;
  --status-warn-soft: #fcd34d;
  --status-warn-bg: rgba(245, 158, 11, 0.14);
  --status-warn-border: rgba(245, 158, 11, 0.38);

  --status-err-text: #f87171;
  --status-err-soft: #fca5a5;
  --status-err-bg: rgba(239, 68, 68, 0.14);
  --status-err-border: rgba(239, 68, 68, 0.4);

  --status-info-text: #93c5fd;
  --status-info-bg: rgba(59, 130, 246, 0.14);
  --status-info-border: rgba(59, 130, 246, 0.38);

  --status-neutral-text: #cbd5e1;
  --status-neutral-bg: rgba(148, 163, 184, 0.14);
  --status-neutral-border: rgba(148, 163, 184, 0.3);

  /* Notification (Toast & Flash) gradients */
  --notify-info-bg: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  --notify-info-border: rgba(147, 197, 253, 0.35);
  --notify-info-accent: #bfdbfe;
  --notify-info-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.5), 0 6px 14px -4px rgba(37, 99, 235, 0.35);

  --notify-success-bg: linear-gradient(135deg, #065f46 0%, #059669 100%);
  --notify-success-border: rgba(167, 243, 208, 0.35);
  --notify-success-accent: #a7f3d0;
  --notify-success-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.5), 0 6px 14px -4px rgba(16, 185, 129, 0.35);

  --notify-warn-bg: linear-gradient(135deg, #92400e 0%, #d97706 100%);
  --notify-warn-border: rgba(253, 230, 138, 0.35);
  --notify-warn-accent: #fde68a;
  --notify-warn-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.5), 0 6px 14px -4px rgba(217, 119, 6, 0.35);

  --notify-err-bg: linear-gradient(135deg, #991b1b 0%, #dc2626 100%);
  --notify-err-border: rgba(254, 202, 202, 0.35);
  --notify-err-accent: #fecaca;
  --notify-err-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.5), 0 6px 14px -4px rgba(220, 38, 38, 0.35);

  /* Deal & status accents */
  --deal-gray: #cbd5e1;
  --deal-gray-bg: rgba(163, 176, 195, 0.16);
  --deal-gray-border: rgba(148, 163, 184, 0.35);
  --deal-gray-border-hover: rgba(148, 163, 184, 0.7);

  --deal-green: #10b981;
  --deal-green-bg: rgba(16, 185, 129, 0.15);
  --deal-green-border: rgba(16, 185, 129, 0.35);

  --deal-light-green: #79ff66;
  --deal-light-green-bg: rgba(121, 255, 102, 0.15);
  --deal-light-green-border: rgba(121, 255, 102, 0.35);

  --deal-blue: #38bdf8;
  --deal-blue-light: #7dd3fc;
  --deal-blue-bg: rgba(56, 189, 248, 0.1);
  --deal-blue-border: rgba(56, 189, 248, 0.25);

  --deal-purple: #f0d0ff;
  --deal-purple-bg: rgba(194, 150, 238, 0.12);
  --deal-purple-border: rgba(211, 175, 255, 0.32);

  --deal-orange: #ffd4a7;
  --deal-orange-bg: rgba(255, 195, 146, 0.12);
  --deal-orange-border: rgba(253, 201, 159, 0.32);

  --deal-red: #ffb7b7;
  --deal-red-bg: rgba(249, 181, 181, 0.1);
  --deal-red-border: rgba(255, 203, 203, 0.12);

  --deal-gold: #f9e789;
  --deal-gold-bg: rgba(255, 226, 69, 0.12);
  --deal-gold-border: rgba(255, 226, 69, 0.32);

  /* Property category accents */
  --prop-electrical: #facc15;
  --prop-electrical-bg: rgba(250, 204, 21, 0.15);
  --prop-electrical-border: rgba(250, 204, 21, 0.35);

  --prop-lighting: #fbbf24;
  --prop-lighting-bg: rgba(251, 191, 36, 0.15);
  --prop-lighting-border: rgba(251, 191, 36, 0.35);

  --prop-tech: #38bdf8;
  --prop-tech-bg: rgba(56, 189, 248, 0.15);
  --prop-tech-border: rgba(56, 189, 248, 0.35);

  --prop-household: #2dd4bf;
  --prop-household-bg: rgba(20, 184, 166, 0.15);
  --prop-household-border: rgba(20, 184, 166, 0.35);

  --prop-tool: #cbd5e1;
  --prop-tool-bg: rgba(148, 163, 184, 0.16);
  --prop-tool-border: rgba(148, 163, 184, 0.35);

  --prop-intensity-bg: rgba(180, 83, 9, 0.16);
  --prop-intensity-border: rgba(180, 83, 9, 0.35);

  /* Amazon external CTA button */
  --amazon-bg: #ff9900;
  --amazon-bg-hover: #ffaa1a;
  --amazon-border: #ffdfae;
  --amazon-text: #111111;

  /* Borders & shadows */
  --border-color: #334155;
  --border-subtle: #1e293b;
  --border-soft: rgba(51, 65, 85, 0.45);
  --border-faint: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);
  --border-btn-action: #2e3d50;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
  --shadow-popover: 0 14px 30px -4px rgba(0, 0, 0, 0.6), 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 25px rgba(59, 130, 246, 0.3);

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}
