/* Fececawil — Premium Dark Security SaaS accents */

:root {
  --bg-void: #000000;
  --bg-deep: #0B1120;
  --glow-blue: rgba(37, 99, 235, 0.35);
  --glass: rgba(255, 255, 255, 0.05);
  --border-soft: rgba(255, 255, 255, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(29, 78, 216, 0.08), transparent 50%),
    linear-gradient(180deg, var(--bg-void) 0%, var(--bg-deep) 45%, var(--bg-void) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

/* Neon headline glow */
.neon-title {
  text-shadow:
    0 0 40px rgba(59, 130, 246, 0.45),
    0 0 80px rgba(37, 99, 235, 0.25);
}

/* Light beam behind hero */
.hero-beam {
  background: linear-gradient(
    180deg,
    rgba(59, 130, 246, 0.35) 0%,
    rgba(37, 99, 235, 0.08) 40%,
    transparent 100%
  );
  filter: blur(40px);
  pointer-events: none;
}

/* Glass panel */
.glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-strong {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Soft window shadow */
.window-shadow {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 25px 80px -20px rgba(0, 0, 0, 0.85),
    0 0 60px -10px rgba(37, 99, 235, 0.2);
}

/* Traffic lights */
.tl {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
}
.tl-r { background: #ff5f57; }
.tl-y { background: #febc2e; }
.tl-g { background: #28c840; }

/* meter / progress premium */
meter,
progress {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border: none;
  border-radius: 9999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

meter::-webkit-meter-bar,
progress::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
}

meter::-webkit-meter-optimum-value {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  border-radius: 9999px;
}

meter::-moz-meter-bar {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  border-radius: 9999px;
}

progress::-webkit-progress-value {
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  border-radius: 9999px;
}

progress::-moz-progress-bar {
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  border-radius: 9999px;
}

/* kbd chips */
kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  padding: 0.15rem 0.45rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Terminal caret blink */
@keyframes caret-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.caret-blink::after {
  content: "▋";
  margin-left: 2px;
  color: #60a5fa;
  animation: caret-blink 1s step-end infinite;
}

/* Fade-in motion */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-rise {
  animation: rise-in 0.7s ease-out both;
}
.animate-rise-delay-1 { animation-delay: 0.12s; }
.animate-rise-delay-2 { animation-delay: 0.24s; }
.animate-rise-delay-3 { animation-delay: 0.36s; }

/* Cookie banner */
#cookie-banner {
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
#cookie-banner.is-visible {
  transform: translateY(0);
}

/* Form focus */
.term-input:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* Sticky nav blur */
.site-nav {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* FAQ accordion */
.faq-item[open] summary .faq-chevron {
  transform: rotate(180deg);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}

/* Mobile window nest */
@media (max-width: 640px) {
  .window-nest {
    transform: none !important;
    margin-left: 0 !important;
    margin-top: 1rem !important;
  }
}
