/* LoopX AI — theme taken from the infinity logo gradient. */
:root {
  --deep: #002ca3;
  --blue: #016ff4;
  --cyan: #03dcff;
  --grad: linear-gradient(120deg, var(--deep) 0%, var(--blue) 55%, var(--cyan) 100%);
  --ink: #0a1633;
  --muted: #5b6785;
  --line: #e3e9f5;
  --bg: #ffffff;
  --bg-alt: #f4f7fd;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(10, 22, 51, 0.04), 0 12px 32px rgba(1, 111, 244, 0.08);
  --radius: 18px;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  left: 8px;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn i {
  font-style: normal;
}

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

.btn-dark {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 20px rgba(1, 111, 244, 0.3);
}

.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(227, 233, 245, 0.7);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 48px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.9rem;
  color: var(--muted);
}

.lang-switch {
  padding: 2px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  padding: 10px 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  margin: 6px 0;
  transition: transform 0.2s ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
  padding: 80px 16px 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 85%, rgba(3, 220, 255, 0.22), transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(1, 111, 244, 0.25), transparent 70%),
    linear-gradient(180deg, #fff 0%, #eef4ff 100%);
}

.ripples {
  position: absolute;
  left: 50%;
  bottom: -340px;
  width: 1600px;
  height: 640px;
  transform: translateX(-50%);
  pointer-events: none;
}

.ripples span {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  border: 2px solid rgba(1, 111, 244, 0.18);
  box-shadow:
    inset 0 6px 14px rgba(255, 255, 255, 0.9),
    0 -4px 12px rgba(1, 111, 244, 0.08);
  animation: ripple 9s ease-out infinite;
  opacity: 0;
}

.ripples span:nth-child(2) {
  animation-delay: 1.8s;
}
.ripples span:nth-child(3) {
  animation-delay: 3.6s;
}
.ripples span:nth-child(4) {
  animation-delay: 5.4s;
}
.ripples span:nth-child(5) {
  animation-delay: 7.2s;
}

@keyframes ripple {
  0% {
    transform: scale(0.15);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.hero-orb {
  position: relative;
  width: min(560px, 92vw);
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px;
  background: radial-gradient(
    circle at 50% 35%,
    rgba(255, 255, 255, 0.95),
    rgba(240, 246, 255, 0.75) 70%
  );
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 40px 80px rgba(1, 111, 244, 0.15),
    inset 0 -20px 40px rgba(3, 220, 255, 0.12),
    inset 0 10px 30px #fff;
  backdrop-filter: blur(6px);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 14px;
}

.hero h1 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 800;
}

.hero-logo {
  width: clamp(64px, 11vw, 104px);
  height: auto;
}

.hero-sub {
  color: var(--muted);
  max-width: 360px;
  margin: 16px auto 24px;
  font-size: 0.98rem;
}

/* Statement */
.statement {
  text-align: center;
  padding: 72px 0 56px;
  max-width: 780px;
}

.statement blockquote {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 500;
  color: #7b86a3;
  line-height: 1.5;
}

.statement strong {
  color: var(--ink);
  font-weight: 700;
}

.signature {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  text-align: left;
}

.signature img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 4px;
  object-fit: contain;
}

.signature strong {
  display: block;
  font-size: 0.9rem;
}

.signature span {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
}

/* Sections */
.section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 14px 0 8px;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  box-shadow: var(--shadow);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.92rem;
}

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

/* Benefit visuals */
.viz {
  height: 170px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f6f9ff, #eef3fc);
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.viz-dial span {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 55%, #e8eefb 100%);
  box-shadow:
    0 10px 24px rgba(1, 111, 244, 0.15),
    inset 0 2px 6px #fff;
  position: relative;
}

.viz-dial span::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 6px;
  border-radius: 6px;
  background: var(--grad);
  transform-origin: 0 50%;
  animation: dial 4s ease-in-out infinite alternate;
}

.viz-dial span::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--deep);
}

@keyframes dial {
  from {
    transform: rotate(-150deg);
  }
  to {
    transform: rotate(-20deg);
  }
}

.viz-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  padding: 24px 24px 0;
}

.viz-bars span {
  width: 34px;
  height: var(--h);
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, rgba(3, 220, 255, 0.9), rgba(1, 111, 244, 0.85));
  box-shadow: 0 -6px 18px rgba(1, 111, 244, 0.2);
}

.viz-bars span:nth-child(1) {
  opacity: 0.35;
}
.viz-bars span:nth-child(2) {
  opacity: 0.55;
}
.viz-bars span:nth-child(3) {
  opacity: 0.75;
}

.viz-sync img {
  width: 120px;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 10px 18px rgba(1, 111, 244, 0.3));
}

.viz-sync::before,
.viz-sync::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px dashed rgba(1, 111, 244, 0.25);
  animation: spin 24s linear infinite;
}

.viz-sync::after {
  width: 140px;
  height: 140px;
  animation-direction: reverse;
}

@keyframes float {
  50% {
    transform: translateY(-8px);
  }
}

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

/* Marquee */
.marquee {
  margin-top: 48px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee-track span {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow);
}

.marquee-track span::before {
  content: '∞ ';
  color: var(--blue);
  font-weight: 700;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Feature list */
.feature-list {
  display: grid;
  gap: 22px;
}

.feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 18px;
}

.feature:nth-child(even) .feature-art {
  order: 2;
}

.feature-body {
  padding: 8px 12px;
}

.feature-body h3 {
  font-size: 1.45rem;
  margin: 14px 0 8px;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 6px 16px rgba(1, 111, 244, 0.35);
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
}

.ticks li {
  padding-left: 26px;
  position: relative;
}

.ticks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.7rem;
  color: var(--blue);
  background: rgba(1, 111, 244, 0.1);
}

.feature-art {
  min-height: 240px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(3, 220, 255, 0.35), transparent 50%),
    radial-gradient(circle at 80% 90%, rgba(0, 44, 163, 0.5), transparent 55%),
    linear-gradient(135deg, #0a1a4f, #0b3aa8);
}

/* Custom AI chip */
.chip {
  width: 110px;
  height: 110px;
  border-radius: 20px;
  background: var(--grad);
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.06),
    0 0 60px rgba(3, 220, 255, 0.6);
  position: relative;
  z-index: 1;
  animation: pulse 3s ease-in-out infinite;
}

.chip::after {
  content: 'AI';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 2rem;
}

.chip span {
  position: absolute;
  background: rgba(255, 255, 255, 0.5);
}

.chip span:nth-child(1),
.chip span:nth-child(2) {
  width: 2px;
  height: 40px;
  top: -40px;
  left: 35%;
}
.chip span:nth-child(2) {
  left: 65%;
  top: auto;
  bottom: -40px;
}
.chip span:nth-child(3),
.chip span:nth-child(4) {
  height: 2px;
  width: 40px;
  left: -40px;
  top: 35%;
}
.chip span:nth-child(4) {
  left: auto;
  right: -40px;
  top: 65%;
}

.nodes i {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
  animation: blink 2.4s ease-in-out infinite;
}

.nodes i:nth-child(1) {
  left: 18%;
  top: 22%;
}
.nodes i:nth-child(2) {
  left: 78%;
  top: 18%;
  animation-delay: 0.4s;
}
.nodes i:nth-child(3) {
  left: 12%;
  top: 72%;
  animation-delay: 0.8s;
}
.nodes i:nth-child(4) {
  left: 84%;
  top: 76%;
  animation-delay: 1.2s;
}
.nodes i:nth-child(5) {
  left: 50%;
  top: 10%;
  animation-delay: 1.6s;
}
.nodes i:nth-child(6) {
  left: 46%;
  top: 88%;
  animation-delay: 2s;
}

@keyframes pulse {
  50% {
    box-shadow:
      0 0 0 18px rgba(255, 255, 255, 0.04),
      0 0 90px rgba(3, 220, 255, 0.8);
  }
}

@keyframes blink {
  50% {
    opacity: 0.25;
  }
}

/* SEO */
.search {
  width: 78%;
  display: grid;
  gap: 10px;
}

.search .q {
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.85rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.search .q::before {
  content: '⌕  ';
  color: var(--blue);
}

.rank {
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.rank.r1 {
  background: linear-gradient(90deg, rgba(3, 220, 255, 0.8), rgba(1, 111, 244, 0.5));
  border-color: transparent;
  box-shadow: 0 0 24px rgba(3, 220, 255, 0.4);
}
.rank.r2 {
  width: 85%;
}
.rank.r3 {
  width: 70%;
}

/* 3D cube */
.art-3d {
  perspective: 700px;
}

.cube {
  width: 110px;
  height: 110px;
  position: relative;
  transform-style: preserve-3d;
  animation: cube 14s linear infinite;
}

.cube span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(3, 220, 255, 0.9);
  background: rgba(1, 111, 244, 0.18);
  box-shadow: inset 0 0 30px rgba(3, 220, 255, 0.35);
}

.cube .f1 {
  transform: translateZ(55px);
}
.cube .f2 {
  transform: rotateY(180deg) translateZ(55px);
}
.cube .f3 {
  transform: rotateY(90deg) translateZ(55px);
}
.cube .f4 {
  transform: rotateY(-90deg) translateZ(55px);
}
.cube .f5 {
  transform: rotateX(90deg) translateZ(55px);
}
.cube .f6 {
  transform: rotateX(-90deg) translateZ(55px);
}

@keyframes cube {
  from {
    transform: rotateX(-24deg) rotateY(0deg);
  }
  to {
    transform: rotateX(-24deg) rotateY(360deg);
  }
}

/* Marketing chart */
.art-marketing svg {
  width: 86%;
  height: 70%;
  overflow: visible;
}

.art-marketing {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 80% 10%, rgba(3, 220, 255, 0.35), transparent 50%),
    linear-gradient(135deg, #0a1a4f, #0b3aa8);
  background-size:
    24px 24px,
    24px 24px,
    auto,
    auto;
}

.trend {
  fill: none;
  stroke: url(#lineGrad);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  filter: drop-shadow(0 0 8px rgba(3, 220, 255, 0.7));
}

.is-visible .trend {
  animation: draw 2.4s ease forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* Sourcing globe */
.globe {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  position: relative;
  background:
    repeating-linear-gradient(0deg, transparent 0 20px, rgba(255, 255, 255, 0.12) 20px 21px),
    repeating-linear-gradient(90deg, transparent 0 20px, rgba(255, 255, 255, 0.12) 20px 21px),
    radial-gradient(circle at 35% 30%, rgba(3, 220, 255, 0.6), rgba(1, 111, 244, 0.3) 60%, transparent 70%);
  border: 1px solid rgba(3, 220, 255, 0.6);
  box-shadow: 0 0 60px rgba(3, 220, 255, 0.35);
}

.globe i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
  animation: ping 2.4s ease-out infinite;
}

.globe i:nth-child(2) {
  animation-delay: 0.6s;
}
.globe i:nth-child(3) {
  animation-delay: 1.2s;
}
.globe i:nth-child(4) {
  animation-delay: 1.8s;
}

@keyframes ping {
  to {
    box-shadow: 0 0 0 18px rgba(255, 255, 255, 0);
  }
}

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

/* Bento */
.bento {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
}

.bento > .card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Wide cards sit top-left and bottom-right, as in a checkerboard. */
.bento > .card:nth-child(4) {
  grid-column: 2;
}

.bento > .card:nth-child(3) {
  grid-column: 1;
  grid-row: 2;
}

.mock {
  min-height: 180px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--bg-alt);
  position: relative;
  padding: 20px;
}

.mock-input {
  height: 42px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  padding-left: 16px;
  max-width: 70%;
}

.caret {
  width: 2px;
  height: 18px;
  background: var(--blue);
  animation: blink 1s steps(1) infinite;
}

.mock-editor ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  max-width: 70%;
  font-size: 0.82rem;
  color: var(--muted);
}

.mock-editor li {
  padding: 6px 10px;
  border-radius: 8px;
}

.mock-editor li:first-child {
  background: rgba(1, 111, 244, 0.08);
  color: var(--blue);
}

.tag {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
}

.mock-logos {
  display: grid;
  place-items: center;
}

.mock-logos img {
  width: 110px;
  filter: drop-shadow(0 12px 20px rgba(1, 111, 244, 0.3));
  animation: float 4s ease-in-out infinite;
}

.mock-rings {
  display: grid;
  place-items: center;
}

.mock-rings span {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue) 0 14%, #fff 15% 36%, #e7eefc 37% 38%, #fff 39% 60%, #e7eefc 61% 62%, #fff 63%);
  box-shadow:
    0 10px 30px rgba(1, 111, 244, 0.2),
    0 0 0 1px var(--line);
}

.mock-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.mock-chat .msg {
  margin: 0;
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 14px 14px 14px 4px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink);
}

.mock-chat .msg-ai {
  align-self: flex-end;
  border-radius: 14px 14px 4px 14px;
  background: var(--grad);
  color: #fff;
  border: 0;
}

/* Process */
.process {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.step-tall {
  grid-row: span 2;
}

.step h3 {
  margin-top: 14px;
}

.step-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.step-meta b {
  font-size: 1.5rem;
  font-weight: 500;
  font-family: Georgia, serif;
}

.dots {
  display: flex;
  gap: 4px;
}

.dots::before,
.dots::after,
.dots {
  --off: #d4dcee;
}

.dots {
  width: 34px;
  height: 8px;
  background:
    radial-gradient(circle, var(--c1, var(--off)) 3.5px, transparent 4px) 0 0 / 12px 8px no-repeat,
    radial-gradient(circle, var(--c2, var(--off)) 3.5px, transparent 4px) 12px 0 / 12px 8px no-repeat,
    radial-gradient(circle, var(--c3, var(--off)) 3.5px, transparent 4px) 24px 0 / 12px 8px no-repeat;
}

.dots[data-step='1'] {
  --c1: var(--blue);
}
.dots[data-step='2'] {
  --c2: var(--blue);
}
.dots[data-step='3'] {
  --c3: var(--blue);
}

.dash {
  margin-top: 20px;
  border-radius: 14px;
  padding: 24px;
  min-height: 260px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  background:
    radial-gradient(circle at 20% 30%, rgba(3, 220, 255, 0.4), transparent 50%),
    linear-gradient(135deg, #0a1a4f, #0b3aa8);
}

.dash-ring {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid rgba(3, 220, 255, 0.7);
  box-shadow:
    0 0 0 10px rgba(3, 220, 255, 0.08),
    0 0 40px rgba(3, 220, 255, 0.5);
}

.dash-ring img {
  width: 90px;
  filter: brightness(1.4);
}

.dash-rows {
  display: grid;
  gap: 12px;
}

.dash-rows i {
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.dash-rows i::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 70%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 6px;
}

.dash-rows i:nth-child(2)::after {
  width: 45%;
}
.dash-rows i:nth-child(3)::after {
  width: 88%;
}
.dash-rows i:nth-child(4)::after {
  width: 60%;
}

/* Contact */
.contact {
  border-top: 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  padding: 48px;
  color: #fff;
  border: 0;
  background:
    radial-gradient(circle at 90% 0%, rgba(3, 220, 255, 0.55), transparent 45%),
    linear-gradient(135deg, var(--deep), var(--blue));
  box-shadow: 0 30px 60px rgba(1, 111, 244, 0.3);
}

.contact-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 16px 0 12px;
}

.contact-inner p {
  color: rgba(255, 255, 255, 0.85);
}

.pill-on-dark {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  box-shadow: none;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  font-size: 0.92rem;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 100%;
}

.contact-form select option {
  color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--cyan);
  outline-offset: 0;
}

.contact-form .btn {
  justify-content: center;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  font-size: 0.85rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer nav a:hover {
  color: var(--blue);
}

.footer p {
  margin: 0;
}

.footer-brand p {
  margin-top: 4px;
  font-size: 0.8rem;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 404 */
.not-found main {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 8px;
}

.not-found h1 {
  font-size: 4rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Responsive */
@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    display: none;
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

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

  .nav.open .nav-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .nav.open .nav-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .grid-3,
  .feature,
  .bento,
  .process,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .bento > .card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .step-tall {
    grid-row: auto;
  }

  .feature:nth-child(even) .feature-art {
    order: 0;
  }

  .hero {
    min-height: 540px;
  }

  .hero-orb {
    padding: 32px;
  }

  .contact-inner {
    padding: 28px 20px;
  }
}

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

  .dash {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .dash-rows {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .trend {
    stroke-dashoffset: 0;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
