/*
 * Coregenic Softwares - Main Stylesheet
 * Brand color themes, modern layout grid, responsive typography, and mobile-friendly design
 */

/* Import Google Fonts - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Brand Theme Variable Definitions */
:root {
  /* Default Home Theme (Modern Blue & White E-Commerce) */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary: #1e293b;
  --accent: #60a5fa;
  --bg-body: #f8fafc;
  --bg-card: #FFFFFF;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --hero-bg: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 58, 138, 0.8) 100%), url('../images/home-printer-banner.png');
  --hero-text: #ffffff;
  --button-text: #ffffff;
  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --card-hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Canon Theme: Red, Black, White */
body.theme-canon {
  --primary: #e30613;
  --primary-hover: #b8050f;
  --secondary: #111111;
  --accent: #f43f5e;
  --bg-body: #fafafa;
  --bg-card: #FFFFFF;
  --text-main: #111111;
  --text-muted: #666666;
  --border-color: #e5e5e5;
  --hero-bg: linear-gradient(135deg, rgba(11, 11, 11, 0.9) 0%, rgba(42, 42, 42, 0.8) 50%, rgba(227, 6, 19, 0.6) 100%), url('../images/canon-printer-banner.png');
  --hero-text: #ffffff;
  --button-text: #ffffff;
}

/* HP Theme: Blue, White, Light Grey */
body.theme-hp {
  --primary: #007dbd;
  --primary-hover: #005f91;
  --secondary: #202b3d;
  --accent: #0096d6;
  --bg-body: #f3f4f6;
  --bg-card: #FFFFFF;
  --text-main: #111827;
  --text-muted: #4b5563;
  --border-color: #e5e7eb;
  --hero-bg: linear-gradient(135deg, rgba(0, 46, 77, 0.9) 0%, rgba(0, 125, 189, 0.8) 100%), url('../images/hp-printer-banner.png');
  --hero-text: #ffffff;
  --button-text: #ffffff;
}

/* Epson Theme: Blue, White, Dark Grey */
body.theme-epson {
  --primary: #005ea6;
  --primary-hover: #00467c;
  --secondary: #374151;
  --accent: #0087eb;
  --bg-body: #f9fafb;
  --bg-card: #FFFFFF;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
  --hero-bg: linear-gradient(135deg, rgba(17, 24, 39, 0.9) 0%, rgba(31, 41, 55, 0.8) 60%, rgba(0, 94, 166, 0.6) 100%), url('../images/epson-printer-banner.png');
  --hero-text: #ffffff;
  --button-text: #ffffff;
}

/* Brother Theme: Navy Blue, White, Soft Grey */
body.theme-brother {
  --primary: #002e6e;
  --primary-hover: #001f4c;
  --secondary: #4b5563;
  --accent: #2563eb;
  --bg-body: #f4f5f7;
  --bg-card: #FFFFFF;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-color: #cbd5e1;
  --hero-bg: linear-gradient(135deg, rgba(0, 18, 46, 0.9) 0%, rgba(0, 46, 110, 0.8) 100%), url('../images/brother-printer-banner.png');
  --hero-text: #ffffff;
  --button-text: #ffffff;
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease, background-color 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo a {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-img {
  height: 50px;
  width: 60px;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.logo-blue {
  color: var(--primary);
  transition: color 0.3s ease;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #475569;
  padding: 8px 12px;
  border-radius: 6px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background-color: rgba(37, 99, 235, 0.06);
}

body.theme-canon .nav-link:hover,
body.theme-canon .nav-link.active {
  background-color: rgba(226, 6, 19, 0.06);
}

body.theme-hp .nav-link:hover,
body.theme-hp .nav-link.active {
  background-color: rgba(0, 125, 189, 0.06);
}

body.theme-epson .nav-link:hover,
body.theme-epson .nav-link.active {
  background-color: rgba(0, 94, 166, 0.06);
}

body.theme-brother .nav-link:hover,
body.theme-brother .nav-link.active {
  background-color: rgba(0, 46, 110, 0.06);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--secondary);
  margin: 5px 0;
  transition: 0.3s;
}

/* Page Banner */
.page-banner {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.banner-img {
  width: 100%;
  height: auto;
  display: block;
}




/* Introduction Section */
.intro-section {
  padding: 60px 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.intro-container {
  max-width: 800px;
  margin: 0 auto;
}

.intro-container h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--secondary);
}

.intro-container p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Homepage Affiliate Banner Notice */
.home-disclaimer-banner {
  background-color: #eff6ff;
  border-left: 5px solid #3b82f6;
  padding: 20px;
  margin: 40px 0;
  border-radius: 4px 8px 8px 4px;
}

.home-disclaimer-banner p {
  font-size: 14px;
  color: #1e3a8a;
  line-height: 1.6;
}

.home-disclaimer-title {
  font-weight: 700;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Products Section */
.products-section {
  padding: 80px 0;
}

.section-header {
  margin-bottom: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--secondary);
}

.section-subtitle {
  color: var(--text-muted);
  margin-top: 5px;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

/* Product Card */
.product-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-hover-shadow);
  border-color: var(--primary);
}

.product-image-container {
  background-color: #FFFFFF !important;
  padding: 18px;
  position: relative;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-color);
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.product-image-placeholder img {
  max-width: 100%;
  max-height: 165px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.product-card:hover .product-image-placeholder {
  transform: scale(1.05);
}

.brand-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--secondary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
}

/* Dynamic Brand Tags */
.brand-tag.canon {
  background-color: #e30613;
}

.brand-tag.hp {
  background-color: #007dbd;
}

.brand-tag.epson {
  background-color: #005ea6;
}

.brand-tag.brother {
  background-color: #002e6e;
}

.product-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 6px;
  line-height: 1.4;
  height: 45px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-type {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  opacity: 0.85;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 14px;
}

.product-rating .star {
  font-size: 16px;
  line-height: 1;
}

.product-rating .star.full {
  color: #f59e0b;
}

.product-rating .star.half {
  color: #f59e0b;
  opacity: 0.5;
}

.product-rating .star.empty {
  color: #d1d5db;
}

.rating-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-left: 4px;
}

.rating-count {
  font-size: 12px;
  color: var(--text-muted);
}

.product-specs {
  list-style: none;
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-specs li {
  font-size: 13.5px;
  color: var(--text-muted);
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}

.product-specs li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
  position: absolute;
  left: 5px;
}

.product-price-range {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 15px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-color);
  display: flex;
  justify-content: space-between;
}

.price-label {
  color: var(--text-muted);
  font-weight: 400;
}

.product-affiliate-note {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

.cta-button {
  background-color: #ffd814;
  color: #0f1111;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 100px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: 1px solid #fcd200;
  cursor: pointer;
  box-shadow: 0 2px 5px 0 rgba(213, 217, 217, 0.5);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  background-color: #f7ca00;
  border-color: #f2c200;
  box-shadow: 0 2px 5px 0 rgba(213, 217, 217, 0.5);
}

.cta-button:active {
  transform: scale(0.98);
}

/* Info Pages (About, Policies) */
.info-page-container {
  padding: 80px 0;
  background-color: #ffffff;
  flex-grow: 1;
}

.info-content {
  max-width: 850px;
  margin: 0 auto;
}

.info-header {
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 30px;
  margin-bottom: 40px;
}

.info-header h1 {
  font-size: 40px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 10px;
}

.info-meta {
  color: var(--text-muted);
  font-size: 14px;
}

.info-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary);
  margin: 40px 0 15px 0;
}

.info-body p {
  font-size: 16px;
  color: #334155;
  line-height: 1.8;
  margin-bottom: 20px;
}

.info-body ul,
.info-body ol {
  margin-bottom: 25px;
  padding-left: 25px;
}

.info-body li {
  font-size: 16px;
  color: #334155;
  line-height: 1.8;
  margin-bottom: 10px;
}

.info-alert {
  background-color: #f8fafc;
  border-left: 4px solid var(--primary);
  padding: 20px;
  border-radius: 0 8px 8px 0;
  margin: 30px 0;
}

.info-alert p {
  margin-bottom: 0;
  font-style: italic;
  font-size: 15px;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background-color: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.2s ease;
}

.contact-info-card:hover {
  border-color: var(--primary);
}

.contact-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(37, 99, 235, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--primary);
}

.contact-info-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 6px;
}

.contact-info-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

.contact-form-panel {
  background-color: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-main);
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit-btn {
  background-color: var(--primary);
  color: var(--button-text);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s ease, transform 0.1s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.contact-submit-btn:hover {
  background-color: var(--primary-hover);
}

.contact-submit-btn:active {
  transform: scale(0.98);
}

.contact-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  color: #065f46;
  font-size: 14px;
  font-weight: 500;
}

.form-error {
  margin-top: 16px;
  padding: 14px 18px;
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  color: #991b1b;
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer Section */
.site-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 60px 0 30px 0;
  border-top: 1px solid #1e293b;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-disclaimer-box {
  background-color: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 20px;
  font-size: 13px;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 40px;
}

.footer-disclaimer-box strong {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  font-size: 13px;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  font-size: 13px;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

/* Responsive Styling */
@media (max-width: 992px) {
  .hero-banner h1 {
    font-size: 38px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .header-container {
    height: 85px;
  }

  .logo-img {
    height: 50px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 85px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 85px);
    background-color: #ffffff;
    flex-direction: column;
    padding: 40px 20px;
    gap: 15px;
    transition: 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    align-items: stretch;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    font-size: 18px;
    display: block;
    text-align: center;
    padding: 12px;
  }

  .hero-banner {
    padding: 60px 0;
  }

  .hero-banner h1 {
    font-size: 32px;
  }

  .hero-banner p {
    font-size: 16px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Toggle Active State Hamburger Menu */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* FAQ Accordion Section */
.faq-section {
  padding: 80px 0;
  background-color: var(--bg-body);
  border-top: 1px solid var(--border-color);
}

.faq-title {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 12px;
  letter-spacing: -0.025em;
}

.faq-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  box-shadow: var(--card-shadow);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.faq-item[open] {
  border-color: var(--primary);
  box-shadow: var(--card-shadow);
  transform: translateY(0);
}

.faq-question {
  padding: 20px 28px;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 28px 20px 28px;
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.65;
  border-top: 1px dashed var(--border-color);
  padding-top: 16px;
}

/* ============================================================
   COMPARISON TABLE SECTION
   ============================================================ */
.comparison-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0f4ff 0%, #f8fafc 100%);
  border-top: 1px solid var(--border-color);
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.12), 0 8px 16px -4px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-color);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 14.5px;
  min-width: 700px;
}

.comparison-table thead tr {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.comparison-table thead th {
  padding: 20px 18px;
  color: #ffffff;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.01em;
  font-size: 13.5px;
}

.comparison-table thead th:first-child {
  text-align: left;
  border-radius: 0;
}

.table-brand-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.table-brand-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
}

.table-brand-pill.hp {
  background: #007dbd;
}

.table-brand-pill.epson {
  background: #005ea6;
}

.table-brand-pill.canon {
  background: #e30613;
}

.table-brand-pill.brother {
  background: #002e6e;
}

.comparison-table tbody tr {
  transition: background 0.18s ease;
  border-bottom: 1px solid #f1f5f9;
}

.comparison-table tbody tr:last-child {
  border-bottom: none;
}

.comparison-table tbody tr:nth-child(even) {
  background: #f8fafd;
}

.comparison-table tbody tr:hover {
  background: #eef2ff;
}

.comparison-table tbody td {
  padding: 16px 18px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.feature-label {
  text-align: left !important;
  font-weight: 700;
  color: var(--secondary) !important;
  font-size: 13.5px !important;
  white-space: nowrap;
}

.table-icon {
  vertical-align: middle;
  stroke-width: 3.5px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.05));
  transition: transform 0.2s ease;
}

.comparison-table tr:hover .table-icon {
  transform: scale(1.15);
}

.check-yes-svg {
  color: #10b981;
  /* Emerald/Green */
}

.check-no-svg {
  color: #ef4444;
  /* Red */
}

.badge-auto {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: 50px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 700;
}

.badge-manual {
  display: inline-block;
  background: #fef9c3;
  color: #854d0e;
  border: 1px solid #fde68a;
  border-radius: 50px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 700;
}

.cost-badge {
  display: inline-block;
  border-radius: 50px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 700;
}

.cost-badge.very-low {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.cost-badge.low {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.cost-badge.medium {
  background: #fef9c3;
  color: #854d0e;
  border: 1px solid #fde68a;
}

.cost-badge.high {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ============================================================
   BEST SELLERS HORIZONTAL SCROLL SECTION
   ============================================================ */
.bestsellers-scroll-section {
  padding: 80px 0 60px;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
}

.scroll-track-outer {
  position: relative;
  overflow: hidden;
  padding: 10px 0 20px 0;
}

.scroll-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 24px 16px 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) transparent;
  -webkit-overflow-scrolling: touch;
}

.scroll-track::-webkit-scrollbar {
  height: 5px;
}

.scroll-track::-webkit-scrollbar-track {
  background: transparent;
}

.scroll-track::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 50px;
}

.scroll-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
}

.scroll-card-inner {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  height: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s ease, border-color 0.2s ease;
}

.scroll-card-inner:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.13);
  border-color: var(--primary);
}

.scroll-card-img-container {
  width: 100%;
  height: 125px;
  background-color: #FFFFFF !important;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid var(--border-color);
  margin-bottom: 6px;
  overflow: hidden;
}

.scroll-card-img {
  max-width: 95%;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.28s ease;
}

.scroll-card-inner:hover .scroll-card-img {
  transform: scale(1.06);
}

.scroll-brand-pill {
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 50px;
}

.scroll-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.35;
  margin: 0;
}

.scroll-card-type {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.scroll-card-btn {
  display: inline-block;
  margin-top: 6px;
  padding: 8px 18px;
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.1s ease;
  text-decoration: none;
}

.scroll-card-btn:hover {
  background: var(--primary-hover);
  transform: scale(1.04);
  color: #fff;
}

.scroll-arrows {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}

.scroll-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  font-size: 18px;
  cursor: pointer;
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.scroll-arrow-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: scale(1.07);
}

/* ============================================================
   REVIEW PROCESS SECTION (Flowchart)
   ============================================================ */
.review-process-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  border-top: 1px solid var(--border-color);
}

.process-flowchart {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  padding: 28px 30px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.06);
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.process-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.process-step:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.12);
}

.process-step-icon {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.process-step-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-step-number {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.process-step-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 6px;
}

.process-step-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.process-connector {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 36px;
  opacity: 0;
  transition: opacity 0.5s ease 0.2s;
}

.process-connector.visible {
  opacity: 1;
}

.process-connector span {
  display: block;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 50px;
  position: relative;
}

.process-connector span::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--accent);
}

@media (max-width: 600px) {
  .process-step {
    flex-direction: column;
    gap: 14px;
    padding: 20px;
  }

  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 12px 10px;
    font-size: 12.5px;
  }

  .scroll-card {
    flex: 0 0 185px;
  }
}
.site-header {
    display: none;
}