/* LoreFoundry.io landing styles */
:root {
  --lw-bg: #05070f;
  --lw-panel: #0b111a;
  --lw-text: #e6edf3;
  --lw-muted: #8c96a6;
  --lw-cyan: #00ffff;
  --lw-violet: #8a7cff;
  --lw-border: rgba(255, 255, 255, 0.08);
  --lw-glow: rgba(0, 255, 255, 0.35);
  --lw-shadow: rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  z-index: 0;
  background-color: var(--lw-bg);
  background-image: radial-gradient(circle at 12% -12%, rgba(138, 124, 255, 0.18), transparent 50%), radial-gradient(circle at 88% -8%, rgba(0, 255, 255, 0.16), transparent 55%), radial-gradient(circle at 45% 120%, rgba(0, 173, 255, 0.12), transparent 60%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--lw-text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(77, 116, 255, 0.08) 0, rgba(77, 116, 255, 0.08) 1px, transparent 1px, transparent 80px), repeating-linear-gradient(90deg, rgba(0, 255, 255, 0.05) 0, rgba(0, 255, 255, 0.05) 1px, transparent 1px, transparent 80px), radial-gradient(circle at 20% 75%, rgba(0, 255, 255, 0.08), transparent 55%), radial-gradient(circle at 78% 20%, rgba(138, 124, 255, 0.1), transparent 55%);
  opacity: 0.32;
  transform: translateZ(0);
}

.py-6 {
  padding-top: 4.5rem !important;
  padding-bottom: 4.5rem !important;
}

@media (min-width: 992px) {
  .py-lg-7 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
  }
}

.tracking-tight {
  letter-spacing: 0.08em;
}

a {
  color: inherit;
}

.navbar {
  backdrop-filter: blur(16px);
  background-color: rgba(13, 17, 23, 0.78) !important;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.navbar[data-lw-sticky].is-scrolled {
  border-color: var(--lw-border);
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 1.5rem;
  background: var(--lw-panel);
  color: var(--lw-text);
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px dashed var(--lw-cyan);
  outline-offset: 4px;
}

.btn-glow,
.btn-cta {
  border-radius: 999px;
  padding-inline: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-glow {
  background: linear-gradient(90deg, rgba(0, 255, 255, 0.25), rgba(138, 124, 255, 0.3));
  color: var(--lw-text);
  border: 1px solid rgba(0, 255, 255, 0.35);
}

.btn-cta {
  background: linear-gradient(135deg, var(--lw-cyan), var(--lw-violet));
  border: none;
  color: var(--lw-bg);
}

.btn-outline-light {
  border-radius: 999px;
  border-width: 1px;
}

.btn-cta:hover,
.btn-glow:hover,
.btn-outline-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 255, 255, 0.18);
}

.btn-cta:focus-visible,
.btn-glow:focus-visible,
.btn-outline-light:focus-visible,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 255, 255, 0.25);
  border-color: var(--lw-cyan);
}

.badge.bg-gradient {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(138, 124, 255, 0.3));
  color: var(--lw-text);
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.22);
  border: 1px solid rgba(138, 124, 255, 0.3);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  max-width: 520px;
  aspect-ratio: 1;
  will-change: transform;
  isolation: isolate;
}

.hero-core {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 480px;
  opacity: 0.92;
  filter: drop-shadow(0 0 52px rgba(0, 255, 255, 0.35));
  animation: rotate-core 24s linear infinite;
  z-index: 1;
  pointer-events: none;
}

.lf-screenshot {
  position: relative;
  cursor: zoom-in;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--lw-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lf-screenshot img {
  width: 100%;
  display: block;
}

.lf-screenshot::before,
.lf-screenshot::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 18%;
  pointer-events: none;
  z-index: 1;
}

.lf-screenshot::before {
  left: 0;
  background: linear-gradient(90deg, rgba(13, 17, 23, 0.92), rgba(13, 17, 23, 0));
}

.lf-screenshot::after {
  right: 0;
  background: linear-gradient(270deg, rgba(13, 17, 23, 0.92), rgba(13, 17, 23, 0));
}

.lf-screenshot figcaption,
.lf-screenshot-caption {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  padding: 0.85rem 1.1rem;
  border-radius: 18px;
  background: rgba(17, 21, 28, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--lw-text);
  font-size: 0.95rem;
  line-height: 1.4;
  backdrop-filter: blur(14px);
  z-index: 2;
}

.hero-screenshot {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 620px;
}

.lf-screenshot-expand {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 255, 0.45);
  background: rgba(17, 21, 28, 0.85);
  color: var(--lw-text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 3;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.lf-screenshot-expand i {
  font-size: 0.9rem;
}

.lf-screenshot-expand:hover,
.lf-screenshot-expand:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(138, 124, 255, 0.65);
  background: rgba(25, 32, 43, 0.95);
  box-shadow: 0 14px 28px rgba(0, 255, 255, 0.22);
  outline: none;
}

.lf-screenshot[tabindex] {
  outline: none;
}

.lf-screenshot:is(:hover, :focus-visible) {
  transform: translateY(-2px);
  border-color: rgba(0, 255, 255, 0.28);
  box-shadow: 0 36px 72px rgba(0, 0, 0, 0.55);
}

.lf-screenshot:focus-visible {
  box-shadow: 0 0 0 0.2rem rgba(0, 255, 255, 0.25), 0 36px 72px rgba(0, 0, 0, 0.55);
}

.lf-shot-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}

.lf-shot-grid .lf-shot-large,
.lf-shot-grid .lf-shot-wide {
  grid-column: 1 / -1;
}

.lf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 255, 0.24);
  background: rgba(0, 255, 255, 0.12);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lw-text);
}

.lf-check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1.1rem;
  color: var(--lw-text);
}

.lf-check-list li:last-child {
  margin-bottom: 0;
}

.lf-check-list i {
  font-size: 1.2rem;
  color: var(--lw-cyan);
  margin-top: 0.1rem;
}

.lf-check-list span {
  display: block;
  color: var(--lw-text);
}

.lf-check-list span strong {
  color: var(--lw-text);
}

@media (max-width: 991.98px) {
  .hero-visual {
    padding: 1.5rem;
    max-width: 100%;
  }

  .hero-core {
    max-width: 420px;
  }

  .hero-screenshot {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .hero-visual {
    padding: 1.25rem;
  }

  .lf-shot-grid {
    grid-template-columns: 1fr;
  }

  .lf-screenshot figcaption,
  .lf-screenshot-caption {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    font-size: 0.9rem;
  }

  .lf-screenshot-expand {
    top: 0.85rem;
    right: 0.85rem;
    padding: 0.3rem 0.7rem;
    font-size: 0.68rem;
  }

  #lfLightbox .modal-dialog {
    margin: 1.5rem;
  }
}

.feature-wheel {
  max-width: 480px;
  filter: drop-shadow(0 0 24px rgba(138, 124, 255, 0.4));
  animation: pulse-wheel 12s ease-in-out infinite;
}

.bg-panel {
  background: var(--lw-panel);
}

.panel {
  background: rgba(17, 21, 28, 0.85);
  border: 1px solid var(--lw-border);
  border-radius: 24px;
  box-shadow: 0 24px 48px var(--lw-shadow);
  color: var(--lw-text);
}

.blur-panel {
  background: rgba(17, 21, 28, 0.75);
  backdrop-filter: blur(18px);
}

.card-lift {
  background: rgba(19, 24, 33, 0.9);
  border: 1px solid var(--lw-border);
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
  color: var(--lw-text);
}

.card-lift .card-body {
  color: var(--lw-text);
}

.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 44px rgba(0, 255, 255, 0.22);
  border-color: rgba(0, 255, 255, 0.4);
}

.mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--lw-border);
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  background: rgba(17, 21, 28, 0.75);
}

.mini-badge span {
  color: var(--lw-text);
}

.workflow-step {
  position: relative;
  padding: 2rem 1.75rem 1.75rem;
  border-radius: 22px;
  border: 1px solid var(--lw-border);
  background: rgba(19, 24, 33, 0.85);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.workflow-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.35), rgba(138, 124, 255, 0.4));
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--lw-text);
  box-shadow: 0 14px 30px rgba(0, 255, 255, 0.22);
}

.workflow-step p {
  color: rgba(230, 237, 243, 0.88);
}

.connection-points {
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.connection-points li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 18px;
  border: 1px solid var(--lw-border);
  background: rgba(17, 21, 28, 0.75);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
}

.connection-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.28), rgba(138, 124, 255, 0.35));
  color: var(--lw-text);
  box-shadow: 0 8px 20px rgba(0, 255, 255, 0.28);
  flex-shrink: 0;
}

.connection-icon i {
  font-size: 1.2rem;
}

.connection-copy h3 {
  letter-spacing: 0.12em;
}

.connection-copy p {
  color: rgba(230, 237, 243, 0.9);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

.feature-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(19, 24, 33, 0.9);
  border: 1px solid var(--lw-border);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-list li:hover {
  transform: translateY(-4px);
  border-color: rgba(138, 124, 255, 0.4);
}

.feature-icon {
  color: var(--lw-cyan);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.diagram-wrapper {
  position: relative;
  padding: 3rem;
  background: radial-gradient(circle at center, rgba(0, 255, 255, 0.08), transparent 55%);
  border-radius: 32px;
  border: 1px solid var(--lw-border);
  will-change: transform;
  overflow: hidden;
}

.diagram-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(0, 255, 255, 0.18);
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.08), rgba(138, 124, 255, 0.12));
  opacity: 0.45;
  filter: blur(12px);
  z-index: -2;
}

.diagram-wrapper::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 20%, rgba(0, 255, 255, 0.25), transparent 65%), radial-gradient(circle at 70% 70%, rgba(138, 124, 255, 0.22), transparent 70%);
  filter: blur(32px);
  opacity: 0.7;
  z-index: -1;
}

#lfLightbox .modal-dialog {
  max-width: min(1080px, 95vw);
}

.lf-lightbox {
  background: rgba(13, 17, 23, 0.95);
  border: 1px solid rgba(0, 255, 255, 0.28);
  border-radius: 28px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 48px rgba(0, 255, 255, 0.25);
  backdrop-filter: blur(18px);
}

#lfLightbox .btn-close {
  filter: brightness(1.4);
}

#lfLightbox .btn-close:focus-visible {
  box-shadow: 0 0 0 0.25rem rgba(0, 255, 255, 0.25);
}

.lf-lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.lf-lightbox-figure img {
  border-radius: 20px;
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.45);
}

.lf-lightbox-caption {
  max-width: 76ch;
  text-align: center;
  color: rgba(230, 237, 243, 0.72);
  font-size: 0.95rem;
}

.timeline {
  position: relative;
}

.timeline-item {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--lw-border);
  border-radius: 20px;
  background: rgba(19, 24, 33, 0.85);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--lw-text);
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(138, 124, 255, 0.4);
  margin-bottom: 1rem;
}

.timeline-dot.active {
  background: linear-gradient(135deg, var(--lw-cyan), var(--lw-violet));
  box-shadow: 0 0 16px rgba(0, 255, 255, 0.5);
}

.accordion-item {
  background: rgba(19, 24, 33, 0.9);
  border: 1px solid var(--lw-border);
  color: var(--lw-text);
}

.accordion-button {
  background: transparent;
  color: var(--lw-text);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.accordion-button:not(.collapsed) {
  background: rgba(0, 255, 255, 0.08);
  color: var(--lw-text);
  box-shadow: inset 0 0 0 1px rgba(0, 255, 255, 0.2);
}

.accordion-button.collapsed {
  background: rgba(17, 21, 28, 0.6);
}

.accordion-button:focus {
  border-color: rgba(0, 255, 255, 0.4);
  box-shadow: 0 0 0 0.15rem rgba(0, 255, 255, 0.2);
}

.border-panel {
  border-color: var(--lw-border) !important;
}

.success-card {
  position: relative;
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 255, 0.3);
  background: rgba(0, 255, 255, 0.12);
  box-shadow: 0 18px 36px rgba(0, 255, 255, 0.2);
}

.success-card:focus-visible {
  outline: 2px solid var(--lw-cyan);
  outline-offset: 6px;
}

.confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.confetti::before,
.confetti::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(0, 255, 255, 0.6) 0 2px, transparent 3px), radial-gradient(circle at 80% 30%, rgba(138, 124, 255, 0.6) 0 2px, transparent 3px), radial-gradient(circle at 50% 80%, rgba(0, 255, 255, 0.6) 0 2px, transparent 3px);
  opacity: 0;
  animation: none;
}

.confetti::after {
  filter: blur(1px);
}

.confetti.active::before,
.confetti.active::after {
  animation: confetti-burst 1.4s ease-out forwards;
}

.confetti.active::after {
  animation-delay: 0.1s;
}

.footer-logo img {
  filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.3));
}

.accordion-body {
  color: var(--lw-text);
}

.text-muted {
  color: var(--lw-text) !important;
  opacity: 0.92;
}

.form-control,
.form-select {
  background-color: rgba(12, 17, 23, 0.85);
  border: 1px solid rgba(138, 124, 255, 0.2);
  color: var(--lw-text);
}

.form-control::placeholder {
  color: rgba(230, 237, 243, 0.5);
}

.form-label,
.form-check-label {
  color: var(--lw-text);
}

.alert-danger {
  background: rgba(255, 77, 109, 0.12);
  border-color: rgba(255, 77, 109, 0.4);
  color: #ff8a9f;
}

.spinner-border {
  border-width: 2px;
  color: var(--lw-bg);
}

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="fade-left"] {
  transform: translateX(32px);
}

[data-animate="fade-left"].is-visible {
  transform: none;
}

@keyframes rotate-core {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-wheel {
  0%,
  100% {
    transform: scale(0.98);
  }

  50% {
    transform: scale(1.02);
  }
}

@keyframes confetti-burst {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.95);
  }

  20% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(-20%) scale(1.05);
  }
}

@media (max-width: 991.98px) {
  .hero-visual {
    padding: 2rem;
  }

  .feature-wheel {
    max-width: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-core,
  .feature-wheel {
    animation: none;
  }

  [data-animate],
  [data-animate="fade-left"] {
    opacity: 1 !important;
    transform: none !important;
  }
}
