/* ========================================
   WhisperTyping Design System - Base
   Foundation styles, variables, and resets
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand Colors */
  --color-orange: #ff7000;
  --color-pink: #e5498a;
  --color-magenta: #e750e6;
  --color-info: #00c1fa;
  --color-success: #00a616;

  /* Text Colors */
  --color-text: #1a1a2e;
  --color-text-dark: #001122;
  --color-text-light: #555566;
  --color-text-muted: #888899;
  --color-text-grey: #464646;

  /* Backgrounds */
  --color-bg: #ffffff;
  --color-bg-alt: #f8f7fa;
  --color-bg-grey: #f5f5f5;
  --color-bg-dark: #001122;

  /* Borders */
  --color-border: #e8e6ee;
  --color-border-light: #f0eef4;

  /* Gradients */
  --gradient-hero: linear-gradient(90deg, #ff7000 0%, #e5498a 70%, #e750e6 100%);
  --gradient-badge: radial-gradient(118% 312% at 0 0, #e82eb0 0%, #ff7547 100%);
  --gradient-button: radial-gradient(144% 603% at 112.1% 137.5%, #ff8065 0%, #f9a020 100%);
  --gradient-button-pink: radial-gradient(144% 603% at 112.1% 137.5%, rgb(250, 62, 125) 0%, rgb(133, 46, 209) 100%);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --font-mono: 'SF Mono', 'Monaco', 'Menlo', monospace;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;

  /* Layout */
  --max-width-content: 1000px;
  --max-width-wide: 1200px;
  --max-width-full: 1400px;

  /* Border Radius */
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.05);
  --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-button: 3px 3px rgba(0, 0, 0, 0.2);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* Utility Classes */
.container {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-wide {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-full {
  max-width: var(--max-width-full);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Main content area grows to push footer down */
main {
  flex: 1;
}
