/* =========================================================
   Synaptozo — Standalone Stylesheet
   Extracted from Canva export, Canva-specific classes removed.
   ========================================================= */

:root {
  --ink: #071323;
  --surface: #0b1d32;
  --line: rgba(167, 205, 255, 0.16);
  --blue: #2388ff;
  --ice: #e8f3ff;
  --muted: #98adc5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--ice);
  background: var(--ink);
  overflow-x: hidden;
}

.display {
  font-family: "Fraunces", serif;
  letter-spacing: -0.055em;
}

.site-shell {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.technical-grid {
  background-image: linear-gradient(rgba(125, 178, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 178, 255, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
}

.nav-glass {
  background: rgba(7, 19, 35, 0.68);
  border-color: rgba(175, 214, 255, 0.15);
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.eyebrow {
  color: #79b8ff;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.line {
  border-color: var(--line);
}

.glow {
  box-shadow: 0 0 0 1px rgba(104, 177, 255, 0.24), 0 20px 60px rgba(3, 99, 217, 0.22);
}

.cta-main {
  background: #2388ff;
  color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 12px 28px rgba(25, 125, 255, 0.28);
}

.cta-main:hover {
  background: #4d9eff;
  transform: translateY(-2px);
  box-shadow: 0 17px 38px rgba(25, 125, 255, 0.42);
}

.cta-quiet {
  border: 1px solid rgba(194, 222, 255, 0.22);
  color: #e8f3ff;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.cta-quiet:hover {
  border-color: rgba(128, 187, 255, 0.62);
  background: rgba(91, 159, 255, 0.09);
  transform: translateY(-2px);
}

.hero-orb {
  filter: blur(1px);
  animation: drift 11s ease-in-out infinite alternate;
}

.hero-orb-two {
  animation-delay: -5s;
}

@keyframes drift {
  to {
    transform: translate3d(8%, -8%, 0) scale(1.12);
  }
}

.node {
  animation: pulseNode 2.8s ease-in-out infinite;
}

.node:nth-child(2) {
  animation-delay: 0.6s;
}

.node:nth-child(3) {
  animation-delay: 1.25s;
}

.node:nth-child(4) {
  animation-delay: 1.7s;
}

@keyframes pulseNode {
  50% {
    opacity: 0.48;
    transform: scale(1.7);
  }
}

.flow-path {
  stroke-dasharray: 7 9;
  animation: dash 5s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -90;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.problem-card,
.project-card,
.feature-card {
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.problem-card:hover,
.project-card:hover,
.feature-card:hover {
  transform: translateY(-7px);
  border-color: rgba(101, 175, 255, 0.45);
  background: rgba(19, 47, 77, 0.8);
}

.project-image {
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.5s;
}

.project-card:hover .project-image {
  transform: scale(1.06);
  filter: saturate(1.2);
}

.modal-panel {
  transform: translateY(22px) scale(0.985);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.modal-open .modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-open {
  display: flex !important;
}

.input-field {
  border: 1px solid rgba(170, 207, 255, 0.18);
  background: rgba(4, 15, 29, 0.56);
  color: #e8f3ff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-field:focus {
  outline: none;
  border-color: #57a6ff;
  box-shadow: 0 0 0 4px rgba(50, 143, 255, 0.14);
}

.input-field::placeholder {
  color: #7890ab;
}

/* Project modal video */
.modal-video {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  background: #06172a;
  display: block;
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}