/* ══════════════════════════════════════════════════════
   VISUALAURA — UI/UX Design (Product Design Luxury)
   Layers on website-design.css (sections + motion), inquiry-flow.css,
   and branding.css (burgundy theme + FAQ + picker). Adds product
   mockups for the hero, design-system showcase, and case studies.
   ══════════════════════════════════════════════════════ */

/* ── Hero: dashboard (desktop) ── */
.ux-dash { background: #fff; display: flex; height: clamp(220px, 26vw, 320px); }
.ux-dash-side { width: 26%; background: #1d1416; padding: 14px 10px; display: flex; flex-direction: column; gap: 9px; }
.ux-dash-side .logo { width: 60%; height: 9px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--primary-l)); margin-bottom: 8px; }
.ux-dash-side i { display: block; height: 8px; border-radius: 3px; background: rgba(255,255,255,.12); }
.ux-dash-side i.on { background: rgba(201,169,110,.5); width: 86%; }
.ux-dash-main { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ux-dash-top { display: flex; align-items: center; gap: 8px; }
.ux-dash-top .t { height: 9px; width: 90px; border-radius: 3px; background: rgba(110,20,35,.5); }
.ux-dash-top .pill { margin-left: auto; height: 18px; width: 56px; border-radius: 30px; background: var(--primary); }
.ux-dash-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ux-dash-metrics div { height: 42px; border-radius: 8px; background: rgba(110,20,35,.06); border: 1px solid rgba(110,20,35,.08); position: relative; }
.ux-dash-metrics div::after { content: ''; position: absolute; left: 8px; top: 8px; width: 40%; height: 8px; border-radius: 3px; background: rgba(110,20,35,.3); }
.ux-dash-chart { flex: 1; border-radius: 9px; background: rgba(110,20,35,.04); border: 1px solid rgba(110,20,35,.07); display: flex; align-items: flex-end; gap: 7px; padding: 12px; }
.ux-dash-chart span { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--accent), rgba(110,20,35,.35)); }
.ux-dash-chart span:nth-child(even) { background: linear-gradient(180deg, var(--primary), rgba(201,169,110,.35)); }

/* ── Hero: components (tablet) ── */
.wd-dev-tablet .ux-comps { border-radius: 14px; overflow: hidden; }
.ux-comps { background: #fff; padding: 16px; display: flex; flex-direction: column; gap: 11px; }
.ux-comps .ttl { font-family: var(--font-body); font-size: .54rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-l); }
.ux-comps .btn-row { display: flex; gap: 7px; }
.ux-comps .b { height: 24px; border-radius: 7px; flex: 1; }
.ux-comps .b.solid { background: var(--primary); }
.ux-comps .b.out { background: transparent; border: 1.5px solid rgba(110,20,35,.4); }
.ux-comps .field { height: 24px; border-radius: 7px; border: 1.5px solid rgba(110,20,35,.2); }
.ux-comps .toggle-row { display: flex; align-items: center; gap: 8px; }
.ux-comps .toggle { width: 36px; height: 20px; border-radius: 30px; background: var(--primary); position: relative; }
.ux-comps .toggle::after { content: ''; position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.ux-comps .swatches { display: flex; gap: 6px; }
.ux-comps .swatches span { width: 22px; height: 22px; border-radius: 6px; }

/* ── Hero: mobile app (phone) ── */
.wd-dev-phone .ux-app { border-radius: 18px; overflow: hidden; }
.ux-app { background: #fff; display: flex; flex-direction: column; height: 100%; }
.ux-app-head { background: linear-gradient(150deg, var(--primary), #2b1116); padding: 18px 14px 16px; }
.ux-app-head .h { height: 11px; width: 70%; border-radius: 3px; background: rgba(255,255,255,.85); margin-bottom: 6px; }
.ux-app-head .s { height: 7px; width: 50%; border-radius: 3px; background: rgba(255,255,255,.4); }
.ux-app-body { padding: 12px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.ux-app-body .card { height: 40px; border-radius: 9px; background: rgba(110,20,35,.06); border: 1px solid rgba(110,20,35,.08); }
.ux-app-body .card.gold { background: linear-gradient(135deg, var(--accent), #e0c898); border: none; }
.ux-app-nav { display: flex; justify-content: space-around; padding: 10px 0; border-top: 1px solid rgba(110,20,35,.1); }
.ux-app-nav span { width: 18px; height: 18px; border-radius: 6px; background: rgba(110,20,35,.14); }
.ux-app-nav span.on { background: var(--primary); }

/* ── Services number (reuse .wd-types-grid / .wd-type) ── */
.wd-type .ux-num { display: block; font-family: var(--font-head); font-size: 1.05rem; font-weight: 500; color: var(--accent); letter-spacing: .08em; margin-bottom: 14px; }

/* ── Case study mockups (inside .wd-hpanel) ── */
.ux-case { border-radius: 14px; overflow: hidden; height: clamp(220px, 30vw, 280px); border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.ux-case-app { background: linear-gradient(160deg, #2b1116, #6E1423); display: flex; align-items: center; justify-content: center; padding: 24px; }
.ux-case-app .screen { width: 46%; height: 90%; background: #fff; border-radius: 18px; padding: 12px; display: flex; flex-direction: column; gap: 7px; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.ux-case-app .screen .bar { height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--primary), #2b1116); }
.ux-case-app .screen i { height: 9px; border-radius: 3px; background: rgba(110,20,35,.12); }
.ux-case-app .screen i:nth-child(3) { width: 70%; }
.ux-case-dash { background: #fff; display: flex; }
.ux-case-dash .side { width: 24%; background: #1d1416; }
.ux-case-dash .main { flex: 1; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.ux-case-dash .row { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.ux-case-dash .row div { height: 36px; border-radius: 8px; background: rgba(110,20,35,.07); }
.ux-case-dash .chart { flex: 1; border-radius: 9px; background: rgba(110,20,35,.05); display: flex; align-items: flex-end; gap: 8px; padding: 14px; }
.ux-case-dash .chart span { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--accent), rgba(110,20,35,.4)); }
.ux-case-market { background: linear-gradient(160deg, #FBF6EF, #efe3d2); padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ux-case-market div { border-radius: 10px; background: #fff; border: 1px solid rgba(110,20,35,.08); }
.ux-case-market div:nth-child(odd) { background: linear-gradient(135deg, var(--primary), #2b1116); }
.ux-case-booking { background: #fff; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.ux-case-booking .cal { display: grid; grid-template-columns: repeat(7,1fr); gap: 5px; flex: 1; }
.ux-case-booking .cal span { border-radius: 5px; background: rgba(110,20,35,.07); }
.ux-case-booking .cal span.on { background: var(--primary); }
.ux-case-booking .cta { height: 32px; border-radius: 8px; background: linear-gradient(135deg, var(--primary), #54101b); }

/* Problem / Solution / Result list under case caption */
.ux-psr { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.ux-psr div { display: flex; gap: 9px; font-family: var(--font-body); font-size: .82rem; line-height: 1.5; color: var(--text-m); font-weight: 300; }
.ux-psr b { font-family: var(--font-body); font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); flex-shrink: 0; width: 58px; padding-top: 2px; }

/* ══ DESIGN SYSTEM SHOWCASE ══ */
.ux-ds { background: var(--beige); }
.ux-ds-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ux-ds-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.ux-ds-card .lbl { font-family: var(--font-body); font-size: .6rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.ux-ds-type .big { font-family: var(--font-head); font-size: 2.4rem; line-height: 1; color: var(--text); }
.ux-ds-type .mid { font-family: var(--font-head); font-size: 1.5rem; color: var(--text); margin: 8px 0 4px; }
.ux-ds-type .sm { font-family: var(--font-body); font-size: .85rem; color: var(--text-m); }
.ux-ds-color { display: flex; flex-direction: column; gap: 8px; }
.ux-ds-color .row { display: flex; gap: 8px; }
.ux-ds-color span { height: 38px; flex: 1; border-radius: 9px; }
.ux-ds-btns { display: flex; flex-direction: column; gap: 12px; }
.ux-ds-btns .b { padding: 12px; border-radius: 10px; text-align: center; font-family: var(--font-body); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ux-ds-btns .b.solid { background: linear-gradient(135deg, #8a2433, #6E1423); color: #fff; }
.ux-ds-btns .b.out { border: 1.5px solid var(--primary); color: var(--primary); }
.ux-ds-btns .b.ghost { background: rgba(110,20,35,.06); color: var(--primary); }
.ux-ds-comp { display: flex; flex-direction: column; gap: 12px; }
.ux-ds-comp .field { height: 38px; border-radius: 9px; border: 1.5px solid rgba(110,20,35,.2); }
.ux-ds-comp .togg { display: flex; align-items: center; gap: 10px; }
.ux-ds-comp .togg .t { width: 44px; height: 24px; border-radius: 30px; background: var(--primary); position: relative; }
.ux-ds-comp .togg .t::after { content: ''; position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.ux-ds-comp .togg span { font-family: var(--font-body); font-size: .8rem; color: var(--text-m); }
.ux-ds-comp .chips { display: flex; gap: 7px; flex-wrap: wrap; }
.ux-ds-comp .chips span { font-family: var(--font-body); font-size: .68rem; color: var(--primary); background: rgba(110,20,35,.06); border: 1px solid rgba(110,20,35,.16); padding: 5px 12px; border-radius: 30px; }
.ux-ds-widget { display: flex; flex-direction: column; gap: 10px; }
.ux-ds-widget .num { font-family: var(--font-head); font-size: 2rem; color: var(--primary); line-height: 1; }
.ux-ds-widget .num small { font-size: .9rem; color: #3f9d6b; font-family: var(--font-body); margin-left: 6px; }
.ux-ds-widget .bars { display: flex; align-items: flex-end; gap: 6px; height: 60px; }
.ux-ds-widget .bars span { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--accent), rgba(110,20,35,.35)); }
.ux-ds-widget .bars span:nth-child(even) { background: linear-gradient(180deg, var(--primary), rgba(201,169,110,.35)); }

@media (max-width: 860px) { .ux-ds-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
