/* ==========================================================================
   Sevnty9 TOOLS — MODERN DESIGN SYSTEM & RESPONSIVE STYLES
   ========================================================================== */

:root {
  --primary: var(--s9-blue,#0b5cff);
  --primary-hover: var(--s9-blue-dark,#0a3fc4);
  --primary-active: #1e40af;
  --primary-light: #eff6ff;
  --primary-tint: #dbeafe;

  --navy: var(--s9-ink,#0b1a3d);
  --ink: var(--s9-ink,#0b1a3d);
  --muted: var(--s9-muted,#4a5b7d);
  --soft: #94a3b8;
  --line: var(--s9-line,#e3eaf8);
  --line-light: #f1f5f9;

  --surface: #ffffff;
  --bg-page: #f8faff;
  --bg-soft: #f8faff;
  --bg-tint: #f1f5f9;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px rgba(37, 99, 235, 0.08), 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 24px 48px rgba(37, 99, 235, 0.12), 0 8px 18px rgba(15, 23, 42, 0.06);

  --font-heading: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: 'BrandHandwriting', 'Segoe Script', cursive;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background-color: var(--bg-page);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button, input, select {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

button:disabled {
  cursor: not-allowed;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: min(1220px, calc(100% - 48px));
  margin-inline: auto;
}

[hidden] {
  display: none !important;
}

/* ==========================================================================
   HEADER & BRANDING
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: all 0.25s ease;
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand & Logo */
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-header {
  padding-block: 4px;
}

.header-brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}

.brand-footer {
  margin-bottom: 16px;
}

.footer-brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  transition: color 0.2s ease;
  position: relative;
}

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

.nav-chevron {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 180px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.dropdown-menu a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.dropdown-menu a svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #ffffff;
  color: #475569;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  color: var(--primary);
  border-color: var(--primary-tint);
  background: var(--primary-light);
}

.search-btn-round {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

.search-btn-round:hover {
  background: var(--primary-hover);
  color: #ffffff;
  border-color: var(--primary-hover);
  transform: scale(1.05);
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  cursor: pointer;
}

.nav-cta-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.cta-sparkle-ic {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.mobile-menu-btn {
  display: none;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  gap: 10px;
}

.mobile-nav:not([hidden]) {
  display: flex;
}

.mobile-nav a {
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: #334155;
}

.mobile-nav a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(25px, 3.4vw, 54px);
  background: radial-gradient(ellipse at 78% 45%, #dce6ff, transparent 56%), linear-gradient(150deg, #fff, #f3f6ff 72%, #f8faff);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}

.hero-pill-icon {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

.hero-heading {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: clamp(38px, 4.4vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.8px;
  color: var(--navy);
}

.hero-accent {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.sparkle-spark {
  color: #f59e0b;
  font-size: 0.55em;
  vertical-align: top;
  margin-left: 6px;
  letter-spacing: 2px;
  animation: pulse-sparkle 2.5s ease-in-out infinite;
}

@keyframes pulse-sparkle {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.hero-subtext {
  max-width: 500px;
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28);
  transition: all 0.25s ease;
}

.btn-primary-hero:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.38);
}

.btn-primary-hero svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.btn-primary-hero:hover svg {
  transform: translateX(3px);
}

.play-icon {
  font-size: 11px;
}

.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  background: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.btn-secondary-hero:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-secondary-hero svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

/* Hero Art Graphic Mockup */
.hero-art-wrapper {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 275px;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  width: 94%;
  height: 86%;
  border-radius: 46% 54% 58% 42% / 65% 57% 43% 35%;
  transform: rotate(-7deg);
  background: linear-gradient(125deg, #e0e5ff, #bfcaff 56%, #a4c7fd);
}

.workspace-card {
  position: relative;
  width: min(74%, 395px);
  border: 1px solid #fff;
  border-radius: 14px;
  background: white;
  box-shadow: 0 17px 32px #33439240, 0 3px 8px #344ebc20;
  transform: rotate(-1.5deg);
  overflow: hidden;
}

.workspace-card:hover {
  transform: rotate(-1.5deg);
}

.workspace-card-header {
  height: 32px;
  display: flex;
  align-items: center;
  padding-inline: 14px;
  background: linear-gradient(90deg, white, #edf2ff);
  border-bottom: 1px solid #e1e6fa;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fca5a5;
}

.window-dots i:nth-child(2) { background: #fcd34d; }
.window-dots i:nth-child(3) { background: #86efac; }

.workspace-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.ws-logo {
  height: 14px;
  width: auto;
}

.ws-tool-btn svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.workspace-card-body {
  display: flex;
  align-items: flex-start;
  padding: 11px 13% 17px 12px;
  gap: 12px;
}

.workspace-sidebar-tools {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.workspace-sidebar-tools span {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.workspace-sidebar-tools span:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.workspace-sidebar-tools span svg {
  width: 15px;
  height: 15px;
}

.workspace-canvas {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.canvas-image {
  height: clamp(125px, 12vw, 170px);
  border-radius: 5px;
  background: linear-gradient(145deg, #75a7ff, #a9a2ff 58%, #f0c7eb);
  position: relative;
  overflow: hidden;
}

.canvas-sun {
  position: absolute;
  top: 16%;
  right: 19%;
  width: 18%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffdb5d;
}

.canvas-mountain {
  position: absolute;
  inset: 0;
}

.mountain-back {
  background: linear-gradient(120deg, #9272cc, #7556c3);
  clip-path: polygon(0 94%, 12% 84%, 26% 52%, 35% 43%, 48% 41%, 61% 45%, 74% 47%, 88% 63%, 100% 56%, 100% 100%, 0 100%);
}

.mountain-front {
  background: linear-gradient(125deg, #5046ac, #3b388e);
  clip-path: polygon(0 100%, 25% 83%, 41% 74%, 47% 75%, 60% 63%, 67% 66%, 75% 57%, 88% 59%, 100% 68%, 100% 100%);
}

.canvas-crop-handle {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid #ffffff;
}

.ch-tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.ch-tr { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.ch-bl { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.ch-br { bottom: 12px; right: 12px; border-left: none; border-top: none; }

.timeline-bar {
  height: 6px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  position: relative;
}

.timeline-thumb {
  width: 70%;
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.workspace-card-footer {
  padding: 12px 18px 16px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ws-file-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ws-file-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.ws-file-icon svg { width: 16px; height: 16px; }

.ws-file-meta strong {
  display: block;
  font-size: 12px;
  color: var(--navy);
}

.ws-file-meta small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.ws-status-pill {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: #dcfce7;
  color: #15803d;
  font-size: 11px;
  font-weight: 700;
}

/* Floating Badges around Hero Art */
.hero-floating-badge {
  position: absolute;
  z-index: 4;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  background: #ffffff;
}

.badge-pdf {
  top: 36px;
  right: -8px;
  background: #ef4444;
  color: #ffffff;
  padding: 6px 12px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.5px;
  transform: rotate(6deg);
}

.badge-scissors {
  top: 14px;
  left: 10px;
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  transform: rotate(-10deg);
}

.badge-play {
  bottom: 30px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: #f59e0b;
  color: #ffffff;
  border-radius: 50%;
  font-size: 14px;
  transform: rotate(8deg);
}

/* ==========================================================================
   STATS STRIP
   ========================================================================== */

.stats-strip {
  border-block: 1px solid #edf2f7;
  background: #fbfcfe;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  border: 1px solid #e2e8f8;
  border-radius: 17px;
  background: linear-gradient(110deg, white, #f4f7ff);
  box-shadow: 0 3px 10px #273e7e08;
  padding: 19px 0;
}

.stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: var(--primary);
}

.stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.stat-icon-wrap svg { width: 20px; height: 20px; }

.icon-blue { background: #dbeafe; color: #1d4ed8; }
.icon-cyan { background: #cffafe; color: #0e7490; }
.icon-indigo { background: #e0e7ff; color: #4338ca; }
.icon-green { background: #dcfce7; color: #15803d; }

.stat-content strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.stat-content span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: #e2e8f0;
}

/* ==========================================================================
   TOOLS EXPLORATION SECTION
   ========================================================================== */

.tools-section {
  padding-block: 34px 0;
}

.section-top-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 8px;
  text-transform: uppercase;
}

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

.section-top-left h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -1.2px;
  color: var(--navy);
  margin: 0 0 8px;
}

.heading-blue {
  color: var(--primary);
}

.section-top-left p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.live-tools-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  font-size: 13px;
  color: #334155;
  white-space: nowrap;
}

.live-tools-pill strong {
  font-weight: 700;
  color: #0f172a;
}

.live-tools-pill .pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2.2s infinite cubic-bezier(0.66, 0, 0, 1);
  display: inline-block;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.live-tools-pill .pill-divider {
  color: #cbd5e1;
}

.view-all-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  background: #ffffff;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.view-all-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

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

/* Filter Controls & Search Bar */
.tools-control-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.category-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tab-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.tab-pill svg { width: 15px; height: 15px; opacity: 0.8; }

.tab-pill:hover {
  border-color: #bfdbfe;
  color: var(--primary);
  background: #f8faff;
}

.tab-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.tab-pill.active svg { opacity: 1; }

.search-box {
  width: 290px;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.search-icon {
  width: 17px;
  height: 17px;
  color: var(--muted);
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 13.5px;
  color: var(--navy);
}

/* Active filter alert strip */
.active-filter-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--primary-light);
  border: 1px solid var(--primary-tint);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary-hover);
}

.clear-filter-btn {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Categorized Section Blocks */
.category-block {
  margin-bottom: 27px;
}

.cat-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.cat-block-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cat-block-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.cat-block-icon svg { width: 20px; height: 20px; }

.cat-icon-image { background: #ede9fe; color: #7c3aed; }
.cat-icon-pdf { background: #fee2e2; color: #dc2626; }
.cat-icon-word { background: #dbeafe; color: #2563eb; }
.cat-icon-ppt { background: #ffedd5; color: #ea580c; }
.cat-icon-excel { background: #dcfce7; color: #16a34a; }

.cat-block-title-group h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

.cat-block-title-group p {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.cat-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  transition: all 0.2s ease;
}

.cat-view-all:hover {
  color: var(--primary-hover);
  transform: translateX(2px);
}

.cat-view-all svg { width: 14px; height: 14px; }

/* Tool Cards Grid Layout */
.category-cards-grid, .filtered-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

/* Individual Tool Card — Professional Modern SaaS Styling */
.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 13px 17px 16px;
  background: linear-gradient(130deg, #fff 60%, #f8faff);
  border: 1px solid #e2e8f7;
  border-radius: 14px;
  box-shadow: 0 3px 7px #233e8210;
  text-align: left;
  transition: transform .18s, border-color .18s, box-shadow .18s;
  cursor: pointer;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent, var(--primary)), transparent);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(37, 99, 235, 0.06);
}

.tool-card:hover::before {
  opacity: 1;
}

.tool-card-top {
  display: flex;
  margin-bottom: 6px;
}

.tool-icon {
  width: 36px;
  height: 33px;
  border-radius: 8px;
  background: var(--tint);
  color: var(--accent);
  display: grid;
  place-items: center;
}

.tool-card:hover .tool-icon {
  transform: scale(1.06);
}

.tool-icon svg {
  width: 22px;
  height: 22px;
}

.tool-badge {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 9999px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-tint);
}

.tool-badge.tag-popular {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  border-color: #fcd34d;
}

.tool-badge.tag-new {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: #065f46;
  border-color: #a7f3d0;
}

.tool-badge.tag-fast {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #1e40af;
  border-color: #bfdbfe;
}

.tool-card-body {
  flex: 1;
}

.tool-card-body h3 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.2px;
  line-height: 1.3;
}

.tool-card-body p {
  margin: 0;
  padding-right: 26px;
  font-size: 13px;
  line-height: 1.42;
  color: #4c5870;
}

.tool-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.tool-cat-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.tool-cat-tag.badge-cat-pdf {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fee2e2;
}

.tool-cat-tag.badge-cat-image {
  background: #f5f3ff;
  color: #7c3aed;
  border-color: #ede9fe;
}

.tool-cat-tag.badge-cat-word {
  background: #eff6ff;
  color: #2563eb;
  border-color: #dbeafe;
}

.tool-cat-tag.badge-cat-ppt {
  background: #fffbeb;
  color: #d97706;
  border-color: #fef3c7;
}

.tool-cat-tag.badge-cat-excel {
  background: #ecfdf5;
  color: #059669;
  border-color: #d1fae5;
}

.card-arrow-circle {
  position: absolute;
  right: 11px;
  bottom: 11px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e9eeff;
  color: var(--primary);
  display: grid;
  place-items: center;
}

.card-arrow-circle svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.tool-card:hover .card-arrow-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateX(2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.tool-card:hover .card-arrow-circle svg {
  transform: translateX(2px);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #94a3b8;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}

.empty-icon-wrap svg { width: 26px; height: 26px; }

.empty-state h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 8px;
}

.empty-state p {
  color: var(--muted);
  margin: 0 0 24px;
}

/* ==========================================================================
   QUICK ACCESS BANNER
   ========================================================================== */

.quick-access-section {
  margin-block: 16px 38px;
}

.quick-access-banner {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.28);
  flex-wrap: wrap;
}

.quick-access-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.quick-icon-folder {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  color: #ffffff;
}

.quick-icon-folder svg { width: 24px; height: 24px; }

.quick-access-left h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
}

.quick-access-left p {
  margin: 4px 0 0;
  font-size: 13.5px;
  opacity: 0.88;
}

.quick-access-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-full);
  background: #ffffff;
  color: #1e293b;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.quick-pill:hover {
  transform: translateY(-2px);
  background: #f8faff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.qp-icon { width: 15px; height: 15px; }
.qp-img { color: #7c3aed; }
.qp-pdf { color: #dc2626; }
.qp-doc { color: #2563eb; }
.qp-sheet { color: #16a34a; }

/* ==========================================================================
   WHY CHOOSE Sevnty9 SECTION
   ========================================================================== */

.why-section {
  padding-bottom: 70px;
}

.why-header {
  text-align: center;
  margin-bottom: 38px;
}

.why-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

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

.why-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.why-card-icon svg { width: 22px; height: 22px; }

.icon-zap { background: #eff6ff; color: #2563eb; }
.icon-free { background: #f0fdf4; color: #16a34a; }
.icon-shield { background: #fef2f2; color: #dc2626; }
.icon-all { background: #faf5ff; color: #9333ea; }

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 8px;
}

.why-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq-section {
  padding-bottom: 70px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: flex-start;
}

.faq-left h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--navy);
  margin: 0 0 12px;
  line-height: 1.2;
}

.faq-left p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.faq-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-accordion {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-accordion[open] {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
}

.faq-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
}

.faq-accordion summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 18px;
  height: 18px;
  color: #94a3b8;
  transition: transform 0.25s ease;
}

.faq-accordion[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  padding: 0 22px 18px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.faq-answer p {
  margin: 0;
}

/* ==========================================================================
   PRE-FOOTER CTA BANNER
   ========================================================================== */

.bottom-cta-section {
  padding-bottom: 70px;
}

.bottom-cta-banner {
  background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-xl);
  padding: 36px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.cta-3d-graphic {
  display: grid;
  place-items: center;
}

.cube-badge {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
}

.cube-badge svg { width: 28px; height: 28px; }

.cta-text {
  flex: 1;
}

.cta-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--navy);
  margin: 0 0 6px;
}

.cta-text p {
  margin: 0;
  font-size: 14.5px;
  color: #475569;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */

.site-footer {
  background: #f8faff;
  border-top: 1px solid var(--line);
  padding-top: 60px;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 50px;
}

.footer-brand-col .brand {
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 300px;
  margin: 0 0 20px;
}

.footer-social-links {
  display: flex;
  gap: 10px;
}

.social-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #ffffff;
  color: #64748b;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.social-circle:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.social-circle svg { width: 15px; height: 15px; }

.footer-nav-col h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 16px;
}

.footer-nav-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-col a {
  font-size: 13px;
  color: #64748b;
  transition: color 0.15s ease;
}

.footer-nav-col a:hover {
  color: var(--primary);
}

.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 13px;
  color: #64748b;
  text-align: left;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

.footer-link-btn:hover {
  color: var(--primary);
  transform: translateX(2px);
}

.footer-bullet-item {
  font-size: 12.5px;
  color: #475569;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-bottom-bar {
  border-top: 1px solid #edf2f7;
  padding-block: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 10px;
}

.heart-blue {
  color: var(--primary);
}

/* ==========================================================================
   UNIVERSAL PROCESSING MODAL
   ========================================================================== */

body.modal-open {
  overflow: hidden;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
}

.tool-modal {
  width: min(880px, 100%);
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  position: relative;
  animation: modal-pop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-pop {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  background: #f8faff;
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.modal-icon svg { width: 22px; height: 22px; }

.modal-kicker {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  margin-bottom: 2px;
}

.modal-header h2 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  margin: 0;
  color: var(--navy);
}

.modal-header p {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #ffffff;
  color: #64748b;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}

.modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 24px;
  gap: 24px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #94a3b8;
  margin-bottom: 14px;
  text-transform: uppercase;
}

/* Dropzone */
.dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 34px 20px;
  text-align: center;
  background: #f8faff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dropzone:hover, .dropzone.dragover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.drop-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  box-shadow: var(--shadow-sm);
}

.dropzone h3 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--navy);
}

.dropzone p {
  margin: 0 0 6px;
  font-size: 12.5px;
  color: var(--muted);
}

.dropzone p span {
  color: var(--primary);
  font-weight: 700;
}

.dropzone small {
  font-size: 10.5px;
  color: #94a3b8;
}

/* File List in Modal */
.file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  max-height: 180px;
  overflow-y: auto;
}

.file-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #f8faff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 12px;
}

.file-row strong {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--navy);
}

.file-remove-btn {
  color: #94a3b8;
  padding: 2px;
  font-size: 14px;
  transition: color 0.15s ease;
}

.file-remove-btn:hover {
  color: #ef4444;
}

/* Preview Stage */
.file-preview {
  margin-top: 16px;
  background: #f1f5f9;
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
}

.preview-label {
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.preview-stage img, .preview-stage canvas {
  max-width: 100%;
  max-height: 180px;
  border-radius: 6px;
  object-fit: contain;
}

/* Modal Right: Form Controls */
.modal-right {
  display: flex;
  flex-direction: column;
}

.options-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.control-group label {
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
}

.control-group small {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

.control-group input[type="text"],
.control-group input[type="number"],
.control-group select {
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--navy);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease;
}

.control-group input:focus, .control-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

.inline-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
}

.tool-tip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: #64748b;
  margin: 18px 0 16px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: #f8faff;
  border: 1px solid var(--line-light);
}

.tool-tip svg { width: 16px; height: 16px; color: var(--primary); }

.process-btn {
  margin-top: auto;
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.process-btn:hover:not(:disabled) {
  background: var(--primary-hover);
}

.process-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#process-status {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

#process-status.error {
  color: #dc2626;
  font-weight: 600;
}

/* Result Card */
.result-card {
  margin-top: 14px;
  padding: 14px 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
}

.result-file-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff;
  display: grid;
  place-items: center;
}

.result-file-icon svg { width: 18px; height: 18px; }

.result-meta {
  flex: 1;
}

.result-meta strong {
  display: block;
  font-size: 13px;
  color: #15803d;
}

.result-meta small {
  display: block;
  font-size: 11.5px;
  color: #166534;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: #16a34a;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.download-btn:hover {
  background: #15803d;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 120;
  background: var(--navy);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 13.5px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1100px) {
  .category-cards-grid, .filtered-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-art-wrapper {
    order: -1;
    min-height: 360px;
  }

  .desktop-nav, .nav-cta-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: grid;
  }

  .category-cards-grid, .filtered-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .bottom-cta-banner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .cta-text {
    text-align: center;
  }

  .modal-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px);
  }

  .hero-heading {
    font-size: 32px;
    letter-spacing: -1.2px;
  }

  .category-cards-grid, .filtered-cards-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-top-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .tools-control-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    width: 100%;
  }

  .stats-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 10px;
  }

  .stat-divider {
    display: none;
  }

  .quick-access-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.hero-pill { margin-bottom: 10px; padding: 4px 12px; background: #e6edff; }
.hero-pill svg { width: 15px; height: 15px; }
.hero-heading { line-height: 1.04; letter-spacing: -.052em; }
.hero-subtext { margin-bottom: 20px; line-height: 1.5; color: #36425d; }
.hero-accent i, .hero-accent i::before, .hero-accent i::after {
  position: absolute; width: .21em; height: .062em; border-radius: 1em; background: #ffbd23;
}
.hero-accent i { left: 105%; top: 53%; }
.hero-accent i::before, .hero-accent i::after { content: ""; left: -.04em; }
.hero-accent i::before { top: -.17em; transform: rotate(-37deg); }
.hero-accent i::after { top: .17em; transform: rotate(37deg); }
.btn-primary-hero, .btn-secondary-hero { padding: 11px 18px; border-radius: 14px; }
.btn-primary-hero, .tab-pill.active, .quick-access-banner { background: linear-gradient(120deg, #0075f3, #1733e8 66%, #345af5); }
.btn-secondary-hero { border-color: #a6b7ff; color: #1d40bc; }
.editor-file, .editor-controls, .editor-image {
  position: absolute; z-index: 1; display: grid; place-items: center;
  border-radius: 13px; box-shadow: 0 7px 15px #263b8340;
}
.editor-controls { top: 9%; right: 9%; width: 58px; height: 37px; color: white; background: linear-gradient(135deg, #278aff, #203bdb); }
.editor-file, .editor-image { background: linear-gradient(145deg, #fff, #edf2fe); border: 2px solid white; }
.editor-file { bottom: 6%; right: 8%; width: 73px; height: 75px; color: #ed3e50; transform: rotate(3deg); }
.editor-file svg { width: 39px; height: 46px; }
.editor-file b { position: absolute; top: 45%; color: white; background: #e73240; border-radius: 4px; padding: 0 5px; font-size: 12px; }
.editor-image { bottom: 7%; left: 8%; width: 66px; height: 52px; color: #3562e9; transform: rotate(-5deg); }
.editor-image svg { width: 38px; height: 35px; fill: #d2edff; }
.stat-item + .stat-item { border-left: 1px solid #dce3f4; }
.stat-item > svg { width: 25px; height: 25px; }
.section-top-bar { margin-bottom: 17px; }
#tools-heading { margin: 0 0 4px; font: 800 clamp(25px, 3vw, 37px)/1.14 var(--font-heading); color: var(--navy); letter-spacing: -.045em; }
.kicker-pill { margin-bottom: 5px; letter-spacing: .055em; }
.tools-control-bar { gap: 12px; margin-bottom: 23px; }
.tab-pill { border-radius: 13px; box-shadow: 0 3px 8px #243d8812; }
.cat-block-header { margin-bottom: 10px; gap: 8px; }
.cat-view-all { white-space: nowrap; min-height: 44px; }
.cat-block-title-group { gap: 10px; }
.tool-card-body h3 { margin-bottom: 3px; }
.quick-access-banner { gap: 13px; }
.faq-accordion[open] { background: #edf2ff; }
.faq-accordion summary svg { width: 16px; height: 16px; }
.faq-accordion[open] summary svg { transform: rotate(180deg); }
:where(a, button, summary):focus-visible { outline: 3px solid #2058ce; outline-offset: 3px; }
@media (min-width: 650px) and (max-width: 860px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 12px; }
  .hero-art-wrapper { order: 0; min-height: 225px; }
}
@media (max-width: 649px) {
  .hero-grid { grid-template-columns: 1fr; gap: 6px; }
  .hero-heading { font-size: clamp(36px, 9vw, 48px); }
  .hero-actions { gap: 7px; }
  .hero-actions a { padding: 10px 12px; gap: 6px; font-size: 13px; }
  .hero-art-wrapper { order: 0; min-height: 163px; width: min(100%, 355px); margin: 8px auto 0; }
  .workspace-card-header { height: 22px; }
  .workspace-card-body { padding-block: 6px 11px; gap: 8px; }
  .workspace-sidebar-tools { gap: 5px; }
  .workspace-sidebar-tools span { width: 22px; height: 21px; }
  .canvas-image { height: 84px; }
  .editor-file { width: 48px; height: 50px; }
  .editor-file svg { width: 27px; height: 33px; }
  .editor-image { width: 44px; height: 37px; }
  .editor-image svg { width: 28px; height: 26px; }
  .editor-controls { width: 39px; height: 26px; }
  .stats-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; gap: 14px 6px; }
  .stat-item, .stat-item + .stat-item { border: 0; justify-content: start; gap: 8px; }
  .stat-content strong { font-size: 14px; }
  .stat-content span { font-size: 11px; }
  .stat-item > svg { width: 18px; }
  .tab-pill { padding: 8px 11px; }
  .search-box input { min-width: 0; }
  .tools-section { padding-top: 23px; }
  .tool-card { padding-inline: 12px; }
  .category-cards-grid, .filtered-cards-grid { gap: 9px; }
}
@media (min-width: 390px) and (max-width: 600px) {
  .category-cards-grid, .filtered-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Shared Sevnty9 site chrome, scoped to the tools page. */
.s9-site-promo { display:flex; align-items:center; justify-content:space-between; gap:32px; margin-top:32px; padding:28px 30px; border:1px solid #d8e5ff; border-radius:18px; background:linear-gradient(120deg,#f0f6ff,#fff); }
.s9-site-promo__eyebrow { display:block; margin-bottom:8px; color:var(--s9-blue-dark,#0a3fc4); font-size:14px; font-weight:700; }
.s9-site-promo h2 { margin:0 0 10px; color:var(--s9-ink,#0b1a3d); font:800 clamp(22px,2.4vw,28px)/1.25 var(--font-heading); letter-spacing:-.5px; }
.s9-site-promo p { max-width:680px; margin:0; color:var(--s9-muted,#4a5b7d); }
.s9-site-promo__actions { display:grid; justify-items:center; gap:12px; flex-shrink:0; }
.s9-site-promo__actions a { color:var(--s9-blue-dark,#0a3fc4); font-size:14px; font-weight:600; text-decoration:underline; }
.s9-site-promo__actions a.s9-site-promo__primary { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:12px 20px; border-radius:10px; background:var(--s9-blue,#0b5cff); color:#fff; text-decoration:none; }
.s9-site-promo__primary:hover { background:var(--s9-blue-dark,#0a3fc4); }
@media(max-width:700px) { .s9-site-promo { flex-direction:column; align-items:stretch; gap:20px; padding:22px; } .s9-site-promo__actions { justify-items:start; } }
.s9-tools-header { min-height:84px; border-bottom:1px solid var(--line); background:#fff; }
.s9-tools-header__inner { display:flex; align-items:center; justify-content:space-between; gap:24px; min-height:84px; max-width:1200px; margin:auto; padding:12px 24px; }
.s9-tools-brand { display:flex; align-items:center; gap:12px; }
.s9-tools-brand img { width:48px; height:48px; object-fit:contain; }
.s9-tools-brand strong { display:block; color:var(--primary-hover); font-size:28px; line-height:1.3; }
.s9-tools-brand small { display:block; font-family:BrandHandwriting,'Segoe Script',cursive; font-size:16px; color:var(--muted); }
.s9-tools-header nav { display:flex; align-items:center; gap:24px; font-weight:600; }
.s9-tools-header nav a[aria-current] { color:var(--primary); }
.s9-tools-header a:focus-visible,.s9-tools-footer a:focus-visible { outline:3px solid #f6a609; outline-offset:4px; }
.s9-tools-footer { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:20px; padding:28px 24px; border-top:1px solid var(--line); background:#fff; color:var(--muted); font-size:14px; }
.s9-tools-footer nav { display:flex; gap:20px; }
.s9-tools-footer p { margin:0; }
@media(max-width:640px) { .s9-tools-header__inner { flex-wrap:wrap; gap:12px; padding:12px 18px; } .s9-tools-header nav { gap:16px; font-size:14px; } .s9-tools-header__inner>nav { order:3; width:100%; } }


.s9-site-promo__actions a.s9-site-promo__url { text-decoration:none; }
