/* ── Shared premium template for /portfolio/<industry> concept demo pages ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #080808;
  color: #f0f0f0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 980px; margin: 0 auto; padding: 0 24px; }

/* Whole-page ambient atmosphere — subtle, industry-tinted, always present (not just in the hero) */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 42% at 12% -6%, var(--accent-soft), transparent 62%),
    radial-gradient(ellipse 46% 38% at 100% 8%, var(--accent-2), transparent 60%),
    radial-gradient(ellipse 42% 40% at 92% 96%, var(--accent-soft), transparent 62%);
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.045) 1px, transparent 0);
  background-size: 34px 34px;
  opacity: var(--grid-opacity, 0.5);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 0%, black, transparent 78%);
          mask-image: radial-gradient(ellipse 65% 55% at 50% 0%, black, transparent 78%);
}

/* Per-industry accent tokens + atmosphere personality.
   --accent-2      secondary hue for a richer, dual-tone ambient wash
   --glow-blur     hero/final glow softness (bigger = softer + more luxurious)
   --grid-opacity  faint dot-grid texture strength (structured industries read higher)
   --icon-radius   icon-container shape language (sharp/executive → soft/circular) */
.accent-law     { --accent: #3b82f6; --accent-soft: rgba(59,130,246,0.14); --accent-glow: rgba(37,99,235,0.35); --accent-2: rgba(30,64,175,0.16); --glow-blur: 30px; --grid-opacity: 0.7; --icon-radius: 8px; }
.accent-dental  { --accent: #38bdf8; --accent-soft: rgba(56,189,248,0.14); --accent-glow: rgba(6,182,212,0.32); --accent-2: rgba(8,145,178,0.16); --glow-blur: 46px; --grid-opacity: 0.35; --icon-radius: 12px; }
.accent-beauty  { --accent: #818cf8; --accent-soft: rgba(129,140,248,0.14); --accent-glow: rgba(99,102,241,0.32); --accent-2: rgba(79,70,229,0.18); --glow-blur: 60px; --grid-opacity: 0.2; --icon-radius: 50%; }
.accent-fitness { --accent: #2563eb; --accent-soft: rgba(37,99,235,0.14); --accent-glow: rgba(0,71,171,0.3); --accent-2: rgba(29,78,216,0.16); --glow-blur: 22px; --grid-opacity: 0.4; --icon-radius: 6px; }
.accent-estate  { --accent: #94a3b8; --accent-soft: rgba(148,163,184,0.14); --accent-glow: rgba(100,116,139,0.28); --accent-2: rgba(71,85,105,0.16); --glow-blur: 34px; --grid-opacity: 0.85; --icon-radius: 5px; }
.accent-medical { --accent: #22d3ee; --accent-soft: rgba(6,182,212,0.14); --accent-glow: rgba(6,182,212,0.3); --accent-2: rgba(59,130,246,0.14); --glow-blur: 32px; --grid-opacity: 0.6; --icon-radius: 9px; }
.accent-resto   { --accent: #1d4ed8; --accent-soft: rgba(29,78,216,0.14); --accent-glow: rgba(21,58,163,0.3); --accent-2: rgba(30,58,138,0.18); --glow-blur: 56px; --grid-opacity: 0.22; --icon-radius: 12px; }
.accent-service { --accent: #3b6ea5; --accent-soft: rgba(59,110,165,0.14); --accent-glow: rgba(41,79,122,0.28); --accent-2: rgba(30,64,102,0.16); --glow-blur: 30px; --grid-opacity: 0.5; --icon-radius: 9px; }
.accent-auto    { --accent: #60a5fa; --accent-soft: rgba(37,99,235,0.14); --accent-glow: rgba(59,130,246,0.32); --accent-2: rgba(96,165,250,0.16); --glow-blur: 34px; --grid-opacity: 0.5; --icon-radius: 8px; }

/* ── Portfolio card → hero view transition: mirrors the view-transition-name pairs set on each
   .concept-card in /index.html so the clicked card morphs into this page's hero on arrival. ── */
@view-transition { navigation: auto; }
.accent-beauty  .cp-hero { view-transition-name: vt-beauty; }
.accent-resto   .cp-hero { view-transition-name: vt-resto; }
.accent-dental  .cp-hero { view-transition-name: vt-dental; }
.accent-estate  .cp-hero { view-transition-name: vt-estate; }
.accent-fitness .cp-hero { view-transition-name: vt-fitness; }
.accent-medical .cp-hero { view-transition-name: vt-medical; }
.accent-law     .cp-hero { view-transition-name: vt-law; }
.accent-service .cp-hero { view-transition-name: vt-service; }
.accent-auto    .cp-hero { view-transition-name: vt-auto; }
.lf-demo .cp-hero { view-transition-name: vt-lf; }
.rb-demo .cp-hero { view-transition-name: vt-rb; }
.or-demo .cp-hero { view-transition-name: vt-or; }
::view-transition-group(*) { animation-duration: 0.55s; animation-timing-function: cubic-bezier(.16,1,.3,1); }
::view-transition-old(*), ::view-transition-new(*) { animation-duration: 0.45s; animation-timing-function: cubic-bezier(.16,1,.3,1); }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ── Reduced motion: catch-all ──
   This template has several "infinite" ambient animations (cpFloat, cpSheen,
   cpPulse, bdPulse, etc.) sprinkled across pages. Rather than track every
   one, collapse all animation/transition durations to effectively zero for
   anyone who has asked the OS for reduced motion. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Skip link (keyboard/screen-reader users can jump past the nav) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 12px;
  z-index: 10000;
  background: var(--accent, #3b82f6);
  color: #06070a;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) {
  .skip-link { transition: none; }
}

/* Nav */
.cp-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cp-nav-inner {
  max-width: 980px; margin: 0 auto; padding: 0 24px;
  height: 58px; display: flex; align-items: center; justify-content: space-between;
}
.cp-back {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.6);
  transition: color 0.3s ease;
}
.cp-back svg { transition: transform 0.3s cubic-bezier(.16,1,.3,1); }
.cp-back:hover { color: #fff; }
.cp-back:hover svg { transform: translateX(-3px); }
.cp-brand { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.6); }
/* Very small phones (320–375px): the back-link text + lang switch + brand
   can exceed the viewport width. Tighten padding and drop the redundant
   brand label (the back-link and language switch remain fully usable). */
@media (max-width: 380px) {
  .cp-nav-inner { padding: 0 14px; }
  .cp-back { font-size: 12px; gap: 5px; }
  .cp-nav-right { gap: 8px; }
  .cp-brand { display: none; }
}

/* Disclaimer */
.cp-disclaimer {
  max-width: 980px; margin: 20px auto 0; padding: 0 24px;
}
.cp-disclaimer-inner {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 11.5px;
  color: rgba(255,255,255,0.6);
}
.cp-disclaimer-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; box-shadow: 0 0 6px var(--accent-glow); }

/* Hero */
.cp-hero { position: relative; padding: 92px 0 80px; overflow: hidden; }
.cp-hero::before {
  content: ''; position: absolute; inset: -10%; overflow: hidden;
  background:
    radial-gradient(ellipse 55% 58% at 50% -4%, var(--accent-soft), transparent 66%),
    radial-gradient(ellipse 38% 42% at 88% 30%, var(--accent-2), transparent 62%);
  filter: blur(var(--glow-blur, 30px));
  pointer-events: none;
}
.cp-hero-inner { position: relative; z-index: 1; text-align: center; }
.cp-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--accent-soft);
  background: var(--accent-soft);
  color: var(--accent);
  padding: 6px 14px; border-radius: 20px;
  font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  margin-bottom: 28px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 4px 16px -8px var(--accent-glow);
}
.cp-eyebrow-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px var(--accent-glow); }
.cp-h1 {
  font-size: clamp(30px, 4.5vw, 50px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
  color: #fff; margin: 0 auto 20px; max-width: 700px;
}
.cp-h1 em { font-style: normal; color: var(--accent); }
.cp-sub { font-size: 16px; color: rgba(155,165,185,0.85); line-height: 1.7; max-width: 480px; margin: 0 auto 34px; }
.cp-cta-row { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cp-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #06070a;
  padding: 13px 26px; border-radius: 10px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  transition: transform 0.4s cubic-bezier(.16,1,.3,1), box-shadow 0.4s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 8px 26px -6px var(--accent-glow);
}
.cp-btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.22), transparent 55%);
  opacity: 0.6; pointer-events: none;
}
.cp-btn:hover { transform: translateY(-2px) scale(1.015); box-shadow: 0 16px 40px -6px var(--accent-glow); }
.cp-btn svg { position: relative; transition: transform 0.35s cubic-bezier(.16,1,.3,1); }
.cp-btn:hover svg { transform: translateX(3px); }

/* Sections */
.cp-section { padding: 84px 0; }
.cp-section-head { text-align: center; max-width: 560px; margin: 0 auto 50px; }
.cp-label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.cp-title { font-size: clamp(22px, 3vw, 32px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; color: #fff; margin-bottom: 13px; }
.cp-title-sub { font-size: 14.5px; color: rgba(154,154,154,0.85); line-height: 1.7; }

/* Glass cards */
.cp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cp-card {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, rgba(255,255,255,0.04), rgba(255,255,255,0.018));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 26px 22px 24px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  transition: transform 0.45s cubic-bezier(.16,1,.3,1), border-color 0.4s ease, box-shadow 0.45s ease, background 0.4s ease;
}
.cp-card::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.05), transparent);
  transform: skewX(-20deg); transition: transform 1.1s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.cp-card:hover::after { transform: translateX(420%) skewX(-20deg); }
.cp-card:hover {
  transform: translateY(-7px);
  border-color: var(--accent-soft);
  background: linear-gradient(165deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 30px 54px -22px rgba(0,0,0,0.6), 0 0 34px -10px var(--accent-glow);
}
.cp-card-icon {
  position: relative;
  width: 34px; height: 34px; border-radius: var(--icon-radius, 9px);
  background: var(--accent-soft); border: 1px solid var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 18px;
  transition: box-shadow 0.4s ease, transform 0.4s cubic-bezier(.16,1,.3,1);
}
.cp-card:hover .cp-card-icon { box-shadow: 0 0 0 1px var(--accent-soft), 0 0 22px -4px var(--accent-glow); transform: translateY(-1px); }
.cp-card-title { font-size: 14.5px; font-weight: 600; color: #fff; margin-bottom: 7px; letter-spacing: -0.01em; }
.cp-card-desc { font-size: 12.5px; color: rgba(155,165,185,0.75); line-height: 1.65; }

/* Trust / principles list */
.cp-trust-list { display: flex; flex-direction: column; gap: 14px; max-width: 560px; margin: 0 auto; }
.cp-trust-row {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 15px 18px;
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s cubic-bezier(.16,1,.3,1);
}
.cp-trust-row:hover { border-color: var(--accent-soft); background: rgba(255,255,255,0.04); transform: translateX(3px); }
.cp-trust-check {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent-soft); border: 1px solid var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  transition: box-shadow 0.35s ease;
}
.cp-trust-row:hover .cp-trust-check { box-shadow: 0 0 16px -4px var(--accent-glow); }
.cp-trust-text { font-size: 13px; color: rgba(220,225,235,0.85); line-height: 1.5; }

/* Final CTA */
.cp-final { position: relative; text-align: center; padding: 92px 0 104px; overflow: hidden; border-top: 1px solid rgba(255,255,255,0.06); }
.cp-final::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 520px; height: 280px;
  transform: translate(-50%,-50%);
  background:
    radial-gradient(ellipse 60% 60% at 50% 45%, var(--accent-soft), transparent 70%),
    radial-gradient(ellipse 40% 45% at 70% 65%, var(--accent-2), transparent 68%);
  filter: blur(var(--glow-blur, 20px));
  pointer-events: none;
}
.cp-final-inner { position: relative; z-index: 1; }
.cp-final .cp-title { margin-bottom: 14px; }
.cp-final .cp-title-sub { max-width: 420px; margin: 0 auto 32px; }
.cp-final-trust { margin-top: 18px; font-size: 11.5px; color: rgba(255,255,255,0.6); letter-spacing: .01em; }

/* Footer */
.cp-footer { border-top: 1px solid rgba(255,255,255,0.08); padding: 26px 0; text-align: center; }
.cp-footer p { font-size: 11.5px; color: rgba(255,255,255,0.6); }
.cp-footer p + p { margin-top: 8px; }
.cp-footer a { color: rgba(255,255,255,0.55); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(255,255,255,0.25); transition: color 0.3s ease; }
.cp-footer a:hover { color: #fff; }

.cp-grid, .cp-grid-2, .cp-grid-4, .cp-grid-5 { perspective: 1000px; }
.cp-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cp-grid-4 { grid-template-columns: repeat(4, 1fr); }
.cp-grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 760px) {
  .cp-grid, .cp-grid-2, .cp-grid-4, .cp-grid-5 { grid-template-columns: 1fr; }
}

/* Secondary (ghost) button */
.cp-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: rgba(255,255,255,0.75);
  padding: 12px 22px; border-radius: 10px;
  font-size: 14.5px; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.14);
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease, transform 0.35s cubic-bezier(.16,1,.3,1);
}
.cp-btn-ghost:hover { border-color: var(--accent-soft); color: #fff; background: rgba(255,255,255,0.04); transform: translateY(-2px); }

/* Split hero (opt-in): copy left, mockup right */
.cp-hero-split .cp-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; text-align: left; }
.cp-hero-split .cp-h1, .cp-hero-split .cp-sub { margin-left: 0; margin-right: 0; }
.cp-hero-split .cp-cta-row, .cp-hero-split .cp-pill-row { justify-content: flex-start; }
.cp-hero-visual { position: relative; }
@media (max-width: 900px) {
  .cp-hero-split .cp-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .cp-hero-split .cp-cta-row, .cp-hero-split .cp-pill-row { justify-content: center; }
  .cp-hero-visual { display: none; }
}

/* Site/dashboard preview mockup — reusable across hero + website-preview sections */
.cp-preview {
  position: relative; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.012));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 30px 70px -20px rgba(0,0,0,0.7), 0 0 60px -20px var(--accent-glow);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: cpFloat 7s ease-in-out infinite;
}
.cp-preview::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 34%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.05), transparent);
  transform: skewX(-18deg);
  animation: cpSheen 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cpSheen { 0%, 82% { transform: translateX(0) skewX(-18deg); opacity: 0; } 88% { opacity: 0.8; } 96%, 100% { transform: translateX(480%) skewX(-18deg); opacity: 0; } }
@keyframes cpFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.cp-preview-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,255,255,0.06); }
.cp-preview-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.cp-preview-url { flex: 1; margin-left: 6px; height: 18px; border-radius: 5px; background: rgba(255,255,255,0.05); display: flex; align-items: center; padding: 0 8px; font-size: 9px; color: rgba(255,255,255,0.32); }
.cp-preview-body { padding: 18px 18px 20px; }
.cp-preview-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.cp-preview-logo { width: 58px; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.4); flex-shrink: 0; }
.cp-preview-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.cp-preview-chip { font-size: 9.5px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-soft); padding: 4px 10px; border-radius: 20px; white-space: nowrap; }
.cp-preview-cta-bar { height: 26px; border-radius: 6px; background: var(--accent); margin-top: 4px; box-shadow: 0 6px 18px -6px var(--accent-glow); display: flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 700; color: #06070a; }
.cp-preview-section-label { font-size: 8.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,0.28); margin: 16px 0 8px; }
.cp-preview-row { display: flex; gap: 10px; }
.cp-preview-mini { flex: 1; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 10px; text-align: center; }
.cp-preview-mini-avatar { width: 28px; height: 28px; border-radius: 50%; margin: 0 auto 6px; background: var(--accent-soft); border: 1px solid var(--accent-soft); }
.cp-preview-mini-line { height: 5px; border-radius: 3px; background: rgba(255,255,255,0.16); margin: 0 auto 4px; width: 70%; }
.cp-preview-mini-line.s { width: 45%; background: rgba(255,255,255,0.08); }
.cp-preview-faq-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 0; border-top: 1px solid rgba(255,255,255,0.05); font-size: 9.5px; color: rgba(255,255,255,0.42); }
.cp-preview-faq-row span:last-child { color: var(--accent); }
.cp-preview-form { margin-top: 6px; display: flex; flex-direction: column; gap: 7px; }
.cp-preview-input { height: 22px; border-radius: 5px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }

/* Automation flow diagram */
.cp-flow { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 28px 12px; }
.cp-flow::before {
  content: ''; position: absolute; top: 23px; left: 6%; right: 6%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-soft) 12%, var(--accent-glow) 50%, var(--accent-soft) 88%, transparent);
  z-index: 0;
}
.cp-flow-node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 11px; width: 112px; text-align: center; }
.cp-flow-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent-soft); border: 1px solid var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 1px var(--accent-soft), 0 0 20px -6px var(--accent-glow);
  transition: transform 0.4s cubic-bezier(.16,1,.3,1), box-shadow 0.4s ease;
}
.cp-flow-node:hover .cp-flow-icon { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--accent-glow), 0 0 28px -4px var(--accent-glow); }
.cp-flow-label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.85); line-height: 1.3; }
.cp-flow-arrow { position: relative; z-index: 1; color: rgba(255,255,255,0.2); flex-shrink: 0; }
@media (max-width: 760px) {
  .cp-flow { flex-direction: column; }
  .cp-flow::before { display: none; }
  .cp-flow-arrow { transform: rotate(90deg); }
}

/* Concept note callout */
.cp-note { position: relative; max-width: 640px; margin: 0 auto; text-align: center; background: rgba(255,255,255,0.025); border: 1px solid var(--accent-soft); border-radius: 16px; padding: 32px 34px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 20px 44px -26px rgba(0,0,0,0.5); }
.cp-note-icon { width: 40px; height: 40px; border-radius: var(--icon-radius, 10px); background: var(--accent-soft); border: 1px solid var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; box-shadow: 0 0 22px -8px var(--accent-glow); }
.cp-note p { font-size: 14px; color: rgba(200,210,225,0.85); line-height: 1.75; }

/* ── Master-template additions (opt-in, used only where a page includes the markup) ── */

/* Real site navigation */
.cp-sitenav {
  position: sticky; top: 58px; z-index: 40;
  background: rgba(8,8,8,0.72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.cp-sitenav-inner {
  max-width: 980px; margin: 0 auto; padding: 0 24px;
  height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.cp-sitenav-brand { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; color: #fff; letter-spacing: -0.01em; flex-shrink: 0; }
.cp-sitenav-mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--accent-soft); border: 1px solid var(--accent-soft);
  color: var(--accent); display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.cp-sitenav-links { display: flex; align-items: center; gap: 26px; flex: 1; justify-content: center; }
.cp-sitenav-links a { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.55); transition: color 0.3s ease; white-space: nowrap; }
.cp-sitenav-links a:hover { color: #fff; }
.cp-sitenav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: #06070a;
  padding: 8px 16px; border-radius: 8px;
  font-size: 12.5px; font-weight: 600; white-space: nowrap;
  transition: transform 0.3s cubic-bezier(.16,1,.3,1), box-shadow 0.3s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 6px 18px -6px var(--accent-glow);
}
.cp-sitenav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -6px var(--accent-glow); }
@media (max-width: 760px) { .cp-sitenav-links { display: none; } }

/* Hero trust pills */
.cp-pill-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 22px; }
.cp-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 500; color: rgba(210,222,240,0.85);
  background: var(--accent-soft); border: 1px solid var(--accent-soft);
  padding: 6px 13px; border-radius: 20px;
}

/* Attorney / profile cards */
.cp-profile-card {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 28px 22px 24px;
  text-align: center;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  transition: transform 0.45s cubic-bezier(.16,1,.3,1), border-color 0.4s ease, box-shadow 0.45s ease;
}
.cp-profile-card:hover {
  transform: translateY(-7px);
  border-color: var(--accent-soft);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 30px 54px -22px rgba(0,0,0,0.6), 0 0 34px -10px var(--accent-glow);
}
.cp-profile-avatar {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--accent-soft); border: 1px solid var(--accent-soft);
  color: var(--accent); display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700;
  transition: box-shadow 0.4s ease;
}
.cp-profile-card:hover .cp-profile-avatar { box-shadow: 0 0 22px -4px var(--accent-glow); }
.cp-profile-name { font-size: 14.5px; font-weight: 600; color: #fff; margin-bottom: 3px; }
.cp-profile-role { font-size: 11.5px; color: var(--accent); margin-bottom: 10px; }
.cp-profile-desc { font-size: 12px; color: rgba(155,165,185,0.7); line-height: 1.6; }
.cp-profile-note { text-align: center; font-size: 11px; color: rgba(255,255,255,0.6); margin-top: 28px; }

/* FAQ accordion (native <details>, zero JS) */
.cp-faq-list { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.cp-faq-item {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 4px 20px;
  transition: border-color 0.35s ease;
}
.cp-faq-item:hover { border-color: rgba(255,255,255,0.14); }
.cp-faq-item[open] { border-color: var(--accent-soft); box-shadow: 0 0 24px -14px var(--accent-glow); }
.cp-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 0;
  font-size: 14px; font-weight: 600; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.cp-faq-item summary::-webkit-details-marker { display: none; }
.cp-faq-icon { flex-shrink: 0; color: var(--accent); transition: transform 0.35s cubic-bezier(.16,1,.3,1); }
.cp-faq-item[open] .cp-faq-icon { transform: rotate(45deg); }
.cp-faq-answer { font-size: 13px; color: rgba(155,165,185,0.8); line-height: 1.65; padding-bottom: 18px; }

/* Sticky bottom CTA bar */
.cp-sticky-cta {
  position: fixed; left: 50%; bottom: 22px; z-index: 60;
  transform: translate(-50%, 14px);
  display: flex; align-items: center; gap: 14px;
  background: rgba(10,10,14,0.92);
  border: 1px solid var(--accent-soft);
  border-radius: 14px;
  padding: 10px 12px 10px 18px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 44px -16px rgba(0,0,0,0.6), 0 0 30px -12px var(--accent-glow);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(.16,1,.3,1);
}
.cp-sticky-cta.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.cp-sticky-cta span { font-size: 12.5px; color: rgba(255,255,255,0.7); white-space: nowrap; }
.cp-sticky-cta .cp-btn { padding: 9px 16px; font-size: 13px; }
@media (max-width: 560px) { .cp-sticky-cta span { display: none; } }

/* Scroll-reveal */
.cp-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(.16,1,.3,1), transform 0.7s cubic-bezier(.16,1,.3,1); }
.cp-reveal.in-view { opacity: 1; transform: translateY(0); }

/* Premium footer */
.cp-footer-pro { border-top: 1px solid rgba(255,255,255,0.08); padding: 48px 0 30px; }
.cp-footer-pro-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; margin-bottom: 28px; }
.cp-footer-brand { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; color: #fff; }
.cp-footer-tag { font-size: 12px; color: rgba(155,165,185,0.75); margin-top: 6px; max-width: 260px; line-height: 1.6; }
.cp-footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.cp-footer-links a { font-size: 12.5px; color: rgba(255,255,255,0.5); transition: color 0.3s ease; }
.cp-footer-links a:hover { color: #fff; }

/* ── Industry-specific widgets (opt-in, per-page differentiation) ── */

/* Featured/highlighted card modifier (e.g. a recommended membership tier) */
.cp-card-featured { border-color: var(--accent-soft); background: linear-gradient(165deg, var(--accent-soft), rgba(255,255,255,0.02)); }
.cp-card-featured-tag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px; background: var(--accent); color: #06070a; white-space: nowrap;
}

/* Step timeline — connected, time-stamped process (e.g. consultation intake) */
.cp-timeline { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; max-width: 900px; margin: 0 auto; }
.cp-timeline::before {
  content: ''; position: absolute; top: 17px; left: 6%; right: 6%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-soft) 10%, var(--accent-glow) 50%, var(--accent-soft) 90%, transparent);
}
.cp-timeline-step { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 0 6px; }
.cp-timeline-dot {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: #0c0c10; border: 1px solid var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
  box-shadow: inset 0 0 0 1px var(--accent-soft), 0 0 16px -6px var(--accent-glow);
  transition: box-shadow 0.35s ease, transform 0.35s cubic-bezier(.16,1,.3,1);
}
.cp-timeline-step:hover .cp-timeline-dot { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--accent-glow), 0 0 22px -4px var(--accent-glow); }
.cp-timeline-time { font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.cp-timeline-label { font-size: 12.5px; font-weight: 600; color: #fff; line-height: 1.3; }
.cp-timeline-desc { font-size: 11px; color: rgba(155,165,185,0.62); line-height: 1.55; max-width: 132px; }
@media (max-width: 760px) {
  .cp-timeline { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cp-timeline::before { display: none; }
  .cp-timeline-step { flex-direction: row; text-align: left; width: 100%; }
  .cp-timeline-desc { max-width: none; }
}

/* Booking / reservation calendar preview (visual only — no backend) */
.cp-booking {
  max-width: 540px; margin: 0 auto;
  background: linear-gradient(165deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.08); border-radius: 16px;
  padding: 22px 22px 24px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 24px 50px -26px rgba(0,0,0,0.55), 0 0 40px -24px var(--accent-glow);
}
.cp-booking-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cp-booking-title { font-size: 13.5px; font-weight: 600; color: #fff; }
.cp-booking-nav { display: flex; gap: 6px; }
.cp-booking-nav span { width: 22px; height: 22px; border-radius: 6px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.4); font-size: 11px; }
.cp-booking-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 18px; }
.cp-booking-day { text-align: center; padding: 9px 2px; border-radius: 8px; background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.06); transition: border-color 0.3s ease, background 0.3s ease; }
.cp-booking-day.active { background: var(--accent-soft); border-color: var(--accent-soft); box-shadow: 0 0 16px -6px var(--accent-glow); }
.cp-booking-day-name { font-size: 8.5px; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 5px; }
.cp-booking-day-num { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.75); }
.cp-booking-day.active .cp-booking-day-num { color: var(--accent); }
.cp-booking-slots { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.cp-booking-slot { font-size: 11.5px; font-weight: 600; padding: 8px 14px; border-radius: 8px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.5); transition: border-color 0.3s ease, background 0.3s ease; }
.cp-booking-slot.selected { background: var(--accent); border-color: var(--accent); color: #06070a; box-shadow: 0 6px 18px -6px var(--accent-glow); }
.cp-booking-field { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 4px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 11.5px; color: rgba(200,210,225,0.7); }
.cp-booking-field b { color: #fff; font-weight: 600; }

/* Weekly class schedule grid (fitness) */
.cp-schedule-wrap { overflow-x: auto; }
.cp-schedule { display: grid; grid-template-columns: 74px repeat(6, minmax(78px, 1fr)); gap: 6px; max-width: 780px; margin: 0 auto; }
.cp-schedule-corner { }
.cp-schedule-day-head { text-align: center; font-size: 9.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,0.4); padding-bottom: 8px; }
.cp-schedule-time { font-size: 10px; color: rgba(255,255,255,0.32); display: flex; align-items: center; padding-right: 6px; }
.cp-schedule-cell { min-height: 54px; border-radius: 8px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.045); }
.cp-schedule-class { min-height: 54px; border-radius: 8px; padding: 7px 8px; background: var(--accent-soft); border: 1px solid var(--accent-soft); transition: transform 0.3s cubic-bezier(.16,1,.3,1), box-shadow 0.3s ease; }
.cp-schedule-class:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px var(--accent-glow); }
.cp-schedule-class-name { font-size: 10px; font-weight: 700; color: var(--accent); margin-bottom: 2px; line-height: 1.25; }
.cp-schedule-class-sub { font-size: 8.5px; color: rgba(255,255,255,0.4); }

/* Property listing card (real estate) */
.cp-listing-card {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px;
  transition: transform 0.45s cubic-bezier(.16,1,.3,1), border-color 0.4s ease, box-shadow 0.45s ease;
}
.cp-listing-card:hover { transform: translateY(-7px); border-color: var(--accent-soft); box-shadow: 0 30px 54px -22px rgba(0,0,0,0.6), 0 0 34px -10px var(--accent-glow); }
.cp-listing-media { height: 120px; position: relative; background: linear-gradient(150deg, var(--accent-soft), transparent 75%), linear-gradient(rgba(255,255,255,0.03), rgba(255,255,255,0.03)); }
.cp-listing-price { position: absolute; bottom: 10px; left: 10px; font-size: 14px; font-weight: 800; letter-spacing: -0.01em; color: #fff; background: rgba(6,7,10,0.72); padding: 4px 10px; border-radius: 8px; backdrop-filter: blur(6px); }
.cp-listing-badge { position: absolute; top: 10px; left: 10px; font-size: 8.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; background: var(--accent); color: #06070a; }
.cp-listing-body { padding: 16px 16px 18px; }
.cp-listing-title { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 4px; letter-spacing: -0.01em; }
.cp-listing-loc { font-size: 11.5px; color: rgba(155,165,185,0.6); margin-bottom: 12px; }
.cp-listing-specs { display: flex; gap: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.06); }
.cp-listing-spec { font-size: 11px; color: rgba(200,210,225,0.72); display: flex; align-items: center; gap: 5px; }
.cp-listing-spec svg { color: var(--accent); flex-shrink: 0; }

/* Buyer/lead pipeline (segmented stage bar) */
.cp-pipeline { max-width: 640px; margin: 0 auto; }
.cp-pipeline-bar { display: flex; height: 10px; border-radius: 6px; overflow: hidden; gap: 3px; background: rgba(255,255,255,0.04); margin-bottom: 16px; }
.cp-pipeline-seg { display: block; height: 100%; }
.cp-pipeline-labels { display: flex; justify-content: space-between; gap: 8px; }
.cp-pipeline-stage { text-align: center; flex: 1; }
.cp-pipeline-stage-count { font-size: 19px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.cp-pipeline-stage-label { font-size: 10.5px; color: rgba(155,165,185,0.6); margin-top: 4px; }

/* Menu preview list (restaurant) */
.cp-menu-list { max-width: 580px; margin: 0 auto; display: flex; flex-direction: column; }
.cp-menu-item { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 17px 4px; border-bottom: 1px solid rgba(255,255,255,0.06); transition: padding-left 0.3s ease; }
.cp-menu-item:hover { padding-left: 8px; }
.cp-menu-item:last-child { border-bottom: none; }
.cp-menu-item-info { flex: 1; }
.cp-menu-item-name { font-size: 14.5px; font-weight: 600; color: #fff; }
.cp-menu-item-desc { font-size: 11.5px; color: rgba(155,165,185,0.62); margin-top: 4px; font-weight: 400; line-height: 1.5; }
.cp-menu-item-price { font-size: 14px; font-weight: 700; color: var(--accent); flex-shrink: 0; white-space: nowrap; }

/* Quote / service-request form preview (visual only — no backend) */
.cp-quote-widget {
  max-width: 460px; margin: 0 auto;
  background: linear-gradient(165deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.08); border-radius: 16px;
  padding: 26px 26px 24px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 24px 50px -26px rgba(0,0,0,0.55), 0 0 40px -24px var(--accent-glow);
}
.cp-quote-row { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.cp-quote-row label { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,0.38); }
.cp-quote-input, .cp-quote-textarea { border-radius: 8px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.09); }
.cp-quote-input { height: 38px; }
.cp-quote-textarea { height: 60px; }

/* Reminder / confirmation notification feed (medical) */
.cp-notify-list { max-width: 440px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.cp-notify {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px;
  padding: 14px 16px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.35s ease, transform 0.35s cubic-bezier(.16,1,.3,1);
}
.cp-notify:hover { border-color: var(--accent-soft); transform: translateX(3px); }
.cp-notify-icon { width: 34px; height: 34px; border-radius: var(--icon-radius, 9px); background: var(--accent-soft); border: 1px solid var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cp-notify-body { flex: 1; }
.cp-notify-title { font-size: 12.5px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.cp-notify-desc { font-size: 11px; color: rgba(155,165,185,0.62); line-height: 1.5; }
.cp-notify-time { font-size: 9.5px; color: rgba(255,255,255,0.26); flex-shrink: 0; white-space: nowrap; }

@media (max-width: 760px) {
  .cp-schedule { grid-template-columns: 52px repeat(6, 60px); }
  .cp-booking-days { grid-template-columns: repeat(7, minmax(30px, 1fr)); }
}

@keyframes cpPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ── Compact hero side-card (industry-specific hero enrichment, opt-in) ── */
.cp-hero-card {
  max-width: 300px; margin: 0 auto;
  background: linear-gradient(165deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.1); border-radius: 16px;
  padding: 20px 22px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 30px 60px -24px rgba(0,0,0,0.65), 0 0 50px -18px var(--accent-glow);
  animation: cpFloat 7s ease-in-out infinite;
}
.cp-hero-card-label { display: flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.cp-hero-card-dot { width: 6px; height: 6px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px rgba(52,211,153,0.85); animation: cpPulse 2s ease-in-out infinite; flex-shrink: 0; }
.cp-hero-card-main { font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 4px; letter-spacing: -0.01em; }
.cp-hero-card-sub { font-size: 12px; color: rgba(155,165,185,0.65); margin-bottom: 14px; }
.cp-hero-card-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.06); font-size: 11.5px; color: rgba(220,225,235,0.75); }
.cp-hero-card-row:first-of-type { border-top: none; padding-top: 0; }
.cp-hero-card-badge { font-size: 9px; font-weight: 700; padding: 3px 9px; border-radius: 20px; background: rgba(52,211,153,0.14); border: 1px solid rgba(52,211,153,0.25); color: #6ee7b7; white-space: nowrap; }

/* ── Case type / option selector (tabs + detail panel) ── */
.cp-selector { max-width: 760px; margin: 0 auto; }
.cp-selector-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 22px; }
.cp-selector-tab { font-size: 12.5px; font-weight: 600; padding: 10px 18px; border-radius: 10px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.09); color: rgba(255,255,255,0.5); transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease; }
.cp-selector-tab.active { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent); box-shadow: 0 0 0 1px var(--accent-soft), 0 8px 20px -8px var(--accent-glow); }
.cp-selector-tab:hover { border-color: rgba(255,255,255,0.2); color: #fff; }
.cp-selector-panel {
  position: relative;
  background: linear-gradient(165deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 28px 30px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 24px 50px -30px rgba(0,0,0,0.55);
}
.cp-selector-panel-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.cp-selector-panel-icon { width: 40px; height: 40px; border-radius: var(--icon-radius, 9px); background: var(--accent-soft); border: 1px solid var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cp-selector-panel-title { font-size: 16px; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.cp-selector-panel-desc { font-size: 13px; color: rgba(155,165,185,0.75); line-height: 1.7; margin-bottom: 18px; max-width: 560px; }
.cp-selector-panel-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-selector-panel-tags span { font-size: 10.5px; font-weight: 600; padding: 5px 12px; border-radius: 20px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: rgba(200,210,225,0.75); }

/* ── Readiness / score gauge ── */
.cp-gauge-wrap { display: flex; align-items: center; gap: 36px; max-width: 620px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.cp-gauge { position: relative; width: 132px; height: 132px; flex-shrink: 0; }
.cp-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.cp-gauge-track { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 8; }
.cp-gauge-fill { fill: none; stroke: var(--accent); stroke-width: 8; stroke-linecap: round; filter: drop-shadow(0 0 8px var(--accent-glow)); }
.cp-gauge-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cp-gauge-num { font-size: 27px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.cp-gauge-sub { font-size: 8.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-top: 2px; }
.cp-gauge-checklist { display: flex; flex-direction: column; gap: 12px; }
.cp-gauge-check-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: rgba(220,225,235,0.85); }

/* ── Abstract style-transformation placeholder (illustrative only, never a real photo) ── */
.cp-transform { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 520px; margin: 0 auto 14px; }
.cp-transform-panel { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 1 / 1; border: 1px solid rgba(255,255,255,0.08); }
.cp-transform-panel.before { background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.012)); filter: grayscale(0.65) brightness(0.78); }
.cp-transform-panel.after { background: linear-gradient(145deg, var(--accent-2), var(--accent-soft) 65%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), inset 0 0 60px -20px var(--accent-glow); }
.cp-transform-tag { position: absolute; top: 12px; left: 12px; font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; background: rgba(6,7,10,0.55); backdrop-filter: blur(6px); color: rgba(255,255,255,0.72); }
.cp-transform-caption { text-align: center; font-size: 11px; color: rgba(255,255,255,0.3); }

/* ── Gift card / package card ── */
.cp-giftcard {
  position: relative; overflow: hidden; max-width: 540px; margin: 0 auto; border-radius: 18px; padding: 30px 32px;
  background: linear-gradient(120deg, var(--accent-soft), rgba(255,255,255,0.015) 65%);
  border: 1px solid var(--accent-soft);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 30px 60px -30px rgba(0,0,0,0.6), 0 0 50px -20px var(--accent-glow);
}
.cp-giftcard::before { content: ''; position: absolute; top: -50%; right: -8%; width: 55%; height: 200%; background: radial-gradient(circle, var(--accent-2), transparent 70%); opacity: 0.6; pointer-events: none; }
.cp-giftcard-eyebrow { position: relative; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.cp-giftcard-title { position: relative; font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 8px; letter-spacing: -0.01em; }
.cp-giftcard-desc { position: relative; font-size: 13px; color: rgba(220,225,235,0.78); line-height: 1.65; max-width: 340px; }
.cp-giftcard-value { position: absolute; top: 30px; right: 32px; text-align: right; }
.cp-giftcard-value-num { font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.cp-giftcard-value-label { font-size: 9px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 560px) { .cp-giftcard-value { position: static; margin-top: 16px; text-align: left; } }

/* ── Progress / stat tracking widget ── */
.cp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 760px; margin: 0 auto; }
.cp-stat-card { text-align: center; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 22px 12px; transition: transform 0.35s cubic-bezier(.16,1,.3,1), border-color 0.35s ease; }
.cp-stat-card:hover { transform: translateY(-4px); border-color: var(--accent-soft); }
.cp-stat-num { font-size: 30px; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; line-height: 1; margin-bottom: 8px; text-shadow: 0 0 22px var(--accent-glow); }
.cp-stat-label { font-size: 10.5px; color: rgba(155,165,185,0.7); font-weight: 600; }
@media (max-width: 760px) { .cp-stats { grid-template-columns: repeat(2, 1fr); } }

/* ── Search / filter bar (property-platform feel) ── */
.cp-search-bar {
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap; max-width: 780px; margin: 0 auto 8px;
  background: linear-gradient(165deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 8px 10px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 24px 50px -32px rgba(0,0,0,0.55);
}
.cp-search-field { flex: 1; min-width: 130px; display: flex; flex-direction: column; gap: 4px; padding: 8px 16px; border-right: 1px solid rgba(255,255,255,0.07); }
.cp-search-field:last-of-type { border-right: none; }
.cp-search-field label { font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,0.32); }
.cp-search-field-val { font-size: 13px; font-weight: 600; color: #fff; }
.cp-search-btn { display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--accent); color: #06070a; font-size: 13px; font-weight: 700; padding: 12px 22px; border-radius: 10px; box-shadow: 0 8px 22px -8px var(--accent-glow); flex-shrink: 0; white-space: nowrap; transition: transform 0.3s cubic-bezier(.16,1,.3,1); }
.cp-search-btn:hover { transform: translateY(-2px); }
@media (max-width: 700px) {
  .cp-search-field { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); flex: 1 1 100%; width: 100%; }
  .cp-search-btn { width: 100%; margin-top: 4px; }
}

/* ── Department / category pill nav ── */
.cp-pill-nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.cp-pill-nav a { font-size: 12px; font-weight: 600; padding: 9px 18px; border-radius: 20px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.09); color: rgba(255,255,255,0.55); transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease; }
.cp-pill-nav a.active { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent); box-shadow: 0 0 0 1px var(--accent-soft); }
.cp-pill-nav a:hover { border-color: rgba(255,255,255,0.2); color: #fff; }

/* ── Opening hours + busy-time module ── */
.cp-hours-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 36px; max-width: 680px; margin: 0 auto; align-items: center; }
.cp-hours-list { display: flex; flex-direction: column; }
.cp-hours-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 12.5px; }
.cp-hours-row.today { font-weight: 600; }
.cp-hours-day { color: rgba(155,165,185,0.6); }
.cp-hours-row.today .cp-hours-day { color: var(--accent); }
.cp-hours-time { color: rgba(220,225,235,0.75); }
.cp-busy-head { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 14px; }
.cp-busy-chart { display: flex; align-items: flex-end; gap: 5px; height: 100px; }
.cp-busy-bar { flex: 1; border-radius: 4px 4px 0 0; background: rgba(255,255,255,0.07); position: relative; transition: transform 0.3s ease; }
.cp-busy-bar.now { background: var(--accent); box-shadow: 0 0 16px -4px var(--accent-glow); }
.cp-busy-bar.now::after { content: 'Now'; position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: 8.5px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.cp-busy-foot { display: flex; justify-content: space-between; margin-top: 8px; font-size: 8px; color: rgba(255,255,255,0.28); }
@media (max-width: 700px) { .cp-hours-wrap { grid-template-columns: 1fr; } }

/* ── Service area chips + live availability ── */
.cp-area-grid { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; max-width: 640px; margin: 0 auto 26px; }
.cp-area-chip { font-size: 12px; font-weight: 600; padding: 8px 16px; border-radius: 20px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); color: rgba(220,225,235,0.72); }
.cp-availability { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 12.5px; font-weight: 600; color: #6ee7b7; }
.cp-availability-dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px rgba(52,211,153,0.85); animation: cpPulse 2s ease-in-out infinite; flex-shrink: 0; }

/* ── Hero dashboard: a compact "internal software" preview, not a public site mockup ── */
.cp-hero-dash {
  width: 100%; max-width: 340px; margin: 0 auto; overflow: hidden;
  background: linear-gradient(165deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.1); border-radius: 16px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 30px 64px -24px rgba(0,0,0,0.65), 0 0 54px -18px var(--accent-glow);
  animation: cpFloat 7s ease-in-out infinite;
}
.cp-hd-bar { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.cp-hd-title { font-size: 12.5px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.cp-hd-live { display: flex; align-items: center; gap: 6px; font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #6ee7b7; }
.cp-hd-live-dot { width: 5px; height: 5px; border-radius: 50%; background: #34d399; box-shadow: 0 0 7px rgba(52,211,153,0.85); animation: cpPulse 2s ease-in-out infinite; flex-shrink: 0; }
.cp-hd-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }

.cp-hd-metrics { display: flex; gap: 10px; }
.cp-hd-metric { flex: 1; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.cp-hd-metric-num { font-size: 18px; font-weight: 800; color: var(--accent); letter-spacing: -0.01em; line-height: 1; margin-bottom: 4px; text-shadow: 0 0 16px var(--accent-glow); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-hd-metric-label { font-size: 9px; color: rgba(255,255,255,0.4); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.cp-hd-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.cp-hd-chip { font-size: 9.5px; font-weight: 600; padding: 5px 10px; border-radius: 20px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.5); }
.cp-hd-chip.active { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent); }

.cp-hd-progress-label { display: flex; justify-content: space-between; font-size: 10px; color: rgba(255,255,255,0.5); margin-bottom: 7px; }
.cp-hd-progress-track { height: 6px; border-radius: 4px; background: rgba(255,255,255,0.06); overflow: hidden; }
.cp-hd-progress-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 10px var(--accent-glow); }

.cp-hd-chart { display: flex; align-items: flex-end; gap: 4px; height: 40px; }
.cp-hd-chart-bar { flex: 1; border-radius: 2px 2px 0 0; background: rgba(255,255,255,0.09); }
.cp-hd-chart-bar.peak { background: var(--accent); box-shadow: 0 0 10px -2px var(--accent-glow); }

.cp-hd-fields { display: flex; flex-direction: column; gap: 8px; }
.cp-hd-field { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 8px; padding: 8px 11px; }
.cp-hd-field-label { font-size: 8.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,0.32); flex-shrink: 0; }
.cp-hd-field-val { font-size: 11px; font-weight: 600; color: #fff; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.cp-hd-list { display: flex; flex-direction: column; gap: 8px; }
.cp-hd-row { display: flex; align-items: center; gap: 9px; }
.cp-hd-row-icon { width: 24px; height: 24px; border-radius: var(--icon-radius, 7px); background: var(--accent-soft); border: 1px solid var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cp-hd-row-text { flex: 1; font-size: 11px; color: rgba(220,225,235,0.8); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-hd-row-text b { color: #fff; font-weight: 600; }
.cp-hd-pill { font-size: 8.5px; font-weight: 700; padding: 3px 8px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; }
.cp-hd-pill.ok { background: rgba(52,211,153,0.14); border: 1px solid rgba(52,211,153,0.25); color: #6ee7b7; }
.cp-hd-pill.pending { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.55); }
.cp-hd-pill.accent { background: var(--accent-soft); border: 1px solid var(--accent-soft); color: var(--accent); }

/* ── Hero cinematic entrance: ambient glow ignites, headline reveals word-by-word through a mask ── */
.cp-hero::before { opacity: 0; transform: scale(0.82); transition: opacity 1.2s cubic-bezier(.16,1,.3,1), transform 1.5s cubic-bezier(.16,1,.3,1); }
.cp-hero.cp-ignited::before { opacity: 1; transform: scale(1); }

.cp-h1-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.cp-h1-word-in { display: inline-block; transform: translateY(112%); transition: transform 0.9s cubic-bezier(.16,1,.3,1); }
.cp-h1.cp-h1-in .cp-h1-word-in { transform: translateY(0); }

/* ── Cascading reveal for grid/list children, kicked off when their .cp-reveal container enters view ── */
.cp-pop-child { transform: translateY(24px) scale(0.95); transition: transform 0.7s cubic-bezier(.16,1,.3,1); }
.cp-pop-child.cp-pop-in { transform: translateY(0) scale(1); }

/* Flow/timeline connector lines draw themselves in alongside their staggered nodes */
.cp-flow::before, .cp-timeline::before { transform: scaleX(0); transform-origin: left center; transition: transform 1.1s cubic-bezier(.16,1,.3,1) 0.15s; }
.cp-flow.in-view::before, .cp-timeline.in-view::before { transform: scaleX(1); }

/* Live/availability dots ping like a radar sweep — reinforces "this system is live," not a screenshot */
.cp-hd-live-dot, .cp-availability-dot, .cp-hero-card-dot { position: relative; }
.cp-hd-live-dot::after, .cp-availability-dot::after, .cp-hero-card-dot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid rgba(52,211,153,0.65);
  animation: cpPing 2.4s cubic-bezier(0,0,0.2,1) infinite;
}
@keyframes cpPing { 0% { transform: scale(0.6); opacity: 0.8; } 80%, 100% { transform: scale(2.4); opacity: 0; } }

/* Final CTA glow breathes gently, drawing the eye to the last decision on the page */
.cp-final::before { animation: cpBreathe 6.5s ease-in-out infinite; }
@keyframes cpBreathe { 0%, 100% { opacity: 0.82; transform: translate(-50%,-50%) scale(1); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.09); } }

/* ── Interactive hero mockup: cursor tilt + light glare, makes the "live software" preview feel touchable ── */
.cp-hero-visual { perspective: 1200px; }
.cp-hero-visual .cp-hero-dash,
.cp-hero-visual .cp-preview,
.cp-hero-visual .cp-hero-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}
.cp-tilt-glare {
  position: absolute; inset: 0; z-index: 3;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.cp-hero-visual:hover .cp-tilt-glare { opacity: 1; }

/* ── Ambient cursor glow — the whole page reacts softly to the visitor's presence ── */
.cp-cursor-glow {
  position: fixed; inset: 0; z-index: 4; pointer-events: none;
  background: radial-gradient(560px circle at var(--cx, 50%) var(--cy, 15%), var(--accent-soft), transparent 68%);
  opacity: 0; transition: opacity 0.7s ease;
  mix-blend-mode: screen;
}
.cp-cursor-glow.is-active { opacity: 0.7; }

/* ── Scroll progress rail — thin accent-tinted line tracking read position ── */
.cp-scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--accent), rgba(255,255,255,0.8));
  box-shadow: 0 0 10px var(--accent-glow);
  z-index: 80; pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .cp-preview, .cp-preview::after, .cp-card::after, .cp-flow-icon, .cp-reveal,
  .cp-hero-card, .cp-hero-card-dot, .cp-availability-dot, .cp-hero-dash, .cp-hd-live-dot,
  .cp-hero-visual .cp-hero-dash, .cp-hero-visual .cp-preview, .cp-hero-visual .cp-hero-card, .cp-tilt-glare,
  .cp-hero::before, .cp-h1-word-in, .cp-pop-child, .cp-flow::before, .cp-timeline::before,
  .cp-hd-live-dot::after, .cp-availability-dot::after, .cp-hero-card-dot::after, .cp-final::before, .cp-cursor-glow, .cp-btn {
    animation: none !important; transition: none !important;
  }
  .cp-reveal { opacity: 1 !important; transform: none !important; }
  .cp-hero::before { opacity: 1 !important; transform: scale(1) !important; }
  .cp-h1-word-in { transform: none !important; }
  .cp-pop-child { transform: none !important; }
  .cp-flow::before, .cp-timeline::before { transform: none !important; }
  .cp-cursor-glow { display: none !important; }
}
.cp-footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 20px; font-size: 11.5px; color: rgba(255,255,255,0.25); text-align: center; }
