/* ═══════════════════════════════════════════════════════════════
   VIORA — INDEX HOME STYLES
   Loaded after shared-app.css.
   Only landing-page-specific styles live here:
     - Hero + globe container
     - Stats strip
     - Intent router tiles
     - Tour section (buckets, families, cards)
     - Product strip
     - Subscribe band
     - Ecosystem map
     - Dashboard preview
     - Case strip
   Everything else (nav, buttons, cards, footer, forms, modals,
   carousel, reveal, mobile app-mode) comes from shared-app.css.
   ═══════════════════════════════════════════════════════════════ */

/* ─── HERO ─── */
.hero{
  position:relative;
  padding:140px 0 100px;
  overflow:hidden;
  min-height:88vh;
  display:flex;
  align-items:center;
}
@media (max-width:960px){ .hero{ padding:100px 0 60px; min-height:auto; } }

.hero .wrap{
  position:relative;
  z-index:2;
  width:100%;
}

.hero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:center;
}
@media (max-width:960px){
  .hero-grid{ grid-template-columns:1fr; gap:40px; }
}

.hero h1{
  font-size:clamp(36px,5.2vw,64px);
  line-height:1.05;
  letter-spacing:-.03em;
  margin:0 0 24px;
}
.hero h1 .line{ display:block; }

.hero-sub{
  font-size:clamp(16px,1.4vw,19px);
  color:var(--muted);
  max-width:540px;
  margin:0 0 36px;
  line-height:1.7;
}

.hero-ctas{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.hero-visual{
  position:relative;
  width:100%;
  aspect-ratio:1/1;
  max-width:600px;
  margin-left:auto;
  margin-right:auto;
}
@media (max-width:960px){
  .hero-visual{ max-width:440px; }
}

#globe-container{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  cursor:grab;
  touch-action:none;
  overflow:hidden;
  border-radius:50%;
}
#globe-container:active{ cursor:grabbing; }
#globe-container canvas{ display:block; outline:none; }

.hero-globe-hint{
  position:absolute;
  bottom:-8px;
  left:50%;
  transform:translateX(-50%);
  font-size:11px;
  color:var(--muted);
  white-space:nowrap;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:600;
  opacity:.7;
}

/* ─── STATS STRIP ─── */
.stats-strip{
  padding:48px 0;
  background:var(--bg);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
[data-theme="dark"] .stats-strip{ background:rgba(15,23,42,.5); }

.stats-strip-inner{
  display:flex;
  justify-content:space-around;
  flex-wrap:wrap;
  gap:32px;
  max-width:960px;
  margin:0 auto;
}

.stats-strip-item{
  text-align:center;
  flex:1;
  min-width:120px;
}

.stats-strip-value{
  font-family:'Manrope',sans-serif;
  font-weight:800;
  font-size:clamp(28px,3.6vw,40px);
  letter-spacing:-.03em;
  color:var(--accent);
  line-height:1;
  margin-bottom:8px;
}

.stats-strip-label{
  font-size:12px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--muted);
}

/* ─── INTENT ROUTER ─── */
.intent-router{
  padding:100px 0;
  background:var(--white);
}
@media (max-width:960px){ .intent-router{ padding:64px 0; } }

.intent-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:20px;
  margin-top:48px;
}
@media (max-width:960px){ .intent-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .intent-grid{ grid-template-columns:1fr; } }

.intent-tile{
  display:block;
  padding:32px 24px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:20px;
  text-decoration:none;
  color:inherit;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position:relative;
  overflow:hidden;
  min-height:200px;
}
[data-theme="dark"] .intent-tile{ background:var(--bg-alt); }

.intent-tile::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height:3px;
  background:linear-gradient(90deg,var(--accent),var(--accent-3));
  opacity:0;
  transition:opacity .3s;
}

.intent-tile:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-lg);
  border-color:var(--accent);
}
.intent-tile:hover::before{ opacity:1; }

.intent-icon{
  width:56px;
  height:56px;
  border-radius:14px;
  display:grid;
  place-items:center;
  margin-bottom:20px;
  font-size:24px;
  background:linear-gradient(135deg,rgba(34,103,238,.15),rgba(35,199,217,.15));
  color:var(--accent);
  transition:transform .3s var(--ease-spring);
}
.intent-tile:hover .intent-icon{ transform:scale(1.1) rotate(-3deg); }

.intent-tile h3{
  font-size:19px;
  margin:0 0 8px;
  letter-spacing:-.015em;
}

.intent-tile p{
  font-size:14px;
  color:var(--muted);
  margin:0;
  line-height:1.55;
}

.intent-arrow{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:16px;
  font-size:13px;
  font-weight:700;
  color:var(--accent);
}

/* ─── TOUR ─── */
.tour{
  padding:100px 0;
  background:var(--bg);
}
[data-theme="dark"] .tour{ background:rgba(15,23,42,.5); }
@media (max-width:960px){ .tour{ padding:64px 0; } }

.tour-buckets{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:40px 0 32px;
  padding:6px;
  background:rgba(226,232,240,.5);
  border:1px solid var(--line);
  border-radius:14px;
  max-width:fit-content;
}
[data-theme="dark"] .tour-buckets{ background:rgba(51,65,85,.5); }

.tour-bucket-btn{
  padding:12px 20px;
  border:none;
  background:transparent;
  color:var(--muted);
  border-radius:10px;
  font-family:inherit;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  transition:all .25s var(--ease);
}
.tour-bucket-btn:hover{ color:var(--ink); }
.tour-bucket-btn[aria-selected="true"]{
  background:var(--white);
  color:var(--ink);
  box-shadow:0 2px 8px rgba(10,25,47,.1);
}
[data-theme="dark"] .tour-bucket-btn[aria-selected="true"]{
  background:var(--accent);
  color:#fff;
}

.tour-bucket-panel{ display:none; }
.tour-bucket-panel[data-active="true"]{ display:block; }

.tour-families{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
  margin-bottom:32px;
}
@media (max-width:960px){ .tour-families{ grid-template-columns:1fr; } }

.tour-family{
  padding:24px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:16px;
}
[data-theme="dark"] .tour-family{ background:var(--bg-alt); }

.tour-family h3{
  font-size:18px;
  margin:0 0 6px;
}

.tour-family p{
  font-size:13px;
  color:var(--muted);
  margin:0 0 16px;
  line-height:1.5;
}

.tour-family-list{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.tour-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(34,103,238,.08);
  color:var(--accent);
  font-size:12px;
  font-weight:600;
  cursor:pointer;
  border:1px solid transparent;
  transition:all .2s;
  font-family:inherit;
}
.tour-chip:hover{
  background:var(--accent);
  color:#fff;
  transform:translateY(-1px);
}
.tour-chip i{ font-size:11px; }

.tour-cards{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
}
@media (max-width:960px){ .tour-cards{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .tour-cards{ grid-template-columns:1fr; } }

.tour-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:18px;
  padding:24px;
  display:flex;
  flex-direction:column;
  gap:12px;
  transition:transform .3s var(--ease), box-shadow .3s, border-color .3s;
  position:relative;
  overflow:hidden;
}
[data-theme="dark"] .tour-card{ background:var(--bg-alt); }

.tour-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-lg);
  border-color:var(--accent);
}

.tour-card-icon{
  width:52px;
  height:52px;
  border-radius:13px;
  display:grid;
  place-items:center;
  font-size:22px;
  background:linear-gradient(135deg,rgba(34,103,238,.15),rgba(35,199,217,.15));
  color:var(--accent);
}

.tour-card h4{
  font-size:17px;
  margin:0;
  line-height:1.3;
}

.tour-card-desc{
  font-size:13px;
  color:var(--muted);
  margin:0;
  line-height:1.55;
  flex:1;
}

.tour-card-bullets{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.tour-card-bullets li{
  font-size:12px;
  color:var(--muted);
  padding-left:16px;
  position:relative;
  line-height:1.5;
}
.tour-card-bullets li::before{
  content:"";
  position:absolute;
  left:0;
  top:7px;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--accent);
  opacity:.6;
}

.tour-card-stats{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:6px;
  padding:10px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.tour-card-stat{
  text-align:center;
}
.tour-card-stat-v{
  display:block;
  font-family:'Manrope',sans-serif;
  font-weight:800;
  font-size:14px;
  color:var(--ink);
  line-height:1.1;
  margin-bottom:2px;
}
.tour-card-stat-l{
  display:block;
  font-size:9px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.06em;
  font-weight:600;
}

.tour-card-actions{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}
.tour-card-actions .btn{
  flex:1;
  min-width:0;
  padding:9px 12px;
  font-size:12px;
  min-height:38px;
}

.tour-card-actions .btn-icon-only{
  flex:0 0 auto;
  min-width:38px;
  width:38px;
  padding:9px;
}

.tour-footer-links{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  justify-content:center;
  margin-top:48px;
  padding-top:32px;
  border-top:1px solid var(--line);
  font-size:13px;
  color:var(--muted);
}
.tour-footer-links a{
  color:var(--accent);
  font-weight:600;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.tour-footer-links a:hover{ text-decoration:underline; }

/* ─── PRODUCT STRIP ─── */
.product-strip{
  padding:100px 0;
  background:var(--white);
}
@media (max-width:960px){ .product-strip{ padding:64px 0; } }

.product-strip-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  margin-bottom:40px;
  flex-wrap:wrap;
}

.product-strip-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
}
@media (max-width:960px){ .product-strip-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .product-strip-grid{ grid-template-columns:1fr; } }

.product-strip-card{
  display:flex;
  flex-direction:column;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  transition:transform .3s var(--ease), box-shadow .3s, border-color .3s;
  text-decoration:none;
  color:inherit;
  min-height:100%;
}
[data-theme="dark"] .product-strip-card{ background:var(--bg-alt); }

.product-strip-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-lg);
  border-color:var(--accent);
}

.product-strip-visual{
  height:160px;
  background:linear-gradient(135deg,rgba(34,103,238,.12),rgba(35,199,217,.12));
  display:grid;
  place-items:center;
  position:relative;
  overflow:hidden;
}
.product-strip-visual img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.product-strip-visual i{
  font-size:44px;
  color:rgba(34,103,238,.4);
}

.product-strip-body{
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:8px;
  flex:1;
}

.product-strip-cat{
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--accent);
}

.product-strip-name{
  font-family:'Manrope',sans-serif;
  font-weight:700;
  font-size:16px;
  color:var(--ink);
  line-height:1.3;
  margin:0;
}

.product-strip-desc{
  font-size:13px;
  color:var(--muted);
  margin:0;
  line-height:1.5;
  flex:1;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.product-strip-price{
  font-family:'Manrope',sans-serif;
  font-weight:800;
  font-size:18px;
  color:var(--accent);
  letter-spacing:-.02em;
  margin-top:auto;
}

.product-strip-loading{
  grid-column:1/-1;
  text-align:center;
  padding:60px 20px;
  color:var(--muted);
  font-size:14px;
}
.product-strip-loading i{
  font-size:32px;
  color:var(--accent);
  display:block;
  margin-bottom:12px;
  animation:spin 1s linear infinite;
}
@keyframes spin{ to{ transform:rotate(360deg); } }

/* ─── SUBSCRIBE BAND ─── */
.subscribe-band{
  padding:80px 0;
  background:linear-gradient(135deg, rgba(34,103,238,.06), rgba(139,92,246,.06));
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
[data-theme="dark"] .subscribe-band{
  background:linear-gradient(135deg, rgba(34,103,238,.15), rgba(139,92,246,.15));
}

.subscribe-band-inner{
  max-width:900px;
  margin:0 auto;
  padding:0 24px;
  text-align:center;
}

.subscribe-band h2{
  font-size:clamp(24px,3vw,34px);
  margin:0 0 12px;
}

.subscribe-band p{
  font-size:16px;
  color:var(--muted);
  max-width:560px;
  margin:0 auto 28px;
  line-height:1.7;
}

.subscribe-band-actions{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}

/* ─── ECOSYSTEM MAP ─── */
.ecosystem{
  padding:100px 0;
  background:var(--bg);
}
[data-theme="dark"] .ecosystem{ background:rgba(15,23,42,.5); }
@media (max-width:960px){ .ecosystem{ padding:64px 0; } }

.eco-grid{
  display:grid;
  grid-template-columns:1fr 380px;
  gap:56px;
  align-items:center;
  margin-top:48px;
}
@media (max-width:960px){
  .eco-grid{ grid-template-columns:1fr; gap:32px; }
}

.eco-map{
  position:relative;
  aspect-ratio:1/1;
  max-width:560px;
  width:100%;
  margin:0 auto;
}

.eco-map svg{
  width:100%;
  height:100%;
  overflow:visible;
  display:block;
}

.eco-node{
  cursor:pointer;
  transition:filter .25s;
}
.eco-node circle{
  transition:r .3s var(--ease),fill .25s;
}
.eco-node:hover circle,
.eco-node.active circle{
  filter:drop-shadow(0 0 14px currentColor);
}
.eco-node text{
  fill:var(--ink);
  font-size:11px;
  font-family:'Inter',sans-serif;
  text-anchor:middle;
  pointer-events:none;
  font-weight:600;
}
.eco-node.active text{ fill:var(--accent); font-weight:700; }

.eco-line{
  stroke:var(--line);
  stroke-width:1;
  fill:none;
  transition:stroke .3s;
}
.eco-line.active{ stroke:var(--accent); stroke-width:2; }

.eco-particle{
  filter:drop-shadow(0 0 6px currentColor);
}

.eco-hub{
  fill:url(#ecoHubGrad);
  filter:drop-shadow(0 0 24px rgba(34,103,238,.6));
}

.eco-hub-txt{
  fill:#fff;
  font-family:'Manrope',sans-serif;
  font-weight:800;
  font-size:14px;
  text-anchor:middle;
  pointer-events:none;
}

.eco-info{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:14px;
  padding:26px;
  min-height:220px;
  transition:border-color .25s;
}
[data-theme="dark"] .eco-info{ background:var(--bg-alt); }

.eco-info h3{
  font-size:20px;
  margin:0 0 8px;
}

.eco-info p{
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
  margin:0;
}

@keyframes ecoPulse{
  0%{ r:46; opacity:.6; }
  100%{ r:90; opacity:0; }
}
.eco-pulse{
  fill:none;
  stroke:var(--accent);
  stroke-width:2;
  animation:ecoPulse 3s ease-out infinite;
}
.eco-pulse:nth-of-type(2){ animation-delay:1s; stroke:var(--accent-2); }
.eco-pulse:nth-of-type(3){ animation-delay:2s; stroke:var(--accent-3); }
@media (prefers-reduced-motion: reduce){ .eco-pulse{ animation:none; } }

/* ─── DASHBOARD PREVIEW ─── */
.dashboard-preview{
  padding:100px 0;
}
@media (max-width:960px){ .dashboard-preview{ padding:64px 0; } }

.dash-demo{
  border-radius:18px;
  box-shadow:var(--shadow-lg);
  overflow:hidden;
  border:1px solid var(--line);
  display:grid;
  grid-template-columns:220px 1fr;
  min-height:480px;
  background:var(--white);
  margin-top:40px;
}
[data-theme="dark"] .dash-demo{ background:var(--bg-alt); }

@media (max-width:800px){
  .dash-demo{ grid-template-columns:1fr; }
  .dash-demo-side{ display:none; }
}

.dash-demo-side{
  background:var(--navy);
  color:#fff;
  padding:22px 16px;
}

.dash-demo-side h4{
  color:#fff;
  font-size:14px;
  margin:0 0 22px;
  display:flex;
  align-items:center;
  gap:8px;
}

.dash-demo-side ul{
  list-style:none;
  padding:0;
  margin:0;
}

.dash-demo-side li{
  padding:9px 12px;
  border-radius:8px;
  font-size:13px;
  color:rgba(255,255,255,.7);
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:2px;
}
.dash-demo-side li.active{
  background:var(--accent);
  color:#fff;
}
.dash-demo-side li .dot{
  width:6px;
  height:6px;
  border-radius:2px;
  background:currentColor;
  opacity:.7;
}

.dash-demo-main{
  padding:26px 28px;
  background:var(--bg);
  min-width:0;
}
[data-theme="dark"] .dash-demo-main{ background:rgba(15,23,42,.7); }

.dash-demo-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:22px;
  flex-wrap:wrap;
  gap:12px;
}

.dash-demo-head h4{
  font-size:18px;
  margin:0;
}

.dash-demo-badge{
  background:rgba(34,103,238,.12);
  color:var(--accent);
  padding:4px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.dash-demo-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr;
  grid-template-rows:auto auto;
  gap:16px;
}
@media (max-width:700px){
  .dash-demo-grid{ grid-template-columns:1fr; }
}

.dash-card{
  border:1px solid var(--line);
  border-radius:12px;
  padding:18px;
  background:var(--white);
}
[data-theme="dark"] .dash-card{ background:var(--bg-alt); }

.dash-card.span2{ grid-column:span 2; }
@media (max-width:700px){ .dash-card.span2{ grid-column:auto; } }

.dash-card .lbl{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--muted);
  font-weight:600;
  margin-bottom:8px;
}

.dash-card .big{
  font-family:'Manrope',sans-serif;
  font-weight:800;
  font-size:26px;
  color:var(--ink);
  margin-bottom:4px;
  letter-spacing:-.02em;
}

.dash-card .delta{
  font-size:12px;
  color:#10a37f;
  font-weight:600;
}

.dash-spark{
  width:100%;
  height:60px;
  margin-top:8px;
}

.dash-bars{
  display:flex;
  align-items:flex-end;
  gap:6px;
  height:64px;
  margin-top:8px;
}
.dash-bars div{
  flex:1;
  background:linear-gradient(180deg,var(--accent),rgba(34,103,238,.4));
  border-radius:4px 4px 0 0;
}

.dash-donut-wrap{
  display:flex;
  align-items:center;
  gap:16px;
}

.dash-donut{
  width:72px;
  height:72px;
  border-radius:50%;
  background:conic-gradient(var(--accent) 0 42%, var(--accent-2) 42% 68%, var(--line) 68% 100%);
  position:relative;
  flex-shrink:0;
}
.dash-donut::after{
  content:"";
  position:absolute;
  inset:14px;
  background:var(--white);
  border-radius:50%;
}
[data-theme="dark"] .dash-donut::after{ background:#0F172A; }

.dash-legend{
  font-size:12px;
  color:var(--muted);
  line-height:1.8;
}
.dash-legend span{
  display:inline-block;
  width:8px;
  height:8px;
  border-radius:2px;
  margin-right:6px;
}

/* ─── CASE STRIP ─── */
.case-strip{
  padding:100px 0;
  background:var(--bg);
}
[data-theme="dark"] .case-strip{ background:rgba(15,23,42,.5); }
@media (max-width:960px){ .case-strip{ padding:64px 0; } }

.case-strip-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  margin-top:48px;
}
@media (max-width:900px){ .case-strip-grid{ grid-template-columns:1fr; } }

.case-strip-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:18px;
  padding:32px;
  display:flex;
  flex-direction:column;
  gap:14px;
}
[data-theme="dark"] .case-strip-card{ background:var(--bg-alt); }

.case-strip-tag{
  display:inline-block;
  align-self:flex-start;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#fff;
  padding:5px 12px;
  border-radius:999px;
  background:var(--accent);
}

.case-strip-card h3{
  font-size:20px;
  margin:0;
}

.case-strip-card p{
  font-size:14px;
  color:var(--muted);
  line-height:1.65;
  margin:0;
}

.case-strip-metrics{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  margin-top:8px;
  padding-top:16px;
  border-top:1px solid var(--line);
}

.case-strip-metric{
  flex:1;
  min-width:90px;
}
.case-strip-metric strong{
  display:block;
  font-family:'Manrope',sans-serif;
  font-weight:800;
  font-size:20px;
  color:var(--accent);
  letter-spacing:-.02em;
  margin-bottom:2px;
}
.case-strip-metric span{
  font-size:11px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.05em;
}

/* ─── ACADEMY TEASER ─── */
.academy-teaser{
  padding:100px 0;
  background:var(--navy);
  color:#fff;
  text-align:center;
}
@media (max-width:960px){ .academy-teaser{ padding:64px 0; } }

.academy-teaser h2{
  color:#fff;
  font-size:clamp(26px,3.4vw,38px);
  margin:0 0 16px;
}

.academy-teaser p{
  color:rgba(255,255,255,.75);
  font-size:17px;
  max-width:600px;
  margin:0 auto 32px;
  line-height:1.7;
}

.academy-teaser .btn-ghost{
  color:#fff;
  border-color:rgba(255,255,255,.3);
}

/* ─── RESPONSIVE FIXES ─── */
@media (max-width:960px){
  .hero-globe-hint{ display:none; }
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce){
  .tour-card:hover,
  .intent-tile:hover,
  .product-strip-card:hover{
    transform:none;
  }
}
.product-strip-card {
  cursor: default !important;
}
.product-strip-card:hover {
  transform: translateY(-2px);
}
.product-strip-actions .btn {
  padding: 8px 14px;
  font-size: 12px;
  min-height: 34px;
  flex: 1;
  min-width: 80px;
}
.product-strip-actions .btn-primary {
  background: #005FCC;
  color: #fff;
  border: none;
}
/* Modals created by order-modal.js and category-modal.js */
.modal-overlay.active {
  display: flex !important;
  opacity: 1 !important;
}
.modal-overlay:not(.active) {
  display: none !important;
}

/* The modal-card inside */
.modal-overlay .modal-card {
  position: relative;
  background: var(--white, #fff);
  border-radius: 20px;
  box-shadow: 0 24px 60px -10px rgba(10, 25, 47, 0.35);
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-overlay.active .modal-card {
  transform: scale(1);
}

/* Close buttons inside modals */
.modal-overlay .close-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-alt, #f1f5f9);
  border: none;
  color: var(--muted, #64748b);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  z-index: 10;
}
.modal-overlay .close-modal:hover {
  background: var(--accent, #2267EE);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   ORDER MODAL + CATEGORY MODAL STYLES
   Used by order-modal.js and category-modal.js on index.html
   ═══════════════════════════════════════════════════════════════ */

/* ─── OVERLAY BACKDROP ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 25, 47, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.25s ease;
  overflow-y: auto;
}

.modal-overlay.active {
  display: flex !important;
  opacity: 1 !important;
}

.modal-overlay:not(.active) {
  display: none !important;
}

/* ─── MODAL CARD ─── */
.modal-overlay .modal-card {
  position: relative;
  background: var(--white, #ffffff);
  border-radius: 20px;
  box-shadow:
    0 32px 80px -16px rgba(10, 25, 47, 0.4),
    0 12px 32px -8px rgba(10, 25, 47, 0.2);
  max-width: 560px;
  width: 100%;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 32px;
  transform: scale(0.95) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

[data-theme="dark"] .modal-overlay .modal-card {
  background: #1e293b;
  color: #f1f5f9;
}

/* Wider variant for category modal */
.modal-overlay .modal-card[style*="max-width:760px"] {
  padding: 0;
}

/* ─── MODAL HEADER ─── */
.modal-overlay .modal-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-family: 'Manrope', -apple-system, sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink, #0F172A);
  padding-right: 40px;
}

[data-theme="dark"] .modal-overlay .modal-card h3 {
  color: #f8fafc;
}

.modal-overlay .modal-card h3 .modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2267EE, #8B5CF6);
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px -4px rgba(34, 103, 238, 0.4);
}

/* ─── CLOSE BUTTON ─── */
.modal-overlay .modal-card .close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.15);
  border: none;
  color: var(--muted, #64748b);
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  padding: 0;
}

.modal-overlay .modal-card .close-modal:hover {
  background: #DC2626;
  color: #ffffff;
  transform: rotate(90deg);
}

[data-theme="dark"] .modal-overlay .modal-card .close-modal {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

/* ─── FORM FIELDS ─── */
.modal-overlay .modal-field {
  margin-bottom: 16px;
}

.modal-overlay .modal-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted, #64748b);
  margin-bottom: 6px;
}

[data-theme="dark"] .modal-overlay .modal-field label {
  color: #94a3b8;
}

.modal-overlay .modal-field input,
.modal-overlay .modal-field select,
.modal-overlay .modal-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line, #cbd5e1);
  border-radius: 10px;
  background: var(--white, #ffffff);
  color: var(--ink, #0F172A);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

[data-theme="dark"] .modal-overlay .modal-field input,
[data-theme="dark"] .modal-overlay .modal-field select,
[data-theme="dark"] .modal-overlay .modal-field textarea {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(148, 163, 184, 0.25);
  color: #f1f5f9;
}

.modal-overlay .modal-field input:focus,
.modal-overlay .modal-field select:focus,
.modal-overlay .modal-field textarea:focus {
  border-color: var(--accent, #2267EE);
  box-shadow: 0 0 0 3px rgba(34, 103, 238, 0.12);
}

.modal-overlay .modal-field .readonly-input {
  background: rgba(34, 103, 238, 0.05);
  color: var(--muted, #64748b);
  cursor: not-allowed;
}

[data-theme="dark"] .modal-overlay .modal-field .readonly-input {
  background: rgba(34, 103, 238, 0.15);
  color: #94a3b8;
}

/* ─── ORDER SUMMARY BOX ─── */
.modal-overlay .order-summary-box {
  padding: 16px;
  background: rgba(34, 103, 238, 0.04);
  border: 1px solid rgba(34, 103, 238, 0.12);
  border-radius: 12px;
  margin: 16px 0;
}

.modal-overlay .summary-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted, #64748b);
  margin-bottom: 10px;
}

.modal-overlay .summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--ink, #0F172A);
}

.modal-overlay .summary-line.total {
  border-top: 1px dashed rgba(148, 163, 184, 0.3);
  padding-top: 12px;
  margin-top: 8px;
  font-weight: 700;
  font-size: 1rem;
}

.modal-overlay .summary-line.success {
  color: #10B981;
}

.modal-overlay .summary-line .accent {
  color: var(--accent, #2267EE);
  font-weight: 700;
}

/* ─── BUTTONS INSIDE MODAL ─── */
.modal-overlay .btn-primary,
.modal-overlay .btn-full.btn-primary {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #2267EE, #1E3A8A);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-family: 'Manrope', -apple-system, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 16px -6px rgba(34, 103, 238, 0.5);
}

.modal-overlay .btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px rgba(34, 103, 238, 0.6);
}

.modal-overlay .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.modal-overlay .btn-outline,
.modal-overlay .btn-full.btn-outline {
  width: 100%;
  padding: 12px 20px;
  background: transparent;
  border: 1.5px solid var(--line, #cbd5e1);
  color: var(--ink, #0F172A);
  border-radius: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.modal-overlay .btn-outline:hover {
  border-color: var(--ink, #0F172A);
  background: rgba(15, 23, 42, 0.03);
}

[data-theme="dark"] .modal-overlay .btn-outline {
  color: #f1f5f9;
  border-color: rgba(148, 163, 184, 0.3);
}

[data-theme="dark"] .modal-overlay .btn-outline:hover {
  border-color: #f1f5f9;
  background: rgba(255, 255, 255, 0.05);
}

/* ─── SUCCESS SCREEN ─── */
.modal-overlay .modal-card .success-screen {
  text-align: center;
  padding: 20px 0;
}

.modal-overlay .modal-card .success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 16px;
  animation: successPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successPop {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ─── CATEGORY MODAL SPECIFICS ─── */
#cm-categoryModal .modal-card {
  max-width: 760px;
  padding: 0;
  overflow: hidden;
}

#cm-categoryModal .modal-card > #cm-body {
  padding: 32px 28px 28px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

#cm-categoryModal .modal-card > #cm-body h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink, #0F172A);
}

[data-theme="dark"] #cm-categoryModal .modal-card > #cm-body h2 {
  color: #f8fafc;
}

#cm-categoryModal .modal-card > #cm-body h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted, #64748b);
  margin: 24px 0 12px;
}

/* Category modal CTA row */
#cm-categoryModal .modal-card > #cm-body #cm-order-btn {
  flex: 1;
  min-width: 180px;
  padding: 12px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2267EE, #1E3A8A);
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#cm-categoryModal .modal-card > #cm-body #cm-order-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(34, 103, 238, 0.5);
}

/* ─── SCROLLBAR INSIDE MODALS ─── */
.modal-overlay .modal-card::-webkit-scrollbar,
#cm-categoryModal #cm-body::-webkit-scrollbar {
  width: 8px;
}

.modal-overlay .modal-card::-webkit-scrollbar-thumb,
#cm-categoryModal #cm-body::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.4);
  border-radius: 4px;
}

.modal-overlay .modal-card::-webkit-scrollbar-track,
#cm-categoryModal #cm-body::-webkit-scrollbar-track {
  background: transparent;
}

/* ─── MOBILE ─── */
@media (max-width: 640px) {
  .modal-overlay {
    padding: 12px;
    align-items: flex-start;
    padding-top: 40px;
  }

  .modal-overlay .modal-card {
    padding: 24px 20px;
    border-radius: 16px;
    max-height: calc(100vh - 60px);
  }

  .modal-overlay .modal-card h3 {
    font-size: 1.1rem;
  }

  .modal-overlay .modal-card h3 .modal-icon {
    width: 32px;
    height: 32px;
  }

  #cm-categoryModal .modal-card > #cm-body {
    padding: 24px 20px;
  }

  #cm-categoryModal .modal-card > #cm-body h2 {
    font-size: 1.25rem;
  }
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  .modal-overlay,
  .modal-overlay .modal-card,
  .modal-overlay .close-modal,
  .modal-overlay .btn-primary {
    transition: none;
  }

  .modal-overlay .modal-card {
    transform: none;
  }

  @keyframes successPop {
    0%, 100% { transform: scale(1); opacity: 1; }
  }
}
/* ═══════════════════════════════════════════════════════════════
   CHAT TOUR (v3.0)
   ═══════════════════════════════════════════════════════════════ */
.chat-tour {
  max-width: 820px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-tour-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-size: 14px;
}
.chat-tour-empty i {
  font-size: 32px;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

/* ── Chat bubble ── */
.chat-bubble {
  display: flex;
  gap: 12px;
  animation: chatFadeIn 0.3s ease;
}
@keyframes chatFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.chat-bubble.user {
  justify-content: flex-end;
}

.chat-bubble-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-3, #8B5CF6));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px -2px rgba(34,103,238,.4);
}

.chat-bubble-body {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  max-width: 100%;
  flex: 1;
  min-width: 0;
}
[data-theme="dark"] .chat-bubble-body {
  background: var(--bg-alt);
}

.chat-bubble.user .chat-bubble-body {
  background: var(--navy, #0F172A);
  color: #fff;
  border-color: transparent;
  flex: 0 1 auto;
  max-width: 80%;
}
[data-theme="dark"] .chat-bubble.user .chat-bubble-body {
  background: var(--accent);
}

.chat-bubble-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 14px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.chat-bubble.user .chat-bubble-title {
  color: #fff;
  margin-bottom: 8px;
  font-size: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}

/* ── Search input inside bubble ── */
.chat-search-wrap {
  position: relative;
  margin-bottom: 14px;
}
.chat-search-wrap > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 13px;
  pointer-events: none;
}
.chat-search {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg, #f8fafc);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}
.chat-search:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34,103,238,.12);
}
[data-theme="dark"] .chat-search {
  background: rgba(15,23,42,.6);
  color: #f1f5f9;
  border-color: rgba(148,163,184,.25);
}

/* ── Chips ── */
.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(34,103,238,.06);
  border: 1px solid rgba(34,103,238,.18);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}
.chat-chip:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -4px rgba(34,103,238,.4);
}
.chat-chip i {
  font-size: 14px;
}
.chat-chip:hover i {
  color: #fff !important;
}

.chat-empty {
  padding: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
}

/* ── Back button ── */
.chat-back {
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.85);
  padding: 6px 12px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
}
.chat-back:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}
[data-theme="light"] .chat-back {
  border-color: rgba(148,163,184,.4);
  color: var(--muted);
}
[data-theme="light"] .chat-back:hover {
  background: rgba(148,163,184,.15);
  color: var(--ink);
}

/* ── Detail card ── */
.tour-detail-card {
  border: 2px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg, #f8fafc);
}
[data-theme="dark"] .tour-detail-card {
  background: rgba(15,23,42,.4);
}

.tour-detail-visual {
  width: 100%;
  height: 200px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.tour-detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-detail-body {
  padding: 20px;
}

.tour-detail-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.tour-detail-emoji {
  font-size: 24px;
}
.tour-detail-head h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.tour-detail-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.tour-detail-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tour-detail-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.5;
}
.tour-detail-bullets li i {
  color: var(--accent);
  font-size: 11px;
  margin-top: 4px;
  flex-shrink: 0;
}

.tour-detail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 0;
  margin-bottom: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tour-detail-stat {
  text-align: center;
}
.tour-detail-stat-v {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 3px;
}
.tour-detail-stat-l {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.tour-detail-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tour-detail-actions .btn {
  flex: 1;
  min-width: 120px;
  justify-content: center;
  font-size: 13px;
  padding: 10px 14px;
}

@media (max-width: 640px) {
  .chat-bubble-body { padding: 16px 18px; }
  .chat-bubble-title { font-size: 15px; }
  .chat-chip { font-size: 13px; padding: 8px 14px; }
  .tour-detail-stats { grid-template-columns: 1fr; }
  .tour-detail-actions .btn { min-width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCT CAROUSEL (v3.0)
   ═══════════════════════════════════════════════════════════════ */
.strip-carousel-wrap {
  position: relative;
  margin-top: 24px;
}

.strip-carousel-prev,
.strip-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 6px 20px -4px rgba(10,25,47,.25);
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 5;
  transition: all 0.15s;
}
[data-theme="dark"] .strip-carousel-prev,
[data-theme="dark"] .strip-carousel-next {
  background: var(--bg-alt);
  color: #f1f5f9;
}
.strip-carousel-prev { left: -22px; }
.strip-carousel-next { right: -22px; }
.strip-carousel-prev:hover,
.strip-carousel-next:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}

.strip-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 24px;
  scrollbar-width: thin;
}
.strip-carousel::-webkit-scrollbar {
  height: 6px;
}
.strip-carousel::-webkit-scrollbar-thumb {
  background: rgba(148,163,184,.4);
  border-radius: 3px;
}

.strip-carousel-loading,
.strip-empty {
  flex: 1;
  min-width: 100%;
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-size: 14px;
}
.strip-carousel-loading i,
.strip-empty i {
  font-size: 32px;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

.strip-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
[data-theme="dark"] .strip-card {
  background: var(--bg-alt);
}
.strip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -12px rgba(10,25,47,.18);
  border-color: var(--accent);
}

.strip-card-visual {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, rgba(34,103,238,.1), rgba(35,199,217,.1));
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.strip-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.strip-card-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.strip-card-fallback i {
  font-size: 48px;
  color: rgba(34,103,238,.35);
}

.strip-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.strip-card-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.strip-card-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.strip-card-desc {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.strip-card-price {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-top: 4px;
}

.strip-card-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.strip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.strip-btn-primary {
  background: var(--accent);
  color: #fff;
  flex: 1;
}
.strip-btn-primary:hover {
  background: #1a56d4;
}
.strip-btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
  width: 34px;
  padding: 8px;
}
.strip-btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 640px) {
  .strip-carousel-wrap { min-width: 0; max-width: 100%; overflow: hidden; }
  .strip-carousel { min-width: 0; max-width: 100%; overscroll-behavior-x: contain; }
  .strip-card { flex: 0 0 240px; }
  .strip-carousel-prev,
  .strip-carousel-next {
    width: 36px;
    height: 36px;
  }
  /* Keep carousel controls inside the viewport; the track itself remains swipeable. */
  .strip-carousel-prev { left: 6px; }
  .strip-carousel-next { right: 6px; }
}
/* ═══════════════════════════════════════════════════════════════
   TOUR PRODUCTS GRID (v3.1)
   Shown inside the industry detail card in the tour.
   ═══════════════════════════════════════════════════════════════ */
.tour-products-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.tour-products-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.tour-products-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tour-products-label i {
  color: var(--accent);
  font-size: 12px;
}

.tour-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 6px;
}

.tour-products-grid::-webkit-scrollbar {
  width: 6px;
}
.tour-products-grid::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.3);
  border-radius: 3px;
}

.tour-product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
[data-theme="dark"] .tour-product-card {
  background: var(--bg-alt);
}

.tour-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(10, 25, 47, 0.18);
  border-color: var(--accent);
}

.tour-product-visual {
  width: 100%;
  height: 110px;
  background: linear-gradient(135deg, rgba(34, 103, 238, 0.08), rgba(35, 199, 217, 0.08));
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.tour-product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-product-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(34, 103, 238, 0.4);
  font-size: 36px;
}

.tour-product-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.tour-product-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tour-product-price {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-top: auto;
}

.tour-product-actions {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.tour-product-buy {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.15s ease;
}
.tour-product-buy:hover {
  background: #1a56d4;
}
.tour-product-buy i {
  font-size: 10px;
}

.tour-product-preview {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.15s ease;
}
.tour-product-preview:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 640px) {
  .tour-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-height: 400px;
  }
  .tour-product-visual { height: 90px; }
  .tour-product-name { font-size: 12px; }
  .tour-product-price { font-size: 13px; }
}

/* ═══════════════════════════════════════════════════════════════
   APPLE BLACK — LANDING PAGE SPECIFIC OVERRIDES (v1.0)
   These target selectors that only exist on index.html.
   shared-app.css already handles global theme tokens.
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero ── */
[data-theme="dark"] .hero {
  background: #000000;
}

/* ── Stats strip ── */
[data-theme="dark"] .stats-strip {
  background: #000000;
  border-color: rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .stats-strip-value {
  color: #0A84FF;
}

/* ── Intent tiles ── */
[data-theme="dark"] .intent-router {
  background: #000000;
}
[data-theme="dark"] .intent-tile {
  background: #0A0A0A;
  border-color: rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .intent-tile:hover {
  background: #141414;
  border-color: #0A84FF;
}
[data-theme="dark"] .intent-icon {
  background: rgba(10, 132, 255, 0.15);
  color: #0A84FF;
}

/* ── Tour ── */
[data-theme="dark"] .tour {
  background: #000000;
}
[data-theme="dark"] .tour-family,
[data-theme="dark"] .tour-card {
  background: #0A0A0A;
  border-color: rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .tour-card:hover,
[data-theme="dark"] .tour-family:hover {
  background: #141414;
  border-color: #0A84FF;
}
[data-theme="dark"] .tour-card-icon {
  background: rgba(10, 132, 255, 0.15);
  color: #0A84FF;
}
[data-theme="dark"] .tour-chip {
  background: rgba(10, 132, 255, 0.1);
  color: #64D2FF;
  border-color: rgba(100, 210, 255, 0.2);
}
[data-theme="dark"] .tour-chip:hover {
  background: #0A84FF;
  color: #FFFFFF;
}

/* ── Chat tour bubbles — iMessage style ── */
[data-theme="dark"] .chat-bubble.assistant .chat-bubble-body {
  background: #1C1C1E;
  border: none;
  border-radius: 18px 18px 18px 4px;
  color: #F5F5F7;
}
[data-theme="dark"] .chat-bubble.user .chat-bubble-body {
  background: #0A84FF;
  border: none;
  border-radius: 18px 18px 4px 18px;
  color: #FFFFFF;
}
[data-theme="dark"] .chat-bubble-icon {
  background: #0A84FF;
  box-shadow: 0 2px 8px rgba(10, 132, 255, 0.4);
}
[data-theme="dark"] .chat-chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #F5F5F7;
}
[data-theme="dark"] .chat-chip:hover {
  background: rgba(10, 132, 255, 0.2);
  border-color: #0A84FF;
  color: #FFFFFF;
}
[data-theme="dark"] .chat-search {
  background: #0A0A0A;
  border-color: rgba(255, 255, 255, 0.1);
  color: #F5F5F7;
}
[data-theme="dark"] .chat-search:focus {
  border-color: #0A84FF;
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.2);
}

/* ── Tour detail card ── */
[data-theme="dark"] .tour-detail-card {
  background: #141414;
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .tour-detail-visual {
  background: #0A0A0A;
}

/* ── Tour product cards ── */
[data-theme="dark"] .tour-product-card {
  background: #0A0A0A;
  border-color: rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .tour-product-card:hover {
  background: #141414;
  border-color: #0A84FF;
}
[data-theme="dark"] .tour-product-visual {
  background: #000000;
}
[data-theme="dark"] .tour-product-name {
  color: #F5F5F7;
}
[data-theme="dark"] .tour-product-price {
  color: #0A84FF;
}
[data-theme="dark"] .tour-product-buy {
  background: #0A84FF;
}
[data-theme="dark"] .tour-product-buy:hover {
  background: #0070E0;
}
[data-theme="dark"] .tour-product-preview {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #98989D;
}
[data-theme="dark"] .tour-product-preview:hover {
  background: rgba(10, 132, 255, 0.15);
  border-color: #0A84FF;
  color: #0A84FF;
}

/* ── Product strip ── */
[data-theme="dark"] .product-strip {
  background: #000000;
}
[data-theme="dark"] .strip-card {
  background: #0A0A0A;
  border-color: rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .strip-card:hover {
  background: #141414;
  border-color: #0A84FF;
}
[data-theme="dark"] .strip-card-visual {
  background: #000000;
}
[data-theme="dark"] .strip-card-name {
  color: #F5F5F7;
}
[data-theme="dark"] .strip-card-price {
  color: #0A84FF;
}
[data-theme="dark"] .strip-btn-primary {
  background: #005FCC;
}
[data-theme="dark"] .strip-btn-primary:hover {
  background: #004FA3;
}
[data-theme="dark"] .strip-btn-outline {
  border-color: rgba(255, 255, 255, 0.15);
  color: #98989D;
}
[data-theme="dark"] .strip-btn-outline:hover {
  border-color: #0A84FF;
  color: #0A84FF;
}

/* ── Strip carousel arrows ── */
[data-theme="dark"] .strip-carousel-prev,
[data-theme="dark"] .strip-carousel-next {
  background: #1C1C1E;
  color: #F5F5F7;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
[data-theme="dark"] .strip-carousel-prev:hover,
[data-theme="dark"] .strip-carousel-next:hover {
  background: #0A84FF;
  color: #FFFFFF;
}

/* ── Subscribe band ── */
[data-theme="dark"] .subscribe-band {
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.08), rgba(191, 90, 242, 0.08));
  border-color: rgba(255, 255, 255, 0.06);
}

/* ── Ecosystem map ── */
[data-theme="dark"] .ecosystem {
  background: #000000;
}
[data-theme="dark"] .eco-info {
  background: #0A0A0A;
  border-color: rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .eco-node text {
  fill: #F5F5F7;
}
[data-theme="dark"] .eco-line {
  stroke: rgba(255, 255, 255, 0.08);
}

/* ── Dashboard preview ── */
[data-theme="dark"] .dash-demo {
  background: #0A0A0A;
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .dash-demo-side {
  background: #000000;
}
[data-theme="dark"] .dash-demo-main {
  background: #000000;
}
[data-theme="dark"] .dash-card {
  background: #0A0A0A;
  border-color: rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .dash-card .big {
  color: #F5F5F7;
}
[data-theme="dark"] .dash-donut::after {
  background: #0A0A0A;
}
[data-theme="dark"] .dash-bars div {
  background: linear-gradient(180deg, #0A84FF, rgba(10, 132, 255, 0.4));
}

/* ── Case strip ── */
[data-theme="dark"] .case-strip {
  background: #000000;
}
[data-theme="dark"] .case-strip-card {
  background: #0A0A0A;
  border-color: rgba(255, 255, 255, 0.06);
}

/* ── Pricing cards ── */
[data-theme="dark"] .price-card {
  background: #0A0A0A;
  border-color: rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .price-card.growth {
  border-top-color: #30D158;
  box-shadow: 0 20px 40px -20px rgba(48, 209, 88, 0.3);
}

/* ── Academy teaser ── */
[data-theme="dark"] .academy-teaser {
  background: #000000;
}

/* ── FAQ ── */
[data-theme="dark"] .faq-item,
[data-theme="dark"] details.faq-item {
  background: #0A0A0A !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

/* ── Testimonials ── */
[data-theme="dark"] .testi {
  background: #0A0A0A;
  border-color: rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .testi blockquote {
  color: #F5F5F7;
}

/* ── Contact form ── */
[data-theme="dark"] .form-card {
  background: #0A0A0A;
  border-color: rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .field input,
[data-theme="dark"] .field select,
[data-theme="dark"] .field textarea {
  background: #1C1C1E;
  border-color: rgba(255, 255, 255, 0.1);
  color: #F5F5F7;
}
[data-theme="dark"] .field input:focus,
[data-theme="dark"] .field select:focus,
[data-theme="dark"] .field textarea:focus {
  border-color: #0A84FF;
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.2);
}

/* ── Footer ── */
[data-theme="dark"] .foot {
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── Modals — Apple sheet ── */
[data-theme="dark"] .modal-overlay {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
[data-theme="dark"] .modal-overlay .modal-card,
[data-theme="dark"] .modal-panel {
  background: #1C1C1E;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), 0 8px 24px rgba(0, 0, 0, 0.5);
  color: #F5F5F7;
}
[data-theme="dark"] .modal-overlay .modal-field input,
[data-theme="dark"] .modal-overlay .modal-field select,
[data-theme="dark"] .modal-overlay .modal-field textarea {
  background: #0A0A0A;
  border-color: rgba(255, 255, 255, 0.1);
  color: #F5F5F7;
}

/* ─── Responsive globe framing: preserve breathing room on phones ─── */
@media (max-width: 960px) {
  .hero { padding-top: 104px; }
  .hero-grid { gap: 28px; }
  .hero-visual { width: min(100%, 420px); }
}
@media (max-width: 600px) {
  .hero { padding: 88px 0 54px; }
  .hero-grid { gap: 22px; }
  .hero-visual { width: min(100%, 340px); }
  #globe-container { overflow: hidden; }
  .hero-globe-hint { bottom: -2px; font-size: 9px; letter-spacing: .06em; }
}
@media (max-width: 375px) {
  .hero-visual { width: min(100%, 300px); }
  .hero h1 { font-size: clamp(32px, 9vw, 38px); }
}


/* ─── MOBILE HERO GLOBE + QUICK ACTIONS ─── */
@media (max-width: 760px) {
  .hero-visual {
    width: min(calc(100vw - 24px), 400px);
    max-width: 400px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
  }
  #globe-container { border-radius: 50%; }
  .mobile-floating-actions {
    position: fixed;
    right: calc(16px + env(safe-area-inset-right));
    bottom: calc(82px + env(safe-area-inset-bottom));
    z-index: 1250;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .mobile-fab {
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: 0 8px 22px rgba(10,25,47,.25);
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-fab svg { width: 25px; height: 25px; }
  .mobile-fab-top {
    background: #0A192F;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .mobile-fab-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-fab-whatsapp { background: #25D366; }
}
@media (min-width: 761px) {
  .mobile-floating-actions { display: none; }
}

/* ─── VIORA WORKFLOW STRIP (replaces unverified trust statistics) ─── */
.workflow-strip{
  padding:68px 0 72px;
  background:var(--bg);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
[data-theme="dark"] .workflow-strip{background:rgba(15,23,42,.5)}
.workflow-strip-heading{max-width:760px;margin:0 auto 34px;text-align:center}
.workflow-strip-heading h2{margin:12px 0;font-family:'Manrope',sans-serif;font-size:clamp(24px,3vw,36px);line-height:1.18;letter-spacing:-.035em;color:var(--text)}
.workflow-strip-heading p{max-width:640px;margin:0 auto;color:var(--muted);font-size:15px;line-height:1.7}
.workflow-strip-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.workflow-step{position:relative;min-width:0;padding:24px 20px;border:1px solid var(--line);border-radius:16px;background:var(--white);transition:transform .2s ease,border-color .2s ease}
[data-theme="dark"] .workflow-step{background:var(--bg-alt)}
.workflow-step:hover{transform:translateY(-3px);border-color:var(--accent)}
.workflow-step-number{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;margin-bottom:18px;border-radius:11px;background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--accent);font-size:13px;font-weight:800;letter-spacing:.04em}
.workflow-step h3{margin:0 0 8px;font-family:'Manrope',sans-serif;font-size:18px;font-weight:800;color:var(--text)}
.workflow-step p{margin:0;color:var(--muted);font-size:13px;line-height:1.65}
@media(max-width:900px){.workflow-strip-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.workflow-strip{padding:48px 0}.workflow-strip-grid{grid-template-columns:1fr;gap:12px}.workflow-step{display:grid;grid-template-columns:42px 1fr;column-gap:14px;align-items:start;padding:18px}.workflow-step-number{grid-row:1 / span 2;margin:0}.workflow-step h3{align-self:end}.workflow-step p{grid-column:2}}

/* Industry detail → category-matched Marketplace action */
.tour-products-footer{display:flex;justify-content:flex-end;margin-top:16px;padding-top:13px;border-top:1px solid rgba(148,163,184,.18)}.tour-marketplace-cta{display:inline-flex;align-items:center;gap:9px;padding:11px 16px;border-radius:12px;text-decoration:none;color:#fff;background:linear-gradient(105deg,#2563eb,#0891b2 55%,#059669);font-size:12px;font-weight:800;box-shadow:0 8px 22px rgba(8,145,178,.2);transition:transform .18s,box-shadow .18s}.tour-marketplace-cta:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(8,145,178,.3)}.tour-products-empty{font-size:12px;color:var(--muted,#91a5bf);line-height:1.6;margin:8px 0}.tour-products-section{margin-top:22px}
@media(max-width:600px){.tour-products-footer{justify-content:stretch}.tour-marketplace-cta{width:100%;justify-content:center}}
