/*
 * Pico X Health Static Pages CSS Framework
 * Extracted from index.css and tailwind.config.ts
 * For pure HTML/CSS pages (no JavaScript required)
 */

/* ============================================
   FONTS
   ============================================ */
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Source+Serif+Pro:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;700&display=swap");

/* ============================================
   CSS VARIABLES (Light Mode)
   ============================================ */
:root {
  /* Colors */
  --background: 60 4% 95%;
  --foreground: 24 9% 10%;
  --card: 60 9% 97%;
  --card-foreground: 24 9% 10%;
  --popover: 20 5% 90%;
  --popover-foreground: 24 9% 10%;
  --primary: 37 92% 50%;
  --primary-foreground: 47 100% 96%;
  --primary-glow: 187 85% 50%;
  --secondary: 24 5% 44%;
  --secondary-foreground: 60 9% 97%;
  --muted: 23 5% 82%;
  --muted-foreground: 24 9% 10%;
  --accent: 47 100% 96%;
  --accent-foreground: 37 92% 50%;
  --destructive: 0 72% 50%;
  --destructive-foreground: 0 85% 97%;
  --border: 23 5% 82%;
  --input: 23 5% 82%;
  --ring: 37 92% 50%;
  --radius: 1rem;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(187 85% 35%), hsl(187 85% 50%));
  --gradient-hero: linear-gradient(135deg, hsl(210 100% 6% / 0.4), hsl(187 85% 35% / 0.3));
  --gradient-subtle: linear-gradient(180deg, hsl(0 0% 100%), hsl(210 20% 98%));

  /* Shadows */
  --shadow-elegant: 0 10px 40px -10px hsl(187 85% 35% / 0.2);
  --shadow-glow: 0 0 60px hsl(187 85% 50% / 0.15);
  --shadow-2xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
  --shadow-xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
  --shadow-sm: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 1px 2px -1px hsl(0 0% 0% / 0.1);
  --shadow-md: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 2px 4px -1px hsl(0 0% 0% / 0.1);
  --shadow-lg: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 4px 6px -1px hsl(0 0% 0% / 0.1);
  --shadow-xl: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 8px 10px -1px hsl(0 0% 0% / 0.1);
  --shadow-2xl: 0 1px 3px 0px hsl(0 0% 0% / 0.25);

  /* Typography */
  --font-sans: 'Source Sans Pro', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  --font-serif: 'Source Serif Pro', ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
  --font-mono: 'Source Code Pro', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;

  /* Transition */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   DARK MODE
   ============================================ */
.dark {
  --background: 24 9% 10%;
  --foreground: 60 9% 97%;
  --card: 12 6% 15%;
  --card-foreground: 60 9% 97%;
  --popover: 30 6% 25%;
  --popover-foreground: 60 9% 97%;
  --primary: 43 96% 56%;
  --primary-foreground: 20 91% 14%;
  --primary-glow: 187 85% 60%;
  --secondary: 24 5% 44%;
  --secondary-foreground: 60 9% 97%;
  --muted: 24 5% 44%;
  --muted-foreground: 60 9% 97%;
  --accent: 25 83% 14%;
  --accent-foreground: 47 95% 53%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 85% 97%;
  --border: 33 5% 32%;
  --input: 33 5% 32%;
  --ring: 43 96% 56%;
  --gradient-primary: linear-gradient(135deg, hsl(187 85% 45%), hsl(187 85% 60%));
  --gradient-hero: linear-gradient(135deg, hsl(210 100% 6% / 0.5), hsl(187 85% 35% / 0.4));
  --gradient-subtle: linear-gradient(180deg, hsl(210 100% 6%), hsl(210 100% 8%));
  --shadow-elegant: 0 10px 40px -10px hsl(187 85% 50% / 0.3);
  --shadow-glow: 0 0 60px hsl(187 85% 60% / 0.25);
}

/* ============================================
   BASE RESET & STYLES
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.2;
  color: hsl(var(--foreground));
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

.text-primary { color: hsl(var(--primary)); }
.text-muted { color: hsl(var(--muted-foreground)); }
.text-secondary { color: hsl(var(--secondary-foreground)); }

/* ============================================
   CONTAINER
   ============================================ */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: hsl(var(--background) / 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  box-shadow: var(--shadow-sm);
}

.nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, hsl(var(--primary) / 0.3), transparent);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 6rem;
}

@media (min-width: 640px) {
  .nav-container { height: 8rem; }
}

@media (min-width: 768px) {
  .nav-container { height: 11rem; }
}

.nav-logo {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.05);
}

.nav-logo img {
  height: 5rem;
  width: auto;
  object-fit: contain;
}

@media (min-width: 640px) {
  .nav-logo img { height: 7rem; }
}

@media (min-width: 768px) {
  .nav-logo img { height: 10rem; }
}

.nav-links {
  display: none;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.6);
  padding: 0.5rem 0.75rem;
  border-radius: calc(var(--radius) - 4px);
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--primary) / 0.05);
}

.nav-link.active {
  color: hsl(var(--foreground));
  background: hsl(var(--primary) / 0.1);
  font-weight: 600;
}

/* CSS-only dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.6);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nav-dropdown-trigger:hover {
  color: hsl(var(--foreground));
}

.nav-dropdown-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: calc(var(--radius) - 2px);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition-smooth);
  z-index: 50;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown:hover .nav-dropdown-icon {
  transform: rotate(180deg);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.7);
  border-radius: calc(var(--radius) - 4px);
  transition: var(--transition-smooth);
}

.nav-dropdown-item:hover {
  color: hsl(var(--foreground));
  background: linear-gradient(to right, hsl(var(--primary) / 0.05), transparent);
}

.nav-dropdown-item svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary) / 0.6);
}

.nav-dropdown-item:hover svg {
  color: hsl(var(--primary));
}

/* Nav CTA Buttons */
.nav-cta {
  display: none;
  gap: 0.75rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .nav-cta { display: flex; }
}

/* Mobile menu toggle (CSS checkbox hack) */
.nav-toggle {
  display: block;
  padding: 0.75rem;
  min-height: 44px;
  min-width: 44px;
  color: hsl(var(--foreground));
  border-radius: calc(var(--radius) - 4px);
  cursor: pointer;
  transition: background 0.2s ease;
}

.nav-toggle:hover {
  background: hsl(var(--muted) / 0.5);
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}

.nav-toggle-checkbox {
  display: none;
}

.mobile-menu {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid hsl(var(--border) / 0.5);
}

.nav-toggle-checkbox:checked ~ .mobile-menu {
  display: block;
  animation: fadeIn 0.3s ease;
}

@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.7);
  padding: 0.625rem 0.5rem;
  border-radius: calc(var(--radius) - 4px);
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  color: hsl(var(--foreground));
  background: hsl(var(--muted) / 0.5);
}

/* Mobile dropdown using details/summary */
.mobile-dropdown > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.7);
  padding: 0.625rem 0.5rem;
  border-radius: calc(var(--radius) - 4px);
  min-height: 44px;
  cursor: pointer;
  list-style: none;
}

.mobile-dropdown > summary::-webkit-details-marker {
  display: none;
}

.mobile-dropdown > summary::after {
  content: '▼';
  font-size: 0.625rem;
  transition: transform 0.2s ease;
}

.mobile-dropdown[open] > summary::after {
  transform: rotate(180deg);
}

.mobile-dropdown-content {
  padding-left: 0.75rem;
  padding-top: 0.5rem;
  margin-left: 0.5rem;
  border-left: 2px solid hsl(var(--primary) / 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: calc(var(--radius) - 2px);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(to right, hsl(var(--primary)), hsl(var(--primary) / 0.8));
  color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
  box-shadow: var(--shadow-lg), 0 0 20px hsl(var(--primary) / 0.2);
  transform: scale(1.05);
}

.btn-secondary {
  background: hsl(var(--primary) / 0.05);
  color: hsl(var(--primary));
  border: 2px solid hsl(var(--primary) / 0.2);
  border-radius: 9999px;
}

.btn-secondary:hover {
  background: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary) / 0.4);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border) / 0.5);
}

.btn-outline:hover {
  border-color: hsl(var(--primary) / 0.3);
  background: hsl(var(--primary) / 0.05);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border) / 0.5);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid hsl(var(--border) / 0.3);
}

.card-content {
  padding: 1.5rem;
}

.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid hsl(var(--border) / 0.3);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  color: white;
  animation: fadeInUp 0.8s ease;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: hsl(var(--primary) / 0.2);
  border: 1px solid hsl(var(--primary) / 0.3);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--primary-foreground));
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: white;
}

.hero-title .highlight {
  background: linear-gradient(to right, hsl(var(--primary)), hsl(var(--primary-glow)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section { padding: 5rem 0; }
}

@media (min-width: 1024px) {
  .section { padding: 6rem 0; }
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
}

/* ============================================
   GRID LAYOUTS
   ============================================ */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================
   BADGES
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
}

.badge-primary {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

.badge-success {
  background: hsl(142 76% 36% / 0.1);
  color: hsl(142 76% 36%);
}

/* ============================================
   FAQ ACCORDION (Details/Summary)
   ============================================ */
.faq-item {
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: hsl(var(--primary) / 0.3);
}

.faq-item > summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  background: hsl(var(--card));
  transition: background 0.2s ease;
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-item > summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: hsl(var(--primary));
  transition: transform 0.2s ease;
}

.faq-item[open] > summary::after {
  content: '−';
}

.faq-item[open] > summary {
  background: hsl(var(--primary) / 0.05);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

/* ============================================
   TESTIMONIALS GRID (Static)
   ============================================ */
.testimonials-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

.testimonial-card {
  background: hsl(var(--card));
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid hsl(var(--border) / 0.5);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: hsl(var(--primary));
}

.testimonial-quote {
  font-style: italic;
  color: hsl(var(--foreground) / 0.8);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.875rem;
}

.testimonial-role {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* ============================================
   PRICING TABLE
   ============================================ */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: hsl(var(--card));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.pricing-table th,
.pricing-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid hsl(var(--border) / 0.3);
}

.pricing-table th {
  background: hsl(var(--primary) / 0.1);
  font-weight: 600;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
}

.pricing-table tbody tr:hover {
  background: hsl(var(--primary) / 0.02);
}

.pricing-table td:first-child {
  font-weight: 500;
}

.price-value {
  font-weight: 700;
  color: hsl(var(--primary));
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(5, 1fr); }
}

.footer-brand p {
  color: hsl(var(--secondary-foreground) / 0.7);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.footer-logo {
  height: 6rem;
  width: auto;
  margin-bottom: 1rem;
  filter: invert(1);
}

@media (min-width: 640px) {
  .footer-logo { height: 8rem; }
}

.footer-title {
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  font-size: 0.875rem;
  color: hsl(var(--secondary-foreground) / 0.7);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: hsl(var(--secondary-foreground));
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--secondary-foreground) / 0.1);
  border-radius: calc(var(--radius) - 4px);
  transition: background 0.2s ease;
}

.footer-social a:hover {
  background: hsl(var(--primary));
}

.footer-bottom {
  border-top: 1px solid hsl(var(--secondary-foreground) / 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  color: hsl(var(--secondary-foreground) / 0.6);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.875rem;
  color: hsl(var(--secondary-foreground) / 0.6);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: hsl(var(--secondary-foreground));
}

/* ============================================
   ECO BADGES
   ============================================ */
.eco-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.eco-badge {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: hsl(var(--secondary-foreground) / 0.05);
  border: 1px solid hsl(var(--secondary-foreground) / 0.1);
  border-radius: 9999px;
  font-size: 0.75rem;
  color: hsl(var(--secondary-foreground) / 0.7);
}

.eco-badge svg {
  width: 0.875rem;
  height: 0.875rem;
  color: hsl(var(--primary));
}

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-card {
  background: hsl(var(--card));
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid hsl(var(--border) / 0.5);
  transition: var(--transition-smooth);
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-category {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.blog-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.blog-card-excerpt {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
  line-height: 1.6;
}

.blog-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  padding: 1rem 0;
}

.breadcrumbs a {
  color: hsl(var(--primary));
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: hsl(var(--foreground));
}

.breadcrumbs span {
  color: hsl(var(--muted-foreground));
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUpLong {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px hsl(var(--primary-glow) / 0.3);
  }
  50% {
    box-shadow: 0 0 40px hsl(var(--primary-glow) / 0.6);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease;
}

.animate-fade-in-up-long {
  animation: fadeInUpLong 0.8s ease;
}

.animate-scale-in {
  animation: scaleIn 0.4s ease;
}

.animate-bounce {
  animation: bounce 2s ease-in-out infinite;
}

.animate-glow-pulse {
  animation: glowPulse 3s ease-in-out infinite;
}

/* ============================================
   UTILITIES
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.hidden { display: none; }

@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:hidden { display: none; }
}

@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:hidden { display: none; }
  .md\:flex { display: flex; }
}

@media (min-width: 1024px) {
  .lg\:block { display: block; }
  .lg\:hidden { display: none; }
  .lg\:flex { display: flex; }
}

.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }

.rounded { border-radius: var(--radius); }
.rounded-full { border-radius: 9999px; }

.shadow { box-shadow: var(--shadow-sm); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

.bg-card { background: hsl(var(--card)); }
.bg-primary { background: hsl(var(--primary)); }
.bg-muted { background: hsl(var(--muted)); }

.border { border: 1px solid hsl(var(--border)); }
.border-primary { border-color: hsl(var(--primary)); }

/* Group Divisions Grid (Footer) */
.group-divisions {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(2, 1fr);
  padding: 1rem 1.5rem;
  background: hsl(var(--secondary-foreground) / 0.05);
  border-radius: var(--radius);
  border: 1px solid hsl(var(--secondary-foreground) / 0.1);
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .group-divisions { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .group-divisions { grid-template-columns: repeat(6, 1fr); }
}

.division-link {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid hsl(var(--secondary-foreground) / 0.1);
  background: hsl(var(--secondary-foreground) / 0.05);
  transition: var(--transition-smooth);
}

.division-link:hover {
  background: hsl(var(--secondary-foreground) / 0.1);
  border-color: hsl(var(--secondary-foreground) / 0.2);
}

.division-link.current {
  background: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary) / 0.3);
}

.division-label {
  font-size: 0.6875rem;
  color: hsl(var(--secondary-foreground) / 0.5);
  margin-bottom: 0.25rem;
}

.division-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--secondary-foreground));
}
