/* ===================================
   RecycleWise — Main Stylesheet
   Aesthetic: Organic Brutalism
   Palette: Deep forest + acid lime + warm cream
=================================== */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;700&family=DM+Sans:wght@400;700&display=swap');

:root {
  /* Core 3-Color Palette (60-30-10) */
  --forest: #0d2b1a; /* 30% - Headlines, Text, Borders */
  --cream: #f5f0e8;  /* 60% - Global Neutral Surface */
  --lime: #b7f34d;   /* 10% - Accents, Buttons, Pops */
  
  --white: #ffffff;  /* Card Surfaces */
  --cream-dark: rgba(13, 43, 26, 0.08); /* Replaced with translucent forest */
  --sage: rgba(13, 43, 26, 0.7); /* Replaced with translucent forest */
  --forest-light: rgba(13, 43, 26, 0.8); /* Replaced with translucent forest */

  /* Bin colors (Excluded from 5-color limit) */
  --bin-blue: #3b82f6;
  --bin-green: #22c55e;
  --bin-yellow: #eab308;
  --bin-red: #ef4444;
  --bin-black: #1f2937;

  --radius: 12px;
  --radius-sm: 6px;
  --border-subtle: 1px solid rgba(13, 43, 26, 0.08);
  --shadow: none; /* Borders instead of shadows */
  --shadow-lg: none;

  /* Responsive Spacing & Type */
  --space-unit: clamp(1rem, 2vw, 1.5rem);
  --h1-size: clamp(2.2rem, 8vw, 4.5rem);
  --h2-size: clamp(1.8rem, 6vw, 2.5rem);
  --h3-size: clamp(1.3rem, 4vw, 1.8rem);
}

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

html { 
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--sage);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

/* Custom Scrollbar for a premium look */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--cream-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--sage);
  border: 2px solid var(--cream-dark);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--forest);
}

/* Firefox scrollbar support */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--sage) var(--cream-dark);
}

h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  color: var(--forest);
  line-height: 1.1;
  font-weight: 700;
}

h1 { font-size: var(--h1-size); letter-spacing: -2px; }
h2 { font-size: var(--h2-size); letter-spacing: -1px; }
h3 { font-size: var(--h3-size); }

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  width: 100%;
}

/* Base Components & Utilities */
.alert { padding: 16px 20px; border-radius: var(--radius-sm); font-size: 0.9rem; margin-bottom: 24px; border: 1px solid transparent; }
.alert-success { background: rgba(22, 163, 74, 0.1); border-color: var(--bin-green); color: var(--forest); }
.alert-error { background: rgba(220, 38, 38, 0.1); border-color: var(--bin-red); color: var(--forest); }

.badge-pending { background: #fef9c3; color: #854d0e; font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 100px; text-transform: uppercase; }
.badge-confirmed { background: rgba(22, 163, 74, 0.1); color: var(--bin-green); font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 100px; text-transform: uppercase; }
.badge-rejected { background: rgba(220, 38, 38, 0.1); color: var(--bin-red); font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 100px; text-transform: uppercase; }

/* ===================================  NAVBAR  === */
.navbar {
  position: relative;
  z-index: 100;
  background: var(--forest);
  border-bottom: 3px solid var(--lime);
  /* Use shadow instead of margin/width hacks to fix rounding gaps without overflow */
  box-shadow: 0 1px 0 0 var(--lime), 1px 0 0 0 var(--forest);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-leaf {
  color: var(--lime);
  font-size: 1.6rem;
  filter: drop-shadow(0 0 8px var(--lime));
}

.logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--lime);
}

/* Global Form Elements */
input[type="text"]:not(.search-input),
input[type="password"],
input[type="number"],
input[type="email"],
textarea {
  border: 1.5px solid var(--forest) !important;
  transition: all 0.2s;
}

input:focus, textarea:focus {
  border-color: var(--forest) !important;
  box-shadow: 0 0 0 3px rgba(13, 43, 26, 0.05);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  font-family: 'Syne', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.2s;
  color: rgba(255,255,255,0.65);
  padding: 8px 16px;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-links a.active {
  background: var(--lime);
  color: var(--forest);
  font-weight: 700;
}

.nav-links a.active:hover {
  background: var(--lime);
  opacity: 0.9;
}

.nav-link-login { color: rgba(255,255,255,0.65); }
.nav-link-logout { color: rgba(255,255,255,0.35); }

.nav-link-register {
  color: var(--lime) !important;
  border: 2px solid var(--lime) !important;
  padding: 7px 20px !important;
}

.nav-link-register:hover {
  background: var(--lime) !important;
  color: var(--forest) !important;
}

.nav-link-register.active {
  background: var(--lime) !important;
  color: var(--forest) !important;
}

.nav-link-register:active {
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
}

/* ===================================  HERO  === */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 80px 0;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-bg {
  display: none; /* Removed background shapes/visual noise */
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--forest);
  color: var(--lime);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--space-unit);
}

.hero-title {
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 20px;
}

.hero-title em {
  font-style: normal;
  color: var(--forest-light);
  position: relative;
}

.hero-title em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0; right: 0;
  height: 6px;
  background: var(--lime);
  border-radius: 3px;
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--sage);
  max-width: 480px;
  margin-bottom: 36px;
  font-weight: 400;
  opacity: 0.8;
}

.hero-search { max-width: 500px; }

.search-form {
  display: flex;
  gap: 10px;
  background: white;
  border: 2px solid var(--forest);
  border-radius: 100px;
  padding: 6px 6px 6px 20px;
  box-shadow: none;
}

.search-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  flex: 1;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  background: transparent;
  color: var(--text-dark);
}

.search-input:focus {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-shadow: none !important;
  outline: none !important;
}

.search-input::placeholder { color: var(--text-light); }

.search-btn {
  background: var(--forest);
  color: var(--lime);
  border: none;
  border-radius: 100px;
  padding: 12px 24px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.search-btn:hover { background: var(--sage); transform: scale(1.02); }

/* Bin grid visual */
.hero-visual { position: relative; z-index: 1; }

.bin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bin-card {
  background: var(--white);
  border: 1px solid var(--clr);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--clr);
  transition: all 0.2s ease;
  cursor: pointer;
}

.bin-card:hover { 
  transform: translateY(-2px);
  background: var(--clr);
  color: var(--white);
}

.bin-icon { font-size: 2.4rem; }

/* ===================================  STATS  === */
.stats-strip {
  background: var(--forest);
  padding: 28px 0;
}

.stats-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 8px 32px;
}

.stat-num {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--lime);
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  align-self: center;
}

/* ===================================  SECTIONS  === */
.categories-section,
.tips-preview-section,
.guide-section,
.tips-section,
.detail-section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.section-header p {
  color: var(--text-mid);
  font-size: 1.05rem;
}

/* ===================================  CATEGORY CARDS  === */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.category-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 32px; /* Increased spacing */
  background: white;
  border-radius: var(--radius);
  border: var(--border-subtle);
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.2s;
}

.category-card.paper::before { background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.05)); }
.category-card.recyclable::before { background: linear-gradient(135deg, #dcfce730, #bbf7d020); }
.category-card.organic::before { background: linear-gradient(135deg, #d9f99d30, #bef26420); }
.category-card.hazardous::before { background: linear-gradient(135deg, #fee2e230, #fecaca20); }
.category-card.general::before { background: linear-gradient(135deg, #f3f4f630, #e5e7eb20); }

.category-card:hover { transform: translateY(-4px); box-shadow: none; }
.category-card.paper:hover { border-color: var(--bin-blue); }
.category-card.recyclable:hover { border-color: var(--bin-yellow); }
.category-card.organic:hover { border-color: var(--bin-green); }
.category-card.hazardous:hover { border-color: var(--bin-red); }
.category-card.general:hover { border-color: var(--bin-black); }

.cat-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.cat-info { flex: 1; }
.cat-info h3 { font-size: 1.1rem; font-weight: 700; color: var(--forest); margin-bottom: 4px; }
.cat-info p { font-size: 0.875rem; color: var(--text-mid); }

.cat-arrow {
  font-size: 1.2rem;
  color: var(--text-light);
  transition: transform 0.2s;
}

.category-card:hover .cat-arrow { transform: translateX(4px); color: var(--forest); }

/* ===================================  TIPS  === */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.full-tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tip-card, .full-tip-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.2s;
}

.tip-card:hover, .full-tip-card:hover { transform: translateY(-4px); }

.tip-icon, .tip-big-icon { font-size: 2rem; }

.tip-top { display: flex; justify-content: space-between; align-items: flex-start; }

.tip-category-badge, .tip-cat-badge {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--forest);
  color: var(--lime);
}

.tip-card h3, .full-tip-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--forest);
}

.tip-card p, .full-tip-card p {
  font-size: 0.875rem;
  color: var(--text-mid);
  flex: 1;
  line-height: 1.6;
}

.impact-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.04);
}

.impact-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  white-space: nowrap;
}

.impact-track {
  flex: 1;
  height: 8px;
  background: var(--cream-dark);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}

.impact-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--forest), var(--lime));
  border-radius: 100px;
  transform-origin: left;
  transition: width 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 0 10px rgba(183, 243, 77, 0.4);
}

@keyframes springFill {
  0% { transform: scaleX(0); }
  70% { transform: scaleX(1.1); }
  100% { transform: scaleX(1); }
}

.impact-score {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--forest);
  white-space: nowrap;
}

.section-cta { text-align: center; }

/* ===================================  WASTE GUIDE PAGE  === */
.guide-search-bar { margin-bottom: 28px; }

.guide-search-form {
  display: flex;
  gap: 12px;
  max-width: 640px;
}

.guide-search-input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}

.guide-search-input:focus { border-color: var(--forest); }

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.tab {
  padding: 8px 18px;
  border-radius: 100px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  border: 1px solid rgba(0,0,0,0.1);
  background: var(--white);
  color: var(--sage);
  transition: all 0.2s;
  cursor: pointer;
}

.tab:hover { border-color: var(--forest); color: var(--forest); }
.tab.active { background: var(--forest); border-color: var(--forest); color: var(--lime); }
.tab-blue:hover, .tab-blue.active { border-color: var(--bin-blue); }
.tab-blue.active { background: var(--bin-blue); color: white; }
.tab-yellow:hover, .tab-yellow.active { border-color: var(--bin-yellow); }
.tab-yellow.active { background: var(--bin-yellow); color: white; }
.tab-green:hover, .tab-green.active { border-color: var(--bin-green); }
.tab-green.active { background: var(--bin-green); color: white; }
.tab-red:hover, .tab-red.active { border-color: var(--bin-red); }
.tab-red.active { background: var(--bin-red); color: white; }
.tab-black:hover, .tab-black.active { border-color: var(--bin-black); }
.tab-black.active { background: var(--bin-black); color: white; }

.results-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.results-info a {
  color: var(--sage);
  text-decoration: underline;
  cursor: pointer;
  opacity: 0.7;
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.item-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: var(--border-subtle);
  transition: all 0.2s;
  cursor: pointer;
}

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

.item-bin-blue:hover { border-color: var(--bin-blue); }
.item-bin-green:hover { border-color: var(--bin-green); }
.item-bin-red:hover { border-color: var(--bin-red); }
.item-bin-black:hover { border-color: var(--bin-black); }
.item-bin-yellow:hover { border-color: var(--bin-yellow); }

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.item-emoji { font-size: 2rem; }

.item-bin-badge {
  font-size: 0.65rem;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 100px;
  color: white;
}

.item-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--forest);
}

.item-category-tag {
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--sage);
  opacity: 0.6;
  font-weight: 400;
}

.item-hint {
  font-size: 0.85rem;
  color: var(--sage);
  line-height: 1.5;
  opacity: 0.8;
  flex: 1;
}

.item-read-more {
  font-size: 0.8rem;
  color: var(--forest);
  font-weight: 700;
  margin-top: auto;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-mid);
}

.empty-icon { font-size: 4rem; display: block; margin-bottom: 20px; }
.empty-state h3 { font-size: 1.4rem; margin-bottom: 10px; color: var(--forest); }
.empty-state p { margin-bottom: 28px; }

/* ===================================  DETAIL PAGE  === */
.detail-section { padding: 60px 0 80px; }

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.detail-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--forest);
}

.disposal-card { border-left-color: var(--bin-blue); }
.tips-card { border-left-color: var(--lime); }
.recycle-card { border-left-color: var(--bin-green); }
.bin-card { border-left-color: var(--sage); }

.detail-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.detail-card-header span { font-size: 1.5rem; }
.detail-card-header h2 { font-size: 1.1rem; font-weight: 700; color: var(--forest); }

.detail-card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.bin-display {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 2px solid;
  margin-top: 8px;
}

.bin-color-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

.bin-label {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}

.detail-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===================================  PAGE HERO  === */
.page-hero {
  background: var(--forest);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 1px 0 0 0 var(--forest);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--lime), var(--forest-light), var(--lime));
}

.back-link {
  display: inline-block;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 20px;
  transition: color 0.2s;
}

.back-link:hover { color: var(--lime); }

.page-hero-content { text-align: center; }

.page-hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: white;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}

.page-hero-content p {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
}

.detail-emoji {
  display: block;
  font-size: 4rem;
  margin-bottom: 16px;
}

.item-meta {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.meta-badge {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
}

.meta-bin {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  color: white;
}

/* ===================================  CTA BANNER  === */
.cta-banner {
  background: var(--cream);
  border-top: 2px solid var(--forest);
  border-bottom: 2px solid var(--forest);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '♻';
  position: absolute;
  font-size: 20rem;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.15;
  color: var(--forest);
  line-height: 1;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.cta-content p {
  color: var(--forest);
  opacity: 0.8;
  font-size: 1rem;
  margin-bottom: 32px;
}

/* ===================================  BUTTONS  === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime);
  color: var(--forest);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.2px;
}

.btn-primary:hover { background: white; transform: scale(1.03); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: white;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 100px;
  border: 2px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.08); }

.btn-forest {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--forest);
  color: var(--lime);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 100px;
  border: 1px solid var(--lime);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-forest:hover { 
  background: var(--lime); 
  color: var(--forest); 
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 43, 26, 0.2); 
}

.categories-section .btn-outline,
.guide-section .btn-outline {
  color: var(--forest);
  border-color: var(--forest);
}

.categories-section .btn-outline:hover,
.guide-section .btn-outline:hover {
  background: var(--forest);
  color: white;
}

/* ===================================  FOOTER  === */
.site-footer {
  background: var(--forest);
  color: white;
  padding: 80px 0 0;
  margin-top: auto;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-leaf { font-size: 1.6rem; color: var(--lime); }
.footer-brand .logo-text { font-size: 1.4rem; color: var(--lime); }

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 320px;
}

.footer-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.footer-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-links h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--lime);
  margin-bottom: 20px;
}

.footer-link-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-subgroup {
  margin-bottom: 12px;
}

.footer-sublabel {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--lime); }

.footer-bottom {
  padding: 24px 0;
}

.footer-bottom-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
/* ===================================  DASHBOARD  === */
.dashboard-hero {
  background: var(--forest);
  padding: 40px 0;
  border-bottom: 4px solid var(--lime);
  box-shadow: 1px 0 0 0 var(--forest);
}

.dashboard-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.user-welcome p {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.user-welcome h1 {
  color: var(--white);
  margin-bottom: 6px;
  font-size: 2.2rem;
}

.pts-balance-card {
  background: var(--lime);
  border-radius: var(--radius);
  padding: 24px 36px;
  text-align: center;
  min-width: 180px;
  flex-shrink: 0;
}

.pts-val {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
}

.pts-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
  opacity: 0.7;
}

@media (max-width: 600px) {
  .dashboard-hero { text-align: left; }
  .dashboard-hero-inner { justify-content: flex-start; }
}

/* ===================================  RESPONSIVE  === */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero {
    padding: 60px 0;
    min-height: auto;
  }

  .hero-visual { display: none; }

  .category-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .stat-divider { display: none; }

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-links.open { 
    display: flex; 
    flex-direction: column; 
    position: absolute; 
    top: 64px; 
    left: 0; 
    right: 0; 
    background: var(--forest); 
    padding: 16px 20px; 
    gap: 4px; 
    z-index: 99; 
    box-shadow: 1px 0 0 0 var(--forest);
  }
  .nav-links.open li {
    width: 100%;
    margin-left: 0 !important;
  }
  .nav-links.open li a {
    font-size: 1.1rem;
    padding: 12px 20px;
    color: rgba(255,255,255,0.7);
    display: inline-block;
    border-radius: 100px;
    background: none !important;
    border: none !important;
  }
  .nav-links.open li a.active {
    background: var(--lime) !important;
    color: var(--forest) !important;
    font-weight: 700;
  }
  .nav-links.open li a.nav-link-register:not(.active) {
    background: transparent !important;
    border: 2px solid var(--lime) !important;
    color: var(--lime) !important;
    padding: 10px 20px; /* Slight adjustment for border */
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  .nav-links.open li a.nav-link-register:active {
    transform: scale(0.96);
    background: var(--lime) !important;
    color: var(--forest) !important;
  }
  .nav-links.open li a:hover {
    color: white;
  }
  .nav-toggle { display: block; }

  .tips-grid,
  .full-tips-grid {
    grid-template-columns: 1fr;
  }

  .stats-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-inner { grid-template-columns: 1fr; gap: 24px; }

  .page-hero-content h1 { font-size: 2.2rem; }

  .detail-actions { flex-direction: column; width: 100%; }
  .detail-actions .btn-primary, .detail-actions .btn-outline { width: 100%; justify-content: center; }
}

/* ===================================  ECOBOT WIDGET (Moved from inline) === */
#ecobot-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--lime);
  color: var(--forest);
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  z-index: 9999;
  font-size: 1.5rem;
  transition: transform 0.2s;
  border: none;
}

#ecobot-btn:hover { transform: scale(1.1); }

#ecobot-window {
  display: none;
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 320px;
  height: 400px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: none;
  z-index: 9998;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.1);
  animation: slideUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

@media (max-width: 480px) {
  #ecobot-window {
    width: calc(100vw - 40px);
    height: 450px;
    bottom: 96px;
    right: 20px;
    border-radius: 20px;
  }
}
/* ===================================  STATION GRID  === */
.stations-info-grid {
  background: var(--forest);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.info-item {
  text-align: center;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  padding: 20px 12px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.2s;
}

.info-item .item-icon { font-size: 1.5rem; margin-bottom: 6px; }
.info-item .item-label { font-family: 'Syne', sans-serif; font-weight: 700; color: white; font-size: 0.85rem; margin-bottom: 4px; }
.info-item .item-value { font-family: 'Syne', sans-serif; font-weight: 700; color: var(--lime); font-size: 1rem; }

.info-item:hover { transform: translateY(-4px); background: rgba(255,255,255,0.1); }

@media (max-width: 900px) {
  .stations-info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .stations-info-grid { grid-template-columns: 1fr; }
}
