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

html,
body {
  height: 100%;
}

body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* ===== THEME VARIABLES ===== */
:root {
  /* Colors */
  --primary: #4361ee;
  --primary-dark: #3a56d4;
  --secondary: #06d6a0;
  --accent: #ff9e00;
  --dark: #1a1a2e;
  --light: #f8f9fa;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --gray-dark: #495057;
  --text-primary: #121212;
  --text-secondary: #4a4a4a;
  --border-color: #dee2e6;
  --border-color-strong: #ccc;
  --bg-primary: #ffffff;

  /* Light Mode */
  --hero-bg-light: linear-gradient(135deg, #d9e6ff, #c7d9ff, #b5ccff, #a3bfff);
  --card-bg-light: linear-gradient(135deg, #f9fbff, #f2f7ff);
  --card-border-light: #b8d1ff;
  --section-bg-light: #f7faff;

  /* Buttons */
  --btn-primary-bg: linear-gradient(135deg, #2a48d9, #1e3bb8);
  --btn-secondary-bg: linear-gradient(135deg, #04b486, #039c74);
  --btn-outline-color: #2a48d9;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-heading: 'Space Grotesk', var(--font-primary);
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3rem;

  /* Spacing */
  --spacing-1: 0.25rem;
  --spacing-2: 0.5rem;
  --spacing-3: 0.75rem;
  --spacing-4: 1rem;
  --spacing-5: 1.25rem;
  --spacing-6: 1.5rem;
  --spacing-8: 2rem;
  --spacing-10: 2.5rem;
  --spacing-12: 3rem;
  --spacing-16: 4rem;
  --spacing-20: 5rem;
  --spacing-24: 6rem;
  --spacing-32: 8rem;

  /* Borders */
  --border-radius-sm: 0.25rem;
  --border-radius: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  --border-radius-full: 9999px;
  --border-width: 1px;
  --border-width-strong: 2px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);

  /* Hero Text */
  --hero-text: #121212;
  --vector-light: rgba(67, 97, 238, 0.1);
  --vector-light-alt: rgba(6, 214, 160, 0.08);
}

/* DARK THEME */
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #647dee;
    --primary-dark: #546be4;
    --secondary: #00f2c3;
    --accent: #ffb142;
    --dark: #0a0a1a;
    --light: #e6e7e8;
    --gray: #8a93a0;
    --gray-light: #1e1e2e;
    --gray-dark: #b0b8c5;
    --text-primary: #e6e7e8;
    --text-secondary: #b0b8c5;
    --border-color: #2a2a3f;
    --border-color-strong: #3a3a4f;
    --bg-primary: #0f111a;

    --hero-bg-light: linear-gradient(135deg, #080c16, #0b1120, #0e1528, #111a32);
    --card-bg-light: linear-gradient(135deg, #16222f, #131f2c);
    --card-border-light: #2a3b4f;
    --section-bg-light: #0c121e;

    --hero-text: #e6e7e8;
    --vector-light: rgba(100, 125, 238, 0.12);
    --vector-light-alt: rgba(0, 242, 195, 0.1);

    --btn-primary-bg: linear-gradient(135deg, #7889f5, #6576e0);
    --btn-secondary-bg: linear-gradient(135deg, #00e0b0, #00c299);
    --btn-outline-color: #7889f5;
  }
}

/* ===== BASE STYLES ===== */
body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  position: relative;
  overflow-x: hidden;
  transition: background-color 0.3s, color 0.3s;
}

.gradient-bg {
  display: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-4);
}

/* ===== HEADER & NAV ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: var(--spacing-4) 0;
  transition: background-color 0.3s, border-color 0.3s;
}

@media (prefers-color-scheme: dark) {
  .header {
    background-color: rgba(18, 24, 37, 0.95);
    border-bottom-color: var(--border-color);
  }
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand h1 a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--font-size-2xl);
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: var(--spacing-6);
}

.nav-link {
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: var(--spacing-2) var(--spacing-4);
  border-radius: var(--border-radius-full);
  font-size: var(--font-size-sm);
  transition: var(--transition);
  position: relative;
  letter-spacing: -0.2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: var(--border-radius-full);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  margin: 3px 0;
  transition: var(--transition);
  border-radius: var(--border-radius);
}

/* ===== SECTIONS & TYPOGRAPHY ===== */
.section {
  padding: var(--spacing-8) 0 0 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-12);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--spacing-3);
  position: relative;
  display: inline-block;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--border-radius-full);
}

.section-description {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-bottom: 0;
  font-weight: 400;
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-3) var(--spacing-6);
  border-radius: var(--border-radius-full);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: var(--font-size-base);
  text-align: center;
  min-width: 140px;
  letter-spacing: -0.2px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: 0.6s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  background: var(--btn-secondary-bg);
  color: white;
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.btn-outline {
  background: transparent;
  color: var(--btn-outline-color);
  border: 2px solid var(--btn-outline-color);
}

.btn-outline:hover {
  background: var(--btn-outline-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* ===== HERO / PAGE HEADER ===== */
.page-header {
  background: var(--hero-bg-light);
  color: var(--hero-text);
  padding: var(--spacing-8) 0;
  text-align: center;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 30% 40%, var(--vector-light) 0%, transparent 30%),
    radial-gradient(circle at 70% 60%, var(--vector-light-alt) 0%, transparent 25%),
    radial-gradient(circle at 20% 80%, var(--vector-light) 0%, transparent 8%),
    radial-gradient(circle at 80% 20%, var(--vector-light-alt) 0%, transparent 6%);
  animation: rotateFloat 25s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes rotateFloat {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(360deg) scale(1); }
}

.page-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-4xl);
  font-weight: 800;
  margin-bottom: var(--spacing-3);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.8px;
  color: var(--hero-text);
  position: relative;
  z-index: 1;
  animation: subtleFloat 6s ease-in-out infinite;
}

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

.page-description {
  font-size: var(--font-size-lg);
  max-width: 750px;
  margin: 0 auto;
  opacity: 0.9;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  font-weight: 400;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ===== PROMO BARS ===== */
.top-promo-bar,
.bottom-promo-bar {
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.top-promo-bar {
  background: linear-gradient(90deg, #ff7eb3, #ff758c, #ff9770, #ffb347);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.bottom-promo-bar {
  background: #2563eb;
  margin-bottom: 0;
}

.top-promo-bar p,
.bottom-promo-bar p {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.top-promo-bar a,
.bottom-promo-bar a {
  display: inline-block;
  background: #fff;
  color: #ff5a7a;
  font-weight: 700;
  text-decoration: none;
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.top-promo-bar a:hover,
.bottom-promo-bar a:hover {
  background: #000;
  color: #fff;
}

/* ===== FILTERS ===== */
.filters-section {
  background-color: var(--section-bg-light);
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-color);
}

.filter-group {
  margin: 1.5rem 0;
}

.filter-group h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

/* Desktop: Side-by-side dropdowns */
.desktop-filters .filter-row {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: end;
}

.desktop-filters .filter-dropdown {
  flex: 1;
  min-width: 200px;
}

.desktop-filters label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Shared dropdown style */
.filter-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-full);
  background: var(--bg-primary);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
}

.filter-select:hover,
.filter-select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

/* Mobile filters */
.mobile-filters {
  display: none;
}

.mobile-filters label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Responsive: Show mobile, hide desktop on small screens */
@media (max-width: 768px) {
  .desktop-filters {
    display: none;
  }

  .mobile-filters {
    display: block;
    margin-bottom: 1.5rem;
  }
}

/* Default: show desktop, hide mobile */
@media (min-width: 769px) {
  .desktop-filters {
    display: block;
  }

  .mobile-filters {
    display: none;
  }
}

/* ===== RESOURCES GRID ===== */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-6);
}

.resource-card {
  background: var(--card-bg-light);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-6);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--card-border-light);
  overflow: hidden;
  position: relative;
}

.resource-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.resource-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.resource-card:hover::before {
  transform: scaleX(1);
}

.resource-icon {
  width: 70px;
  height: 70px;
  background: rgba(6, 214, 160, 0.1);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-4);
  color: var(--secondary);
  font-size: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.resource-card:hover .resource-icon {
  transform: scale(1.05) rotate(2deg);
  box-shadow: var(--shadow);
}

.resource-icon::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: 80px;
  height: 80px;
  border: 1px solid var(--secondary);
  border-radius: var(--border-radius-full);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  transform: scale(0.8);
}

.resource-card:hover .resource-icon::after {
  opacity: 1;
  transform: scale(1);
}

.resource-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--spacing-3);
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.resource-card p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-5);
  font-size: var(--font-size-sm);
  line-height: 1.7;
}

/* ===== FAUCETS GRID & CARDS ===== */
.faucets-section,
.faucets-top10 {
  padding: 2rem 0 0 0;
}

.faucets-top10 h2,
.faucets-section h2 {
  font-family: var(--font-heading);
  font-size: var(--font-size-3xl);
  color: var(--text-primary);
  margin-bottom: var(--spacing-6);
  text-align: center;
  position: relative;
}

.faucets-top10 h2::after,
.faucets-section h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--border-radius-full);
}

.faucets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
  justify-content: center;
}

.faucet-card {
  background: var(--card-bg-light);
  border-radius: var(--border-radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--card-border-light);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.faucet-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.faucet-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.faucet-card:hover::before {
  transform: scaleX(1);
}

.faucet-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.faucet-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-full);
  object-fit: contain;
  background: rgba(6, 214, 160, 0.1);
  padding: 2px;
  transition: transform 0.3s ease;
}

.faucet-card:hover .faucet-logo {
  transform: rotate(5deg);
}

.faucet-info h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.faucet-details {
  flex: 1;
  margin-bottom: 1rem;
  min-height: 0;
}

.faucet-details p {
  margin: 0.2rem 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.faucet-actions {
  margin-top: auto;
}

.faucet-actions .btn {
  width: 100%;
  padding: 0.55rem 0.8rem;
  font-size: 0.875rem;
  justify-content: center;
}

/* ===== PRO TIPS & FAQ ===== */
.pro-tips,
.faq-section {
  margin: var(--spacing-12) 0;
}

.pro-tips h2,
.faq-section h2 {
  font-family: var(--font-heading);
  font-size: var(--font-size-3xl);
  color: var(--text-primary);
  margin-bottom: var(--spacing-6);
  text-align: center;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-6);
  margin-top: var(--spacing-8);
}

.tip-card {
  background: var(--card-bg-light);
  border-radius: var(--border-radius-xl);
  padding: var(--spacing-6);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  border: 1px solid var(--card-border-light);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tip-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.tip-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-4);
  color: var(--primary);
  line-height: 1;
  transition: transform 0.3s ease;
  position: relative;
}

.tip-card:hover .tip-icon {
  transform: scale(1.1) rotate(5deg);
}

.tip-icon::after {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  border: 1px dashed var(--primary);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  transform: scale(0.9);
}

.tip-card:hover .tip-icon::after {
  opacity: 1;
  transform: scale(1);
}

.tip-card h3 {
  margin-bottom: var(--spacing-3);
  color: var(--text-primary);
  font-size: var(--font-size-xl);
  font-weight: 600;
}

.tip-card p {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  line-height: 1.7;
}

.faq-section {
  padding-top: var(--spacing-8);
  border-top: 1px solid var(--border-color);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: var(--spacing-6);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: var(--spacing-4);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-3);
  font-size: var(--font-size-xl);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding-left: 1.5rem;
}

.faq-item h3::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.faq-item h3:hover::before {
  color: var(--secondary);
}

.faq-item.open h3::before {
  content: '-';
}

.faq-item p {
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.7;
  font-size: var(--font-size-base);
  padding-left: 1.5rem;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--section-bg-light);
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  color: var(--text-secondary);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.footer-section p {
  margin: 0.5rem 0 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.footer-links-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-grid li {
  margin-bottom: 0.4rem;
}

.footer-links-grid a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

@media (prefers-color-scheme: dark) {
  .footer {
    background-color: var(--section-bg-light);
    border-top-color: var(--border-color);
    color: var(--text-secondary);
  }

  .footer-section h3,
  .footer-section h4 {
    color: var(--text-primary);
  }

  .footer-section p {
    color: var(--text-secondary);
  }

  .footer-links-grid a {
    color: var(--text-secondary);
  }

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

  .footer-bottom {
    border-top-color: var(--border-color);
    color: var(--text-secondary);
  }
}

/* ===== SCROLL TO TOP ===== */
#scrollToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  display: none;
  z-index: 1000;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  align-items: center;
  justify-content: center;
  display: flex;
}

#scrollToTop:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
  .section-title {
    font-size: var(--font-size-3xl);
  }

  .page-title {
    font-size: var(--font-size-3xl);
  }

  .page-description {
    font-size: var(--font-size-base);
  }

  .faucets-top10 h2,
  .faucets-section h2,
  .pro-tips h2,
  .faq-section h2 {
    font-size: var(--font-size-2xl);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    border-left: 1px solid var(--border-color);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: var(--spacing-6);
  }

  .nav-toggle {
    display: flex;
  }

  .section-title {
    font-size: var(--font-size-2xl);
  }

  .page-title {
    font-size: var(--font-size-2xl);
  }

  .page-description {
    font-size: var(--font-size-base);
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .btn {
    width: 100%;
    margin-top: var(--spacing-3);
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 var(--spacing-3);
  }

  .section {
    padding: var(--spacing-12) 0;
  }

  .section-header {
    margin-bottom: var(--spacing-8);
  }

  .tip-icon {
    font-size: 2.5rem;
  }

  .faucet-logo {
    width: 50px;
    height: 50px;
  }

  .faq-item h3 {
    font-size: var(--font-size-lg);
  }

  .faq-item p {
    font-size: var(--font-size-sm);
  }

  .btn {
    padding: var(--spacing-2) var(--spacing-4);
    font-size: var(--font-size-sm);
  }
}

/* ===== ANIMATIONS & UTILITIES ===== */
.animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

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

.page-subtext {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-weight: 500;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== BREADCRUMB ===== */
.breadcrumb-nav {
  background: var(--section-bg-light);
  padding: 0.75rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-color);
}
.breadcrumb-nav ol {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-4);
}
.breadcrumb-nav li::after {
  content: "/";
  margin: 0 0.5rem;
  color: var(--text-secondary);
}
.breadcrumb-nav li:last-child::after {
  content: none;
}
.breadcrumb-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb-nav a:hover {
  color: var(--primary);
  text-decoration: underline;
}
.breadcrumb-nav [aria-current="page"] {
  color: var(--primary);
  font-weight: 600;
}

/* ===== SHARE SECTION ===== */
.share-section {
  padding: 3rem 0;
  background: var(--section-bg-light);
  text-align: center;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.share-section h3 {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
}
.share-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.share-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius-full);
  font-weight: 500;
  transition: all 0.3s ease;
  min-width: 120px;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--primary);
}
.share-buttons a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.6s;
}
.share-buttons a:hover::before {
  left: 100%;
}
.share-buttons a:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-dark);
}

/* Core Web Vitals */
.faucet-logo img,
.resource-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  aspect-ratio: 1/1;
}

img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
img[loading="lazy"]:not([src=""]) {
  opacity: 1;
}

@media print {
  .share-section,
  .filters-section,
  .top-promo-bar,
  .bottom-promo-bar,
  #scrollToTop,
  .nav-toggle,
  .nav-menu {
    display: none !important;
  }
  body {
    font-size: 12pt;
  }
}

/* ===== ABOUT PAGE ===== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.about-card {
  background: var(--card-bg-light);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--card-border-light);
}

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

.about-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  position: relative;
  color: var(--primary);
}

.about-card:hover .about-icon {
  transform: scale(1.1) rotate(5deg);
}

.about-icon::after {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  border: 1px solid var(--primary);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  transform: scale(0.9);
}

.about-card:hover .about-icon::after {
  opacity: 1;
  transform: scale(1);
}

.methodology-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step-card {
  background: var(--card-bg-light);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--card-border-light);
  position: relative;
  padding-left: 4rem;
}

.step-number {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--primary);
  color: white;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.trust-item h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
