:root {
  --bg: #05060b;
  --bg-elev: #0b0d15;
  --panel: rgba(18, 20, 33, 0.68);
  --panel-strong: rgba(20, 23, 38, 0.9);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #eef1ff;
  --muted: #b6bbd4;
  --muted-2: #8f95b2;
  --purple: #6f19ff;
  --purple-2: #4c0fe4;
  --cyan: #00e2d4;
  --cyan-soft: #7cf6ee;
  --danger: #ff5d7d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 16px 48px rgba(0, 0, 0, 0.28);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1200px;
  --header-h: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 14%, rgba(111, 25, 255, 0.17), transparent 35%),
    radial-gradient(circle at 85% 10%, rgba(0, 226, 212, 0.12), transparent 42%),
    radial-gradient(circle at 50% 120%, rgba(111, 25, 255, 0.12), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.45;
  overflow-x: clip;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.section-pad {
  padding: 5rem 0;
  position: relative;
}

.site-shell {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.ambient {
  position: absolute;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.38;
  transition: transform 220ms ease-out;
  will-change: transform;
}

.ambient-a {
  top: -10rem;
  left: -8rem;
  background: radial-gradient(circle, rgba(111, 25, 255, 0.9) 0%, rgba(111, 25, 255, 0.08) 60%, transparent 75%);
}

.ambient-b {
  top: 8rem;
  right: -10rem;
  background: radial-gradient(circle, rgba(0, 226, 212, 0.7) 0%, rgba(0, 226, 212, 0.03) 60%, transparent 75%);
}

.ambient-c {
  bottom: -12rem;
  left: 30%;
  background: radial-gradient(circle, rgba(76, 15, 228, 0.8) 0%, rgba(76, 15, 228, 0.05) 65%, transparent 78%);
}

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    radial-gradient(circle at 20% 20%, #fff 0.5px, transparent 1px),
    radial-gradient(circle at 70% 40%, #fff 0.6px, transparent 1px),
    radial-gradient(circle at 30% 80%, #fff 0.5px, transparent 1px);
  background-size: 180px 180px, 220px 220px, 200px 200px;
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), var(--shadow-soft);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  padding-top: 0.55rem;
  transition: background-color 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.topbar::before {
  content: "";
  display: none;
}

.topbar-inner {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0.7rem;
  border-radius: 20px;
  background: rgba(7, 9, 15, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.topbar.is-scrolled .topbar-inner {
  background: rgba(7, 9, 15, 0.78);
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 30px rgba(0, 0, 0, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(111, 25, 255, 0.35);
}

.brand-wordmark {
  width: 160px;
  height: auto;
  opacity: 0.96;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}

.desktop-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  transition: color 180ms ease, background-color 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.78rem 1.1rem;
  border: 1px solid transparent;
  color: var(--text);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.18) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 550ms ease;
  pointer-events: none;
}

.btn:hover::after,
.btn:focus-visible::after {
  transform: translateX(120%);
}

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

.btn-primary {
  background: linear-gradient(135deg, rgba(111, 25, 255, 0.95), rgba(62, 0, 184, 0.95));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px rgba(76, 15, 228, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 18px 36px rgba(76, 15, 228, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

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

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-lg {
  padding: 0.95rem 1.3rem;
  font-size: 0.96rem;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

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

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  top: calc(100% + 0.2rem);
  left: 0;
  right: 0;
  z-index: 49;
}

.mobile-menu-inner {
  background: rgba(8, 10, 18, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 0.85rem;
  display: grid;
  gap: 0.35rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.mobile-menu-inner a:not(.btn) {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  color: var(--muted);
}

.mobile-menu-inner a:not(.btn):hover,
.mobile-menu-inner a:not(.btn):focus-visible {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
}

.hero {
  padding-top: 2.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  font-size: 0.87rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(0, 226, 212, 0.7);
  animation: pulse-dot 2.3s ease-in-out infinite;
}

.hero-title {
  margin: 1rem 0 1rem;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.2rem, 6vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 16ch;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, var(--cyan) 40%, #90fff8 50%, #b794ff 70%, #fff 95%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 8s linear infinite;
}

.hero-description {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 54ch;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-metrics {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.metric-card {
  padding: 0.95rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.metric-label {
  display: block;
  color: var(--muted-2);
  font-size: 0.74rem;
  margin-bottom: 0.35rem;
}

.metric-value {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.metric-note {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  border-radius: 28px;
  pointer-events: none;
}

.dashboard-card {
  position: relative;
  width: min(100%, 530px);
  border-radius: 24px;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(12, 14, 24, 0.88), rgba(10, 12, 20, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow), 0 0 0 1px rgba(111, 25, 255, 0.12) inset;
  transform-style: preserve-3d;
}

.dashboard-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 226, 212, 0.24), rgba(111, 25, 255, 0.28), rgba(255, 255, 255, 0.07));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.window-dots {
  display: flex;
  gap: 0.3rem;
}

.window-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.window-dots span:nth-child(1) {
  background: rgba(255, 93, 125, 0.8);
}

.window-dots span:nth-child(2) {
  background: rgba(255, 208, 88, 0.8);
}

.window-dots span:nth-child(3) {
  background: rgba(0, 226, 212, 0.8);
}

.dashboard-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.dashboard-body {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0.85rem;
}

.dashboard-sidebar {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.55rem;
  display: grid;
  gap: 0.45rem;
}

.side-pill {
  padding: 0.55rem 0.6rem;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.015);
}

.side-pill.active {
  color: var(--text);
  border-color: rgba(0, 226, 212, 0.25);
  background: linear-gradient(135deg, rgba(0, 226, 212, 0.12), rgba(111, 25, 255, 0.08));
}

.dashboard-main {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.65rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.stat-block {
  border-radius: 14px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-block.wide {
  grid-column: 1 / -1;
}

.stat-block span {
  display: block;
  color: var(--muted-2);
  font-size: 0.72rem;
}

.stat-block strong {
  display: block;
  margin-top: 0.35rem;
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.stat-block small {
  display: block;
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.7rem;
}

.mini-bars {
  margin-top: 0.75rem;
  height: 76px;
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
}

.mini-bars i {
  display: block;
  flex: 1;
  height: var(--h);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(0, 226, 212, 0.9), rgba(111, 25, 255, 0.8));
  box-shadow: 0 0 18px rgba(0, 226, 212, 0.08);
  animation: rise-bars 5.5s ease-in-out infinite;
  animation-delay: calc(var(--h) * -0.02s);
}

.floating-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  color: #eaf6ff;
  font-size: 0.78rem;
  max-width: 260px;
  animation: float-y 5s ease-in-out infinite;
  will-change: transform;
}

.floating-chip .chip-icon {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.chip-a {
  top: 5%;
  right: -2%;
  animation-delay: -0.9s;
}

.chip-b {
  left: -5%;
  bottom: 18%;
  animation-delay: -2.2s;
}

.chip-c {
  right: 4%;
  bottom: -3%;
  animation-delay: -3.1s;
}

.marquee-wrap {
  margin-top: 2rem;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  color: var(--muted);
  font-family: "Sora", sans-serif;
  letter-spacing: -0.02em;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.marquee-track span::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0, 226, 212, 0.7);
  box-shadow: 0 0 16px rgba(0, 226, 212, 0.3);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--cyan);
  font-family: "Sora", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  max-width: 62ch;
}

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

.service-card {
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  transform-style: preserve-3d;
}

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(111, 25, 255, 0.26), rgba(0, 226, 212, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--cyan-soft);
}

.service-card h3 {
  margin: 0.85rem 0 0.65rem;
  font-family: "Sora", sans-serif;
  font-size: 1.04rem;
  letter-spacing: -0.02em;
}

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

.service-card ul {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.service-card li {
  color: #dce0f5;
  font-size: 0.85rem;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.service-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.28rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--cyan), #75fff6);
  box-shadow: 0 0 14px rgba(0, 226, 212, 0.28);
  flex-shrink: 0;
}

.feature-case {
  overflow: clip;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  align-items: center;
}

.feature-copy h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.feature-copy > p:last-of-type {
  margin: 0.8rem 0 0;
  color: var(--muted);
  max-width: 54ch;
}

.feature-list {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.75rem;
}

.feature-item {
  border-radius: 18px;
  padding: 0.95rem;
}

.feature-item h3 {
  margin: 0;
  font-size: 1rem;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.02em;
}

.feature-item p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-visual {
  position: relative;
}

.mock-shell {
  position: relative;
  border-radius: 24px;
  padding: 0.95rem;
  transform-style: preserve-3d;
}

.mock-shell::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(130deg, rgba(111, 25, 255, 0.2), rgba(0, 226, 212, 0.17), rgba(255, 255, 255, 0.06));
  z-index: -1;
  filter: blur(8px);
  opacity: 0.8;
}

.mock-toolbar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
}

.mock-toolbar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.mock-toolbar p {
  margin: 0 0 0 0.3rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.mock-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.75rem;
}

.mock-column {
  display: grid;
  gap: 0.75rem;
}

.mock-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.mock-card {
  border-radius: 18px;
  min-height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    radial-gradient(circle at 20% 20%, rgba(111, 25, 255, 0.16), transparent 55%),
    rgba(255, 255, 255, 0.01);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.mock-card.big {
  min-height: 220px;
  padding: 0.85rem;
}

.mock-lines {
  display: grid;
  gap: 0.55rem;
}

.mock-lines i {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(0, 226, 212, 0.12), rgba(255, 255, 255, 0.03));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

.mock-lines i:nth-child(1) { width: 92%; }
.mock-lines i:nth-child(2) { width: 75%; }
.mock-lines i:nth-child(3) { width: 86%; }
.mock-lines i:nth-child(4) { width: 66%; }

.list-card {
  padding: 0.75rem;
  display: grid;
  gap: 0.55rem;
}

.list-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
}

.list-item span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.list-item span:last-child {
  width: 34px;
  background: rgba(0, 226, 212, 0.18);
}

.chart-card {
  min-height: 160px;
  display: grid;
  place-items: center;
}

.rings {
  width: 110px;
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  background: conic-gradient(from 90deg, rgba(111, 25, 255, 0.15), rgba(111, 25, 255, 0.95), rgba(0, 226, 212, 0.95), rgba(111, 25, 255, 0.15));
  animation: spin-slow 8s linear infinite;
}

.rings::before,
.rings::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rings::after {
  inset: 28px;
  background: rgba(10, 12, 20, 0.85);
  border-color: rgba(255, 255, 255, 0.04);
}

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

.projects-stack {
  display: grid;
  gap: 0.85rem;
}

.project-row {
  border-radius: 20px;
  padding: 0.8rem;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 0.85rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.project-row::before {
  content: "";
  position: absolute;
  inset: auto auto -18% -8%;
  width: 42%;
  height: 70%;
  background: radial-gradient(circle, rgba(111, 25, 255, 0.2), transparent 72%);
  filter: blur(18px);
  pointer-events: none;
}

.project-row::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 30%),
    radial-gradient(circle at 85% 18%, rgba(0, 226, 212, 0.08), transparent 36%);
  pointer-events: none;
}

.project-row-reverse {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.project-row-reverse .project-media {
  order: 2;
}

.project-row-reverse .project-content {
  order: 1;
}

.project-media {
  display: block;
  position: relative;
  z-index: 1;
}

.project-frame {
  border-radius: 16px;
  padding: 0.45rem;
  background:
    linear-gradient(135deg, rgba(111, 25, 255, 0.2), rgba(0, 226, 212, 0.1)),
    rgba(10, 12, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 36px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.project-frame img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  aspect-ratio: 14 / 6;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #090b14;
  transition: transform 280ms ease;
}

.project-frame-top img {
  object-position: center;
}

.project-row:hover .project-frame img,
.project-row:focus-within .project-frame img {
  transform: scale(1.015);
}

.project-content {
  position: relative;
  z-index: 1;
  padding: 0.1rem 0.15rem;
}

.project-content h3 {
  margin: 0.55rem 0 0.35rem;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.project-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
  max-width: 48ch;
}

.project-content ul {
  margin: 0.65rem 0 0;
  padding-left: 1rem;
  color: #d7dcf4;
  display: grid;
  gap: 0.32rem;
  font-size: 0.9rem;
  line-height: 1.32;
}

.project-content li::marker {
  color: rgba(0, 226, 212, 0.9);
}

.project-kpis {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.project-kpis span {
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
}

.portfolio-card {
  border-radius: 22px;
  padding: 1rem;
  position: relative;
  overflow: clip;
  display: grid;
  align-content: start;
}

.portfolio-card::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -10%;
  width: 60%;
  height: 70%;
  background: radial-gradient(circle, rgba(111, 25, 255, 0.2), transparent 70%);
  filter: blur(16px);
  pointer-events: none;
}

.portfolio-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.portfolio-thumb {
  display: block;
  margin: -0.15rem -0.15rem 0.9rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(circle at 20% 20%, rgba(111, 25, 255, 0.2), transparent 60%),
    rgba(8, 10, 18, 0.9);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.portfolio-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 55%, rgba(6, 8, 14, 0.35)),
    linear-gradient(120deg, transparent 10%, rgba(255, 255, 255, 0.09), transparent 55%);
  opacity: 0.9;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.portfolio-thumb img {
  width: 100%;
  aspect-ratio: 12 / 7;
  object-fit: cover;
  object-position: top center;
  transform: scale(1);
  transition: transform 300ms ease;
  background: #0a0d16;
}

.portfolio-card:hover .portfolio-thumb img,
.portfolio-card:focus-within .portfolio-thumb img {
  transform: scale(1.02);
}

.portfolio-card:hover .portfolio-thumb::after,
.portfolio-card:focus-within .portfolio-thumb::after {
  opacity: 0.7;
}

.tag {
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(0, 226, 212, 0.2);
  background: rgba(0, 226, 212, 0.06);
  color: var(--cyan-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag.muted {
  color: var(--muted);
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.portfolio-card h3 {
  margin: 0.85rem 0 0.6rem;
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

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

.portfolio-card ul {
  margin: 0.85rem 0 0;
  padding-left: 1rem;
  color: #d7dcf4;
  display: grid;
  gap: 0.4rem;
}

.portfolio-card li::marker {
  color: rgba(0, 226, 212, 0.9);
}

.portfolio-link {
  margin-top: 0.65rem;
  align-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.86rem;
  width: fit-content;
}

.portfolio-link::after {
  content: "↗";
  font-size: 0.95rem;
  transform: translateY(-1px);
}

.portfolio-link:hover,
.portfolio-link:focus-visible {
  color: #93fbf5;
  outline: none;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0.9rem;
}

.timeline::before {
  content: "";
  display: none;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}

.timeline-step {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: "Sora", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan-soft);
  border: 1px solid rgba(0, 226, 212, 0.24);
  background: rgba(0, 226, 212, 0.07);
  position: relative;
  z-index: 1;
}

.timeline-item h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.timeline-item p {
  margin: 0.38rem 0 0;
  color: var(--muted);
}

.stack-shell {
  border-radius: 24px;
  padding: 1.2rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
  align-items: center;
}

.stack-copy h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.stack-copy p:last-child {
  margin: 0.7rem 0 0;
  color: var(--muted);
  max-width: 48ch;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.stack-item {
  border-radius: 16px;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}

.stack-item span {
  display: block;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stack-item small {
  display: block;
  color: var(--muted);
  margin-top: 0.25rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: center;
}

.contact-copy h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.contact-copy > p:last-of-type {
  margin: 0.8rem 0 0;
  color: var(--muted);
  max-width: 56ch;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.contact-note {
  color: var(--muted-2);
  font-size: 0.85rem;
  margin-top: 0.85rem;
}

.contact-card {
  border-radius: 24px;
  padding: 1rem;
  transform-style: preserve-3d;
}

.contact-card-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.online-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #44ffb2;
  box-shadow: 0 0 12px rgba(68, 255, 178, 0.5);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

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

.contact-card-body {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.7rem;
}

.contact-card-body label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.83rem;
  color: #d7dbf1;
}

.contact-input,
.contact-select,
.contact-textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 0.8rem 0.85rem;
  min-height: 44px;
  outline: none;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.contact-textarea {
  min-height: 96px;
  resize: vertical;
}

.contact-select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.55) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.55) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: var(--muted);
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
  border-color: rgba(0, 226, 212, 0.28);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 0 3px rgba(0, 226, 212, 0.08);
}

.fake-input {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  padding: 0.8rem 0.85rem;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.fake-input.multiline {
  min-height: 88px;
  align-items: flex-start;
}

.fake-submit {
  margin-top: 0.25rem;
  width: 100%;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1rem 0 2rem;
}

.footer-shell {
  border-radius: 22px;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
    radial-gradient(circle at 85% 15%, rgba(0, 226, 212, 0.08), transparent 42%),
    radial-gradient(circle at 12% 100%, rgba(111, 25, 255, 0.12), transparent 46%),
    rgba(7, 9, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto auto;
  align-items: center;
  gap: 0.9rem 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.footer-brand p {
  margin: 0.15rem 0 0;
  color: var(--muted-2);
  font-size: 0.84rem;
  line-height: 1.35;
}

.footer-links {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--muted);
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.07);
  outline: none;
}

.footer-cta {
  display: grid;
  justify-items: end;
  gap: 0.4rem;
}

.footer-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: right;
}

.footer-cta .btn {
  padding-inline: 1rem;
  min-height: 42px;
}

.main-footer {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  flex-wrap: wrap;
}

.main-footer p {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.78rem;
  line-height: 1.5;
}

.footer-link {
  color: var(--cyan);
  font-weight: 600;
  transition: color 180ms ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: #8dfaf4;
  outline: none;
}

.pulse-line {
  position: relative;
  overflow: hidden;
}

.pulse-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(0, 226, 212, 0.12), transparent 60%);
  transform: translateX(-100%);
  animation: sheen 4.2s linear infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 650ms cubic-bezier(0.16, 1, 0.3, 1), transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.tilt {
  transition: transform 220ms ease, box-shadow 220ms ease;
  will-change: transform;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.18); opacity: 1; }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

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

@keyframes rise-bars {
  0%, 100% { transform: scaleY(0.92); opacity: 0.85; }
  50% { transform: scaleY(1.05); opacity: 1; }
}

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

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -100% 0; }
}

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

@keyframes sheen {
  to { transform: translateX(120%); }
}

@media (max-width: 1100px) {
  .hero-grid,
  .feature-grid,
  .contact-grid,
  .stack-shell {
    grid-template-columns: 1fr;
  }

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

  .feature-copy,
  .contact-copy {
    order: 1;
  }

  .feature-visual,
  .contact-card {
    order: 2;
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-row,
  .project-row-reverse {
    grid-template-columns: 1fr;
  }

  .project-row-reverse .project-media,
  .project-row-reverse .project-content {
    order: initial;
  }

  .project-frame img {
    height: auto;
    aspect-ratio: 14 / 6;
  }

  .chip-a { right: 0; }
  .chip-b { left: 0; }
}

@media (max-width: 860px) {
  :root {
    --header-h: 74px;
  }

  .desktop-nav,
  .desktop-only {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .brand-wordmark {
    width: 132px;
  }

  .topbar {
    padding-top: 0.35rem;
  }

  .topbar-inner {
    padding: 0.45rem 0.5rem;
    border-radius: 16px;
  }

  .hero {
    padding-top: 1.1rem;
  }

  .section-pad {
    padding: 4rem 0;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .dashboard-body {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .side-pill {
    text-align: center;
    font-size: 0.73rem;
  }

  .floating-chip {
    position: static;
    max-width: none;
    margin-top: 0.65rem;
    animation: none;
  }

  .chip-b,
  .chip-c {
    display: none;
  }

  .chip-a {
    right: auto;
    left: 0;
  }

  .hero-visual {
    display: block;
    min-height: auto;
  }

  #hero-canvas {
    inset: auto;
    height: 230px;
    position: relative;
    margin-bottom: 0.75rem;
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .project-row {
    padding: 0.8rem;
    gap: 0.85rem;
    border-radius: 18px;
  }

  .project-frame {
    padding: 0.45rem;
    border-radius: 14px;
  }

  .project-frame img {
    height: auto;
    border-radius: 10px;
    aspect-ratio: 14 / 6;
  }

  .project-content h3 {
    font-size: 1.15rem;
  }

  .mock-layout {
    grid-template-columns: 1fr;
  }

  .mock-row {
    grid-template-columns: 1fr;
  }

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

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

  .footer-links {
    justify-content: flex-start;
  }

  .footer-cta {
    justify-items: stretch;
  }

  .footer-cta p {
    text-align: left;
  }

  .footer-cta .btn {
    width: 100%;
  }

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

  .main-footer p {
    font-size: 0.72rem;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 1rem));
  }

  .topbar-actions {
    gap: 0.4rem;
  }

  .topbar-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
    padding: 0.4rem 0.45rem;
  }

  .brand {
    min-width: 0;
  }

  .brand-wordmark {
    width: 118px;
    max-width: 100%;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .hero-title {
    font-size: clamp(2rem, 11vw, 2.8rem);
    max-width: 12ch;
  }

  .hero-description {
    font-size: 0.96rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    gap: 0.55rem;
  }

  .metric-card {
    padding: 0.75rem 0.8rem;
  }

  .metric-value {
    font-size: 1.35rem;
  }

  .btn,
  .btn-lg {
    width: 100%;
    justify-content: center;
  }

  .dashboard-card,
  .mock-shell,
  .contact-card,
  .stack-shell {
    border-radius: 18px;
  }

  .dashboard-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0.45rem;
    gap: 0.35rem;
  }

  .side-pill {
    padding: 0.45rem 0.45rem;
    font-size: 0.7rem;
  }

  .dashboard-main {
    padding: 0.5rem;
  }

  .stat-grid {
    gap: 0.45rem;
  }

  .stat-block {
    padding: 0.55rem;
  }

  .stat-block strong {
    font-size: 1rem;
  }

  .mini-bars {
    height: 58px;
    margin-top: 0.5rem;
  }

  .floating-chip {
    font-size: 0.74rem;
    padding: 0.58rem 0.72rem;
    gap: 0.45rem;
  }

  .floating-chip .chip-icon {
    width: 1.4rem;
    height: 1.4rem;
  }

  #hero-canvas {
    height: 170px;
    margin-bottom: 0.55rem;
  }

  .marquee-wrap {
    margin-top: 1.1rem;
    padding: 0.65rem 0;
  }

  .marquee-track {
    gap: 1.1rem;
    animation-duration: 20s;
  }

  .marquee-track span {
    font-size: 0.8rem;
    gap: 0.55rem;
  }

  .project-row {
    padding: 0.65rem;
    gap: 0.65rem;
    border-radius: 16px;
  }

  .timeline::before {
    left: 0.95rem;
  }

  .timeline-item {
    padding: 0.85rem;
  }

  .project-content p {
    font-size: 0.86rem;
  }

  .project-content ul {
    margin-top: 0.5rem;
    gap: 0.22rem;
    font-size: 0.83rem;
  }

  .project-content ul li:nth-child(n+3) {
    display: none;
  }

  .project-kpis {
    display: none;
  }

  .portfolio-link {
    margin-top: 0.5rem;
    font-size: 0.84rem;
  }

  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-note {
    display: none;
  }

  .footer-cta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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