/* ==========================================================================
   RestoOS — Design System & Tokens
   Hospitality-Focused Premium SaaS Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Surface colors: Deep warm slate/obsidian palette */
  --bg-page: #0C0F14;
  --bg-subtle: #111620;
  --bg-card: rgba(19, 25, 36, 0.72);
  --bg-card-hover: rgba(26, 34, 48, 0.85);
  --bg-card-solid: #151C28;
  --bg-elevated: #1C2433;
  --bg-overlay: rgba(12, 15, 20, 0.82);

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-focus: #C8A97E;
  --border-accent: rgba(200, 169, 126, 0.35);

  /* Warm hospitality metallic & brass accents */
  --accent-brass: #C8A97E;
  --accent-brass-hover: #DFC197;
  --accent-brass-deep: #8E734E;
  --accent-brass-glow: rgba(200, 169, 126, 0.2);
  --accent-brass-subtle: rgba(200, 169, 126, 0.1);

  /* Supporting functional accents */
  --accent-emerald: #10B981;
  --accent-emerald-soft: rgba(16, 185, 129, 0.15);
  --accent-blue: #3B82F6;
  --accent-amber: #F59E0B;
  --accent-rose: #F43F5E;

  /* Typography Colors */
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #8492A6;
  --text-faint: #475569;
  --text-brass: #DFC197;

  /* Fonts */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Typography Scale */
  --fs-eyebrow: 0.75rem;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: clamp(1.4rem, 4vw, 2.25rem);
  --fs-3xl: clamp(1.75rem, 5vw, 3.25rem);
  --fs-hero: clamp(1.65rem, 6.5vw, 4rem);

  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Border Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 9999px;

  /* Shadows & Elevations */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-brass: 0 0 24px rgba(200, 169, 126, 0.16);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 250ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-w-content: 1280px;
  --max-w-text: 720px;
  --nav-height: 76px;
}

/* Base Reset & Smooth Defaults */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Accessibility Focus States */
:focus-visible {
  outline: 2px solid var(--accent-brass);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-w-content);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

@media (max-width: 640px) {
  .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
}

.section {
  padding-top: var(--space-24);
  padding-bottom: var(--space-24);
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
  }
}

.section-header {
  text-align: center;
  max-width: var(--max-w-text);
  margin: 0 auto var(--space-16) auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-brass);
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Background Atmosphere Gradients */
.bg-glow-radial {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 900px);
  max-width: 100vw;
  height: 500px;
  background: radial-gradient(circle, rgba(200, 169, 126, 0.07) 0%, rgba(12, 15, 20, 0) 70%);
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-glow-emerald {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 600px);
  max-width: 100vw;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, rgba(12, 15, 20, 0) 70%);
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
