/* ==========================================================================
   NEXORIY - Premium Global Digital Utility Platform
   CSS Design System (Light & Dark Theme, Responsive, Mobile-First)
   https://nexoriy.com
   ========================================================================== */

:root {
  /* Color Palette - Clean Minimalism (Slate & Indigo) */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-subtle-hover: #f1f5f9;
  --border-color: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-color-hover: #cbd5e1;
  --border-focus: #4f46e5;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  --text-inverse: #ffffff;

  /* Primary Brand: Indigo 600 */
  --accent-primary: #4f46e5;
  --accent-hover: #4338ca;
  --accent-light: #eef2ff;
  --accent-text: #4338ca;
  --accent-border: #e0e7ff;
  --accent-glow: rgba(79, 70, 229, 0.12);

  --badge-bg: #eef2ff;
  --badge-text: #4338ca;
  --badge-border: #e0e7ff;

  --success: #10b981;
  --success-bg: #ecfdf5;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  --danger: #ef4444;
  --danger-bg: #fef2f2;

  /* Category Specific Accents */
  --cat-text-bg: #eff6ff;
  --cat-text-color: #2563eb;
  --cat-image-bg: #ecfdf5;
  --cat-image-color: #059669;
  --cat-business-bg: #fffbeb;
  --cat-business-color: #d97706;
  --cat-dev-bg: #faf5ff;
  --cat-dev-color: #9333ea;

  /* Radius System: Clean & Rounded */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows: Crisp & Minimalist */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.03);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --header-height: 64px;
}

[data-theme="dark"] {
  --bg-body: #0b1120;
  --bg-surface: #1e293b;
  --bg-surface-elevated: #1e293b;
  --bg-subtle: #0f172a;
  --bg-subtle-hover: #1e293b;
  --border-color: #334155;
  --border-subtle: #1e293b;
  --border-color-hover: #475569;
  --border-focus: #6366f1;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --text-inverse: #0f172a;

  --accent-primary: #6366f1;
  --accent-hover: #818cf8;
  --accent-light: #1e1b4b;
  --accent-text: #a5b4fc;
  --accent-border: #312e81;
  --accent-glow: rgba(99, 102, 241, 0.2);

  --badge-bg: #1e1b4b;
  --badge-text: #a5b4fc;
  --badge-border: #312e81;

  --success-bg: #064e3b;
  --warning-bg: #78350f;
  --danger-bg: #7f1d1d;

  --cat-text-bg: rgba(37, 99, 235, 0.15);
  --cat-text-color: #93c5fd;
  --cat-image-bg: rgba(5, 150, 105, 0.15);
  --cat-image-color: #6ee7b7;
  --cat-business-bg: rgba(217, 119, 6, 0.15);
  --cat-business-color: #fcd34d;
  --cat-dev-bg: rgba(147, 51, 234, 0.15);
  --cat-dev-color: #d8b4fe;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section-spacing {
  padding-top: 64px;
  padding-bottom: 64px;
}

@media (min-width: 768px) {
  .section-spacing {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

[data-theme="dark"] .site-header {
  background: var(--bg-surface);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo-img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: block;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.2);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.06) rotate(-2deg);
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
}

.brand-name-dot {
  color: var(--accent-primary);
  font-size: 1.5rem;
  line-height: 0;
  margin-left: 2px;
}

.brand-icon {
  width: 32px;
  height: 32px;
  background-color: var(--accent-primary);
  color: #ffffff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 1px 2px rgba(79, 70, 229, 0.25);
  transition: background-color var(--transition-fast);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 28px;
}

@media (min-width: 992px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 0;
  position: relative;
  transition: color var(--transition-fast);
}

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

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-primary);
  border-radius: var(--radius-full);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle-hover);
  border-color: var(--border-color-hover);
}

.btn-subtle {
  color: var(--text-secondary);
  border-radius: var(--radius-md);
}

.btn-subtle:hover {
  color: var(--text-primary);
  background-color: var(--bg-subtle-hover);
}

.btn-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  color: var(--text-primary);
  background-color: var(--bg-subtle-hover);
  border-color: var(--border-color-hover);
}

/* Modern Header Search Bar (Vercel / Canva / GitHub style) */
.header-search-bar,
.search-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--bg-body);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  cursor: pointer;
  min-width: 220px;
  max-width: 290px;
  text-align: left;
}

.header-search-bar:hover,
.search-trigger-btn:hover {
  border-color: var(--accent-primary);
  background-color: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.header-search-icon {
  font-size: 0.95rem;
  opacity: 0.8;
  flex-shrink: 0;
}

.header-search-placeholder {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.header-search-bar:hover .header-search-placeholder,
.search-trigger-btn:hover .header-search-placeholder {
  color: var(--text-secondary);
}

.search-shortcut,
.header-search-kbd {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  line-height: 1;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .header-search-bar,
  .search-trigger-btn {
    min-width: unset;
    padding: 6px 10px;
    gap: 6px;
  }
  .header-search-placeholder {
    display: none;
  }
}

.mobile-menu-toggle {
  display: flex;
}

@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  z-index: 49;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

/* Hero Section */
.hero {
  padding: 56px 0 44px;
  text-align: center;
  position: relative;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 680px;
  height: 280px;
  background: radial-gradient(ellipse at center, rgba(79, 70, 229, 0.09) 0%, rgba(139, 92, 246, 0.04) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark"] .hero::before {
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.18) 0%, rgba(139, 92, 246, 0.08) 50%, transparent 70%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-feature-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.hero-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background-color: var(--success);
}

/* Category Filter Tabs */
.category-filter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.category-filter-btn {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.category-filter-btn:hover {
  border-color: var(--border-color-hover);
  color: var(--text-primary);
  background: var(--bg-subtle-hover);
}

.category-filter-btn.active {
  background: var(--accent-primary);
  color: #ffffff;
  border-color: var(--accent-primary);
  box-shadow: 0 2px 8px var(--accent-glow);
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--text-primary);
  color: var(--text-inverse);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

@media (min-width: 768px) {
  .hero {
    padding: 64px 0 48px;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background-color: var(--badge-bg);
  color: var(--badge-text);
  border: 1px solid var(--badge-border);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.hero-title {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  max-width: 860px;
  margin: 0 auto 16px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.1rem;
  }
}

.hero-title span, .hero-title .text-accent {
  color: var(--accent-primary);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.62;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.15rem;
  }
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

/* Global Hero Search Box - Clean Minimalism */
.hero-search-wrapper {
  max-width: 580px;
  margin: 0 auto;
  position: relative;
}

.hero-search-box {
  display: flex;
  align-items: center;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 6px 8px 6px 18px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.hero-search-box:focus-within {
  border-color: var(--accent-primary);
  background-color: var(--bg-surface);
  box-shadow: 0 0 0 3px var(--accent-glow), var(--shadow-sm);
}

.hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.95rem;
  color: var(--text-primary);
  padding: 8px 4px;
}

.hero-search-input::placeholder {
  color: var(--text-muted);
}

.hero-search-box .btn {
  border-radius: var(--radius-md);
  padding: 8px 20px;
}

.search-quick-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.search-tag {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-secondary);
}

.search-tag:hover {
  background: var(--accent-light);
  color: var(--accent-text);
  border-color: var(--accent-border);
}

/* ==========================================================================
   HERO QUICK LAUNCHPAD (Vercel + Canva + SmallSEOTools + TinyURL inspired)
   ========================================================================== */
.hero-launchpad {
  max-width: 1060px;
  margin: 36px auto 0;
  text-align: left;
}

.hero-launchpad-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding: 0 4px;
}

.launchpad-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.01em;
}

.launchpad-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-launchpad-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
}

@media (min-width: 640px) {
  .hero-launchpad-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .hero-launchpad-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.launchpad-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-decoration: none;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.launchpad-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background var(--transition-fast);
}

.launchpad-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.08);
  background-color: var(--bg-surface);
}

.launchpad-card:hover::before {
  background: var(--accent-primary);
}

.launchpad-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.launchpad-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: transform var(--transition-fast);
}

.launchpad-card:hover .launchpad-card-icon {
  transform: scale(1.08);
  border-color: var(--accent-border);
  background-color: var(--accent-light);
}

.launchpad-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tag-popular {
  background-color: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

[data-theme="dark"] .tag-popular {
  color: #fcd34d;
  background-color: rgba(245, 158, 11, 0.18);
}

.tag-instant {
  background-color: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

[data-theme="dark"] .tag-instant {
  color: #6ee7b7;
  background-color: rgba(16, 185, 129, 0.18);
}

.tag-security {
  background-color: rgba(99, 102, 241, 0.12);
  color: #4338ca;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

[data-theme="dark"] .tag-security {
  color: #a5b4fc;
  background-color: rgba(99, 102, 241, 0.18);
}

.tag-utility {
  background-color: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

[data-theme="dark"] .tag-utility {
  color: #93c5fd;
  background-color: rgba(59, 130, 246, 0.18);
}

.tag-finance {
  background-color: rgba(139, 92, 246, 0.12);
  color: #6d28d9;
  border: 1px solid rgba(139, 92, 246, 0.25);
}

[data-theme="dark"] .tag-finance {
  color: #c4b5fd;
  background-color: rgba(139, 92, 246, 0.18);
}

.tag-dev {
  background-color: rgba(236, 72, 153, 0.12);
  color: #be185d;
  border: 1px solid rgba(236, 72, 153, 0.25);
}

[data-theme="dark"] .tag-dev {
  color: #f472b6;
  background-color: rgba(236, 72, 153, 0.18);
}

.launchpad-card-content {
  flex: 1;
  margin-bottom: 16px;
}

.launchpad-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.3;
}

.launchpad-card-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.launchpad-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-primary);
}

.launchpad-arrow {
  transition: transform var(--transition-fast);
}

.launchpad-card:hover .launchpad-arrow {
  transform: translateX(4px);
}

/* Hero Trust & Metric Bar (Vercel / TinyURL style) */
.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
  padding: 16px 20px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

@media (min-width: 860px) {
  .hero-trust-bar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 4px;
}

.trust-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.trust-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.trust-text strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.trust-text span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Section Header */
.section-header {
  margin-bottom: 32px;
}

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

.section-title {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.95rem;
  }
}

.section-description {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Cards Grid */
.grid-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.grid-4-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .grid-4-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Tool Card - Clean Minimalism (Rounded-2xl, subtle border, smooth hover) */
.tool-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  position: relative;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.tool-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-md);
}

.tool-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.tool-icon {
  width: 40px;
  height: 40px;
  background-color: var(--accent-light);
  color: var(--accent-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* Category specific icon backgrounds from design */
.tool-card[data-category="text"] .tool-icon,
.tool-icon.icon-text {
  background-color: var(--cat-text-bg);
  color: var(--cat-text-color);
}

.tool-card[data-category="image"] .tool-icon,
.tool-icon.icon-image {
  background-color: var(--cat-image-bg);
  color: var(--cat-image-color);
}

.tool-card[data-category="business"] .tool-icon,
.tool-icon.icon-business {
  background-color: var(--cat-business-bg);
  color: var(--cat-business-color);
}

.tool-card[data-category="developer"] .tool-icon,
.tool-icon.icon-dev {
  background-color: var(--cat-dev-bg);
  color: var(--cat-dev-color);
}

.tool-category-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-subtle);
  background-color: transparent;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tool-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}

.tool-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.tool-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-primary);
}

.link-arrow:hover {
  gap: 10px;
}

/* Category Cards */
.category-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-align: center;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.category-card:hover {
  border-color: var(--border-color-hover);
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.category-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  color: var(--accent-primary);
  border-radius: var(--radius-md);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.category-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.category-count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Feature & Benefit Boxes */
.feature-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.feature-box-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.feature-box-title {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.feature-box-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* User Segment / Audience Pills */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .audience-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .audience-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.audience-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.audience-card:hover {
  border-color: var(--accent-primary);
  background: var(--accent-light);
  color: var(--accent-text);
  transform: translateY(-1px);
}

/* Blog Cards */
.blog-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-color-hover);
}

.blog-thumb {
  height: 180px;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2.2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.blog-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.blog-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.blog-card-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.55;
  flex: 1;
}

/* CTA Banner - Clean Minimalism (Solid Indigo 600) */
.cta-banner {
  background-color: var(--accent-primary);
  border-radius: var(--radius-xl);
  padding: 44px 24px;
  text-align: center;
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .cta-banner {
    padding: 56px 40px;
  }
}

.cta-banner-title {
  font-size: 1.95rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.025em;
}

.cta-banner-desc {
  font-size: 1.05rem;
  opacity: 0.92;
  max-width: 580px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.cta-banner .btn-secondary {
  background-color: #ffffff;
  color: var(--accent-primary);
  border: none;
  font-weight: 600;
}

.cta-banner .btn-secondary:hover {
  background-color: #f8fafc;
  color: var(--accent-hover);
}

/* Advertising / Sponsor Slot Placeholders */
.ad-slot-container {
  margin: 28px 0;
  text-align: center;
}

.ad-slot-placeholder {
  display: inline-block;
  width: 100%;
  max-width: 728px;
  min-height: 84px;
  background-color: var(--bg-surface);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* Footer - Clean Minimalism */
.site-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 48px 0 24px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  }
}

.footer-brand-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 14px 0 18px;
  max-width: 320px;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-link {
  font-size: 0.86rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-nav-link:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: var(--radius-full);
  display: inline-block;
  margin-right: 8px;
}

.version-badge {
  padding: 2px 8px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

/* ==========================================================================
   TOOL WORKSPACE STYLES (Single-Page & Specialized Tool Containers)
   ========================================================================== */
.tool-workspace {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .tool-workspace {
    padding: 36px;
  }
}

.tool-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

@media (min-width: 640px) {
  .tool-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .tool-stats-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.tool-stat-card {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
}

.tool-stat-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--accent-primary);
  line-height: 1.1;
  margin-bottom: 4px;
  font-family: var(--font-sans);
}

.tool-stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Textarea styling */
.tool-textarea {
  width: 100%;
  min-height: 240px;
  padding: 18px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  resize: vertical;
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.tool-textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Toolbar & Action Bar */
.tool-actions-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Case Converter Buttons */
.case-buttons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

@media (min-width: 768px) {
  .case-buttons-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Percentage Calculator Layout */
.calc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.calc-tab-btn {
  padding: 8px 16px;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  background: var(--bg-subtle);
}

.calc-tab-btn.active {
  background-color: var(--accent-primary);
  color: #ffffff;
}

.calc-form-card {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.calc-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.calc-input {
  padding: 10px 14px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-weight: 600;
  width: 140px;
  outline: none;
}

.calc-input:focus {
  border-color: var(--accent-primary);
}

.calc-result-box {
  background-color: var(--accent-light);
  border: 1px solid var(--accent-primary);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.calc-result-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-text);
}

/* Image Compressor Drop Area */
.dropzone {
  border: 2px dashed var(--border-color-hover);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  background-color: var(--bg-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

.dropzone-icon {
  font-size: 2.5rem;
  color: var(--accent-primary);
  margin-bottom: 12px;
}

.privacy-notice-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--success-bg);
  color: var(--success);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-top: 14px;
}

/* Image Preview Grid */
.compression-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .compression-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.preview-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
}

.preview-box img {
  max-height: 280px;
  object-fit: contain;
  margin: 0 auto;
  border-radius: var(--radius-sm);
}

/* Range Slider */
.slider-container {
  margin: 20px 0;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 8px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent-primary);
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

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

/* Tool Content Sections (SEO & Educational) */
.tool-seo-content {
  max-width: 860px;
  margin: 0 auto;
}

.tool-article-section {
  margin-bottom: 48px;
}

.tool-article-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.tool-article-section p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.tool-article-section ul, .tool-article-section ol {
  padding-left: 24px;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.tool-article-section li {
  margin-bottom: 8px;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 1.02rem;
  text-align: left;
  color: var(--text-primary);
}

.faq-question:hover {
  background-color: var(--bg-subtle);
}

.faq-chevron {
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Global Search Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 16px 20px;
}

.modal-overlay.open {
  display: flex;
}

.search-modal {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 640px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-search-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.modal-search-results {
  max-height: 400px;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
}

.search-result-item:hover, .search-result-item.highlighted {
  background-color: var(--bg-subtle);
}

.search-result-info {
  display: flex;
  flex-direction: column;
}

.search-result-title {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.search-result-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background-color: var(--text-primary);
  color: var(--bg-surface);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  animation: toastSlideUp 0.2s ease;
}

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

/* Filter Bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-chip {
  padding: 7px 16px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.filter-chip:hover, .filter-chip.active {
  background-color: var(--accent-primary);
  color: #ffffff;
  border-color: var(--accent-primary);
}

/* Comparison Table */
.table-responsive {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background-color: var(--bg-surface);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background-color: var(--bg-subtle);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}
