/* ==========================================================================
   PROTEINFUEL - GLOBAL CSS (Design System & Reset)
   ========================================================================== */

:root {
  /* Brand Colors */
  --green: #01a643;
  --green-dark: #017a31;
  --green-light: rgba(1, 166, 67, 0.1);
  --green-subtle: rgba(0, 201, 80, 0.07);
  --lime: #81c02a;
  --lime-hover: #72aa24;
  --lime-accent: #5d9f00;
  --lime-bright: #a8ee52;
  --lime-bg: #eef8e5;
  --lime-subtle: rgba(129, 192, 42, 0.08);
  --pale: #cffa93;
  --ink: #2e2e2e;
  --ink-dark: #0d100e;
  --ink-light: #555555;
  --ink-muted: #999e9c;
  --dark: #324f37;
  --dark-accent: #233927;
  --soft: #faf8f8;
  --soft-border: #f0f0f0;
  --line: #e9e9e9;
  --line-dark: #111111;
  --gray-light: #eeeeee;
  --gray-bg: #f5f5f5;
  --gray-card: #f8f9fa;
  --white: #ffffff;
  --black: #000000;

  /* Overlays & Shadows */
  --overlay-header: rgba(255, 255, 255, 0.88);
  --overlay-nav-pill: rgba(255, 255, 255, 0.42);
  --overlay-brand-strip: rgba(255, 255, 255, 0.55);
  --overlay-card-dark: rgba(255, 255, 255, 0.08);
  --overlay-card-dark-hover: rgba(255, 255, 255, 0.14);
  --overlay-audience: rgba(50, 79, 55, 0.88);

  /* Layout & Spacing */
  --container: 1288px;
  --header-height: 90px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-xl: 50px;
  --radius-full: 9999px;

  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 10px 25px rgba(129, 192, 42, 0.25);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--white);
  font-family:
    "Raleway",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: var(--lime);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--green);
}

/* Skip Link for Accessibility */
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 9999;
  background: var(--dark);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 20px;
}

/* Section Bases */
.section-light {
  background-color: var(--white);
}

.section-soft {
  background-color: var(--soft);
}

.dark-section {
  background-color: var(--dark);
  color: var(--white);
}

.section-pad {
  padding: 110px 0;
}

@media (max-width: 991.98px) {
  .section-pad {
    padding: 70px 0;
  }
}

@media (max-width: 575.98px) {
  .section-pad {
    padding: 50px 0;
  }
}

/* Container Customization */
.container {
  max-width: var(--container);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Section Header Component */
.section-head {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto 100px;
}

@media (max-width: 575.98px) {
  .section-head {
    margin: 0 auto 60px;
  }
}

/* Common Section Badge for all 17 Sections */
.section-badge,
.section-head > span {
  display: inline-block;
  color: var(--green) !important;
  font-weight: 600;
  font-size: var(--fs-eyebrow);
  line-height: var(--lh-eyebrow);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  font-family: var(--rail);
}

/* .section-head.light .section-badge,
.section-head.light > span {
  color: var(--lime-bright);
} */

/* Section Head Heading (Inherits base h2 styling from typography.css) */
.section-head h2 {
  margin: 0 auto 24px;
  max-width: 1150px;
}

/* Section Head Lead Paragraph (Inherits lead styling from typography.css) */
.section-head p {
  max-width: 1180px;
  margin: 0 auto;
}

/* Buttons */
.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(90deg, var(--lime), var(--pale));
  border-radius: var(--radius-full);
  padding: 14px 28px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: 0 4px 15px rgba(129, 192, 42, 0.2);
}

.btn-brand:hover,
.btn-brand:focus {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  color: var(--ink);
}

.btn-brand.btn-large {
  font-size: 1.4rem;
  padding: 18px 45px;
}

/* Utilities */
.text-brand-green {
  color: var(--green) !important;
}

.bg-soft {
  background-color: var(--soft) !important;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(1, 166, 67, 0.1);
  color: var(--green);
}
