:root {
  color-scheme: dark;
  --bg: #0b0f14;
  --bg-2: #0f1521;
  --text: #e7edf5;
  --muted: #9aa5b1;
  --accent: #55f6b3;
  --accent-2: #6bb4ff;
  --accent-3: #f9b85d;
  --stroke: rgba(255, 255, 255, 0.08);
  --card: rgba(15, 21, 33, 0.74);
  --glow: rgba(85, 246, 179, 0.35);
  --mx: 50vw;
  --my: 30vh;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(4, 8, 15, 0.6);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 4px;
}

img {
  max-width: 100%;
  display: block;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.bg-grid {
  position: absolute;
  inset: -20% -10% 0 -10%;
  background-image:
    linear-gradient(transparent 94%, rgba(255, 255, 255, 0.06) 96%),
    linear-gradient(90deg, transparent 94%, rgba(255, 255, 255, 0.05) 96%);
  background-size: 80px 80px;
  opacity: 0.35;
  transform: translateY(-10%);
  animation: drift 24s linear infinite;
}

.bg-orb {
  position: absolute;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85, 246, 179, 0.35), rgba(11, 15, 20, 0));
  filter: blur(10px);
  mix-blend-mode: screen;
  transform: translate3d(calc(var(--mx) - 27.5vw), calc(var(--my) - 27.5vw), 0);
  transition: transform 0.18s ease-out;
}

.bg-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E");
  opacity: 0.5;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.cursor,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate3d(-50%, -50%, 0);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cursor {
  width: 10px;
  height: 10px;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(85, 246, 179, 0.6);
}

.cursor-ring {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(85, 246, 179, 0.4);
  box-shadow: 0 0 30px rgba(107, 180, 255, 0.25);
}

.cursor.active,
.cursor-ring.active {
  opacity: 1;
}

.cursor.hover {
  transform: translate3d(-50%, -50%, 0) scale(1.5);
}

.cursor-ring.hover {
  transform: translate3d(-50%, -50%, 0) scale(1.8);
}

[data-parallax],
.magnetic {
  will-change: transform;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(11, 15, 20, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-logo {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
}

.brand-logo svg {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 18px rgba(107, 180, 255, 0.35));
  transition: transform 0.25s ease;
}

.brand:hover .brand-logo svg {
  transform: rotate(-6deg) scale(1.05);
}

.brand-text {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 24px 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.75rem;
  color: var(--accent-2);
}

.hero-title {
  font-size: clamp(2.8rem, 4vw, 4.4rem);
  line-height: 1.05;
  margin: 16px 0 24px;
  position: relative;
}

.hero-title::after {
  content: attr(data-text);
  position: absolute;
  left: 2px;
  top: 2px;
  color: rgba(107, 180, 255, 0.6);
  z-index: -1;
  filter: blur(2px);
}

.hero-sub {
  color: var(--muted);
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 18px;
  margin: 28px 0;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 17, 26, 0.8);
}

.stat-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 440px;
}

.floating-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  padding: 22px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: absolute;
  top: 0;
  right: 10%;
  width: 280px;
  backdrop-filter: blur(12px);
}

.floating-card.alt {
  top: 200px;
  right: auto;
  left: 0;
  width: 260px;
  border-color: rgba(107, 180, 255, 0.3);
}

.card-title {
  font-weight: 600;
  margin: 0 0 8px;
}

.card-body {
  color: var(--muted);
  margin: 0 0 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 320px;
  background: rgba(9, 12, 17, 0.86);
  border-radius: var(--radius);
  border: 1px solid rgba(85, 246, 179, 0.3);
  box-shadow: var(--shadow);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
}

.terminal-top {
  display: flex;
  gap: 6px;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.terminal pre {
  margin: 0;
  padding: 14px 16px 20px;
  color: #d7e3f1;
  white-space: pre-wrap;
}

.prompt {
  color: var(--accent);
}

.ok {
  color: var(--accent-2);
}

.pulse {
  color: var(--accent-3);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

@keyframes drift {
  0% {
    transform: translateY(-10%);
  }
  50% {
    transform: translate(-4%, -6%);
  }
  100% {
    transform: translateY(-10%);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 36px;
}

.section-head p {
  max-width: 560px;
  color: var(--muted);
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: rgba(107, 180, 255, 0.12);
  border: 1px solid rgba(107, 180, 255, 0.3);
  color: var(--accent-2);
  margin-bottom: 14px;
}

.grid {
  display: grid;
  gap: 20px;
}

.trust-strip .section-head {
  margin-bottom: 28px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 21, 33, 0.6);
  color: var(--muted);
  font-size: 0.85rem;
}

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

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

.solution-card {
  background: rgba(14, 20, 31, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.solution-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(85, 246, 179, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.solution-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(85, 246, 179, 0.14);
  border: 1px solid rgba(85, 246, 179, 0.35);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 14px;
}

.solution-tag {
  display: inline-flex;
  margin-top: 16px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-3);
}

.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(107, 180, 255, 0.22), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.card h3 {
  margin-top: 0;
}

.pill {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-3);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
}

.bullet-list {
  display: grid;
  gap: 12px;
  color: var(--muted);
  margin-top: 22px;
}

.panel {
  background: rgba(12, 17, 25, 0.9);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(107, 180, 255, 0.25);
  box-shadow: var(--shadow);
}

.step {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.step:last-child {
  border-bottom: none;
}

.step-number {
  font-size: 0.9rem;
  color: var(--accent-2);
}

.step-title {
  font-weight: 600;
  margin: 0 0 6px;
}

.step-desc {
  margin: 0;
  color: var(--muted);
}

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

.timeline-item {
  background: rgba(15, 21, 33, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 18px;
}

.timeline-title {
  font-weight: 600;
  color: var(--accent);
}

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

.stack-card {
  padding: 20px;
  border-radius: 16px;
  background: rgba(16, 22, 34, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.preview-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  background: rgba(10, 14, 22, 0.92);
  border-radius: 24px;
  border: 1px solid rgba(107, 180, 255, 0.2);
  padding: 28px;
  box-shadow: var(--shadow);
}

.preview-copy p {
  color: var(--muted);
}

.preview-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--muted);
}

.preview-metrics span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-graph {
  display: grid;
  gap: 14px;
  align-items: end;
  background: rgba(8, 11, 18, 0.9);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.graph-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  align-items: end;
  height: 90px;
}

.graph-row span {
  display: block;
  width: 100%;
  height: var(--h);
  background: linear-gradient(180deg, rgba(85, 246, 179, 0.8), rgba(107, 180, 255, 0.4));
  border-radius: 8px;
  opacity: 0.85;
}

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

.process-card {
  background: rgba(14, 20, 31, 0.85);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(107, 180, 255, 0.14);
  border: 1px solid rgba(107, 180, 255, 0.35);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 12px;
}

.process-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.numbers-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.number-card {
  background: rgba(12, 17, 26, 0.85);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  text-align: center;
}

.number-value {
  font-size: 1.4rem;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
}

.number-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.testimonial-card {
  background: rgba(12, 17, 26, 0.9);
  border-radius: 24px;
  border: 1px solid rgba(107, 180, 255, 0.25);
  padding: 28px;
  box-shadow: var(--shadow);
}

.testimonial-card h3 {
  margin-top: 10px;
}

.testimonial-card p {
  color: var(--muted);
}

.testimonial-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(85, 246, 179, 0.18);
  border: 1px solid rgba(85, 246, 179, 0.4);
  display: grid;
  place-items: center;
  font-weight: 600;
  color: var(--accent);
}

.testimonial-meta .name {
  display: block;
  font-weight: 600;
}

.testimonial-meta .role {
  color: var(--muted);
  font-size: 0.85rem;
}

.story {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.story-visual {
  background: radial-gradient(circle at top, rgba(85, 246, 179, 0.2), rgba(11, 15, 20, 0.1));
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  text-align: center;
}

.logo-core {
  width: min(240px, 70vw);
  margin: 0 auto 18px;
}

.logo-core svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(85, 246, 179, 0.35));
  animation: float 6s ease-in-out infinite;
}

.logo-caption {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.story-content p {
  color: var(--muted);
  max-width: 520px;
}

.story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
}

.story-tags span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--accent-3);
}

.callout {
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(85, 246, 179, 0.16), rgba(107, 180, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #051018;
  box-shadow: 0 12px 30px rgba(85, 246, 179, 0.3);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 16px 32px rgba(85, 246, 179, 0.25);
}

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

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

.site-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
}

.footer-meta {
  display: flex;
  gap: 24px;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 80px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .floating-card {
    position: relative;
    width: auto;
    right: auto;
    margin-bottom: 16px;
  }

  .floating-card.alt {
    left: auto;
  }

  .terminal {
    position: relative;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stats {
    gap: 18px;
  }

  .callout {
    align-items: flex-start;
  }
}

@media (hover: none) {
  .cursor,
  .cursor-ring {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
