:root {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --primary-light: #a78bfa;
  --accent: #f43f5e;
  --success: #10b981;
  --dark: #0b1020;
  --ink: #1e293b;
  --body-bg: #f7f7fb;
  --border: #e8e8f0;
  --text-muted: #64748b;
  --radius-lg: 28px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--body-bg);
  color: var(--ink);
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
body::before {
  content: '';
  position: fixed;
  top: -25%; right: -15%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(124,58,237,0.14) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  bottom: -25%; left: -15%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(244,63,94,0.10) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
main, header, section, footer, nav, .navbar-shell { position: relative; z-index: 1; }

/* ============ NAVBAR ============ */
.navbar-shell {
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: 0.75rem 0;
  transition: padding 0.3s ease;
}
.navbar-shell.scrolled { padding: 0.5rem 0; }
.navbar-inner {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 100px;
  padding: 0.5rem 0.6rem 0.5rem 1rem;
  box-shadow: 0 8px 24px -12px rgba(15, 23, 42, 0.12),
              0 2px 6px -2px rgba(124, 58, 237, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed, #f43f5e);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 6px 16px -6px rgba(124, 58, 237, 0.55);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #7c3aed 0%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.brand-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 3px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: #475569 !important;
  padding: 0.55rem 1rem !important;
  border-radius: 100px;
  transition: all 0.25s;
  text-decoration: none;
  white-space: nowrap;
}
.nav-menu .nav-link:hover {
  color: var(--primary-dark) !important;
  background: rgba(124, 58, 237, 0.08);
}
.nav-menu .nav-link.active {
  color: #fff !important;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  box-shadow: 0 8px 18px -8px rgba(124, 58, 237, 0.6);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.83rem;
  color: #fff;
  padding: 0.6rem 1.15rem;
  border-radius: 100px;
  background: linear-gradient(135deg, #7c3aed, #d946ef, #f43f5e);
  background-size: 200% 200%;
  animation: ctaShimmer 5s ease infinite;
  box-shadow: 0 10px 22px -8px rgba(124, 58, 237, 0.55);
  text-decoration: none;
  transition: transform 0.25s;
  white-space: nowrap;
}
@keyframes ctaShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.nav-cta:hover { color: #fff; transform: translateY(-2px); }
.nav-cta:active { transform: translateY(0) scale(0.97); }
.nav-toggle {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  border: 1px solid rgba(124, 58, 237, 0.18);
  background: rgba(255,255,255,0.9);
  color: var(--primary-dark);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  line-height: 1;
}
.nav-toggle:active { transform: scale(0.94); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
  display: block;
}
.mobile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 16, 32, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.mobile-drawer {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  background: #ffffff;
  border-radius: 24px;
  padding: 1rem;
  box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255,255,255,0.9);
  transform: translateY(-16px) scale(0.97);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.3s;
  max-height: calc(100vh - 1.5rem);
  overflow-y: auto;
}
.mobile-menu.open .mobile-drawer {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.mobile-close {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: #fff;
  color: #475569;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  padding: 0;
  cursor: pointer;
}
.mobile-close:active { background: #fef2f2; color: #ef4444; }
.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.mobile-nav-list a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid transparent;
}
.mobile-nav-list a i {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(124,58,237,0.09);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.mobile-nav-list a.active,
.mobile-nav-list a:active {
  background: rgba(124,58,237,0.07);
  border-color: rgba(124,58,237,0.15);
  color: var(--primary-dark);
}
.mobile-nav-list a.active i {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff;
}
.mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
  padding: 0.95rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #7c3aed, #d946ef, #f43f5e);
  background-size: 200% 200%;
  animation: ctaShimmer 5s ease infinite;
  box-shadow: 0 12px 24px -10px rgba(124, 58, 237, 0.55);
}
.mobile-cta:active { transform: scale(0.98); }

@media (max-width: 991px) {
  .nav-menu { display: none; }
  .nav-toggle { display: inline-flex; }
  .navbar-inner { padding: 0.45rem 0.5rem 0.45rem 0.85rem; }
}
@media (min-width: 992px) {
  .mobile-menu { display: none !important; }
}
@media (max-width: 400px) {
  .brand-tag { display: none; }
  .brand-name { font-size: 1.05rem; }
  .brand-icon { width: 34px; height: 34px; font-size: 0.95rem; }
}

/* ============ HERO ============ */
.hero-section { padding: 3rem 0 3rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255,255,255,0.85);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.5rem 1rem 0.5rem 0.55rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(124,58,237,0.18);
  box-shadow: 0 4px 14px -6px rgba(124,58,237,0.2);
}
.hero-badge .dot-wrap {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.7; }
}
.hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 6vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
  color: var(--dark);
}
.gradient-text {
  background: linear-gradient(135deg, #7c3aed 0%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.65;
  font-weight: 500;
}
.trust-row {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}
.trust-item i { color: var(--primary); font-size: 0.9rem; }

/* ============ TOOL CARD ============ */
.tool-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 30px 60px -20px rgba(124, 58, 237, 0.22),
              0 10px 30px -18px rgba(15, 23, 42, 0.12);
  position: relative;
  z-index: 2;
}
.drop-area {
  border: 2px dashed #d4d4e0;
  border-radius: 22px;
  padding: 2.75rem 1.25rem;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #fafaff 100%);
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
}
.drop-area.highlight {
  border-color: var(--primary);
  border-style: solid;
  background: linear-gradient(180deg, #f5f2ff, #ece7ff);
  box-shadow: 0 0 0 6px rgba(124, 58, 237, 0.12);
  transform: scale(1.01);
}
.drop-icon-wrap {
  width: 78px; height: 78px;
  margin: 0 auto 1rem;
  border-radius: 22px;
  background: linear-gradient(135deg, #f5f3ff, #fce7f3);
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9),
              0 10px 24px -12px rgba(124,58,237,0.3);
}
.drop-icon-wrap i {
  font-size: 2.2rem;
  background: linear-gradient(135deg, #7c3aed, #f43f5e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.drop-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--dark);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.drop-hint {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.btn-browse {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 0.75rem 1.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 12px 24px -10px rgba(124, 58, 237, 0.6);
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn-browse:active { transform: scale(0.97); }
.drop-formats {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 1.1rem;
  flex-wrap: wrap;
}
.format-chip {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.15);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  letter-spacing: 0.06em;
}

.file-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.file-list-header h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.file-count-badge {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 100px;
  margin-left: 0.45rem;
}
.file-list {
  max-height: 280px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 4px;
}
.file-item {
  background: #fff;
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.55rem;
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}
.file-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  display: grid;
  place-items: center;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 1rem;
}
.file-info { flex: 1; min-width: 0; }
.file-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-meta {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  margin-top: 0.2rem;
  flex-wrap: wrap;
}
.size-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  background: #f1f5f9;
  color: #475569;
}
.size-badge.compressed { background: rgba(16, 185, 129, 0.12); color: #047857; }
.size-arrow { color: #cbd5e1; font-size: 0.65rem; }
.file-actions { display: flex; gap: 0.3rem; flex-shrink: 0; }
.icon-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: none;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
  touch-action: manipulation;
}
.icon-btn.download { color: var(--success); background: rgba(16, 185, 129, 0.1); }
.icon-btn.download:active { background: var(--success); color: #fff; }
.icon-btn.remove { color: #ef4444; background: rgba(239, 68, 68, 0.08); }
.icon-btn.remove:active { background: #ef4444; color: #fff; }

.action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.target-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}
.target-info i {
  color: var(--primary);
  font-size: 0.95rem;
  background: rgba(124,58,237,0.1);
  width: 26px; height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.btn-compress {
  background: linear-gradient(135deg, #7c3aed 0%, #d946ef 50%, #f43f5e 100%);
  background-size: 200% 200%;
  animation: shimmer 4s ease infinite;
  border: none;
  border-radius: 100px;
  padding: 0.85rem 1.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  box-shadow: 0 14px 28px -10px rgba(124, 58, 237, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  touch-action: manipulation;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.btn-compress:active:not(:disabled) { transform: scale(0.97); }
.btn-compress:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  animation: none;
}
.btn-download-all {
  border: 1.5px solid rgba(124,58,237,0.4);
  color: var(--primary-dark);
  background: #fff;
  border-radius: 100px;
  padding: 0.78rem 1.5rem;
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  touch-action: manipulation;
}
.btn-download-all:active:not(:disabled) { background: linear-gradient(135deg, #7c3aed, #6d28d9); color: #fff; }
.btn-download-all:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-clear {
  background: transparent;
  border: 1px solid #fecaca;
  color: #dc2626;
  border-radius: 100px;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}
.btn-clear:active { background: #fef2f2; }

#statusMessage {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.85rem;
}
#statusMessage:empty { display: none; padding: 0; }
#statusMessage.info { background: rgba(124,58,237,0.08); color: var(--primary-dark); }
#statusMessage.error { background: rgba(239,68,68,0.08); color: #b91c1c; }
#statusMessage.success { background: rgba(16,185,129,0.1); color: #047857; }

.progress-wrap { margin-top: 1.25rem; display: none; }
.progress-wrap.active { display: block; }
.progress-track { height: 8px; background: #eef2ff; border-radius: 100px; overflow: hidden; }
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #7c3aed, #d946ef, #f43f5e);
  width: 0%;
  border-radius: 100px;
  transition: width 0.4s ease;
}

/* ============ ARTICLE ============ */
.article-section { padding: 4rem 0; position: relative; }
.article-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 90%; max-width: 1200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.2), transparent);
}
.article-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}
.article-eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: linear-gradient(90deg, #7c3aed, #f43f5e);
  border-radius: 2px;
}
.article-section h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--dark);
}
.article-section .lead-para {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #334155;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.article-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 1.25rem;
}
.article-section h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark);
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  padding-left: 1rem;
  position: relative;
  letter-spacing: -0.02em;
}
.article-section h3::before {
  content: '';
  position: absolute;
  left: 0; top: 0.3em; bottom: 0.3em;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #7c3aed, #f43f5e);
}
.article-figure { margin: 2.25rem 0; }
.article-img {
  border-radius: 20px;
  box-shadow: 0 30px 60px -25px rgba(15,23,42,0.35);
  display: block;
  margin: 0 auto;
}
.article-figure figcaption {
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  font-weight: 500;
}
.article-highlight {
  background: linear-gradient(135deg, rgba(124,58,237,0.07), rgba(244,63,94,0.05));
  border-left: 4px solid var(--primary);
  border-radius: 0 16px 16px 0;
  padding: 1.25rem 1.4rem;
  margin: 1.75rem 0;
  position: relative;
}
.article-highlight p {
  margin: 0;
  font-size: 0.98rem;
  color: #334155;
  font-weight: 500;
}
.article-highlight strong { color: var(--primary-dark); }

.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  color: var(--dark);
}
.tool-chip {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.75rem 1.1rem;
  font-weight: 600;
  font-size: 0.82rem;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.tool-chip.active {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 24px -10px rgba(124,58,237,0.55);
}

.faq-item {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-item.open {
  border-color: rgba(124,58,237,0.35);
  box-shadow: 0 12px 28px -14px rgba(124,58,237,0.3);
}
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  font-family: inherit;
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}
.faq-q .chev {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(124,58,237,0.1);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  transition: transform 0.3s;
}
.faq-item.open .faq-q .chev {
  transform: rotate(180deg);
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 1.25rem 1.15rem; }
.faq-q:focus-visible, .drop-area:focus-visible, .tool-chip:focus-visible { outline: 3px solid var(--primary-light); outline-offset: 2px; }
.article-section ol, .article-section ul { padding-left: 1.3rem; margin-bottom: 1.25rem; line-height: 1.7; }
.article-section li { margin-bottom: 0.4rem; }
.article-section a { color: var(--primary-dark); font-weight: 600; }

footer {
  background: linear-gradient(180deg, #0b1020, #1a1040);
  color: #cbd5e1;
  padding: 2.5rem 0 2rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}
footer a { color: #a5b4fc; text-decoration: none; }
.footer-brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  background: linear-gradient(135deg, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-icon {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, #7c3aed, #f43f5e);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.85rem;
  -webkit-text-fill-color: #fff;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-section { padding: 2rem 0 2rem; }
  .tool-card { padding: 1.25rem; border-radius: 22px; }
  .drop-area { padding: 2rem 1rem; }
  .drop-icon-wrap { width: 68px; height: 68px; }
  .drop-icon-wrap i { font-size: 1.9rem; }
  .drop-title { font-size: 1.02rem; }
  .drop-hint { font-size: 0.82rem; }
  .action-bar { flex-direction: column; align-items: stretch; gap: 0.65rem; }
  .action-bar .btn-compress,
  .action-bar .btn-download-all { width: 100%; }
  .action-bar > .d-flex { width: 100%; flex-direction: column; gap: 0.55rem !important; }
  .target-info { justify-content: center; }
  .article-section { padding: 2.5rem 0; }
  .article-section h3 { font-size: 1.12rem; }
  .article-highlight { padding: 1rem 1.15rem; }
  .trust-row { gap: 1rem; }
  .trust-item { font-size: 0.72rem; }
  .file-item { padding: 0.7rem 0.75rem; }
}
@media (max-width: 400px) {
  .tool-card { padding: 1rem; border-radius: 20px; }
  .drop-area { padding: 1.75rem 0.85rem; }
  .drop-icon-wrap { width: 60px; height: 60px; }
  .drop-icon-wrap i { font-size: 1.7rem; }
  .btn-browse { padding: 0.7rem 1.4rem; font-size: 0.85rem; width: 100%; justify-content: center; }
  .hero-badge { font-size: 0.7rem; padding: 0.4rem 0.85rem 0.4rem 0.45rem; }
  .file-icon { width: 32px; height: 32px; font-size: 0.9rem; }
  .icon-btn { width: 34px; height: 34px; }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }