:root {
  color-scheme: dark;
  --bg: #07162f;
  --bg-2: #0b2142;
  --text: #e6f1ff;
  --muted: #97a7c1;
  --electric: #b56cff;
  --cyan: #ff77d6;
  --glow: rgba(181, 108, 255, 0.28);
  --card: rgba(6, 16, 36, 0.75);
  --border: rgba(100, 241, 255, 0.2);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", sans-serif;
  background: radial-gradient(circle at 20% 10%, rgba(181, 108, 255, 0.3), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(255, 119, 214, 0.2), transparent 50%),
    linear-gradient(160deg, var(--bg), var(--bg-2));
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

canvas#bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

main {
  position: relative;
  z-index: 1;
}

.section {
  padding: 96px 8vw;
}

.section:not(.hero) {
  background: transparent;
  border-top: none;
  border-bottom: none;
}

.hero {
  min-height: 92vh;
  display: grid;
  align-items: center;
}

.hero-content {
  max-width: 720px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

body.loaded .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.75rem;
  color: var(--cyan);
  margin-bottom: 16px;
}

h1,
h2,
h3 {
  font-family: "Syne", sans-serif;
}

h1 {
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: 18px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.cta {
  background: linear-gradient(120deg, rgba(181, 108, 255, 0.9), rgba(255, 119, 214, 0.9));
  color: #04101f;
  padding: 14px 28px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(181, 108, 255, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 30px rgba(255, 119, 214, 0.65);
}

.note {
  color: var(--muted);
  font-size: 0.95rem;
}

.section-head {
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 12px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: rgba(8, 18, 40, 0.72);
  border: 1px solid rgba(181, 108, 255, 0.28);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 0 24px rgba(181, 108, 255, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: visible;
}

.card::before {
  content: "";
  position: absolute;
  width: calc(100% + 26px);
  height: calc(100% + 26px);
  left: -13px;
  top: -13px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(255, 119, 214, 0.95) 28deg,
    transparent 55deg,
    transparent 360deg
  );
  -webkit-mask: radial-gradient(circle, transparent 63%, #000 64%);
  mask: radial-gradient(circle, transparent 63%, #000 64%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
  animation: laser-spin 1.4s linear infinite;
}

.card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 119, 214, 0.7);
  box-shadow: 0 0 34px rgba(255, 119, 214, 0.45);
}

@keyframes laser-spin {
  to {
    transform: rotate(360deg);
  }
}

.why-inner {
  max-width: 920px;
  margin: 0 auto;
}

.why-inner p {
  color: var(--muted);
  line-height: 1.7;
  margin-top: 16px;
}

.pillars {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.pillar {
  background: rgba(9, 20, 44, 0.65);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(181, 108, 255, 0.25);
}

.pillar h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.contact {
  display: flex;
  justify-content: center;
}

.contact-wrap {
  max-width: 680px;
  width: min(92vw, 680px);
  background: rgba(8, 18, 40, 0.88);
  border: 1px solid rgba(255, 119, 214, 0.4);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 0 36px rgba(255, 119, 214, 0.35);
  text-align: center;
}

.contact-wrap h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 12px;
}

.contact-wrap p {
  color: var(--muted);
  margin-bottom: 24px;
}

form {
  display: grid;
  gap: 14px;
}

.field-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

input,
textarea {
  background: rgba(9, 20, 42, 0.8);
  border: 1px solid rgba(181, 108, 255, 0.25);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(255, 119, 214, 0.45);
  border-color: rgba(255, 119, 214, 0.7);
}

button {
  background: linear-gradient(120deg, rgba(181, 108, 255, 0.9), rgba(255, 119, 214, 0.9));
  color: #04101f;
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 26px rgba(255, 119, 214, 0.55);
}

#form-status {
  display: block;
  min-height: 20px;
  color: var(--cyan);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 720px) {
  .section {
    padding: 72px 6vw;
  }

  .hero {
    min-height: 88vh;
  }

  .contact-wrap {
    padding: 24px;
  }
}
