/* ============================================================
   ACCSOFT — PRODUCT PAGES SHARED CSS
   Used by: /quickbooks/ /quickbooks-accounting-software/
            /erp/ /payroll/ /pos/
   ============================================================ */

/* ── TOP BAR ─────────────────────────────────────────────────── */
.top-bar {
  background: var(--color-primary-dark);
  padding: 0; height: 36px; display: flex; align-items: center;
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
}
.top-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); width: 100%; }
.top-bar__message { display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-xs); color: rgba(255,255,255,0.82); flex: 1; }
.top-bar__contacts { display: flex; align-items: center; gap: var(--space-5); }
.top-bar__link { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-xs); color: rgba(255,255,255,0.75); text-decoration: none; white-space: nowrap; transition: color var(--duration-fast) var(--ease-out); }
.top-bar__link:hover { color: var(--color-white); }
.top-bar__divider { width: 1px; height: 14px; background: rgba(255,255,255,0.2); }
.has-top-bar .site-header { top: 36px; }
@media (max-width: 768px) { .top-bar__contacts { display: none; } }

/* ── PAGE HERO ───────────────────────────────────────────────── */
.product-hero {
  position: relative;
  padding-top: 108px;
  padding-bottom: var(--space-20);
  overflow: hidden;
}
.product-hero__bg { position: absolute; inset: 0; z-index: 0; }
.product-hero__gradient {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0F1F0F 0%, #1A2A1A 50%, #111 100%);
}
.product-hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 56px 56px;
}
.product-hero__orb {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
}
.product-hero__orb--1 { width: 420px; height: 420px; top: -80px; right: 8%; background: rgba(45,106,45,0.18); }
.product-hero__orb--2 { width: 260px; height: 260px; bottom: 0; left: 5%; background: rgba(212,149,106,0.09); }

.product-hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-16); align-items: center;
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
}

.product-hero__breadcrumb {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-4);
}
.product-hero__breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color var(--duration-fast) var(--ease-out); }
.product-hero__breadcrumb a:hover { color: rgba(255,255,255,0.85); }
.product-hero__breadcrumb svg { opacity: 0.4; flex-shrink: 0; }

.product-hero__logo {
  height: 48px; width: auto; max-width: 180px;
  object-fit: contain; display: block;
  margin-bottom: var(--space-5);
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.product-hero__logo--natural { filter: none; opacity: 1; }

.product-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw + 0.5rem, 4.2rem);
  font-weight: var(--fw-semibold); line-height: 1.06;
  letter-spacing: -0.03em; color: var(--color-white);
  margin-bottom: var(--space-5);
}
.product-hero__title span {
  background: linear-gradient(135deg, #7DC87D, var(--color-primary-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.product-hero__desc {
  font-size: var(--text-md); line-height: var(--lh-relaxed);
  color: rgba(255,255,255,0.65); margin-bottom: var(--space-8);
  max-width: 52ch;
}

.product-hero__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }

.product-hero__visual { position: relative; display: flex; align-items: center; justify-content: center; }

.product-hero__img-frame {
  position: relative; border-radius: var(--radius-2xl); overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
  width: 100%; max-height: 380px;
}
.product-hero__img-frame img {
  width: 100%; height: 100%; max-height: 380px;
  object-fit: cover; object-position: center top; display: block;
}

@media (max-width: 1024px) {
  .product-hero__inner { grid-template-columns: 1fr; }
  .product-hero__visual { order: -1; max-width: 560px; }
}
@media (max-width: 600px) {
  .product-hero__title { font-size: clamp(2rem, 7vw, 2.8rem); }
  .product-hero__visual { display: none; }
}

/* ── PRODUCT INTRO SECTION ───────────────────────────────────── */
.product-intro { background: var(--color-white); }
.product-intro__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-16); align-items: start;
}
.product-intro__body { font-size: var(--text-md); line-height: var(--lh-relaxed); color: var(--color-text-secondary); margin-bottom: var(--space-6); }
.product-intro__body strong { color: var(--color-text-primary); }
.product-intro__img { border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-xl); }
.product-intro__img img { width: 100%; display: block; object-fit: cover; }
@media (max-width: 1024px) { .product-intro__grid { grid-template-columns: 1fr; } }

/* ── FEATURE LIST SECTION ────────────────────────────────────── */
.product-features { background: var(--color-bg); }

.product-features__intro { margin-bottom: var(--space-12); }
.product-features__intro p { font-size: var(--text-md); font-weight: var(--fw-semibold); color: var(--color-text-primary); line-height: var(--lh-relaxed); }

.features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  padding: var(--space-2);
}
.feature-group {
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); padding: var(--space-8);
  transition: box-shadow var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out),
              border-color var(--duration-slow) var(--ease-out);
  position: relative; overflow: hidden;
}
.feature-group::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0); transition: transform var(--duration-slow) var(--ease-out);
}
.feature-group:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-4px); }
.feature-group:hover::before { transform: scaleX(1); }

.feature-group__icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--color-primary-xlight); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4);
  transition: background var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out);
}
.feature-group:hover .feature-group__icon { background: var(--color-primary); color: var(--color-white); }

.feature-group__title {
  font-family: var(--font-display); font-size: var(--text-xl);
  font-weight: var(--fw-semibold); color: var(--color-text-primary);
  margin-bottom: var(--space-5); line-height: var(--lh-snug);
}
.feature-group__list { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.feature-group__list li {
  display: flex; align-items: flex-start; gap: var(--space-3);
  font-size: var(--text-base); color: var(--color-text-secondary); line-height: var(--lh-relaxed);
}
.feature-group__list li::before {
  content: ''; width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px;
  background: var(--color-primary-xlight) url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5l2.5 2.5L8 3' stroke='%232D6A2D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  border-radius: 50%;
}

@media (max-width: 768px) { .features-grid { grid-template-columns: 1fr; } }

/* ── BENEFITS SECTION ────────────────────────────────────────── */
.product-benefits { background: var(--color-white); }
.product-benefits__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: start; }
.benefits-list { display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-6); }
.benefit-row {
  display: flex; gap: var(--space-5); align-items: flex-start;
  padding: var(--space-5) var(--space-4); border-radius: var(--radius-lg);
  transition: background var(--duration-fast) var(--ease-out);
}
.benefit-row:hover { background: var(--color-bg); }
.benefit-row__num {
  width: 32px; height: 32px; border-radius: 50%; background: var(--color-primary);
  color: var(--color-white); font-size: var(--text-xs); font-weight: var(--fw-bold);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; line-height: 1;
}
.benefit-row__text { font-size: var(--text-base); color: var(--color-text-secondary); line-height: var(--lh-relaxed); padding-top: 4px; }
.benefit-row__text strong { color: var(--color-text-primary); display: block; margin-bottom: var(--space-1); font-weight: var(--fw-semibold); }
.product-benefits__visual { border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-xl); }
.product-benefits__visual img { width: 100%; display: block; object-fit: cover; }
@media (max-width: 1024px) { .product-benefits__grid { grid-template-columns: 1fr; } }

/* ── INDUSTRIES SECTION ──────────────────────────────────────── */
.product-industries { background: var(--color-bg); }
.industries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-top: var(--space-10); }
.industry-card {
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); padding: var(--space-8);
  transition: box-shadow var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}
.industry-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.industry-card__title {
  font-family: var(--font-display); font-size: var(--text-lg);
  font-weight: var(--fw-semibold); color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.industry-card__list { list-style: none; display: flex; flex-direction: column; gap: var(--space-2); }
.industry-card__list li {
  display: flex; align-items: flex-start; gap: var(--space-3);
  font-size: var(--text-base); color: var(--color-text-secondary); line-height: var(--lh-relaxed);
}
.industry-card__list li::before {
  content: '→'; color: var(--color-primary); font-weight: var(--fw-bold);
  flex-shrink: 0; font-size: var(--text-xs); margin-top: 3px;
}
@media (max-width: 900px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .industries-grid { grid-template-columns: 1fr; } }

/* ── FULL-WIDTH FEATURE DETAIL ───────────────────────────────── */
.product-detail { background: var(--color-white); }
.product-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: start; }
.product-detail__img { border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-xl); }
.product-detail__img img { width: 100%; display: block; }
.product-detail__body { font-size: var(--text-base); line-height: var(--lh-relaxed); color: var(--color-text-secondary); margin-bottom: var(--space-5); }
.product-detail__dl { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-6); }
.product-detail__dl dt { font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--color-text-primary); margin-bottom: 2px; }
.product-detail__dl dd { font-size: var(--text-sm); color: var(--color-text-secondary); padding-left: var(--space-4); border-left: 2px solid var(--color-primary-xlight); }
@media (max-width: 1024px) { .product-detail__grid { grid-template-columns: 1fr; } }

/* ── SPEC / FEATURE NUMBERED LIST ────────────────────────────── */
.product-specs { background: var(--color-bg); }
.specs-list { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-8); }
.spec-item {
  display: flex; gap: var(--space-5); align-items: flex-start;
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-5) var(--space-6);
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}
.spec-item:hover { border-color: var(--color-primary); box-shadow: var(--shadow-sm); }
.spec-item__num {
  min-width: 32px; height: 32px; border-radius: var(--radius-md);
  background: var(--color-primary-xlight); color: var(--color-primary);
  font-size: var(--text-xs); font-weight: var(--fw-bold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; line-height: 1;
}
.spec-item__content { font-size: var(--text-base); color: var(--color-text-secondary); line-height: var(--lh-relaxed); }
.spec-item__content strong { color: var(--color-text-primary); display: block; margin-bottom: var(--space-2); font-size: var(--text-md); font-weight: var(--fw-semibold); }

/* ── COMPACT FEATURE COLUMNS ─────────────────────────────────── */
.feature-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); margin-top: var(--space-8); }
.feature-col { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-8); }
.feature-col__title { font-family: var(--font-display); font-size: var(--text-lg); font-weight: var(--fw-semibold); color: var(--color-primary); margin-bottom: var(--space-4); padding-bottom: var(--space-3); border-bottom: 1px solid var(--color-border-light); }
.feature-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-2); }
.feature-col li { font-size: var(--text-base); color: var(--color-text-secondary); line-height: var(--lh-relaxed); padding-left: var(--space-5); position: relative; margin-bottom: var(--space-2); }
.feature-col li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary); }
@media (max-width: 680px) { .feature-cols { grid-template-columns: 1fr; } }

/* ── TESTIMONIALS ────────────────────────────────────────────── */
.product-testimonials { background: var(--color-white); }
.product-testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); padding: var(--space-2); }
.testimonial-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-8); transition: box-shadow var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out); }
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.testimonial-card__stars { display: flex; gap: 3px; margin-bottom: var(--space-4); }
.testimonial-card__star { color: var(--color-accent); font-size: var(--text-sm); }
.testimonial-card__text { font-size: var(--text-base); color: var(--color-text-secondary); line-height: var(--lh-relaxed); font-style: italic; margin-bottom: var(--space-6); }
.testimonial-card__name { font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--color-text-primary); }
.testimonial-card__role { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: 2px; }
@media (max-width: 900px) { .product-testimonials__grid { grid-template-columns: 1fr; } }

/* ── CALL BAND ───────────────────────────────────────────────── */
.product-call-band {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  position: relative; overflow: hidden;
}
.product-call-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 85% 50%, rgba(212,149,106,0.12) 0%, transparent 60%);
}
.product-call-band__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr auto;
  gap: var(--space-12); align-items: center;
}
.product-call-band__eyebrow {
  font-size: var(--text-xs); font-weight: var(--fw-bold); letter-spacing: var(--ls-widest);
  text-transform: uppercase; color: var(--color-accent-light); margin-bottom: var(--space-3);
}
.product-call-band__title {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: var(--fw-semibold); color: var(--color-white);
  line-height: var(--lh-snug); margin-bottom: var(--space-3);
}
.product-call-band__body { font-size: var(--text-md); color: rgba(255,255,255,0.72); line-height: var(--lh-relaxed); margin-top: var(--space-3); }
.product-call-band__actions { display: flex; flex-direction: column; gap: var(--space-3); min-width: 200px; }
.product-call-band__links { display: flex; gap: var(--space-6); flex-wrap: wrap; margin-top: var(--space-5); }
.product-call-band__link { font-size: var(--text-sm); font-weight: var(--fw-semibold); color: rgba(255,255,255,0.75); text-decoration: none; display: flex; align-items: center; gap: var(--space-1); transition: color var(--duration-fast) var(--ease-out); }
.product-call-band__link:hover { color: var(--color-white); }
.product-call-band__link::after { content: '→'; }
@media (max-width: 900px) { .product-call-band__inner { grid-template-columns: 1fr; } .product-call-band__actions { align-items: flex-start; } }

/* ── CTA BAND ────────────────────────────────────────────────── */
.cta-section { background: var(--color-text-primary); position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(45,106,45,0.18) 0%, transparent 60%), radial-gradient(ellipse 40% 60% at 15% 80%, rgba(212,149,106,0.10) 0%, transparent 50%); }
.cta-section__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: var(--space-12); align-items: center; }
.cta-section__label { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-xs); font-weight: var(--fw-semibold); letter-spacing: var(--ls-widest); text-transform: uppercase; color: var(--color-accent-light); margin-bottom: var(--space-5); }
.cta-section__label::before { content: ''; width: 24px; height: 2px; background: var(--color-accent); border-radius: 2px; }
.cta-section__title { font-family: var(--font-display); font-size: clamp(2rem, 3vw + 1rem, 3.2rem); font-weight: var(--fw-semibold); line-height: var(--lh-tight); color: var(--color-white); margin-bottom: var(--space-4); }
.cta-section__body { font-size: var(--text-base); color: rgba(255,255,255,0.6); line-height: var(--lh-relaxed); max-width: 48ch; }
.cta-section__actions { display: flex; flex-direction: column; gap: var(--space-3); min-width: 200px; }
.cta-section__guarantee { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-xs); color: rgba(255,255,255,0.4); justify-content: center; }
@media (max-width: 900px) { .cta-section__inner { grid-template-columns: 1fr; text-align: center; } .cta-section__body { margin-inline: auto; } .cta-section__label { justify-content: center; } .cta-section__actions { align-items: center; } }

/* ── BROCHURE DOWNLOAD BUTTON ────────────────────────────────── */
.btn--download {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: var(--color-primary-xlight); border: 1.5px solid rgba(45,106,45,0.25);
  border-radius: var(--radius-lg); font-size: var(--text-sm); font-weight: var(--fw-semibold);
  color: var(--color-primary); text-decoration: none;
  transition: background var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}
.btn--download:hover { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }

/* ── UTILITY ─────────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
html { scroll-padding-top: 108px; }


/* ── VIDEO SECTION ───────────────────────────────────────────────── */
.product-video { background: var(--color-bg); }
.product-video__inner { max-width: 820px; margin: 0 auto; }

/* ── RELATED LINKS SECTION ───────────────────────────────────────── */
.related-links { background: var(--color-white); }
.related-links__grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  padding: var(--space-6) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.related-links__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: var(--color-primary-xlight);
  border: 1.5px solid rgba(45,106,45,0.25);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
}
.related-links__item:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}
.related-links__item svg { flex-shrink: 0; }


/* ── Ghost button on dark hero — force readable white text ── */
.product-hero .btn--ghost {
  color: rgba(255,255,255,0.92) !important;
  border-color: rgba(255,255,255,0.45) !important;
  background: rgba(255,255,255,0.07) !important;
}
.product-hero .btn--ghost:hover,
.product-hero .btn--ghost:focus {
  color: var(--color-white) !important;
  border-color: var(--color-white) !important;
  background: rgba(255,255,255,0.15) !important;
}
