:root {
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #faf9ff;
  color: #1e1b4b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.glass {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(123, 97, 255, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-grad {
  background:
    radial-gradient(900px 450px at 10% -10%, rgba(156, 140, 255, 0.32), transparent 60%),
    radial-gradient(700px 380px at 92% 8%, rgba(123, 97, 255, 0.22), transparent 62%),
    linear-gradient(135deg, #f6f2ff 0%, #ebe3ff 50%, #dcd0ff 100%);
}

.particle {
  position: absolute;
  border-radius: 999px;
  background: rgba(123, 97, 255, 0.22);
  filter: blur(2px);
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

.particle:nth-child(2) {
  animation-delay: 1.2s;
}

.particle:nth-child(3) {
  animation-delay: 2.4s;
}

.particle:nth-child(4) {
  animation-delay: 3.4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0.35;
  }
  50% {
    transform: translateY(-18px) translateX(8px);
    opacity: 0.82;
  }
}

.typing-dots span {
  animation: blink 1.3s infinite;
  opacity: 0.28;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes blink {
  0%,
  80%,
  100% {
    opacity: 0.25;
  }
  40% {
    opacity: 1;
  }
}

.timeline-line {
  background: linear-gradient(90deg, #bba7ff, #7b61ff, #bba7ff);
  background-size: 200% 100%;
  animation: lineMove 3.5s linear infinite;
}

@keyframes lineMove {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 200% 0;
  }
}

[data-lucide] {
  stroke-width: 1.9;
  vector-effect: non-scaling-stroke;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -0.02em;
}

a,
button {
  transition: all 0.25s ease;
}

input,
textarea,
select,
button {
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: rgba(67, 56, 202, 0.5);
}

input:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: none;
}

main section {
  position: relative;
}

@media (min-width: 768px) {
  main section {
    scroll-margin-top: 90px;
  }
}

@media (max-width: 1024px) {
  .timeline-line {
    display: none;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .glass {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .hero-grad {
    background:
      radial-gradient(620px 320px at 12% -8%, rgba(156, 140, 255, 0.28), transparent 58%),
      radial-gradient(520px 260px at 88% 8%, rgba(123, 97, 255, 0.2), transparent 60%),
      linear-gradient(135deg, #f7f3ff 0%, #ece4ff 52%, #dfd3ff 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .particle,
  .typing-dots span,
  .timeline-line {
    animation: none !important;
  }

  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}