/* ==========================================================================
   ZFUTURE SIGNATURE THEME STYLES
   Signature Accent Color: #6997ff (rgb(105, 151, 255))
   ========================================================================== */

:root,
html,
html[data-zf-mood="indigo"] {
  --zf-bg-base: #000000;
  --zf-bg-elevated: rgba(8, 13, 26, 0.76);
  --zf-bg-card: linear-gradient(180deg, rgba(105, 151, 255, 0.08) 0%, rgba(4, 7, 16, 0.92) 100%);
  --zf-accent: #6997ff;
  --zf-accent-strong: #6997ff;
  --zf-accent-secondary: #6997ff;
  --zf-accent-rgb: 105, 151, 255;
  --zf-accent-2-rgb: 105, 151, 255;
  --zf-border: rgba(105, 151, 255, 0.22);
  --zf-border-strong: rgba(105, 151, 255, 0.52);
  --zf-cube-filter: none;
}

::selection {
  background: rgba(105, 151, 255, 0.35);
  color: #ffffff;
}

/* 1. Completely Invisible Navbar Background & #6997ff Nav Accents */
header,
#sitewide-header,
header > div,
#sitewide-header > div {
  background: transparent !important;
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

header::before,
header::after,
#sitewide-header::before,
#sitewide-header::after {
  display: none !important;
  opacity: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

header ul.flex.items-center > li > a:hover,
header ul.flex.items-center > li > button:hover,
header ul.flex.items-center > li > button[data-popup-open],
#sitewide-header ul.flex.items-center > li > a:hover,
#sitewide-header ul.flex.items-center > li > button:hover,
#sitewide-header ul.flex.items-center > li > button[data-popup-open],
header a[href="/login"]:hover,
#sitewide-header a[href="/login"]:hover {
  color: #6997ff !important;
}

header ul.flex.items-center > li > button[data-popup-open] svg,
#sitewide-header ul.flex.items-center > li > button[data-popup-open] svg {
  color: #6997ff !important;
}

/* Dropdown menu link & card hover accents */
[data-base-ui-navigation-menu-popup] a:hover,
#sitewide-popup a:hover {
  color: #6997ff !important;
}

.group\/nav-card:hover {
  border-color: rgba(105, 151, 255, 0.55) !important;
  box-shadow: 0 8px 28px rgba(105, 151, 255, 0.18) !important;
}

/* 2. Seamless Hero Background with #6997ff Atmospheric Light Rays & Smooth Section Feathering */
html,
body,
.bg-black,
.bg-page {
  background-color: #000000 !important;
}

img[alt="Floor background"],
img[alt="Light ray background"] {
  mix-blend-mode: screen;
  filter: sepia(0.55) hue-rotate(188deg) saturate(2.2) brightness(1.02);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 50%, rgba(0, 0, 0, 0.45) 75%, transparent 96%) !important;
  mask-image: linear-gradient(to bottom, black 0%, black 50%, rgba(0, 0, 0, 0.45) 75%, transparent 96%) !important;
  mask-composite: source-over !important;
  -webkit-mask-composite: source-over !important;
}

div.animate-webgl-scale-in-fade,
spline-viewer {
  filter: var(--zf-cube-filter);
  transition: filter 0.5s ease;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 72%, transparent 98%) !important;
  mask-image: linear-gradient(to bottom, black 0%, black 72%, transparent 98%) !important;
}

video[src*="cube"],
video[src*="3d-"] {
  filter: var(--zf-cube-filter);
  transition: filter 0.5s ease;
}

/* Everything outside hero is solid proper black */
#pricing {
  background-color: #000000 !important;
  position: relative;
}

/* 3. Dynamic Accent Spans ("Integrate this afternoon"), Active SDK Icons & Code Highlights */
h2 span.bg-gradient-to-br,
.from-\[\#9bbaff\],
.to-\[\#6997ff\] {
  background-image: linear-gradient(135deg, #9bbaff 0%, #6997ff 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

.text-\[\#6997ff\],
.text-\[\#FFC446\],
.text-\[\#FFFF92\],
.text-\[\#A1FCEA\],
.text-\[\#9281F7\] {
  color: #6997ff !important;
}

/* 4. Borders, Cards & Primary CTA Buttons (#6997ff Accent) */
.border-slate-5,
.border-slate-6,
.border-gray-4 {
  border-color: var(--zf-border) !important;
}

li.rounded-2xl.border.border-b-0 {
  background: var(--zf-bg-card) !important;
  border-color: var(--zf-border) !important;
  box-shadow: 0 14px 36px -16px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(105, 151, 255, 0.24) !important;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

li.rounded-2xl.border.border-b-0:hover {
  transform: translateY(-3px);
  border-color: var(--zf-border-strong) !important;
  box-shadow: 0 20px 44px -16px rgba(105, 151, 255, 0.26), inset 0 1px 0 rgba(105, 151, 255, 0.45) !important;
}

/* Primary CTA Buttons ("Get started" & .zf-btn-primary) */
a[href="/signup"],
.header_main-button {
  background: linear-gradient(104deg, rgba(105, 151, 255, 0.18) 5%, rgba(105, 151, 255, 0.34) 100%) !important;
  border-color: rgba(105, 151, 255, 0.52) !important;
  color: #ffffff !important;
  box-shadow: 0 0 24px rgba(105, 151, 255, 0.28), inset 0 1px 0 rgba(105, 151, 255, 0.42) !important;
  transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

a[href="/signup"]:hover,
.header_main-button:hover {
  background: #6997ff !important;
  border-color: #6997ff !important;
  color: #030712 !important;
  box-shadow: 0 0 36px rgba(105, 151, 255, 0.62), 0 6px 20px rgba(0, 0, 0, 0.5) !important;
  transform: translateY(-1px);
}

.zf-btn-primary {
  background: #6997ff !important;
  color: #030712 !important;
  border: 1px solid #6997ff !important;
  box-shadow: 0 0 26px rgba(105, 151, 255, 0.38), 0 4px 14px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.zf-btn-primary:hover:not(:disabled) {
  background: #84abff !important;
  border-color: #84abff !important;
  color: #030712 !important;
  box-shadow: 0 0 36px rgba(105, 151, 255, 0.58), 0 6px 20px rgba(0, 0, 0, 0.5) !important;
  transform: translateY(-1px);
}

/* 5. Homepage Section Emblems, Active Tabs, Badges & Glow Lines (#6997ff) */
div[style*="linear-gradient(to bottom, #1B1B1B, #030303)"] {
  border-color: rgba(105, 151, 255, 0.48) !important;
  box-shadow: 0 0 0 8px #000000, 0 0 28px rgba(105, 151, 255, 0.34), inset 0 1px 0 rgba(105, 151, 255, 0.42) !important;
}

div[style*="linear-gradient(to bottom, #1B1B1B, #030303)"] svg,
.text-violet-11 {
  color: #6997ff !important;
  filter: drop-shadow(0 0 8px rgba(105, 151, 255, 0.5));
}

.bg-violet-3.text-violet-11 {
  background-color: rgba(105, 151, 255, 0.16) !important;
  color: #6997ff !important;
  border: 1px solid rgba(105, 151, 255, 0.36) !important;
  filter: none !important;
}

/* Active interactive feature cards & tabs on homepage */
[data-active] .group-data-active\:text-green-9,
.group[data-active] .group-data-active\:text-green-9,
[data-active] .group-data-active\:text-orange-9,
.group[data-active] .group-data-active\:text-orange-9,
.data-active\:text-blue-10[data-active] {
  color: #6997ff !important;
  border-color: rgba(105, 151, 255, 0.45) !important;
}

[data-active] .group-data-active\:bg-green-500,
.group[data-active] .group-data-active\:bg-green-500,
[data-active] .group-data-active\:bg-\[\#6997ff\],
.group[data-active] .group-data-active\:bg-\[\#6997ff\],
[data-active] .group-data-active\:bg-\[\#8F3E1E\],
.group[data-active] .group-data-active\:bg-\[\#8F3E1E\] {
  background-color: #6997ff !important;
}

[data-active] .group-data-active\:before\:from-green-500::before,
.group[data-active] .group-data-active\:before\:from-green-500::before,
[data-active] .group-data-active\:before\:from-\[\#6997ff\]::before,
.group[data-active] .group-data-active\:before\:from-\[\#6997ff\]::before,
[data-active] .group-data-active\:before\:from-\[\#8F3E1E\]::before,
.group[data-active] .group-data-active\:before\:from-\[\#8F3E1E\]::before {
  --tw-gradient-from: #6997ff !important;
  background-image: conic-gradient(from var(--tw-gradient-angle, 0deg), #6997ff, transparent, transparent) !important;
}

/* Glowing horizontal top border lines across cards & sections */
div[style*="rgba(143, 143, 143, 0.67)"],
div[style*="rgba(143, 143, 143, 0.6719)"],
div[style*="#FFF 50%"],
div[style*="#6997ff 50%"] {
  background: linear-gradient(90deg, rgba(105, 151, 255, 0) 0%, #6997ff 50%, rgba(105, 151, 255, 0) 100%) !important;
}

/* Links & footer hover states */
a[href="/enterprise"]:hover,
a[href="/customers"]:hover,
a[href="/security"]:hover,
a[href="/docs"]:hover,
footer a:hover {
  color: #6997ff !important;
}

/* 6. Subpages (.zf-btn, .zf-input, .zf-glass, .glass-card & accent utilities) */
.zf-glass,
.glass-card {
  background: linear-gradient(135deg, rgba(105, 151, 255, 0.05) 0%, rgba(8, 13, 26, 0.82) 100%) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--zf-border) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(105, 151, 255, 0.2) !important;
}

.zf-glass-subtle,
.glass-card-subtle {
  background: rgba(10, 15, 28, 0.68) !important;
  border: 1px solid rgba(105, 151, 255, 0.16) !important;
}

.zf-input {
  width: 100%;
  background: rgba(6, 10, 22, 0.85);
  border: 1px solid rgba(105, 151, 255, 0.22);
  border-radius: 0.65rem;
  color: #f8fafc;
  padding: 0.6rem 0.85rem;
  font-size: 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.zf-input:focus {
  border-color: #6997ff !important;
  box-shadow: 0 0 0 3px rgba(105, 151, 255, 0.2) !important;
}

.zf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(105, 151, 255, 0.24);
  color: #e2e8f0;
  border-radius: 0.65rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.zf-btn:hover:not(:disabled) {
  background: rgba(105, 151, 255, 0.18) !important;
  border-color: #6997ff !important;
  color: #ffffff !important;
}

.text-indigo-300,
.text-indigo-400,
.text-purple-300,
.text-purple-400,
.text-sky-300 {
  color: #6997ff !important;
}

.bg-indigo-400,
.bg-purple-400,
.bg-sky-400 {
  background-color: #6997ff !important;
}

.bg-indigo-500\/15,
.bg-purple-500\/15,
.bg-sky-500\/15,
.bg-purple-500\/20 {
  background-color: rgba(105, 151, 255, 0.15) !important;
}

.border-indigo-500\/30,
.border-purple-500\/30,
.border-sky-500\/30 {
  border-color: rgba(105, 151, 255, 0.35) !important;
}

#zf-live-hub-section {
  display: none !important;
}
