/*
Theme Name: GLP1 Weight Loss
Theme URI: https://glp1weightloss.net
Author: GLP1WeightLoss.net
Author URI: https://glp1weightloss.net
Description: A clean, professional theme for GLP-1 weight loss product comparison and reviews.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: glp1weightloss
Tags: one-column, custom-menu, featured-images, translation-ready
*/

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */

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

:root {
  --background: hsl(240, 20%, 98%);
  --foreground: hsl(270, 30%, 18%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(270, 30%, 18%);
  --primary: hsl(265, 50%, 45%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(265, 60%, 96%);
  --secondary-foreground: hsl(265, 50%, 35%);
  --muted: hsl(265, 20%, 94%);
  --muted-foreground: hsl(270, 10%, 45%);
  --border: hsl(265, 30%, 88%);
  --purple-soft: hsl(265, 60%, 96%);
  --purple-medium: hsl(265, 50%, 45%);
  --purple-dark: hsl(270, 40%, 12%);
  --lavender: hsl(265, 70%, 97%);
  --pill-top: hsl(145, 60%, 40%);
  --pill-strong: hsl(200, 70%, 45%);
  --pill-notable: hsl(35, 85%, 55%);
  --pill-tracked: hsl(270, 30%, 50%);
  --radius: 0.75rem;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
  color: var(--foreground);
  background-color: var(--background);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  text-decoration: underline;
}

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

ul {
  list-style-position: inside;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

/* ============================================
   LAYOUT
   ============================================ */

.container-main {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 252, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.site-logo svg {
  width: 40px;
  height: 40px;
  color: var(--primary);
}

.site-logo span {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--foreground);
}

.site-logo .highlight {
  color: var(--primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--primary);
  text-decoration: none;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card);
    padding: 16px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
  padding: 48px 0 64px;
}

.hero-content {
  max-width: 768px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  border-radius: 9999px;
  background: var(--secondary);
  color: var(--secondary-foreground);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-tagline {
  font-size: 1.125rem;
  opacity: 0.8;
  margin-bottom: 16px;
}

.hero-description {
  opacity: 0.75;
  margin-bottom: 24px;
}

.hero-list {
  margin-bottom: 32px;
  opacity: 0.8;
}

.hero-list li {
  margin-bottom: 4px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 4px 12px rgba(106, 77, 153, 0.25);
}

.btn-primary:hover {
  opacity: 0.9;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(106, 77, 153, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--secondary);
  text-decoration: none;
}

/* ============================================
   3-STEP STRIP
   ============================================ */

.strip-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 32px 0;
}

@media (max-width: 768px) {
  .strip-section {
    grid-template-columns: 1fr;
  }
}

.strip-item-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
}

.strip-item p {
  font-size: 0.875rem;
  opacity: 0.75;
}

/* ============================================
   PRODUCT GRID
   ============================================ */

.products-section {
  padding: 40px 0;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-description {
  opacity: 0.75;
  max-width: 768px;
  margin-bottom: 32px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: var(--card);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease;
}

.product-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.product-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 9999px;
  color: white;
  margin-bottom: 16px;
}

.pill-top-pick {
  background: var(--pill-top);
}

.pill-strong {
  background: var(--pill-strong);
}

.pill-notable {
  background: var(--pill-notable);
  color: hsl(270, 30%, 15%);
}

.pill-tracked {
  background: var(--pill-tracked);
}

.product-image-wrapper {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--lavender);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.product-image-wrapper img {
  max-height: 192px;
  object-fit: contain;
}

.product-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.product-body {
  font-size: 0.875rem;
  opacity: 0.85;
  margin-bottom: 16px;
}

.product-body p {
  margin-bottom: 8px;
}

.product-body ul {
  margin-top: 8px;
}

.product-body li {
  margin-bottom: 4px;
}

.product-ctas {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.product-ctas a {
  text-align: center;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  text-decoration: none;
}

.product-ctas a:first-child {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.product-ctas a:first-child:hover {
  opacity: 0.9;
}

.product-ctas a.secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--muted-foreground);
}

.product-ctas a.secondary:hover {
  background: var(--muted);
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
  padding: 40px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-item {
  background: var(--card);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--border);
}

.faq-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 0.875rem;
  opacity: 0.8;
}

.link-row {
  font-size: 0.875rem;
  margin-top: 24px;
  padding: 16px;
  background: var(--muted);
  border-radius: 8px;
}

.link-row a {
  color: var(--primary);
}

/* ============================================
   GUIDES BOX
   ============================================ */

.guides-box {
  border-radius: 24px;
  padding: 20px;
  text-align: center;
  border: 1px solid hsl(265, 40%, 85%);
  background: var(--purple-soft);
  box-shadow: 0 8px 18px rgba(90, 60, 170, 0.08);
  margin: 40px 0;
}

.guides-box-title {
  display: block;
  margin-bottom: 12px;
  font-size: 1.08rem;
  font-weight: 600;
  color: hsl(265, 50%, 35%);
}

.guides-box ul {
  text-align: left;
  display: inline-block;
  font-size: 0.95rem;
  line-height: 1.6;
}

.guides-box li {
  margin-bottom: 4px;
}

.guides-box a {
  color: hsl(265, 50%, 35%);
}

.guides-box a:hover {
  text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--purple-dark);
  color: hsl(265, 30%, 90%);
  padding: 32px 16px;
  text-align: center;
  font-size: 0.8125rem;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.footer-logo {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 12px;
}

.footer-disclaimer {
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

.footer-nav a {
  color: hsl(265, 30%, 90%);
  opacity: 0.9;
}

.footer-nav a:hover {
  opacity: 1;
}

.footer-nav .sep {
  opacity: 0.5;
}

.footer-affiliate {
  font-size: 0.75rem;
  opacity: 0.75;
  line-height: 1.55;
  max-width: 700px;
  margin: 0 auto;
}
