/* ============================================================
   SUMMIT OAK AI — services.css
   Shared styles for all service detail pages
   ============================================================ */

/* ---- Breadcrumb ---------------------------------------- */
.svc-breadcrumb {
  padding: calc(var(--nav-h) + 28px) 0 0;
  position: relative; z-index: 2;
}
.svc-breadcrumb-inner {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-accent); font-size: 12px; letter-spacing: .07em;
}
.svc-breadcrumb a { color: var(--electric-blue); opacity: .7; transition: opacity .2s; }
.svc-breadcrumb a:hover { opacity: 1; }
.svc-breadcrumb-sep { color: var(--dark-gray); }
.svc-breadcrumb-current { color: var(--medium-gray); }

/* ---- Service Hero -------------------------------------- */
.svc-hero {
  padding: 60px 0 100px;
  position: relative; overflow: hidden;
}
.svc-hero-glow {
  position: absolute; top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0,212,255,.09) 0%, transparent 70%);
  pointer-events: none;
}
.svc-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px;
  border: 1px solid rgba(0,212,255,.22);
  border-radius: 100px;
  font-family: var(--font-accent); font-size: 11px; letter-spacing: .1em;
  color: var(--electric-blue); background: rgba(0,212,255,.05);
  margin-bottom: 28px;
}
.svc-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -.02em; color: var(--white);
  margin-bottom: 24px; max-width: 820px;
}
.svc-hero-sub {
  font-size: 19px; color: var(--light-gray);
  max-width: 620px; margin-bottom: 40px; line-height: 1.65;
}
.svc-hero-ctas {
  display: flex; gap: 16px; align-items: center;
  flex-wrap: wrap; margin-bottom: 56px;
}
.svc-hero-proof {
  display: flex; gap: 48px; flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.svc-proof-item { display: flex; flex-direction: column; gap: 4px; }
.svc-proof-num {
  font-family: var(--font-accent); font-size: 26px; font-weight: 600;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.svc-proof-label {
  font-size: 12px; color: var(--medium-gray);
  text-transform: uppercase; letter-spacing: .07em;
}

/* ---- What You Get ------------------------------------- */
.svc-features {
  padding: 80px 0;
  background: var(--dark-charcoal);
}
.svc-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px; margin-top: 48px;
}
.svc-feature-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px; padding: 30px;
  transition: border-color .3s, transform .3s;
}
.svc-feature-card:hover {
  border-color: rgba(0,212,255,.2);
  transform: translateY(-4px);
}
.svc-feature-icon {
  width: 44px; height: 44px;
  background: rgba(0,212,255,.07);
  border: 1px solid rgba(0,212,255,.14);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.svc-feature-title {
  font-family: var(--font-head); font-size: 16px; font-weight: 700;
  color: var(--white); margin-bottom: 10px;
}
.svc-feature-body { font-size: 14px; color: var(--medium-gray); line-height: 1.65; }

/* ---- Interactive Demo ---------------------------------- */
.svc-demo {
  padding: 100px 0;
  background: var(--jet-black);
  position: relative; overflow: hidden;
}
.svc-demo::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(178,77,255,.05) 0%, transparent 70%);
  pointer-events: none;
}
.svc-demo-panel {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px; padding: 40px;
  margin-top: 40px; position: relative; overflow: hidden;
}
.svc-demo-live-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-accent); font-size: 11px;
  letter-spacing: .1em; color: var(--electric-blue);
  margin-bottom: 28px;
}
.svc-demo-live-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--electric-blue);
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.75)} }

/* Shared demo button */
.btn-demo {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,212,255,.08);
  border: 1px solid rgba(0,212,255,.25);
  color: var(--electric-blue);
  font-family: var(--font-accent); font-size: 13px; font-weight: 600;
  padding: 10px 22px; border-radius: 8px; cursor: pointer;
  transition: background .2s, border-color .2s; letter-spacing: .05em;
}
.btn-demo:hover { background: rgba(0,212,255,.15); border-color: rgba(0,212,255,.4); }
.btn-demo-primary {
  background: var(--gradient); border: none; color: #fff;
}
.btn-demo-primary:hover { opacity: .9; border: none; }
.btn-demo:disabled { opacity: .4; cursor: default; pointer-events: none; }

/* ---- How It Works ------------------------------------- */
.svc-how {
  padding: 80px 0;
  background: var(--dark-charcoal);
}
.svc-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 48px; position: relative;
}
.svc-steps::before {
  content: ''; position: absolute;
  top: 28px; left: calc(16.67% + 14px); right: calc(16.67% + 14px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,.25), transparent);
}
.svc-step { padding: 28px 20px; text-align: center; }
.svc-step-num-wrap {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1.5px solid rgba(0,212,255,.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px; position: relative;
}
.svc-step-num {
  font-family: var(--font-accent); font-size: 20px; font-weight: 600;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.svc-step-title {
  font-family: var(--font-head); font-size: 17px; font-weight: 700;
  color: var(--white); margin-bottom: 10px;
}
.svc-step-body { font-size: 14px; color: var(--medium-gray); line-height: 1.65; }

/* ---- Proof Strip -------------------------------------- */
.svc-proof-strip {
  padding: 56px 0;
  background: var(--deep-navy);
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.svc-proof-strip-inner {
  display: flex; gap: 56px; justify-content: center; flex-wrap: wrap;
}
.svc-proof-strip-item { text-align: center; }
.svc-proof-strip-num {
  font-family: var(--font-accent); font-size: 42px; font-weight: 600;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.svc-proof-strip-label {
  font-size: 12px; color: var(--medium-gray);
  text-transform: uppercase; letter-spacing: .08em; margin-top: 4px;
}

/* ---- Service Page CTA --------------------------------- */
.svc-cta {
  padding: 100px 0;
  background: var(--jet-black);
  text-align: center; position: relative;
}
.svc-cta-inner { position: relative; z-index: 1; }
.svc-cta h2 {
  font-family: var(--font-head);
  font-size: clamp(26px,4vw,44px); font-weight: 800;
  margin-bottom: 16px;
}
.svc-cta p {
  font-size: 17px; color: var(--medium-gray);
  max-width: 480px; margin: 0 auto 40px; line-height: 1.65;
}
.svc-back-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--medium-gray); font-size: 13px; text-decoration: none;
  margin-top: 36px; transition: color .2s;
  font-family: var(--font-accent); letter-spacing: .04em;
}
.svc-back-link:hover { color: var(--electric-blue); }

/* ---- Related Services --------------------------------- */
.svc-related {
  padding: 72px 0;
  background: var(--dark-charcoal);
}
.svc-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; margin-top: 36px;
}
.svc-related-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px; padding: 24px;
  text-decoration: none; display: block;
  transition: border-color .3s, transform .3s;
}
.svc-related-card:hover {
  border-color: rgba(0,212,255,.2);
  transform: translateY(-3px);
}
.svc-related-name {
  font-family: var(--font-head); font-size: 15px; font-weight: 700;
  color: var(--white); margin-bottom: 6px;
}
.svc-related-desc { font-size: 13px; color: var(--medium-gray); line-height: 1.5; margin-bottom: 12px; }
.svc-related-arrow { color: var(--electric-blue); font-size: 16px; }

/* ══════════════════════════════════════════════════════════
   DEMO COMPONENT STYLES
   ══════════════════════════════════════════════════════════ */

/* ---- Lead Pipeline Demo ------------------------------- */
.demo-controls {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px;
}
.lead-pipeline {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.lead-pipeline-5col {
  grid-template-columns: repeat(5, 1fr);
  overflow-x: auto;
  min-width: 0;
}
.pipeline-col {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px; padding: 16px; min-height: 280px;
}
.pipeline-col-header {
  font-family: var(--font-accent); font-size: 11px;
  letter-spacing: .09em; text-transform: uppercase; color: var(--medium-gray);
  margin-bottom: 12px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: space-between;
}
.pipeline-count {
  background: rgba(0,212,255,.1); border-radius: 100px;
  padding: 2px 8px; font-size: 11px; color: var(--electric-blue);
}
.pipeline-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px; padding: 12px; margin-bottom: 8px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s ease, transform .4s ease;
}
.pipeline-card.visible { opacity: 1; transform: translateY(0); }
.pipeline-card-name { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 3px; }
.pipeline-card-detail { font-size: 11px; color: var(--medium-gray); margin-bottom: 6px; }
.pipeline-card-tag {
  display: inline-block; padding: 2px 8px; border-radius: 100px; font-size: 10px;
  font-family: var(--font-accent); font-weight: 600; letter-spacing: .05em;
}
.tag-new   { background: rgba(0,212,255,.1);   color: var(--electric-blue); }
.tag-qual  { background: rgba(255,106,61,.1);  color: #FF6A3D; }
.tag-quote { background: rgba(45,212,191,.12); color: #2DD4BF; }
.tag-book  { background: rgba(178,77,255,.12); color: #B24DFF; }
.tag-sold  { background: rgba(255,106,61,.18); color: #FF6A3D; font-weight: 700; }
.pipeline-metrics {
  display: flex; gap: 20px; margin-top: 20px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.05); flex-wrap: wrap;
}
.pipeline-metric { display: flex; flex-direction: column; gap: 2px; }
.pipeline-metric-val {
  font-family: var(--font-accent); font-size: 20px; font-weight: 600;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.pipeline-metric-label { font-size: 11px; color: var(--medium-gray); text-transform: uppercase; letter-spacing: .07em; }

/* ---- Missed Call Demo ---------------------------------- */
.missed-call-layout {
  display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start;
}
.phone-mockup {
  background: #141420; border-radius: 28px;
  border: 1.5px solid rgba(255,255,255,.1);
  padding: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.phone-screen {
  background: #0a0a16; border-radius: 18px; padding: 20px 14px;
  min-height: 320px; display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 10px;
}
.phone-time { font-size: 11px; color: var(--medium-gray); letter-spacing: .05em; margin-bottom: 4px; }
.call-icon-wrap {
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(255,60,60,.15); border: 1.5px solid rgba(255,60,60,.35);
  display: flex; align-items: center; justify-content: center;
  animation: call-ring 1.2s ease-in-out infinite;
}
@keyframes call-ring {
  0%,100%{box-shadow:0 0 0 0 rgba(255,60,60,.3)}
  50%{box-shadow:0 0 0 10px rgba(255,60,60,0)}
}
.call-icon-wrap.missed { background: rgba(255,60,60,.08); border-color: rgba(255,60,60,.15); animation: none; }
.phone-caller-name { font-size: 16px; font-weight: 600; color: var(--white); margin-top: 6px; }
.phone-caller-num { font-size: 12px; color: var(--medium-gray); }
.phone-call-label { font-size: 11px; color: #FF6A3D; margin-top: 4px; }
.phone-action-btns {
  display: flex; gap: 36px; margin-top: 12px;
}
.phone-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; transition: transform .15s;
}
.phone-btn:hover { transform: scale(1.07); }
.phone-btn-decline { background: #ff3c3c; }
.phone-btn-accept  { background: #2DD4BF; }
.phone-sms { margin-top: 8px; width: 100%; }
.sms-bubble {
  background: linear-gradient(135deg, rgba(255,106,61,.12), rgba(178,77,255,.12));
  border: 1px solid rgba(178,77,255,.2);
  border-radius: 12px 12px 12px 3px;
  padding: 10px 12px; font-size: 11px; color: var(--light-gray);
  text-align: left; line-height: 1.5;
  display: none;
}
.response-timeline {
  display: flex; flex-direction: column; gap: 12px;
}
.resp-step {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px; padding: 14px 18px;
  opacity: .3; transition: opacity .4s, border-color .4s;
}
.resp-step.active { opacity: 1; border-color: rgba(0,212,255,.2); }
.resp-step.done   { opacity: 1; border-color: rgba(45,212,191,.25); }
.resp-step-hd {
  display: flex; align-items: center; gap: 10px; margin-bottom: 4px;
}
.resp-dot {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; flex-shrink: 0;
}
.resp-dot.done-dot { background: rgba(45,212,191,.15); border-color: rgba(45,212,191,.5); color: #2DD4BF; }
.resp-step-title { font-size: 14px; font-weight: 600; color: var(--white); }
.resp-step-time { font-family: var(--font-accent); font-size: 11px; color: var(--medium-gray); margin-left: auto; }
.resp-step-detail { font-size: 13px; color: var(--medium-gray); }

/* ---- CRM Automation Demo ------------------------------ */
.crm-lead-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; padding: 18px 22px;
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap; margin-bottom: 20px;
}
.crm-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; color: #fff; flex-shrink: 0;
}
.crm-lead-name { font-weight: 600; color: var(--white); font-size: 15px; }
.crm-lead-detail { font-size: 12px; color: var(--medium-gray); }
.crm-stage-badge {
  font-family: var(--font-accent); font-size: 11px; font-weight: 600;
  padding: 4px 12px; border-radius: 100px; letter-spacing: .05em;
}
.crm-sequence { display: flex; flex-direction: column; gap: 8px; }
.crm-seq-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 8px;
  opacity: 0; transform: translateX(-8px);
  transition: opacity .4s, transform .4s, border-color .3s;
}
.crm-seq-item.visible { opacity: 1; transform: translateX(0); }
.crm-seq-item.sent { border-color: rgba(45,212,191,.2); }
.crm-seq-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.crm-seq-text { font-size: 13px; color: var(--light-gray); flex: 1; }
.crm-seq-time { font-size: 11px; color: var(--medium-gray); }
.crm-seq-status {
  font-size: 10px; padding: 2px 8px; border-radius: 100px;
  font-family: var(--font-accent); font-weight: 600; letter-spacing: .04em;
}

/* ---- Chat Agent Demo ----------------------------------- */
.chat-demo-wrap { max-width: 480px; margin: 0 auto; }
.chat-widget {
  background: var(--deep-navy);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
.chat-header {
  background: linear-gradient(135deg, rgba(255,106,61,.1), rgba(178,77,255,.1));
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
}
.chat-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.chat-agent-name { font-weight: 600; font-size: 14px; color: var(--white); }
.chat-agent-status {
  font-size: 11px; color: #2DD4BF;
  display: flex; align-items: center; gap: 5px;
}
.chat-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #2DD4BF; animation: blink 2s ease-in-out infinite;
}
.chat-messages {
  padding: 14px; min-height: 260px; max-height: 300px;
  overflow-y: auto; display: flex; flex-direction: column; gap: 10px;
}
.chat-msg { display: flex; gap: 7px; }
.chat-msg.user { flex-direction: row-reverse; }
.chat-bubble {
  max-width: 78%; padding: 9px 13px;
  border-radius: 14px; font-size: 13px; line-height: 1.5;
}
.chat-bubble-ai {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.07);
  color: var(--light-gray);
  border-radius: 3px 14px 14px 14px;
}
.chat-bubble-user {
  background: var(--gradient); color: #fff;
  border-radius: 14px 14px 3px 14px;
}
.chat-typing {
  display: none; gap: 4px; padding: 9px 13px;
  background: rgba(255,255,255,.06);
  border-radius: 3px 14px 14px 14px;
  align-items: center; width: fit-content;
}
.chat-typing.active { display: flex; }
.chat-typing-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--medium-gray);
  animation: bounce-dot .6s ease-in-out infinite;
}
.chat-typing-dot:nth-child(2) { animation-delay: .15s; }
.chat-typing-dot:nth-child(3) { animation-delay: .3s; }
@keyframes bounce-dot {
  0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)}
}
.chat-presets {
  padding: 10px 14px 14px;
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex; flex-direction: column; gap: 6px;
}
.chat-preset-label {
  font-size: 10px; color: var(--medium-gray);
  letter-spacing: .07em; text-transform: uppercase; margin-bottom: 2px;
}
.chat-preset-btn {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px; padding: 7px 13px; font-size: 12px;
  color: var(--light-gray); cursor: pointer; text-align: left;
  transition: background .2s, border-color .2s; font-family: var(--font-body);
}
.chat-preset-btn:hover:not(:disabled) {
  background: rgba(0,212,255,.08); border-color: rgba(0,212,255,.2); color: var(--white);
}
.chat-preset-btn:disabled { opacity: .4; cursor: default; }

/* ---- Workflow Demo ------------------------------------- */
.workflow-toggle {
  display: flex; width: fit-content;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09); border-radius: 8px; overflow: hidden;
  margin-bottom: 24px;
}
.wf-toggle-btn {
  padding: 9px 20px; font-family: var(--font-accent);
  font-size: 12px; font-weight: 600; letter-spacing: .07em;
  border: none; cursor: pointer; background: transparent; color: var(--medium-gray);
  transition: background .2s, color .2s;
}
.wf-toggle-btn.active { background: rgba(0,212,255,.1); color: var(--electric-blue); }
.workflow-canvas-wrap { position: relative; }
.workflow-svg { width: 100%; height: 300px; display: block; }
.wf-node circle, .wf-node rect { transition: fill .5s, stroke .5s; }
.wf-edge { transition: stroke .5s, opacity .5s; }
.wf-edge-flow {
  stroke: var(--electric-blue); stroke-width: 2;
  stroke-dasharray: 8 6; opacity: 0;
  animation: flow-dash 1.2s linear infinite;
  transition: opacity .5s;
}
.wf-edge-flow.visible { opacity: .7; }
@keyframes flow-dash { to { stroke-dashoffset: -14; } }
.wf-manual-label {
  font-family: var(--font-accent); font-size: 9px;
  fill: #FF6A3D; letter-spacing: .06em;
  transition: opacity .4s;
}
.wf-stat-row {
  display: flex; gap: 36px; margin-top: 24px; flex-wrap: wrap;
}
.wf-stat { display: flex; flex-direction: column; gap: 2px; }
.wf-stat-val {
  font-family: var(--font-accent); font-size: 28px; font-weight: 600;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.wf-stat-label { font-size: 12px; color: var(--medium-gray); text-transform: uppercase; letter-spacing: .07em; }

/* ---- Analytics Demo ------------------------------------ */
.analytics-kpis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px;
}
.analytics-kpi {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px; padding: 18px;
}
.analytics-kpi-label {
  font-family: var(--font-accent); font-size: 10px; letter-spacing: .08em;
  color: var(--medium-gray); text-transform: uppercase; margin-bottom: 6px;
}
.analytics-kpi-val {
  font-family: var(--font-accent); font-size: 26px; font-weight: 600;
  color: var(--white); margin-bottom: 3px;
}
.analytics-kpi-change { font-size: 11px; color: #2DD4BF; }
.analytics-charts {
  display: grid; grid-template-columns: 3fr 2fr; gap: 14px;
}
.analytics-chart-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px; padding: 20px;
}
.analytics-chart-title {
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  color: var(--light-gray); margin-bottom: 16px;
}
.bar-chart {
  display: flex; align-items: flex-end; gap: 6px; height: 110px;
}
.bar {
  flex: 1; border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, rgba(255,106,61,.6), rgba(178,77,255,.6));
  height: 0; transition: height 1s ease;
  position: relative;
}
.bar-label {
  position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%);
  font-size: 10px; color: var(--dark-gray); white-space: nowrap;
}
.donut-wrap {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px; height: 110px;
}
.donut-svg { width: 80px; height: 80px; }
.donut-legend { display: flex; flex-direction: column; gap: 4px; }
.donut-legend-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; color: var(--medium-gray);
}
.donut-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

/* ---- Website Before/After Demo ------------------------- */
.website-demo {
  position: relative; border-radius: 14px; overflow: hidden;
  user-select: none; aspect-ratio: 16/9; cursor: col-resize;
  max-width: 680px; margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.wd-before, .wd-after {
  position: absolute; inset: 0;
}
.wd-before > img, .wd-after-inner > img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block;
}
.wd-after-inner { position: absolute; inset: 0; }
.wd-after {
  clip-path: inset(0 50% 0 0);
}
.wd-divider {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
  background: rgba(255,255,255,.8); transform: translateX(-50%); z-index: 10;
}
.wd-handle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; display: flex; align-items: center; justify-content: center;
  z-index: 11; box-shadow: 0 4px 16px rgba(0,0,0,.5); cursor: col-resize;
}
.wd-label {
  position: absolute; top: 12px; z-index: 5;
  font-family: var(--font-accent); font-size: 10px; font-weight: 600;
  letter-spacing: .1em; padding: 3px 8px; border-radius: 4px;
}
.wd-label-before { left: 10px; background: rgba(0,0,0,.55); color: #888; }
.wd-label-after  { right: 10px; background: rgba(0,0,0,.55); color: var(--electric-blue); }

/* ---- BEFORE: dated contractor site mockup ---- */
.wd-before { background: #dcdcd2; }
.wd-before-header {
  height: 32px; background: #fff; border-bottom: 2px solid #b8351c;
  display: flex; align-items: center; padding: 0 12px;
}
.wd-before-logo-block { font-family: 'Times New Roman', serif; font-weight: 700; font-size: 11px; color: #1a5c1a; white-space: nowrap; }
.wd-before-logo-block::after { content: "\1F33F Joe's Lawn Care"; }
.wd-before-nav { display: flex; gap: 9px; margin-left: auto; }
.wd-before-nav-item { font-family: 'Times New Roman', serif; font-size: 9px; color: #00c; text-decoration: underline; }
.wd-before-nav-item:nth-child(1)::after { content: "Home"; }
.wd-before-nav-item:nth-child(2)::after { content: "Services"; }
.wd-before-nav-item:nth-child(3)::after { content: "Contact Us"; }
.wd-before-hero { padding: 14px 16px 6px; }
.wd-before-h1 { font-family: 'Times New Roman', serif; font-weight: 700; font-size: 17px; color: #036; margin-bottom: 7px; }
.wd-before-h1::after { content: "Welcome To Our Web Site!"; }
.wd-before-sub { height: 6px; background: #b3b3aa; border-radius: 1px; margin-bottom: 4px; width: 94%; }
.wd-before-btn {
  margin-top: 8px; display: inline-block; font-family: 'Times New Roman', serif;
  font-size: 10px; font-weight: 700; color: #fff;
  background: linear-gradient(#6ba23a,#3f6b1e); border: 2px outset #7cb84a;
  padding: 4px 10px; border-radius: 2px;
}
.wd-before-btn::after { content: "CLICK HERE!"; }
.wd-before-cards { display: flex; gap: 8px; padding: 8px 16px; }
.wd-before-card {
  flex: 1; height: 50px; background: #fff; border: 1px solid #aaa;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.wd-before-card:nth-child(1)::after { content: "\1F331"; }
.wd-before-card:nth-child(2)::after { content: "\1F69C"; }
.wd-before-card:nth-child(3)::after { content: "\1F342"; }

/* ---- AFTER: Summit Oak style site mockup ---- */
.wd-after { background: radial-gradient(120% 80% at 50% 0%, #121826 0%, #0B0B0D 72%); }
.wd-after-inner { position: absolute; inset: 0; }
.wd-after-header {
  height: 32px; display: flex; align-items: center; padding: 0 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.wd-after-logo-wrap { display: flex; align-items: center; gap: 5px; }
.wd-after-logo-dot { width: 11px; height: 11px; border-radius: 50%; background: linear-gradient(135deg,#FF6A3D,#B24DFF); }
.wd-after-logo-text { font-family: 'Sora',sans-serif; font-weight: 800; font-size: 10px; color: #fff; letter-spacing: .04em; }
.wd-after-logo-text::after { content: "SUMMIT GREEN"; }
.wd-after-nav { display: flex; gap: 11px; margin-left: 14px; }
.wd-after-nav-item { font-size: 8px; color: rgba(255,255,255,.55); }
.wd-after-nav-item:nth-child(1)::after { content: "Services"; }
.wd-after-nav-item:nth-child(2)::after { content: "Pricing"; }
.wd-after-nav-item:nth-child(3)::after { content: "Reviews"; }
.wd-after-cta-pill {
  margin-left: auto; font-size: 8px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg,#FF6A3D,#B24DFF); padding: 4px 11px; border-radius: 100px;
}
.wd-after-cta-pill::after { content: "BOOK NOW"; }
.wd-after-hero { position: relative; padding: 18px 16px 10px; text-align: center; overflow: hidden; }
.wd-after-hero-glow {
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 80%; height: 130%;
  background: radial-gradient(ellipse at center, rgba(0,212,255,.14), transparent 60%);
}
.wd-after-badge {
  position: relative; display: inline-block; font-size: 7px; letter-spacing: .12em;
  color: var(--electric-blue); border: 1px solid rgba(0,212,255,.3);
  border-radius: 100px; padding: 3px 9px; margin-bottom: 9px;
}
.wd-after-badge::after { content: "PREMIUM LAWN CARE"; }
.wd-after-h1 { position: relative; font-family: 'Sora',sans-serif; font-weight: 800; font-size: 18px; color: #fff; line-height: 1.1; }
.wd-after-h1::after { content: "A Lawn You're Proud Of"; }
.wd-after-h1b {
  position: relative; font-family: 'Sora',sans-serif; font-weight: 800; font-size: 18px;
  line-height: 1.1; margin-bottom: 7px;
  background: linear-gradient(135deg,#FF6A3D,#B24DFF);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.wd-after-h1b::after { content: "Without Lifting a Finger"; }
.wd-after-sub { position: relative; font-size: 8px; color: rgba(255,255,255,.55); margin-bottom: 11px; }
.wd-after-sub::after { content: "Book in 60 seconds. Results guaranteed."; }
.wd-after-btns { position: relative; display: flex; gap: 8px; justify-content: center; }
.wd-after-btn-primary {
  font-size: 8px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg,#FF6A3D,#B24DFF); padding: 5px 12px; border-radius: 4px;
}
.wd-after-btn-primary::after { content: "Get Free Quote"; }
.wd-after-btn-sec {
  font-size: 8px; color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.2); padding: 5px 10px; border-radius: 4px;
}
.wd-after-btn-sec::after { content: "See Pricing \2192"; }
.wd-after-cards { display: flex; gap: 8px; padding: 6px 16px 14px; }
.wd-after-card {
  flex: 1; height: 38px; background: var(--midnight-blue);
  border: 1px solid rgba(0,212,255,.18); border-top: 2px solid #2DD4BF;
  border-radius: 6px; box-shadow: 0 0 14px rgba(0,212,255,.05);
}

/* ================================================================
   SMS THREAD DEMO (Missed Call Recovery)
   ================================================================ */
.sms-demo-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: flex-start;
}
.sms-trigger-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.sms-trigger-phone {
  background: #0E111A;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  width: 100%;
}
.sms-phone-time { font-family: 'Outfit', sans-serif; font-size: 11px; color: var(--medium-gray); margin-bottom: 12px; }
.sms-phone-icon { display: flex; justify-content: center; margin-bottom: 8px; }
.sms-phone-caller { font-family: 'Outfit', sans-serif; font-size: 13px; color: var(--white); font-weight: 600; }
.sms-phone-label { font-size: 11px; color: var(--medium-gray); margin-top: 4px; }
.sms-missed-badge {
  font-size: 11px; font-family: 'Outfit', sans-serif; font-weight: 600;
  background: rgba(255,68,68,.08); border: 1px solid rgba(255,68,68,.2);
  color: rgba(255,68,68,.6); border-radius: 8px; padding: 6px 10px; text-align: center;
  transition: background .4s, color .4s, border-color .4s;
}
.sms-missed-badge.active {
  background: rgba(255,68,68,.15); border-color: rgba(255,68,68,.4); color: #ff6464;
}
.sms-response-timer {
  background: rgba(45,212,191,.08); border: 1px solid rgba(45,212,191,.2);
  border-radius: 8px; padding: 8px 12px; text-align: center;
}
.sms-timer-label { font-size: 10px; color: var(--medium-gray); }
.sms-timer-val { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 700; color: #2DD4BF; }

.sms-thread-panel {
  background: #0E111A;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sms-thread-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
}
.sms-thread-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #FF6A3D, #B24DFF);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: white; flex-shrink: 0;
}
.sms-thread-name { font-size: 13px; font-weight: 600; color: var(--white); }
.sms-thread-subline { font-size: 11px; color: var(--medium-gray); }

.sms-thread-messages {
  flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 8px;
  min-height: 200px; max-height: 300px; overflow-y: auto;
}
.sms-msg { display: flex; }
.sms-msg.sms-msg-prospect { justify-content: flex-end; }
.sms-bubble-v2 {
  max-width: 80%; padding: 10px 14px; border-radius: 14px;
  font-size: 13px; line-height: 1.5;
}
.sms-bubble-ai {
  background: rgba(0,212,255,.1); border: 1px solid rgba(0,212,255,.2);
  color: var(--white); border-bottom-left-radius: 4px;
}
.sms-bubble-prospect {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  color: var(--light-gray); border-bottom-right-radius: 4px;
}
.sms-typing-wrap {
  display: flex; gap: 4px; align-items: center;
  padding: 10px 16px;
}
.sms-typing-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--electric-blue); opacity: .4;
  animation: smsTypingPulse 1.2s infinite;
}
.sms-typing-dot:nth-child(2) { animation-delay: .2s; }
.sms-typing-dot:nth-child(3) { animation-delay: .4s; }
@keyframes smsTypingPulse { 0%,80%,100% { opacity:.4; transform:scale(1); } 40% { opacity:1; transform:scale(1.3); } }

.sms-booked-result {
  display: flex; align-items: center; gap: 8px;
  margin: 0 16px 16px;
  background: rgba(45,212,191,.08); border: 1px solid rgba(45,212,191,.25);
  border-radius: 10px; padding: 12px 14px;
  font-size: 12px; font-weight: 700; color: #2DD4BF; font-family: 'Outfit', sans-serif;
}

/* ================================================================
   VOICE & CHAT — BOOKING FLOW STYLES
   ================================================================ */
.chat-book-trigger {
  background: rgba(0,212,255,.08) !important;
  border-color: rgba(0,212,255,.3) !important;
  color: var(--electric-blue) !important;
  font-weight: 600 !important;
}
.chat-book-trigger:hover { background: rgba(0,212,255,.15) !important; }
.chat-calendar {
  display: flex; flex-direction: column; gap: 6px; width: 100%;
}
.calendar-slot {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; padding: 10px 14px; font-size: 13px; color: var(--light-gray);
  cursor: pointer; text-align: left; transition: background .2s, border-color .2s, color .2s;
  font-family: 'Outfit', sans-serif;
}
.calendar-slot:hover { background: rgba(0,212,255,.1); border-color: rgba(0,212,255,.3); color: var(--electric-blue); }
.chat-booking-confirm {
  display: flex; align-items: center; gap: 12px;
  background: rgba(45,212,191,.07); border: 1px solid rgba(45,212,191,.2);
  border-radius: 10px; padding: 14px;
}
.cbc-icon { font-size: 24px; flex-shrink: 0; }
.cbc-title { font-size: 13px; font-weight: 700; color: #2DD4BF; }
.cbc-time { font-size: 12px; color: var(--white); margin-top: 2px; }
.cbc-note { font-size: 11px; color: var(--medium-gray); margin-top: 2px; }

/* ================================================================
   LEAD GEN — PHONE NOTIFICATIONS
   ================================================================ */
.phone-notif {
  opacity: 0; transform: translateY(-16px);
  transition: opacity .4s, transform .4s;
  margin-top: 12px;
}
.phone-notif.visible { opacity: 1; transform: translateY(0); }
.phone-notif-inner {
  display: flex; align-items: center; gap: 12px;
  background: #0E111A; border: 1px solid rgba(45,212,191,.25);
  border-radius: 12px; padding: 12px 16px;
  box-shadow: 0 0 16px rgba(45,212,191,.08);
}
.phone-notif-icon { font-size: 20px; flex-shrink: 0; }
.phone-notif-text { flex: 1; }
.phone-notif-title { font-size: 11px; color: var(--medium-gray); font-family: 'Outfit', sans-serif; }
.phone-notif-detail { font-size: 13px; font-weight: 600; color: var(--white); margin-top: 2px; }
.phone-notif-check {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(45,212,191,.15); color: #2DD4BF;
  display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0;
}

/* ================================================================
   CRM DEAL BOARD
   ================================================================ */
.crm-deal-board {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid rgba(255,255,255,.07); border-radius: 12px; overflow: hidden;
}
.crm-deal-row {
  display: grid;
  grid-template-columns: 1fr auto 180px 1fr;
  align-items: center; gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s, box-shadow .3s;
}
.crm-deal-row:last-child { border-bottom: none; }
.crm-deal-left { display: flex; align-items: center; gap: 12px; }
.crm-deal-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--medium-gray); font-family: 'Outfit', sans-serif;
}
.crm-deal-name { font-size: 13px; font-weight: 600; color: var(--white); }
.crm-deal-meta { font-size: 11px; color: var(--medium-gray); margin-top: 2px; }
.crm-deal-trigger { font-size: 11px; color: var(--medium-gray); }
.crm-deal-status {
  font-size: 11px; color: var(--electric-blue); font-weight: 600;
  font-family: 'Outfit', sans-serif; opacity: 0; transition: opacity .4s;
}
.crm-deal-status.crm-status-visible { opacity: 1; }

.crm-deal-badge {
  font-size: 10px; font-weight: 700; font-family: 'Outfit', sans-serif;
  padding: 4px 10px; border-radius: 6px; white-space: nowrap;
  transition: background .4s, color .4s, border-color .4s;
}
.crm-badge-new { background: rgba(255,106,61,.1); color: #FF6A3D; border: 1px solid rgba(255,106,61,.25); }
.crm-badge-stale { background: rgba(255,184,0,.1); color: #FFB800; border: 1px solid rgba(255,184,0,.25); }
.crm-badge-cold { background: rgba(178,77,255,.1); color: #B24DFF; border: 1px solid rgba(178,77,255,.25); }
.crm-badge-updated { background: rgba(0,212,255,.1) !important; color: var(--electric-blue) !important; border-color: rgba(0,212,255,.3) !important; }

.crm-row-firing {
  background: rgba(0,212,255,.04);
  box-shadow: inset 0 0 0 1px rgba(0,212,255,.15);
}
.crm-row-sent .crm-deal-name { color: #2DD4BF; }

.crm-board-footer {
  display: none; align-items: center; justify-content: center;
  margin-top: 16px; padding: 12px 16px;
  background: rgba(45,212,191,.06); border: 1px solid rgba(45,212,191,.18);
  border-radius: 10px; font-size: 13px; font-weight: 600; color: #2DD4BF;
  font-family: 'Outfit', sans-serif; text-align: center;
}

/* ================================================================
   WORKFLOW COMPARISON DEMO
   ================================================================ */
.wf-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.wf-panel {
  border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
  display: flex; flex-direction: column;
}
.wf-panel-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
}
.wf-panel-label { font-size: 11px; font-weight: 700; font-family: 'Outfit', sans-serif; }
.wf-label-bad { color: #ff6464; }
.wf-label-good { color: #2DD4BF; }
.wf-counter { font-size: 11px; font-family: 'Outfit', sans-serif; color: var(--medium-gray); }
.wf-counter-bad { color: #FF6A3D !important; }
.wf-counter-good { color: #2DD4BF !important; }

.wf-task-list {
  flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 6px;
  min-height: 200px; max-height: 320px; overflow-y: auto;
}
.wf-task-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  opacity: 0; transform: translateX(-6px);
  transition: opacity .3s, transform .3s, background .4s, border-color .4s;
  font-size: 12px; color: var(--medium-gray);
}
.wf-task-item.visible { opacity: 1; transform: translateX(0); }
.wf-task-item.done { background: rgba(45,212,191,.05); border-color: rgba(45,212,191,.15); color: var(--light-gray); }
.wf-task-dot {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
}
.wf-dot-pending { background: rgba(255,100,100,.1); color: #ff6464; border: 1px solid rgba(255,100,100,.25); }
.wf-dot-done { background: rgba(45,212,191,.15); color: #2DD4BF; border: 1px solid rgba(45,212,191,.3); }
.wf-task-text { flex: 1; line-height: 1.4; }

.wf-panel-footer {
  padding: 12px 16px; font-size: 11px; font-weight: 600;
  font-family: 'Outfit', sans-serif; text-align: center;
  border-top: 1px solid rgba(255,255,255,.06);
  opacity: 0; transition: opacity .6s;
}
.wf-panel-footer.visible { opacity: 1; }
.wf-footer-bad { color: #ff6464; background: rgba(255,100,100,.05); }
.wf-footer-good { color: #2DD4BF; background: rgba(45,212,191,.05); }

/* ================================================================
   ANALYTICS — AI INSIGHT CARD
   ================================================================ */
.ai-insight-card {
  display: flex; align-items: flex-start; gap: 14px;
  margin-top: 20px; padding: 16px 20px;
  background: rgba(0,212,255,.05); border: 1px solid rgba(0,212,255,.2);
  border-left: 3px solid var(--electric-blue);
  border-radius: 10px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s, transform .5s;
}
.ai-insight-card.visible { opacity: 1; transform: translateY(0); }
@keyframes insightPulse { 0%,100% { box-shadow: 0 0 0 rgba(0,212,255,0); } 50% { box-shadow: 0 0 16px rgba(0,212,255,.1); } }
.ai-insight-card.visible { animation: insightPulse 3s ease-in-out infinite; }
.ai-insight-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.ai-insight-title { font-size: 11px; font-weight: 700; color: var(--electric-blue); font-family: 'Outfit', sans-serif; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.ai-insight-text { font-size: 13px; color: var(--light-gray); line-height: 1.5; }
.ai-insight-text strong { color: #2DD4BF; }

/* ================================================================
   WEBSITE DESIGN — BUILD ANIMATION
   ================================================================ */
.wd-build-panel { overflow: hidden; }

.wd-build-wrap {
  border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  background: #0B0B0D;
}
.wd-build-chrome {
  display: flex; align-items: center; gap: 10px;
  background: #1A1A20; padding: 8px 14px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.wd-chrome-dots { display: flex; gap: 5px; }
.wd-chrome-dot { width: 10px; height: 10px; border-radius: 50%; }
.wd-dot-red { background: #ff5f57; }
.wd-dot-yellow { background: #febc2e; }
.wd-dot-green { background: #28c840; }
.wd-chrome-bar {
  flex: 1; background: rgba(255,255,255,.06); border-radius: 6px;
  padding: 4px 10px; font-size: 11px; color: var(--medium-gray); font-family: 'Outfit', sans-serif;
}

.wd-build-canvas {
  position: relative; width: 100%;
  padding-bottom: 56.25%; /* 16:9 to match the 1920×1080 build video */
  background: #0B0B0D;
}
.wd-build-video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; background: #0B0B0D;
}
.wd-build-canvas > * {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

/* Phase 1: Grid */
.wd-grid-layer {
  opacity: 0;
  background-image:
    linear-gradient(rgba(0,212,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  transition: opacity .8s;
}
.wd-grid-layer.phase-grid { opacity: 1; }

/* Phase 2: Wireframe SVG */
.wd-wireframe-svg { opacity: 0; transition: opacity .6s; }
.wd-wireframe-svg.phase-wireframe { opacity: 1; }
.wf-rect {
  fill: none; stroke: rgba(0,212,255,.25); stroke-width: 1;
  stroke-dasharray: 2500; stroke-dashoffset: 2500;
}
.wd-wireframe-svg.phase-wireframe .wf-rect {
  animation: drawWireframe 1.5s ease forwards;
}
@keyframes drawWireframe { from { stroke-dashoffset: 2500; } to { stroke-dashoffset: 0; } }
.wd-wireframe-svg.phase-wireframe .wf-nav       { animation-delay: 0s; }
.wd-wireframe-svg.phase-wireframe .wf-logo      { animation-delay: .05s; }
.wd-wireframe-svg.phase-wireframe .wf-nav-link  { animation-delay: .1s; }
.wd-wireframe-svg.phase-wireframe .wf-cta-pill  { animation-delay: .15s; }
.wd-wireframe-svg.phase-wireframe .wf-hero-bg   { animation-delay: .2s; }
.wd-wireframe-svg.phase-wireframe .wf-badge     { animation-delay: .3s; }
.wd-wireframe-svg.phase-wireframe .wf-h1        { animation-delay: .4s; }
.wd-wireframe-svg.phase-wireframe .wf-h1-b      { animation-delay: .5s; }
.wd-wireframe-svg.phase-wireframe .wf-sub       { animation-delay: .6s; }
.wd-wireframe-svg.phase-wireframe .wf-btn-primary { animation-delay: .7s; }
.wd-wireframe-svg.phase-wireframe .wf-btn-secondary { animation-delay: .75s; }
.wd-wireframe-svg.phase-wireframe .wf-section-bg { animation-delay: .8s; }
.wd-wireframe-svg.phase-wireframe .wf-card      { animation-delay: .9s; }
.wd-wireframe-svg.phase-wireframe .wf-footer    { animation-delay: 1.1s; }
.wd-wireframe-svg.phase-wireframe .wf-footer-text { animation-delay: 1.2s; }
.wd-wireframe-svg.phase-wireframe .wf-footer-link { animation-delay: 1.25s; }

/* Phase 3: Color */
.wd-color-layer { opacity: 0; transition: opacity .8s; pointer-events: none; }
.wd-color-layer.phase-color { opacity: 1; }
.wdc-nav {
  position: absolute; top: 0; left: 0; right: 0; height: 12.4%;
  background: rgba(255,255,255,.03); backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.wdc-hero {
  position: absolute; top: 12.4%; left: 0; right: 0; height: 47.6%;
  background: linear-gradient(180deg, #0E111A 0%, #0B0B0D 100%);
  overflow: hidden;
}
.wdc-hero-glow {
  position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 60%; height: 120%;
  background: radial-gradient(ellipse, rgba(0,212,255,.12), transparent 60%);
}
.wdc-orb {
  position: absolute; border-radius: 50%;
  filter: blur(30px); opacity: .5;
}
.wdc-orb-1 { width: 30%; height: 60%; top: -20%; left: 5%; background: rgba(255,106,61,.2); }
.wdc-orb-2 { width: 25%; height: 50%; top: -10%; right: 10%; background: rgba(178,77,255,.2); }
.wdc-cards {
  position: absolute; bottom: 25.7%; left: 0; right: 0; height: 25.7%;
  display: flex; gap: 3%; padding: 0 3%;
  background: rgba(17,19,24,1);
}
.wdc-card {
  flex: 1; background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07); border-radius: 8px;
  margin: 10% 0;
}
.wdc-footer {
  position: absolute; bottom: 0; left: 0; right: 0; height: 14.3%;
  background: #0B0B0D; border-top: 1px solid rgba(255,255,255,.06);
}

/* Phase 4: Typography */
.wd-type-layer { opacity: 0; transition: opacity .8s; pointer-events: none; }
.wd-type-layer.phase-type { opacity: 1; }
.wdt-nav {
  position: absolute; top: 0; left: 0; right: 0; height: 12.4%;
  display: flex; align-items: center; padding: 0 3%;
  filter: blur(4px); transition: filter 1.2s;
}
.wd-type-layer.phase-type .wdt-nav { filter: blur(0); }
.wdt-logo { font-family: 'Sora', sans-serif; font-size: 8px; font-weight: 800; color: white; letter-spacing: .06em; }
.wdt-logo span { background: linear-gradient(90deg,#FF6A3D,#B24DFF); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.wdt-navlinks { display: flex; gap: 12px; margin-left: auto; margin-right: 12px; }
.wdt-navlinks span { font-size: 7px; color: rgba(255,255,255,.5); }
.wdt-cta { font-size: 7px; background: linear-gradient(90deg,#FF6A3D,#B24DFF); border-radius: 8px; padding: 3px 8px; color: white; font-weight: 700; }
.wdt-hero {
  position: absolute; top: 12.4%; left: 0; right: 0; height: 47.6%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  filter: blur(4px); transition: filter 1.2s .3s;
}
.wd-type-layer.phase-type .wdt-hero { filter: blur(0); }
.wdt-badge {
  font-size: 6px; color: var(--electric-blue); font-family: 'Outfit', sans-serif; font-weight: 700;
  letter-spacing: .08em; padding: 2px 8px; border: 1px solid rgba(0,212,255,.3); border-radius: 10px;
}
.wdt-h1 {
  font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 800;
  background: linear-gradient(90deg,#FF6A3D,#B24DFF); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  text-align: center; line-height: 1.4;
}
.wdt-sub { font-size: 7px; color: rgba(255,255,255,.5); }
.wdt-btns { display: flex; gap: 6px; margin-top: 4px; }
.wdt-btn-p { font-size: 7px; background: linear-gradient(90deg,#FF6A3D,#B24DFF); border-radius: 4px; padding: 4px 10px; color: white; font-weight: 700; }
.wdt-btn-s { font-size: 7px; border: 1px solid rgba(255,255,255,.2); border-radius: 4px; padding: 4px 8px; color: rgba(255,255,255,.5); }
.wdt-cards { display: flex; gap: 8px; padding: 0 24px; margin-top: 12px; filter: blur(8px); opacity: 0; transition: filter .6s, opacity .6s; }
.wd-type-layer.phase-type .wdt-cards { filter: blur(0); opacity: 1; }
.wdt-card {
  flex: 1; height: 26px; background: rgba(255,255,255,.04);
  border: 1px solid rgba(0,212,255,.18); border-top: 2px solid #2DD4BF;
  border-radius: 4px; display: flex; align-items: center; gap: 5px; padding: 0 6px;
}
.wdt-card-ico { width: 8px; height: 8px; border-radius: 2px; background: linear-gradient(135deg,#FF6A3D,#B24DFF); flex-shrink: 0; }
.wdt-card-bar { height: 4px; width: 70%; background: rgba(255,255,255,.25); border-radius: 2px; }

/* Phase 5: Polish */
.wd-polish-layer { opacity: 0; transition: opacity .8s; pointer-events: none; }
.wd-polish-layer.phase-polish { opacity: 1; }
.wdp-cta-glow {
  position: absolute; top: 25%; left: 50%; transform: translateX(-50%);
  width: 40%; height: 35%;
  background: radial-gradient(ellipse, rgba(255,106,61,.08), transparent 60%);
  animation: wdCtaBreath 3s ease-in-out infinite;
}
@keyframes wdCtaBreath { 0%,100% { opacity:.8; } 50% { opacity: 1.4; } }
.wdp-card-border {
  position: absolute; bottom: 25.7%; height: 25.7%;
  border-radius: 8px; border: 1px solid rgba(0,212,255,.2);
  box-shadow: 0 0 12px rgba(0,212,255,.06);
  animation: wdCardGlow 2s ease-in-out infinite alternate;
}
@keyframes wdCardGlow { from { border-color: rgba(0,212,255,.1); } to { border-color: rgba(0,212,255,.3); } }
.wdp-card-border-1 { left: 3%; width: 29%; animation-delay: 0s; }
.wdp-card-border-2 { left: 35%; width: 29%; animation-delay: .4s; }
.wdp-card-border-3 { left: 67%; width: 29%; animation-delay: .8s; }

/* Phase 6: Caption */
/* Real finished-site auto-scroll layer */
.wd-real-site {
  position: absolute; inset: 0; overflow: hidden; z-index: 6;
  opacity: 0; transition: opacity .8s ease; background: #0B0B0D;
}
.wd-real-site img {
  position: absolute; top: 0; left: 0; width: 100%; height: auto;
  display: block; transform: translateY(0); will-change: transform;
}

.wd-final-caption {
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 4%;
  font-family: 'Sora', sans-serif; font-size: clamp(10px, 1.5vw, 16px); font-weight: 700;
  color: rgba(255,255,255,.95); text-align: center;
  opacity: 0; transition: opacity .8s;
  pointer-events: none; z-index: 10;
  background: linear-gradient(to top, rgba(11,11,13,.88) 0%, rgba(11,11,13,.45) 28%, transparent 55%);
}
.wd-final-caption.phase-caption { opacity: 1; }

.wd-build-controls { display: flex; justify-content: center; margin-top: 16px; }

/* ================================================================
   Responsive — Responsive --------------------------------------- */
@media (max-width: 768px) {
  .svc-hero h1 { font-size: 34px; }
  .svc-hero-proof { gap: 28px; }
  .svc-steps { grid-template-columns: 1fr; }
  .svc-steps::before { display: none; }
  .missed-call-layout { grid-template-columns: 1fr; }
  .analytics-kpis { grid-template-columns: repeat(2, 1fr); }
  .analytics-charts { grid-template-columns: 1fr; }
  .lead-pipeline { grid-template-columns: 1fr; }
  .svc-demo-panel { padding: 24px; }
  .chat-demo-wrap { max-width: 100%; }
  .wf-stat-row { gap: 24px; }

  /* SMS thread demo — stack trigger above thread */
  .sms-demo-layout { grid-template-columns: 1fr; gap: 16px; }
  .sms-trigger-panel { padding: 16px; }
  .sms-thread-panel { min-height: 280px; }

  /* Workflow comparison — stack panels vertically */
  .wf-comparison { grid-template-columns: 1fr; gap: 16px; }
  .wf-panel { padding: 16px; }

  /* CRM deal board — 2-col layout: name+badge | status */
  .crm-deal-row { grid-template-columns: 1fr auto; gap: 8px; row-gap: 4px; }
  .crm-deal-stage { grid-column: 1 / -1; font-size: 12px; }
  .crm-deal-action { grid-column: 1 / -1; font-size: 12px; }

  /* AI Insight card */
  .ai-insight-card { flex-direction: column; gap: 10px; }

  /* Website Design build animation */
  .wd-build-wrap { font-size: 10px; }
}
@media (max-width: 480px) {
  .svc-hero-ctas { flex-direction: column; align-items: flex-start; }
  .svc-proof-strip-inner { gap: 28px; }
  .analytics-kpis { grid-template-columns: 1fr 1fr; }
  .pipeline-metrics { gap: 14px; }

  /* Tighten new demos further on small screens */
  .sms-thread-panel { min-height: 240px; }
  .sms-bubble-v2 { max-width: 90%; font-size: 13px; }
  .crm-deal-row { grid-template-columns: 1fr; }
  .crm-deal-badge { align-self: flex-start; }
  .wf-task-item { font-size: 13px; }
  .phone-notif-inner { padding: 8px 10px; gap: 8px; }
}
