@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

/* Master CSS Design System for Dusty macOS Cleaner - 100% Native App Color Palette */
:root, html.dark {
  --bg-dark: #090e10;        /* Dark rail background */
  --bg-page: #0e1618;        /* Deep dark slate page background */
  --bg-sidebar: #121c1f;     /* Dark sidebar background */
  --bg-card: #19272b;        /* Dark card background */
  --bg-card-hover: #1f3136;  /* Elevated card background */
  
  --border-glass: transparent;
  --border-glass-hover: transparent;
  
  --color-primary: #63aeb7;    /* Logo Primary Cyan/Teal */
  --color-on-primary: #052024;
  --color-secondary: #80bdc4;  /* Logo Secondary Mint/Ice */
  --color-on-secondary: #072528;
  --color-tertiary: #f2ba33;   /* Yellow accent */
  --color-red: #ff5963;        /* Red accent */
  
  --color-text-on-surface: #e3e8ea;
  --color-text-muted: #829c9f;
  --color-outline: #2c4247;

  --surface-container: #121c1f;
  --surface-container-low: #090e10;
  --surface-container-lowest: #0e1618; /* Same as body color */
  --surface-container-high: #19272b;
  --surface-container-highest: #1f3136;
  --surface-variant: #1f3136;

  --glow-blue: rgba(99, 174, 183, 0.35);
  --glow-green: rgba(128, 189, 196, 0.35);
  --glow-orange: rgba(255, 89, 99, 0.35);
  --glow-yellow: rgba(242, 186, 51, 0.35);

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --hero-radial: radial-gradient(circle at 50% 50%, #19272b 0%, #0e1618 100%);
}

html.light {
  --bg-dark: #e5eff1;        /* Light rail background */
  --bg-page: #f3f8f9;        /* Soft icy page background */
  --bg-sidebar: #eaf2f4;     /* Light sidebar background */
  --bg-card: #ffffff;        /* Light card background */
  --bg-card-hover: #ffffff;  /* Elevated white card background */
  
  --border-glass: transparent;
  --border-glass-hover: transparent;
  
  --color-primary: #38a5b5;    /* Logo Primary Cyan/Teal (Light theme high contrast) */
  --color-on-primary: #ffffff;
  --color-secondary: #4d9aa5;
  --color-on-secondary: #ffffff;
  --color-tertiary: #d49615;
  --color-red: #e03e48;
  
  --color-text-on-surface: #0f1e21;
  --color-text-muted: #415c63;
  --color-outline: #bcd2d6;

  --surface-container: #ffffff;
  --surface-container-low: #f3f8f9;
  --surface-container-lowest: #f3f8f9; /* Same as body color in light theme */
  --surface-container-high: #e0edf0;
  --surface-container-highest: #ffffff;
  --surface-variant: #ffffff;

  --glow-blue: rgba(56, 165, 181, 0.25);
  --glow-green: rgba(77, 154, 165, 0.25);
  --glow-orange: rgba(224, 62, 72, 0.25);
  --glow-yellow: rgba(212, 150, 21, 0.25);

  --shadow-card: 0 10px 30px -10px rgba(15, 30, 33, 0.08);
  --hero-radial: radial-gradient(circle at 50% 50%, #ffffff 0%, #f3f8f9 100%);
}

/* Global No-Border Requirement */
*, *::before, *::after {
  box-sizing: border-box;
  border: 0 !important;
  border-width: 0 !important;
  border-color: transparent !important;
  border-style: none !important;
}

html, body {
  background-color: var(--bg-page) !important;
  color: var(--color-text-on-surface) !important;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Header & Footer merged seamlessly with body background, no shadows or borders */
header, footer {
  background-color: var(--bg-page) !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Footer bottom copyright section - no upper border line */
footer div {
  border: 0 !important;
  border-top: 0 !important;
}

/* Cards & Panels - Shadow only, no borders */
.glass-card, .glass-panel {
  background: var(--bg-card) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 0 !important;
  box-shadow: var(--shadow-card) !important;
  transition: all 0.3s ease;
}

.glass-card:hover, .glass-panel:hover {
  background: var(--bg-card-hover) !important;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.12) !important;
}

/* Accent Glow Effects */
.accent-glow-blue {
  box-shadow: 0 0 25px var(--glow-blue) !important;
}

.accent-glow-green {
  box-shadow: 0 0 25px var(--glow-green) !important;
}

.accent-glow-orange {
  box-shadow: 0 0 25px var(--glow-orange) !important;
}

.accent-glow-yellow {
  box-shadow: 0 0 25px var(--glow-yellow) !important;
}

/* Theme Toggle Button - Icon only, height matches Buy Now button (42px) */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 0.75rem;
  background: var(--bg-card);
  color: var(--color-text-on-surface);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  border: 0 !important;
}

.theme-toggle-btn:hover {
  background: var(--bg-card-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Floating Animation */
@keyframes floatAnimation {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.floating {
  animation: floatAnimation 6s ease-in-out infinite;
}

/* Material Symbols Icon Sizing */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

/* Custom Selection Highlight */
::selection {
  background: rgba(56, 165, 181, 0.25);
  color: var(--color-text-on-surface);
}

/* Smooth Scroll behavior */
html {
  scroll-behavior: smooth;
}
