/* =====================================================================
   ShieldDoc – "Complete Document Workspace for CA Firms" page styles
   Used only by index-ca-workspace.html. Loaded AFTER style.css.
   Every class is prefixed "cw-" so nothing in style.css is overridden.
   ===================================================================== */

:root {
  --cw-navy: #070d1f;
  --cw-navy-2: #0d1630;
  --cw-ink: #0f172a;
  --cw-muted: #5b6783;
  --cw-line: #e4e9f2;
  --cw-soft: #f5f8ff;
  --cw-blue: #3b82f6;
  --cw-indigo: #6366f1;
  --cw-cyan: #06b6d4;
  --cw-green: #10b981;
  --cw-amber: #f59e0b;
  --cw-rose: #f43f5e;
  --cw-grad: linear-gradient(120deg, #60a5fa 0%, #818cf8 45%, #22d3ee 100%);
  --cw-grad-solid: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  --cw-radius: 18px;
}

.cw-page { background: #fff; color: var(--cw-ink); overflow-x: hidden; }
.cw-page section { position: relative; }
.cw-section { padding: 110px 0; }
.cw-section-soft { background: var(--cw-soft); }

.cw-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.cw-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  color: #3730a3; background: #e8ebff; margin-bottom: 16px;
}
.cw-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cw-indigo); }
.cw-title { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; }
.cw-sub { font-size: 17.5px; line-height: 1.7; color: var(--cw-muted); }
.cw-grad-text { background: var(--cw-grad-solid); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- Reveal on scroll (script.js adds .visible to [data-aos]) ---------- */
.cw-page [data-aos] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.cw-page [data-aos].visible { opacity: 1; transform: none; }

/* =========================== HERO =========================== */
.cw-hero {
  background: radial-gradient(1200px 600px at 80% -10%, #1e2a6b 0%, transparent 60%),
              radial-gradient(900px 500px at -10% 30%, #0b3b5c 0%, transparent 60%),
              var(--cw-navy);
  color: #fff; padding: 180px 0 110px; overflow: hidden;
}
.cw-hero::before { /* subtle grid */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 85%);
  pointer-events: none;
}
.cw-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; animation: cw-float 14s ease-in-out infinite; }
.cw-blob-1 { width: 420px; height: 420px; background: #4f46e5; top: -120px; right: 8%; }
.cw-blob-2 { width: 360px; height: 360px; background: #0891b2; bottom: -140px; left: -80px; animation-delay: -5s; }
.cw-blob-3 { width: 260px; height: 260px; background: #2563eb; top: 40%; left: 45%; opacity: .3; animation-delay: -9s; }
@keyframes cw-float { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-25px) scale(1.08); } }

.cw-hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.cw-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06);
  border-radius: 999px; font-size: 13.5px; color: #cdd7f5; margin-bottom: 26px; backdrop-filter: blur(8px);
}
.cw-pill b { background: var(--cw-grad-solid); color: #fff; font-size: 11.5px; padding: 3px 9px; border-radius: 999px; letter-spacing: .4px; }
.cw-hero-grid > * { min-width: 0; }
.cw-hero h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; margin-bottom: 22px; color: #fff; }
.cw-hero h1 .cw-shine {
  background: var(--cw-grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: cw-shine 6s linear infinite;
}
@keyframes cw-shine { to { background-position: 200% center; } }
.cw-hero-sub { font-size: 18.5px; line-height: 1.7; color: #b5c0dd; max-width: 560px; margin-bottom: 34px; }
.cw-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.cw-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 14px;
  font-weight: 700; font-size: 15.5px; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.cw-btn-glow { background: var(--cw-grad-solid); color: #fff; box-shadow: 0 10px 30px rgba(99,102,241,.45), inset 0 1px 0 rgba(255,255,255,.25); }
.cw-btn-glow:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(99,102,241,.6); }
.cw-btn-glass { color: #fff; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); }
.cw-btn-glass:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }
.cw-btn-dark { background: var(--cw-ink); color: #fff; }
.cw-btn-dark:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15,23,42,.3); }

.cw-hero-stats { display: flex; flex-wrap: wrap; gap: 30px; }
.cw-hero-stats div { display: flex; flex-direction: column; }
.cw-hero-stats strong { font-size: 26px; font-weight: 800; color: #fff; }
.cw-hero-stats span { font-size: 13px; color: #8f9bbd; }

/* ---------- Mock workspace window ---------- */
.cw-mock-wrap { position: relative; perspective: 1600px; }
.cw-mock {
  position: relative; border-radius: 20px; overflow: hidden;
  background: #0f1a36; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(99,102,241,.15), 0 0 80px rgba(79,70,229,.25);
  transform: rotateY(-8deg) rotateX(4deg); transition: transform .6s ease;
}
.cw-mock-wrap:hover .cw-mock { transform: rotateY(0) rotateX(0); }
.cw-mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #0a1329; border-bottom: 1px solid rgba(255,255,255,.07); }
.cw-mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; }
.cw-mock-bar i:nth-child(2) { background: #f59e0b; } .cw-mock-bar i:nth-child(3) { background: #10b981; }
.cw-mock-bar span { margin-left: 12px; font-size: 11.5px; color: #7d8ab0; background: rgba(255,255,255,.05); padding: 4px 12px; border-radius: 6px; }
.cw-mock-body { display: grid; grid-template-columns: 150px 1fr; min-height: 360px; }
.cw-mock-side { background: #0b1530; padding: 14px 10px; border-right: 1px solid rgba(255,255,255,.06); }
.cw-mock-side p { font-size: 10px; text-transform: uppercase; letter-spacing: .8px; color: #5d6b93; margin: 6px 8px 8px; }
.cw-mock-side a { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #aab5d6; padding: 7px 8px; border-radius: 8px; }
.cw-mock-side a.on { background: rgba(99,102,241,.22); color: #fff; }
.cw-dot { width: 8px; height: 8px; border-radius: 3px; flex: none; }
.cw-mock-main { padding: 16px; }
.cw-search { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 9px 12px; font-size: 12px; color: #c6d0ec; margin-bottom: 14px; }
.cw-search em { margin-left: auto; font-style: normal; font-size: 10px; color: #a5b4fc; background: rgba(99,102,241,.2); padding: 2px 8px; border-radius: 999px; }
.cw-typing { border-right: 2px solid #a5b4fc; white-space: nowrap; overflow: hidden; animation: cw-type 4s steps(32) infinite alternate, cw-caret .8s step-end infinite; max-width: 32ch; }
@keyframes cw-type { from { max-width: 0; } to { max-width: 32ch; } }
@keyframes cw-caret { 50% { border-color: transparent; } }
.cw-client { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cw-avatar { width: 32px; height: 32px; border-radius: 10px; background: var(--cw-grad-solid); display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; }
.cw-client b { font-size: 13px; color: #fff; display: block; } .cw-client small { font-size: 10.5px; color: #7d8ab0; }
.cw-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.cw-chips span { font-size: 10.5px; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.07); color: #c6d0ec; border: 1px solid rgba(255,255,255,.08); }
.cw-row { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; background: rgba(255,255,255,.035); margin-bottom: 7px; font-size: 11.5px; color: #dfe5f7; }
.cw-row svg { color: #93c5fd; }
.cw-st { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.cw-st.ok { background: rgba(16,185,129,.18); color: #6ee7b7; }
.cw-st.wait { background: rgba(245,158,11,.18); color: #fcd34d; }
.cw-st.rev { background: rgba(99,102,241,.22); color: #c7d2fe; }

.cw-toast {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
  background: rgba(255,255,255,.96); color: var(--cw-ink); font-size: 12.5px; font-weight: 700;
  box-shadow: 0 18px 40px rgba(0,0,0,.35); animation: cw-bob 6s ease-in-out infinite; z-index: 2; white-space: nowrap;
}
.cw-toast small { display: block; font-weight: 500; color: var(--cw-muted); font-size: 11px; }
.cw-toast .cw-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; flex: none; }
.cw-toast-1 { top: -22px; left: -34px; }
.cw-toast-2 { bottom: 64px; right: -30px; animation-delay: -2s; }
.cw-toast-3 { bottom: -24px; left: 18%; animation-delay: -4s; }
@keyframes cw-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* =========================== MARQUEE =========================== */
.cw-marquee { background: var(--cw-navy-2); border-top: 1px solid rgba(255,255,255,.06); padding: 18px 0; overflow: hidden; }
.cw-marquee-track { display: flex; gap: 46px; width: max-content; animation: cw-scroll 38s linear infinite; }
.cw-marquee:hover .cw-marquee-track { animation-play-state: paused; }
.cw-marquee span { display: inline-flex; align-items: center; gap: 12px; color: #9fb0da; font-weight: 700; font-size: 15px; white-space: nowrap; }
.cw-marquee span::before { content: "✦"; color: #818cf8; }
@keyframes cw-scroll { to { transform: translateX(-50%); } }

/* =========================== BENTO =========================== */
.cw-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, auto); gap: 20px; }
.cw-tile {
  position: relative; overflow: hidden; border-radius: 22px; padding: 28px; background: #fff;
  border: 1px solid var(--cw-line); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.cw-tile:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(30,41,90,.12); border-color: #c7d2fe; }
.cw-tile::after { /* glow follows hover */
  content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; right: -90px; top: -90px;
  background: radial-gradient(circle, var(--cw-tile-glow, rgba(99,102,241,.18)), transparent 70%);
  transition: transform .5s ease; pointer-events: none;
}
.cw-tile:hover::after { transform: scale(1.4); }
.cw-tile h3 { font-size: 20px; font-weight: 800; margin: 18px 0 10px; letter-spacing: -.01em; }
.cw-tile p { color: var(--cw-muted); line-height: 1.65; font-size: 15px; }
.cw-ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 22px var(--cw-ico-shadow, rgba(99,102,241,.35)); }
.cw-span-2 { grid-column: span 2; }
.cw-row-2 { grid-row: span 2; }
.cw-tile-dark { background: linear-gradient(160deg, #111b3d 0%, #0a1229 100%); color: #fff; border-color: transparent; }
.cw-tile-dark p { color: #a9b5d8; }
.cw-tile-dark h3 { color: #fff; }
.cw-mini-list { margin-top: 18px; display: grid; gap: 9px; }
.cw-mini-list li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: inherit; }
.cw-mini-list li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 6px; background: rgba(16,185,129,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; }
.cw-tile-dark .cw-mini-list li { color: #d7def3; }

.cw-flow-mini { display: flex; align-items: center; gap: 6px; margin-top: 20px; flex-wrap: wrap; }
.cw-flow-mini span { font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: #eef2ff; color: #4338ca; }
.cw-flow-mini i { color: #a5b4fc; font-style: normal; }

/* =========================== FEATURE EXPLORER =========================== */
.cw-explorer { display: grid; grid-template-columns: 290px 1fr; gap: 28px; align-items: start; }
.cw-tabs { display: grid; gap: 8px; position: sticky; top: 120px; }
.cw-tab {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px 16px; border-radius: 14px;
  background: #fff; border: 1px solid var(--cw-line); font: inherit; font-weight: 700; font-size: 15px; color: var(--cw-ink);
  cursor: pointer; transition: all .25s ease;
}
.cw-tab small { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--cw-muted); background: var(--cw-soft); padding: 2px 9px; border-radius: 999px; }
.cw-tab:hover { border-color: #c7d2fe; transform: translateX(4px); }
.cw-tab[aria-selected="true"] { background: var(--cw-grad-solid); color: #fff; border-color: transparent; box-shadow: 0 12px 26px rgba(99,102,241,.35); }
.cw-tab[aria-selected="true"] small { background: rgba(255,255,255,.2); color: #fff; }
.cw-tab:focus-visible { outline: 3px solid #a5b4fc; outline-offset: 2px; }
.cw-panel { background: #fff; border: 1px solid var(--cw-line); border-radius: 24px; padding: 34px; box-shadow: 0 20px 50px rgba(30,41,90,.06); animation: cw-in .45s ease; }
.cw-panel[hidden] { display: none; }
@keyframes cw-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.cw-panel h3 { font-size: 26px; font-weight: 800; margin-bottom: 8px; letter-spacing: -.01em; }
.cw-panel > p { color: var(--cw-muted); margin-bottom: 26px; line-height: 1.65; }
.cw-fgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cw-f { display: flex; gap: 14px; padding: 16px; border-radius: 14px; background: var(--cw-soft); border: 1px solid transparent; transition: border-color .2s ease, background .2s ease; }
.cw-f:hover { border-color: #c7d2fe; background: #fff; }
.cw-f .cw-fi { width: 38px; height: 38px; border-radius: 11px; background: #fff; display: grid; place-items: center; color: var(--cw-indigo); flex: none; box-shadow: 0 4px 12px rgba(30,41,90,.08); }
.cw-f b { display: block; font-size: 15px; margin-bottom: 3px; }
.cw-f span { font-size: 13.5px; color: var(--cw-muted); line-height: 1.55; }

/* =========================== WORKFLOW =========================== */
.cw-dark { background: var(--cw-navy); color: #fff; overflow: hidden; }
.cw-dark .cw-title { color: #fff; }
.cw-dark .cw-sub { color: #a9b5d8; }
.cw-dark .cw-eyebrow { background: rgba(129,140,248,.15); color: #c7d2fe; }
.cw-flow { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cw-flow::before {
  content: ""; position: absolute; top: 36px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, transparent, #6366f1, #22d3ee, #6366f1, transparent); background-size: 200% 100%;
  animation: cw-flowline 4s linear infinite;
}
@keyframes cw-flowline { to { background-position: -200% 0; } }
.cw-step { position: relative; text-align: center; }
.cw-step-ic {
  width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 22px; display: grid; place-items: center;
  background: linear-gradient(160deg, #1a2652, #0e1734); border: 1px solid rgba(129,140,248,.35); color: #a5b4fc;
  box-shadow: 0 0 0 6px var(--cw-navy), 0 14px 30px rgba(0,0,0,.4); position: relative; transition: transform .3s ease, color .3s ease;
}
.cw-step:hover .cw-step-ic { transform: translateY(-6px) scale(1.05); color: #fff; background: var(--cw-grad-solid); }
.cw-step-ic em { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; background: var(--cw-cyan); color: #04202a; font-style: normal; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.cw-step h4 { font-size: 16.5px; font-weight: 800; margin-bottom: 8px; color: #fff; }
.cw-step p { font-size: 13.5px; color: #9fabcf; line-height: 1.6; }

/* =========================== SECURITY =========================== */
.cw-sec { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.cw-shield {
  position: relative; width: 100%; aspect-ratio: 1; max-width: 440px; margin: 0 auto; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #eef2ff 0%, #fff 62%);
  display: grid; place-items: center;
}
.cw-shield::before, .cw-shield::after { content: ""; position: absolute; inset: 8%; border-radius: 50%; border: 1.5px dashed #c7d2fe; animation: cw-spin 40s linear infinite; }
.cw-shield::after { inset: 22%; border-style: solid; border-color: #e0e7ff; animation-direction: reverse; animation-duration: 28s; }
@keyframes cw-spin { to { transform: rotate(360deg); } }
.cw-shield-core { width: 42%; aspect-ratio: 1; border-radius: 32px; background: var(--cw-grad-solid); display: grid; place-items: center; color: #fff; box-shadow: 0 30px 60px rgba(99,102,241,.45); z-index: 1; }
.cw-orbit { position: absolute; display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; background: #fff; border: 1px solid var(--cw-line); padding: 8px 12px; border-radius: 999px; box-shadow: 0 10px 24px rgba(30,41,90,.1); z-index: 2; white-space: nowrap; }
.cw-orbit i { width: 8px; height: 8px; border-radius: 50%; background: var(--cw-green); box-shadow: 0 0 0 4px rgba(16,185,129,.18); }
.cw-o1 { top: 6%; left: 50%; transform: translateX(-50%); }
.cw-o2 { top: 40%; right: -4%; } .cw-o3 { bottom: 8%; right: 12%; }
.cw-o4 { bottom: 8%; left: 8%; } .cw-o5 { top: 40%; left: -6%; }
.cw-sec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cw-sec-item { padding: 20px; border-radius: 16px; border: 1px solid var(--cw-line); background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.cw-sec-item:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(30,41,90,.09); }
.cw-sec-item b { display: flex; align-items: center; gap: 10px; font-size: 15.5px; margin-bottom: 6px; }
.cw-sec-item b svg { color: var(--cw-indigo); flex: none; }
.cw-sec-item p { font-size: 13.8px; color: var(--cw-muted); line-height: 1.6; }

/* =========================== PRACTICE AREAS =========================== */
.cw-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cw-area { position: relative; padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--cw-line); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.cw-area::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--cw-accent, var(--cw-indigo)); transition: width .35s ease; }
.cw-area:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(30,41,90,.1); }
.cw-area:hover::before { width: 8px; }
.cw-area-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cw-area h3 { font-size: 19px; font-weight: 800; }
.cw-area .cw-tag { font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; color: var(--cw-accent, var(--cw-indigo)); background: color-mix(in srgb, var(--cw-accent, #6366f1) 12%, white); }
.cw-area p { color: var(--cw-muted); font-size: 14.5px; line-height: 1.65; }

/* =========================== BEFORE / AFTER =========================== */
.cw-vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch; }
.cw-vs-card { border-radius: 24px; padding: 32px; }
.cw-vs-old { background: #fff6f6; border: 1px solid #fde2e2; }
.cw-vs-new { background: linear-gradient(160deg, #111b3d, #0a1229); color: #fff; box-shadow: 0 30px 60px rgba(15,23,42,.25); }
.cw-vs-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.cw-vs-card ul { display: grid; gap: 13px; }
.cw-vs-card li { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; }
.cw-vs-old li { color: #7f3a3a; }
.cw-vs-old li::before { content: "✕"; color: var(--cw-rose); font-weight: 800; flex: none; }
.cw-vs-new li { color: #dbe3fa; }
.cw-vs-new li::before { content: "✓"; color: #34d399; font-weight: 800; flex: none; }
.cw-vs-mid { display: grid; place-items: center; }
.cw-vs-mid span { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--cw-grad-solid); color: #fff; font-weight: 800; box-shadow: 0 14px 30px rgba(99,102,241,.45); }

/* =========================== TESTIMONIALS =========================== */
.cw-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cw-quote { display: flex; flex-direction: column; padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--cw-line); transition: transform .3s ease, box-shadow .3s ease; }
.cw-quote:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(30,41,90,.1); }
.cw-quote.cw-quote-hl { background: var(--cw-grad-solid); color: #fff; border-color: transparent; }
.cw-stars { color: var(--cw-amber); letter-spacing: 3px; font-size: 15px; margin-bottom: 14px; }
.cw-quote blockquote { font-size: 15.5px; line-height: 1.7; flex: 1; margin-bottom: 22px; }
.cw-quote-hl .cw-stars { color: #fde68a; }
.cw-person { display: flex; align-items: center; gap: 12px; }
.cw-initials { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--cw-ink); flex: none; }
.cw-quote-hl .cw-initials { background: rgba(255,255,255,.2); }
.cw-person b { display: block; font-size: 15px; }
.cw-person small { color: var(--cw-muted); font-size: 13px; }
.cw-quote-hl .cw-person small { color: #dbe3ff; }

/* =========================== PRICING =========================== */
.cw-price-wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: stretch; max-width: 1040px; margin: 0 auto; }
.cw-price {
  position: relative; border-radius: 26px; padding: 38px; overflow: hidden;
  background: linear-gradient(160deg, #111b3d, #0a1229); color: #fff; box-shadow: 0 34px 70px rgba(15,23,42,.3);
}
.cw-price::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--cw-grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.cw-price-badge { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(129,140,248,.2); color: #c7d2fe; margin-bottom: 16px; }
.cw-price h3 { font-size: 24px; font-weight: 800; margin-bottom: 6px; color: #fff; }
.cw-price-amt { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 6px; }
.cw-price-amt strong { font-size: 58px; font-weight: 800; letter-spacing: -.03em; background: var(--cw-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cw-price-amt span { color: #a9b5d8; font-weight: 600; }
.cw-price-note { color: #a9b5d8; font-size: 14px; margin-bottom: 24px; }
.cw-price-feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; margin: 26px 0 0; }
.cw-price-feats li { display: flex; gap: 10px; font-size: 14px; color: #dbe3fa; }
.cw-price-feats li::before { content: "✓"; color: #34d399; font-weight: 800; }
.cw-price-side { border-radius: 26px; padding: 38px; background: #fff; border: 1px solid var(--cw-line); display: flex; flex-direction: column; }
.cw-price-side h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.cw-price-side > p { color: var(--cw-muted); margin-bottom: 18px; line-height: 1.6; }
.cw-price-side .cw-big { font-size: 30px; font-weight: 800; margin-bottom: 18px; }
.cw-price-side ul { display: grid; gap: 10px; margin-bottom: 26px; flex: 1; }
.cw-price-side li { display: flex; gap: 10px; font-size: 14.5px; color: #334155; }
.cw-price-side li::before { content: "✓"; color: var(--cw-indigo); font-weight: 800; }

/* =========================== FAQ =========================== */
.cw-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.cw-faq details { border: 1px solid var(--cw-line); border-radius: 16px; background: #fff; transition: box-shadow .25s ease, border-color .25s ease; }
.cw-faq details[open] { border-color: #c7d2fe; box-shadow: 0 14px 30px rgba(30,41,90,.07); }
.cw-faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 700; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cw-faq summary::-webkit-details-marker { display: none; }
.cw-faq summary::after { content: "+"; width: 30px; height: 30px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--cw-soft); color: var(--cw-indigo); font-size: 20px; transition: transform .3s ease; }
.cw-faq details[open] summary::after { transform: rotate(45deg); background: var(--cw-grad-solid); color: #fff; }
.cw-faq details p { padding: 0 22px 20px; color: var(--cw-muted); line-height: 1.7; }

/* =========================== FINAL CTA =========================== */
.cw-cta { padding: 0 0 110px; }
.cw-cta-box {
  position: relative; overflow: hidden; border-radius: 30px; padding: 70px 40px; text-align: center; color: #fff;
  background: radial-gradient(600px 300px at 15% 0%, #4f46e5 0%, transparent 70%),
              radial-gradient(600px 300px at 85% 100%, #0891b2 0%, transparent 70%), var(--cw-navy);
}
.cw-cta-box h2 { font-size: clamp(28px, 4.2vw, 46px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; color: #fff; }
.cw-cta-box p { color: #b5c0dd; font-size: 17.5px; max-width: 640px; margin: 0 auto 30px; line-height: 1.7; }
.cw-cta-box .cw-hero-cta { justify-content: center; margin-bottom: 18px; }
.cw-cta-box small { color: #8f9bbd; }

/* =========================== RESPONSIVE =========================== */
@media (max-width: 1080px) {
  .cw-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 70px; }
  .cw-mock { transform: none; }
  .cw-bento { grid-template-columns: repeat(2, 1fr); }
  .cw-row-2 { grid-row: auto; }
  .cw-flow { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .cw-flow::before { display: none; }
  .cw-sec { grid-template-columns: 1fr; }
  .cw-explorer { grid-template-columns: 1fr; }
  .cw-tabs { position: static; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .cw-section { padding: 80px 0; }
  .cw-areas, .cw-quotes { grid-template-columns: 1fr 1fr; }
  .cw-vs { grid-template-columns: 1fr; }
  .cw-vs-mid span { transform: rotate(90deg); }
  .cw-price-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cw-hero { padding: 150px 0 80px; }
  .cw-hero .container, .cw-page .cw-section .container { padding-left: 16px; padding-right: 16px; }
  .cw-bento, .cw-areas, .cw-quotes, .cw-fgrid, .cw-sec-list, .cw-price-feats, .cw-mock-body { grid-template-columns: minmax(0, 1fr); }
  .cw-typing { max-width: 22ch; }
  @keyframes cw-type { from { max-width: 0; } to { max-width: 22ch; } }
  .cw-toast { white-space: normal; max-width: 210px; }
  .cw-span-2 { grid-column: auto; }
  .cw-tabs { grid-template-columns: 1fr; }
  .cw-flow { grid-template-columns: 1fr 1fr; }
  .cw-mock-body { grid-template-columns: 1fr; }
  .cw-mock-side { display: none; }
  .cw-toast-1 { left: 0; } .cw-toast-2 { right: 0; } .cw-toast-3 { left: 8%; }
  .cw-panel, .cw-price, .cw-price-side, .cw-vs-card { padding: 24px; }
  .cw-orbit { font-size: 11px; padding: 6px 9px; }
  .cw-o2 { right: 0; } .cw-o5 { left: 0; }
  .cw-cta-box { padding: 50px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .cw-page *, .cw-page *::before, .cw-page *::after { animation: none !important; transition: none !important; }
  .cw-page [data-aos] { opacity: 1; transform: none; }
  .cw-typing { max-width: none; border: 0; }
}
