:root {
  --bg-top: #020915;
  --bg-bottom: #0a1420;
  --surface: rgba(10, 24, 36, 0.68);
  --surface-strong: rgba(10, 26, 40, 0.88);
  --text: #edf6ff;
  --muted: #aac3d7;
  --brand: #19b8f1;
  --brand-strong: #0f94d3;
  --line: rgba(58, 138, 181, 0.42);
  --glow: 0 24px 60px -28px rgba(25, 184, 241, 0.7);
  --shadow: 0 24px 70px -34px rgba(0, 0, 0, 0.75);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.has-custom-cursor,
.has-custom-cursor body,
.has-custom-cursor body * {
  cursor: none !important;
}

.aurora {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
  opacity: 0.35;
}

.code-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2vw;
  padding: 10vh 4vw 6vh;
  overflow: hidden;
  isolation: isolate;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.95) 16%, rgba(0, 0, 0, 0.95) 84%, transparent 100%);
}

.code-column {
  color: rgba(148, 216, 255, 0.34);
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(0.66rem, 1vw, 0.78rem);
  line-height: 1.65;
  text-shadow: 0 0 14px rgba(44, 164, 224, 0.35);
  white-space: pre-wrap;
  display: grid;
  gap: 34px;
  align-content: start;
}

.code-column pre {
  margin: 0;
  opacity: 0.84;
  position: relative;
  display: block;
  padding-right: 12px;
}

.code-column pre::after {
  content: "|";
  position: absolute;
  top: 0;
  right: 0;
  color: #76e7ff;
  animation: terminal-caret 0.9s steps(1, end) infinite;
}

.code-column-a {
  animation: code-flow-a 22s linear infinite;
  width: min(42vw, 640px);
}

.code-column-b {
  animation: code-flow-b 26s linear infinite;
}

.code-column-right {
  color: rgba(173, 228, 255, 0.42);
  filter: saturate(1.1);
  opacity: 1;
  width: min(28vw, 420px);
  position: absolute;
  right: -1.4vw;
  top: 10vh;
  transform: none;
}

.code-column-right pre {
  opacity: 0.95;
  text-shadow: 0 0 16px rgba(73, 187, 255, 0.45);
}

.tok-k {
  color: #5fd4ff;
}

.tok-s {
  color: #8cffb4;
}

.tok-f {
  color: #ffd56f;
}

.tok-p {
  color: #9ddfff;
}

.tok-v {
  color: #d2ecff;
}

.tok-t {
  color: #b8a6ff;
}

.tok-c {
  color: rgba(162, 196, 220, 0.72);
}

.tok-n {
  color: #ffae86;
}

.tok-tag {
  color: #8bc0ff;
}

.tok-attr {
  color: #ffe082;
}

.aurora-a {
  width: 52vw;
  height: 52vw;
  min-width: 360px;
  min-height: 360px;
  left: -14vw;
  top: 10vh;
  background: radial-gradient(circle at center, rgba(22, 153, 218, 0.7) 0%, rgba(22, 153, 218, 0) 68%);
  animation: drift-a 11s ease-in-out infinite alternate;
}

.aurora-b {
  width: 40vw;
  height: 40vw;
  min-width: 280px;
  min-height: 280px;
  right: -10vw;
  bottom: 8vh;
  background: radial-gradient(circle at center, rgba(76, 196, 255, 0.54) 0%, rgba(76, 196, 255, 0) 72%);
  animation: drift-b 13s ease-in-out infinite alternate;
}

.powered-header {
  width: min(1100px, 92%);
  margin: 24px auto 10px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.custom-cursor-dot,
.custom-cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 999;
  transform: translate(-100px, -100px);
  opacity: 1;
  transition: opacity 0.2s ease;
}

.custom-cursor-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8ceaff;
  box-shadow: 0 0 12px rgba(140, 234, 255, 0.9);
}

.custom-cursor-ring {
  width: 30px;
  height: 30px;
  margin-left: -11px;
  margin-top: -11px;
  border-radius: 50%;
  border: 1px solid rgba(107, 210, 255, 0.9);
  background: rgba(30, 128, 170, 0.16);
  transition: transform 0.18s ease, width 0.18s ease, height 0.18s ease, border-color 0.18s ease;
}

.custom-cursor-ring.is-hover {
  width: 44px;
  height: 44px;
  margin-left: -18px;
  margin-top: -18px;
  border-color: rgba(142, 234, 255, 0.95);
}

.brand-link,
.back-link,
.cta-link {
  display: inline-flex;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  transition: all 0.2s ease;
  background: rgba(7, 17, 28, 0.62);
}

.brand-link {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.back-link:hover,
.back-link:focus-visible,
.cta-link:hover,
.cta-link:focus-visible,
.brand-link:hover,
.brand-link:focus-visible {
  color: #eaf8ff;
  border-color: var(--brand);
  box-shadow: var(--glow);
}

.powered-main {
  width: min(1100px, 92%);
  margin: 0 auto 48px;
  display: grid;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.hero,
.card,
.highlight,
.cta-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero {
  padding: clamp(28px, 6vw, 56px);
  text-align: center;
  background:
    linear-gradient(130deg, rgba(10, 30, 46, 0.88) 0%, rgba(7, 22, 36, 0.74) 70%),
    repeating-linear-gradient(
      90deg,
      rgba(59, 141, 183, 0.12) 0,
      rgba(59, 141, 183, 0.12) 1px,
      transparent 1px,
      transparent 32px
    );
}

.kicker {
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #86cbeb;
  margin: 0 0 10px;
  font-size: 0.78rem;
}

h1,
h2 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  max-width: 20ch;
  margin: 0 auto;
}

.hero-text {
  margin: 16px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.03rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-pills {
  list-style: none;
  margin: 24px auto 0;
  padding: 0;
  max-width: 860px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hero-pills li {
  border: 1px solid rgba(55, 158, 214, 0.5);
  border-radius: 999px;
  background: rgba(18, 69, 99, 0.46);
  color: #d6efff;
  padding: 8px 16px;
  font-weight: 600;
}

.stack-pills {
  list-style: none;
  margin: 12px auto 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.stack-pills li {
  border: 1px solid rgba(44, 184, 241, 0.44);
  background: rgba(11, 37, 56, 0.8);
  border-radius: 999px;
  padding: 6px 12px;
  color: #b8e8ff;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 16px 36px -16px rgba(25, 184, 241, 0.75);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--brand-strong);
}

.btn-secondary {
  background: rgba(8, 25, 38, 0.72);
  color: #d4edff;
  border: 1px solid var(--line);
}

.content-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 22px;
  background: var(--surface-strong);
}

.card h2 {
  font-size: 1.25rem;
}

.card p {
  color: var(--muted);
  margin: 12px 0 0;
}

.highlight,
.cta-box {
  padding: clamp(24px, 4vw, 34px);
}

.highlight ol {
  margin: 14px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.cta-box p {
  color: var(--muted);
  margin: 10px 0 0;
}

.cta-box .btn {
  margin-top: 18px;
}

.phone {
  font-weight: 700;
  color: #eaf8ff;
}

.hero,
.content-grid,
.highlight,
.cta-box {
  animation: reveal-up 0.7s ease both;
}

.content-grid {
  animation-delay: 0.08s;
}

.highlight {
  animation-delay: 0.14s;
}

.cta-box {
  animation-delay: 0.2s;
}

@media (max-width: 900px) {
  .code-overlay {
    grid-template-columns: 1fr;
    padding: 11vh 4vw 6vh;
  }

  .code-column:nth-child(2) {
    display: none;
  }

  .custom-cursor-dot,
  .custom-cursor-ring {
    display: none;
  }

  .powered-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions {
    flex-wrap: wrap;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift-a {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(4vw, 3vh, 0) scale(1.08);
  }
}

@keyframes drift-b {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-3vw, -2vh, 0) scale(1.06);
  }
}

@keyframes code-flow-a {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-180px);
  }
}

@keyframes code-flow-b {
  from {
    transform: translateY(-120px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes terminal-caret {
  0%,
  48% {
    opacity: 1;
  }
  49%,
  100% {
    opacity: 0;
  }
}
