:root {
  --black: #0f0e15;
  --purple: #783bff;
  --purple-light: #9d6dff;
  --purple-dark: #3a0fa8;
  --card: #16141f;
  --card2: #1d1a28;
  --text: #f0ede8;
  --muted: #aaaaaa;
  --dim: #777777;
  --border: #2a2638;
  --border2: #393347;
  --s3: #252233;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* NOISE TEXTURE OVERLAY */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* PURPLE GLOW BG */
.glow-bg {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(
    ellipse at center,
    rgba(120, 59, 255, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* NAV */
nav {
  padding: 2px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.logo {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--purple);
}

.nav-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 9999px;
  text-decoration: none;
  background: linear-gradient(
    180deg,
    rgba(120, 59, 255, 0.32) 0%,
    rgba(120, 59, 255, 0.18) 100%
  );
  border: 1px solid rgba(157, 109, 255, 0.45);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 4px 16px rgba(120, 59, 255, 0.28);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(255, 255, 255, 0.2),
    transparent 60%
  );
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.nav-cta::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(
    circle at 50% 100%,
    rgba(157, 109, 255, 0.45),
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
  filter: blur(6px);
  transition: all 0.3s;
}

.nav-cta > * {
  position: relative;
  z-index: 2;
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: linear-gradient(
    180deg,
    rgba(120, 59, 255, 0.45) 0%,
    rgba(120, 59, 255, 0.28) 100%
  );
  border-color: rgba(157, 109, 255, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 8px 24px rgba(120, 59, 255, 0.45);
}
.nav-cta:hover::before {
  opacity: 1;
}
.nav-cta:hover::after {
  opacity: 0.8;
  filter: blur(10px);
}

/* HERO */
.hero {
  padding: 0 0 64px;
  min-height: 500px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero > * {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.5s ease-out forwards;
}
.hero > *:nth-child(1) {
  animation-delay: 0.1s;
}
.hero > *:nth-child(2) {
  animation-delay: 0.25s;
}
.hero > *:nth-child(3) {
  animation-delay: 0.4s;
}
.hero > *:nth-child(4) {
  animation-delay: 0.55s;
}
.hero > *:nth-child(5) {
  animation-delay: 0.7s;
}

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

/* SCROLL REVEAL — cinematic minimalism with blur focus */
.reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.4s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(8px);
  transition:
    opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}
.reveal-stagger.in > * {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.reveal-stagger.in > *:nth-child(1) {
  transition-delay: 0ms;
}
.reveal-stagger.in > *:nth-child(2) {
  transition-delay: 130ms;
}
.reveal-stagger.in > *:nth-child(3) {
  transition-delay: 260ms;
}
.reveal-stagger.in > *:nth-child(4) {
  transition-delay: 390ms;
}
.reveal-stagger.in > *:nth-child(5) {
  transition-delay: 520ms;
}
.reveal-stagger.in > *:nth-child(6) {
  transition-delay: 650ms;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 9999px;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
}

.hero-eyebrow svg {
  width: 16px;
  height: 16px;
  color: var(--purple-light);
}

h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(42px, 6.5vw, 76px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -2.5px;
  color: var(--text);
  margin-bottom: 28px;
  max-width: 820px;
  tracking: tight;
}

h1 .hero-gradient {
  background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0.55));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: rgba(244, 244, 244, 0.65);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 36px;
  font-weight: 400;
  text-align: center;
}

.hero-sub strong {
  color: var(--text);
  font-weight: 500;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 48px;
  font-size: 14px;
  color: rgba(244, 244, 244, 0.5);
}

.hero-stats .stat-val {
  font-size: 46px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.stat-div {
  font-size: 20px;
}

.hero-stats .stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
}

.cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* GLASS BUTTON */
.btn-primary {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(
    180deg,
    rgba(120, 59, 255, 0.32) 0%,
    rgba(120, 59, 255, 0.18) 100%
  );
  border: 1px solid rgba(157, 109, 255, 0.45);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(120, 59, 255, 0.25),
    0 8px 32px rgba(120, 59, 255, 0.35),
    0 0 0 1px rgba(120, 59, 255, 0.15);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(255, 255, 255, 0.18),
    transparent 60%
  );
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(
    circle at 50% 100%,
    rgba(157, 109, 255, 0.5),
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
  opacity: 0.6;
  filter: blur(8px);
  transition: all 0.3s;
}

.btn-primary > * {
  position: relative;
  z-index: 2;
}

.btn-primary .btn-label {
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(
    180deg,
    rgba(120, 59, 255, 0.45) 0%,
    rgba(120, 59, 255, 0.28) 100%
  );
  border-color: rgba(157, 109, 255, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(120, 59, 255, 0.3),
    0 16px 48px rgba(120, 59, 255, 0.5),
    0 0 0 1px rgba(120, 59, 255, 0.25);
}

.btn-primary:hover::before {
  opacity: 1;
}
.btn-primary:hover::after {
  inset: -4px;
  opacity: 0.9;
  filter: blur(12px);
}

.btn-primary .arrow {
  display: inline-block;
  color: #ffffff;
  transition: transform 0.2s;
}

.btn-primary:hover .arrow {
  transform: translateX(4px);
}

.btn-ghost {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

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

/* STATS ROW */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 0.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 80px;
}

.stat {
  background: var(--card);
  padding: 28px 24px;
  text-align: center;
}

.stat-val {
  font-family: "Montserrat", sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -1px;
}

.stat-lbl {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

/* SECTION TITLES */
.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--purple);
  text-transform: uppercase;
  margin-bottom: 12px;
}

h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.15;
}

h2 em {
  font-style: normal;
  color: var(--purple);
}

/* CLIENTS */
/* BRANDS MARQUEE */
.brands-section {
  padding: 64px 0 56px;
  margin-bottom: 24px;
}

.brands-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 56px;
}

.brands-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 18px rgba(120, 59, 255, 0.9);
  animation: brands-pulse 2.4s ease-in-out infinite;
}

@keyframes brands-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(1.5);
  }
}

.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

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

.brand-item {
  flex-shrink: 0;
  padding: 0 60px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.brand-item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background: var(--border);
  opacity: 0.4;
}

.brand-item:last-child::after {
  display: none;
}

.brand-item img {
  height: 130px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    filter 0.4s ease;
}

.brand-item:hover img {
  opacity: 1;
  transform: scale(1.06);
}

/* WHAT WE DO */
.services-section {
  margin-bottom: 80px;
}

.services-intro {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.65;
}

.services-intro strong {
  color: var(--text);
  font-weight: 500;
}

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

.service-card {
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition:
    border-color 0.2s,
    transform 0.2s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.service-card:hover {
  border-color: rgba(120, 59, 255, 0.4);
  transform: translateY(-2px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(120, 59, 255, 0.12);
  border: 0.5px solid rgba(120, 59, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 18px;
}

.service-title {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.service-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* TESTIMONIALS */
.testimonials-section {
  margin-bottom: 80px;
  text-align: center;
}

.testimonials-section .section-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 12px;
}

.testimonials-section h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}

.testimonials-section .section-desc {
  font-size: 16px;
  color: var(--dim);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.segment-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 9999px;
  margin-bottom: 36px;
  max-width: 100%;
}

.segment-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 9999px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  flex: 0 0 auto;
}

.segment-tab:hover {
  color: var(--text);
}

.segment-tab.active {
  background: var(--text);
  color: var(--black);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.segment-tab svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Mobile: stack tabs vertically in full width */
@media (max-width: 560px) {
  .segment-tabs {
    display: flex;
    width: 100%;
    max-width: 360px;
    flex-direction: column;
    border-radius: 14px;
    padding: 4px;
    gap: 2px;
  }
  .segment-tab {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
  }
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}

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

.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-align: left;
  display: flex;
  flex-direction: column;
  animation: heroFadeUp 0.35s ease-out forwards;
}

.testimonial-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 20px;
}

.testimonial-stars svg {
  width: 14px;
  height: 14px;
  color: #f59e0b;
  fill: #f59e0b;
}

.testimonial-card blockquote {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 24px;
  flex: 1;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--s3);
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-card .avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(120, 59, 255, 0.25),
    rgba(120, 59, 255, 0.1)
  );
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
  font-size: 18px;
  font-weight: 600;
}

.testimonial-card .author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.testimonial-card .author-role {
  font-size: 12px;
  color: var(--muted);
}

/* HOW IT WORKS */
.how-section {
  margin-bottom: 80px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.step {
  position: relative;
  padding: 28px;
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: 14px;
}

.step-num {
  font-family: "Montserrat", sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: rgba(120, 59, 255, 0.12);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -2px;
}

.step-title {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* CASES — bento grid with metrics + capabilities */
.cases-section {
  margin-bottom: 80px;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.cases-grid .case-card.span-2 {
  grid-column: span 2;
}

@media (max-width: 860px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }
  .cases-grid .case-card.span-2 {
    grid-column: span 1;
  }
}

.case-card {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, var(--card) 0%, var(--card2) 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  overflow: hidden;
  transition:
    border-color 0.3s,
    transform 0.3s;
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  border-color: rgba(120, 59, 255, 0.4);
  transform: translateY(-2px);
}

.case-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.case-industry {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.case-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(120, 59, 255, 0.12);
  color: var(--purple-light);
}
.case-icon svg {
  width: 14px;
  height: 14px;
}

.case-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  color: var(--dim);
  background: var(--s3);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 9999px;
  letter-spacing: 0.04em;
}

.case-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 14px;
}

.case-metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
  background: rgba(120, 59, 255, 0.08);
  border: 1px solid rgba(120, 59, 255, 0.18);
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.case-metric-value {
  font-family: "JetBrains Mono", monospace;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.case-metric-label {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.case-caps {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.case-cap {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.case-cap-check {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  margin-top: 2px;
  color: #4ade80;
}

.case-cap-text {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}
.case-cap-text strong {
  color: var(--text);
  font-weight: 600;
  margin-right: 4px;
}

.case-quote {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.case-quote p {
  font-size: 11px;
  line-height: 1.55;
  font-style: italic;
  color: var(--muted);
  margin: 0 0 6px;
}

.case-quote cite {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-style: normal;
}

.case-quote cite .author {
  font-weight: 600;
  color: var(--text);
}

.case-quote cite .sep {
  color: var(--border2);
}

.case-quote cite .role {
  color: var(--dim);
}

.cases-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: linear-gradient(180deg, var(--card) 0%, var(--card2) 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 22px;
  margin-top: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

.cases-footer-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.cases-footer-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.cases-footer-stat-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.cases-footer-stat-lbl {
  font-size: 10px;
  color: var(--muted);
}

.cases-footer-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border2);
  flex-shrink: 0;
}

.cases-footer-meta {
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .cases-footer {
    padding: 16px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .cases-footer-stats {
    width: 100%;
    gap: 14px;
  }
  .cases-footer-divider {
    display: none;
  }
  .cases-footer-stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex: 1 1 auto;
  }
}

/* FORM SECTION */
.form-section {
  margin-bottom: 80px;
}

.form-wrapper {
  background: var(--card2);
  border: 0.5px solid rgba(120, 59, 255, 0.3);
  border-radius: 20px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.form-wrapper::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    ellipse,
    rgba(120, 59, 255, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.form-left h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 12px;
}

.form-left p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.65;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--muted);
}

.trust-item::before {
  content: "";
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  background: rgba(120, 59, 255, 0.15);
  border: 0.5px solid rgba(120, 59, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%23783BFF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.trust-item strong {
  color: var(--text);
  font-weight: 500;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.form-field input,
.form-field select {
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  -webkit-appearance: none;
}

.form-field input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.form-field input:focus,
.form-field select:focus {
  border-color: rgba(120, 59, 255, 0.6);
  background: rgba(120, 59, 255, 0.05);
}

.form-field select {
  cursor: pointer;
}
.form-field select option {
  background: #1a1a2e;
  color: var(--text);
}

.btn-form {
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 16px;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-form:hover {
  background: var(--purple-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(120, 59, 255, 0.3);
}

.form-disclaimer {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  text-align: center;
  margin-top: 4px;
  line-height: 1.5;
}

/* SUCCESS STATE */
.success-msg {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.success-msg .check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(120, 59, 255, 0.15);
  border: 0.5px solid rgba(120, 59, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}

.success-msg h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.success-msg p {
  font-size: 14px;
  color: var(--muted);
}

/* FOOTER */
footer {
  border-top: 0.5px solid var(--border);
  padding: 48px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

@media (max-width: 720px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-col h4 {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 14px;
}

.footer-col p,
.footer-col a {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  text-decoration: none;
  margin: 0;
}

.footer-col a {
  display: block;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--purple-light);
}

.footer-cnpj {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--dim);
  margin-top: 8px;
}

.footer-bottom {
  border-top: 0.5px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--dim);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--purple-light);
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp 0.6s ease both;
}

.fade-up:nth-child(2) {
  animation-delay: 0.1s;
}
.fade-up:nth-child(3) {
  animation-delay: 0.2s;
}
.fade-up:nth-child(4) {
  animation-delay: 0.3s;
}

/* DIVIDER LINE */
.section-divider {
  height: 0.5px;
  background: var(--border);
  margin-bottom: 80px;
}

/* RESPONSIVE */
@media (max-width: 720px) {
  .stats-row {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .cases-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-wrapper {
    padding: 28px 20px;
  }
  h1 {
    letter-spacing: -1px;
  }
  nav .nav-cta {
    display: none;
  }
}
