/*
  css/base.css
  Global design tokens, resets, typography.
  Theme: Mint & Sports Green
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand Colors */
  --primary: #24c56b;
  /* Vibrant Green */
  --primary-hover: #1eb65f;
  --secondary: #ffffff;
  --accent: #0ea5e9;
  --brand-start: #24c56b;
  --brand-end: #065f46;
  --brand-gradient: linear-gradient(135deg, var(--brand-start), var(--brand-end));
  --brand-gradient-soft: linear-gradient(135deg, rgba(36, 197, 107, 0.18), rgba(6, 95, 70, 0.24));

  /* Functional Colors */
  --danger: #ef4444;
  --success: #22c55e;
  --warning: #f59e0b;

  /* Backgrounds & Surfaces */
  --bg-body: #020815;
  --bg-surface: #081427;
  --bg-elevated: #0b172d;
  --bg-soft: rgba(255, 255, 255, 0.06);
  --bg-glass: rgba(255, 255, 255, 0.08);
  --bg-glass-dark: rgba(8, 20, 39, 0.8);
  --bg-alt: rgba(255, 255, 255, 0.05);

  /* Text */
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-light: #94a3b8;
  --text-inv: #ffffff;

  /* Borders */
  --border: rgba(255, 255, 255, 0.12);
  --border-soft: rgba(148, 163, 184, 0.18);
  --border-focus: #24c56b;

  /* Spacing & Layout */
  --container-width: 1200px;
  --header-height: 72px;
  --gap: 24px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 9999px;

  /* Effects */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.16);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.22);
  --shadow-lg: 0 20px 70px rgba(0, 0, 0, 0.3);
  --shadow-primary: 0 18px 50px rgba(36, 197, 107, 0.25);

  --transition: all 0.2s ease-in-out;
  --font-main: 'Outfit', sans-serif;
  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  background-image:
    radial-gradient(circle at 10% 10%, rgba(36, 197, 107, 0.12) 0%, transparent 25%),
    radial-gradient(circle at 85% 15%, rgba(14, 165, 233, 0.08) 0%, transparent 22%),
    linear-gradient(180deg, rgba(5, 10, 24, 0.94), rgba(2, 8, 21, 0.98));
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

button {
  font-family: inherit;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
