@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: thin;
  scrollbar-color: rgba(100, 116, 139, 0.38) transparent;
}
[data-theme="dark"] html {
  scrollbar-color: rgba(148, 163, 184, 0.35) 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: 12px; height: 10px; 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.38);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover { background-color: rgba(79, 70, 229, 0.75); }
[data-theme="dark"] *::-webkit-scrollbar-thumb {
  background-color: rgba(148, 163, 184, 0.35);
}
[data-theme="dark"] *::-webkit-scrollbar-thumb:hover {
  background-color: rgba(129, 140, 248, 0.75);
}

/* 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: 72px;
  gap: 20px;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
}
.brand-logo-img {
  height: 36px;
  width: auto;
  max-width: 52px;
  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 {
  filter: none !important;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: linear-gradient(135deg, #3b82f6, #10b981);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 500;
  font-size: 1.1rem;
  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.18rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.brand-tag {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 2px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-link {
  padding: 8px 14px;
  border-radius: 5px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  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: 12px;
}

/* 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;
}
.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 {
    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);
}

/* 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: 1px solid rgba(255, 255, 255, 0.14);
  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);
}

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

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.35), rgba(16, 185, 129, 0.35), transparent);
  pointer-events: 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 {
  color: #ffffff;
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.footer-brand-link .brand-tag {
  color: #cbd5e1;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.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: 64px;
  }
  .nav-inner {
    height: 64px;
    gap: 12px;
  }
  .nav-cta-desktop {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 64px;
    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 - 64px);
    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-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;
  }
}


/* =========================================================
   LOGO PERIODIC SMOOTH LIGHT SWEEP / SHINE EFFECT
========================================================= */
.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%, 60% {
    left: -130%;
    opacity: 0;
  }
  63% {
    opacity: 1;
  }
  80% {
    left: 170%;
    opacity: 1;
  }
  81%, 100% {
    left: 170%;
    opacity: 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: 80px;
}

.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;
  }
}

