@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&f[]=satoshi@400,500,700&display=swap');

:root {
  --bg: #0E0E0E;
  --bg-surface: #181818;
  --bg-card: #1A1A1A;
  --bg-hover: #222222;
  --accent: #5FCF80;
  --accent2: #5FCF80;
  --accent-glow: rgba(95, 207, 128, .2);
  --text: #e8e8ef;
  --text-muted: #6b6b80;
  --border: rgba(255, 255, 255, .06);
  --radius: 14px;
  --radius-sm: 8px;
  --font-display: 'Clash Display', sans-serif;
  --font-body: 'Satoshi', sans-serif;
  --transition: .35s cubic-bezier(.4, 0, .2, 1);
  --max-w: 1240px;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

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

ul {
  list-style: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  color: var(--accent);
}

.section {
  padding: 120px 0;
}

.section__tag {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 60px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .5px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--accent);
  color: #0a0a0f;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn--ghost {
  border: 1.5px solid var(--border);
  color: var(--text);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

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

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 18px 0;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(10, 10, 15, .85);
  backdrop-filter: blur(18px);
  padding: 12px 0;
}

/* Modal Styles */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, .8);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal__content {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.modal.active .modal__content {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: .2s;
}

.modal__close:hover {
  background: rgba(255, 255, 255, .2);
  transform: rotate(90deg);
}

.modal__image {
  height: auto;
  max-height: 80vh;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--border);
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal__info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modal__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 6px 12px;
  border-radius: 100px;
  width: fit-content;
}

.modal__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
}

.modal__desc {
  color: var(--text-muted);
  line-height: 1.6;
}

.modal__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.modal__stat-item strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.modal__stat-item span {
  font-size: .85rem;
  color: var(--text-muted);
}

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

.modal__tool {
  font-size: .85rem;
  padding: 6px 14px;
  background: rgba(255, 255, 255, .05);
  border-radius: 8px;
  color: var(--text-muted);
}

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

  .modal__image {
    height: 240px;
    border-right: none;
    border-bottom: 1px solid var(--border);
    min-height: auto;
  }

  .modal__info {
    padding: 24px;
  }
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav__logo-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.nav__logo span {
  color: var(--text);
}

.nav__links {
  display: flex;
  gap: 36px;
}

.nav__links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav__links a:hover {
  color: var(--text);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__cta {
  padding: 10px 24px;
  border: 1.5px solid var(--accent);
  border-radius: 60px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
}

.nav__cta:hover {
  background: var(--accent);
  color: var(--bg);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.nav__burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  flex: 1;
}

.hero__tag {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 28px;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scene {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
  z-index: 1;
  pointer-events: none;
}

.cube {
  width: 100%;
  height: 100%;
  position: relative;
}

.cube__face {
  display: none;
}

.bubble {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  background: linear-gradient(135deg, rgba(95, 207, 128, .08), rgba(95, 207, 128, .03));
  border: 1px solid rgba(255, 255, 255, .08);
  animation: blob-morph 12s ease-in-out infinite;
}

.bubble::before {
  content: '';
  position: absolute;
  inset: 15%;
  border-radius: inherit;
  background: radial-gradient(circle at 35% 35%, rgba(95, 207, 128, .12), transparent 60%);
  filter: blur(30px);
}

.bubble::after {
  content: '';
  position: absolute;
  top: 18%;
  left: 22%;
  width: 25%;
  height: 25%;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  filter: blur(12px);
}

@keyframes blob-morph {

  0%,
  100% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }

  33% {
    border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
  }

  66% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
}

.live-cursors {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.live-cursor {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: top 2.5s cubic-bezier(.25, .1, .25, 1),
    left 2.5s cubic-bezier(.25, .1, .25, 1);
  will-change: top, left;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .3));
}

.live-cursor__icon {
  flex-shrink: 0;
}

.live-cursor__label {
  margin-left: 14px;
  margin-top: -2px;
  padding: 4px 10px;
  border-radius: 4px 8px 8px 8px;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  line-height: 1.3;
}

[data-cursor="dev"] {
  color: #6BAF7D;
}

[data-cursor="dev"] .live-cursor__label {
  background: #6BAF7D;
  color: #0E0E0E;
}

[data-cursor="qa"] {
  color: #8ECDA0;
}

[data-cursor="qa"] .live-cursor__label {
  background: #8ECDA0;
  color: #0E0E0E;
}

.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {

  0%,
  100% {
    opacity: 0;
    transform: translateY(0) scale(.5);
  }

  50% {
    opacity: .6;
    transform: translateY(-80px) scale(1);
  }
}

.anim-fade {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp .8s ease forwards;
}

.anim-fade[data-delay="1"] {
  animation-delay: .15s;
}

.anim-fade[data-delay="2"] {
  animation-delay: .3s;
}

.anim-fade[data-delay="3"] {
  animation-delay: .45s;
}

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

.anim-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}

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

.cases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.case-card:hover {
  border-color: rgba(95, 207, 128, .3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(95, 207, 128, .12);
}

.case-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(95, 207, 128, .12);
  color: var(--accent);
  margin-bottom: 20px;
}

.case-card__icon svg {
  width: 28px;
  height: 28px;
}

.case-card__badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(95, 207, 128, .15);
  color: var(--accent2);
  font-size: .75rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: .5px;
}

.case-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.case-card__desc {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.case-card__stats {
  display: flex;
  gap: 24px;
}

.case-card__stats div {
  display: flex;
  flex-direction: column;
}

.case-card__stats strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--accent);
}

.case-card__stats span {
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.case-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(95, 207, 128, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  backdrop-filter: blur(4px);
  border-radius: var(--radius);
}

.case-card__overlay span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: white;
  padding: 12px 28px;
  border: 1.5px solid rgba(255, 255, 255, .3);
  border-radius: 40px;
  transition: var(--transition);
}

.case-card:hover .case-card__overlay {
  opacity: 1;
}

.case-card:hover .case-card__overlay span:hover {
  background: white;
  color: var(--bg);
}

.roadmap__wrapper {
  position: relative;
}

.roadmap__line {
  display: none;
}

.roadmap__steps {
  display: flex;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}

.roadmap__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  flex: 1;
  position: relative;
  padding: 0 4px;
}

.roadmap__step::before {
  content: '';
  position: absolute;
  top: 24px;
  left: -50%;
  right: 50%;
  height: 1px;
  background: rgba(255, 255, 255, .08);
  z-index: -1;
  transition: background .5s ease;
}

.roadmap__step:first-child::before {
  display: none;
}

.roadmap__step.completed::before,
.roadmap__step.active::before {
  background: rgba(95, 207, 128, .25);
}

.roadmap__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.roadmap__node-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .4s cubic-bezier(.4, 0, .2, 1);
  position: relative;
}

.roadmap__node-ring svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: var(--transition);
}

.roadmap__node-label {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.roadmap__step.completed .roadmap__node-ring {
  border-color: var(--accent);
  background: rgba(95, 207, 128, .1);
}

.roadmap__step.completed .roadmap__node-ring svg {
  color: var(--accent);
}

.roadmap__step.completed .roadmap__node-label {
  color: var(--accent);
}

.roadmap__step.active .roadmap__node-ring {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow), 0 0 40px rgba(95, 207, 128, .08);
  transform: scale(1.18);
  animation: nodePulse 2s ease-in-out infinite;
}

@keyframes nodePulse {

  0%,
  100% {
    box-shadow: 0 0 20px var(--accent-glow), 0 0 40px rgba(95, 207, 128, .08);
  }

  50% {
    box-shadow: 0 0 28px var(--accent-glow), 0 0 56px rgba(95, 207, 128, .15);
  }
}

.roadmap__step.active .roadmap__node-ring svg {
  color: var(--bg);
}

.roadmap__step.active .roadmap__node-label {
  color: var(--text);
  font-weight: 600;
}

.roadmap__step:not(.active):hover .roadmap__node-ring {
  border-color: rgba(95, 207, 128, .45);
  transform: scale(1.08);
  background: rgba(95, 207, 128, .06);
}

.roadmap__step:not(.active):hover .roadmap__node-label {
  color: var(--text);
}

.roadmap__detail {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  animation: detailSlideIn .45s cubic-bezier(.4, 0, .2, 1);
  transition: min-height 0.3s ease;
}

.roadmap__detail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(95, 207, 128, .2), transparent);
}

.roadmap__detail::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 207, 128, .06), transparent 70%);
  pointer-events: none;
}

@keyframes detailSlideIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

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

.roadmap__detail-index {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 36px;
  border-right: 1px solid var(--border);
}

.roadmap__detail-index-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(95, 207, 128, .12);
  line-height: 1;
  user-select: none;
}

.roadmap__detail-body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.roadmap__detail-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.roadmap__detail-step {
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.roadmap__detail-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.roadmap__detail-desc {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.roadmap__detail-deliverables {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.roadmap__detail-label {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .5px;
}

.roadmap__detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.roadmap__tag {
  padding: 6px 16px;
  background: rgba(95, 207, 128, .08);
  border: 1px solid rgba(95, 207, 128, .12);
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--accent);
  transition: var(--transition);
}

.roadmap__tag:hover {
  background: rgba(95, 207, 128, .18);
  border-color: rgba(95, 207, 128, .3);
}

.roadmap__detail-meta {
  display: flex;
  gap: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.roadmap__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--text-muted);
}

.roadmap__meta-item svg {
  color: var(--accent);
  flex-shrink: 0;
  opacity: .7;
}

.testi__slider {
  overflow: hidden;
  position: relative;
}

.testi__track {
  display: flex;
  gap: 24px;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.testi__card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: var(--transition);
}

.testi__card:hover {
  border-color: rgba(0, 240, 255, .15);
}

.testi__stars {
  color: #fbbf24;
  font-size: 1rem;
  margin-bottom: 18px;
  letter-spacing: 2px;
}

.testi__text {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-style: italic;
}

.testi__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  color: var(--bg);
  flex-shrink: 0;
}

.testi__author strong {
  display: block;
  font-size: .9rem;
}

.testi__author span {
  font-size: .78rem;
  color: var(--text-muted);
}

.testi__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}

.testi__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-muted);
}

.testi__btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.testi__btn svg {
  width: 18px;
  height: 18px;
}

.testi__dots {
  display: flex;
  gap: 8px;
}

.testi__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.testi__dot.active {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

.trusted {
  padding-bottom: 80px;
}

.marquee {
  overflow: hidden;
  width: 100%;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marquee__track {
  display: flex;
  gap: 60px;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}

.marquee__item {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: .5;
  transition: opacity .3s;
}

.marquee__item:hover {
  opacity: 1;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form__group {
  position: relative;
}

.form__group input,
.form__group textarea {
  width: 100%;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .92rem;
  outline: none;
  transition: var(--transition);
  resize: none;
}

.form__group input:focus,
.form__group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form__group label {
  position: absolute;
  left: 20px;
  top: 18px;
  font-size: .92rem;
  color: var(--text-muted);
  transition: var(--transition);
  pointer-events: none;
}

.form__group input:focus+label,
.form__group textarea:focus+label,
.form__group input:not(:placeholder-shown)+label,
.form__group textarea:not(:placeholder-shown)+label {
  top: -10px;
  left: 14px;
  font-size: .72rem;
  background: var(--bg);
  padding: 2px 8px;
  color: var(--accent);
  border-radius: 4px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.contact__info-card:hover {
  border-color: rgba(0, 240, 255, .2);
}

.contact__info-card svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact__info-card strong {
  display: block;
  font-size: .85rem;
  margin-bottom: 4px;
}

.contact__info-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact__socials {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.contact__social {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  transition: var(--transition);
}

.contact__social:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 240, 255, .06);
}

.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 16px;
  max-width: 280px;
}

.footer__col h4 {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: .5px;
}

.footer__col a {
  display: block;
  font-size: .85rem;
  color: var(--text-muted);
  padding: 5px 0;
  transition: var(--transition);
}

.footer__col a:hover {
  color: var(--accent);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.footer__bottom p {
  font-size: .78rem;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 1024px) {
  .hero__scene {
    width: 260px;
    height: 260px;
    right: 3%;
  }

  .cube__face {
    width: 200px;
    height: 200px;
    margin-left: -100px;
    margin-top: -100px;
  }

  .cube__face--front {
    transform: translateZ(100px);
  }

  .cube__face--back {
    transform: rotateY(180deg) translateZ(100px);
  }

  .cube__face--right {
    transform: rotateY(90deg) translateZ(100px);
  }

  .cube__face--left {
    transform: rotateY(-90deg) translateZ(100px);
  }

  .cube__face--top {
    transform: rotateX(90deg) translateZ(100px);
  }

  .cube__face--bottom {
    transform: rotateX(-90deg) translateZ(100px);
  }

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

  .testi__card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 15, .96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 99;
  }

  .nav__links.open {
    opacity: 1;
    pointer-events: all;
  }

  .nav__links a {
    font-size: 1.2rem;
    color: var(--text);
  }

  .nav__cta {
    display: none;
  }

  .nav__burger {
    display: flex;
    z-index: 101;
  }

  .nav__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__burger.active span:nth-child(2) {
    opacity: 0;
  }

  .nav__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .live-cursors,
  .hero__scene {
    display: none !important;
  }

  .hero {
    flex-direction: column;
    text-align: left;
    padding-top: 120px;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__sub {
    margin-left: 0;
    margin-right: 0;
  }

  .hero__actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero__actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .roadmap__steps {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding-bottom: 8px;
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
    scrollbar-width: none;
  }

  .roadmap__steps::-webkit-scrollbar {
    display: none;
  }

  .roadmap__step {
    flex: 0 0 80px;
    scroll-snap-align: center;
  }

  .roadmap__node-ring {
    width: 40px;
    height: 40px;
  }

  .roadmap__node-ring svg {
    width: 18px;
    height: 18px;
  }

  .roadmap__node-label {
    font-size: .7rem;
  }

  .roadmap__step::before {
    top: 20px;
  }

  .roadmap__detail {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .roadmap__detail-index {
    display: none;
  }

  .roadmap__detail-body {
    padding: 28px 24px;
    gap: 16px;
  }

  .roadmap__detail-title {
    font-size: 1.3rem;
  }

  .roadmap__detail-desc {
    font-size: .88rem;
  }

  .roadmap__detail-meta {
    flex-wrap: wrap;
    gap: 16px;
  }

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

  .testi__card {
    flex: 0 0 100%;
  }

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

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2.2rem;
  }

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

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

  .roadmap__step {
    flex: 0 0 68px;
  }

  .roadmap__node-ring {
    width: 36px;
    height: 36px;
  }

  .roadmap__node-ring svg {
    width: 16px;
    height: 16px;
  }

  .roadmap__node-label {
    font-size: .62rem;
  }

  .roadmap__step::before {
    top: 18px;
  }

  .roadmap__detail-body {
    padding: 20px 16px;
  }

  .roadmap__detail-title {
    font-size: 1.15rem;
  }

  /* Modal Mobile Fixes */
  .modal__content {
    width: 90%;
    max-width: 400px;
    max-height: 85vh;
    border-radius: 20px;
    margin: 0 auto;
  }

  .modal__title {
    font-size: 1.3rem;
  }

  .modal__desc {
    font-size: 0.85rem;
  }

  .modal__info {
    padding: 20px;
  }
}

/* Global Overflow Fix */
html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Prevent jumping */
.roadmap__detail {
  min-height: 320px;
}

.testi__track {
  min-height: 280px;
}

/* Modal Loader */
.modal-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s infinite linear;
  z-index: 5;
  pointer-events: none;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (max-width: 768px) {

  .roadmap__line,
  .roadmap__steps {
    display: none !important;
  }

  .testi__controls {
    display: none !important;
  }
}