/* Focused mobile containment: keeps the site inside the viewport and makes
   each accordion, image panel and carousel readable at phone widths. */
html, body { overflow-x: clip; }

.demo-access-gate { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; padding: 1.25rem; background: radial-gradient(circle at 50% 25%, rgba(125, 57, 237, .26), transparent 42%), rgba(8, 8, 13, .94); }
.demo-access-card { width: min(100%, 360px); padding: 1.45rem; border: 1px solid rgba(183, 137, 255, .45); border-radius: 14px; background: rgba(24, 23, 34, .96); box-shadow: 0 20px 55px rgba(0, 0, 0, .55); color: #f5f3ff; }
.demo-access-logo { width: 34px; height: 34px; margin-bottom: .8rem; }
.demo-access-kicker { display: block; color: #c68dff; font-size: .67rem; font-weight: 800; letter-spacing: .12em; }
.demo-access-card h3 { margin: .35rem 0 .45rem; font-size: 1.25rem; }
.demo-access-card p { margin: 0 0 1rem; color: #b7b3c8; font-size: .8rem; line-height: 1.5; }
.demo-access-card label { display: block; margin-bottom: .38rem; color: #d5d0e5; font-size: .76rem; font-weight: 700; }
.demo-access-card input { width: 100%; height: 42px; margin-bottom: .7rem; padding: 0 .75rem; border: 1px solid #4c4560; border-radius: 8px; background: #11111a; color: #fff; font: inherit; outline: none; }
.demo-access-card input:focus { border-color: #a762ff; box-shadow: 0 0 0 3px rgba(167, 98, 255, .16); }
.demo-access-card button { width: 100%; min-height: 42px; border: 0; border-radius: 8px; background: linear-gradient(135deg, #8b3df1, #6421c9); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.demo-access-card .demo-access-error { min-height: 1.15em; margin: .65rem 0 0; color: #ff8ba7; font-size: .72rem; }
.demo-access-gate.is-unlocked { display: none; }

@media (max-width: 768px) {
  .site-shell { width: 100%; overflow: hidden; }
  .app-drawer-bubble-btn { left: 10px; top: 76px; width: 44px; height: 44px; padding: 0; justify-content: center; border: 1px solid rgba(168, 85, 247, .55); border-radius: 50%; }
  .bubble-btn-icon { width: 32px; height: 32px; }
  .bubble-btn-text { display: none; }
  .app-drawer-bubble-btn:hover { transform: none; }
  .hero, .request-card, .tab-pane.active, .comparison-grid, .feature-grid-expanded, .workflow-grid, .stat-strip, .request-form { min-width: 0; }
  .hero-visual, .shot-primary, .tab-preview, .gallery-shot-wrapper, .viewer-screenshot-wrap { max-width: 100%; }
  .collapsible-content-inner, .section-heading, .feature-card-deep, .comparison-card, .workflow-step, .request-card { overflow-wrap: anywhere; }
  .embedded-gallery-grid, .pricing-grid { scroll-padding-inline: 0; }
  .gallery-card-embedded, .pricing-card { min-height: 0; }
  .demo-wrapper { width: 100% !important; max-width: 360px !important; }
  .demo-access-gate { padding: .75rem; }
  .demo-access-card { padding: 1rem; border-radius: 12px; }
  .demo-access-card h3 { font-size: 1.05rem; }
  .demo-access-card p { font-size: .72rem; }
}

@media (max-width: 390px) {
  .container { width: min(100% - .75rem, 1200px); }
  .app-drawer-bubble-btn { top: 68px; left: 8px; width: 40px; height: 40px; }
  .bubble-btn-icon { width: 29px; height: 29px; }
  .demo-access-card { padding: .85rem; }
}
