/* ═══════════════════════════════════════════════════════════════════════
   JSI SmartLinks Pro — Marketing Homepage ([jsi_homepage])
   Premium dark-first SaaS design system. Full-bleed, theme-independent.
   Brand: Deep Purple #25003E · Gold #FFC600 · White · Neutral dark.
   ═══════════════════════════════════════════════════════════════════════ */

.jsi-home {
  /* ── Brand tokens ─────────────────────────────────────────────────── */
  --jh-purple:        #25003E;
  --jh-purple-1:      #3A0A5C;
  --jh-purple-2:      #57178A;
  --jh-purple-glow:   #7C2FC2;
  --jh-gold:          #FFC600;
  --jh-gold-2:        #FFB000;
  --jh-white:         #ffffff;

  /* ── Surface tokens ───────────────────────────────────────────────── */
  --jh-bg:            #050308;
  --jh-bg-1:          #0A0512;
  --jh-bg-2:          #0F0919;
  --jh-fg:            #F6F4FA;
  --jh-fg-dim:        rgba(246,244,250,0.66);
  --jh-fg-faint:      rgba(246,244,250,0.40);
  --jh-border:        rgba(255,255,255,0.09);
  --jh-border-2:      rgba(255,255,255,0.14);
  --jh-glass:         rgba(255,255,255,0.045);
  --jh-glass-2:       rgba(255,255,255,0.07);
  --jh-radius-sm:     12px;
  --jh-radius:        20px;
  --jh-radius-lg:     28px;
  --jh-max:           1240px;
  --jh-font-display:  'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --jh-font-body:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --jh-font-mono:     'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  position: relative;
  width: 100%;
  margin: 0;
  background: var(--jh-bg);
  color: var(--jh-fg);
  font-family: var(--jh-font-body);
  line-height: 1.5;
  overflow: hidden;
  isolation: isolate;
}

/* Full-bleed enhancement is applied via JS (measures actual offset —
   robust across themes/sidebars/scrollbars). This CSS-only fallback
   keeps the section contained and non-overflowing with no JS at all. */
.jsi-home.jsi-home--bleed-js { overflow: visible; }

body:has(#jsi-home) { overflow-x: hidden; }

.jsi-home, .jsi-home * { box-sizing: border-box; }
.jsi-home a { color: inherit; text-decoration: none; }
.jsi-home img { max-width: 100%; display: block; }
.jsi-home ul { list-style: none; margin: 0; padding: 0; }
.jsi-home button { font: inherit; }
.jsi-home svg { display: block; }
.jsi-home ::selection { background: var(--jh-gold); color: var(--jh-purple); }

.jsi-home :focus-visible {
  outline: 2px solid var(--jh-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── Reveal-on-scroll ─────────────────────────────────────────────────── */
.jsi-home .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.jsi-home .reveal.is-visible { opacity: 1; transform: translateY(0); }
.jsi-home .reveal-scale { opacity: 0; transform: scale(.94); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); transition-delay: var(--d, 0ms); }
.jsi-home .reveal-scale.is-visible { opacity: 1; transform: scale(1); }

/* ─── Nav ──────────────────────────────────────────────────────────────── */
.jsi-home-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5,3,8,0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--jh-border);
  transition: background .25s ease, border-color .25s ease;
}
.jsi-home-nav-inner {
  max-width: var(--jh-max); margin: 0 auto; padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.jsi-home-logo {
  font-family: var(--jh-font-display); font-weight: 700; font-size: 17px;
  display: flex; align-items: center; gap: 9px; white-space: nowrap; letter-spacing: -0.01em;
}
.jsi-home-logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, var(--jh-gold), var(--jh-gold-2));
  color: var(--jh-purple); font-size: 13px; font-weight: 800;
  box-shadow: 0 4px 14px -4px rgba(255,198,0,0.55);
}
.jsi-home-logo-pro { color: var(--jh-gold); font-weight: 700; }
.jsi-home-nav-links { display: flex; gap: 30px; font-size: 14px; font-weight: 500; color: var(--jh-fg-dim); }
.jsi-home-nav-links a { position: relative; padding: 4px 0; transition: color .2s; }
.jsi-home-nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px;
  background: var(--jh-gold); transition: width .25s ease;
}
.jsi-home-nav-links a:hover { color: var(--jh-fg); }
.jsi-home-nav-links a:hover::after { width: 100%; }
.jsi-home-nav-actions { display: flex; gap: 10px; align-items: center; }
.jsi-home-nav-toggle {
  display: none; background: none; border: 1px solid var(--jh-border); border-radius: 8px;
  width: 38px; height: 38px; color: var(--jh-fg); cursor: pointer; position: relative;
}
.jsi-home-nav-toggle span, .jsi-home-nav-toggle span::before, .jsi-home-nav-toggle span::after {
  content: ''; position: absolute; left: 9px; width: 20px; height: 1.5px; background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
}
.jsi-home-nav-toggle span { top: 18px; }
.jsi-home-nav-toggle span::before { top: -6px; }
.jsi-home-nav-toggle span::after { top: 6px; }
.jsi-home-nav-toggle.is-open span { background: transparent; }
.jsi-home-nav-toggle.is-open span::before { transform: translateY(6px) rotate(45deg); }
.jsi-home-nav-toggle.is-open span::after { transform: translateY(-6px) rotate(-45deg); }

/* ─── Buttons ──────────────────────────────────────────────────────────── */
.jsi-home-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 700; white-space: nowrap;
  transition: transform .18s cubic-bezier(.16,1,.3,1), box-shadow .18s, background .18s, border-color .18s;
  cursor: pointer; border: 1.5px solid transparent;
}
.jsi-home-btn-primary {
  background: linear-gradient(135deg, var(--jh-gold), var(--jh-gold-2));
  color: var(--jh-purple);
  box-shadow: 0 8px 24px -8px rgba(255,198,0,0.55);
}
.jsi-home-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(255,198,0,0.7); }
.jsi-home-btn-ghost { color: var(--jh-fg-dim); }
.jsi-home-btn-ghost:hover { color: var(--jh-fg); }
.jsi-home-btn-outline { border-color: var(--jh-border-2); color: var(--jh-fg); }
.jsi-home-btn-outline:hover { border-color: var(--jh-gold); background: rgba(255,198,0,0.06); }
.jsi-home-btn-lg { padding: 15px 28px; font-size: 15.5px; }
.jsi-home-arrow { transition: transform .18s; display: inline-block; }
.jsi-home-btn:hover .jsi-home-arrow { transform: translateX(3px); }
.jsi-home-play-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--jh-purple);
  animation: jh-pulse-dot 1.8s ease-out infinite;
}
@keyframes jh-pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(37,0,62,0.4); }
  70%  { box-shadow: 0 0 0 8px rgba(37,0,62,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,0,62,0); }
}
/* Button ripple */
.jsi-home-btn .jsi-ripple {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,0.5);
  transform: scale(0); animation: jh-ripple .6s ease-out; pointer-events: none;
}
.jsi-home-btn-outline .jsi-ripple, .jsi-home-btn-ghost .jsi-ripple { background: rgba(255,198,0,0.35); }
@keyframes jh-ripple { to { transform: scale(2.6); opacity: 0; } }

/* ─── Ambient backgrounds ──────────────────────────────────────────────── */
.jsi-home-mesh {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.jsi-home-mesh span {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
  animation: jh-drift 22s ease-in-out infinite alternate;
}
.jsi-home-mesh .m1 { width: 620px; height: 620px; top: -180px; left: -120px; background: var(--jh-purple-glow); }
.jsi-home-mesh .m2 { width: 480px; height: 480px; top: 10%; right: -160px; background: var(--jh-gold); opacity: .18; animation-delay: -6s; }
.jsi-home-mesh .m3 { width: 520px; height: 520px; bottom: -220px; left: 30%; background: var(--jh-purple-1); opacity: .5; animation-delay: -12s; }
@keyframes jh-drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-4%, 3%) scale(1.08); }
}
.jsi-home-grain {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.jsi-home-hero {
  position: relative; padding: 76px 28px 40px; overflow: hidden;
  min-height: 92vh; display: flex; align-items: center;
}
.jsi-home-hero-inner {
  position: relative; z-index: 1;
  max-width: var(--jh-max); margin: 40px auto 0; width: 100%;
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 40px; align-items: center;
}
.jsi-home-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px 7px 8px; border-radius: 999px;
  background: var(--jh-glass); border: 1px solid var(--jh-border);
  font-size: 12.5px; color: var(--jh-fg-dim); margin-bottom: 26px;
}
.jsi-home-eyebrow em {
  font-style: normal; background: var(--jh-gold); color: var(--jh-purple);
  font-weight: 800; font-size: 10px; text-transform: uppercase; letter-spacing: .5px;
  padding: 3px 8px; border-radius: 999px;
}
.jsi-home-h1 {
  font-family: var(--jh-font-display);
  font-size: clamp(40px, 5.4vw, 68px); font-weight: 700; line-height: 1.03;
  letter-spacing: -0.03em; margin: 0 0 22px;
}
.jsi-home-gradient-text {
  background: linear-gradient(100deg, var(--jh-gold) 0%, #FFE380 35%, var(--jh-purple-glow) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.jsi-home-sub { font-size: 18px; color: var(--jh-fg-dim); max-width: 500px; margin-bottom: 34px; line-height: 1.6; }
.jsi-home-sub em { color: var(--jh-fg); font-style: normal; font-weight: 600; }
.jsi-home-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.jsi-home-trust span { display: block; font-family: var(--jh-font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 1.4px; color: var(--jh-fg-faint); margin-bottom: 16px; }
.jsi-home-trust-logos { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.jsi-home-trust-logos img { height: 20px; width: auto; filter: grayscale(1) brightness(1.9); opacity: .55; transition: opacity .2s, filter .2s, transform .2s; }
.jsi-home-trust-logos img:hover { opacity: 1; filter: none; transform: translateY(-2px); }

/* ─── Hero dashboard mockup (signature element) ───────────────────────── */
.jsi-home-hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 520px; }
.jsi-dash-stage { position: relative; width: 100%; max-width: 460px; }

.jsi-dash {
  position: relative; z-index: 2;
  border-radius: var(--jh-radius-lg);
  background: linear-gradient(165deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid var(--jh-border-2);
  backdrop-filter: blur(20px);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,0.75), 0 0 0 1px rgba(255,255,255,0.03) inset;
  padding: 20px;
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
  transition: transform .4s ease;
  animation: jh-float 6s ease-in-out infinite;
}
.jsi-dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.jsi-dash-url {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--jh-font-mono); font-size: 11px; color: var(--jh-fg-faint);
  background: rgba(0,0,0,0.25); border: 1px solid var(--jh-border); border-radius: 999px; padding: 6px 12px;
}
.jsi-dash-live { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; color: var(--jh-gold); text-transform: uppercase; letter-spacing: .6px; }
.jsi-dash-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--jh-gold); display: inline-block; animation: jh-pulse-dot 1.6s ease-out infinite; }

.jsi-dash-body { display: grid; grid-template-columns: 108px 1fr; gap: 16px; }
.jsi-dash-art {
  position: relative; width: 108px; height: 108px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(150deg, var(--jh-purple-glow), var(--jh-purple) 70%);
}
.jsi-dash-art::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,198,0,0.55), transparent 55%);
}
.jsi-dash-art .jsi-dash-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(5,3,8,0.28); border: none; cursor: pointer; color: #fff;
}
.jsi-dash-play svg { width: 26px; height: 26px; }
.jsi-dash-play-bars { display: none; align-items: flex-end; gap: 3px; height: 20px; }
.jsi-dash-play.is-playing svg { display: none; }
.jsi-dash-play.is-playing .jsi-dash-play-bars { display: flex; }
.jsi-dash-play-bars span { width: 3.5px; background: var(--jh-gold); border-radius: 2px; animation: jh-eq .9s ease-in-out infinite; }
.jsi-dash-play-bars span:nth-child(1) { height: 40%; animation-delay: 0s; }
.jsi-dash-play-bars span:nth-child(2) { height: 100%; animation-delay: .2s; }
.jsi-dash-play-bars span:nth-child(3) { height: 65%; animation-delay: .4s; }
.jsi-dash-play-bars span:nth-child(4) { height: 80%; animation-delay: .1s; }
@keyframes jh-eq { 0%,100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }

.jsi-dash-meta { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.jsi-dash-title { font-family: var(--jh-font-display); font-size: 16.5px; font-weight: 700; }
.jsi-dash-artist { font-size: 12.5px; color: var(--jh-fg-dim); margin-bottom: 10px; }
.jsi-dash-wave { display: flex; align-items: flex-end; gap: 2.5px; height: 22px; margin-bottom: 4px; }
.jsi-dash-wave span { width: 2.5px; border-radius: 2px; background: linear-gradient(180deg, var(--jh-gold), var(--jh-purple-glow)); opacity: .85; }

.jsi-dash-platforms { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 6px; }
.jsi-dash-chip {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--jh-border);
  border-radius: 10px; padding: 8px 11px; font-size: 11.5px; font-weight: 600;
}
.jsi-dash-chip img { width: 15px; height: 15px; border-radius: 3px; }
.jsi-dash-chip-more { color: var(--jh-fg-faint); font-weight: 700; }

.jsi-dash-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--jh-border);
  font-family: var(--jh-font-mono); font-size: 11px; color: var(--jh-fg-faint);
}
.jsi-dash-foot strong { color: var(--jh-gold); font-weight: 700; }

@keyframes jh-float { 0%,100% { transform: perspective(1200px) rotateY(-6deg) rotateX(3deg) translateY(0); } 50% { transform: perspective(1200px) rotateY(-6deg) rotateX(3deg) translateY(-14px); } }

/* Floating orbit cards */
.jsi-orbit-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  background: rgba(15,9,25,0.82); backdrop-filter: blur(14px);
  border: 1px solid var(--jh-border-2); border-radius: 14px; padding: 12px 15px;
  box-shadow: 0 24px 48px -16px rgba(0,0,0,0.6);
  font-size: 11px; color: var(--jh-fg-faint);
  will-change: transform;
}
.jsi-orbit-card strong { display: block; font-family: var(--jh-font-mono); font-size: 17px; color: var(--jh-fg); font-weight: 600; }
.jsi-orbit-icon {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
}
.jsi-orbit-icon svg { width: 16px; height: 16px; }
.jsi-orbit-analytics { top: -6%; left: -14%; animation: jh-float 5.5s ease-in-out infinite; }
.jsi-orbit-analytics .jsi-orbit-icon { background: rgba(255,198,0,0.15); color: var(--jh-gold); }
.jsi-orbit-listeners { bottom: 4%; left: -10%; animation: jh-float 4.8s ease-in-out infinite reverse; }
.jsi-orbit-listeners .jsi-orbit-icon { background: rgba(124,47,194,0.25); color: #C79CFF; }
.jsi-orbit-platform { top: 6%; right: -13%; animation: jh-float 5s ease-in-out infinite; animation-delay: -1.5s; }
.jsi-orbit-artwork {
  position: absolute; bottom: -8%; right: -12%; z-index: 1; display: flex;
  animation: jh-float 6.2s ease-in-out infinite reverse;
}
.jsi-orbit-artwork span {
  width: 46px; height: 46px; border-radius: 10px; margin-left: -16px;
  border: 2px solid rgba(15,9,25,0.9); box-shadow: 0 10px 24px -8px rgba(0,0,0,0.6);
}
.jsi-orbit-artwork span:nth-child(1) { background: linear-gradient(140deg, #FFC600, #B37E00); z-index: 3; }
.jsi-orbit-artwork span:nth-child(2) { background: linear-gradient(140deg, #7C2FC2, #3A0A5C); z-index: 2; }
.jsi-orbit-artwork span:nth-child(3) { background: linear-gradient(140deg, #57178A, #25003E); z-index: 1; }
.jsi-orbit-sparkline { width: 54px; height: 24px; flex-shrink: 0; }

/* ─── Sections (alternating treatments) ───────────────────────────────── */
.jsi-home-section { padding: 130px 28px; position: relative; scroll-margin-top: 84px; }
.jsi-home-section-inner { position: relative; z-index: 1; max-width: var(--jh-max); margin: 0 auto; }
.jsi-home-section-dark { background: var(--jh-bg-2); }
.jsi-home-section-alt {
  background:
    radial-gradient(900px circle at 85% 0%, rgba(124,47,194,0.14), transparent 55%),
    var(--jh-bg-1);
  border-top: 1px solid var(--jh-border); border-bottom: 1px solid var(--jh-border);
}
.jsi-home-section-split { padding: 0; }
.jsi-home-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--jh-font-mono); font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.6px; color: var(--jh-gold); margin-bottom: 16px;
}
.jsi-home-kicker::before { content: ''; width: 16px; height: 1.5px; background: var(--jh-gold); display: inline-block; }
.jsi-home-h2 {
  font-family: var(--jh-font-display); font-size: clamp(30px, 3.8vw, 46px); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.12; max-width: 680px; margin: 0 0 20px;
}
.jsi-home-lede { font-size: 17px; color: var(--jh-fg-dim); max-width: 560px; line-height: 1.65; margin-bottom: 56px; }
.jsi-home-section-head { margin-bottom: 60px; }
.jsi-home-section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.jsi-home-section-head.center .jsi-home-h2, .jsi-home-section-head.center .jsi-home-lede { margin-left: auto; margin-right: auto; }

/* ─── Features: bento grid ─────────────────────────────────────────────── */
.jsi-home-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: 18px; }
.jsi-home-card {
  position: relative; overflow: hidden;
  background: var(--jh-glass); border: 1px solid var(--jh-border); border-radius: var(--jh-radius);
  padding: 28px 26px; transition: transform .3s cubic-bezier(.16,1,.3,1), border-color .3s, background .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.jsi-home-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(255,198,0,0.5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s;
}
.jsi-home-card:hover { transform: translateY(-6px); border-color: rgba(255,198,0,0.35); box-shadow: 0 24px 48px -20px rgba(0,0,0,0.5); }
.jsi-home-card:hover::before { opacity: 1; }
.jsi-home-card--lg { grid-column: span 2; }
.jsi-home-card--tall { grid-row: span 2; }
.jsi-home-card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 18px;
  background: linear-gradient(140deg, rgba(255,198,0,0.18), rgba(124,47,194,0.16));
  border: 1px solid var(--jh-border); transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.jsi-home-card:hover .jsi-home-card-icon { transform: scale(1.1) rotate(-4deg); }
.jsi-home-card-icon svg { width: 21px; height: 21px; color: var(--jh-gold); }
.jsi-home-card h3 { font-family: var(--jh-font-display); font-size: 17.5px; font-weight: 700; margin: 0 0 9px; letter-spacing: -0.01em; }
.jsi-home-card p { font-size: 14px; color: var(--jh-fg-dim); margin: 0; line-height: 1.6; }
.jsi-home-card-visual { margin-top: auto; padding-top: 18px; }

/* Mini chart used inside the tall "analytics" bento card */
.jsi-mini-chart { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.jsi-mini-chart span { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--jh-gold), rgba(255,198,0,0.15)); opacity: .9; }

/* ─── Live Demo (browser-chrome mockup) ────────────────────────────────── */
.jsi-home-demo-wrap { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: center; }
.jsi-home-checklist { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: var(--jh-fg-dim); }
.jsi-home-checklist li { display: flex; align-items: flex-start; gap: 12px; }
.jsi-home-check {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; margin-top: 1px;
  background: rgba(255,198,0,0.15); color: var(--jh-gold); display: flex; align-items: center; justify-content: center;
}
.jsi-home-check svg { width: 11px; height: 11px; }

.jsi-browser {
  border-radius: var(--jh-radius); overflow: hidden;
  border: 1px solid var(--jh-border-2); background: var(--jh-bg-2);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,0.7);
}
.jsi-browser-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--jh-border); }
.jsi-browser-dots { display: flex; gap: 6px; }
.jsi-browser-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.jsi-browser-url {
  flex: 1; font-family: var(--jh-font-mono); font-size: 11.5px; color: var(--jh-fg-faint);
  background: rgba(0,0,0,0.25); border-radius: 999px; padding: 6px 14px; text-align: center;
}
.jsi-browser-body { padding: 44px 36px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.jsi-browser-art { position: relative; width: 128px; height: 128px; border-radius: 20px; margin-bottom: 20px; background: linear-gradient(150deg, var(--jh-gold), var(--jh-purple-glow) 75%); overflow: hidden; }
.jsi-browser-art::before { content:''; position:absolute; inset:0; background: radial-gradient(circle at 70% 80%, rgba(37,0,62,0.55), transparent 55%); }
.jsi-browser-title { font-family: var(--jh-font-display); font-size: 19px; font-weight: 700; }
.jsi-browser-artist { font-size: 13px; color: var(--jh-fg-dim); margin-bottom: 22px; }
.jsi-browser-buttons { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 300px; }
.jsi-browser-btn { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.06); border: 1px solid var(--jh-border); border-radius: 12px; padding: 12px 16px; font-size: 13.5px; font-weight: 600; transition: background .2s, border-color .2s, transform .2s; }
.jsi-browser-btn:hover { background: rgba(255,198,0,0.08); border-color: rgba(255,198,0,0.3); transform: translateX(4px); }
.jsi-browser-btn img { width: 18px; height: 18px; border-radius: 4px; }
.jsi-browser-fallback { display: inline-block; margin-top: 18px; font-size: 12px; color: var(--jh-fg-faint); text-decoration: underline; text-underline-offset: 3px; }

/* ─── Analytics section ─────────────────────────────────────────────────── */
.jsi-analytics-wrap { display: grid; grid-template-columns: 1fr 0.85fr; gap: 56px; align-items: start; }
.jsi-home-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.jsi-home-stat {
  background: var(--jh-glass); border: 1px solid var(--jh-border); border-radius: var(--jh-radius);
  padding: 24px 20px;
}
.jsi-home-stat strong {
  display: block; font-family: var(--jh-font-mono); font-size: 34px; font-weight: 600;
  color: var(--jh-gold); margin-bottom: 6px;
}
.jsi-home-stat span { font-size: 13px; color: var(--jh-fg-dim); line-height: 1.4; display: block; }

.jsi-panel {
  background: linear-gradient(165deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
  border: 1px solid var(--jh-border-2); border-radius: var(--jh-radius-lg);
  padding: 28px; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
}
.jsi-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.jsi-panel-head h4 { font-family: var(--jh-font-display); font-size: 15px; font-weight: 700; margin: 0; }
.jsi-panel-head span { font-family: var(--jh-font-mono); font-size: 11px; color: var(--jh-fg-faint); }
.jsi-panel-chart { display: flex; align-items: flex-end; gap: 8px; height: 130px; margin-bottom: 20px; }
.jsi-panel-chart span { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--jh-purple-glow), rgba(124,47,194,0.15)); }
.jsi-panel-chart span:nth-child(4n+1) { background: linear-gradient(180deg, var(--jh-gold), rgba(255,198,0,0.15)); }
.jsi-panel-legend { display: flex; gap: 20px; font-size: 12px; color: var(--jh-fg-dim); }
.jsi-panel-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }
.jsi-panel-legend .g { background: var(--jh-gold); }
.jsi-panel-legend .p { background: var(--jh-purple-glow); }

.jsi-home-diff {
  margin-top: 28px;
  background: linear-gradient(135deg, rgba(255,198,0,0.08), rgba(124,47,194,0.1));
  border: 1px solid var(--jh-border); border-radius: var(--jh-radius);
  padding: 30px 32px;
}
.jsi-home-diff h3 { font-family: var(--jh-font-display); font-size: 19px; font-weight: 700; margin: 0 0 10px; }
.jsi-home-diff p { font-size: 14.5px; color: var(--jh-fg-dim); max-width: 640px; margin: 0; line-height: 1.6; }
.jsi-home-diff strong { color: var(--jh-fg); }

/* ─── Pricing ───────────────────────────────────────────────────────────── */
.jsi-pricing-toggle {
  display: inline-flex; align-items: center; gap: 4px; background: var(--jh-glass);
  border: 1px solid var(--jh-border); border-radius: 999px; padding: 4px; margin-bottom: 46px;
}
.jsi-pricing-toggle button {
  border: none; background: transparent; color: var(--jh-fg-dim); font-size: 13.5px; font-weight: 700;
  padding: 9px 20px; border-radius: 999px; cursor: pointer; transition: color .2s, background .2s;
}
.jsi-pricing-toggle button.is-active { background: var(--jh-gold); color: var(--jh-purple); }
.jsi-pricing-toggle .save-badge { font-size: 10px; background: rgba(255,198,0,0.18); color: var(--jh-gold); padding: 2px 7px; border-radius: 999px; margin-left: 6px; }

.jsi-pricing-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; }
.jsi-price-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--jh-glass); border: 1px solid var(--jh-border); border-radius: var(--jh-radius);
  padding: 28px 22px; transition: transform .3s, border-color .3s;
}
.jsi-price-card:hover { transform: translateY(-6px); }
.jsi-price-card--featured {
  background: linear-gradient(165deg, rgba(255,198,0,0.1), rgba(124,47,194,0.08));
  border-color: rgba(255,198,0,0.5);
  box-shadow: 0 30px 60px -24px rgba(255,198,0,0.25);
}
.jsi-price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--jh-gold); color: var(--jh-purple); font-size: 10.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .5px; padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.jsi-price-name { font-family: var(--jh-font-display); font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.jsi-price-amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.jsi-price-amount strong { font-family: var(--jh-font-mono); font-size: 32px; font-weight: 600; }
.jsi-price-amount span { font-size: 12.5px; color: var(--jh-fg-faint); }
.jsi-price-annual { font-size: 11.5px; color: var(--jh-fg-faint); margin-bottom: 20px; min-height: 16px; }
.jsi-price-features { display: flex; flex-direction: column; gap: 10px; margin: 0 0 24px; flex-grow: 1; }
.jsi-price-features li { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; color: var(--jh-fg-dim); line-height: 1.4; }
.jsi-price-features li.is-off { color: var(--jh-fg-faint); text-decoration: line-through; opacity: .55; }
.jsi-price-features .tick { flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%; background: rgba(255,198,0,0.15); color: var(--jh-gold); display:flex; align-items:center; justify-content:center; margin-top: 1px; }
.jsi-price-features .tick svg { width: 9px; height: 9px; }
.jsi-price-card .jsi-home-btn { width: 100%; justify-content: center; }

/* ─── FAQ ───────────────────────────────────────────────────────────────── */
.jsi-faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.jsi-faq-item { background: var(--jh-glass); border: 1px solid var(--jh-border); border-radius: var(--jh-radius); overflow: hidden; transition: border-color .2s; }
.jsi-faq-item.is-open { border-color: rgba(255,198,0,0.35); }
.jsi-faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; color: var(--jh-fg); text-align: left; cursor: pointer;
  padding: 22px 26px; font-family: var(--jh-font-display); font-size: 15.5px; font-weight: 600;
}
.jsi-faq-icon { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--jh-glass-2); display: flex; align-items: center; justify-content: center; transition: transform .3s cubic-bezier(.16,1,.3,1), background .2s; }
.jsi-faq-item.is-open .jsi-faq-icon { transform: rotate(135deg); background: var(--jh-gold); color: var(--jh-purple); }
.jsi-faq-icon svg { width: 12px; height: 12px; }
.jsi-faq-a { max-height: 0; overflow: hidden; transition: max-height .35s cubic-bezier(.16,1,.3,1); }
.jsi-faq-a p { margin: 0; padding: 0 26px 24px; font-size: 14.5px; color: var(--jh-fg-dim); line-height: 1.65; max-width: 640px; }

/* ─── Final CTA ─────────────────────────────────────────────────────────── */
.jsi-home-cta { position: relative; padding: 140px 28px; text-align: center; overflow: hidden; }
.jsi-home-cta-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.jsi-home-cta-inner .jsi-home-kicker { justify-content: center; }
.jsi-home-cta h2 { font-family: var(--jh-font-display); font-size: clamp(30px, 4.4vw, 48px); font-weight: 700; margin: 0 0 16px; letter-spacing: -0.02em; }
.jsi-home-cta p { font-size: 16px; color: var(--jh-fg-dim); margin: 0 0 36px; }
.jsi-home-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── Footer ────────────────────────────────────────────────────────────── */
.jsi-home-footer { border-top: 1px solid var(--jh-border); padding: 40px 28px; }
.jsi-home-footer-inner {
  max-width: var(--jh-max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.jsi-home-footer-brand { display: flex; align-items: center; gap: 9px; font-family: var(--jh-font-display); font-weight: 700; font-size: 14px; color: var(--jh-fg-dim); }
.jsi-home-footer-copy { font-size: 12.5px; color: var(--jh-fg-faint); }
.jsi-home-footer-links { display: flex; gap: 22px; font-size: 13px; color: var(--jh-fg-dim); }
.jsi-home-footer-links a:hover { color: var(--jh-gold); }

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .jsi-pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .jsi-home-bento { grid-template-columns: repeat(3, 1fr); }
  .jsi-home-card--lg { grid-column: span 2; }
}
@media (max-width: 960px) {
  .jsi-home-hero { min-height: 0; padding-top: 56px; }
  .jsi-home-hero-inner, .jsi-home-demo-wrap, .jsi-analytics-wrap { grid-template-columns: 1fr; }
  .jsi-home-hero-visual { margin-top: 56px; min-height: 0; }
  .jsi-dash-stage { max-width: 400px; }
  .jsi-orbit-card, .jsi-orbit-artwork { display: none; }
  .jsi-home-bento { grid-template-columns: repeat(2, 1fr); }
  .jsi-home-card--lg, .jsi-home-card--tall { grid-column: span 1; grid-row: span 1; }
  .jsi-home-stats { grid-template-columns: 1fr 1fr; }
  .jsi-home-nav-links { display: none; }
  .jsi-home-nav-toggle { display: block; }
  .jsi-pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .jsi-home-bento { grid-template-columns: 1fr; }
  .jsi-home-nav-actions .jsi-home-btn-ghost { display: none; }
  .jsi-home-hero { padding: 50px 20px 30px; }
  .jsi-home-section { padding: 80px 20px; }
  .jsi-home-h1 { font-size: clamp(32px, 9vw, 44px); }
  .jsi-home-stats { grid-template-columns: 1fr; }
  .jsi-pricing-grid { grid-template-columns: 1fr; }
  .jsi-home-diff { padding: 24px 22px; }
  .jsi-home-cta { padding: 90px 20px; }
  .jsi-browser-body { padding: 32px 22px; }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .jsi-home *, .jsi-home *::before, .jsi-home *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
