/* ── SPLASH ── */
#splash {
  position: fixed; inset: 0; z-index: 9999;
  background: linear-gradient(160deg, #023E8A 0%, #0077B6 55%, #00B4D8 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 32px 24px; transition: opacity 0.5s, transform 0.5s;
}
#splash.hide { opacity: 0; transform: scale(1.03); pointer-events: none; }
.splash-logo { width: 88px; height: 88px; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 8px 32px rgba(0,0,0,0.28); margin-bottom: 18px; }
.splash-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.splash-title { font-size: 34px; font-weight: 700; letter-spacing: -0.5px; text-align: center; margin-bottom: 5px; }
.splash-malt { color: #fff; }
.splash-around { color: #CF142B; }
.splash-flag { display: flex; width: 52px; height: 34px; border-radius: 5px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.45); margin-bottom: 16px; border: 1px solid rgba(255,255,255,0.12); flex-shrink: 0; }
.splash-flag-white { flex: 1; background: #fff; display: flex; align-items: flex-start; justify-content: flex-start; padding: 2px 3px; }
.splash-flag-cross { font-size: 9px; color: #8B0000; line-height: 1; }
.splash-flag-red { flex: 1; background: #CF142B; }
.splash-sub { font-size: 14px; color: rgba(255,255,255,0.6); text-align: center; margin-bottom: 40px; font-weight: 500; }
.splash-who { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 14px; text-align: center; }
.persona-cards { display: flex; flex-direction: column; gap: 11px; width: 100%; max-width: 310px; }
.persona-card { background: rgba(255,255,255,0.11); border: 1.5px solid rgba(255,255,255,0.18); border-radius: var(--r-lg); padding: 15px 18px; display: flex; align-items: center; gap: 14px; cursor: pointer; transition: background 0.18s, transform 0.15s; }
.persona-card:hover { background: rgba(255,255,255,0.2); transform: translateY(-1px); }
.persona-emoji { font-size: 28px; }
.persona-name { font-size: 15px; font-weight: 700; color: #fff; }
.persona-desc { font-size: 11.5px; color: rgba(255,255,255,0.55); margin-top: 2px; font-weight: 500; }
.splash-footer { position: absolute; bottom: 24px; font-size: 10px; color: rgba(255,255,255,0.25); text-align: center; }

/* ── BRAND FLAG LOGO ── */
.brand-flag-logo { display:flex; align-items:stretch; border-radius:12px; overflow:hidden; cursor:pointer; box-shadow:0 2px 12px rgba(0,0,0,0.32); -webkit-tap-highlight-color:transparent; flex-shrink:0; }
.bfl-left { background:#fff; display:flex; align-items:center; justify-content:center; position:relative; padding:4px 6px; }
.bfl-cross { position:absolute; top:3px; left:4px; font-size:8px; color:#8B0000; line-height:1; font-weight:900; }
.bfl-left img { width:44px; height:44px; object-fit:cover; display:block; border-radius:6px; }
.bfl-right { background:#CF142B; display:flex; flex-direction:column; justify-content:center; padding:5px 11px 5px 9px; }
.bfl-name { font-size:16px; font-weight:800; color:#fff; line-height:1.15; letter-spacing:-0.02em; }
.bfl-sub { font-size:9.5px; color:rgba(255,255,255,0.72); font-weight:500; margin-top:1px; }

/* ── SPLASH BRAND LOGO ── */
.splash-brand-logo { display:flex; align-items:stretch; border-radius:20px; overflow:hidden; box-shadow:0 8px 36px rgba(0,0,0,0.45); margin-bottom:36px; }
.sbl-left { background:#fff; display:flex; align-items:center; justify-content:center; position:relative; padding:12px 15px; }
.sbl-cross { position:absolute; top:6px; left:7px; font-size:12px; color:#8B0000; line-height:1; font-weight:900; }
.sbl-left img { width:62px; height:62px; object-fit:cover; display:block; border-radius:11px; }
.sbl-right { background:#CF142B; display:flex; flex-direction:column; justify-content:center; padding:14px 22px 14px 16px; }
.sbl-name { font-size:30px; font-weight:800; color:#fff; line-height:1.1; letter-spacing:-0.03em; }
.sbl-sub { font-size:13px; color:rgba(255,255,255,0.72); font-weight:500; margin-top:4px; }
.persona-pill { margin-left: auto; background: rgba(255,255,255,0.13); border: 1px solid rgba(255,255,255,0.22); border-radius: 20px; padding: 5px 11px; font-size: 10px; font-weight: 700; color: var(--blue-pale); display: flex; align-items: center; gap: 5px; cursor: pointer; flex-shrink: 0; }
/* ── COVER SCREEN ── */
#cover {
  position: fixed; inset: 0; z-index: 10001;
  background: linear-gradient(160deg, #023E8A 0%, #0077B6 55%, #00B4D8 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 24px; padding: 32px;
  transition: opacity 0.5s, transform 0.5s;
}
#cover.hide { opacity: 0; transform: scale(1.04); pointer-events: none; }
.cover-punchline {
  font-size: 17px; font-weight: 600; color: rgba(255,255,255,0.82);
  text-align: center; letter-spacing: -0.01em; line-height: 1.4;
  max-width: 280px;
}

/* ── QUICK TOUR ── */
#tour {
  position: fixed; inset: 0; z-index: 10002;
  background: linear-gradient(160deg, #023E8A 0%, #0077B6 55%, #00B4D8 100%);
  display: flex; flex-direction: column;
  animation: tourFadeIn 0.35s ease;
}
@keyframes tourFadeIn { from { opacity:0; transform:scale(1.03) } to { opacity:1; transform:scale(1) } }
#tour.hide { opacity:0; transform:scale(1.03); transition: opacity 0.35s, transform 0.35s; pointer-events:none; }
.tour-skip {
  position: absolute; top: 18px; right: 20px;
  background: rgba(255,255,255,0.12); border: none; border-radius: 20px;
  color: rgba(255,255,255,0.75); font-size: 12px; font-weight: 600;
  padding: 6px 14px; cursor: pointer; z-index: 1;
}
.tour-slides { flex: 1; position: relative; overflow: hidden; }
.tour-slide {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 52px 28px 16px;
  gap: 20px;
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.tour-slide.active { opacity: 1; transform: translateX(0); pointer-events: auto; }
.tour-slide.exit-left { opacity: 0; transform: translateX(-40px); }

/* Phone frame */
.tour-phone {
  width: 172px; height: 272px; flex-shrink: 0;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 18px 52px rgba(0,0,0,0.38), 0 0 0 1.5px rgba(255,255,255,0.18);
}
.tour-phone-img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

/* Caption row: icon + title */
.tour-caption { text-align: center; }
.tour-caption-row {
  display: flex; align-items: center; justify-content: center; gap: 9px; margin-bottom: 8px;
}
.tour-caption-icon { width: 26px; height: 26px; object-fit: contain; flex-shrink: 0; }
.tour-title {
  font-size: 20px; font-weight: 800; color: #fff;
  letter-spacing: -0.03em; line-height: 1.2;
}
.tour-body {
  font-size: 14px; color: rgba(255,255,255,0.7);
  line-height: 1.55; max-width: 280px; font-weight: 500;
}

/* Essential mini mockup */
.tour-phone-mock { background: #f0f4ff; display: flex; align-items: stretch; }
.tour-mock-essential { width: 100%; padding: 10px 8px; overflow: hidden; font-family: inherit; }
.tme-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 8px; }
.tme-card {
  background: #fff; border-radius: 8px; padding: 8px 6px; text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.tme-num { font-size: 17px; font-weight: 800; color: var(--c); line-height: 1; }
.tme-lbl { font-size: 7px; color: #666; margin-top: 2px; text-transform: uppercase; letter-spacing: 0.4px; }
.tme-sec { font-size: 7px; font-weight: 700; color: #999; text-transform: uppercase; letter-spacing: 0.8px; margin: 6px 0 4px; }
.tme-row { font-size: 9px; color: #333; font-weight: 600; padding: 5px 6px; background: #fff; border-radius: 6px; margin-bottom: 3px; display: flex; justify-content: space-between; align-items: center; }
.tme-row span { color: #888; font-weight: 400; }
.tour-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 28px 36px;
}
.tour-dots { display: flex; gap: 7px; }
.tour-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.3); transition: background 0.25s, width 0.25s;
}
.tour-dot.active { width: 22px; border-radius: 4px; background: #fff; }
.tour-btn {
  background: #fff; color: #023E8A; border: none; border-radius: 24px;
  font-size: 14px; font-weight: 700; padding: 12px 24px;
  cursor: pointer; letter-spacing: -0.01em;
  box-shadow: 0 4px 18px rgba(0,0,0,0.2);
  transition: transform 0.15s, box-shadow 0.15s;
}
.tour-btn:active { transform: scale(0.96); box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
