@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@500&family=Google+Sans+Text:wght@500&display=swap');

:root {
  --zb-font: "Google Sans", "Google Sans Text", "Product Sans", sans-serif;
  --bg-primary: #f8fafc;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-hover: #f1f5f9;
  --bg-subtle: #edf2f7;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --border-color: #e2e8f0;
  --accent: #10b981;
  --accent-hover: #059669;
  --primary-blue: #3b82f6;
  --pro-indigo: #4f46e5;
  --pro-violet: #7c3aed;
  --danger: #ef4444;
  --warn: #f59e0b;
  --nav-glass: rgba(248, 250, 252, 0.82);
  --card-shadow: 0 10px 30px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.04);
  --card-shadow-hover: 0 20px 40px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
}

[data-theme="dark"] {
  --bg-primary: #0f172a;
  --bg-elevated: #1e293b;
  --bg-card: #1e293b;
  --bg-hover: #334155;
  --bg-subtle: #090e1a;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --border-color: #334155;
  --nav-glass: rgba(15, 23, 42, 0.82);
  --card-shadow: 0 14px 36px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.25);
  --card-shadow-hover: 0 22px 50px rgba(0, 0, 0, 0.5), 0 4px 14px rgba(0, 0, 0, 0.35);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Google Sans", "Google Sans Text", var(--zb-font), sans-serif !important;
  font-weight: 500 !important;
}

body, h1, h2, h3, h4, h5, h6, p, a, span, button, input, select, textarea, label, strong, b, em, div, li, ul, ol, option, th, td, small {
  font-family: "Google Sans", "Google Sans Text", var(--zb-font), sans-serif !important;
  font-weight: 500 !important;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scrollbar-width: auto;
  scrollbar-color: rgba(100, 116, 139, 0.42) transparent;
}
[data-theme="dark"] html {
  scrollbar-color: rgba(148, 163, 184, 0.4) transparent;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
}

/* Custom Floating Pill Scrollbar from TimeShield brand-font.css */
*::-webkit-scrollbar { width: 16px; height: 12px; background: transparent; }
*::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb {
  background-color: rgba(100, 116, 139, 0.4);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover { background-color: rgba(79, 70, 229, 0.78); }
[data-theme="dark"] *::-webkit-scrollbar-thumb {
  background-color: rgba(148, 163, 184, 0.38);
}
[data-theme="dark"] *::-webkit-scrollbar-thumb:hover {
  background-color: rgba(129, 140, 248, 0.78);
}

/* Keyframes from TimeShield */
@keyframes zbBootSpin { to { transform: rotate(360deg); } }
@keyframes zbBootPulse {
  0%, 100% { transform: scale(0.94); opacity: 0.72; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes zbPop {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@keyframes pulseDot {
  0%, 100% {
    opacity: 1;
    filter: drop-shadow(0 0 5px rgba(16, 185, 129, 0.9)) brightness(1.25);
  }
  50% {
    opacity: 0.3;
    filter: drop-shadow(0 0 1px rgba(16, 185, 129, 0.2)) brightness(0.65);
  }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

/* Container & Layout */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Navigation Bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--nav-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 108px;
  gap: 20px;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
}
.brand-logo-img {
  height: 54px;
  width: auto;
  max-width: 78px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.brand-link:hover .brand-logo-img {
  transform: scale(1.05);
}
[data-theme="light"] .site-header .brand-logo-img {
  filter: brightness(0.55) contrast(1.2);
}
.site-footer .brand-logo-img {
  height: 36px;
  max-width: 52px;
  filter: none !important;
}
.site-footer .brand-name {
  font-size: 1.18rem;
}
.site-footer .brand-tag {
  font-size: 0.65rem;
}
.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: linear-gradient(135deg, #3b82f6, #10b981);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 500;
  font-size: 1.45rem;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.28);
  flex-shrink: 0;
}
.brand-mark.ts-mark {
  background: linear-gradient(135deg, #4f46e5, #10b981);
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.32);
}
.brand-text-wrap { display: flex; flex-direction: column; }
.brand-name {
  font-size: 1.34rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  display: inline-block;
  background-image: linear-gradient(
    115deg,
    var(--text-primary) 0%,
    var(--text-primary) 42%,
    #ffffff 49%,
    rgba(224, 242, 254, 0.7) 52%,
    var(--text-primary) 58%,
    var(--text-primary) 100%
  );
  background-size: 320% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: brandTextShine 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.brand-tag {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 3px;
  display: inline-block;
  background-image: linear-gradient(
    115deg,
    var(--text-secondary) 0%,
    var(--text-secondary) 42%,
    #e2e8f0 48%,
    #ffffff 51%,
    #cbd5e1 54%,
    var(--text-secondary) 59%,
    var(--text-secondary) 100%
  );
  background-size: 320% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: brandTextShine 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

[data-theme="light"] .brand-name {
  background-image: linear-gradient(
    115deg,
    var(--text-primary) 0%,
    var(--text-primary) 42%,
    #334155 47%,
    #2563eb 50%,
    #1e293b 54%,
    var(--text-primary) 59%,
    var(--text-primary) 100%
  );
}

[data-theme="light"] .brand-tag {
  background-image: linear-gradient(
    115deg,
    var(--text-secondary) 0%,
    var(--text-secondary) 42%,
    #64748b 48%,
    #3b82f6 51%,
    var(--text-secondary) 55%,
    var(--text-secondary) 100%
  );
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
}
.nav-link {
  padding: 10px 16px;
  border-radius: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 500;
  transition: all 0.18s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: var(--bg-hover);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Nav Toggle Button */
.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  cursor: pointer;
  padding: 0;
  transition: all 0.18s ease;
  flex-shrink: 0;
}
.mobile-nav-toggle:hover {
  background: var(--bg-hover);
  border-color: var(--primary-blue);
}
.mobile-nav-toggle:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}
.nav-toggle-icon {
  width: 18px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
  transform-origin: center;
}
.mobile-nav-toggle.open .nav-toggle-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.mobile-nav-toggle.open .nav-toggle-icon span:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.open .nav-toggle-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.nav-menu-mobile-cta {
  display: none;
}
body.nav-menu-locked {
  overflow: hidden;
}

/* Exact Sun/Moon Toggle Switch from TimeShield dashboard.css */
.zb-theme-toggle-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 52px;
  height: 32px;
  cursor: pointer;
  user-select: none;
  transform: scale(1.15);
  transform-origin: center right;
}
.zb-theme-toggle-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.zb-theme-slider {
  position: relative;
  width: 100%;
  height: 100%;
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
}
.zb-theme-toggle-switch input:checked + .zb-theme-slider {
  background: #000000;
  border-color: #334155;
}
.zb-theme-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.zb-theme-toggle-switch input:checked + .zb-theme-slider .zb-theme-knob {
  transform: translateX(20px);
}
.zb-theme-icon-sun, .zb-theme-icon-moon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.zb-theme-toggle-switch input:not(:checked) + .zb-theme-slider .zb-theme-icon-sun {
  opacity: 1; transform: scale(1) rotate(0deg); color: #eab308;
}
.zb-theme-toggle-switch input:not(:checked) + .zb-theme-slider .zb-theme-icon-moon {
  opacity: 0; transform: scale(0.5) rotate(-45deg);
}
.zb-theme-toggle-switch input:checked + .zb-theme-slider .zb-theme-icon-sun {
  opacity: 0; transform: scale(0.5) rotate(45deg);
}
.zb-theme-toggle-switch input:checked + .zb-theme-slider .zb-theme-icon-moon {
  opacity: 1; transform: scale(1) rotate(0deg); color: #0f172a;
}

/* Status Pills & Badges */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 500;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.28);
  animation: none !important;
  transform: none !important;
  transition: none !important;
}
.status-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
  animation: pulseDot 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
.zb-pro-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.32);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: 500;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease, background 0.16s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.04); }
.btn:active { transform: translateY(0); }

/* Unified Button Arrow Icons (from TimeShield) */
.zb-btn-arrow {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.18s ease;
}
.btn:hover .zb-btn-arrow,
.btn:hover .zb-btn-arrow-right {
  transform: translateX(3px);
}
.btn:hover .zb-btn-arrow-left {
  transform: translateX(-3px);
}

.btn-emerald {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.3);
}
.btn-pro {
  background: linear-gradient(135deg, #4f46e5, #7c3aed 60%, #9333ea);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(99, 102, 241, 0.35);
}
.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1.5px solid var(--border-color);
}
.btn-secondary:hover { border-color: var(--primary-blue); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; border-radius: 4px; }

/* Hero Sections */
.hero {
  position: relative;
  padding: 84px 0 64px;
  text-align: center;
  overflow: hidden;
  width: 100%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(59, 130, 246, 0.22) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 32%, black 15%, transparent 80%);
  mask-image: radial-gradient(ellipse 65% 55% at 50% 32%, black 15%, transparent 80%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
  animation: heroGridPulse 9s ease-in-out infinite alternate;
}
[data-theme="light"] .hero::before {
  background-image: radial-gradient(rgba(37, 99, 235, 0.25) 1.1px, transparent 1.1px);
  opacity: 0.45;
}

.hero-glow {
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  max-width: 130vw;
  height: 600px;
  background: radial-gradient(
    ellipse 52% 48% at 50% 30%,
    rgba(59, 130, 246, 0.18) 0%,
    rgba(16, 185, 129, 0.14) 28%,
    rgba(99, 102, 241, 0.08) 52%,
    rgba(16, 185, 129, 0) 74%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
  filter: blur(28px);
  animation: heroGlowBreathe 8s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
.hero-glow::after {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(
    circle 280px at 46% 36%,
    rgba(16, 185, 129, 0.15) 0%,
    rgba(6, 182, 212, 0.10) 40%,
    transparent 70%
  );
  filter: blur(34px);
  animation: heroGlowDrift 11s ease-in-out infinite alternate;
  pointer-events: none;
}
[data-theme="light"] .hero-glow {
  background: radial-gradient(
    ellipse 52% 48% at 50% 30%,
    rgba(59, 130, 246, 0.14) 0%,
    rgba(16, 185, 129, 0.11) 28%,
    rgba(99, 102, 241, 0.05) 52%,
    rgba(16, 185, 129, 0) 74%,
    transparent 100%
  );
}
[data-theme="light"] .hero-glow::after {
  background: radial-gradient(
    circle 280px at 46% 36%,
    rgba(16, 185, 129, 0.11) 0%,
    rgba(6, 182, 212, 0.08) 40%,
    transparent 70%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}
.hero-content .status-pill {
  animation: none !important;
  transform: none !important;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-content .hero-title {
  animation: heroFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.12s backwards;
}
.hero-content .hero-sub {
  animation: heroFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.22s backwards;
}
.hero-content .hero-cta-row {
  animation: heroFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.32s backwards;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.14;
  margin: 18px 0 18px;
  word-break: break-word;
}
.gradient-text {
  background: linear-gradient(
    120deg,
    #3b82f6 0%,
    #06b6d4 25%,
    #10b981 50%,
    #6366f1 75%,
    #3b82f6 100%
  );
  background-size: 240% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease-in-out infinite alternate;
}
[data-theme="light"] .gradient-text {
  background: linear-gradient(
    120deg,
    #2563eb 0%,
    #0891b2 25%,
    #059669 50%,
    #4f46e5 75%,
    #2563eb 100%
  );
  background-size: 240% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gradient-pro {
  background: linear-gradient(
    120deg,
    #4f46e5 0%,
    #7c3aed 35%,
    #ec4899 70%,
    #6366f1 100%
  );
  background-size: 240% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease-in-out infinite alternate;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 660px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-cta-row .btn {
  position: relative;
  overflow: hidden;
}
.hero-cta-row .btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -130%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  animation: btnSheenSweep 6.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.hero-cta-row .btn-pro::after {
  animation-delay: 3.25s;
}
.hero-cta-row .btn-emerald {
  animation: btnEmeraldBreath 4.5s ease-in-out infinite alternate;
}
.hero-cta-row .btn-pro {
  animation: btnProBreath 4.5s ease-in-out 2.25s infinite alternate;
}
.hero-cta-row .btn:hover {
  transform: translateY(-2.5px);
  filter: brightness(1.06);
}
.hero-cta-row .btn-emerald:hover {
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.45) !important;
}
.hero-cta-row .btn-pro:hover {
  box-shadow: 0 10px 28px rgba(99, 102, 241, 0.45) !important;
}

@keyframes heroGlowBreathe {
  0% {
    transform: translateX(-50%) scale(1) translateY(0);
    opacity: 0.85;
  }
  50% {
    transform: translateX(-50%) scale(1.05) translateY(8px);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) scale(0.97) translateY(-5px);
    opacity: 0.9;
  }
}

@keyframes heroGlowDrift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(25px, 12px) scale(1.08);
  }
  100% {
    transform: translate(-20px, -8px) scale(0.96);
  }
}

@keyframes heroGridPulse {
  0% { opacity: 0.5; }
  100% { opacity: 0.75; }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes pillFloat {
  0% {
    transform: translateY(0);
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.12);
  }
  100% {
    transform: translateY(-3px);
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.24);
  }
}

@keyframes btnSheenSweep {
  0%, 68% {
    left: -130%;
  }
  82%, 100% {
    left: 170%;
  }
}

@keyframes btnEmeraldBreath {
  0% {
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.24);
  }
  100% {
    box-shadow: 0 7px 22px rgba(16, 185, 129, 0.42);
  }
}

@keyframes btnProBreath {
  0% {
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.24);
  }
  100% {
    box-shadow: 0 7px 22px rgba(99, 102, 241, 0.42);
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero-glow,
  .hero-glow::after,
  .gradient-text,
  .gradient-pro,
  .hero-content .status-pill,
  .hero-content .hero-title,
  .hero-content .hero-sub,
  .hero-content .hero-cta-row,
  .hero-cta-row .btn,
  .hero-cta-row .btn::after,
  .hero-cta-row .btn-emerald,
  .hero-cta-row .btn-pro,
  .footer-wave-parallax > use {
    animation: none !important;
    transform: none !important;
  }
}

/* Boot Loader Visual Halo from TimeShield dashboard.html */
.zb-boot-visual {
  position: relative;
  width: 86px;
  height: 86px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zb-boot-halo {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, rgba(16, 185, 129, 0.16) 45%, rgba(16, 185, 129, 0.03) 70%, transparent 88%);
  animation: zbBootPulse 2.2s ease-in-out infinite;
}
.zb-boot-spinner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-origin: center;
  animation: zbBootSpin 1.4s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
.zb-boot-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.35));
}

/* Section Scaffolding */
.section { padding: 72px 0; }
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.section-head h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.section-head p { color: var(--text-secondary); font-size: 1.02rem; }

/* Cards & Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 28px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(59, 130, 246, 0.35);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.card h3 { font-size: 1.2rem; font-weight: 500; margin-bottom: 8px; }
.card p { color: var(--text-secondary); font-size: 0.94rem; }

/* Product Showcase Banner on JouriaTech Home */
.product-flagship {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.07) 0%, rgba(16, 185, 129, 0.07) 100%), var(--bg-card);
  border: 1.5px solid rgba(79, 70, 229, 0.32);
  border-radius: 10px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--card-shadow);
  margin-bottom: 32px;
}
.flagship-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
@media (max-width: 860px) {
  .product-flagship { grid-template-columns: 1fr; padding: 28px 22px; }
  .grid-2 { grid-template-columns: 1fr; }
}
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 26px;
}
.feature-pill {
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

/* Fidely Loyalty Showcase Card & Digital Wallet Mockup */
.product-flagship.fidely-showcase {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.07) 0%, rgba(99, 102, 241, 0.06) 100%), var(--bg-card);
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  margin-top: 36px;
}
#fidely {
  scroll-margin-top: 124px;
}
.fidely-wallet-card {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  border-radius: 12px;
  padding: 24px;
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 24px rgba(245, 158, 11, 0.08);
  position: relative;
  overflow: hidden;
}
[data-theme="light"] .fidely-wallet-card {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
}
.fidely-wallet-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.fidely-stamps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 14px 0;
}
.fidely-stamp {
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}

/* Stamp Active State (Normal Crisp Scale - No Magnifying) */
.fidely-stamp.active {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.45);
}

/* Subtle Stamp Imprint Pop (Immediate, Non-magnifying) */
@keyframes stampPopIn {
  0% { transform: scale(0.6); opacity: 0; }
  70% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}
.fidely-stamp.just-stamped {
  animation: stampPopIn 0.3s ease-out forwards;
}

/* Threshold Reward Earned Celebration on 10th Stamp (No Magnifying) */
@keyframes giftEarnedGlow {
  0%, 100% {
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.8), 0 0 22px rgba(245, 158, 11, 0.4);
    filter: brightness(1.08);
  }
  50% {
    box-shadow: 0 0 22px rgba(16, 185, 129, 1), 0 0 32px rgba(245, 158, 11, 0.7);
    filter: brightness(1.22);
  }
}

.fidely-stamp.gift-unlocked {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  color: #ffffff !important;
  border: 2px solid #34d399 !important;
  animation: giftEarnedGlow 1.8s ease-in-out infinite alternate !important;
}

@keyframes rewardTargetPulse {
  0%, 100% {
    border-color: rgba(245, 158, 11, 0.35);
    background: rgba(255, 255, 255, 0.04);
    transform: scale(1);
  }
  50% {
    border-color: rgba(245, 158, 11, 0.75);
    background: rgba(245, 158, 11, 0.12);
    transform: scale(1.08);
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.4);
  }
}

.fidely-stamp.empty {
  border: 1.5px dashed rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.35);
  font-size: 11px;
}
.fidely-stamp.empty.reward-target {
  animation: rewardTargetPulse 2.8s ease-in-out infinite;
  cursor: pointer;
}

/* Card Mode Switcher Tabs */
.fidely-mode-switcher {
  display: inline-flex;
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 16px;
}
.fidely-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.22s ease;
  font-family: inherit;
}
.fidely-mode-btn:hover {
  color: var(--text-primary);
}
.fidely-mode-btn.active {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}
.fidely-mode-btn.cashback-active.active {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

/* 3D Flip Card Container */
.fidely-card-container {
  perspective: 1400px;
  width: 100%;
}
.fidely-card-flipper {
  position: relative;
  width: 100%;
  transition: transform 0.75s cubic-bezier(0.34, 1.3, 0.64, 1);
  transform-style: preserve-3d;
}
.fidely-card-flipper.is-cashback {
  transform: rotateY(180deg);
}
.fidely-card-flipper.is-cashback .fidely-face-back {
  z-index: 3;
}
.fidely-card-flipper.is-cashback .fidely-face-front {
  z-index: 1;
}

.fidely-face-front,
.fidely-face-back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  width: 100%;
}
.fidely-face-front {
  transform: rotateY(0deg);
  position: relative;
  z-index: 2;
}
.fidely-face-back {
  transform: rotateY(180deg);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 1;
}
.fidely-face-back .fidely-wallet-card {
  height: 100%;
  box-sizing: border-box;
}

/* Cashback Card Theme */
.fidely-wallet-card.cashback-card {
  background: linear-gradient(145deg, #064e3b 0%, #0c1724 100%);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 24px rgba(16, 185, 129, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
[data-theme="light"] .fidely-wallet-card.cashback-card {
  background: linear-gradient(145deg, #064e3b 0%, #0f172a 100%);
  color: #ffffff;
}
.fidely-wallet-card.cashback-card::before {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.28) 0%, transparent 70%);
}

.cashback-progress-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  position: relative;
  margin: 10px 0 6px;
}
.cashback-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #10b981, #34d399, #f59e0b);
  transition: width 0.4s ease;
  position: relative;
}
.cashback-progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: cashbackSheen 2.5s infinite;
}
@keyframes cashbackSheen {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

/* Celebration banner */
.fidely-gift-banner {
  padding: 10px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(245, 158, 11, 0.2));
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #ffffff;
  font-size: 0.82rem;
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  animation: bannerSlideDown 0.35s ease forwards;
}
.fidely-gift-banner.is-active {
  display: flex;
}
@keyframes bannerSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Procedural Confetti Burst for Gift Thresholds */
@keyframes fidelyConfettiFall {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)) scale(0.3) rotate(var(--rot)); opacity: 0; }
}
.fidely-confetti-particle {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  pointer-events: none;
  z-index: 50;
  animation: fidelyConfettiFall 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Horizontally Justified Fidely Features Grid (2 Columns, Balanced) */
.fidely-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 14px;
  margin: 20px 0 28px;
}
.fidely-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.84rem;
  font-weight: 500;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.fidely-feature-item:hover {
  border-color: rgba(245, 158, 11, 0.5);
  transform: translateY(-1.5px);
}
@media (max-width: 640px) {
  .fidely-features-grid {
    grid-template-columns: 1fr;
  }
}

/* Interactive Dashboard Simulator (Exact Sub-tabs from dashboard.css) */
.sim-shell {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.22);
  overflow: hidden;
  margin-top: 24px;
}
.sim-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 12px;
}
.sim-dots { display: flex; gap: 7px; align-items: center; }
.sim-dots span { width: 11px; height: 11px; border-radius: 50%; }
.sim-dots span:nth-child(1) { background: #ef4444; }
.sim-dots span:nth-child(2) { background: #f59e0b; }
.sim-dots span:nth-child(3) { background: #10b981; }

.zb-subtab-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-subtle);
  padding: 6px;
  border-radius: 7px;
  border: 1.5px solid var(--border-color);
  margin: 22px auto;
  max-width: 100%;
  overflow-x: auto;
}
.zb-subtab-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 5px;
  border: 1.5px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}
.zb-subtab-pill:hover { color: var(--text-primary); }
.zb-subtab-pill.active {
  background: var(--bg-card);
  color: var(--primary-blue);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.12);
}
.sim-pane {
  display: none;
  padding: 8px 32px 34px;
  text-align: left;
  animation: zbPop 0.22s ease-out;
}
.sim-pane.active { display: block; }

/* Interactive Tiles inside Simulator */
.zb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.zb-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 7px;
  padding: 11px 14px;
  transition: all 0.15s ease;
}
.zb-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.4);
}
.zb-tile.locked {
  border-color: rgba(91, 108, 255, 0.45);
  background: linear-gradient(0deg, rgba(91, 108, 255, 0.08), rgba(91, 108, 255, 0.08)), var(--bg-primary);
}
.zb-icon {
  width: 38px;
  height: 38px;
  border-radius: 5px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  overflow: hidden;
}
.zb-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}
.zb-name { flex: 1; font-weight: 500; font-size: 0.92rem; }
.zb-add {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.zb-add.lock {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  border-color: #4f46e5;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
}

/* Live Ambient Sound Synthesizer Chips */
.zbf-ambient-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.zbf-amb-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 5px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.16s ease;
}
.zbf-amb-chip:hover { border-color: var(--primary-blue); transform: translateY(-1px); }
.zbf-amb-chip.active {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.14), rgba(16, 185, 129, 0.14));
  border-color: #10b981;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2);
}

/* Usage Progress Bars (.zbx-bar) */
.zbx-bar {
  position: relative;
  height: 34px;
  border-radius: 999px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  overflow: hidden;
  margin-top: 10px;
}
.zbx-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #059669);
  border-radius: 999px;
  transition: width 0.4s ease;
}
.zbx-bar-fill.warn { background: linear-gradient(90deg, #f59e0b, #d97706); }
.zbx-bar-fill.full { background: linear-gradient(90deg, #ef4444, #dc2626); }
.zbx-bar-txt {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Exact TimeShield Pro Pricing Grid (.zb-pr-grid from dashboard.css) */
.zb-pr-shell {
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  padding: 44px 36px 32px;
  box-shadow: var(--card-shadow);
}
.zb-pr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: left;
  margin: 28px 0 22px;
  align-items: stretch;
}
@media (max-width: 820px) {
  .zb-pr-grid { grid-template-columns: 1fr; }
  .zb-pr-shell { padding: 28px 18px; }
}
.zb-pr-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 22px;
  border-radius: 8px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-primary);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.zb-pr-card-pro {
  border-color: #6366f1;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.09) 0%, var(--bg-card) 100%);
  box-shadow: 0 18px 40px rgba(79, 70, 229, 0.18);
  transform: translateY(-4px);
}
.zb-pr-pop {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 4px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}
.zb-pr-name { font-size: 1.05rem; font-weight: 500; margin-bottom: 8px; }
.zb-pr-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.zb-pr-price strong {
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.zb-pr-price span { font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); }
.zb-pr-desc { font-size: 0.82rem; color: var(--text-secondary); min-height: 2.4em; margin-bottom: 16px; }
.zb-pr-btn {
  width: 100%;
  height: 46px;
  border-radius: 5px;
  border: none;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 18px;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.zb-pr-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.zb-pr-btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  box-shadow: 0 10px 22px rgba(79, 70, 229, 0.32);
}
.zb-pr-btn-dark {
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a, #334155);
}
[data-theme="dark"] .zb-pr-btn-dark { background: linear-gradient(135deg, #334155, #475569); }
.zb-pr-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
  font-size: 0.84rem;
}
.zb-pr-feat { display: flex; align-items: flex-start; gap: 9px; font-weight: 500; }
.zb-pr-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.16);
  color: #6366f1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 500;
  flex-shrink: 0;
  margin-top: 2px;
}
[data-theme="dark"] .zb-pr-check { color: #a5b4fc; }

/* License Box & Checkout Modal */
.lic-box {
  max-width: 540px;
  margin: 18px auto 0;
  padding: 18px 20px;
  border-radius: 8px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  text-align: left;
}
.lic-row { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.lic-input {
  flex: 1;
  min-width: 210px;
  height: 44px;
  padding: 0 14px;
  border-radius: 5px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.lic-input:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18); }

.zb-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}
.zb-modal-backdrop.active { display: flex; }
.zb-modal {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  padding: 32px 28px;
  width: min(480px, 94vw);
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.45);
  animation: zbPop 0.22s ease-out;
  position: relative;
}

/* ==========================================================================
   Professional Dark Grey Studio Footer
   ========================================================================== */
.site-footer {
  background: #31353F;
  border-top: none;
  position: relative;
  color: #cbd5e1;
  padding: 64px 0 36px;
  margin-top: 64px;
  font-size: 0.88rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.footer-wave-wrap {
  position: absolute;
  top: -48px;
  left: 0;
  width: 100%;
  height: 50px;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
  z-index: 2;
}

.footer-waves {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}

.footer-wave-parallax > use {
  animation: moveWaveForever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.footer-wave-parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}

.footer-wave-parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}

.footer-wave-parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}

.footer-wave-parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

.fw-layer-1 { fill: rgba(49, 53, 63, 0.28); }
.fw-layer-2 { fill: rgba(49, 53, 63, 0.48); }
.fw-layer-3 { fill: rgba(49, 53, 63, 0.72); }
.fw-layer-4 { fill: #31353F; }

[data-theme="dark"] .fw-layer-1 { fill: rgba(49, 53, 63, 0.35); }
[data-theme="dark"] .fw-layer-2 { fill: rgba(49, 53, 63, 0.55); }
[data-theme="dark"] .fw-layer-3 { fill: rgba(49, 53, 63, 0.78); }
[data-theme="dark"] .fw-layer-4 { fill: #31353F; }

@keyframes moveWaveForever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}

.jt-legal-wrap + .site-footer {
  margin-top: 50px;
}

.site-footer::before {
  display: none;
}

.footer-pro-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px 36px;
  margin-bottom: 48px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 380px;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
}

.footer-brand-link .brand-name {
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  display: inline-block;
  background-image: linear-gradient(
    115deg,
    #ffffff 0%,
    #ffffff 42%,
    #ffffff 49%,
    rgba(224, 242, 254, 0.7) 52%,
    #ffffff 58%,
    #ffffff 100%
  );
  background-size: 320% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: brandTextShine 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.footer-brand-link .brand-tag {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-block;
  background-image: linear-gradient(
    115deg,
    #cbd5e1 0%,
    #cbd5e1 42%,
    #e2e8f0 48%,
    #ffffff 51%,
    #cbd5e1 54%,
    #cbd5e1 59%,
    #cbd5e1 100%
  );
  background-size: 320% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: brandTextShine 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.22);
  color: #34d399;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  width: fit-content;
}

.footer-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 2s infinite ease-in-out;
}

.footer-email-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  width: fit-content;
}

.footer-email-chip:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.footer-col-title {
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  display: inline-block;
}

.footer-col-links a:hover {
  color: #ffffff;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.footer-crafted {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 5px;
  letter-spacing: 0.01em;
  opacity: 0.88;
}

.footer-bottom-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-bottom-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.03);
  padding: 5px 11px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
}

/* Fallbacks */
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: #94a3b8; text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: #ffffff; text-decoration: underline; }

/* ==========================================================================
   Comprehensive Responsive Architecture (100% Mobile & Cross-Device Ready)
   ========================================================================== */

/* Tablet & Mobile Navigation Breakpoint */
@media (max-width: 860px) {
  .site-header {
    height: 96px;
  }
  .nav-inner {
    height: 96px;
    gap: 14px;
  }
  .brand-logo-img {
    height: 44px;
    max-width: 64px;
  }
  .nav-cta-desktop {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: flex;
    width: 44px;
    height: 44px;
  }
  .nav-menu {
    position: fixed;
    top: 96px;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--nav-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 6px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 999;
  }
  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-menu li {
    width: 100%;
  }
  .nav-menu .nav-link {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: 5px;
  }
  .nav-menu-mobile-cta {
    display: block !important;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
  }
  .nav-menu-mobile-cta .btn {
    width: 100%;
  }

  .product-flagship {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .zb-pr-grid {
    grid-template-columns: 1fr;
  }
  .zb-pr-shell {
    padding: 32px 20px;
  }
}

/* Intermediate Tablet Breakpoint */
@media (max-width: 960px) {
  .footer-pro-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

/* Mobile Handheld Devices */
@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }
  .section {
    padding: 48px 0;
  }
  .section-head {
    margin-bottom: 32px;
  }
  .section-head h2 {
    font-size: clamp(1.45rem, 5.2vw, 1.95rem);
  }
  .section-head p {
    font-size: 0.94rem;
  }

  /* Hero Adjustments */
  .hero {
    padding: 48px 0 36px;
  }
  .hero-glow {
    height: 440px;
    top: -90px;
  }
  .hero-title {
    font-size: clamp(1.85rem, 6.8vw, 2.5rem);
    line-height: 1.16;
    margin: 14px 0;
  }
  .hero-sub {
    font-size: 0.98rem;
    margin: 0 auto 24px;
    line-height: 1.55;
    padding: 0 4px;
  }
  .hero-cta-row {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 10px;
  }
  .hero-cta-row .btn {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }

  /* Flagship Product */
  .product-flagship {
    padding: 22px 18px;
    border-radius: 8px;
    gap: 24px;
  }
  .product-flagship h3 {
    font-size: 1.4rem !important;
    line-height: 1.25;
  }

  /* Cards & Grids */
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .card {
    padding: 20px 18px;
    border-radius: 6px;
  }

  /* Interactive Simulator */
  .sim-shell {
    border-radius: 8px;
    margin-top: 16px;
  }
  .sim-topbar {
    padding: 12px 14px;
  }
  .sim-pane {
    padding: 12px 14px 22px;
  }
  .zb-grid {
    grid-template-columns: 1fr;
  }

  /* Pricing */
  .zb-pr-shell {
    padding: 24px 16px 20px;
    border-radius: 8px;
  }
  .zb-pr-card {
    padding: 22px 16px 18px;
    border-radius: 6px;
  }
  .zb-pr-price strong {
    font-size: 1.9rem;
  }
  .lic-box {
    padding: 16px 14px;
    border-radius: 6px;
  }
  .lic-row {
    flex-direction: column;
  }
  .lic-input {
    width: 100%;
    min-width: 0;
  }
  .lic-row .btn {
    width: 100%;
  }

  /* Legal & Contact Component */
  .jt-legal-wrap {
    padding: 44px 14px 60px !important;
  }
  .jt-card-box {
    padding: 22px 16px !important;
    border-radius: 8px !important;
  }
  .jt-tab-bar {
    width: 100%;
    border-radius: 6px !important;
    gap: 4px;
  }
  .jt-tab-btn {
    flex: 1;
    min-width: 0;
    padding: 9px 8px !important;
    font-size: 12px !important;
    border-radius: 5px !important;
    justify-content: center;
  }
  .jt-form-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  #jt-contact-form button[type="submit"] {
    width: 100%;
  }

  /* Footer */
  .footer-pro-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .site-footer {
    padding: 44px 0 24px;
    margin-top: 40px;
  }
  .footer-wave-wrap {
    top: -30px;
    height: 32px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* Small Smartphone Breakpoint (e.g. iPhone SE, Galaxy A) */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .brand-logo-img {
    height: 30px;
    max-width: 44px;
  }
  .brand-name {
    font-size: 1.05rem;
  }
  .brand-tag {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }
  .status-pill {
    font-size: 0.72rem;
    padding: 4px 10px;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }
  .feature-pills {
    gap: 6px;
  }
  .feature-pill {
    font-size: 0.74rem;
    padding: 5px 10px;
  }
  .zbf-ambient-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .zbf-amb-chip {
    padding: 10px 8px;
    font-size: 0.8rem;
    gap: 6px;
  }
  .zb-subtab-bar {
    margin: 16px auto;
    padding: 4px;
    gap: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .zb-subtab-bar::-webkit-scrollbar {
    display: none;
  }
  .zb-subtab-pill {
    padding: 7px 12px;
    font-size: 0.82rem;
  }
  .flagship-metrics {
    gap: 6px;
  }
  .flagship-metrics > div {
    padding: 8px 6px !important;
  }
  .flagship-metrics > div > div:first-child {
    font-size: 0.68rem !important;
  }
  .flagship-metrics > div > div:last-child {
    font-size: 1.1rem !important;
  }
}

/* Narrow Displays (360px and below) */
@media (max-width: 360px) {
  .brand-name {
    font-size: 0.96rem;
  }
  .hero-title {
    font-size: 1.65rem;
  }
  .jt-tab-btn svg {
    display: none;
  }
  .zbf-ambient-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   BRAND LOGO + TEXT PERIODIC SMOOTH LIGHT SWEEP / SHINE EFFECT
   Continuous unified light beam sweeping from logo across
   "JouriaTech" and "CODE WITH PURPOSE"
========================================================= */
.brand-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
}

.brand-logo-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask-image: url('logo.png');
  mask-image: url('logo.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  overflow: hidden;
  border-radius: 4px;
}

.brand-logo-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -130%;
  width: 55%;
  height: 200%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 15%,
    rgba(255, 255, 255, 0.75) 48%,
    rgba(56, 189, 248, 0.85) 54%,
    rgba(16, 185, 129, 0.5) 62%,
    transparent 78%
  );
  transform: rotate(25deg);
  opacity: 0;
  animation: logoShineSweep 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes logoShineSweep {
  0%, 50% {
    left: -130%;
    opacity: 0;
  }
  53% {
    opacity: 1;
  }
  67% {
    left: 170%;
    opacity: 1;
  }
  68%, 100% {
    left: 170%;
    opacity: 0;
  }
}

@keyframes brandTextShine {
  0%, 62% {
    background-position: 100% 0;
  }
  84% {
    background-position: 0% 0;
  }
  85%, 100% {
    background-position: 0% 0;
  }
}

/* =========================================================
   NAVBAR PRODUCTS DROPDOWN
========================================================= */
.nav-dropdown {
  position: relative;
  list-style: none;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: inherit;
}

.dropdown-chevron {
  transition: transform 0.2s ease;
  stroke: currentColor;
}

.nav-dropdown:hover .dropdown-chevron,
.nav-dropdown:focus-within .dropdown-chevron,
.nav-dropdown.open .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 250px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px;
  list-style: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 5px;
  text-decoration: none;
  color: var(--text-primary);
  transition: background 0.18s ease;
}

.nav-dropdown-item:hover,
.nav-dropdown-item.active {
  background: var(--bg-hover);
}

.dropdown-item-icon {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}

.dropdown-item-text {
  display: flex;
  flex-direction: column;
}

.dropdown-item-title {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.2;
}

.dropdown-item-desc {
  font-size: 0.74rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 1px solid var(--border-color);
    background: var(--bg-hover);
    margin: 6px 0 10px 0;
    display: block;
    min-width: 100%;
    padding: 6px;
  }
  .dropdown-chevron {
    transform: none !important;
  }
}

/* =========================================================
   CONTACT SECTION FORM
========================================================= */
#contact {
  scroll-margin-top: 124px;
}

.jt-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  background: var(--bg-hover);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.jt-input:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.jt-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .jt-form-row {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   JOURIATECH TECH LOADING ANIMATION ("CODE WITH PURPOSE")
   - Highly Optimized 60fps/120fps GPU Compositor Pipeline
========================================================= */
.jt-tech-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  pointer-events: auto;
  transform: translateZ(0);
  will-change: opacity, visibility;
}

.jt-tech-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.jt-loader-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 29, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateZ(0);
}

[data-theme='light'] .jt-loader-backdrop {
  background: rgba(248, 250, 252, 0.82);
}

.jt-loader-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 38px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(56, 189, 248, 0.15);
  max-width: 360px;
  width: 90%;
  transform: translateY(0) scale(1) translateZ(0);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.jt-tech-loader.is-hidden .jt-loader-card {
  transform: translateY(8px) scale(0.97) translateZ(0);
}

.jt-loader-visual {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transform: translateZ(0);
}

.jt-loader-halo {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.22) 0%, rgba(16, 185, 129, 0.14) 50%, transparent 75%);
  animation: jtHaloPulse 2.4s ease-in-out infinite alternate;
  transform: translateZ(0);
  will-change: transform, opacity;
  pointer-events: none;
}

@keyframes jtHaloPulse {
  0% {
    transform: scale(0.92) translateZ(0);
    opacity: 0.65;
  }
  100% {
    transform: scale(1.08) translateZ(0);
    opacity: 0.95;
  }
}

.jt-loader-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: translateZ(0);
}

.jt-loader-spinner-svg {
  width: 100%;
  height: 100%;
  color: var(--text-primary);
  transform-origin: 50% 50%;
  animation: jtSpin 0.95s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}

@keyframes jtSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.jt-loader-logo {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(14, 165, 233, 0.35));
  animation: jtLogoBreath 2.4s ease-in-out infinite alternate;
  will-change: transform;
  transform: translateZ(0);
}

@keyframes jtLogoBreath {
  0% {
    transform: scale(0.96) translateZ(0);
  }
  100% {
    transform: scale(1.03) translateZ(0);
  }
}

.jt-loader-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.jt-loader-tagline {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #38bdf8 0%, #0284c7 45%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.jt-loader-sub {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 16px;
  min-height: 1.2em;
}

.jt-loader-progress {
  width: 170px;
  height: 4px;
  border-radius: 999px;
  background: var(--border-color);
  overflow: hidden;
  position: relative;
  transform: translateZ(0);
}

.jt-loader-progress-bar {
  width: 45%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #0284c7, #10b981);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
  animation: jtProgressSlide 1.35s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  will-change: transform;
  transform: translateZ(0);
}

@keyframes jtProgressSlide {
  0% {
    transform: translateX(-110%) translateZ(0);
  }
  50% {
    transform: translateX(110%) translateZ(0);
  }
  100% {
    transform: translateX(250%) translateZ(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .jt-loader-spinner-svg,
  .jt-loader-halo,
  .jt-loader-progress-bar,
  .jt-loader-logo,
  .jt-loader-card {
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   UPDATES / ROADMAP & ABOUT PAGES STYLES
   ========================================================================== */

/* Subpage Hero */
.jt-subpage-hero {
  padding: 80px 0 36px;
  text-align: center;
  position: relative;
}
.jt-subpage-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 12px 0 14px;
  line-height: 1.15;
}
.jt-subpage-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* Updates / Roadmap Interactive Tabs */
.jt-tabs-switch-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  margin: 0 auto 48px;
}
.jt-tab-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.jt-tab-switch-btn:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}
.jt-tab-switch-btn.active {
  color: #ffffff;
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.35);
}
[data-theme="dark"] .jt-tab-switch-btn.active {
  background: linear-gradient(135deg, #0284c7, #10b981);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

/* Changelog Timeline */
.jt-timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 10px 0 40px;
}
.jt-timeline::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 24px;
  left: 20px;
  width: 2px;
  background: var(--border-color);
}
.jt-timeline-item {
  position: relative;
  padding-left: 54px;
  margin-bottom: 40px;
}
.jt-timeline-item:last-child {
  margin-bottom: 0;
}
.jt-timeline-node {
  position: absolute;
  top: 10px;
  left: 11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid #0284c7;
  box-shadow: 0 0 0 4px var(--bg-primary);
  z-index: 2;
}
.jt-timeline-item:first-child .jt-timeline-node {
  border-color: #10b981;
  box-shadow: 0 0 0 4px var(--bg-primary), 0 0 10px rgba(16, 185, 129, 0.4);
}
.jt-timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 28px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.jt-timeline-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.jt-timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}
.jt-timeline-version-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.jt-version-pill {
  font-family: inherit;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.jt-product-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 500;
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}
.jt-timeline-date {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 500;
}
.jt-timeline-desc {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 18px;
}
.jt-timeline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.jt-timeline-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-primary);
}
.jt-tag-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
  margin-top: 2px;
}
.jt-tag-new {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.28);
}
.jt-tag-perf {
  background: rgba(147, 51, 234, 0.12);
  color: #9333ea;
  border: 1px solid rgba(147, 51, 234, 0.28);
}
.jt-tag-fix {
  background: rgba(2, 132, 199, 0.12);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.28);
}

/* Roadmap Kanban Board */
.jt-roadmap-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.jt-roadmap-col {
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.jt-roadmap-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}
.jt-roadmap-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-primary);
}
.jt-roadmap-col-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.jt-dot-progress { background: #f59e0b; box-shadow: 0 0 6px rgba(245, 158, 11, 0.5); }
.jt-dot-upnext { background: #0284c7; box-shadow: 0 0 6px rgba(2, 132, 199, 0.5); }
.jt-dot-consider { background: #8b5cf6; box-shadow: 0 0 6px rgba(139, 92, 246, 0.5); }
.jt-roadmap-count {
  font-size: 0.76rem;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}
.jt-roadmap-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.jt-roadmap-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.jt-roadmap-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.jt-phase-badge {
  font-size: 0.68rem;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.jt-phase-progress {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.jt-phase-upnext {
  background: rgba(2, 132, 199, 0.12);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.25);
}
.jt-phase-consider {
  background: rgba(139, 92, 246, 0.12);
  color: #8b5cf6;
  border: 1px solid rgba(139, 92, 246, 0.25);
}
.jt-roadmap-card-title {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.35;
  margin: 0;
}
.jt-roadmap-card-desc {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

/* About Page Specific Styles */
.jt-founder-card {
  max-width: 820px;
  margin: 0 auto 56px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 40px 48px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}
.jt-founder-lead {
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.jt-founder-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.jt-founder-sig {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.jt-founder-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.jt-founder-name {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-primary);
}
.jt-founder-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Engineering Principles Grid */
.jt-principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto 64px;
}
.jt-principle-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 32px 36px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.jt-principle-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.jt-principle-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  margin-bottom: 4px;
}
.jt-principle-title {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
}
.jt-principle-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

/* Ecosystem Showcase Block */
.jt-ecosystem-box {
  max-width: 1040px;
  margin: 0 auto 64px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 36px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
.jt-eco-header {
  margin-bottom: 24px;
}
.jt-eco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.jt-eco-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px;
  border-radius: 8px;
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: all 0.2s ease;
}
.jt-eco-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-2px);
}

/* Call to action banner */
.jt-cta-banner {
  max-width: 820px;
  margin: 0 auto 40px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08), rgba(16, 185, 129, 0.08));
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-radius: 10px;
  padding: 40px 48px;
  text-align: center;
}
.jt-cta-title {
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0 10px;
}
.jt-cta-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 22px;
}

/* Mobile Responsiveness for Subpages */
@media (max-width: 900px) {
  .jt-roadmap-board {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .jt-principles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .jt-eco-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
@media (max-width: 640px) {
  .jt-founder-card {
    padding: 28px 20px;
  }
  .jt-principle-card {
    padding: 24px 20px;
  }
  .jt-timeline-item {
    padding-left: 36px;
  }
  .jt-timeline::before {
    left: 10px;
  }
  .jt-timeline-node {
    left: 2px;
    width: 18px;
    height: 18px;
  }
  .jt-timeline-card {
    padding: 20px 18px;
  }
  .jt-cta-banner {
    padding: 30px 20px;
  }
}

