/* CSS variables and theme overrides */
:root[data-theme="dark"] {
  --bg: #0a0e1a;
  --bg-2: #0f1424;
  --accent: #ff5b3a;
  --accent-2: #ffb347;
  --cyan: #4cd6e3;
  --text: #e8ecf5;
  --muted: #8b93a7;
  --card-bg-from: rgba(255, 255, 255, 0.04);
  --card-bg-to: rgba(255, 255, 255, 0.01);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-hover: rgba(255, 91, 58, 0.4);
  --nav-bg: rgba(0, 0, 0, 0.3);
  --nav-border: rgba(255, 255, 255, 0.05);
  --grid-line: rgba(76, 214, 227, 0.06);
  --soft-bg: rgba(255, 255, 255, 0.05);
  --btn-secondary-border: rgba(255, 255, 255, 0.15);
  --btn-secondary-hover: rgba(255, 255, 255, 0.05);
  --footer-border: rgba(255, 255, 255, 0.05);
  --blob-opacity: 0.5;
}

:root[data-theme="light"] {
  --bg: #f6f7fb;
  --bg-2: #ffffff;
  --accent: #ff5b3a;
  --accent-2: #ff8a3d;
  --cyan: #0891b2;
  --text: #0f1424;
  --muted: #5b6478;
  --card-bg-from: rgba(255, 255, 255, 0.85);
  --card-bg-to: rgba(255, 255, 255, 0.6);
  --card-border: rgba(15, 20, 36, 0.08);
  --card-border-hover: rgba(255, 91, 58, 0.5);
  --nav-bg: rgba(255, 255, 255, 0.7);
  --nav-border: rgba(15, 20, 36, 0.06);
  --grid-line: rgba(15, 20, 36, 0.06);
  --soft-bg: rgba(15, 20, 36, 0.04);
  --btn-secondary-border: rgba(15, 20, 36, 0.12);
  --btn-secondary-hover: rgba(15, 20, 36, 0.04);
  --footer-border: rgba(15, 20, 36, 0.08);
  --blob-opacity: 0.25;
}

* {
  font-family: "Inter", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Light theme overrides for Tailwind utility classes used in markup */
:root[data-theme="light"] .text-gray-300 { color: #4b5363 !important; }
:root[data-theme="light"] .text-gray-400 { color: #5b6478 !important; }
:root[data-theme="light"] .text-gray-500 { color: #6b7388 !important; }
:root[data-theme="light"] .text-white { color: #0f1424 !important; }
:root[data-theme="light"] .bg-white\/5 { background: rgba(15, 20, 36, 0.04) !important; }
:root[data-theme="light"] .bg-white\/10 { background: rgba(15, 20, 36, 0.06) !important; }
:root[data-theme="light"] .border-white\/5 { border-color: rgba(15, 20, 36, 0.06) !important; }
:root[data-theme="light"] .border-white\/10 { border-color: rgba(15, 20, 36, 0.08) !important; }
:root[data-theme="light"] .border-white\/15 { border-color: rgba(15, 20, 36, 0.12) !important; }
:root[data-theme="light"] .bg-black\/30 { background: rgba(255, 255, 255, 0.7) !important; }
:root[data-theme="light"] .text-black { color: #ffffff !important; }
