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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg);
  min-height: 100vh;
}

/* ── Scrollbar ── */
html {
  scrollbar-color: var(--border) var(--bg);
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 100ms ease;
}
a:hover {
  color: var(--accent-hover);
}

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

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(var(--bg-r), var(--bg-g), var(--bg-b), 0.85);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.nav-brand .tld {
  color: var(--text-muted);
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 100ms ease;
}
.nav-links a:hover {
  color: var(--text-primary);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  height: 36px;
  padding: 0 var(--space-md);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-ui);
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 100ms ease;
}
.nav-cta:hover {
  background: var(--accent-hover);
}

/* ── Theme Toggle ── */
.nav-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 16px;
  cursor: pointer;
  transition: color 100ms ease, border-color 100ms ease, background-color 100ms ease;
}
.nav-theme-toggle:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
  background: var(--surface-elevated);
}
.nav-mobile-theme-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-ui);
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 100ms ease;
}
.nav-mobile-theme-toggle:hover {
  color: var(--text-primary);
}

/* ── Mobile Nav Toggle ── */
.nav-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
  transition: color 100ms ease, border-color 100ms ease, background-color 100ms ease;
}
.nav-mobile-toggle:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
  background: var(--surface-elevated);
}

/* ── Mobile Menu Panel ── */
.nav-mobile-menu {
  display: none;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  max-height: 0;
  transition: max-height 150ms ease;
}
.nav-mobile-menu.open {
  max-height: 600px;
}
.nav-mobile-menu-inner {
  padding: var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.nav-mobile-heading {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-xs) 0;
}
.nav-mobile-tools-list {
  display: flex;
  flex-direction: column;
}
.nav-mobile-tools-list a,
.nav-mobile-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 100ms ease;
}
.nav-mobile-tools-list a:hover,
.nav-mobile-link:hover {
  color: var(--text-primary);
}
.nav-mobile-tools-list a {
  padding-left: var(--space-md);
  font-size: 13px;
}
.nav-mobile-section + .nav-mobile-link {
  border-top: 1px solid var(--border);
  margin-top: var(--space-xs);
  padding-top: 12px;
}

/* ── Nav Dropdown ── */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.nav-dropdown-toggle .bi-chevron-down {
  font-size: 10px;
  transition: transform 100ms ease;
}
.nav-dropdown:hover .nav-dropdown-toggle .bi-chevron-down {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: 220px;
  padding: var(--space-sm);
  margin-top: var(--space-sm);
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 100ms ease, transform 100ms ease, visibility 100ms ease;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 12px;
  font-size: 13px;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background-color 100ms ease, color 100ms ease;
}
.nav-dropdown-menu a:hover {
  background: var(--surface);
  color: var(--text-primary);
}
.nav-dropdown-divider {
  height: 1px;
  margin: var(--space-xs) 0;
  background: var(--border);
}
.nav-dropdown-view-all {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background-color 100ms ease, color 100ms ease;
  text-decoration: none;
}
.nav-dropdown-view-all:hover {
  background: var(--surface);
  color: var(--accent-hover);
}

/* ── Container ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ── Hero ── */
.hero {
  padding: var(--space-4xl) 0 var(--space-xl);
  text-align: center;
}
.hero h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  max-width: 760px;
  margin: 0 auto var(--space-md);
}
.hero h1 .hl {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.35);
}
.hero .hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}
.hero-categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
}
.hero .hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

/* ── Hero Stats ── */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 640px;
  margin: 0 auto;
}
.hero-stat {
  text-align: center;
}
.hero-stat .stat-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.hero-stat .stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* ── Category Quick Links ── */
.hero-categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
}
.hero-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: color 100ms ease, border-color 100ms ease, background-color 100ms ease;
}
.hero-cat:hover {
  color: var(--text-primary);
  border-color: rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.35);
  background: var(--surface-elevated);
  box-shadow: 0 0 16px rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.08);
}
.hero-cat i {
  font-size: 15px;
}

/* ── Featured Tools ── */
.featured-section {
  padding: var(--space-2xl) 0 0;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.featured-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: border-color 100ms ease, background-color 100ms ease;
}
.featured-card:hover {
  border-color: var(--text-muted);
  background: var(--surface-elevated);
  box-shadow: 0 0 20px rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.1);
}
.featured-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.06);
  border: 1px solid rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.15);
  border-radius: 10px;
  color: var(--accent);
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.08);
}
.featured-card-text {
  min-width: 0;
}
.featured-card-text h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.featured-card-text span {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  height: 40px;
  padding: 0 var(--space-lg);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-ui);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background-color 100ms ease, border-color 100ms ease, color 100ms ease;
  white-space: nowrap;
}
.btn-primary {
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: 0 0 20px rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.25);
  transition: background-color 100ms ease, border-color 100ms ease, color 100ms ease, box-shadow 150ms ease;
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 0 32px rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.4);
}
.btn-secondary {
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--text-muted);
  background: var(--surface-elevated);
}

/* ── Tools Grid ── */
.tools-section {
  padding: var(--space-3xl) 0;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}
.section-header h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  white-space: nowrap;
}
.section-header-left {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}
.section-header .count {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  min-height: 436px;
}
.tool-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: border-color 100ms ease, background-color 100ms ease;
  min-height: 210px;
}
.tool-card:hover {
  border-color: var(--text-muted);
  background: var(--surface-elevated);
  box-shadow: 0 0 24px rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.08);
}
.tool-card-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 16px;
  flex-shrink: 0;
}
.tool-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.tool-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.tool-card .tool-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: auto;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.tool-card.hidden {
  display: none;
}
.tool-card-placeholder {
  visibility: hidden;
}

/* ── Tools Search ── */
.tools-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-ui);
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  transition: color 100ms ease, border-color 100ms ease, background-color 100ms ease;
  white-space: nowrap;
}
.filter-chip:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
}
.filter-chip.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.search-input-wrap {
  position: relative;
  width: 240px;
}
.search-input-wrap .bi-search {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--text-muted);
  pointer-events: none;
}
.search-input {
  width: 100%;
  height: 40px;
  padding: 0 var(--space-md) 0 36px;
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 100ms ease;
}
.search-input::placeholder {
  color: var(--text-muted);
}
.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-r), var(--accent-g), var(--accent-b), 0.1);
}

/* ── Tools Paginator ── */
.tools-paginator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.paginator-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  height: 36px;
  padding: 0 var(--space-md);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-ui);
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 100ms ease, color 100ms ease, background-color 100ms ease;
}
.paginator-btn:hover:not(:disabled) {
  color: var(--text-primary);
  border-color: var(--text-muted);
  background: var(--surface-elevated);
}
.paginator-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.paginator-info {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

/* ── Demo Section ── */
.demo-section {
  padding: var(--space-3xl) 0 var(--space-4xl);
}
.demo-section .section-header {
  margin-bottom: var(--space-lg);
}

/* ── Tool Iframe Container ── */
.tool-frame {
  position: relative;
  min-height: 360px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.tool-frame.resizable {
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.tool-frame iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: none;
  opacity: 0;
  transition: opacity 150ms ease;
}
.tool-frame.resizable iframe {
  flex: 1;
  min-height: 0;
}
.tool-frame iframe.loaded {
  opacity: 1;
}

/* ── Resize Handle ── */
.tool-frame-resize-handle {
  height: 16px;
  background: var(--surface-elevated);
  border-top: 1px solid var(--border);
  cursor: ns-resize;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  touch-action: none;
  flex-shrink: 0;
  transition: background-color 100ms ease;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  position: relative;
}
.tool-frame-resize-handle::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
  cursor: ns-resize;
}
.tool-frame-resize-handle:hover {
  background: var(--border);
}
.tool-frame-resize-handle::after {
  content: '';
  width: 36px;
  height: 3px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: background-color 100ms ease, width 100ms ease;
}
.tool-frame-resize-handle:hover::after {
  background: var(--text-secondary);
  width: 48px;
}

/* ── Loading Skeleton ── */
.tool-frame-loading {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 1px;
  background: var(--border);
  transition: opacity 150ms ease;
  z-index: 2;
  pointer-events: none;
}
.tool-frame-loading.hidden {
  opacity: 0;
}
.tool-frame-loading .skeleton-pane {
  flex: 1;
  background: var(--surface);
  display: flex;
  flex-direction: column;
}
.tool-frame-loading .skeleton-header {
  height: 40px;
  background: var(--surface-elevated);
  border-bottom: 1px solid var(--border);
  animation: shimmer 2s ease-in-out infinite;
}
.tool-frame-loading .skeleton-body {
  flex: 1;
  margin: var(--space-md);
  background: var(--surface-elevated);
  border-radius: var(--radius-sm);
  animation: shimmer 2s ease-in-out infinite;
  animation-delay: 0.3s;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.45; }
}

/* ── Demo Footer ── */
.demo-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  font-size: 12px;
  color: var(--text-muted);
}
.demo-footer kbd {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
}

/* ── FAQ ── */
.faq-section {
  padding: var(--space-3xl) 0 var(--space-4xl);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item {
  background: var(--surface);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  line-height: 1.5;
  transition: color 100ms ease;
}
.faq-question:hover {
  color: var(--accent);
}
.faq-question .bi-chevron-down {
  font-size: 12px;
  color: var(--text-muted);
  transition: transform 150ms ease;
  flex-shrink: 0;
}
.faq-item.open .faq-question .bi-chevron-down {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 150ms ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
}
.faq-answer p {
  padding: 0 var(--space-lg) var(--space-md);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--space-xl) 0;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-xl);
}
.footer-brand {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.footer-brand .tld {
  color: var(--text-muted);
  font-weight: 500;
}
.footer-links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 100ms ease;
}
.footer-links a:hover {
  color: var(--text-primary);
}
.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}
.footer-desc{font-size:12px;color:var(--text-muted);max-width:200px;line-height:1.5;margin-top:4px}
.footer-email{font-size:12px;color:var(--accent);display:inline-block;margin-top:4px;transition:color 100ms ease}
.footer-email:hover{color:var(--accent-hover)}

/* ── Footer Tools ── */
.footer-tools h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}
.footer-tools ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}
.footer-tools ul a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 100ms ease;
}
.footer-tools ul a:hover {
  color: var(--text-primary);
}
.footer-tools .view-all {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 100ms ease;
}
.footer-tools .view-all:hover {
  color: var(--accent-hover);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tool-frame,
  .tool-frame iframe {
    height: 480px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero .hero-sub {
    font-size: 15px;
  }
  .hero-stats {
    gap: var(--space-xl);
  }
  .hero-stat .stat-num {
    font-size: 24px;
  }
}

@media (max-width: 600px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero {
    padding: var(--space-3xl) 0 var(--space-xl);
  }
  .hero-stats {
    gap: var(--space-lg);
    flex-wrap: wrap;
  }
  .hero-stat .stat-num {
    font-size: 20px;
  }
  .nav-desktop {
    display: none;
  }
  .nav-mobile-toggle {
    display: flex;
  }
  .nav-mobile-menu {
    display: block;
  }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-lg);
  }
  .footer-tools {
    text-align: center;
  }
  .footer-tools ul {
    align-items: center;
  }
  .footer-links {
    justify-content: center;
  }
  .section-header-left .search-input-wrap {
    width: 100%;
    max-width: 100%;
    margin-top: var(--space-sm);
  }
}

/* ── 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;
}
