:root {
  --bg: #0b0f1a;
  --bg-alt: #0f172a;
  --card: #0e1629;
  --text: #e5e7eb;
  --muted: #9aa4b2;
  --brand: #7c3aed;
  --brand-2: #06b6d4;
  --ok: #10b981;
  --warn: #f59e0b;
  --danger: #ef4444;
  --glass: rgba(255, 255, 255, 0.06);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --maxw: 1200px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(124, 58, 237, .25), transparent),
    radial-gradient(800px 400px at -10% -10%, rgba(6, 182, 212, .25), transparent),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover{
  color: white;
}

.container {
  width: min(92%, var(--maxw));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border: none;
  color: white;
  padding: .9rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(124, 58, 237, .35);
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(124, 58, 237, .45);
}

.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--text);
  box-shadow: none;
  backdrop-filter: blur(6px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  font-size: .8rem;
  background: rgba(124, 58, 237, .15);
  border: 1px solid rgba(124, 58, 237, .3);
}

.card {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.grid {
  display: grid;
  gap: 1.2rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

header.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.2) blur(10px);
  background: rgba(11, 15, 26, .65);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 900;
  letter-spacing: .4px;
}

.nav a {
  opacity: .9;
  font-weight: 600;
}

.nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.nav-toggle {
  display: none;
}

@media (max-width: 720px) {
  .nav {
    position: relative;
  }
  .nav ul {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-alt);
    flex-direction: column;
    gap: 0;
    width: 200px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
  }

  .nav ul.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav ul li {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

.hero {
  padding: 0rem 0 3rem;
  position: relative;
}

.hero h1 {
  font-size: clamp(2rem, 3.2vw + 1rem, 3.5rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero p.lead {
  font-size: clamp(1rem, .6vw + .9rem, 1.35rem);
  color: var(--muted);
  max-width: 60ch;
}

.hero .actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.hero .kpis {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.kpi {
  padding: .9rem 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  min-width: 220px;
}

.kpi strong {
  font-size: 1.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-top: 3rem;
}

.hero-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
}

.imgDesk {
  display: block;
}

.imgMob {
  display: none;
}

@media (max-width: 720px) {
  .hero-image {
    display: block;
    order: -1;
  }

  .hero-grid {
    padding-top: 3rem;
    grid-template-columns: 1fr;
  }

  .hero-image .imgDesk {
    display: none;
  }

  .hero-image .imgMob {
    display: block;
    width: auto;
    max-width: 200px;
  }
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: rgba(255, 255, 255, .02);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  padding: 1rem 0;
  animation: scroll 24s linear infinite;
}

@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}

.brand {
  opacity: .7;
  font-weight: 800;
  letter-spacing: .08em;
  white-space: nowrap;
}

section {
  padding: 4rem 0;
}

section h2 {
  font-size: clamp(1.4rem, 1vw + 1.2rem, 2rem);
  margin: 0 0 .6rem;
}

section p.sub {
  color: var(--muted);
  margin-top: 0;
}

.service {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.service .icon {
  width: 42px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 58, 237, .25), rgba(6, 182, 212, .25));
  border: 1px solid rgba(255, 255, 255, .1);
}

.service ul {
  margin: .2rem 0 0 1rem;
  padding: 0;
  color: var(--muted);
}

.cases {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1rem;
  align-items: stretch;
}

.case {
  position: relative;
  overflow: hidden;
}

.case-visual {
  background: radial-gradient(800px 400px at 80% 0%, rgba(124, 58, 237, .2), rgba(255, 255, 255, .04));
  padding: 1rem;
  height: 100%;
  display: flex;
  align-items: end;
  justify-content: center;
}

.mock {
  width: 92%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  background: linear-gradient(135deg, #1f2937, #111827);
  border: 1px solid rgba(255, 255, 255, .1);
  position: relative;
  overflow: hidden;
}

.mock::before,
.mock::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 6px);
  opacity: .35;
}

.case-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .7rem 1rem;
  background: rgba(255, 255, 255, .04);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .06);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.step {
  padding: 1rem;
  position: relative;
}

.step .n {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(124, 58, 237, .2);
  border: 1px solid rgba(124, 58, 237, .35);
  font-weight: 800;
}

.step p {
  color: var(--muted);
  margin: .3rem 0 0;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.plan {
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  position: relative;
}

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: .7rem;
  letter-spacing: .08em;
  padding: .25rem .5rem;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .06);
  border-radius: 999px;
}

.price {
  font-size: 1.5rem;
  font-weight: 900;
  margin: .4rem 0;
}

.plan ul {
  margin: .5rem 0 0 1.1rem;
  color: var(--muted);
}

.testi {
  position: relative;
  overflow: hidden;
}

.slider {
  display: flex;
  transition: transform .6s ease;
}

.quote {
  min-width: 100%;
  padding: 1.2rem;
}

.quote blockquote {
  margin: 0;
  font-size: 1.1rem;
}

.quote .by {
  margin-top: .6rem;
  color: var(--muted);
}

.slider-nav {
  display: flex;
  gap: .4rem;
  justify-content: center;
  margin-top: .6rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  border: none;
  cursor: pointer;
}

.dot.active {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.faq .item {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  padding: .9rem 1rem;
  background: rgba(255, 255, 255, .03);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq p {
  color: var(--muted);
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  padding: 1rem;
}

form .full {
  grid-column: 1 / -1;
}

input,
textarea,
select {
  width: 100%;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--text);
  padding: .8rem;
  border-radius: 12px;
  outline: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.consent {
  font-size: .85rem;
  color: var(--muted);
}


footer {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 2rem 0;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}


@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .cases {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .pricing {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav ul {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  form {
    grid-template-columns: 1fr;
  }
}


@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }

  .reveal {
    transition: none;
  }
}

.social-icons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  font-size: 14px;
  color: var(--text);
  transition: color 0.3s ease;
}

.social-item i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 20px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: transform 0.2s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.social-item:hover i {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 8px 22px rgba(124, 58, 237, .45);
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.social-item span {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.social-item:hover span {
  opacity: 1;
}




.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project h3 {
  margin: 0;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.carousel img {
  width: 100%;
  flex: 0 0 100%;
  border-radius: var(--radius);
}


.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: white;
  border: none;
  padding: .5rem .8rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.carousel .prev { left: 10px; }
.carousel .next { right: 10px; }

.tech {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
