:root {
  --bg: #020a08;
  --bg-alt: #050f0c;
  --surface: #081210;
  --surface-2: #0c1a17;
  --border: rgba(20, 184, 166, 0.10);
  --border-hover: rgba(20, 184, 166, 0.28);

  --cyan: #14b8a6;
  --cyan-dim: rgba(20, 184, 166, 0.55);
  --cyan-glow: rgba(20, 184, 166, 0.15);
  --orange: #f97316;
  --purple: #5eead4;
  --green: #10b981;
  --red: #ef4444;
  --yellow: #fbbf24;

  --text-primary: #f0f4f8;
  --text-secondary: #8ba3b8;
  --text-dim: #4a6278;

  --font-display: 'Syne', sans-serif;
  --font-mono: 'DM Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-weight: 300;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
  will-change: transform;
  transition: transform 0.04s linear, opacity var(--transition);
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--cyan-dim);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
  will-change: transform;
  transition: transform 0.14s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    width var(--transition), height var(--transition),
    border-color var(--transition);
}

body.cursor-hover .cursor-ring {
  width: 56px;
  height: 56px;
  border-color: var(--cyan);
}

@media (pointer: coarse) {

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

  body {
    cursor: auto;
  }
}

#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  will-change: transform, opacity;
}

.mesh-orb-1 {
  width: 700px;
  height: 700px;
  top: -200px;
  left: -150px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.09) 0%, transparent 70%);
  animation: orbFloat1 18s ease-in-out infinite;
}

.mesh-orb-2 {
  width: 600px;
  height: 600px;
  bottom: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.07) 0%, transparent 70%);
  animation: orbFloat2 22s ease-in-out infinite;
}

.mesh-orb-3 {
  width: 500px;
  height: 500px;
  top: 40%;
  left: 40%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.05) 0%, transparent 70%);
  animation: orbFloat3 26s ease-in-out infinite;
}

@keyframes orbFloat1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(80px, 60px) scale(1.08);
  }

  66% {
    transform: translate(-40px, 80px) scale(0.95);
  }
}

@keyframes orbFloat2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  40% {
    transform: translate(-60px, -80px) scale(1.1);
  }

  75% {
    transform: translate(40px, -40px) scale(0.92);
  }
}

@keyframes orbFloat3 {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.15);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mesh-orb {
    animation: none !important;
  }

  .cursor-ring,
  .cursor-dot {
    transition: none !important;
  }
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section {
  padding: 120px 0;
  position: relative;
  z-index: 2;
}

.section-alt {
  background: linear-gradient(180deg, transparent 0%, rgba(13, 17, 23, 0.6) 10%, rgba(13, 17, 23, 0.6) 90%, transparent 100%);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 16px;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--cyan) 0%, #2dd4bf 50%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-glow);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: none;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition),
    background var(--transition), border-color var(--transition);
  will-change: transform;
  white-space: nowrap;
  padding: 10px 22px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, #0d9488 100%);
  color: #020a08;
  font-weight: 400;
  box-shadow: 0 0 24px rgba(20, 184, 166, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 0 40px rgba(20, 184, 166, 0.45), 0 4px 20px rgba(20, 184, 166, 0.3);
}

.btn-ghost {
  color: var(--text-secondary);
  border-color: var(--border);
  background: transparent;
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: rgba(20, 184, 166, 0.04);
}

.btn-outline {
  color: var(--cyan);
  border-color: var(--cyan-dim);
  background: transparent;
}

.btn-outline:hover {
  background: var(--cyan-glow);
  border-color: var(--cyan);
  box-shadow: 0 0 24px rgba(20, 184, 166, 0.15);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 0.95rem;
}

.btn-xl {
  padding: 18px 36px;
  font-size: 1rem;
}

.nav-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1100px;
  z-index: 1000;
  border-radius: var(--radius-xl);
  background: rgba(5, 6, 8, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition),
    box-shadow var(--transition);
  will-change: transform;
}

.nav-header.scrolled {
  background: rgba(5, 6, 8, 0.82);
  border-color: var(--border-hover);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(20, 184, 166, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-png {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
  will-change: transform;
  transition: transform var(--transition), filter var(--transition);
  filter: drop-shadow(0 0 6px rgba(20, 184, 166, 0.18));
}

.nav-logo:hover .logo-png {
  transform: scale(1.1);
  filter: drop-shadow(0 0 14px rgba(20, 184, 166, 0.5));
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #f0f4f8 60%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-png-text {
  width: auto;
  height: 72px;
  border-radius: 0;
  object-fit: contain;
  mix-blend-mode: screen;
  transition: transform var(--transition), opacity var(--transition);
  opacity: 0.95;
}

.nav-logo:hover .logo-png-text {
  transform: scale(1.05);
  opacity: 1;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  margin-right: 16px;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 100px;
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(20, 184, 166, 0.06);
}

.nav-cta {
  margin-left: auto;
  flex-shrink: 0;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 8px;
  margin-left: auto;
  border-radius: var(--radius-sm);
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
  will-change: transform;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
  background: var(--cyan);
}

.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
  background: var(--cyan);
}

.hero {
  position: relative;
  z-index: 2;
}

.hero-splash-track {
  position: relative;
  height: 250vh;
}

.hero-splash {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 48px;
  overflow: hidden;
}

.hero-logo-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-logo-anim {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 0;


  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 40%, transparent 72%);
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 40%, transparent 72%);
  filter: brightness(1.05) saturate(1.2);
}

.hero-splash::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:

    linear-gradient(to top, var(--bg) 0%, transparent 38%),

    linear-gradient(to bottom, rgba(5, 6, 8, 0.35) 0%, transparent 22%),

    linear-gradient(to right, rgba(5, 6, 8, 0.25) 0%, transparent 18%),
    linear-gradient(to left, rgba(5, 6, 8, 0.25) 0%, transparent 18%);
}

.hero-logo-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%,
      rgba(34, 211, 238, 0.08) 0%,
      rgba(167, 139, 250, 0.05) 40%,
      transparent 68%);
  pointer-events: none;
  z-index: 1;
  animation: glowPulse 5s ease-in-out infinite;
  will-change: opacity;
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 0.85;
  }

  50% {
    opacity: 1;
  }
}

.hero-content {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  z-index: 2;

  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.hero-content.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-content {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.hero-eyebrow {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}

.badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-glow);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 14px;
  transition: border-color var(--transition), background var(--transition);
}

.badge-dim {
  color: var(--text-dim);
  background: transparent;
}

.hero-headline {
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-sub em {
  color: var(--cyan);
  font-style: normal;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.terminal-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
  box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.04),
    0 32px 80px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(20, 184, 166, 0.05);
  position: relative;
}

.terminal-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-red {
  background: #ff5f57;
}

.dot-yellow {
  background: #febc2e;
}

.dot-green {
  background: #28c840;
}

.terminal-title {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-left: auto;
  margin-right: auto;
}

.terminal-body {
  padding: 20px 24px;
  font-size: 0.8rem;
  line-height: 1.6;
}

.terminal-line {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 2px 0;
  opacity: 0;
  animation: termLine 0.4s forwards;
}

.terminal-line:nth-child(1) {
  animation-delay: 0.4s;
}

.terminal-line:nth-child(2) {
  animation-delay: 0.9s;
}

.terminal-line:nth-child(3) {
  animation-delay: 1.5s;
}

.terminal-line:nth-child(4) {
  animation-delay: 2.1s;
}

.terminal-line:nth-child(5) {
  animation-delay: 2.7s;
}

.terminal-line:nth-child(6) {
  animation-delay: 3.3s;
}

@keyframes termLine {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.t-dim {
  color: var(--text-dim);
}

.t-muted {
  color: var(--text-secondary);
}

.t-cyan {
  color: var(--cyan);
}

.t-red {
  color: var(--red);
}

.t-orange {
  color: var(--orange);
}

.t-green {
  color: var(--green);
}

.t-yellow {
  color: var(--yellow);
}

.t-bright {
  color: var(--text-primary);
  font-weight: 400;
}

.terminal-cursor {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: var(--cyan);
  border-radius: 1px;
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
  will-change: opacity;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: fadeUp 0.8s 1.5s forwards;
  transition: opacity 0.4s ease;
}

.hero-scroll-hint.hidden {
  opacity: 0 !important;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-hint {
    transition: none !important;
  }
}

.scroll-line {
  width: 3px;
  height: 80px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  border-radius: 3px;
  animation: scrollPulse 2s ease-in-out infinite;
  will-change: transform, box-shadow;
  box-shadow: 0 0 8px var(--cyan), 0 0 20px rgba(20, 184, 166, 0.5);
}

@keyframes scrollPulse {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 1;
    box-shadow: 0 0 8px var(--cyan), 0 0 20px rgba(20, 184, 166, 0.5);
  }

  50% {
    transform: scaleY(0.6);
    opacity: 0.7;
    box-shadow: 0 0 16px var(--cyan), 0 0 40px rgba(20, 184, 166, 0.8);
  }
}

.scroll-label {
  font-size: 0.82rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(20, 184, 166, 0.8), 0 0 20px rgba(20, 184, 166, 0.4);
  animation: labelGlow 2s ease-in-out infinite;
}

@keyframes labelGlow {

  0%,
  100% {
    text-shadow: 0 0 8px rgba(20, 184, 166, 0.8), 0 0 20px rgba(20, 184, 166, 0.4);
    opacity: 1;
  }

  50% {
    text-shadow: 0 0 16px rgba(20, 184, 166, 1), 0 0 40px rgba(20, 184, 166, 0.7);
    opacity: 0.85;
  }
}

.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step-card {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  background: transparent;
  transition: background var(--transition-slow), border-color var(--transition-slow);
  position: relative;
}

.step-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: width;
}

.step-card:hover {
  background: var(--surface);
  border-color: var(--border);
}

.step-card:hover::before {
  width: 100%;
}

.step-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(20, 184, 166, 0.08);
  line-height: 1;
  letter-spacing: -0.04em;
  transition: color var(--transition);
  will-change: color;
}

.step-card:hover .step-num {
  color: rgba(20, 184, 166, 0.18);
}

.step-body p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.8;
  margin-top: 8px;
}

.step-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.code-snippet {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--text-secondary);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  width: 100%;
  max-width: 280px;
}

.cs-dim {
  color: var(--text-dim);
}

.cs-kw {
  color: var(--cyan);
}

.cs-fn {
  color: var(--orange);
}

.cs-muted {
  color: var(--text-secondary);
}

.graph-mini {
  position: relative;
  width: 200px;
  height: 90px;
}

.gn {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid;
  background: var(--surface-2);
}

.gn-file {
  border-color: rgba(167, 139, 250, 0.4);
  color: var(--purple);
  top: 0;
  left: 0;
}

.gn-fn {
  border-color: rgba(20, 184, 166, 0.4);
  color: var(--cyan);
  top: 32px;
  left: 60px;
}

.gn-var {
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--green);
  top: 64px;
  left: 0;
}

.gn-err {
  border-color: rgba(239, 68, 68, 0.6);
  color: var(--red);
  top: 0;
  right: 0;
  animation: errPulse 2s ease-in-out infinite;
}

@keyframes errPulse {

  0%,
  100% {
    box-shadow: 0 0 0 rgba(239, 68, 68, 0);
  }

  50% {
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
  }
}

.ge {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.checks-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 280px;
  width: 100%;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid;
}

.check-ok {
  color: var(--green);
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.05);
}

.check-err {
  color: var(--red);
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.05);
}

.check-warn {
  color: var(--yellow);
  border-color: rgba(251, 191, 36, 0.3);
  background: rgba(251, 191, 36, 0.05);
}

.ci-icon {
  font-size: 1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.ai-bubble {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 2px solid var(--cyan);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  max-width: 280px;
  width: 100%;
}

.ai-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 8px;
}

.ai-text {
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.ai-text code {
  font-family: var(--font-mono);
  background: rgba(20, 184, 166, 0.1);
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--cyan);
}

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

.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition), border-color var(--transition),
    box-shadow var(--transition);
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.feat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-dim), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.feat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(20, 184, 166, 0.06);
}

.feat-card:hover::after {
  opacity: 1;
}

.feat-large {
  grid-column: span 2;
}

.feat-icon {
  width: 52px;
  height: 52px;
  background: rgba(20, 184, 166, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition), border-color var(--transition);
}

.feat-card:hover .feat-icon {
  background: rgba(20, 184, 166, 0.1);
  border-color: var(--border-hover);
}

.feat-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.feat-card code {
  font-family: var(--font-mono);
  background: rgba(20, 184, 166, 0.08);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--cyan);
  font-size: 0.85em;
}

.feat-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px 12px;
}

.arch-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 64px;
}

.arch-layer {
  width: 100%;
  max-width: 860px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--surface);
  position: relative;
  transition: border-color var(--transition);
}

.arch-layer:hover {
  border-color: var(--border-hover);
}

.arch-ext {
  border-color: rgba(167, 139, 250, 0.2);
}

.arch-backend {
  border-color: rgba(20, 184, 166, 0.2);
}

.arch-data {
  border-color: rgba(16, 185, 129, 0.2);
}

.arch-layer-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.arch-components {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.arch-comp {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  transition: color var(--transition), border-color var(--transition);
}

.arch-comp:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.arch-comp-highlight {
  color: var(--cyan);
  border-color: rgba(20, 184, 166, 0.25);
  background: rgba(20, 184, 166, 0.04);
}

.arch-comp-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.arch-comp-title {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.arch-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  z-index: 1;
}

.arch-arrow-line {
  width: 1px;
  height: 32px;
  position: relative;
  background: linear-gradient(to bottom, rgba(20, 184, 166, 0.4), rgba(20, 184, 166, 0.1));
}

.arch-arrow-line::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: rgba(20, 184, 166, 0.4);
}

.arch-arrow-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.quickstart {
  max-width: 680px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.qs-header {
  padding: 20px 24px 0;
}

.qs-tabs {
  display: flex;
  gap: 4px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--border);
}

.qs-tab {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  background: none;
  border: none;
  cursor: none;
  padding: 6px 14px;
  border-radius: 100px;
  transition: color var(--transition), background var(--transition);
}

.qs-tab.active,
.qs-tab:hover {
  color: var(--cyan);
  background: var(--cyan-glow);
}

.qs-panel {
  padding: 0;
}

.qs-panel pre {
  padding: 24px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.qs-panel pre code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.c-dim {
  color: var(--text-dim);
}

.c-kw {
  color: var(--cyan);
}

.c-key {
  color: var(--purple);
}

.c-str {
  color: var(--green);
}

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

.api-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--transition), border-color var(--transition);
  will-change: transform;
}

.api-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
}

.api-method {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}

.api-post {
  background: rgba(249, 115, 22, 0.15);
  color: var(--orange);
}

.api-get {
  background: rgba(20, 184, 166, 0.1);
  color: var(--cyan);
}

.api-path {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.api-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.api-desc code {
  font-family: var(--font-mono);
  background: rgba(20, 184, 166, 0.08);
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--cyan);
  font-size: 0.85em;
}

.api-code {
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.api-code pre {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.api-code code {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.section-download {
  background: transparent;
  overflow: hidden;
}

.dl-content {
  text-align: center;
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.dl-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, transparent 65%);
  pointer-events: none;
  animation: dlPulse 4s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes dlPulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.7;
  }
}

.dl-content h2 {
  margin-bottom: 16px;
}

.dl-content .section-sub {
  margin-bottom: 48px;
}

.dl-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.dl-stats {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-pill {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  min-width: 120px;
  transition: border-color var(--transition), transform var(--transition);
  will-change: transform;
}

.stat-pill:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.stat-val {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
  position: relative;
  z-index: 2;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  text-decoration: none;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  grid-column: span 3;
  transition: opacity var(--transition);
  text-align: center;
  justify-self: center;
}

.footer-logo:hover {
  opacity: 0.8;
}

.footer-logo img {
  height: 100px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  mix-blend-mode: screen;
  opacity: 0.95;
  transition: opacity var(--transition), filter var(--transition);
  filter: drop-shadow(0 0 6px rgba(20, 184, 166, 0.18));
}

.footer-logo:hover img {
  opacity: 1;
  filter: drop-shadow(0 0 14px rgba(20, 184, 166, 0.5));
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-dim);
  grid-column: span 3;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  grid-column: span 3;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dim);
  grid-column: span 3;
  text-align: center;
}

[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  will-change: opacity, transform;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feat-large {
    grid-column: span 2;
  }

  .api-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-card {
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    padding: 32px 24px;
  }

  .step-visual {
    grid-column: 2;
    justify-content: flex-start;
  }

  .arch-layer .arch-components {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .nav-header {
    top: 8px;
    width: calc(100% - 24px);
    border-radius: var(--radius-lg);
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(5, 6, 8, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    gap: 2px;
    margin: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    padding: 10px 16px;
    width: 100%;
    border-radius: var(--radius-md);
  }

  .nav-burger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .section {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 48px;
  }

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

  .feat-large {
    grid-column: span 1;
  }

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

  .step-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px;
  }

  .step-num {
    font-size: 2.5rem;
  }

  .step-visual {
    justify-content: flex-start;
  }

  .code-snippet,
  .ai-bubble,
  .checks-list {
    max-width: 100%;
  }

  .graph-mini {
    display: none;
  }

  .arch-diagram {
    gap: 0;
  }

  .arch-layer {
    padding: 24px;
  }

  .dl-actions {
    flex-direction: column;
    align-items: center;
  }

  .dl-stats {
    gap: 8px;
  }

  .stat-pill {
    min-width: 100px;
    padding: 12px 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-logo,
  .footer-tagline,
  .footer-links,
  .footer-copy {
    grid-column: 1;
  }

  .qs-tabs {
    overflow-x: auto;
  }

  .hero {
    padding: 120px 24px 64px;
  }

  .hero-actions {
    gap: 12px;
  }

  .btn-xl {
    padding: 14px 24px;
  }

  .terminal-body {
    padding: 16px;
  }

  .terminal-line {
    font-size: 0.72rem;
  }
}

@media (max-width: 375px) {
  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .btn-xl {
    padding: 12px 20px;
    font-size: 0.88rem;
  }

  .dl-stats {
    flex-direction: column;
    align-items: center;
  }
}

@media (hover: none) {

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

.founder-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.founder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  will-change: transform;
}

.founder-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(20, 184, 166, 0.07);
}

.founder-photo-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.founder-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--border);
  transition: border-color var(--transition), filter var(--transition);
  position: relative;
  z-index: 1;
}

.founder-card:hover .founder-photo {
  border-color: var(--cyan-dim);
  filter: brightness(1.06) saturate(1.1);
}

.founder-photo-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 0;
}

.founder-card:hover .founder-photo-glow {
  opacity: 1;
}

.founder-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.founder-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0;
}

.founder-school {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .founders-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .founders-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  max-width: 680px;
  margin: 0 auto;
}

.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-field-full {
  grid-column: 1 / -1;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.contact-input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  padding: 14px 18px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  width: 100%;
}

.contact-input::placeholder {
  color: var(--text-dim);
}

.contact-input:focus {
  border-color: var(--cyan-dim);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.08), 0 0 20px rgba(20, 184, 166, 0.06);
}

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

@media (max-width: 600px) {
  .contact-fields {
    grid-template-columns: 1fr;
  }

  .contact-field-full {
    grid-column: 1;
  }
}