/* ==========================================================================
   Nexura Database Cleaner & Optimizer - Production Stylesheet
   Modern, Ultra-Premium, High-Converting SaaS Design System
   Inspired by Supabase, Vercel & Stripe Product Aesthetics
   ========================================================================== */

:root {
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-dark: #075985;
  --primary-light: #e0f2fe;
  
  --emerald: #10b981;
  --emerald-hover: #059669;
  --emerald-dark: #047857;
  --emerald-light: #ecfdf5;

  --indigo: #6366f1;
  --indigo-dark: #4f46e5;
  --indigo-light: #eef2ff;

  --amber: #f59e0b;
  --amber-light: #fef3c7;
  --rose: #f43f5e;
  --rose-light: #ffe4e6;

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

  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.06);

  --font-heading: 'Plus Jakarta Sans', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  font-size: 16px;
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  position: relative;
  background: #f8fafc;
}

/* Container Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.text-center { text-align: center; }
.w-full { width: 100%; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }

.text-sky-700 { color: #0369a1; }
.text-sky-400 { color: #38bdf8; }
.text-emerald-600 { color: #059669; }
.text-indigo-600 { color: #4f46e5; }
.text-amber-600 { color: #d97706; }
.text-rose-600 { color: #e11d48; }

.gradient-text-sky {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Global Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  border-radius: 10px;
  white-space: nowrap;
}

/* ==========================================================================
   Header Navigation (Sticky Glassmorphic & Zero-Wrap Precision)
   ========================================================================== */
.plugin-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.25s ease;
}

.plugin-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  border-bottom-color: #cbd5e1;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4.75rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
}

.logo-text-col {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: #0f172a;
  line-height: 1.15;
  white-space: nowrap;
}

.logo-sub {
  font-size: 0.725rem;
  color: #64748b;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.65rem;
  margin: 0;
  padding: 0;
}

.menu-item {
  color: #475569;
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 600;
  white-space: nowrap;
  position: relative;
  transition: color 0.15s ease;
  padding: 0.35rem 0.2rem;
  line-height: 1;
}

.menu-item:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.btn-gh-star {
  background: #f1f5f9;
  color: #334155;
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  white-space: nowrap;
}
.btn-gh-star:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.btn-header-free {
  background: transparent;
  color: #0284c7;
  border: 1.5px solid #bae6fd;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  border-radius: 8px;
  white-space: nowrap;
  font-weight: 600;
}
.btn-header-free:hover {
  background: #f0f9ff;
  border-color: #0284c7;
}

.btn-header-pro {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  white-space: nowrap;
  font-weight: 700;
}
.btn-header-pro:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2.25rem;
  height: 2.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 8px;
  transition: background var(--transition-fast);
  z-index: 1001;
}
.mobile-menu-btn:hover,
.mobile-menu-btn:focus {
  background: rgba(15, 23, 42, 0.06);
  outline: none;
}
.mobile-menu-btn span {
  width: 100%;
  height: 2px;
  background: #0f172a;
  border-radius: 9999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 1.5rem 1.75rem;
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12);
  width: 100%;
  box-sizing: border-box;
}
.mobile-menu.open {
  display: block !important;
  animation: slideDownMenu 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
}
.mobile-nav-item {
  color: #1e293b;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.mobile-nav-item:hover,
.mobile-nav-item:focus {
  background: #f1f5f9;
  color: var(--primary-color);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 5rem 0 4.5rem;
  background: radial-gradient(ellipse at 50% -10%, rgba(2, 132, 199, 0.12) 0%, rgba(248, 250, 252, 0) 70%);
  overflow: hidden;
}

.hero-ambient-glow {
  position: absolute;
  top: -200px;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 0.35rem 1rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  margin-bottom: 1.5rem;
}

.live-dot-pulse {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.star-rating {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.badge-separator {
  color: #cbd5e1;
  font-size: 0.8rem;
}

.badge-text {
  font-size: 0.825rem;
  color: #334155;
}

.hero-headline {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 1.35rem;
  letter-spacing: -0.03em;
}

.hero-lead-quote {
  font-size: 1.125rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 2rem;
  max-width: 36rem;
}

.hero-btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  padding: 0.95rem 1.85rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -5px rgba(2, 132, 199, 0.5);
}

.btn-arrow {
  width: 1.1rem;
  height: 1.1rem;
  transition: transform 0.2s ease;
}
.btn-hero-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-hero-secondary {
  background: #ffffff;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
  padding: 0.95rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}
.btn-hero-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.btn-icon {
  width: 1.1rem;
  height: 1.1rem;
  color: #0284c7;
}

.btn-hero-gh {
  background: #0f172a;
  color: #ffffff !important;
  border: 1px solid #1e293b;
  padding: 0.95rem 1.4rem;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 12px;
  font-weight: 600;
}
.btn-hero-gh:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.trust-chip {
  font-size: 0.825rem;
  color: #475569;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.chip-check {
  color: #059669;
  font-weight: 800;
}

/* Hero Terminal Showcase Card */
.showcase-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(226, 232, 240, 0.8);
  overflow: hidden;
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}

.showcase-header {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.showcase-dots {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}
.showcase-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.showcase-title {
  font-size: 0.775rem;
  font-family: monospace;
  color: #64748b;
  flex: 1 1 0% !important;
  min-width: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.showcase-badge-live {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: #ecfdf5;
  color: #059669;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  border: 1px solid #a7f3d0;
  flex-shrink: 0;
  white-space: nowrap;
}

.showcase-body {
  padding: 1.5rem;
}

.showcase-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  text-align: center;
}

.showcase-stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 0.2rem;
  font-weight: 500;
}

.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.25rem 0;
}

.showcase-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  gap: 0.75rem;
  width: 100% !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}

.showcase-item-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0 !important;
  flex: 1 1 auto;
  overflow: hidden;
}

.showcase-item-left > div {
  min-width: 0 !important;
  flex: 1 1 auto;
  overflow: hidden;
}

.showcase-item-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.item-name {
  font-size: 0.825rem;
  color: #1e293b;
}

.item-tag {
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  white-space: nowrap;
}
.tag-clean { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.tag-ready { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.tag-opt { background: #f0f9ff; color: #0284c7; border: 1px solid #bae6fd; }

.showcase-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #64748b;
  padding-top: 0.5rem;
}

.pulse-indicator {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
}

/* ==========================================================================
   Compatibility Strip
   ========================================================================== */
.compatibility-strip {
  padding: 2.25rem 0;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
}

.compat-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.compat-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.75rem;
}

.compat-badge {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

/* ==========================================================================
   Bottlenecks Section (Problem vs Solution)
   ========================================================================== */
.bottlenecks-section {
  padding: 5.5rem 0;
  background: #f8fafc;
}

.section-title-wrap {
  margin-bottom: 3.5rem;
}

.sub-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: #e0f2fe;
  color: #0369a1;
  margin-bottom: 0.85rem;
}

.section-heading {
  font-size: 2.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.85rem;
  letter-spacing: -0.025em;
}

.section-desc {
  font-size: 1.05rem;
  color: #64748b;
  max-width: 42rem;
  margin: 0 auto;
}

.bottlenecks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.bottleneck-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}
.bottleneck-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.bottleneck-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.bottleneck-num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
}

.bottleneck-tag {
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
}

.bottleneck-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.bottleneck-desc {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.bottleneck-solution {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.sol-badge {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
}

/* ==========================================================================
   Simulator Section
   ========================================================================== */
.simulator-section {
  padding: 5.5rem 0;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.sim-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.sim-results-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.75rem;
}

.sim-score-banner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.score-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 6px solid #10b981;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.score-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #059669;
  line-height: 1;
}

.score-total {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 600;
}

.score-status-pill {
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  background: #fef3c7;
  color: #b45309;
  display: inline-block;
  margin-bottom: 0.4rem;
}

.score-verdict-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.score-details-text {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.25rem;
}

.sim-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.sim-stat-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.sim-stat-box .stat-label {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

.sim-stat-box .stat-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0.25rem 0 0.1rem;
}

.sim-stat-box .stat-sub {
  font-size: 0.72rem;
  color: #94a3b8;
}

/* Sliders */
.slider-row {
  margin-bottom: 1.6rem;
}

.slider-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.55rem;
}

.slider-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
}

.slider-number {
  font-family: var(--font-heading);
  font-weight: 800;
  color: #0284c7;
  font-size: 0.95rem;
  background: #f0f9ff;
  padding: 0.15rem 0.65rem;
  border-radius: 6px;
  border: 1px solid #bae6fd;
}

.sim-slider {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  background: #e2e8f0;
  border-radius: 9999px;
  outline: none;
}
.sim-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0284c7;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4);
  cursor: pointer;
  transition: transform 0.1s ease;
}
.sim-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  padding: 0.9rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
}
.btn-primary:hover {
  background: #0369a1;
  transform: translateY(-1px);
}

/* ==========================================================================
   Features Section Grid
   ========================================================================== */
.features-section {
  padding: 5.5rem 0;
  background: #f8fafc;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 2.25rem 1.75rem;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
  transition: all 0.25s ease;
  position: relative;
}
.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.feature-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-tag-pill {
  position: absolute;
  top: 1.75rem;
  right: 1.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #475569;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.65rem;
}

.feature-text {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
}

/* ==========================================================================
   Comparison Table Section
   ========================================================================== */
.comparison-section {
  padding: 5.5rem 0;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.table-scroll-hint {
  display: none;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #e2e8f0;
}
@media (max-width: 860px) {
  .hero-ambient-glow { display: none !important; }
  .table-scroll-hint { display: block; }
}

.table-container {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  background: #ffffff;
  margin-top: 2.5rem;
}

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

.comp-table th,
.comp-table td {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
}

.comp-table th {
  background: #f8fafc;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #0f172a;
  font-size: 0.925rem;
  position: sticky;
  top: 0;
}

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

.comp-table tr:hover td {
  background: #f8fafc;
}

.feature-th { width: 50%; }
.free-th { width: 25%; text-align: center; }
.pro-th { width: 25%; text-align: center; background: #f0fdf4 !important; color: #065f46 !important; }

/* ==========================================================================
   Pricing Section (Spacious, Unsquished, Balanced)
   ========================================================================== */
.pricing-section {
  padding: 5.5rem 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(2, 132, 199, 0.08) 0%, transparent 60%), #f8fafc;
}

.billing-switcher {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin: 2.25rem 0 3rem;
}

.switcher-box {
  display: inline-flex;
  background: #ffffff;
  padding: 0.35rem;
  border-radius: 9999px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.plan-btn {
  background: transparent;
  border: none;
  padding: 0.55rem 1.4rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.plan-btn.active {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.save-tag {
  font-size: 0.775rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 0.25rem 0.85rem;
  border-radius: 9999px;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1180px;
  margin: 0 auto;
  gap: 1.75rem;
  align-items: stretch;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.25rem 1.85rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
  border: 2px solid #059669;
  box-shadow: 0 15px 35px -5px rgba(5, 150, 105, 0.15), 0 0 0 1px #059669;
}

.featured-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.95rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.agency-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #0284c7;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.95rem;
  border-radius: 9999px;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
}

.plan-desc {
  font-size: 0.825rem;
  color: #64748b;
  margin-top: 0.25rem;
  min-height: 2.2rem;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  margin: 1.25rem 0 1.5rem;
}

.currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-right: 2px;
}

.price {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.period {
  font-size: 0.85rem;
  color: #64748b;
  margin-left: 6px;
  font-weight: 500;
}

/* Plan Features List */
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.85rem;
  color: #334155;
  margin-bottom: 2rem;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  line-height: 1.45;
}

.check-pill {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

.cross-pill {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-features li.disabled {
  color: #94a3b8;
}

/* Pricing CTA Buttons */
.plan-cta {
  margin-top: auto;
}

.btn-outline-plan {
  background: #ffffff;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
  padding: 0.85rem 1rem;
  font-size: 0.925rem;
  font-weight: 700;
  border-radius: 10px;
  text-align: center;
}
.btn-outline-plan:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.btn-featured-plan {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  padding: 0.85rem 1rem;
  font-size: 0.925rem;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
  text-align: center;
}
.btn-featured-plan:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.45);
}

.btn-primary-plan {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  padding: 0.85rem 1rem;
  font-size: 0.925rem;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
  text-align: center;
}
.btn-primary-plan:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.45);
}

/* Guarantee Box */
.guarantee-box {
  max-width: 760px;
  margin: 3.5rem auto 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.guarantee-shield {
  flex-shrink: 0;
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-section {
  padding: 5.5rem 0;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}

.faq-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-card.active {
  border-color: #0284c7;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.08);
}

.faq-toggle {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.35rem;
  color: #0284c7;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}

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

.faq-body {
  display: none;
  padding: 0 1.5rem 1.35rem;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.65;
}

.faq-card.active .faq-body {
  display: block;
}

.faq-body code {
  background: #f1f5f9;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.825rem;
  color: #0f172a;
}

/* ==========================================================================
   Bottom CTA Section
   ========================================================================== */
.bottom-cta-section {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, #0f172a 0%, #0369a1 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.cta-pill-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.bottom-cta-heading {
  font-size: 2.65rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.bottom-cta-sub {
  font-size: 1.15rem;
  color: #e0f2fe;
  max-width: 38rem;
  margin: 0 auto 2.25rem;
  line-height: 1.6;
}

.bottom-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-cta-white {
  background: #ffffff;
  color: #0f172a;
  padding: 0.95rem 1.85rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.btn-cta-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.btn-cta-outline {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  padding: 0.95rem 1.85rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
}
.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

/* ==========================================================================
   Footer (Rich SaaS Layout & Crisp SVG Trust Markers)
   ========================================================================== */
.plugin-footer {
  background: #090d16;
  color: #94a3b8;
  padding: 4.5rem 0 2.25rem;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 2.75rem;
  margin-bottom: 3rem;
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-bio-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 1.25rem;
  max-width: 22rem;
}

.footer-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-trust-tag {
  font-size: 0.725rem;
  font-weight: 600;
  background: rgba(2, 132, 199, 0.1);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.footer-trust-tag .tag-check {
  color: #10b981;
  font-weight: 800;
}

.footer-col-heading {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

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

.footer-nav-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.15s ease;
  display: inline-block;
}
.footer-nav-link:hover {
  color: #38bdf8;
  transform: translateX(3px);
}

/* Security & Guarantee List */
.footer-secure-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-secure-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.secure-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.secure-icon-wrap.icon-cyan {
  background: rgba(2, 132, 199, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.secure-icon-wrap.icon-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.footer-license-box {
  margin-top: 1.25rem;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #1e293b;
  border-radius: 8px;
  font-size: 0.725rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.license-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

/* SEO Cloud */
.footer-seo-cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  padding: 1.5rem 0;
  border-top: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
  margin-bottom: 1.75rem;
}

.seo-cloud-title {
  font-size: 0.725rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.5rem;
}

.seo-tag {
  font-size: 0.75rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.2s ease;
}
.seo-tag:hover {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(2, 132, 199, 0.1);
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #64748b;
}

.footer-copy-text {
  font-size: 0.8rem;
  color: #64748b;
}

.footer-brand-link {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}
.footer-brand-link:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-bottom-link {
  color: #64748b;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.15s ease;
}
.footer-bottom-link:hover {
  color: #ffffff;
}

/* ==========================================================================
   Responsive Breakpoints (100% Mobile & Tablet Precision)
   Tested across 320px, 360px, 390px, 480px, 640px, 768px, 1024px, 1200px+
   ========================================================================== */

/* Tablet & Medium Laptops (max-width: 1080px) */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 2.5rem;
  }
  .hero-headline {
    font-size: 2.75rem;
  }
  .bottlenecks-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
    gap: 1.5rem;
  }
  .sim-box {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.25rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
    gap: 1.75rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* Tablet & Navigation Collapse (max-width: 860px) */
@media (max-width: 860px) {
  .desktop-nav, .header-actions {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .comp-table {
    min-width: 620px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  .bottlenecks-grid {
    max-width: 520px;
  }
}

/* Standard Mobile Smartphones (max-width: 640px) */
@media (max-width: 640px) {
  /* Prevent horizontal scroll globally */
  body, html {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Section Spacing */
  .hero-section,
  .bottlenecks-section,
  .simulator-section,
  .features-section,
  .comparison-section,
  .pricing-section,
  .faq-section,
  .bottom-cta-section {
    padding: 3rem 0;
    overflow-x: hidden;
  }

  .section-title-wrap {
    margin-bottom: 2rem;
  }

  /* Typography */
  .hero-headline {
    font-size: 1.85rem;
    line-height: 1.25;
    margin-bottom: 1rem;
    word-break: break-word;
  }

  .hero-lead-quote {
    font-size: 0.925rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .section-heading {
    font-size: 1.65rem;
    line-height: 1.25;
  }

  .section-desc {
    font-size: 0.9rem;
  }

  /* Hero Buttons Stacked */
  .hero-btn-row {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  .hero-btn-row .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }

  .hero-trust-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    text-align: center;
    gap: 0.5rem 0.75rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .trust-chip {
    font-size: 0.775rem;
    white-space: normal;
    text-align: center;
  }

  /* Hero Terminal Showcase Card */
  .showcase-card {
    border-radius: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .showcase-header {
    padding: 0.65rem 0.85rem;
    gap: 0.5rem;
    min-width: 0 !important;
  }
  .showcase-title {
    font-size: 0.7rem;
    min-width: 0 !important;
  }
  .showcase-badge-live {
    font-size: 0.6rem;
    padding: 0.15rem 0.45rem;
    flex-shrink: 0;
  }
  .showcase-body {
    padding: 1.15rem 0.85rem;
    box-sizing: border-box;
  }
  .showcase-stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.85rem 0.5rem;
    padding-bottom: 1rem;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .showcase-stat {
    min-width: 0 !important;
    overflow: hidden;
  }
  .stat-number {
    font-size: 1.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .stat-label {
    font-size: 0.675rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .showcase-item {
    padding: 0.65rem 0.75rem;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .showcase-item-left {
    min-width: 0 !important;
  }
  .item-name {
    font-size: 0.775rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .item-sub {
    font-size: 0.675rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .item-tag {
    font-size: 0.675rem;
    padding: 0.2rem 0.45rem;
    flex-shrink: 0;
  }

  /* Compatibility Badges */
  .compatibility-strip {
    padding: 1.5rem 0;
  }
  .compat-logos {
    gap: 0.5rem 0.65rem;
  }
  .compat-badge {
    font-size: 0.775rem;
    padding: 0.35rem 0.65rem;
  }

  /* Bottlenecks Card */
  .bottlenecks-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .bottleneck-card {
    padding: 1.5rem 1.15rem;
    border-radius: 16px;
    width: 100%;
    box-sizing: border-box;
  }
  .bottleneck-title {
    font-size: 1.15rem;
  }

  /* Simulator Card */
  .sim-box {
    padding: 1.5rem 1rem;
    border-radius: 18px;
    gap: 1.75rem;
    width: 100%;
    box-sizing: border-box;
  }
  .sim-results-card {
    padding: 1.25rem 0.85rem;
    width: 100%;
    box-sizing: border-box;
  }
  .sim-score-banner {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 1rem;
  }
  .score-circle {
    width: 80px;
    height: 80px;
  }
  .score-number {
    font-size: 1.5rem;
  }
  .sim-stats-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .sim-slider {
    height: 10px;
  }
  .sim-slider::-webkit-slider-thumb {
    width: 26px;
    height: 26px;
  }

  /* Feature Box */
  .feature-box {
    padding: 1.5rem 1.15rem;
    border-radius: 16px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Pricing Billing Switcher */
  .billing-switcher {
    margin: 1.5rem 0 2rem;
  }
  .switcher-box {
    width: 100%;
    max-width: 320px;
    display: flex;
    justify-content: space-between;
  }
  .plan-btn {
    flex: 1;
    padding: 0.45rem 0.5rem;
    font-size: 0.8rem;
    text-align: center;
  }
  .save-tag {
    font-size: 0.725rem;
    padding: 0.2rem 0.65rem;
  }

  /* Pricing Card */
  .pricing-grid {
    max-width: 100%;
  }
  .pricing-card {
    padding: 1.75rem 1.15rem;
    border-radius: 18px;
    width: 100%;
    box-sizing: border-box;
  }
  .plan-name {
    font-size: 1.25rem;
  }
  .price {
    font-size: 2.15rem;
  }
  .plan-features {
    gap: 0.75rem;
    font-size: 0.825rem;
  }

  /* Guarantee Box */
  .guarantee-box {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem 1rem;
    gap: 0.75rem;
    margin-top: 2rem;
    width: 100%;
    box-sizing: border-box;
  }

  /* FAQ */
  .faq-toggle {
    padding: 1rem 1.15rem;
    font-size: 0.925rem;
  }
  .faq-body {
    padding: 0 1.15rem 1.15rem;
    font-size: 0.85rem;
  }

  /* Bottom CTA Banner */
  .bottom-cta-heading {
    font-size: 1.65rem;
    line-height: 1.25;
  }
  .bottom-cta-sub {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  .bottom-cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .bottom-cta-buttons .btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
  }

  /* Footer */
  .plugin-footer {
    padding: 3rem 0 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem;
  }
}

/* Medium & Small Phones (max-width: 480px) */
@media (max-width: 480px) {
  .showcase-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.45rem !important;
  }
  .showcase-item-left {
    width: 100% !important;
  }
  .item-name {
    white-space: normal !important;
    word-break: break-word !important;
  }
  .item-sub {
    white-space: normal !important;
    word-break: break-word !important;
  }
  .item-tag {
    align-self: flex-start !important;
  }
  .hero-pill-badge {
    padding: 0.35rem 0.75rem;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 0.75rem;
  }
}

/* Extra Small Phones (max-width: 400px) */
@media (max-width: 400px) {
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  .nav-wrap {
    height: 4.25rem;
  }
  .brand-logo-img {
    width: 34px;
    height: 34px;
  }
  .logo-main {
    font-size: 1rem;
  }
  .logo-sub {
    font-size: 0.65rem;
  }

  .hero-headline {
    font-size: 1.75rem;
  }
  .hero-pill-badge {
    padding: 0.3rem 0.65rem;
  }
  .star-rating {
    display: none;
  }
  .badge-separator {
    display: none;
  }
  .badge-text {
    font-size: 0.725rem;
  }

  .showcase-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .price {
    font-size: 2rem;
  }

  .plan-features li {
    font-size: 0.8rem;
  }

  .seo-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }
}
