/* ==========================================================================
   SOURCE MANIFEST — PROFESSIONAL SAAS DESIGN SYSTEM
   Inspired by AutoDS, ZIK Analytics, Helium 10 & Jungle Scout
   Clean, Authoritative, High-Conversion eCommerce Software Interface
   ========================================================================== */

:root {
  /* Clean Enterprise Color Palette */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-subtle: #f1f5f9;
  --bg-surface-hover: #e2e8f0;
  
  /* Dark Sections & Chrome */
  --bg-dark-app: #0f172a;
  --bg-dark-card: #1e293b;
  --bg-dark-hover: #334155;
  --bg-dark-border: rgba(255, 255, 255, 0.1);

  /* Primary Brand: Electric Royal Blue & Purple (ZIK & AutoDS Signature) */
  --brand-primary: #0062ff;
  --brand-primary-hover: #0052d6;
  --brand-primary-light: #eff6ff;
  
  --brand-purple: #5b4dfb;
  --brand-purple-hover: #4d3fe6;
  --brand-purple-light: #f5f3ff;

  /* Accent & Status Colors */
  --profit-green: #10b981;
  --profit-green-dark: #059669;
  --profit-green-light: #ecfdf5;

  --accent-amber: #f59e0b;
  --accent-amber-light: #fffbeb;

  --accent-red: #ef4444;

  /* Typography Colors */
  --text-title: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --text-inverse: #ffffff;

  /* Border & Dividers */
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-focus: #0062ff;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows - Crisp, enterprise SaaS */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.06), 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-card: 0 1px 3px 0 rgba(15, 23, 42, 0.06), 0 1px 2px -1px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-app-window: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 0 0 1px #e2e8f0;

  /* Radius - Crisp & structured (eliminates soft vibecoded corners) */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 12px;
  --radius-full: 9999px;

  /* Layout */
  --container-max: 1240px;
  --container-wide: 1360px;
  --transition-normal: 0.15s ease;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-title);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.4rem, 4.5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3vw, 2.75rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; }

p {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.65;
}

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

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

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

.container-wide {
  max-width: var(--container-wide);
}

/* ==========================================================================
   NAVIGATION & TOP BANNER (AutoDS / ZIK Style)
   ========================================================================== */
.top-notice-bar {
  background: #0f172a;
  color: #fff;
  padding: 8px 16px;
  text-align: center;
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 500;
}

.top-notice-bar .badge-highlight {
  background: #2563eb;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.top-notice-bar a {
  color: #60a5fa;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -0.03em;
}

.brand-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.brand-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, #0062ff 0%, #5b4dfb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 98, 255, 0.3);
}

.nav-menu-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-body);
}

.nav-menu-links a:hover,
.nav-menu-links a.active {
  color: var(--brand-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ==========================================================================
   BUTTONS (ZIK Analytics & AutoDS Crisp Style)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
  border-radius: var(--radius-xs);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1.05rem;
  border-radius: var(--radius-sm);
}

.btn-primary {
  background: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 98, 255, 0.3);
}

.btn-primary:hover {
  background: var(--brand-primary-hover);
  box-shadow: 0 6px 20px rgba(0, 98, 255, 0.4);
  transform: translateY(-1px);
  color: #fff;
}

.btn-purple {
  background: var(--brand-purple);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(91, 77, 251, 0.3);
}

.btn-purple:hover {
  background: var(--brand-purple-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  background: #ffffff;
  color: var(--text-title);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  background: var(--bg-surface-subtle);
  border-color: var(--text-dim);
  color: var(--text-title);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-body);
}

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

/* Badges & Micro-UI */
.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
}

.pill-blue {
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  border: 1px solid #bfdbfe;
}

.pill-green {
  background: var(--profit-green-light);
  color: var(--profit-green-dark);
  border: 1px solid #a7f3d0;
}

/* ==========================================================================
   HERO SECTION (High Converting 2-Column SaaS Hero with Product Showcase)
   ========================================================================== */
.hero-wrapper {
  padding: 68px 0 58px;
  background-color: #ffffff;
  background-image: 
    radial-gradient(circle at 85% 25%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 15% 15%, rgba(15, 23, 42, 0.02) 0%, transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

/* Crisp, subtle modern developer micro-grid overlay (zero movement, zero distraction) */
.hero-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(226, 232, 240, 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.5) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 90%);
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   STATIC SUBTLE HERO ACCENT BACKDROP
   Zero tacky wobbling, zero animations, pure clean aesthetics
   ========================================================================== */
.hero-full-wave-wrapper,
.hero-left-wave-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.16;
}

.hero-full-wave-img,
.hero-left-wave-img {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: none !important;
  animation: none !important;
  transform: none !important;
  user-select: none;
}

.hero-wave-ambient-glow {
  display: none;
}

.hero-grid-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text-column {
  text-align: left;
  position: relative;
  z-index: 3;
}

.hero-inner {
  position: relative;
  z-index: 3;
}

@media (max-width: 991px) {
  .hero-full-wave-wrapper,
  .hero-left-wave-wrapper {
    opacity: 0.08;
  }
  .hero-full-wave-img,
  .hero-left-wave-img {
    min-width: 100%;
    filter: none !important;
    animation: none !important;
    transform: none !important;
  }
}

@media (max-width: 600px) {
  .hero-full-wave-wrapper,
  .hero-left-wave-wrapper {
    opacity: 0.05;
  }
  .hero-full-wave-img,
  .hero-left-wave-img {
    min-width: 100%;
    filter: none !important;
    animation: none !important;
    transform: none !important;
  }
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.hero-pill-badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-primary);
}

.hero-main-title {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-main-title .highlight-blue {
  color: var(--brand-primary);
}

.hero-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: #475569;
  line-height: 1.65;
  margin-bottom: 30px;
}

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

.trust-signals-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: #64748b;
  font-weight: 500;
}

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

.trust-item svg {
  color: var(--profit-green);
  flex-shrink: 0;
}

/* ==========================================================================
   HERO ROTATING PRODUCT SHOWCASE (AutoDS & ZIK Analytics Style)
   Automated 1-by-1 product switching, live progress bar, and real-time sales toast
   ========================================================================== */
.hero-showcase-column {
  position: relative;
  z-index: 5;
}

.hero-showcase-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Floating Top Status Badge */
.hero-floating-pill {
  position: absolute;
  z-index: 12;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-title);
  pointer-events: none;
}

.hero-pill-top-right {
  top: -14px;
  right: -8px;
  border-color: #86efac;
  background: #f0fdf4;
  color: #166534;
}



/* Top Stepper Tabs & Controls */
.hero-stepper-container {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px 14px 12px;
  box-shadow: var(--shadow-sm);
}

.hero-stepper-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.hero-stepper-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}



.hero-rotator-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-slider-nav-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  background: var(--bg-surface-subtle);
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  padding: 0;
}

.hero-slider-nav-btn:hover {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
  transform: translateY(-1px);
}

.hero-tabs-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.hero-tab-btn {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 6px 4px 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-tab-btn:hover {
  background: #ffffff;
  border-color: var(--border-medium);
}

.hero-tab-btn.active {
  background: #ffffff;
  border-color: var(--brand-primary);
  box-shadow: 0 2px 6px rgba(0, 98, 255, 0.12);
}

.hero-tab-btn .tab-label {
  font-family: var(--font-heading);
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1.2;
  /* Wrapped, not clipped.
     Five tabs share roughly 320px, so each one is about 58px wide - narrower
     than "Smartwatch" or "Leather Duffle". With `white-space: nowrap` plus
     `text-overflow: ellipsis` those rendered as "Studio A..." and "SmartW...",
     which reads as broken text rather than as a deliberately shortened label.
     Two lines is both legible and honest. */
  white-space: normal;
  overflow-wrap: anywhere;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-tab-btn.active .tab-label {
  color: var(--brand-primary);
  font-weight: 800;
}

.hero-tab-progress {
  width: 100%;
  height: 3px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.hero-tab-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--brand-primary);
  border-radius: 999px;
}

/* Fill animation on active tab */
.hero-tab-btn.active .hero-tab-fill {
  width: 100%;
  transition: width 4000ms linear;
}

/* Pause progress bar when user hovers over showcase */
.hero-showcase-column:hover .hero-tab-btn.active .hero-tab-fill {
  transition-play-state: paused;
}

/* Primary Featured Product Card */
.hero-featured-product-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hero-featured-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px -10px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(15, 23, 42, 0.06);
}

/* Card Content Smooth Slide/Fade Animation */
.hero-card-animate {
  animation: heroProductSlideIn 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroProductSlideIn {
  0% {
    opacity: 0.25;
    transform: translateY(8px) scale(0.995);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-card-image-wrap {
  width: 100%;
  height: 220px;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
}

.hero-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-featured-product-card:hover .hero-card-image-wrap img {
  transform: scale(1.03);
}

.hero-live-sales-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.hero-score-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #10b981;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
  z-index: 2;
}

.hero-supplier-pill {
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  color: #0f172a;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 0.73rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.hero-supplier-pill svg {
  color: var(--brand-primary);
}

.hero-card-body {
  padding: 18px 20px 20px;
}

.hero-card-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.hero-card-category {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-card-id-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-surface-subtle);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
}

.hero-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.35;
  margin-bottom: 12px;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-card-dual-box {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 8px 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.hero-dual-col {
  display: flex;
  flex-direction: column;
}

.hero-dual-col .lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-dual-col .val {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-title);
}

.hero-dual-col.ebay {
  border-right: 1px solid var(--border-light);
  padding-right: 8px;
}

.hero-card-profit-banner {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.profit-left {
  display: flex;
  flex-direction: column;
}

.profit-left .lbl {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--profit-green-dark);
}

.profit-left .amt {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--profit-green-dark);
  line-height: 1.1;
}

.profit-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-margin {
  background: #047857;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
}

.badge-roi {
  background: #d1fae5;
  color: #065f46;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 6px;
  border-radius: 4px;
}

/* Card Actions Row */
.hero-card-actions-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 8px;
}

.hero-card-action-btn {
  font-size: 0.85rem;
  padding: 9px 12px;
  justify-content: center;
  text-decoration: none;
}

.hero-card-audit-btn {
  font-size: 0.82rem;
  padding: 9px 12px;
  color: var(--text-body);
  border-color: var(--border-medium);
  justify-content: center;
  background: #ffffff;
}

.hero-card-audit-btn:hover {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
  background: var(--brand-primary-light);
}

/* Supplier line inside the card body.
   The stylesheet already has .hero-supplier-pill, but that one is
   position:absolute by design - it was meant to sit over the product
   photograph. The photograph is gone (the card shows the numbers instead), so
   this is the in-flow equivalent, and it is the last piece of the card that had
   no styling at all. */
.hero-supplier-pill-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-body);
}

.hero-supplier-pill-row .supplier-info {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.hero-supplier-pill-row svg {
  color: var(--brand-primary);
  flex: 0 0 auto;
}

.hero-supplier-pill-row .match-score {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--profit-green-dark);
  background: var(--profit-green-light);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-full);
  padding: 3px 8px;
  white-space: nowrap;
  flex: 0 0 auto;
}

/* AutoDS-Style Dynamic Live Activity Toast Notification */
.hero-live-sales-toast {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.hero-live-sales-toast:hover {
  box-shadow: 0 6px 20px -2px rgba(15, 23, 42, 0.12);
  border-color: #cbd5e1;
}

.toast-avatar {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.toast-content {
  flex: 1;
  min-width: 0;
}

.toast-user-action {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-title);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.toast-sub {
  font-size: 0.72rem;
  color: var(--profit-green-dark);
  font-weight: 600;
  line-height: 1.3;
}

.toast-live-badge {
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .hero-tabs-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-tabs-list .hero-tab-btn:nth-child(n+4) {
    display: none;
  }
  .hero-card-actions-row {
    grid-template-columns: 1fr;
  }
}

/* Fullscreen Reader Modal for Research Blogs */
.blog-reader-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.blog-reader-modal-overlay.active {
  display: flex;
}

.blog-reader-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 860px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  padding: 44px;
}

.blog-reader-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-weight: bold;
}

.blog-reader-close:hover {
  background: #e2e8f0;
}

.blog-reader-body {
  line-height: 1.8;
  color: #334155;
  font-size: 1.02rem;
}

.blog-reader-body h2 {
  font-size: 1.6rem;
  margin: 28px 0 14px;
  color: #0f172a;
}

.blog-reader-body h3 {
  font-size: 1.25rem;
  margin: 22px 0 10px;
  color: #0f172a;
}

.blog-reader-body p {
  margin-bottom: 18px;
}

.blog-reader-body ul, .blog-reader-body ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.blog-reader-body li {
  margin-bottom: 8px;
}

.blog-reader-callout {
  background: #eff6ff;
  border-left: 4px solid var(--brand-primary);
  padding: 18px 20px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
  font-size: 0.95rem;
}

.blog-reader-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
}

.blog-reader-table th, .blog-reader-table td {
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  text-align: left;
}

.blog-reader-table th {
  background: #f8fafc;
  font-weight: 700;
  color: #0f172a;
}

@media (max-width: 960px) {
  .hero-grid-split {
    grid-template-columns: 1fr;
  }
  .hero-text-column {
    text-align: center;
  }
  .hero-actions-row {
    justify-content: center;
  }
  .trust-signals-row {
    justify-content: center;
  }
  .hero-showcase-column {
    margin-top: 16px;
  }
}

/* ==========================================================================
   PARTNER ECOSYSTEM LOGOS (ZIK & AutoDS Style Social Proof)
   ========================================================================== */
.ecosystem-bar {
  padding: 28px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.ecosystem-heading {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 20px;
}

.ecosystem-logos-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.platform-logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #334155;
  filter: grayscale(40%);
  opacity: 0.85;
  transition: all var(--transition-normal);
}

.platform-logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.platform-logo-item svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   AUTHENTIC SAAS APP WINDOW (The Core Software Mockup)
   ========================================================================== */
.software-preview-section {
  padding: 60px 0 80px;
  background: #f8fafc;
}

.app-window-frame {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-app-window);
  overflow: hidden;
}

/* Window Chrome Top Header */
.app-window-header {
  background: #0f172a;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.window-controls-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.window-address-bar {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 6px 18px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  width: 440px;
  max-width: 60%;
}

.window-live-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #34d399;
  font-family: var(--font-mono);
  font-weight: 600;
}



/* Software Search & Filter Toolbar (ZIK / AutoDS Style) */
.software-toolbar {
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.toolbar-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  width: 380px;
  max-width: 100%;
}

.toolbar-search-box input {
  border: none;
  outline: none;
  font-size: 0.92rem;
  width: 100%;
  color: var(--text-title);
  font-family: var(--font-body);
}

.toolbar-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.app-filter-tab {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-body);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.app-filter-tab:hover {
  border-color: var(--border-medium);
  background: var(--bg-surface-subtle);
}

.app-filter-tab.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* Software Summary Metric Cards (Top of ZIK Search Results) */
.software-metrics-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.metric-summary-box {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

.metric-summary-box .metric-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.metric-summary-box .metric-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.1;
}

.metric-summary-box .metric-sub {
  font-size: 0.75rem;
  color: var(--profit-green-dark);
  font-weight: 600;
  margin-top: 4px;
}

/* Software Data Table (The Real Power of ZIK & Helium 10) */
.software-table-wrapper {
  overflow-x: auto;
  background: #ffffff;
}

.app-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.app-data-table th {
  background: #f8fafc;
  color: #475569;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

.app-data-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.app-data-table tr:hover td {
  background-color: #f8fafc;
}

.table-product-cell {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 280px;
}

.table-thumb {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-light);
  flex-shrink: 0;
}

.table-product-info .title {
  font-weight: 700;
  color: var(--text-title);
  font-size: 0.92rem;
  line-height: 1.35;
  margin-bottom: 2px;
}

.table-product-info .niche {
  font-size: 0.76rem;
  color: var(--brand-primary);
  font-weight: 600;
}

.table-num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-title);
}

.table-profit {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--profit-green-dark);
}

.velocity-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.supplier-badge-box {
  display: flex;
  flex-direction: column;
}

.supplier-badge-box .name {
  font-weight: 600;
  color: var(--text-title);
}

.supplier-badge-box .rating {
  font-size: 0.78rem;
  color: #eab308;
  font-weight: 700;
}

/* ==========================================================================
   DROPSHIPPING PROFIT CALCULATOR SECTION (Clean White & Slate)
   ========================================================================== */
.calc-section-wrapper {
  padding: 80px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.clean-calc-card {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  box-shadow: var(--shadow-card);
}

.calc-sliders-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-row-item label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-title);
  margin-bottom: 8px;
}

.calc-row-item label .val-tag {
  font-family: var(--font-mono);
  color: var(--brand-primary);
  font-weight: 700;
}

.calc-range-slider {
  width: 100%;
  accent-color: var(--brand-primary);
  height: 6px;
  background: #e2e8f0;
  border-radius: 4px;
  cursor: pointer;
  outline: none;
}

.calc-result-column {
  background: #0f172a;
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-hover);
}

.calc-result-header {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-result-header .sub-lbl {
  font-size: 0.82rem;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.calc-result-header .main-profit-num {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  color: #34d399;
  line-height: 1;
  margin-top: 6px;
}

.calc-breakdown-table {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.calc-breakdown-row .val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================================================
   FEATURES SHOWCASE (ZIK Analytics 3 Pillars Layout)
   ========================================================================== */
.feature-showcase-section {
  padding: 80px 0;
  background: #f8fafc;
}

.section-headline-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-primary);
  font-weight: 800;
  margin-bottom: 10px;
  display: inline-block;
}

.feature-cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-white-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.feature-white-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon-wrapper.purple {
  background: var(--brand-purple-light);
  color: var(--brand-purple);
}

.feature-icon-wrapper.green {
  background: var(--profit-green-light);
  color: var(--profit-green-dark);
}

.feature-white-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-white-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================================================
   COMPARISON TABLE (Source Manifest vs ZIK vs AutoDS)
   ========================================================================== */
.comparison-section-wrapper {
  padding: 80px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.clean-comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.clean-comparison-table th,
.clean-comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
}

.clean-comparison-table th {
  background: #f8fafc;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-title);
  font-size: 0.98rem;
}

.clean-comparison-table th.col-highlight,
.clean-comparison-table td.col-highlight {
  background: #eff6ff;
  border-left: 2px solid var(--brand-primary);
  border-right: 2px solid var(--brand-primary);
}

.clean-comparison-table th.col-highlight {
  color: var(--brand-primary);
  font-size: 1.15rem;
  font-weight: 800;
}

.check-green-yes {
  color: var(--profit-green-dark);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cross-dim-no {
  color: var(--text-dim);
}

/* ==========================================================================
   TESTIMONIALS & TRUSTPILOT BAR
   ========================================================================== */
.testimonials-section-wrapper {
  padding: 80px 0;
  background: #f8fafc;
}

.testimonials-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-white-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars-rating-gold {
  color: #f59e0b;
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 14px;
}

.review-quote-text {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 24px;
}

.review-author-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.author-title-group .author-name {
  font-weight: 700;
  color: var(--text-title);
  font-size: 0.95rem;
}

.author-title-group .author-store {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ SECTION (Clean Accordion)
   ========================================================================== */
.faq-accordion-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.clean-faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.clean-faq-item.active {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
}

.clean-faq-question {
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-title);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.clean-faq-question:hover {
  color: var(--brand-primary);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-normal);
  color: var(--text-muted);
}

.clean-faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--brand-primary);
}

.clean-faq-answer {
  padding: 0 24px 22px;
  color: var(--text-body);
  font-size: 0.96rem;
  line-height: 1.65;
  display: none;
}

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

/* ==========================================================================
   CTA BANNER (AutoDS Bold Blue Section)
   ========================================================================== */
.bottom-cta-banner-wrapper {
  padding: 80px 0 100px;
  background: #ffffff;
}

.bold-blue-cta-box {
  background: linear-gradient(135deg, #0062ff 0%, #4338ca 100%);
  border-radius: var(--radius-xl);
  padding: 64px 40px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 20px 40px -10px rgba(0, 98, 255, 0.4);
}

.bold-blue-cta-box h2 {
  color: #ffffff;
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 16px;
}

.bold-blue-cta-box p {
  color: #e0e7ff;
  font-size: 1.2rem;
  max-width: 680px;
  margin: 0 auto 36px;
}

.bold-blue-cta-box .btn-white {
  background: #ffffff;
  color: #0f172a;
  font-weight: 800;
}

.bold-blue-cta-box .btn-white:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER (Clean Professional Multi-Column)
   ========================================================================== */
.clean-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 72px 0 32px;
  font-size: 0.92rem;
}

.clean-footer h4 {
  color: #ffffff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.clean-footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.clean-footer a {
  color: #cbd5e1;
}

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

.footer-columns-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   MODAL (Clean Enterprise Sourcing Audit)
   ========================================================================== */
.audit-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.audit-modal-overlay.active {
  display: flex;
}

.audit-modal-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.3);
  position: relative;
  padding: 36px;
}

.audit-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
}

.audit-modal-close:hover {
  background: #e2e8f0;
}

/* ==========================================================================
   BLOG RESEARCH HUB & ARTICLE READER MODAL
   ========================================================================== */
.blog-controls-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.blog-filters-scroll {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.blog-category-filter {
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.blog-category-filter:hover {
  background: var(--bg-surface-subtle);
  border-color: var(--border-medium);
}

.blog-category-filter.active {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
  box-shadow: 0 4px 12px rgba(0, 98, 255, 0.25);
}

.blog-search-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  width: 320px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-normal);
}

.blog-search-box:focus-within {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(0, 98, 255, 0.12);
}

.blog-search-box input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 0.88rem;
  padding: 4px 0 4px 8px;
  outline: none;
  color: var(--text-title);
}

.research-blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 1100px) {
  .research-blogs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .research-blogs-grid {
    grid-template-columns: 1fr;
  }
  .blog-search-box {
    width: 100%;
  }
}

/* Reader Modal Content & Typography */
.blog-reader-card {
  max-width: 820px;
  padding: 44px;
}

.blog-reader-body h2 {
  font-size: 1.45rem;
  color: var(--text-title);
  margin: 28px 0 14px;
  line-height: 1.3;
}

.blog-reader-body h3 {
  font-size: 1.2rem;
  color: var(--text-title);
  margin: 22px 0 10px;
  line-height: 1.35;
}

.blog-reader-body p {
  font-size: 1.02rem;
  color: #334155;
  line-height: 1.75;
  margin-bottom: 18px;
}

.blog-reader-body ul,
.blog-reader-body ol {
  margin: 12px 0 20px 24px;
  color: #334155;
  font-size: 1rem;
  line-height: 1.75;
}

.blog-reader-body li {
  margin-bottom: 8px;
}

.blog-reader-callout {
  background: #eff6ff;
  border-left: 4px solid var(--brand-primary);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 22px 0;
  color: #1e3a8a;
  font-size: 0.96rem;
  line-height: 1.65;
}

.blog-reader-callout code {
  background: #dbeafe;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #1e40af;
  display: block;
  word-break: break-all;
}

.blog-reader-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.92rem;
}

.blog-reader-table th {
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.blog-reader-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  color: #475569;
}

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

/* Responsive */
@media (max-width: 1024px) {
  .software-metrics-summary { grid-template-columns: repeat(2, 1fr); }
  .clean-calc-card { grid-template-columns: 1fr; }
  .feature-cards-grid-3 { grid-template-columns: 1fr; }
  .testimonials-grid-3 { grid-template-columns: 1fr; }
  .footer-columns-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu-links { display: none; }
  .ecosystem-logos-flex { gap: 24px; }
  .footer-columns-grid { grid-template-columns: 1fr; }
  .software-toolbar { flex-direction: column; align-items: stretch; }
  .toolbar-search-box { width: 100%; }
  .blog-reader-card { padding: 24px 18px; }
}
