/* =========================================================================
   Products Module & Inner Product Detail Pages — Extension Styles
   Built on top of style.css design system & glassmorphism tokens
   ========================================================================= */

/* =========================================================================
   Products Page — CTA Card Override
   Forces the shared .blog-newsletter-card to a single centered column,
   ensuring "Request Product Demo" is perfectly centered on all screens.
   ========================================================================= */

.blog-newsletter-card {
  grid-template-columns: 1fr !important;   /* single column, not 2-col grid */
  text-align: center !important;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.blog-newsletter-card .newsletter-content {
  text-align: center !important;
  align-items: center !important;
}

.blog-newsletter-card .newsletter-form {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

.product-demo-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
}

/* -------- Products Catalog Cards Grid -------- */
.product-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  margin-top: 1rem;
}

.product-glass-card {
  background: var(--surface-color);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: var(--transition-normal);
  position: relative;
}

.product-glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 211, 148, 0.4);
  box-shadow: 0 20px 50px rgba(0, 211, 148, 0.12);
}

.product-card-banner {
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card-banner.was-theme,
.product-card-banner.waas-theme {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.25) 0%, rgba(0, 211, 148, 0.15) 100%);
}

.product-card-banner.gym-theme {
  background: linear-gradient(135deg, rgba(0, 211, 148, 0.2) 0%, rgba(5, 150, 105, 0.15) 100%);
}

.product-card-banner.erp-theme {
  background: linear-gradient(135deg, rgba(0, 211, 148, 0.2) 0%, rgba(5, 150, 105, 0.12) 100%);
}

/* -------- WAAS Ready-Made Website Template Cards Gallery -------- */
.waas-template-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.waas-template-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 211, 148, 0.4);
  box-shadow: 0 15px 35px rgba(0, 211, 148, 0.1);
  background: rgba(255, 255, 255, 0.85);
}

.waas-template-thumb {
  height: 210px;
  position: relative;
  overflow: hidden;
  background: #0a0f1c;
}

.waas-template-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
  border-radius: 0;
}

.waas-template-card:hover .waas-template-thumb img {
  transform: scale(1.08);
}

.waas-template-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: rgba(10, 15, 28, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.waas-template-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.waas-template-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.waas-template-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

.product-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.product-card-icon {
  font-size: 4.5rem;
  color: var(--accent);
  filter: drop-shadow(0 6px 15px rgba(0, 0, 0, 0.1));
  transition: transform 0.4s ease;
}

.was-theme .product-card-icon,
.gym-theme .product-card-icon,
.erp-theme .product-card-icon {
  color: var(--accent);
}

.product-glass-card:hover .product-card-icon {
  transform: scale(1.12);
}

.product-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-tagline {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.product-card-content h2 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  color: var(--text-main);
  font-weight: 800;
}

.product-short-desc {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.product-features-list {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  margin-bottom: 1.8rem;
  margin-top: auto;
}

.feature-headline {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  display: block;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-features-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-features-list li {
  font-size: 0.88rem;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 500;
  line-height: 1.45;
}

.product-features-list li i {
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.05em;
}

.product-card-action {
  margin-top: auto;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* -------- Values & Capabilities Section -------- */
.products-value-wrap {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.value-feature-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  text-align: center;
  transition: var(--transition-normal);
}

.value-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.9);
}

.value-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 211, 148, 0.15), rgba(5, 150, 105, 0.2));
  color: var(--accent);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.value-feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.value-feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* =========================================================================
   INDIVIDUAL PRODUCT DETAIL PAGES STYLES
   ========================================================================= */

/* -------- Page Header Responsive Styling -------- */
.page-header {
  padding: 8.5rem 0 3.5rem;
  text-align: center;
}

.product-hero-section {
  padding-top: 8.5rem;
  padding-bottom: 3rem;
}

.product-hero-content {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* -------- Back to Products Button -------- */
.back-to-products-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-xl);
  padding: 0.6rem 1.3rem;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  margin-bottom: 1.8rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: var(--transition-normal);
  width: fit-content;
}

.back-to-products-btn i {
  font-size: 1.15rem;
  color: var(--accent);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.back-to-products-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 211, 148, 0.4);
  color: var(--accent-secondary);
  box-shadow: 0 6px 20px rgba(0, 211, 148, 0.12);
  transform: translateX(-3px);
}

.back-to-products-btn:hover i {
  transform: translateX(-3px);
}

/* -------- Product Hero Badge -------- */
.product-hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(0, 211, 148, 0.15);
  color: var(--accent-secondary);
  border: 1px solid rgba(0, 211, 148, 0.3);
  margin: 0 auto 1.2rem auto;
  text-align: center;
}

/* All badge variants use the brand green */
.product-hero-badge.gym-badge-color,
.product-hero-badge.erp-badge-color {
  background: rgba(0, 211, 148, 0.12);
  color: var(--accent-secondary);
  border-color: rgba(0, 211, 148, 0.25);
}

.product-hero-content h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.product-hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.product-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* -------- Secondary Button -------- */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.6);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 211, 148, 0.35);
  color: var(--accent-secondary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 211, 148, 0.1);
}

/* -------- Dashboard Window Preview Mockup -------- */
.product-dashboard-preview {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.dashboard-window-bar {
  background: rgba(240, 245, 248, 0.9);
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  gap: 1rem;
}

.window-dots {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

.window-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff5f56;
}

.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:nth-child(3) { background: #27c93f; }

.window-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.window-status {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-secondary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.dashboard-preview-body {
  padding: 1.8rem;
}

.dashboard-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.metric-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.metric-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.metric-val {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: var(--text-main);
  word-break: break-word;
}

.metric-sub {
  font-size: 0.78rem;
  font-weight: 600;
}

.text-success { color: var(--accent-secondary) !important; }
.text-primary { color: var(--accent) !important; }

.dashboard-ui-mockup {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 1.2rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 1rem;
}

.mockup-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sidebar-item {
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  white-space: nowrap;
}

.sidebar-item.active {
  background: rgba(0, 211, 148, 0.12);
  color: var(--accent-secondary);
  font-weight: 700;
}

.mockup-main-panel {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.mockup-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mockup-header-flex .mockup-title {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.badge-success-pill {
  background: rgba(0, 211, 148, 0.15);
  color: var(--accent-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
}

.mockup-progress-bar {
  height: 6px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
}

.mockup-chat-preview {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.chat-bubble {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 90%;
}

.chat-bubble.received {
  background: rgba(240, 245, 248, 0.9);
  align-self: flex-start;
  border-left: 3px solid var(--accent);
}

.chat-bubble.sent {
  background: rgba(0, 211, 148, 0.1);
  color: var(--accent-secondary);
  align-self: flex-end;
  font-size: 0.82rem;
  font-weight: 600;
}

.chat-btn-group {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}

.chat-mock-btn {
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  border: 1px solid var(--accent);
  background: #fff;
  color: var(--accent-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

/* -------- Overview Highlights Box -------- */
.product-overview-box {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

/* Center-align badge, heading, and text in the overview text column */
.product-overview-box .grid-2 > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.product-overview-box .grid-2 > div:first-child .badge {
  margin-left: auto;
  margin-right: auto;
}

.product-overview-box .grid-2 > div:first-child h2 {
  text-align: center;
}

.product-overview-box .grid-2 > div:first-child p {
  text-align: center;
}

.lead-text {
  font-size: 1.1rem;
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.overview-highlights-grid {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.highlight-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.6);
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.highlight-item i {
  font-size: 1.8rem;
  color: var(--accent);
  background: rgba(0, 211, 148, 0.12);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.highlight-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* -------- Core Feature Cards Grid -------- */
.feature-card-item {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.feature-card-item:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 211, 148, 0.4);
  box-shadow: 0 15px 35px rgba(0, 211, 148, 0.1);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  flex-shrink: 0;
}

/* All feature icon variants use brand green */
.feature-icon-wrap.was-color,
.feature-icon-wrap.waas-color,
.feature-icon-wrap.gym-color,
.feature-icon-wrap.erp-color {
  background: rgba(0, 211, 148, 0.15);
  color: var(--accent-secondary);
}

.feature-card-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.feature-card-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* -------- Modules Included Grid -------- */
.module-box {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  position: relative;
  transition: var(--transition-normal);
}

.module-box:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--accent);
}

.module-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent-secondary);
  background: rgba(0, 211, 148, 0.12);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 0.8rem;
}

.module-box h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.module-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* -------- Workflow Step Grid -------- */
.workflow-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.4rem;
  text-align: center;
  position: relative;
}

.step-badge {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* -------- Industries Grid -------- */
.industry-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  transition: var(--transition-normal);
}

.industry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 211, 148, 0.4);
  background: rgba(255, 255, 255, 0.85);
}

.industry-card i {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
  display: block;
}

.industry-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.industry-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* -------- Comparison Specifications Table -------- */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  -webkit-overflow-scrolling: touch;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}

.specs-table th,
.specs-table td {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.93rem;
}

.specs-table th {
  background: rgba(240, 245, 248, 0.8);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.95rem;
}

.specs-table th.highlight-col,
.specs-table td.highlight-col {
  background: rgba(0, 211, 148, 0.08);
  border-left: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}

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

.text-danger { color: var(--accent-danger) !important; }
.text-warning { color: var(--accent-amber) !important; }

/* -------- Impact Stats Card -------- */
.impact-stats-card {
  background: linear-gradient(135deg, rgba(0, 211, 148, 0.12), rgba(5, 150, 105, 0.18));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 211, 148, 0.3);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
}

.stat-box {
  padding: 1rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  display: block;
  margin-bottom: 0.4rem;
}

.stat-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  display: block;
  margin-bottom: 0.4rem;
}

.stat-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   RESPONSIVE DESIGN FOR PRODUCTS MODULE
   ============================================================ */

/* ---- Large Tablet (max-width: 1024px) ---- */
@media (max-width: 1024px) {
  .product-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
  }

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

  .dashboard-ui-mockup {
    grid-template-columns: 180px 1fr;
  }

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

/* ---- Tablet (max-width: 900px) ---- */
@media (max-width: 900px) {
  .product-hero-section {
    padding-top: 8.5rem;
  }

  .page-header {
    padding-top: 8.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .products-value-wrap {
    padding: 2.5rem 2rem;
  }

  .product-overview-box {
    padding: 2.5rem 2rem;
  }

  .dashboard-ui-mockup {
    grid-template-columns: 1fr;
  }

  .mockup-sidebar {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    gap: 0.5rem;
  }

  .sidebar-item {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.8rem;
  }
}

/* ---- Tablet/Mobile (max-width: 768px) ---- */
@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .product-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-hero-section {
    padding-top: 9.5rem !important;
    padding-bottom: 2.5rem;
  }

  .page-header {
    padding-top: 9rem !important;
    padding-bottom: 2rem !important;
  }

  .product-hero-content {
    margin-bottom: 2.5rem;
  }

  .product-hero-content h1 {
    font-size: clamp(1.9rem, 6vw, 2.8rem);
  }

  .product-hero-lead {
    font-size: 1rem;
  }

  .product-hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .product-hero-actions .btn,
  .product-hero-actions .btn-primary,
  .product-hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .back-to-products-btn {
    margin-bottom: 1.4rem;
    font-size: 0.85rem;
    padding: 0.55rem 1.1rem;
  }

  .products-value-wrap,
  .product-overview-box,
  .impact-stats-card {
    padding: 2rem 1.4rem;
    border-radius: var(--radius-lg);
  }

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

  .dashboard-preview-body {
    padding: 1.2rem;
  }

  .dashboard-metrics-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 1rem;
  }

  .metric-card {
    padding: 1rem;
  }

  .metric-val {
    font-size: 1.3rem;
  }

  .workflow-steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .dashboard-window-bar {
    padding: 0.7rem 1rem;
    gap: 0.75rem;
  }

  .window-title {
    font-size: 0.78rem;
  }

  .window-status {
    font-size: 0.72rem;
    display: none;
  }

  .product-card-content {
    padding: 1.6rem;
  }

  .product-card-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.7rem;
    max-width: calc(100% - 2rem);
    white-space: normal;
    text-align: right;
    line-height: 1.3;
  }

  .waas-template-thumb {
    height: 180px;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  /* CTA newsletter block */
  .blog-newsletter-card .newsletter-content,
  .blog-newsletter-card .newsletter-form {
    text-align: center;
  }

  .blog-newsletter-card {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 1.4rem;
  }

  .blog-newsletter-card .btn {
    width: 100%;
    justify-content: center;
  }

  /* Align products page mobile layout with blog page */
  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .product-glass-card {
    border-radius: var(--radius-lg);
  }

  .product-card-content {
    padding: 1.4rem;
  }

  .product-card-content h2 {
    font-size: 1.35rem;
    line-height: 1.3;
  }

  .product-card-content p {
    font-size: 0.9rem;
  }

  .value-feature-card {
    padding: 1.4rem 1.2rem;
    gap: 0.9rem;
  }

  .value-feature-card h3 {
    font-size: 1rem;
  }

  .value-feature-card p {
    font-size: 0.875rem;
  }

  /* Ensure no horizontal overflow */
  .product-hero-section,
  .products-catalog-section,
  .products-value-section {
    overflow-x: hidden;
    box-sizing: border-box;
  }
}

/* ---- Small Mobile (max-width: 640px) ---- */
@media (max-width: 640px) {
  .product-hero-content h1 {
    font-size: clamp(1.75rem, 7vw, 2.2rem);
  }

  .product-hero-section {
    padding-top: 9rem;
  }

  .dashboard-metrics-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .dashboard-ui-mockup {
    display: none; /* Hide detailed mockup on very small screens — metrics are shown */
  }

  .workflow-steps-grid {
    grid-template-columns: 1fr;
  }

  .waas-template-thumb {
    height: 160px;
  }

  .impact-stats-card .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- Mobile Phones (max-width: 480px) ---- */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .product-hero-section {
    padding-top: 9rem;
    padding-bottom: 2rem;
  }

  .page-header {
    padding-top: 9rem !important;
    padding-bottom: 1.8rem !important;
  }

  .product-card-banner {
    height: 160px;
  }

  .product-card-content {
    padding: 1.4rem;
  }

  .product-card-content h2 {
    font-size: 1.4rem;
  }

  .product-hero-content h1 {
    font-size: clamp(1.65rem, 7.5vw, 2rem);
  }

  .product-cards-grid {
    gap: 1.2rem;
  }

  .products-value-wrap,
  .product-overview-box,
  .impact-stats-card {
    padding: 1.6rem 1.1rem;
  }

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

  .value-feature-card {
    padding: 1.2rem 1rem;
  }

  .feature-card-item,
  .module-box,
  .industry-card {
    padding: 1.4rem;
  }

  .step-card {
    padding: 1.4rem 1rem;
  }

  .workflow-steps-grid {
    gap: 0.8rem;
  }

  .back-to-products-btn {
    font-size: 0.82rem;
    padding: 0.5rem 1rem;
  }

  .product-hero-badge {
    font-size: 0.72rem;
    padding: 0.35rem 1rem;
    text-align: center;
  }

  .highlight-item {
    padding: 1rem 1.1rem;
    gap: 0.9rem;
  }

  .highlight-item i {
    width: 42px;
    height: 42px;
    font-size: 1.5rem;
  }

  .module-num {
    font-size: 0.9rem;
  }

  .specs-table th,
  .specs-table td {
    padding: 0.9rem 1rem;
    font-size: 0.85rem;
  }

  .dashboard-preview-body {
    padding: 1rem;
  }

  .metric-card {
    padding: 0.85rem 0.9rem;
  }

  .metric-val {
    font-size: 1.2rem;
  }
}

/* ---- Extra Small (max-width: 360px) ---- */
@media (max-width: 360px) {
  .container {
    padding: 0 0.85rem;
  }

  .product-hero-content h1 {
    font-size: 1.5rem;
  }

  .product-card-content {
    padding: 1.2rem;
  }

  .product-card-content h2 {
    font-size: 1.25rem;
  }

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

  .value-feature-card {
    padding: 1rem 0.9rem;
  }

  .product-card-badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
  }

  .product-hero-actions .btn,
  .product-hero-actions .btn-primary,
  .product-hero-actions .btn-secondary {
    font-size: 0.9rem;
    padding: 0.8rem 1.4rem;
  }

  .dashboard-metrics-row {
    gap: 0.6rem;
  }

  .specs-table th,
  .specs-table td {
    padding: 0.75rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* =========================================================================
   Mobile Responsiveness & Refined Layout (Matching Reference Design)
   ========================================================================= */

@media (max-width: 768px) {
  .container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .product-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1.8rem !important;
  }

  .product-glass-card {
    border-radius: var(--radius-xl) !important;
    overflow: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
  }

  .product-card-banner {
    height: 190px !important;
    position: relative !important;
  }

  .product-card-badge {
    position: absolute !important;
    top: 0.85rem !important;
    right: 0.85rem !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #1e293b !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    padding: 0.35rem 0.85rem !important;
    border-radius: 50px !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    white-space: nowrap !important;
    max-width: 80% !important;
  }

  .product-card-content {
    padding: 1.6rem 1.4rem !important;
  }

  .product-tagline {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    color: var(--accent) !important;
    margin-bottom: 0.4rem !important;
    text-transform: uppercase !important;
  }

  .product-card-content h2 {
    font-size: 1.45rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.6rem !important;
    font-weight: 700 !important;
  }

  .product-short-desc {
    font-size: 0.93rem !important;
    line-height: 1.6 !important;
    color: var(--text-muted) !important;
    margin-bottom: 1.25rem !important;
  }

  /* Pricing Preview Card & Popular Badge Mobile Fix */
  #pricing .pricing-card {
    padding-top: 3.2rem !important;
    padding-bottom: 2rem !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    margin-top: 1.8rem !important;
    position: relative !important;
    border-radius: var(--radius-xl) !important;
    box-sizing: border-box !important;
  }

  .popular-badge {
    position: absolute !important;
    top: -16px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    white-space: nowrap !important;
    z-index: 10 !important;
    font-size: 0.72rem !important;
    padding: 0.35rem 1rem !important;
    border-radius: 50px !important;
    background: var(--accent) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(0, 211, 148, 0.3) !important;
  }

  #pricing .pricing-card h2 {
    margin-top: 0.4rem !important;
    font-size: clamp(1.25rem, 5vw, 1.5rem) !important;
    line-height: 1.3 !important;
  }

  #pricing .btn,
  .pricing-card .btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.85rem 1.2rem !important;
    font-size: 0.95rem !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    display: inline-flex !important;
  }

  /* Product Page CTA Demo Button Fix */
  .blog-newsletter-card {
    padding: 2rem 1.25rem !important;
    gap: 1.4rem !important;
    text-align: center !important;
    border-radius: var(--radius-xl) !important;
  }

  .blog-newsletter-card .newsletter-form {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }

  .blog-newsletter-card .btn,
  .product-demo-btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.85rem 1.2rem !important;
    font-size: 0.95rem !important;
    white-space: nowrap !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .product-card-content {
    padding: 1.4rem 1.15rem !important;
  }

  .product-card-content h2 {
    font-size: 1.35rem !important;
  }

  #pricing .pricing-card {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 3rem !important;
  }

  #pricing .btn,
  .pricing-card .btn,
  .blog-newsletter-card .btn,
  .product-demo-btn {
    font-size: 0.88rem !important;
    padding: 0.8rem 1rem !important;
  }
}

/* =========================================================================
   Product Inner Pages – Comprehensive Mobile Responsiveness
   Targets: null-waas.html, gymkhana.html, null-erp.html
   Breakpoints: 768px, 640px, 480px, 360px, 320px
   ========================================================================= */

/* Ensure page is never scroll-blocked on product inner pages */
.product-hero-section,
.product-hero-content,
.product-overview-box,
.product-dashboard-preview {
  -webkit-overflow-scrolling: touch;
  touch-action: manipulation;
}

/* ---- 768px tablet & small tablet ---- */
@media (max-width: 768px) {
  .product-hero-section {
    padding-top: 7rem !important;
    padding-bottom: 2rem !important;
  }

  .product-hero-content {
    text-align: center !important;
    align-items: center !important;
    padding: 0 0.5rem !important;
    margin-bottom: 2rem !important;
  }

  .back-to-products-btn {
    font-size: 0.82rem !important;
    padding: 0.5rem 1.1rem !important;
    margin-bottom: 1.4rem !important;
  }

  .product-hero-badge {
    font-size: 0.72rem !important;
    padding: 0.35rem 1rem !important;
    margin: 0 auto 1rem auto !important;
    display: inline-flex !important;
    justify-content: center !important;
    white-space: nowrap !important;
    max-width: 90% !important;
    text-align: center !important;
  }

  .product-hero-content h1 {
    font-size: clamp(1.9rem, 6vw, 2.6rem) !important;
    line-height: 1.2 !important;
    text-align: center !important;
    margin-bottom: 1rem !important;
  }

  .product-hero-lead {
    font-size: 0.98rem !important;
    line-height: 1.65 !important;
    text-align: center !important;
  }

  .product-hero-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.85rem !important;
    width: 100% !important;
  }

  .product-hero-actions .btn,
  .product-hero-actions .btn-primary,
  .product-hero-actions .btn-secondary {
    width: 100% !important;
    max-width: 340px !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.85rem 1.4rem !important;
    font-size: 0.95rem !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
  }

  /* Product overview / section badges – centered on mobile */
  .product-overview-box .badge,
  .product-overview-box .section-header .badge,
  .section-header .badge {
    display: inline-flex !important;
    justify-content: center !important;
    margin: 0 auto 0.8rem auto !important;
  }

  .product-overview-box,
  .products-value-wrap,
  .impact-stats-card {
    padding: 1.8rem 1.2rem !important;
    border-radius: var(--radius-xl) !important;
    box-sizing: border-box !important;
  }

  /* Grid-2 stacks to single column */
  .grid-2.align-center {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Overview highlights grid */
  .overview-highlights-grid {
    gap: 0.9rem !important;
  }

  .highlight-item {
    padding: 1rem 1.1rem !important;
    gap: 0.9rem !important;
    border-radius: 1rem !important;
  }

  .highlight-item i {
    width: 42px !important;
    height: 42px !important;
    font-size: 1.5rem !important;
    flex-shrink: 0 !important;
  }

  /* Features grid */
  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .feature-card-item {
    padding: 1.4rem 1.2rem !important;
    border-radius: 1rem !important;
  }

  /* Module / Industry cards */
  .modules-grid,
  .industry-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.9rem !important;
  }

  .module-box,
  .industry-card {
    padding: 1.2rem 1rem !important;
    border-radius: 1rem !important;
  }

  /* Workflow / Step cards */
  .workflow-steps-grid {
    grid-template-columns: 1fr !important;
    gap: 0.9rem !important;
  }

  .step-card {
    padding: 1.4rem 1.1rem !important;
    border-radius: 1rem !important;
  }

  /* Comparison table */
  .specs-table th,
  .specs-table td {
    padding: 0.85rem 1rem !important;
    font-size: 0.84rem !important;
  }

  /* Dashboard mockup */
  .product-dashboard-preview {
    border-radius: 1.25rem !important;
    overflow: hidden !important;
  }

  .dashboard-preview-body {
    padding: 1rem !important;
  }

  .dashboard-metrics-row {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
  }

  .metric-card {
    padding: 0.85rem 0.9rem !important;
    border-radius: 0.9rem !important;
  }

  .metric-val {
    font-size: 1.25rem !important;
  }

  /* WAAS template cards */
  .waas-template-card {
    border-radius: 1rem !important;
  }

  .waas-template-thumb {
    height: 170px !important;
  }

  /* Newsletter CTA card */
  .blog-newsletter-card {
    flex-direction: column !important;
    padding: 2rem 1.25rem !important;
    text-align: center !important;
    gap: 1.5rem !important;
    border-radius: var(--radius-xl) !important;
  }

  .blog-newsletter-card .newsletter-content {
    text-align: center !important;
  }

  .blog-newsletter-card .newsletter-form {
    width: 100% !important;
    justify-content: center !important;
  }

  .blog-newsletter-card .btn,
  .product-demo-btn {
    width: 100% !important;
    max-width: 340px !important;
    padding: 0.9rem 1.2rem !important;
    font-size: 0.95rem !important;
    justify-content: center !important;
    display: inline-flex !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  /* FAQ section */
  .faq-list {
    gap: 0.7rem !important;
  }
}

/* ---- Small Mobile (max-width: 480px) ---- */
@media (max-width: 480px) {
  .product-hero-section {
    padding-top: 7rem !important;
  }

  .product-hero-content h1 {
    font-size: clamp(1.65rem, 7.5vw, 2rem) !important;
  }

  .product-hero-actions .btn,
  .product-hero-actions .btn-primary,
  .product-hero-actions .btn-secondary {
    max-width: 100% !important;
    font-size: 0.88rem !important;
  }

  .modules-grid,
  .industry-grid {
    grid-template-columns: 1fr !important;
  }

  .dashboard-metrics-row {
    grid-template-columns: 1fr !important;
  }

  .specs-table th,
  .specs-table td {
    padding: 0.75rem 0.8rem !important;
    font-size: 0.8rem !important;
  }

  .blog-newsletter-card .btn,
  .product-demo-btn {
    max-width: 100% !important;
    font-size: 0.88rem !important;
    padding: 0.8rem 1rem !important;
  }
}

/* ---- Tiny Mobile (max-width: 360px) ---- */
@media (max-width: 360px) {
  .container {
    padding-left: 0.875rem !important;
    padding-right: 0.875rem !important;
  }

  .product-hero-content h1 {
    font-size: 1.5rem !important;
  }

  .product-hero-badge {
    font-size: 0.68rem !important;
    padding: 0.3rem 0.85rem !important;
  }

  .product-hero-actions .btn,
  .product-hero-actions .btn-primary,
  .product-hero-actions .btn-secondary {
    font-size: 0.85rem !important;
    padding: 0.75rem 0.9rem !important;
  }

  .metric-val {
    font-size: 1.1rem !important;
  }
}