/* =====================================================================
   For Any Business — page-specific styles.
   Live feature demos (map/gallery/form/tools), payment mock, idea callout,
   lightbox + modal. Reuses global tokens so it themes with the rest of the site.
   ===================================================================== */

/* ---- alternating copy / live-demo rows ---- */
.feature-demo {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}
.feature-demo:first-of-type { margin-top: 8px; }
.feature-demo.reverse .feature-demo-copy { order: 2; }
.feature-demo.reverse .feature-demo-live { order: 1; }
.feature-demo-copy h3 { font-size: 1.5rem; margin-bottom: 10px; }
.section-dark .feature-demo-copy h3 { color: #fff; }
.feature-demo-copy p { color: var(--color-text-light); }
.feature-demo-live .map-embed { margin-top: 0; }
@media (max-width: 820px) {
  .feature-demo { grid-template-columns: 1fr; gap: 20px; }
  .feature-demo.reverse .feature-demo-copy,
  .feature-demo.reverse .feature-demo-live { order: initial; }
}

/* ---- feature catalogue + status pills ---- */
.status-legend {
  margin-top: 18px;
  font-size: 0.86rem;
  color: var(--color-text);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
}
.status {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
}
.status.std { color: #fff; background: var(--color-primary); }
.status.addon { color: var(--color-primary-dark); background: rgba(200, 162, 74, 0.14); border: 1px solid rgba(200, 162, 74, 0.55); }
.status.soon { color: var(--color-text-light); background: transparent; border: 1px dashed var(--color-border); }

.catalogue .card { text-align: left; }
.catalogue h3 { margin-bottom: 14px; }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--color-border);
  font-size: 0.92rem;
}
.cat-list li:first-child { border-top: 0; }
.cat-list li > span:first-child { color: var(--color-text); }
.cat-list a { color: var(--color-primary); font-weight: 600; font-size: 0.82rem; margin-left: 6px; }
.catalogue-foot { text-align: center; margin-top: 26px; font-size: 0.95rem; color: var(--color-text); }

/* ---- little "this is a demo" pill ---- */
.demo-badge {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 12px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-primary);
  background: rgba(200, 162, 74, 0.12);
  border: 1px solid rgba(200, 162, 74, 0.4);
  border-radius: 999px;
}

/* ---- demo gallery tiles (placeholder art, click to enlarge) ---- */
.demo-gallery .demo-tile {
  position: relative;
  height: 190px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  overflow: hidden;
  color: #fff;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.demo-gallery .demo-tile span {
  position: relative;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.9;
  background: rgba(0, 0, 0, 0.28);
  padding: 5px 12px;
  border-radius: 999px;
}
.demo-gallery .demo-tile::after {
  content: "⤢";
  position: absolute; top: 10px; right: 12px;
  font-size: 1rem; opacity: 0; transition: opacity 0.2s ease;
}
.demo-gallery .demo-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.demo-gallery .demo-tile:hover::after { opacity: 0.85; }
.demo-tile.t1 { background: linear-gradient(135deg, #c8a24a, #8a6a1f); }
.demo-tile.t2 { background: linear-gradient(135deg, #4b5563, #1f2937); }
.demo-tile.t3 { background: linear-gradient(135deg, #b08968, #6f4e37); }
.demo-tile.t4 { background: linear-gradient(135deg, #7c8a9a, #3b4757); }
.demo-tile.t5 { background: linear-gradient(135deg, #e4c67e, #b4924f); }
.demo-tile.t6 { background: linear-gradient(135deg, #55606e, #2b333d); }

/* ---- 3D product viewer (model-viewer) ---- */
.product-viewer {
  width: 100%;
  height: 440px;
  border-radius: var(--radius);
  background: radial-gradient(circle at 50% 38%, #2b313a 0%, #14161a 72%);
  --poster-color: transparent;
  overflow: hidden;
}
.product-viewer .ar-btn {
  position: absolute;
  bottom: 16px; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
}
@media (max-width: 820px) { .product-viewer { height: 360px; } }

/* ---- interactive-tool cards ---- */
.tool-cards { gap: 18px; }
a.tool-card { text-decoration: none; display: block; transition: transform 0.2s ease, box-shadow 0.2s ease; }
a.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tool-emoji { font-size: 2rem; display: block; margin-bottom: 8px; }
.tool-card h4 { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 6px; color: var(--color-dark); }
.tool-card p { font-size: 0.9rem; color: var(--color-text); margin-bottom: 10px; }
.tool-link { color: var(--color-primary); font-weight: 600; font-size: 0.9rem; }

/* ---- payment demo ---- */
.pay-demo {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  margin-top: 12px;
}
@media (max-width: 820px) { .pay-demo { grid-template-columns: 1fr; gap: 24px; } }
.pay-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
}
.pay-card h3 { margin: 12px 0 4px; }
.pay-desc { color: var(--color-text); font-size: 0.92rem; margin-bottom: 14px; }
.pay-amount { font-family: var(--font-heading); font-size: 2.4rem; color: var(--color-dark); margin-bottom: 18px; }
.pay-card .btn { width: 100%; }
.pay-secure { font-size: 0.76rem; color: var(--color-text-light); margin-top: 14px; }
.pay-note h3 { margin-bottom: 14px; }

/* ---- idea / bespoke callout ---- */
.idea-callout {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: linear-gradient(120deg, rgba(200, 162, 74, 0.12), rgba(228, 198, 126, 0.06));
  border: 1px solid rgba(200, 162, 74, 0.4);
  border-left: 5px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 30px;
  max-width: 820px;
  margin: 0 auto;
}
.idea-callout-icon { font-size: 2.4rem; line-height: 1; flex-shrink: 0; }
.idea-callout h3 { margin-bottom: 8px; }
.idea-callout p { color: var(--color-text); }
.mt-16 { margin-top: 16px; }

/* ---- lightbox (gallery enlarge) ---- */
.cc-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10, 11, 14, 0.86);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.cc-lightbox[hidden] { display: none; }
.cc-lightbox-inner { text-align: center; max-width: 640px; width: 100%; }
.cc-lightbox-art {
  width: 100%; height: min(60vh, 460px);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.cc-lightbox-cap { color: #e8eaee; margin-top: 16px; font-size: 0.95rem; letter-spacing: 0.02em; }
.cc-lightbox-close, .cc-modal-close {
  position: absolute; top: 18px; right: 24px;
  background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1;
  cursor: pointer; opacity: 0.8;
}
.cc-lightbox-close:hover, .cc-modal-close:hover { opacity: 1; }

/* ---- payment modal ---- */
.cc-modal {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10, 11, 14, 0.7);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.cc-modal[hidden] { display: none; }
.cc-modal-box {
  position: relative;
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 40px 34px;
  max-width: 460px; text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.cc-modal-box .cc-modal-close { color: var(--color-text); font-size: 2rem; top: 10px; right: 16px; }
.cc-modal-icon { font-size: 2.6rem; margin-bottom: 10px; }
.cc-modal-box h3 { margin-bottom: 10px; }
.cc-modal-box p { color: var(--color-text); font-size: 0.95rem; }
.cc-modal-cta { margin-top: 20px; }
