/* ==========================================================================
   Utilivox.com — Master Design System Stylesheet
   Modern, Human-Designed, Executive SaaS & Utility Architecture
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Brand Color Palette */
  --brand-navy: #0f172a;
  --brand-slate: #1e293b;
  --brand-primary: #1e3a8a;
  --brand-primary-hover: #1e40af;
  --brand-blue: #2563eb;
  --brand-blue-hover: #1d4ed8;
  --brand-blue-light: #eff6ff;
  --brand-indigo: #4f46e5;
  --brand-teal: #0f766e;
  --brand-teal-light: #f0fdfa;

  /* Neutral Scale */
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;
  --neutral-white: #ffffff;

  /* Semantic UI Colors */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-focus: #3b82f6;

  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --color-success: #059669;
  --color-success-bg: #ecfdf5;
  --color-success-border: #a7f3d0;
  --color-warning: #d97706;
  --color-warning-bg: #fffbeb;
  --color-warning-border: #fde68a;
  --color-error: #dc2626;
  --color-error-bg: #fef2f2;
  --color-error-border: #fecaca;
  --color-info: #0284c7;
  --color-info-bg: #f0f9ff;
  --color-info-border: #bae6fd;

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, Menlo, Monaco, monospace;

  /* Layout & Sizing */
  --container-max-width: 1240px;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 9999px;

  /* Shadows (Multi-layered, high-end) */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.06), 0 1px 2px -1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Baseline
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

a:hover {
  color: var(--brand-blue-hover);
}

img, svg {
  vertical-align: middle;
  max-width: 100%;
}

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

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --------------------------------------------------------------------------
   3. Header & Navigation (Executive Glassmorphism)
   -------------------------------------------------------------------------- */
.site-header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition-fast);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1.5rem;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  user-select: none;
  flex-shrink: 0;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #ffffff;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.28);
}

.brand-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--neutral-900);
  letter-spacing: -0.025em;
}

.brand-text span {
  color: var(--brand-teal);
  font-weight: 700;
}

/* Header Search */
.header-search {
  flex: 1;
  max-width: 400px;
  position: relative;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 0.55rem 3.5rem 0.55rem 2.6rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  font-size: 0.875rem;
  color: var(--text-main);
  outline: none;
  transition: all var(--transition-fast);
}

.search-input:focus {
  background: var(--neutral-white);
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.search-icon {
  position: absolute;
  left: 0.95rem;
  font-size: 0.9rem;
  color: var(--text-light);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.search-badge {
  position: absolute;
  right: 0.75rem;
  padding: 0.15rem 0.45rem;
  font-size: 0.6875rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: var(--neutral-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  pointer-events: none;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.9375rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  display: inline-block;
}

.nav-link:hover {
  color: var(--text-main);
  background: var(--bg-subtle);
}

.nav-link.active {
  color: var(--brand-blue);
  background: var(--brand-blue-light);
  font-weight: 600;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  width: 42px;
  height: 42px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: all var(--transition-fast);
  z-index: 1002;
  flex-shrink: 0;
}

.mobile-menu-toggle:hover {
  background: var(--bg-subtle);
  border-color: var(--border-strong);
}

.mobile-menu-toggle .hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--neutral-800);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 68px;
  left: 0;
  width: 100%;
  max-height: calc(100vh - 68px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xl);
  z-index: 1001;
  transform: translateY(-110%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.3s;
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-inner {
  padding: 1.25rem 1.25rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-search {
  width: 100%;
}

.mobile-search .search-input {
  width: 100%;
  height: 44px;
  padding: 0.65rem 1rem 0.65rem 2.6rem;
  font-size: 16px;
  background: var(--neutral-100);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.mobile-search .search-input:focus {
  background: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--neutral-50);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--neutral-900);
  transition: all var(--transition-fast);
  min-height: 52px;
}

.mobile-nav-item:hover,
.mobile-nav-item:active {
  background: var(--brand-blue-light);
  border-color: #bfdbfe;
}

.mobile-nav-item-icon {
  font-size: 1.35rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}

.mobile-nav-item-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mobile-nav-item-text strong {
  font-size: 0.95rem;
  color: var(--neutral-900);
  font-weight: 700;
}

.mobile-nav-item-text small {
  font-size: 0.775rem;
  color: var(--text-muted);
}

.mobile-nav-arrow {
  font-size: 1.4rem;
  color: var(--neutral-400);
  font-weight: 300;
}

/* Mobile Quick Access Chips */
.mobile-nav-quick {
  margin-top: 0.5rem;
}

.mobile-quick-title {
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.mobile-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.mobile-chip {
  padding: 0.4rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--neutral-700);
  background: var(--neutral-100);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.mobile-chip:hover {
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  border-color: #bfdbfe;
}

/* Backdrop */
.mobile-nav-backdrop {
  position: fixed;
  top: 68px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 68px);
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   4. Hero Section (High Impact, Trust-Engineered)
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, #ffffff 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background: var(--neutral-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-slate);
  box-shadow: var(--shadow-xs);
  margin-bottom: 1.5rem;
}

.hero-badge-pill {
  background: #dbeafe;
  color: #1e40af;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  color: var(--neutral-900);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 auto 2.25rem;
  line-height: 1.6;
}

.hero-search-box {
  max-width: 620px;
  margin: 0 auto;
  position: relative;
}

.hero-search-input {
  width: 100%;
  padding: 1.05rem 1.5rem 1.05rem 3.4rem;
  font-size: 1.1rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--neutral-white);
  box-shadow: var(--shadow-md);
  outline: none;
  transition: all var(--transition-fast);
}

.hero-search-input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18), var(--shadow-lg);
}

.hero-search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--text-light);
  pointer-events: none;
}

.hero-trending {
  margin-top: 1.25rem;
  font-size: 0.845rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-trending-link {
  color: var(--neutral-700);
  background: var(--neutral-white);
  border: 1px solid var(--border-subtle);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.hero-trending-link:hover {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
  background: var(--brand-blue-light);
}

/* --------------------------------------------------------------------------
   5. Sections, Grid & Tool Cards
   -------------------------------------------------------------------------- */
.section {
  padding: 3.5rem 0;
}

.section-header {
  margin-bottom: 2.25rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--neutral-900);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-subtitle {
  color: var(--text-muted);
  margin-top: 0.35rem;
  font-size: 0.95rem;
}

.section-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.section-link:hover {
  text-decoration: underline;
}

/* Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

/* Modern Tool Card */
.tool-card {
  background: var(--neutral-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  text-decoration: none;
  color: inherit;
  position: relative;
  box-shadow: var(--shadow-xs);
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #93c5fd;
}

.tool-card-icon {
  width: 48px;
  height: 48px;
  background: var(--brand-blue-light);
  color: var(--brand-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: transform var(--transition-fast);
}

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

.tool-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.tool-card-desc {
  font-size: 0.885rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

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

.tool-card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--neutral-700);
}

.tool-card-action {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--transition-fast);
}

.tool-card:hover .tool-card-action {
  opacity: 1;
  transform: translateX(0);
}

/* Category Feature Cards */
.category-card {
  background: var(--neutral-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue);
}

.category-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  background: var(--bg-subtle);
}

.category-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
}

.category-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   6. Trust, Authority & Quality Indicators
   -------------------------------------------------------------------------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.trust-item {
  background: var(--neutral-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--transition-fast);
}

.trust-item:hover {
  border-color: var(--border-strong);
}

.trust-icon-box {
  width: 40px;
  height: 40px;
  background: var(--brand-teal-light);
  color: var(--brand-teal);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.trust-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.trust-desc {
  font-size: 0.885rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   7. Breadcrumbs Navigation
   -------------------------------------------------------------------------- */
.breadcrumb-wrapper {
  padding: 1.15rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  background: var(--neutral-white);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  gap: 0.5rem;
  color: var(--text-muted);
}

.breadcrumb-item a {
  color: var(--text-muted);
  font-weight: 500;
}

.breadcrumb-item a:hover {
  color: var(--brand-blue);
}

.breadcrumb-separator {
  color: var(--neutral-300);
  font-size: 0.75rem;
}

.breadcrumb-item.active {
  color: var(--neutral-900);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   8. Monetization & Ad Containers (AdSense Safety Compliant)
   -------------------------------------------------------------------------- */
.ad-container {
  margin: 2.5rem 0;
  background: #f8fafc;
  border: 1px dashed var(--neutral-300);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ad-label {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neutral-400);
  margin-bottom: 0.5rem;
  user-select: none;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   9. Educational Articles & Long-Form Content Styling
   -------------------------------------------------------------------------- */
.content-body {
  line-height: 1.8;
  color: #334155;
  font-size: 1.05rem;
}

.content-body h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--neutral-900);
  letter-spacing: -0.02em;
  margin: 2.75rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.content-body h2:first-of-type {
  margin-top: 0;
}

.content-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.015em;
  margin: 2rem 0 0.85rem;
}

.content-body p {
  margin-bottom: 1.35rem;
}

.content-body ul, .content-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.75rem;
}

.content-body li {
  margin-bottom: 0.6rem;
}

.content-body strong {
  color: var(--neutral-900);
}

/* Formula Callout Box */
.formula-box {
  background: #0f172a;
  color: #38bdf8;
  border-left: 4px solid var(--brand-blue);
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 1.05rem;
  margin: 1.75rem 0;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

/* Disclaimers & Info Callouts */
.disclaimer-box {
  background: var(--color-warning-bg);
  border: 1px solid var(--color-warning-border);
  border-left: 4px solid var(--color-warning);
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-sm);
  color: #92400e;
  font-size: 0.925rem;
  line-height: 1.6;
  margin: 1.75rem 0;
}

.disclaimer-box strong {
  color: #78350f;
}

.info-box {
  background: var(--color-info-bg);
  border: 1px solid var(--color-info-border);
  border-left: 4px solid var(--color-info);
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-sm);
  color: #0369a1;
  font-size: 0.925rem;
  line-height: 1.6;
  margin: 1.75rem 0;
}

/* --------------------------------------------------------------------------
   10. Interactive FAQ Accordion System
   -------------------------------------------------------------------------- */
.faq-section {
  margin: 3.5rem 0;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  background: var(--neutral-white);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-question {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--neutral-900);
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  background: var(--neutral-white);
  transition: background var(--transition-fast);
}

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

.faq-icon {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.35rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.95rem;
  border-top: 1px solid transparent;
}

/* --------------------------------------------------------------------------
   11. Executive Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #090d16;
  color: #94a3b8;
  padding: 4.5rem 0 2.5rem;
  margin-top: auto;
  font-size: 0.875rem;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-title {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.footer-brand-desc {
  max-width: 340px;
  line-height: 1.65;
  margin-bottom: 1.15rem;
  color: #94a3b8;
}

.footer-col-title {
  color: #f1f5f9;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-copyright {
  color: #64748b;
  font-size: 0.8125rem;
}

/* --------------------------------------------------------------------------
   12. Complete 100% Screen Responsive Breakpoints
   -------------------------------------------------------------------------- */

/* Global horizontal overflow lock */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Tablet & Medium Screens */
@media (max-width: 1024px) {
  .header-search {
    max-width: 300px;
  }
  .tools-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
  }
  .header-search .search-badge {
    display: none;
  }
}

/* Mobile Devices (Phones & Narrow Tablets <= 768px) */
@media (max-width: 768px) {
  .site-header {
    height: 62px;
  }

  .header-inner {
    height: 62px;
    gap: 0.75rem;
  }

  /* Logo stays crisp and proportional */
  .brand-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    border-radius: 8px;
  }

  .brand-text {
    font-size: 1.2rem;
  }

  /* Hide desktop search & horizontal links */
  .header-search {
    display: none !important;
  }

  .site-nav.desktop-nav {
    display: none !important;
  }

  /* Show mobile hamburger button */
  .mobile-menu-toggle {
    display: flex !important;
  }

  /* Mobile drawer attaches just below header */
  .mobile-nav-drawer,
  .mobile-nav-backdrop {
    top: 62px;
    height: calc(100vh - 62px);
  }

  /* Container padding optimized for mobile */
  .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  /* Hero Section Mobile */
  .hero-section {
    padding: 2.75rem 0 2rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    margin-bottom: 1.15rem;
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6vw, 2.35rem);
    line-height: 1.2;
    margin-bottom: 0.85rem;
  }

  .hero-subtitle {
    font-size: 0.975rem;
    margin-bottom: 1.75rem;
    line-height: 1.55;
  }

  .hero-search-box {
    width: 100%;
  }

  .hero-search-input {
    font-size: 16px; /* Prevents auto zoom on iOS Safari */
    padding: 0.85rem 1rem 0.85rem 2.75rem;
    height: 50px;
    border-radius: var(--radius-md);
  }

  .hero-search-icon {
    left: 1rem;
    font-size: 1.1rem;
  }

  .hero-trending {
    margin-top: 1rem;
    font-size: 0.8rem;
    gap: 0.35rem;
  }

  .hero-trending-link {
    font-size: 0.775rem;
    padding: 0.25rem 0.55rem;
  }

  /* Sections & Tools Grid */
  .section {
    padding: 2.25rem 0;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .section-subtitle {
    font-size: 0.875rem;
  }

  .tools-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tool-card {
    padding: 1.35rem;
    border-radius: var(--radius-md);
  }

  .tool-card-icon {
    width: 42px;
    height: 42px;
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
  }

  .tool-card-title {
    font-size: 1.1rem;
  }

  .tool-card-desc {
    font-size: 0.85rem;
  }

  /* Breadcrumbs on mobile */
  .breadcrumbs {
    padding: 0.75rem 0;
    font-size: 0.8rem;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  /* Footer */
  .site-footer {
    padding: 3rem 0 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  /* Tables inside articles/content */
  .content-body table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
  }
}

/* Extra Small Phones (<= 420px, iPhone SE, Galaxy, Pixel) */
@media (max-width: 420px) {
  .container {
    padding-left: 0.95rem;
    padding-right: 0.95rem;
  }

  .brand-text {
    font-size: 1.1rem;
  }

  .brand-icon {
    width: 30px;
    height: 30px;
    font-size: 0.95rem;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .tool-card {
    padding: 1.15rem;
  }

  .mobile-nav-inner {
    padding: 1rem 0.95rem 2rem;
  }

  .mobile-chip {
    font-size: 0.75rem;
    padding: 0.35rem 0.6rem;
  }
}
