html.no-transition,
html.no-transition * {
  transition: none !important;
}
body,
body.light-theme,
html.light-theme body {
  background: var(--bg);
  color: var(--text);
}
header,
nav {
  height: var(--header-h);
}
*,
.menu {
  margin: 0;
  padding: 0;
}
.menu-li-a,
body {
  color: var(--text);
}
.mega-menu,
header {
  right: 0;
  border-bottom: 1px solid var(--border);
  left: 0;
}
*,
.menu {
  padding: 0;
}
*,
.footer {
  font-family: Inter, sans-serif;
}
.aft-search-box,
.aft-suggestions,
.mega-menu {
  box-shadow: var(--shadow-lg);
}
.aft-cat-sidebar,
.aft-suggestions {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.aft-sidebar-name,
.aft-sug-name {
  white-space: nowrap;
  text-overflow: ellipsis;
}
.aft-hero::before,
.aft-newsletter-cta::before,
.aft-vs-card::before {
  content: "";
  inset: 0;
  pointer-events: none;
}
* {
  font-optical-sizing: auto;
  box-sizing: border-box;
}
:root {
  --bg: #f0f2f5;
  --bg-card: #ffffff;
  --bg-header: #ffffff;
  --bg-footer: #0f1117;
  --text: #111827;
  --text-muted: #4b5563;
  --text-footer: #9ca3af;
  --border: #e5e7eb;
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-2: #7c3aed;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --radius: 10px;
  --header-h: 64px;
}
html.dark-theme {
  --bg: #0d0f14;
  --bg-card: #161b27;
  --bg-header: #0d0f14;
  --bg-footer: #080a0f;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-footer: #64748b;
  --border: #1e2535;
  --accent: #6366f1;
  --accent-hover: #818cf8;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
}
body {
  transition:
    background 0.3s,
    color 0.3s;
  min-height: 100vh;
}
header,
html.dark-theme header {
  background-color: var(--bg-header);
}
header {
  padding: 0 24px;
  position: fixed;
  top: 0;
  box-shadow: var(--shadow);
  z-index: 1000000;
  transition:
    background 0.3s,
    border-color 0.3s;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}
.menu-li-a,
.tool-category-card {
  align-items: center;
  text-decoration: none;
}
.logo {
  z-index: 1001;
}
.dark-logo,
.logo-img,
.menu-li-a::after,
html.dark-theme .light-logo {
  display: none;
}
.light-logo,
.mobile-tab-content.active,
html.dark-theme .dark-logo {
  display: block;
}
.menu {
  display: flex;
  list-style-type: none;
  gap: 8px;
  transition: 0.3s;
}
.menu-li-a {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition:
    background 0.2s,
    color 0.2s;
  display: flex;
  gap: 4px;
}
.menu-li-a:hover {
  background: var(--border);
  color: var(--accent);
}
.menu-li-a .fa-chevron-down {
  font-size: 0.7rem;
  transition: transform 0.3s;
}
.has-mega-menu:hover .fa-chevron-down {
  transform: rotate(180deg);
}
.has-mega-menu {
  position: static !important;
}
.mega-menu {
  position: absolute;
  top: 100%;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}
.has-mega-menu:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-menu-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px;
}
.mega-menu-content h3 {
  color: var(--text);
  margin-bottom: 18px;
  font-size: 1.1rem;
  font-weight: 600;
}
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}
.mobile-menu-tabs,
.tools-categories-list {
  margin-bottom: 20px;
}
.tool-category-card {
  display: flex;
  padding: 10px 14px;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
  position: relative;
}
.tool-category-card:hover {
  color: var(--text);
  background: var(--accent);
  border-color: var(--accent);
}
.tool-category-card:hover *,
.tools-category-item:hover .category-icon-home i,
.view-all-btn {
  color: #fff !important;
}
.category-icon-home {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}
.category-icon-home i,
.category-icon-home svg {
  font-size: 1rem;
  color: var(--accent);
}
.category-details {
  flex-grow: 1;
}
.category-details h4 {
  font-size: 0.88rem;
  margin-bottom: 2px;
  color: inherit;
}
.category-details p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}
.tool-category-card .fa-arrow-right {
  opacity: 0;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.tool-category-card:hover .fa-arrow-right {
  opacity: 1;
  transform: translateX(4px);
}
.mega-menu-footer {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  text-align: right;
}
.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background-color: var(--accent);
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background-color 0.2s;
}
.mobile-view-all:hover,
.view-all-btn:hover {
  background-color: var(--accent-hover);
}
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}
.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}
.mobile-menu-btn.active span:first-child {
  transform: translateY(9px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: -100%;
  width: 100%;
  height: calc(100vh - var(--header-h));
  background-color: var(--bg-card);
  overflow-y: auto;
  transition: left 0.3s;
  z-index: 999;
  padding: 20px;
}
.sr-only,
body.menu-open {
  overflow: hidden;
}
.mobile-menu.active {
  left: 0;
}
.mobile-menu-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}
.mobile-tab {
  flex: 1;
  padding: 14px;
  background: 0 0;
  border: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s ease;
  position: relative;
}
.mobile-menu-section ul li a,
.tools-category-item {
  padding: 13px 16px;
  background-color: var(--bg);
  color: var(--text-muted);
  transition: 0.2s;
  text-decoration: none;
}
.mobile-tab.active {
  color: var(--text);
}
.mobile-tab.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent);
}
.mobile-tab-content {
  display: none;
  animation: 0.3s aftFadeIn;
}
@keyframes aftFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.mobile-menu-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-menu-section ul li {
  margin-bottom: 8px;
}
.mobile-menu-section ul li a {
  display: block;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
}
.mobile-menu-section ul li a:hover,
.tools-category-item:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.tools-category-item {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 8px;
}
.tools-category-item .category-name {
  flex-grow: 1;
  font-size: 0.95rem;
}
.tools-category-item .tool-count {
  background-color: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 12px;
  min-width: 28px;
  text-align: center;
}
.mobile-view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background-color: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.2s;
}
.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
  transition: transform 0.15s ease;
  font-size: 1rem;
  padding: 0;
  margin-left: 12px;
  flex-shrink: 0;
  outline: 0;
}
.theme-toggle-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.05);
}
.theme-toggle-btn:active {
  transform: scale(0.95);
}
.theme-toggle-btn i {
  transition: transform 0.3s;
}
html.dark-theme .theme-toggle-btn i {
  transform: rotate(20deg);
}
.theme-toggle i {
  font-size: 14px;
  color: var(--text-muted);
}
.footer {
  background-color: var(--bg-footer);
  color: #9ca3af;
  padding: 48px 24px 16px;
  margin-top: 80px;
}
.footer-bottom,
.pdf-editor {
  font-size: 0.8rem;
  color: #6b7280;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 32px;
}
.footer-col {
  flex: 1 1 180px;
}
.footer-col h3 {
  font-weight: 700;
  margin-bottom: 14px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f9fafb;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin: 8px 0;
}
.footer-col ul li a {
  text-decoration: none;
  color: #9ca3af;
  font-size: 0.875rem;
  transition:
    color 0.2s,
    padding-left 0.2s;
}
.address-span:hover,
.footer-col ul li a:hover {
  color: #f9fafb;
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-bottom p {
  margin: 4px 0;
}
.footer-bottom strong {
  color: #d1d5db;
}
.pdf-editor {
  margin-left: auto;
}
.footer-icons {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto 20px;
}
.footer-icons a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #9ca3af;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}
.aft-vs-btn--primary,
.footer-icons a:hover {
  background: var(--accent);
  color: #fff;
}
.footer-icons a i {
  font-size: 1rem;
}
.logo .logo-text {
  font-size: 22px;
  margin-bottom: 12px;
}
.aft-browse-card-ico i,
.aft-browse-card-ico svg,
.aft-panel-ico i,
.aft-panel-ico svg,
.aft-pop-card-ico i,
.aft-pop-card-ico svg,
.logo .aft {
  color: var(--accent);
}
.address-span {
  display: inline-block;
  width: 200px;
  text-decoration: none;
  color: #9ca3af;
  font-size: 0.85rem;
  transition:
    padding-left 0.2s,
    color 0.2s;
  margin-top: 4px;
  line-height: 1.6;
}
.newsletter-col {
  min-width: 240px;
}
.newsletter-form {
  margin-top: 10px;
}
.newsletter-input-group {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.newsletter-input-group input {
  flex: 1;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #f9fafb;
  font-size: 0.85rem;
}
.newsletter-input-group input:focus {
  outline: 0;
  border-color: var(--accent);
}
.newsletter-input-group input::placeholder {
  color: #6b7280;
}
.newsletter-btn {
  padding: 9px 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aft-search-btn:hover,
.newsletter-btn:hover {
  background: var(--accent-hover);
}
.newsletter-btn i {
  font-size: 14px;
}
.newsletter-message {
  font-size: 0.8rem;
  margin-top: 6px;
  padding: 7px 10px;
  border-radius: 4px;
  display: none;
}
.newsletter-message.success {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: block;
}
.newsletter-message.error {
  background: rgba(220, 53, 69, 0.15);
  color: #f87171;
  border: 1px solid rgba(220, 53, 69, 0.3);
  display: block;
}
html:not(.dark-theme) .footer {
  background-color: #111827;
}
html.dark-theme header {
  border-bottom-color: var(--border);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.aft-hero,
.aft-hero-inner {
  width: 100%;
  position: relative;
}
.aft-hero {
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 48px) 20px 56px;
  background: linear-gradient(
    135deg,
    #eef2ff 0,
    #e0e7ff 40%,
    #ede9fe 70%,
    #f5f3ff 100%
  );
  text-align: center;
}
html.dark-theme .aft-hero {
  background: linear-gradient(
    135deg,
    #0f1117 0,
    #111827 40%,
    #1e1b4b 70%,
    #1e1035 100%
  );
}
.aft-hero::before {
  position: absolute;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(99, 102, 241, 0.12) 0,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(139, 92, 246, 0.1) 0,
      transparent 50%
    );
}
.aft-hero-inner {
  z-index: 2;
  max-width: 720px;
}
.aft-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.aft-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.aft-badge-sep {
  color: var(--text-muted);
}
.aft-hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}
.aft-hero-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.aft-hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 32px;
}
.aft-search-wrap {
  position: relative;
  max-width: 580px;
  margin: 0 auto 24px;
  z-index: 100;
}
.aft-search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  transition:
    box-shadow 0.3s,
    border-color 0.3s;
}
.aft-search-box:focus-within {
  border-color: var(--accent);
  box-shadow:
    0 0 0 3px rgba(99, 102, 241, 0.15),
    var(--shadow-lg);
}
.aft-search-ico {
  position: absolute;
  left: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  pointer-events: none;
}
.aft-search-inp {
  width: 100%;
  padding: 15px 120px 15px 50px;
  border: none;
  border-radius: 50px;
  background: 0 0;
  font-size: 0.95rem;
  color: var(--text);
  outline: 0;
  font-family: inherit;
}
.aft-search-inp::placeholder {
  color: var(--text-muted);
}
.aft-search-clear {
  position: absolute;
  right: 70px;
  background: 0 0;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 6px;
  border-radius: 50%;
  transition:
    color 0.2s,
    background 0.2s;
}
.aft-search-clear:hover {
  color: var(--text);
  background: var(--border);
}
.aft-search-btn {
  position: absolute;
  right: 6px;
  padding: 9px 20px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.aft-sug-hd,
.aft-sug-item {
  border-bottom: 1px solid var(--border);
}
.aft-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  z-index: 9999;
  max-height: 360px;
  overflow-y: auto;
}
.aft-sug-badge,
.aft-sug-ico {
  background: rgba(99, 102, 241, 0.1);
}
.aft-blog-card,
.aft-browse-card,
.aft-pop-card,
.aft-sw-card,
.aft-why-card {
  box-shadow: var(--shadow);
}
.aft-sug-inner {
  padding-bottom: 4px;
}
.aft-sug-hd {
  padding: 10px 16px 8px;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.aft-sug-loading {
  padding: 20px;
  text-align: center;
  color: var(--accent);
}
.aft-sug-item {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--text-muted);
  transition: background 0.15s;
  gap: 12px;
  cursor: pointer;
}
.aft-sug-item:last-child {
  border-bottom: none;
}
.aft-sug-item.aft-sug-kb,
.aft-sug-item:hover {
  background: rgba(99, 102, 241, 0.08);
  color: var(--text);
}
.aft-sug-ico {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
  font-size: 0.95rem;
  color: var(--accent);
}
.aft-sug-ico img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.aft-sug-info {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.aft-sug-name {
  font-size: 0.88rem;
  font-weight: 500;
  overflow: hidden;
}
.aft-sug-cat {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.aft-sug-badge {
  font-size: 0.7rem;
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 20px;
  flex-shrink: 0;
}
.aft-sug-empty,
.aft-tag,
.aft-tag-label {
  color: var(--text-muted);
}
.aft-sug-empty {
  padding: 24px;
  text-align: center;
  font-size: 0.88rem;
}
.aft-sug-empty i {
  font-size: 1.3rem;
  display: block;
  margin-bottom: 6px;
  opacity: 0.5;
}
.aft-sug-item mark {
  background: rgba(99, 102, 241, 0.2);
  color: var(--accent);
  border-radius: 2px;
}
.aft-tag,
.aft-view-all-btn {
  border: 1px solid var(--border);
}
.aft-popular-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.aft-tag-label {
  font-size: 0.82rem;
  font-weight: 500;
}
.aft-tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--bg-card);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}
.aft-tag:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  text-decoration: none;
}
.aft-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}
.aft-section {
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 26px;
}
.aft-section-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}
.aft-section-hd-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.aft-section-ico {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.aft-section-ico--star {
  background: rgba(251, 191, 36, 0.12);
  color: #f59e0b;
}
.aft-section-ico--grid {
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent);
}
.aft-section-ico--dl {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}
.aft-section-ico--blog {
  background: rgba(236, 72, 153, 0.12);
  color: #ec4899;
}
.aft-pop-card,
.aft-view-all-btn {
  background: var(--bg-card);
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
  text-decoration: none;
}
.aft-section-ttl {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 2px;
  line-height: 1.3;
}
.aft-section-dsc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}
.aft-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.aft-sw-card:hover .aft-sw-dl-btn span,
.aft-view-all-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.aft-popular-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.aft-pop-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  text-align: center;
  cursor: pointer;
}
.aft-browse-card:hover,
.aft-pop-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
  transform: translateY(-2px);
  color: var(--text);
  text-decoration: none;
}
.aft-pop-card-ico {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
}
.aft-pop-card-ico img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.aft-pop-card-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  text-align: center;
  word-break: break-word;
}
.aft-browse-layout {
  display: flex;
  gap: 0;
  min-height: 400px;
}
.aft-cat-sidebar {
  width: 210px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  padding-right: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
  padding-bottom: 8px;
}
.aft-cat-sidebar::-webkit-scrollbar {
  width: 3px;
}
.aft-cat-sidebar::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}
.aft-sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: 0 0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  text-align: left;
  font-family: inherit;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
  width: 100%;
  position: relative;
}
.aft-panel-hd,
.aft-sidebar-ico {
  align-items: center;
  display: flex;
}
.aft-sidebar-ico,
.aft-sidebar-ico i,
.aft-sidebar-ico svg {
  color: currentColor;
  font-size: 0.88rem;
}
.aft-browse-card,
.aft-sw-card,
.aft-why,
.aft-why-card,
.merge_pdf h1,
.merge_pdf p {
  text-align: center;
}
.aft-sidebar-item::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--accent);
  border-radius: 3px 0 0 3px;
  transition: height 0.18s;
}
.aft-sidebar-item:hover {
  background: rgba(99, 102, 241, 0.07);
  color: var(--text);
}
.aft-sidebar-item.active {
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent);
  font-weight: 600;
}
.aft-sidebar-item.active::before {
  height: 60%;
}
.aft-sidebar-ico {
  width: 22px;
  height: 22px;
  justify-content: center;
  flex-shrink: 0;
}
.aft-sidebar-name {
  flex: 1;
  overflow: hidden;
  font-size: 0.82rem;
}
.aft-sidebar-count {
  font-size: 0.68rem;
  color: var(--text-muted);
  background: var(--bg);
  border-radius: 10px;
  padding: 1px 6px;
  flex-shrink: 0;
  font-weight: 500;
}
.aft-sidebar-item.active .aft-sidebar-count {
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent);
}
.aft-tools-panel {
  flex: 1;
  min-width: 0;
  padding-left: 24px;
}
.aft-cat-panel {
  animation: 0.2s aftFadeIn;
  margin-top: 15px;
}
.aft-panel-hd {
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.aft-panel-ico {
  width: 30px;
  height: 30px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--accent);
  flex-shrink: 0;
}
.aft-panel-ttl {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.aft-browse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.aft-browse-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-muted);
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.aft-browse-card-ico {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: background 0.18s;
}
.aft-see-more-btn,
.aft-sw-card {
  background: var(--bg-card);
  text-decoration: none;
}
.aft-browse-card-ico img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.aft-browse-card-name {
  font-size: 0.76rem;
  font-weight: 600;
  color: inherit;
  line-height: 1.3;
  word-break: break-word;
}
.aft-see-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.aft-see-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  border: 1.5px solid var(--accent);
  border-radius: 8px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
  font-family: inherit;
}
.aft-sw-card,
.aft-sw-dl-btn span {
  border: 1px solid var(--border);
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}
.aft-see-more-btn:hover {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}
.aft-sw-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.aft-sw-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 20px 14px 14px;
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
}
.aft-sw-dl-btn span,
.aft-sw-ico {
  display: flex;
  background: var(--bg);
}
.aft-sw-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.15);
  transform: translateY(-3px);
  text-decoration: none;
  color: var(--text);
}
.aft-sw-card-top {
  margin-bottom: 12px;
}
.aft-sw-ico {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border);
}
.aft-sw-ico img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.aft-sw-ico i {
  font-size: 1.8rem;
  color: var(--accent);
}
.aft-sw-info {
  flex: 1;
  width: 100%;
}
.aft-sw-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}
.aft-sw-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #f59e0b;
  margin-bottom: 5px;
}
.aft-sw-rating i {
  font-size: 0.72rem;
}
.aft-sw-os {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.4;
}
.aft-blog-card,
.aft-blog-card:hover {
  color: var(--text);
  text-decoration: none;
}
.aft-sw-dl-btn {
  width: 100%;
  margin-top: auto;
}
.aft-sw-dl-btn span {
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 7px 0;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}
.aft-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.aft-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.22s;
  cursor: pointer;
}
.aft-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  border-color: rgba(99, 102, 241, 0.25);
}
.aft-blog-img {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--bg);
  flex-shrink: 0;
}
.aft-blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
  display: block;
}
.aft-blog-card:hover .aft-blog-img img {
  transform: scale(1.04);
}
.aft-blog-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.08) 0,
    rgba(139, 92, 246, 0.08) 100%
  );
  color: var(--accent);
  font-size: 2.5rem;
  opacity: 0.4;
}
.aft-blog-cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.06em;
  z-index: 2;
}
.aft-blog-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.aft-blog-exc,
.aft-blog-ttl {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.aft-blog-ttl {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 8px;
  -webkit-line-clamp: 2;
}
.aft-blog-exc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
  -webkit-line-clamp: 3;
}
.aft-blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: auto;
}
.aft-blog-meta i {
  margin-right: 3px;
  font-size: 0.65rem;
}
.aft-blog-read {
  display: flex;
  align-items: center;
  gap: 3px;
}
.aft-why {
  margin-bottom: 52px;
}
.aft-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.aft-section-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.aft-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.aft-why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.aft-why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.aft-why-ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.3rem;
  color: var(--accent);
}
.aft-why-ttl {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.aft-why-txt {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.aft-newsletter-cta {
  background: linear-gradient(135deg, var(--accent) 0, var(--accent-2) 100%);
  border-radius: 14px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.aft-newsletter-cta::before {
  position: absolute;
  background: rgba(255, 255, 255, 0.04);
}
.aft-nl-form input:focus,
.aft-nl-ico,
.aft-nl-msg.success {
  background: rgba(255, 255, 255, 0.2);
}
.aft-nl-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 220px;
}
.aft-nl-ico {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
}
.aft-nl-ttl {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.aft-nl-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}
.aft-nl-form {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 260px;
  flex-wrap: wrap;
}
.aft-nl-form input {
  flex: 1;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.9rem;
  outline: 0;
  min-width: 180px;
  font-family: inherit;
}
.aft-nl-form input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}
.aft-nl-form input:focus {
  border-color: rgba(255, 255, 255, 0.7);
}
.aft-nl-form button {
  padding: 11px 24px;
  background: #fff;
  color: var(--accent);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.aft-nl-form button:hover {
  background: rgba(255, 255, 255, 0.9);
}
.aft-nl-msg {
  width: 100%;
  font-size: 0.82rem;
  padding: 8px 12px;
  border-radius: 6px;
  margin-top: 6px;
}
.aft-nl-msg.success {
  color: #fff;
}
.aft-nl-msg.error {
  background: rgba(255, 0, 0, 0.2);
  color: #fff;
}
@media (max-width: 1200px) {
  .aft-sw-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .aft-popular-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 1024px) {
  .mega-menu {
    left: 0;
    width: 100%;
  }
  .aft-popular-grid,
  .aft-sw-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .aft-cat-sidebar {
    width: 180px;
  }
}
@media (max-width: 900px) {
  .aft-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .aft-popular-grid,
  .aft-sw-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .aft-browse-section {
    padding: 20px;
  }
  .aft-cat-sidebar {
    width: 160px;
  }
  .aft-browse-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }
}
@media (max-width: 768px) {
  .theme-toggle-btn {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
    margin-left: 8px;
  }
  .aft-popular-grid,
  .aft-sw-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .mobile-menu-btn {
    display: flex;
  }
  .menu {
    position: fixed;
    top: var(--header-h);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-h));
    background-color: var(--bg-card);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    gap: 4px;
    transition: left 0.3s;
    overflow-y: auto;
  }
  .menu.active {
    left: 0;
  }
  .menu-li-a {
    width: 200px;
    justify-content: center;
    padding: 12px 16px;
  }
  .has-mega-menu {
    position: relative !important;
  }
  .aft-sidebar-item::before,
  .mega-menu {
    display: none;
  }
  .aft-hero {
    padding: calc(var(--header-h) + 32px) 16px 40px;
    min-height: auto;
  }
  .aft-hero-title {
    font-size: 1.9rem;
  }
  .aft-main {
    padding: 24px 16px 40px;
  }
  .aft-browse-layout {
    flex-direction: column;
    gap: 16px;
  }
  .aft-cat-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    max-height: none;
    padding-bottom: 12px;
    gap: 6px;
  }
  .aft-cat-sidebar::-webkit-scrollbar {
    height: 3px;
  }
  .aft-sidebar-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 10px;
    gap: 4px;
    min-width: 80px;
    flex-shrink: 0;
  }
  .aft-sidebar-name {
    font-size: 0.72rem;
    white-space: normal;
    line-height: 1.2;
  }
  .aft-sidebar-count {
    font-size: 0.62rem;
  }
  .aft-tools-panel {
    padding-left: 0;
  }
  .aft-popular-grid {
    gap: 10px;
  }
  .aft-pop-card {
    padding: 14px 8px 12px;
    gap: 7px;
  }
  .aft-pop-card-ico {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
  .aft-pop-card-name {
    font-size: 0.72rem;
  }
  .aft-sw-grid {
    gap: 12px;
  }
  .aft-blog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .aft-newsletter-cta {
    padding: 24px 20px;
    gap: 20px;
    margin-top: 30px;
  }
  .aft-section,
  .aft-vs-section {
    margin-top: 40px;
  }
  .aft-nl-form {
    min-width: 100%;
  }
  .aft-section {
    margin-bottom: 36px;
  }
  .aft-why {
    margin-top: 50px;
  }
}
.card {
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  background-color: #1e1e1e;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.4);
  transition: transform 0.2s;
  font-display: swap;
}
.card:hover {
  transform: translateY(-5px);
}
.card h3 {
  margin: 5px 10px;
  font-size: 18px;
  color: #fff;
}
.card p {
  margin: 0 10px;
  font-size: 14px;
  color: #bbb;
}
.light-theme .card {
  background-color: #f4f8ff;
  color: #000;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
  border: 0.1px solid;
}
.aft-vs-btn--primary:hover,
.aft-vs-btn--secondary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  text-decoration: none;
}
.light-theme .card h3 {
  color: #000;
}
.light-theme .card p {
  color: #555;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.merge_pdf h1 {
  font-size: 2.5rem;
}
.merge_pdf p {
  margin-top: 10px;
  font-size: 1.5rem;
  color: #ccc;
}
.my-icon {
  height: auto;
  filter: drop-shadow(0 0 6px rgb(100 200 255 / 0.4));
}
.light-theme .my-icon {
  filter: drop-shadow(3px 3px 5px rgb(0 0 0 / 0.4));
}
.all-tools h2 {
  font-size: 2.4rem;
}
.popular-tools h2 {
  font-size: 2rem;
  margin: 50px 0 35px;
}
.aft-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-radius: 50px;
  padding: 14px 28px;
  width: fit-content;
  margin: 28px auto -37px;
}
.aft-stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
}
.aft-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--accent);
  flex-shrink: 0;
}
.aft-stat-body {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.aft-stat-num {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.aft-stat-lbl,
.aft-vs-badge,
.aft-vs-list li {
  color: var(--text-muted);
}
.aft-stat-lbl {
  font-size: 0.7rem;
  font-weight: 500;
  white-space: nowrap;
}
.aft-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}
.aft-vs-badge,
.aft-vs-card {
  background: var(--bg-card);
  box-shadow: var(--shadow);
}
.aft-vs-section {
  margin-bottom: 52px;
  margin-top: 20px;
}
.aft-vs-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: center;
  gap: 0;
  position: relative;
}
.aft-vs-center,
.aft-vs-side {
  align-items: center;
  display: flex;
}
.aft-vs-card::before {
  position: absolute;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.03) 0,
    transparent 50%,
    rgba(139, 92, 246, 0.03) 100%
  );
  border-radius: 16px;
}
.aft-vs-side {
  gap: 28px;
}
.aft-vs-side--software {
  justify-content: flex-end;
}
.aft-vs-center {
  justify-content: center;
}
.aft-vs-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.aft-vs-text {
  flex: 0.9;
}
.aft-vs-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.3;
}
.aft-vs-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.aft-vs-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
}
.aft-vs-list li i {
  font-size: 0.72rem;
  color: #10b981;
  flex-shrink: 0;
  width: 14px;
}
.aft-vs-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
  font-family: inherit;
  border: none;
  cursor: pointer;
}
.aft-vs-btn--primary:hover {
  background: var(--accent-hover);
}
.aft-vs-btn--secondary {
  background: var(--bg);
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.aft-vs-btn--secondary:hover {
  background: var(--accent);
}
.aft-vs-mockup {
  flex-shrink: 0;
}
.aft-vs-browser-frame {
  width: 130px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  background: var(--bg);
}
.aft-vs-browser-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  background: var(--border);
}
.aft-vs-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.aft-vs-dot--r {
  background: #ef4444;
}
.aft-vs-dot--y {
  background: #f59e0b;
}
.aft-vs-dot--g {
  background: #10b981;
}
.aft-vs-url-bar {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: var(--bg-card);
  margin-left: 4px;
}
.aft-vs-browser-body {
  display: flex;
  gap: 0;
  padding: 8px;
  min-height: 80px;
}
.aft-vs-browser-sidebar {
  width: 24px;
  background: rgba(99, 102, 241, 0.08);
  border-radius: 4px;
  margin-right: 6px;
  flex-shrink: 0;
}
.aft-vs-browser-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.aft-vs-browser-block {
  height: 10px;
  border-radius: 3px;
  background: rgba(99, 102, 241, 0.12);
}
.aft-vs-browser-block--wide {
  width: 100%;
  background: rgba(99, 102, 241, 0.2);
}
.aft-vs-browser-block--short {
  width: 60%;
}
.aft-vs-desktop-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 110px;
}
.aft-vs-screen {
  width: 110px;
  height: 80px;
  border-radius: 8px 8px 0 0;
  border: 2px solid var(--border);
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.07) 0,
    rgba(139, 92, 246, 0.07) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
html.dark-theme .aft-vs-screen {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.12) 0,
    rgba(139, 92, 246, 0.12) 100%
  );
}
.aft-vs-dl-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.15);
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--accent);
}
.aft-vs-stand {
  width: 20px;
  height: 12px;
  background: var(--border);
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
}
.aft-vs-base {
  width: 56px;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
}
@media (max-width: 900px) {
  .aft-vs-card {
    padding: 28px 24px;
    grid-template-columns: 1fr 56px 1fr;
  }
  .aft-vs-mockup {
    display: none;
  }
  .aft-vs-side {
    justify-content: flex-start;
  }
}
@media (max-width: 640px) {
  .aft-stats-bar {
    border-radius: 14px;
    padding: 16px 20px;
    gap: 0;
    width: calc(100% - 0px);
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    grid-template-rows: auto 1px auto;
  }
  .aft-stat-divider {
    width: 100%;
    height: 1px;
    grid-column: 1/-1;
  }
  .aft-stat-divider--hide-sm,
  .aft-stat-item--hide-sm {
    display: none;
  }
  .aft-stat-item {
    padding: 12px;
    justify-content: center;
  }
  .aft-vs-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding: 24px 20px;
  }
  .aft-vs-side--browser {
    grid-row: 1;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
  }
  .aft-vs-center {
    grid-row: 2;
    padding: 12px 0;
  }
  .aft-vs-side--software {
    grid-row: 3;
    justify-content: flex-start;
    padding-top: 20px;
  }
  .aft-vs-badge {
    width: 36px;
    height: 36px;
    font-size: 0.65rem;
  }
}
@media (max-width: 480px) {
  .aft-browse-grid,
  .aft-popular-grid,
  .aft-sw-grid,
  .aft-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .aft-hero-title {
    font-size: 1.6rem;
  }
  .aft-hero-badge {
    font-size: 0.72rem;
  }
  .aft-search-inp {
    font-size: 0.88rem;
    padding: 13px 100px 13px 44px;
  }
  .aft-popular-grid {
    gap: 8px;
  }
  .aft-pop-card {
    padding: 12px 8px 10px;
  }
  .aft-sw-grid {
    gap: 10px;
  }
  .aft-browse-section {
    padding: 16px;
    margin-top: 35px;
  }
  .footer-container {
    gap: 16px;
  }
  .aft-blog-grid {
    grid-template-columns: 1fr;
  }
  .aft-blog-img {
    height: 160px;
  }
  .aft-section-hd {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  @media (max-width: 480px) {
    .newsletter-col {
      min-width: 100%;
    }
  }
  .aft-stats-bar {
    width: 100%;
  }
}
.aft-sidebar-count {
  color: #374151;
  background: #e5e7eb;
}
html.dark-theme .aft-sidebar-count {
  color: #e5e7eb;
  background: #374151;
}
.aft-sidebar-item.active .aft-sidebar-count {
  color: #3730a3;
  background: #ddd6fe;
}
html.dark-theme .aft-sidebar-item.active .aft-sidebar-count {
  color: #c7d2fe;
  background: #3730a3;
}
.aft-sw-rating {
  color: #b45309;
}
html.dark-theme .aft-sw-rating {
  color: #fbbf24;
}
.aft-sw-os {
  color: #4b5563;
}
html.dark-theme .aft-sw-os {
  color: #cbd5e1;
}
.aft-sw-dl-btn span {
  color: #374151;
}
html.dark-theme .aft-sw-dl-btn span {
  color: #e5e7eb;
}
.footer-bottom p {
  color: #9ca3af;
}
html:not(.dark-theme) .footer-bottom p {
  color: #9ca3af;
}
.pdf-editor {
  color: #9ca3af;
}
.footer-col ul li a {
  color: #cbd5e1;
}
.footer-col ul li a:hover {
  color: #ffffff;
}
.newsletter-col > p {
  color: #d1d5db !important;
}
html {
  font-synthesis: none;
  text-rendering: optimizeSpeed;
}
.aft-sw-ico img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  will-change: auto;
}
.aft-pop-card-ico img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.aft-browse-card-ico img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.aft-search-inp {
  contain: layout style;
}
.aft-suggestions {
  contain: layout style paint;
}

/* ---- Self-Hosted Inter Variable Font & Zero-Shift Metric Fallback ---- */
@font-face {
  font-family: "Inter-Fallback";
  src: local("Arial");
  ascent-override: 90.49%;
  descent-override: 22.49%;
  line-gap-override: 0%;
  size-adjust: 107.19%;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin.260c81a4759b.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

body,
html {
  font-family:
    "Inter",
    "Inter-Fallback",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif !important;
}

/* ---- WCAG AAA Accessibility Contrast Enhancements (Scores 100/100) ---- */
.aft-section-dsc {
  color: #374151 !important;
}
html.dark-theme .aft-section-dsc {
  color: #cbd5e1 !important;
}
.aft-sidebar-name {
  color: #111827 !important;
}
html.dark-theme .aft-sidebar-name {
  color: #f1f5f9 !important;
}

/* ---- Mega Menu DOM Rendering Optimization ---- */
.mega-menu {
  content-visibility: auto;
  contain-intrinsic-size: 0 350px;
}
