/* Google Font - Work Sans */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/* ===== CSS RESET & BOX SIZING ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Colors */
  --picto-primary: #9929fb;
  --picto-primary-dark: #650fa0;
  --soft-white: #f0f1f3;
  --soft-dark: #87909d;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --black: #000000;

  /* Breakpoints reference (used in @media) */
  /* xxs: 340px, xs: 363px, sm: 640px, md: 768px, lg: 1024px, xl: 1280px, xxl: 1320px */

  /* Transitions */
  --transition-default: all 200ms ease;
  --transition-slow: all 500ms ease;
  --transition-fast: all 300ms ease;
}

/* ===== GLOBAL STYLES ===== */
body {
  font-family: "Work Sans", sans-serif;
  color: var(--gray-900);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  font-family: inherit;
}

input, textarea {
  font-family: inherit;
}

/* ===== GLOBAL TRANSITION ===== */
* {
  transition: var(--transition-default);
}

/* ===== UTILITY CLASSES ===== */

/* Content container */
.content {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1320px) {
  .content {
    max-width: 1320px;
  }
}

/* Section title */
.section-title {
  font-size: 1.875rem; /* text-3xl = 30px */
  font-weight: 500;
}
@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem; /* text-4xl = 36px */
  }
}
@media (min-width: 768px) {
  .section-title {
    font-size: 3rem; /* text-5xl = 48px */
    font-weight: 600;
  }
}

/* Button Primary */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--picto-primary);
  color: var(--white);
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-slow);
  text-decoration: none;
}
.btn-primary:hover {
  background-color: var(--picto-primary-dark);
  transform: scale(1.02);
}

/* Button outline */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--white);
  color: var(--gray-900);
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
}
.btn-outline:hover {
  border-color: var(--picto-primary);
  color: var(--picto-primary);
}

/* Center flex */
.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== GRADIENT BACKGROUNDS ===== */
.introduction-profile-background {
  background:
    radial-gradient(circle at 12% 100%, #ffe2b0f5 1% 5px, transparent 15%),
    radial-gradient(circle at 95% -15%, #da4df166 5%, transparent 30%),
    radial-gradient(circle at center right, #c4f5e9b2 2%, transparent 35%);
}

.blog-background {
  background:
    radial-gradient(circle at -10% 0%, #da4df166 1%, transparent 25%),
    radial-gradient(circle at 110% 30%, #c4f5e9b2 5%, transparent 25%);
}

/* ===== HIGHLIGHT TEXT ===== */
.bg-highlight {
  background: linear-gradient(to top, #ffc8c8 40%, transparent 40%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding-left: 2px;
  padding-right: 2px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--soft-white);
}
::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gray-500);
}
