/* ===== HERO TABS — clickable fix ===== */
.hero-showcase {
  position: relative;
  z-index: 5;
  isolation: isolate;
}
.hero-product-tabs {
  position: relative;
  z-index: 100;
  pointer-events: auto;
}
.hero-showcase .hero-devices {
  position: relative;
  z-index: 1;
}
.hero-product-tab {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* ===== HERO — compact iMessage ===== */
.hero-imsg {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', sans-serif;
  overflow: hidden;
}
.hero-imsg-top {
  padding: 6px 12px 8px;
  text-align: center;
  border-bottom: 0.5px solid rgba(0,0,0,0.08);
  background: rgba(249,249,249,0.96);
  flex-shrink: 0;
}
.hero-imsg-top .avatar {
  width: 32px; height: 32px; border-radius: 50%; margin: 0 auto 3px;
  background: linear-gradient(135deg, #EA580C, #C2410C);
  color: #fff; font-weight: 700; font-size: 12px; line-height: 32px;
}
.hero-imsg-top .name { font-size: 11px; font-weight: 600; color: #000; }
.hero-imsg-chat {
  flex: 1; padding: 10px 12px; display: flex; flex-direction: column; gap: 5px;
}
.hero-imsg-bubble {
  max-width: 82%; padding: 7px 11px; font-size: 12px; line-height: 1.32;
  border-radius: 16px; letter-spacing: -0.01em;
}
.hero-imsg-bubble.them { align-self: flex-start; background: #E9E9EB; color: #000; border-bottom-left-radius: 5px; }
.hero-imsg-bubble.me { align-self: flex-end; background: #007AFF; color: #fff; border-bottom-right-radius: 5px; }
.hero-imsg-footnote { text-align: center; font-size: 10px; color: #8E8E93; margin-top: 6px; }

/* ===== SCROLL PHONE — iMessage ===== */
.ss-screen--imsg { background: #fff; font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', sans-serif; }
.ss-imsg-top { padding: 6px 16px 10px; text-align: center; border-bottom: 0.5px solid rgba(0,0,0,0.08); background: rgba(249,249,249,0.94); backdrop-filter: blur(20px); }
.ss-imsg-top .back { position: absolute; left: 12px; top: 8px; color: #007AFF; font-size: 28px; font-weight: 300; line-height: 1; }
.ss-imsg-top .avatar { width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 4px; background: linear-gradient(135deg, #EA580C, #C2410C); color: #fff; font-weight: 700; font-size: 16px; line-height: 44px; }
.ss-imsg-top .name { font-size: 12px; font-weight: 500; color: #000; }
.ss-imsg-chat { flex: 1; padding: 12px 14px 20px; display: flex; flex-direction: column; gap: 6px; background: #fff; overflow: hidden; }
.ss-imsg-day { text-align: center; font-size: 11px; color: #8E8E93; margin: 4px 0 8px; }
.ss-imsg-bubble { max-width: 78%; padding: 9px 14px; font-size: 15px; line-height: 1.32; letter-spacing: -0.01em; border-radius: 18px; word-wrap: break-word; box-shadow: 0 1px 1px rgba(0,0,0,0.04); }
.ss-imsg-bubble.them { align-self: flex-start; background: #E9E9EB; color: #000; border-bottom-left-radius: 6px; }
.ss-imsg-bubble.me { align-self: flex-end; background: #007AFF; color: #fff; border-bottom-right-radius: 6px; }
.ss-imsg-footnote { text-align: center; font-size: 11px; color: #8E8E93; margin-top: 8px; padding: 0 8px; }

/* ===== SCROLL PHONE — iOS Lock Screen ===== */
.ss-screen--lock { color: #fff; overflow: hidden; }
.ss-lock-wallpaper {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 100%),
    url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=800&q=80') center 35% / cover no-repeat;
}
.ss-lock-ui { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; padding: 14px 14px 20px; }
.ss-lock-status { display: flex; justify-content: flex-end; gap: 5px; padding: 4px 6px 0; opacity: 0.95; }
.ss-lock-clock { text-align: center; margin-top: 18px; }
.ss-lock-clock .time { font-size: 68px; font-weight: 300; letter-spacing: -0.04em; line-height: 1; text-shadow: 0 2px 20px rgba(0,0,0,0.35); }
.ss-lock-clock .date { font-size: 15px; font-weight: 500; margin-top: 4px; opacity: 0.88; text-shadow: 0 1px 8px rgba(0,0,0,0.3); }
.ss-lock-stack { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding-bottom: 8px; }
.ss-lock-notif {
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  border-radius: 18px;
  padding: 11px 13px;
  border: 0.5px solid rgba(255,255,255,0.28);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  opacity: 0;
  transform: translateY(24px) scale(0.94);
}
.ss-lock-stack.is-animate .ss-lock-notif { animation: ssNotifIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.ss-lock-stack.is-animate .ss-lock-notif:nth-child(1) { animation-delay: 0.08s; }
.ss-lock-stack.is-animate .ss-lock-notif:nth-child(2) { animation-delay: 0.22s; }
.ss-lock-stack.is-animate .ss-lock-notif:nth-child(3) { animation-delay: 0.36s; }
@keyframes ssNotifIn { to { opacity: 1; transform: translateY(0) scale(1); } }
.ss-lock-notif-head { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.ss-lock-notif-icon { width: 22px; height: 22px; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 11px; font-weight: 800; }
.ss-lock-notif-icon--msg { background: #34C759; color: #fff; }
.ss-lock-notif-icon--wa { background: #25D366; color: #fff; }
.ss-lock-notif-app { flex: 1; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.78; }
.ss-lock-notif-time { font-size: 11px; opacity: 0.5; }
.ss-lock-notif-title { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.ss-lock-notif-body { font-size: 13px; line-height: 1.35; opacity: 0.82; }
.ss-lock-notif--peek { text-align: center; font-size: 12px; opacity: 0.65; padding: 10px; background: rgba(0,0,0,0.22); }
.ss-lock-shortcuts { display: flex; justify-content: space-between; padding: 0 8px; margin-top: 6px; }
.ss-lock-shortcut { width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,0.35); backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: center; font-size: 18px; }

/* ===== SCROLL PHONE — WhatsApp ===== */
.ss-screen--wa { background: #ECE5DD; font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Inter', sans-serif; display: flex; flex-direction: column; }
.ss-wa-header { background: #128C7E; padding: 10px 12px 12px; display: flex; align-items: center; gap: 10px; color: #fff; flex-shrink: 0; }
.ss-wa-back { font-size: 26px; font-weight: 300; line-height: 1; opacity: 0.95; }
.ss-wa-avatar { width: 36px; height: 36px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ss-wa-avatar svg { width: 20px; height: 20px; fill: #fff; }
.ss-wa-meta { flex: 1; min-width: 0; }
.ss-wa-name { font-size: 15px; font-weight: 600; line-height: 1.2; }
.ss-wa-sub { font-size: 11px; opacity: 0.82; margin-top: 1px; }
.ss-wa-body {
  flex: 1; padding: 12px 10px 16px; display: flex; flex-direction: column; gap: 6px; overflow: hidden;
  background-image: radial-gradient(rgba(0,0,0,0.045) 1px, transparent 1px);
  background-size: 22px 22px;
}
.ss-wa-day { align-self: center; background: rgba(255,255,255,0.85); padding: 3px 10px; border-radius: 6px; font-size: 10px; color: #667; margin-bottom: 4px; }
.ss-wa-incoming { align-self: flex-start; max-width: 82%; background: #fff; border-radius: 8px; border-top-left-radius: 2px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
.ss-wa-photo { height: 100px; background: linear-gradient(135deg, #7a8f99, #4a5a65); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; font-size: 10px; color: rgba(255,255,255,0.9); }
.ss-wa-incoming-text { padding: 6px 8px 2px; font-size: 13px; color: #111; }
.ss-wa-incoming-time { padding: 0 8px 5px; text-align: right; font-size: 9px; color: #999; }
.ss-wa-outgoing { align-self: flex-end; max-width: 86%; background: #DCF8C6; border-radius: 8px; border-top-right-radius: 2px; padding: 8px 10px 6px; box-shadow: 0 1px 2px rgba(0,0,0,0.06); }
.ss-wa-outgoing strong { display: block; font-size: 13px; margin-bottom: 4px; }
.ss-wa-quote-box { background: rgba(0,0,0,0.05); border-radius: 6px; padding: 6px 8px; margin-bottom: 6px; }
.ss-wa-quote-box .price { font-size: 16px; font-weight: 700; }
.ss-wa-quote-box .detail { font-size: 10px; color: #555; margin-top: 2px; }
.ss-wa-outgoing-time { text-align: right; font-size: 9px; color: #6a8a6a; margin-top: 4px; }
.ss-wa-inputbar { flex-shrink: 0; padding: 6px 8px 10px; background: #F0F0F0; display: flex; align-items: center; gap: 8px; }
.ss-wa-input { flex: 1; background: #fff; border-radius: 20px; padding: 8px 14px; font-size: 12px; color: #999; }
.ss-wa-mic { width: 36px; height: 36px; border-radius: 50%; background: #128C7E; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; }

/* ===== HERO — WhatsApp quote state ===== */
.hero-wa { flex: 1; display: flex; flex-direction: column; background: #ECE5DD; overflow: hidden; }
.hero-wa-head { background: #128C7E; padding: 8px 10px; display: flex; align-items: center; gap: 8px; color: #fff; font-size: 12px; font-weight: 600; }
.hero-wa-body { flex: 1; padding: 10px; display: flex; flex-direction: column; gap: 6px; background-image: radial-gradient(rgba(0,0,0,0.04) 1px, transparent 1px); background-size: 18px 18px; }
.hero-wa-thumb { height: 72px; background: linear-gradient(135deg, #6b7f8a, #3d4f58); border-radius: 6px 6px 0 0; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #fff; }
.hero-wa-in { align-self: flex-start; background: #fff; border-radius: 8px; border-top-left-radius: 2px; overflow: hidden; max-width: 85%; font-size: 11px; }
.hero-wa-out { align-self: flex-end; background: #DCF8C6; border-radius: 8px; border-top-right-radius: 2px; padding: 8px; max-width: 88%; font-size: 11px; }
.hero-wa-out .price { font-weight: 800; font-size: 14px; display: block; margin-top: 4px; }

/* ===== HERO — lock dispatch ===== */
.hero-lock { flex: 1; position: relative; overflow: hidden; }
.hero-lock-bg { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=600&q=70') center/cover; }
.hero-lock-ui { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; padding: 20px 12px; color: #fff; }
.hero-lock-time { font-size: 42px; font-weight: 300; text-align: center; letter-spacing: -0.03em; margin-top: 12px; }
.hero-lock-notifs { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.hero-lock-notif { background: rgba(255,255,255,0.2); backdrop-filter: blur(20px); border-radius: 14px; padding: 10px 12px; font-size: 11px; border: 0.5px solid rgba(255,255,255,0.25); }
.hero-lock-notif strong { display: block; font-size: 12px; margin-bottom: 2px; }

/* ===== HERO — website chatbot ===== */
.hero-webchat { flex: 1; background: #f4f4f5; display: flex; flex-direction: column; }
.hero-webchat-bar { background: #fff; padding: 8px 10px; border-bottom: 1px solid #e5e5e5; font-size: 10px; color: #666; display: flex; align-items: center; gap: 6px; }
.hero-webchat-bar .dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
.hero-webchat-body { flex: 1; padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; }
.hero-webchat-widget { margin-top: auto; background: #fff; border-radius: 12px; border: 1px solid #e5e5e5; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.hero-webchat-widget-head { background: var(--orange); color: #fff; padding: 10px 12px; font-size: 12px; font-weight: 700; }
.hero-webchat-bubble { margin: 10px; padding: 8px 10px; border-radius: 10px; font-size: 11px; max-width: 88%; }
.hero-webchat-bubble.bot { background: #f4f4f5; align-self: flex-start; }
.hero-webchat-bubble.user { background: var(--orange-light); align-self: flex-end; margin-left: auto; }

.product-card--quote { --product-accent: #25D366; }
.product-card--chatbot { --product-accent: #6366F1; }
.product-card--reviews { --product-accent: #22C55E; }

.scroll-sequence .ss-screen {
  transition: opacity 0.48s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-sequence .ss-screen.ss-screen--lock,
.scroll-sequence .ss-screen.ss-screen--wa {
  display: flex;
  flex-direction: column;
}

.hero-phone-state .hero-lock,
.hero-phone-state .hero-wa,
.hero-phone-state .hero-webchat,
.hero-phone-state .hero-imsg {
  position: absolute;
  inset: 0;
}

.product-suite--six { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .product-suite--six { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .product-suite--six { grid-template-columns: 1fr; } }
