/* ========================================
   CSS Variables & Root Styles
   ======================================== */

:root {
  /* Blue and Green theme colors - Light mode */
  --bg-primary: #f0f9ff;
  --bg-secondary: #e0f2fe;
  --bg-card: #ffffff;
  --bg-hover: #d1fae5;

  --text-primary: #065f46;
  --text-secondary: #0284c7;
  --text-muted: #10b981;

  --accent-primary: #0ea5e9;
  --accent-secondary: #10b981;
  --accent-gradient: linear-gradient(
    135deg,
    #0ea5e9 0%,
    #14b8a6 50%,
    #10b981 100%
  );

  --border-color: #bfdbfe;
  --shadow-sm: 0 2px 8px rgba(14, 165, 233, 0.08);
  --shadow-md: 0 4px 12px rgba(14, 165, 233, 0.12);
  --shadow-lg: 0 10px 30px rgba(14, 165, 233, 0.18);
  --shadow-xl: 0 20px 50px rgba(14, 165, 233, 0.25);

  /* Blue-green glow effects */
  --glow-pink: 0 0 20px rgba(14, 165, 233, 0.3);
  --glow-pink-strong: 0 0 30px rgba(14, 165, 233, 0.5),
    0 0 60px rgba(16, 185, 129, 0.3);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;

  /* Typography */
  --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  --font-heading: "SF Pro Display", -apple-system, BlinkMacSystemFont,
    sans-serif;

  /* Border radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
}

/* ========================================
   Reset & Base Styles
   ======================================== */

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

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

body {
  font-family: var(--font-primary);
  background: linear-gradient(135deg, #f0f9ff 0%, #d1fae5 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-base),
    color var(--transition-base);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
      circle at 30% 50%,
      rgba(14, 165, 233, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 50%,
      rgba(16, 185, 129, 0.1) 0%,
      transparent 50%
    );
  animation: floatBackground 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes floatBackground {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

/* ========================================
   Typography
   ======================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.5rem;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-secondary);
}

/* ========================================
   Layout
   ======================================== */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--spacing-lg);
  }
}

/* ========================================
   Header - Redesigned
   ======================================== */

.header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 2px solid var(--border-color);
  padding: var(--spacing-lg) 0;
  transition: all var(--transition-base);
  box-shadow: 0 4px 30px rgba(147, 51, 234, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  text-align: center;
}

.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.logo-icon-container {
  position: relative;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon {
  width: 48px;
  height: 48px;
  stroke: var(--accent-primary);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 15px rgba(147, 51, 234, 0.4));
  animation: float 3s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.logo-glow {
  position: absolute;
  inset: -8px;
  background: var(--accent-gradient);
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(20px);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.95);
    opacity: 0.15;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.25;
  }
}

.logo-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.logo h1,
.logo-text {
  font-size: 2rem;
  margin: 0;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.header-stats {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(
    135deg,
    rgba(147, 51, 234, 0.1),
    rgba(168, 85, 247, 0.1)
  );
  border: 2px solid rgba(147, 51, 234, 0.2);
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-primary);
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.1);
  transition: all var(--transition-base);
}

.stat-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(147, 51, 234, 0.2);
  background: linear-gradient(
    135deg,
    rgba(147, 51, 234, 0.15),
    rgba(168, 85, 247, 0.15)
  );
}

.stat-pill svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-primary);
}

.header-description {
  position: relative;
  margin-top: var(--spacing-sm);
}

.toggle-description {
  display: none;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-secondary);
  border-radius: 50%;
  cursor: pointer;
  margin: 0 auto var(--spacing-xs);
  transition: all var(--transition-base);
  align-items: center;
  justify-content: center;
}

.toggle-description:hover {
  background: var(--accent-primary);
}

.toggle-description:hover .chevron-icon {
  stroke: white;
}

.chevron-icon {
  width: 20px;
  height: 20px;
  stroke: var(--text-secondary);
  transition: transform var(--transition-base), stroke var(--transition-base);
}

.toggle-description[aria-expanded="false"] .chevron-icon {
  transform: rotate(-90deg);
}

.description-content {
  max-height: 500px;
  overflow: hidden;
  transition: max-height var(--transition-slow), opacity var(--transition-base);
  opacity: 1;
}

.description-content.collapsed {
  max-height: 0;
  opacity: 0;
}

.description-content p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  text-align: center;
  margin: 0;
  padding: 0 var(--spacing-md);
}

/* ========================================
   Search Section - Redesigned
   ======================================== */

.search-section {
  padding: var(--spacing-xl) 0;
  background: transparent;
  position: relative;
}

.search-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.search-title {
  font-size: 2rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
}

.search-wrapper {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

.search-icon {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  stroke: var(--accent-primary);
  pointer-events: none;
  z-index: 2;
}

.search-input {
  width: 100%;
  padding: 1.25rem 180px 1.25rem 4rem;
  font-size: 1rem;
  border: 3px solid var(--border-color);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  transition: all var(--transition-base);
  outline: none;
  box-shadow: 0 8px 32px rgba(147, 51, 234, 0.12);
}

.search-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 8px 40px rgba(147, 51, 234, 0.25), var(--glow-pink);
  transform: translateY(-2px);
  padding-right: 180px;
}

.search-clear {
  position: absolute;
  right: 160px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 2;
}

.search-clear.active {
  display: flex;
}

.search-clear svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-muted);
}

.search-clear:hover {
  background: var(--bg-hover);
}

.search-clear:hover svg {
  stroke: var(--accent-primary);
}

.search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.875rem 1.75rem;
  background: var(--accent-gradient);
  border: none;
  border-radius: 20px;
  color: white;
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 6px 20px rgba(147, 51, 234, 0.3);
  transition: all var(--transition-base);
  z-index: 3;
}

.search-btn:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 8px 25px rgba(147, 51, 234, 0.4), var(--glow-pink);
}

.search-btn svg {
  width: 18px;
  height: 18px;
  stroke: white;
}

.quick-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: var(--spacing-md);
  flex-wrap: wrap;
}

.quick-tag-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.quick-tag {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 2px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-base);
}

.quick-tag:hover {
  background: var(--accent-gradient);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}

/* ========================================
   Filter Section - Redesigned
   ======================================== */

.filter-section {
  padding: var(--spacing-lg) 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(147, 51, 234, 0.08);
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.filter-title {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  letter-spacing: -0.01em;
}

.filter-controls {
  display: none;
  gap: 0.5rem;
}

.filter-scroll-btn {
  width: 36px;
  height: 36px;
  border: 2px solid var(--border-color);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.filter-scroll-btn:hover {
  background: var(--accent-gradient);
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}

.filter-scroll-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-secondary);
  transition: stroke var(--transition-fast);
}

.filter-scroll-btn:hover svg {
  stroke: white;
}

.filter-tabs-wrapper {
  position: relative;
  overflow: hidden;
}

.filter-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.filter-tabs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: var(--spacing-xs) 0;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
}

.filter-tabs::-webkit-scrollbar {
  height: 4px;
}

.filter-tabs::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
}

.filter-tabs::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: var(--radius-sm);
}

.filter-tab {
  padding: 0.875rem 1.75rem;
  border: 2px solid var(--border-color);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: var(--text-secondary);
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--transition-base);
  flex-shrink: 0;
  scroll-snap-align: start;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.06);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.filter-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.filter-tab svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-secondary);
  position: relative;
  z-index: 1;
  transition: stroke var(--transition-base);
}

.filter-tab span {
  position: relative;
  z-index: 1;
}

.filter-tab:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(147, 51, 234, 0.2), var(--glow-pink);
}

.filter-tab:hover svg {
  stroke: var(--accent-primary);
}

.filter-tab.active {
  background: var(--accent-gradient);
  border-color: transparent;
  color: white;
  box-shadow: 0 8px 25px rgba(147, 51, 234, 0.35), var(--glow-pink);
  transform: translateY(-2px);
}

.filter-tab.active::before {
  opacity: 1;
}

.filter-tab.active svg {
  stroke: white;
}

/* ========================================
   Main Content
   ======================================== */

.main-content {
  padding: var(--spacing-xl) 0;
  min-height: 60vh;
}

.stats-bar {
  display: flex;
  gap: var(--spacing-sm);
  flex-shrink: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--spacing-xs) var(--spacing-sm);
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  min-width: 70px;
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

.stat-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* ========================================
   Sites Grid
   ======================================== */

.sites-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  animation: fadeIn 0.5s ease;
}

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

@media (min-width: 480px) {
  .sites-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (min-width: 768px) {
  .sites-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
  }
}

/* ========================================
   No Results
   ======================================== */

.no-results {
  text-align: center;
  padding: var(--spacing-xl) 0;
  animation: fadeIn 0.5s ease;
}

.no-results svg {
  width: 80px;
  height: 80px;
  stroke: var(--text-muted);
  margin-bottom: var(--spacing-md);
}

.no-results h3 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.no-results p {
  color: var(--text-secondary);
}

/* ========================================
   SEO Article Section
   ======================================== */

.seo-article {
  margin-top: 60px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 2px solid var(--border-color);
  box-shadow: 0 10px 40px rgba(147, 51, 234, 0.15);
}

.article-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.article-header h1,
.article-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  flex: 1;
}

.toggle-article {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent-gradient);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(147, 51, 234, 0.3);
}

.toggle-article:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(147, 51, 234, 0.4), var(--glow-pink);
}

.toggle-article .chevron-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.toggle-article[aria-expanded="false"] .chevron-icon {
  transform: rotate(-90deg);
}

.toggle-article[aria-expanded="false"] .toggle-text::after {
  content: "Read More";
}

.toggle-article[aria-expanded="true"] .toggle-text::after {
  content: "Read Less";
}

.toggle-text::after {
  content: "Read Less";
}

.article-content {
  line-height: 1.8;
  color: var(--text-secondary);
}

.article-content.collapsed {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.article-content:not(.collapsed) {
  max-height: none;
  opacity: 1;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.article-content h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 16px;
}

.article-content h3:first-of-type {
  margin-top: 0;
}

.article-content p {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: justify;
}

.article-content p:last-child {
  margin-bottom: 0;
}

/* ========================================
   Footer
   ======================================== */

.footer {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border-top: 2px solid var(--border-color);
  padding: var(--spacing-xl) 0;
  margin-top: var(--spacing-xl);
  box-shadow: 0 -4px 30px rgba(147, 51, 234, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-content p {
  color: var(--text-secondary);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: var(--spacing-md);
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

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

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
  .header {
    padding: var(--spacing-md) 0;
  }

  .logo-wrapper {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .logo-content {
    align-items: center;
  }

  .logo h1,
  .logo-text {
    font-size: 1.5rem;
  }

  .logo-tagline {
    font-size: 0.625rem;
  }

  .logo-icon-container {
    width: 48px;
    height: 48px;
  }

  .logo-icon {
    width: 40px;
    height: 40px;
  }

  .header-stats {
    gap: 0.5rem;
  }

  .stat-pill {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }

  .stat-pill svg {
    width: 14px;
    height: 14px;
  }

  .toggle-description {
    display: flex;
  }

  .description-content p {
    font-size: 0.875rem;
    padding: 0;
  }

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

  .search-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
  }

  .search-box {
    flex-direction: column;
    align-items: stretch;
  }

  .search-input {
    font-size: 14px;
    padding: 0.875rem 3rem 0.875rem 3rem;
    border-radius: 20px;
  }

  .search-input:focus {
    padding: 0.875rem 3rem 0.875rem 3rem;
  }

  .search-icon {
    width: 18px;
    height: 18px;
    left: 1rem;
  }

  .search-btn {
    position: static;
    transform: none;
    margin-top: var(--spacing-sm);
    justify-content: center;
    border-radius: 20px;
    width: 100%;
  }

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

  .search-clear {
    right: 1rem;
  }

  .quick-tags {
    gap: 0.5rem;
  }

  .quick-tag {
    padding: 0.375rem 0.875rem;
    font-size: 0.75rem;
  }

  .filter-section {
    padding: var(--spacing-md) 0;
    overflow: hidden;
  }

  .filter-header {
    margin-bottom: var(--spacing-sm);
  }

  .filter-title {
    font-size: 1rem;
  }

  .filter-controls {
    display: flex;
  }

  .filter-tabs {
    gap: 0.5rem;
    padding: 0.5rem 0;
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    scrollbar-width: none;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-tab {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
    border-radius: 16px;
  }

  .filter-tab svg {
    width: 16px;
    height: 16px;
  }

  .filter-tab:active {
    transform: scale(0.95);
  }

  .filter-tab:hover {
    transform: none;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  /* SEO Article Mobile */
  .seo-article {
    padding: 24px;
    margin-top: 40px;
  }

  .article-header {
    flex-direction: column;
    align-items: stretch;
  }

  .article-header h1,
  .article-header h2 {
    font-size: 22px;
  }

  .toggle-article {
    display: flex;
    justify-content: center;
  }

  .article-content h3 {
    font-size: 18px;
    margin-top: 24px;
    margin-bottom: 12px;
  }

  .article-content p {
    font-size: 14px;
    text-align: left;
  }
}

/* Tablet styles */
@media (max-width: 1024px) and (min-width: 769px) {
  .filter-tabs {
    gap: 0.5rem;
    padding: 0.5rem 0;
  }

  .filter-tab {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .logo h1,
  .logo-text {
    font-size: 1.25rem;
  }

  .search-input {
    font-size: 13px;
    padding: 0.75rem 2.75rem 0.75rem 2.5rem;
  }

  .search-icon {
    width: 16px;
    height: 16px;
    left: 0.875rem;
  }

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

  .filter-tabs {
    gap: 0.375rem;
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .filter-tab {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    border-radius: 8px;
  }

  .seo-article {
    padding: 1rem;
    margin-top: 2rem;
  }

  .article-header h1,
  .article-header h2 {
    font-size: 18px;
  }
}
