/* ========== Product Demo — Interactive Mockups ========== */
.demo {
  position: relative;
  background: var(--bg-secondary);
  overflow: hidden;
}

.demo-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 75% 25%, rgba(59, 130, 246, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 45% 40% at 15% 75%, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.demo .container { position: relative; z-index: 1; }

/* Tabs */
.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.demo-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-tab-icon { font-size: 1rem; }

.demo-tab:hover {
  border-color: rgba(59, 130, 246, 0.35);
  color: var(--text-primary);
}

.demo-tab.active {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.45);
}

/* Showcase area — light grid like reference */
.demo-showcase {
  position: relative;
  padding: 48px 32px 56px;
  background:
    linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px),
    linear-gradient(160deg, rgba(219, 234, 254, 0.35) 0%, rgba(239, 246, 255, 0.15) 40%, rgba(15, 23, 42, 0.2) 100%);
  background-size: 32px 32px, 32px 32px, 100% 100%;
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 24px 64px rgba(0, 0, 0, 0.25);
}

.demo-stage {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 560px;
}

.demo-panel {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
  animation: demoFadeIn 0.45s ease;
}

.demo-panel.active { display: flex; }

@keyframes demoFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.demo-device-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Phone frame */
.phone-frame {
  width: 300px;
  background: linear-gradient(145deg, #2a3142 0%, #1a1f2e 100%);
  border: 3px solid rgba(255, 255, 255, 0.14);
  border-radius: 40px;
  padding: 14px 12px 16px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 60px rgba(59, 130, 246, 0.15);
}

.phone-notch {
  width: 90px;
  height: 7px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  margin: 0 auto 10px;
}

.phone-screen {
  position: relative;
  background: #eef2f7;
  border-radius: 28px;
  overflow: hidden;
  height: 520px;
  display: flex;
  flex-direction: column;
}

/* Mock shell layout */
.mock-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-size: 0.75rem;
  color: #475569;
}

.mock-app-top {
  flex-shrink: 0;
  padding: 14px 14px 12px;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #3b82f6 100%);
  color: #fff;
}

.mock-app-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.mock-app-top h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.mock-icon-btn {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.mock-icon-btn:hover { background: rgba(255, 255, 255, 0.25); }

.mock-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.6875rem;
}

.mock-view {
  display: none;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}

.mock-view.active {
  display: flex;
}

/* Scrollable area */
.mock-scroll-area {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 12px 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(37, 99, 235, 0.4) transparent;
}

.mock-scroll-area::-webkit-scrollbar { width: 4px; }
.mock-scroll-area::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.35);
  border-radius: 4px;
}

.mock-scroll-area.is-scrolled {
  box-shadow: inset 0 4px 8px -4px rgba(0, 0, 0, 0.06);
}

/* Quick action row */
.mock-quick-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.mock-quick-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
  background: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: var(--font);
}

.mock-quick-btn span { font-size: 1.25rem; }
.mock-quick-btn small { font-size: 0.625rem; color: #64748b; font-weight: 500; }

.mock-quick-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.mock-quick-btn.c-blue span { filter: none; }

/* List cards */
.mock-list-card,
.mock-profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.mock-list-card:hover,
.mock-profile-card:hover,
.mock-stats-grid > div:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12);
}

.mock-list-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.mock-list-icon.c-blue { background: #dbeafe; }
.mock-list-icon.c-orange { background: #ffedd5; }
.mock-list-icon.c-green { background: #dcfce7; }
.mock-list-icon.c-purple { background: #ede9fe; }

.mock-list-body { flex: 1; min-width: 0; }
.mock-list-body strong {
  display: block;
  font-size: 0.8125rem;
  color: #1e293b;
  margin-bottom: 2px;
}
.mock-list-body small { font-size: 0.6875rem; color: #94a3b8; }

.mock-chevron {
  color: #cbd5e1;
  font-size: 1.25rem;
  font-weight: 300;
}

.mock-badge-num {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: #ef4444;
  border-radius: 10px;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-profile-card {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: #fff;
}

.mock-profile-card strong { color: #fff; }
.mock-profile-card small { color: rgba(255, 255, 255, 0.75); }

.mock-avatar {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.mock-avatar.lg { width: 56px; height: 56px; font-size: 1.5rem; }

.mock-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.mock-stats-grid > div {
  padding: 12px 8px;
  background: #fff;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.mock-stats-grid strong {
  display: block;
  font-size: 1.125rem;
  color: #2563eb;
  font-weight: 700;
}

.mock-stats-grid small { font-size: 0.625rem; color: #94a3b8; }

/* Message view */
.mock-msg-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.mock-msg-tabs button {
  padding: 6px 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-size: 0.6875rem;
  font-family: var(--font);
  cursor: pointer;
  color: #64748b;
}

.mock-msg-tabs button.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.mock-msg-item {
  padding: 14px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mock-msg-item.unread { border-left: 3px solid #2563eb; }

.mock-msg-item strong {
  display: block;
  font-size: 0.8125rem;
  color: #1e293b;
  margin-bottom: 4px;
}

.mock-msg-item p {
  font-size: 0.6875rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 6px;
}

.mock-msg-item time { font-size: 0.625rem; color: #94a3b8; }

.mock-link-btn {
  display: block;
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  color: #2563eb;
  font-size: 0.75rem;
  font-family: var(--font);
  cursor: pointer;
  margin-top: 8px;
}

/* Mine view */
.mock-mine-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  border-radius: 14px;
  color: #fff;
  margin-bottom: 14px;
}

.mock-mine-header strong { color: #fff; font-size: 0.9375rem; }
.mock-mine-header small { color: rgba(255, 255, 255, 0.8); }

.mock-order-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.mock-order-row > div {
  padding: 12px 6px;
  background: #fff;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mock-order-row span { font-size: 1.125rem; display: block; margin-bottom: 4px; }
.mock-order-row small { font-size: 0.625rem; color: #64748b; }

/* Bottom nav */
.mock-bottom-nav {
  flex-shrink: 0;
  display: flex;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  padding: 6px 0 8px;
}

.mock-bottom-nav button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px;
  background: none;
  border: none;
  font-size: 0.625rem;
  color: #94a3b8;
  font-family: var(--font);
  cursor: pointer;
  transition: color 0.2s;
}

.mock-bottom-nav button span { font-size: 1.125rem; }

.mock-bottom-nav button.active,
.mock-bottom-nav button:hover {
  color: #2563eb;
}

/* Mini program */
.mock-mini-shell .mock-scroll-area { padding-bottom: 8px; }

.mock-mini-search {
  padding: 10px 14px;
  background: #fff;
  border-radius: 20px;
  margin-bottom: 10px;
  font-size: 0.6875rem;
  color: #94a3b8;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mock-mini-banner {
  padding: 12px 14px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 0.75rem;
  color: #92400e;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s;
}

.mock-mini-banner.claimed {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #166534;
}

.mock-mini-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.mock-mini-tags button {
  padding: 5px 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.625rem;
  font-family: var(--font);
  cursor: pointer;
  color: #64748b;
}

.mock-mini-tags button.active {
  background: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
}

.mock-product-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mock-product-thumb {
  width: 48px;
  height: 48px;
  background: #f1f5f9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.mock-product-info { flex: 1; min-width: 0; }
.mock-product-info strong {
  display: block;
  font-size: 0.75rem;
  color: #1e293b;
  margin-bottom: 4px;
}

.mock-price {
  font-size: 0.6875rem;
  color: #ef4444;
  font-weight: 600;
}

.mock-price s {
  color: #94a3b8;
  font-weight: 400;
  margin-left: 4px;
}

.mock-qty {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.mock-qty button {
  width: 24px;
  height: 24px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.875rem;
  cursor: pointer;
  color: #475569;
  line-height: 1;
  font-family: var(--font);
}

.mock-qty button:hover { background: #dbeafe; border-color: #93c5fd; }

.mock-qty-num {
  min-width: 18px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #1e293b;
}

.mock-add-btn {
  padding: 6px 10px;
  background: #2563eb;
  border: none;
  border-radius: 16px;
  color: #fff;
  font-size: 0.625rem;
  font-family: var(--font);
  cursor: pointer;
  white-space: nowrap;
}

.mock-coupon-row {
  padding: 10px 14px;
  background: #fff;
  border-radius: 10px;
  font-size: 0.6875rem;
  color: #64748b;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.mock-coupon-row span { color: #ef4444; font-weight: 600; }

.mock-mini-view {
  display: none;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}

.mock-mini-view.active { display: flex; }

.mock-mini-cartbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  font-size: 0.75rem;
}

.mock-cart-total { color: #ef4444; font-size: 0.9375rem; }

.mock-checkout-btn {
  padding: 8px 16px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border: none;
  border-radius: 20px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.mock-checkout-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

/* Float hint */
.mock-float-hint {
  position: absolute;
  bottom: 24px;
  right: -8px;
  transform: translateX(50%);
  padding: 8px 16px;
  background: linear-gradient(135deg, #1e40af, #2563eb);
  border-radius: 100px;
  color: #fff;
  font-size: 0.6875rem;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
  pointer-events: none;
  animation: hintFloat 3s ease-in-out infinite;
}

.mock-float-hint.desktop-hint {
  position: static;
  transform: none;
  margin-top: 20px;
  animation: none;
}

@keyframes hintFloat {
  0%, 100% { transform: translateX(50%) translateY(0); }
  50% { transform: translateX(50%) translateY(-4px); }
}

/* Ripple */
.mock-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.25);
  transform: scale(0);
  animation: mockRipple 0.6s ease-out;
  pointer-events: none;
}

@keyframes mockRipple {
  to { transform: scale(2.5); opacity: 0; }
}

/* Desktop frame */
.desktop-frame {
  width: 100%;
  max-width: 780px;
  background: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
}

.desktop-titlebar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #e2e8f0, #cbd5e1);
  border-bottom: 1px solid #94a3b8;
  font-size: 0.8125rem;
  color: #334155;
  font-weight: 500;
}

.desktop-dots {
  display: flex;
  gap: 6px;
}

.desktop-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.desktop-dots span:nth-child(1) { background: #ef4444; }
.desktop-dots span:nth-child(2) { background: #f59e0b; }
.desktop-dots span:nth-child(3) { background: #22c55e; }

.desktop-menu {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.desktop-menu button {
  padding: 4px 10px;
  background: transparent;
  border: none;
  font-size: 0.75rem;
  color: #475569;
  font-family: var(--font);
  cursor: pointer;
  border-radius: 4px;
}

.desktop-menu button:hover { background: rgba(0, 0, 0, 0.06); }

.desktop-body {
  display: flex;
  min-height: 420px;
  max-height: 460px;
}

.desktop-sidebar {
  width: 150px;
  flex-shrink: 0;
  padding: 12px 8px;
  background: #1e293b;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-item {
  display: block;
  width: 100%;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-size: 0.75rem;
  color: #94a3b8;
  font-family: var(--font);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}

.sidebar-item:hover,
.sidebar-item.active {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}

.desktop-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px;
  background: #fff;
}

.desktop-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.mock-tool-btn {
  padding: 6px 14px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.75rem;
  color: #475569;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.2s;
}

.mock-tool-btn:hover {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.mock-tool-btn.primary {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.desktop-view {
  display: none;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.desktop-view.active { display: flex; }

.desktop-main-title {
  font-size: 0.9375rem;
  color: #1e293b;
  margin: 0 0 12px;
  flex-shrink: 0;
}

.desktop-scroll {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(37, 99, 235, 0.3) transparent;
}

.desktop-scroll::-webkit-scrollbar { width: 5px; }
.desktop-scroll::-webkit-scrollbar-thumb { background: rgba(37, 99, 235, 0.3); border-radius: 3px; }

.mock-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
}

.mock-table th,
.mock-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

.mock-table th {
  background: #f8fafc;
  color: #64748b;
  font-weight: 600;
  position: sticky;
  top: 0;
}

.mock-table-link {
  background: none;
  border: none;
  color: #2563eb;
  font-size: 0.75rem;
  cursor: pointer;
  font-family: var(--font);
  padding: 0;
}

.mock-table-link:hover { text-decoration: underline; }

.status {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 500;
}

.status.ok { background: #dcfce7; color: #166534; }
.status.warn { background: #fef3c7; color: #92400e; }
.status.info { background: #dbeafe; color: #1d4ed8; }

.mock-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  font-size: 0.75rem;
  color: #64748b;
  flex-shrink: 0;
}

.mock-chart-area {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  min-height: 200px;
}

.mock-chart-bar {
  width: 48px;
  background: linear-gradient(180deg, #3b82f6, #1d4ed8);
  border-radius: 6px 6px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
  transition: height 0.4s ease;
}

.mock-chart-bar span {
  font-size: 0.625rem;
  color: #64748b;
  position: absolute;
  bottom: -20px;
}

.mock-placeholder-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 200px;
  color: #64748b;
  font-size: 0.875rem;
}

/* Web frame */
.web-frame {
  width: 100%;
  max-width: 780px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
  background: #fff;
}

.web-browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #e8eaed;
}

.web-url {
  flex: 1;
  padding: 7px 14px;
  background: #fff;
  border-radius: 16px;
  font-size: 0.6875rem;
  color: #5f6368;
}

.web-chrome {
  display: flex;
  flex-direction: column;
  max-height: 460px;
}

.web-nav {
  display: flex;
  align-items: center;
  padding: 0 20px;
  height: 52px;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #fff;
  flex-shrink: 0;
}

.web-logo {
  font-weight: 700;
  font-size: 0.9375rem;
  margin-right: 24px;
  white-space: nowrap;
}

.web-nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
  flex-wrap: wrap;
}

.web-nav-links button {
  padding: 6px 12px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  font-family: var(--font);
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s;
}

.web-nav-links button:hover,
.web-nav-links button.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.web-cta-btn {
  padding: 8px 18px;
  background: #fff;
  border: none;
  border-radius: 20px;
  color: #1d4ed8;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s;
}

.web-cta-btn:hover { transform: scale(1.04); }

.web-outline-btn {
  padding: 8px 18px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  color: #fff;
  font-size: 0.8125rem;
  font-family: var(--font);
  cursor: pointer;
}

.web-scroll {
  flex: 1;
  overflow-y: auto;
  max-height: 408px;
  scrollbar-width: thin;
  scrollbar-color: rgba(37, 99, 235, 0.3) transparent;
}

.web-scroll::-webkit-scrollbar { width: 5px; }
.web-scroll::-webkit-scrollbar-thumb { background: rgba(37, 99, 235, 0.3); border-radius: 3px; }

.web-page {
  display: none;
  padding: 0 0 24px;
}

.web-page.active { display: block; }

.web-hero-mini {
  padding: 36px 24px;
  text-align: center;
  background: linear-gradient(180deg, #1e3a8a 0%, #2563eb 50%, #f8fafc 50%);
  color: #fff;
}

.web-hero-mini h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.web-hero-mini p {
  font-size: 0.8125rem;
  opacity: 0.9;
  margin-bottom: 16px;
}

.web-hero-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.web-stats-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 28px 24px;
  background: #fff;
}

.web-stats-row > div {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.web-stats-row > div:hover { transform: translateY(-2px); }

.web-stats-row strong {
  display: block;
  font-size: 1.375rem;
  color: #1e40af;
  font-weight: 700;
}

.web-stats-row small {
  font-size: 0.75rem;
  color: #64748b;
}

.web-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 20px 20px;
}

.web-service-card {
  padding: 20px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.web-service-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
  transform: translateY(-2px);
}

.web-service-card strong {
  display: block;
  font-size: 0.8125rem;
  color: #1e293b;
  margin-bottom: 4px;
}

.web-service-card small { font-size: 0.6875rem; color: #64748b; }

.web-cta-banner {
  margin: 0 20px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.web-cta-banner strong { color: #1e40af; font-size: 0.875rem; }
.web-cta-banner span { color: #64748b; font-size: 0.75rem; }

.web-page-title {
  padding: 24px 20px 12px;
  font-size: 1.125rem;
  color: #1e293b;
}

.web-page-text {
  padding: 0 20px 20px;
  color: #64748b;
  line-height: 1.8;
  font-size: 0.875rem;
}

.demo-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 32px;
}

.demo-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 24px;
  background: rgba(6, 11, 24, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 100px;
  color: #93c5fd;
  font-size: 0.875rem;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  max-width: 90vw;
  text-align: center;
}

.demo-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
  .demo-showcase {
    padding: 24px 16px 40px;
  }

  .phone-frame {
    width: 280px;
  }

  .phone-screen {
    height: 480px;
  }

  .mock-float-hint {
    right: 50%;
    bottom: 12px;
    transform: translateX(50%);
    font-size: 0.625rem;
  }

  @keyframes hintFloat {
    0%, 100% { transform: translateX(50%) translateY(0); }
    50% { transform: translateX(50%) translateY(-4px); }
  }

  .desktop-frame,
  .web-frame {
    max-width: 100%;
  }

  .desktop-body {
    flex-direction: column;
    max-height: none;
  }

  .desktop-sidebar {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    padding: 8px;
  }

  .sidebar-item {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .web-service-grid {
    grid-template-columns: 1fr;
  }

  .web-nav {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 16px;
    gap: 8px;
  }

  .web-logo { margin-right: 0; }
}
