/* ==========================================
   SMPLY CAPITAL DESIGN SYSTEM — White Theme
   ========================================== */

:root {
  --font-heading: 'Gilda Display', Georgia, serif;
  --font-body: 'Poppins', sans-serif;

  --bg: #f7f7f5;
  --bg-card: rgba(255,255,255,0.85);
  --text-primary: #0a0a1a;
  --text-secondary: #4a4a6a;
  --text-muted: #8888aa;
  --accent: #4F46E5;
  --accent-2: #818CF8;
  --accent-gradient: linear-gradient(135deg, #4F46E5, #818CF8);
  --border: rgba(79,70,229,0.12);
  --border-hover: rgba(79,70,229,0.3);
  --shadow-sm: 0 2px 12px rgba(79,70,229,0.08);
  --shadow-md: 0 8px 32px rgba(79,70,229,0.12);
  --shadow-lg: 0 20px 60px rgba(79,70,229,0.16);
  --grid-line: rgba(79,70,229,0.07);
  --radius: 16px;
  --radius-lg: 24px;

  /* Legacy spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 400; /* Gilda Display looks best at regular weight */
}

h6 { font-family: var(--font-heading); }

a { color: var(--accent); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: #4338ca; }

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Utilities */
.text-center { text-align: center; }
.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(79,70,229,0.2); border-radius: 3px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 768px) {
  :root {
    --space-3xl: 3rem;
    --space-2xl: 2rem;
  }
  .container { padding: 0 var(--space-md); }
}
