/* M31 Homepage Extracted CSS */

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

:root {
  --bg: #05050F;
  --bg2: #080814;
  --card: #0C0C1C;
  --card2: #10101E;
  --border: rgba(255, 255, 255, 0.07);
  --border2: rgba(255, 255, 255, 0.12);
  --purple: #7C3AED;
  --purple-l: #9D6AFF;
  --purple-xl: #C084FC;
  --purple-glow: rgba(124, 58, 237, 0.12);
  --white: #F2F2FF;
  --text: #A0A0C0;
  --muted: #5A5A78;
  --green: #10B981;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased
}

body.m31-page {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  cursor: pointer;
  font-family: inherit
}

/* ——— CANVAS STARS ——— */
#m31-stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .5
}

/* ——— LAYOUT UTILS ——— */
.m31-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border: 1px solid rgba(124, 58, 237, .35);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--purple-l);
  background: rgba(124, 58, 237, .07);
  margin-bottom: 24px;
}

.section-h {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: 18px;
  padding-bottom: 0.08em;
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, .6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-p {
  font-size: 17px;
  color: var(--text);
  line-height: 1.75;
  max-width: 540px
}

/* ——— GRADIENT TEXT UTILITY ——— */
.grad-text {
  background: linear-gradient(135deg, #7C3AED 0%, #9D6AFF 40%, #C084FC 70%, #E0B0FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.grad-white {
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, .55) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ——— BUTTONS ——— */
.btn-p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--purple) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: background .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}

.btn-p:hover {
  background: #6D28D9 !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(124, 58, 237, .4) !important;
  color: #fff !important
}

.btn-p:focus,
.btn-p:active {
  background: var(--purple) !important;
  color: #fff !important;
  outline: none !important
}

.btn-s {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent !important;
  color: var(--text) !important;
  border: 1px solid var(--border2) !important;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  transition: border-color .2s, color .2s, background .2s;
  white-space: nowrap;
}

.btn-s:hover {
  border-color: rgba(255, 255, 255, .25) !important;
  color: var(--white) !important;
  background: rgba(255, 255, 255, .04) !important
}

.btn-s:focus,
.btn-s:active {
  background: transparent !important;
  outline: none !important
}

/* ——— NAV PREMIUM ——— */
.m31-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  width: min(calc(100% - 32px), 1160px);
}

.m31-nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 12px 10px 20px;
  background: rgba(8, 8, 20, .88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .4), 0 0 0 1px rgba(124, 58, 237, .08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

.nav-logo-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  padding: 7px 14px;
  border-radius: 100px;
  transition: color .2s, background .2s;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--white) !important;
  background: rgba(255, 255, 255, .07) !important
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  background: var(--purple);
  color: #fff !important;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s, box-shadow .2s;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta-btn:hover {
  background: #6D28D9 !important;
  box-shadow: 0 8px 24px rgba(124, 58, 237, .4) !important
}

/* Mobile nav */
@media(max-width:768px) {
  .nav-links {
    display: none
  }

  .m31-nav-inner {
    padding: 10px 10px 10px 16px
  }
}

/* ——— HERO ——— */
.m31-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 24px 100px;
  position: relative;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, .1) 0%, transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: orb 8s ease-in-out infinite;
}

@keyframes orb {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: .7
  }

  50% {
    transform: translate(-50%, -50%) scale(1.12);
    opacity: 1
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border: 1px solid rgba(124, 58, 237, .35);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--purple-l);
  background: rgba(124, 58, 237, .07);
  margin-bottom: 36px;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-l);
  animation: blink 2s ease infinite
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .2
  }
}

.hero-h {
  font-size: clamp(42px, 7.5vw, 96px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.1;
  max-width: 960px;
  margin-bottom: 16px;
  padding-bottom: 0.12em;
  background: linear-gradient(180deg, #FFFFFF 20%, rgba(255, 255, 255, .55) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-h .g {
  background: linear-gradient(125deg, #7C3AED 0%, #9D6AFF 45%, #C084FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-h2 {
  font-size: clamp(30px, 5vw, 68px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.0;
  max-width: 960px;
  margin-bottom: 32px;
  color: var(--text);
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text);
  max-width: 560px;
  margin-bottom: 52px;
  line-height: 1.75;
  font-weight: 400;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scroll-fade 2s ease-in-out infinite
}

@keyframes scroll-fade {

  0%,
  100% {
    opacity: .3;
    transform: scaleY(1)
  }

  50% {
    opacity: 1;
    transform: scaleY(1.3)
  }
}

/* ——— STATS ——— */
.m31-stats {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 48px 32px;
  border-right: 1px solid var(--border);
  text-align: center;
  transition: background .3s;
}

.stat-item:hover {
  background: rgba(124, 58, 237, .04)
}

.stat-item:last-child {
  border-right: none
}

.stat-n {
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, #7C3AED, #C084FC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-l {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: .01em
}

/* ——— SERVICES ——— */
.m31-services {
  padding: 130px 24px
}

.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 72px;
}

.services-head-cta {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end
}

/* Tab nav */
.services-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.services-tab {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border2);
  background: transparent !important;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted) !important;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
  box-shadow: none !important;
  outline: none !important;
}

.services-tab:hover {
  border-color: rgba(124, 58, 237, .4) !important;
  color: var(--white) !important;
  background: transparent !important
}

.services-tab:focus,
.services-tab:active {
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important
}

.services-tab.active {
  background: rgba(124, 58, 237, .12) !important;
  border-color: rgba(124, 58, 237, .4) !important;
  color: var(--purple-l) !important;
}

/* Featured service — large card top */
.services-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  margin-bottom: 1px;
}

/* Grid below */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 0 0 20px 20px;
  overflow: hidden;
}
.services-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

/* All cards share same style */
.service-card {
  background: var(--bg2);
  padding: 48px 40px;
  transition: background .35s;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, .06) 0%, transparent 60%);
  opacity: 1;
  transition: opacity .35s;
  pointer-events: none;
}

.service-card:hover {
  background: var(--card)
}

.service-card:hover::after {
  opacity: 1
}

/* Featured card gets bigger text */
.service-card.is-featured {
  padding: 56px 52px
}

.service-card.is-featured .service-h {
  font-size: 26px
}

.service-card.is-featured .service-p {
  font-size: 16px
}

/* Icon — circular, matches home strength icons */
.service-ic {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124, 58, 237, .1), rgba(192, 132, 252, .15));
  border: 1px solid rgba(124, 58, 237, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: background .35s, border-color .35s, transform .35s, box-shadow .35s;
}

.service-card:hover .service-ic {
  background: linear-gradient(135deg, rgba(124, 58, 237, .2), rgba(192, 132, 252, .25));
  border-color: rgba(124, 58, 237, .45);
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 8px 24px rgba(124, 58, 237, .2);
}

.service-h {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 12px;
  line-height: 1.3
}

.service-p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.75
}

/* Tags inside card */
.service-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  margin-bottom: 20px
}

.service-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 100px;
}

.service-lk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--purple-l);
  letter-spacing: .01em;
  transition: gap .2s, color .2s;
}

.service-card:hover .service-lk {
  gap: 12px;
  color: var(--purple-xl)
}

.service-lk svg {
  width: 14px;
  height: 14px;
  transition: transform .2s
}

.service-card:hover .service-lk svg {
  transform: translateX(4px)
}

/* Service filter transitions */
.service-card {
  transition: background .35s, opacity .3s, transform .3s;
}

.service-card.sv-hide {
  display: none !important;
}

.services-featured:empty,
.services-grid:empty {
  display: none
}

/* ——— PHILOSOPHY ——— */
.m31-phi {
  padding: 140px 24px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.phi-glow {
  position: absolute;
  width: 700px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(124, 58, 237, .08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.phi-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1
}

.phi-tag {
  margin-bottom: 32px
}

.phi-quote {
  font-size: clamp(22px, 3.8vw, 42px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: 32px;
  background: linear-gradient(180deg, #FFFFFF 10%, rgba(255, 255, 255, .5) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.phi-quote em {
  font-style: italic;
  -webkit-text-fill-color: var(--purple-l)
}

.phi-body {
  font-size: 18px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 48px
}

.phi-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center
}

.phi-chip {
  padding: 8px 20px;
  border: 1px solid var(--border2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: rgba(255, 255, 255, .03);
}

/* ——— PROCESS ——— */
.m31-process {
  padding: 130px 24px
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 72px;
}

.process-step {
  background: var(--bg2);
  padding: 52px 40px;
  transition: background .3s
}

.process-step:hover {
  background: var(--card)
}

.step-n {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 28px;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, rgba(124, 58, 237, .7) 0%, rgba(192, 132, 252, .4) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-h {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 14px
}

.step-p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.75
}

/* ——— PRICING ——— */
.m31-pricing {
  padding: 130px 24px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.pricing-head {
  margin-bottom: 72px
}

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

.price-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 36px;
  background: var(--bg);
  transition: border-color .3s, transform .3s, box-shadow .3s;
  position: relative;
}

.price-card:hover {
  border-color: rgba(124, 58, 237, .3);
  transform: translateY(-6px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, .5);
}

.price-card.feat {
  border-color: rgba(124, 58, 237, .5);
  background: var(--card2);
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #7C3AED, #9D6AFF);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 100px;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-tier {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--purple-l);
  margin-bottom: 20px;
}

.price-val {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 6px;
}

.price-per {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 36px
}

.price-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 32px
}

.price-feats {
  list-style: none;
  margin-bottom: 40px
}

.price-feats li {
  font-size: 14px;
  color: var(--text);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.price-feats li:last-child {
  border-bottom: none
}

.pf-check {
  color: var(--purple-l);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px
}

/* ——— CTA FINAL ——— */
.m31-final {
  padding: 120px 24px;
  position: relative;
  overflow: hidden;
}

.final-glow {
  position: absolute;
  width: 1000px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(124, 58, 237, .09) 0%, transparent 70%);
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.final-inner {
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: center;
}

.final-left {}

.final-h {
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.1;
  margin-bottom: 28px;
  text-align: left;
  padding-bottom: 0.12em;
  background: linear-gradient(180deg, #FFFFFF 20%, rgba(255, 255, 255, .5) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.final-p {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 36px;
  line-height: 1.75;
  text-align: left
}

.final-bullets {
  list-style: none;
  margin-bottom: 48px
}

.final-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.final-bullets li:last-child {
  border-bottom: none
}

.final-bullets li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-l);
  margin-top: 7px;
}

.final-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

/* Form card */
.final-card {
  background: #fff;
  border-radius: 28px;
  padding: 52px 48px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .05);
  position: relative;
}

.final-card-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #111;
  margin-bottom: 10px;
  text-align: center;
}

.final-card-sub {
  font-size: 14px;
  color: #888;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
  padding-bottom: 32px;
  border-bottom: 1px solid #F0F0F5;
}

.fc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 0
}

.fc-row.full {
  grid-template-columns: 1fr
}

.fc-field {
  background: #fff;
  border: none;
  border-bottom: 1.5px solid #E0E0EA;
  padding: 16px 4px 12px;
  color: #111;
  font-family: inherit;
  font-size: 15px;
  transition: border-color .25s;
  width: 100%;
  outline: none;
}

.fc-field::placeholder {
  color: #BBB
}

.fc-field:focus {
  border-bottom-color: #7C3AED
}

.fc-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 4px;
}

.fc-label .req {
  color: #7C3AED
}

.fc-group {
  margin-bottom: 20px
}

/* Phone flag selector */
.fc-phone-wrap {
  display: flex;
  align-items: flex-end;
  gap: 0;
  border-bottom: 1.5px solid #DDD;
  transition: border-color .2s;
}

.fc-phone-wrap:focus-within {
  border-color: #7C3AED
}

.fc-flag-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 10px 14px 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  color: #111;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}

.fc-flag-btn svg {
  width: 10px;
  height: 10px;
  color: #AAA;
  flex-shrink: 0
}

.fc-phone-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 4px;
  font-size: 15px;
  color: #111;
  font-family: inherit;
  background: transparent;
}

.fc-phone-input::placeholder {
  color: #AAA
}

.fc-flag-drop {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid #E8E8EE;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .12);
  min-width: 260px;
  z-index: 100;
  max-height: 260px;
  overflow-y: auto;
  display: none;
}

.fc-flag-drop.open {
  display: block
}

.fc-flag-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: background .15s;
}

.fc-flag-item:hover {
  background: #F5F5FA
}

.fc-flag-item span {
  font-size: 20px;
  flex-shrink: 0
}

.fc-flag-code {
  color: #888;
  font-size: 13px;
  margin-left: auto
}

.fc-phone-group {
  position: relative
}

/* Submit btn */
.fc-submit {
  width: 100%;
  margin-top: 24px;
  padding: 16px;
  background: linear-gradient(135deg, #7C3AED, #9D6AFF 50%, #C084FC);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: -.01em;
  transition: opacity .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 8px 32px rgba(124, 58, 237, .35);
}

.fc-submit:hover {
  opacity: .92;
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(124, 58, 237, .45)
}

.fc-legal {
  font-size: 12px;
  color: #AAA;
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}

.fc-legal a {
  color: #7C3AED;
  text-decoration: underline
}

/* ——— FOOTER PREMIUM ——— */
.m31-foot {
  background: var(--bg);
  position: relative;
  padding: 0 24px 0;
}

.m31-foot::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(124, 58, 237, .6) 20%, rgba(157, 106, 255, .9) 50%, rgba(192, 132, 252, .6) 80%, transparent 100%);
}

.foot-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  padding: 72px 0 60px;
  align-items: start;
}

/* Brand column */
.foot-brand {}

.foot-logo {
  width: 80px;
  height: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  image-rendering: -webkit-optimize-contrast;
  display: block;
}

.foot-brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 10px;
}

.foot-brand-p {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 260px;
}

.foot-contact-block {
  margin-bottom: 28px
}

.foot-contact-block a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text);
  margin-bottom: 8px;
  transition: color .2s;
}

.foot-contact-block a:hover {
  color: var(--white)
}

.foot-contact-block svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: .5;
  fill: currentColor
}

/* Social icons */
.foot-socials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.foot-socials a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: color .2s, border-color .2s, background .2s;
}

.foot-socials a:hover {
  color: var(--white);
  border-color: rgba(124, 58, 237, .5);
  background: rgba(124, 58, 237, .1);
}

.foot-socials svg {
  width: 15px;
  height: 15px;
  fill: currentColor
}

/* Nav columns */
.foot-col {}

.foot-col-head {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.foot-col ul {
  list-style: none
}

.foot-col li {
  margin-bottom: 12px
}

.foot-col a {
  font-size: 13.5px;
  color: var(--text);
  transition: color .2s;
  display: inline-block;
}

.foot-col a:hover {
  color: var(--white)
}

/* Careers sub-block */
.foot-careers {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .06)
}

.foot-careers-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.foot-careers a {
  font-size: 13px;
  color: var(--purple-l);
  transition: color .2s;
  display: block;
}

.foot-careers a:hover {
  color: var(--purple-xl)
}

/* Bottom bar */
.foot-divider {
  height: 1px;
  background: rgba(255, 255, 255, .06)
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0 40px;
}

.foot-copy {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5
}

.foot-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap
}

.foot-legal a {
  font-size: 12px;
  color: var(--muted);
  transition: color .2s
}

.foot-legal a:hover {
  color: var(--white)
}

.foot-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border: 1px solid rgba(124, 58, 237, .3);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--purple-l);
  background: rgba(124, 58, 237, .06);
}

/* ——— DIFFERENTIATORS (white section) ——— */
.m31-diff {
  padding: 120px 24px;
  background: #fff;
  position: relative;
  z-index: 1;
}

.m31-diff .section-tag {
  border-color: rgba(124, 58, 237, .3);
  color: #7C3AED;
  background: rgba(124, 58, 237, .06);
}

.m31-diff .section-h {
  background: linear-gradient(180deg, #111 0%, #444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.m31-diff .section-p {
  color: #555
}

/* Filter tabs */
.diff-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 40px 0 52px;
}

.diff-tab {
  padding: 10px 24px;
  border-radius: 100px;
  border: 1px solid #E0E0E8;
  background: #fff !important;
  font-size: 14px;
  font-weight: 500;
  color: #555 !important;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
  box-shadow: none !important;
  outline: none !important;
}

.diff-tab:hover {
  border-color: #7C3AED !important;
  color: #7C3AED !important;
  background: #fff !important
}

.diff-tab:focus,
.diff-tab:active {
  background: #fff !important;
  outline: none !important;
  box-shadow: none !important
}

.diff-tab.active {
  background: linear-gradient(135deg, #7C3AED, #9D6AFF) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 8px 24px rgba(124, 58, 237, .3) !important;
}

/* Case cards */
.diff-cases {
  display: grid;
  gap: 24px
}

.diff-case {
  display: grid;
  grid-template-columns: 480px 1fr;
  background: #F7F7FA;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #EBEBF0;
  transition: box-shadow .3s, transform .3s;
  min-height: 300px;
}

.diff-case {
  transition: box-shadow .3s, transform .3s, opacity .3s
}

.diff-case:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, .1);
  transform: translateY(-3px)
}

.diff-case-img {
  position: relative;
  overflow: hidden;
}

.diff-case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.diff-case:hover .diff-case-img img {
  transform: scale(1.04)
}

.diff-case-body {
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.diff-case-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7C3AED;
  margin-bottom: 20px;
}

.diff-case-h {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
  color: #111;
  margin-bottom: 16px;
}

.diff-case-p {
  font-size: 15px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 32px
}

.diff-case-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid #E0E0E8;
}

.diff-metric {
  padding: 20px 0;
  border-right: 1px solid #E0E0E8;
}

.diff-metric:nth-child(even) {
  border-right: none;
  padding-left: 24px
}

.diff-metric:nth-child(odd) {
  padding-right: 24px
}

.diff-metric:nth-child(1),
.diff-metric:nth-child(2) {
  border-bottom: 1px solid #E0E0E8
}

.diff-metric-n {
  font-size: 22px;
  font-weight: 800;
  color: #111;
  letter-spacing: -.03em;
  display: block;
  margin-bottom: 4px;
}

.diff-metric-l {
  font-size: 13px;
  color: #888
}

.diff-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 12px 28px;
  border: 1px solid #CCC;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: #111;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .2s, color .2s, box-shadow .2s;
  align-self: flex-start;
}

.diff-read:hover {
  border-color: #7C3AED;
  color: #7C3AED;
  box-shadow: 0 4px 16px rgba(124, 58, 237, .15)
}

/* Strengths row (space-themed icons on white bg) */
.strengths-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid #E4E4EF;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 64px;
}

.strength-item {
  background: #fff;
  padding: 40px 28px;
  text-align: center;
  border-right: 1px solid #E4E4EF;
  transition: background .35s, transform .35s;
  position: relative;
  overflow: hidden;
}

.strength-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7C3AED, #C084FC);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.strength-item:hover::after {
  transform: scaleX(1)
}

.strength-item:last-child {
  border-right: none
}

.strength-item:hover {
  background: #FAFAFF
}

/* Space icon wrapper */
.strength-ic {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124, 58, 237, .1), rgba(192, 132, 252, .15));
  border: 1px solid rgba(124, 58, 237, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: background .35s, box-shadow .35s, transform .35s;
}

.strength-item:hover .strength-ic {
  background: linear-gradient(135deg, rgba(124, 58, 237, .2), rgba(192, 132, 252, .25));
  box-shadow: 0 8px 24px rgba(124, 58, 237, .2);
  transform: translateY(-4px) scale(1.05);
}

.strength-ic svg {
  width: 28px;
  height: 28px
}

.strength-h {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -.01em;
  color: #111
}

.strength-p {
  font-size: 13px;
  color: #888;
  line-height: 1.6
}

/* ——— FAQS ——— */
.m31-faq {
  padding: 130px 24px
}

.faq-list {
  max-width: 780px;
  margin: 48px auto 0
}

.faq-item {
  border-bottom: 1px solid var(--border);
  position: relative;
}

.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--purple-xl));
  transition: width .35s ease;
}

.faq-item:hover::before,
.faq-item.open::before {
  width: 100%
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 26px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--white) !important;
  transition: color .25s, padding-left .25s;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  width: 100%;
  text-align: left;
  font-family: inherit;
  line-height: 1.5;
}

.faq-q:hover,
.faq-q:focus,
.faq-q:active {
  background: none !important;
  background-color: transparent !important;
  color: var(--white) !important;
  box-shadow: none !important;
  outline: none !important;
  border: none !important;
}

.faq-item:hover .faq-q,
.faq-item.open .faq-q {
  padding-left: 8px;
  color: var(--white) !important
}

.faq-arrow {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform .35s, color .25s;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  padding: 3px;
}

.faq-item:hover .faq-arrow {
  color: var(--purple-l);
  border-color: rgba(124, 58, 237, .3)
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  color: var(--purple-l);
  border-color: rgba(124, 58, 237, .4);
  background: rgba(124, 58, 237, .08)
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s ease, padding .4s ease;
}

.faq-item.open .faq-a {
  max-height: 400px;
  padding-bottom: 28px
}

.faq-a-inner {
  font-size: 15px;
  color: var(--text);
  line-height: 1.85;
  padding-left: 8px;
  border-left: 2px solid rgba(124, 58, 237, .25)
}

/* contact form old styles removed — now using .final-card */

/* ——— SCROLL ANIMATIONS ——— */
.reveal {
  opacity: 1;
  transition: opacity .8s ease, transform .8s ease
}

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

.reveal-d1 {
  transition-delay: .1s
}

.reveal-d2 {
  transition-delay: .2s
}

.reveal-d3 {
  transition-delay: .3s
}

.reveal-d4 {
  transition-delay: .4s
}

/* ——— RESPONSIVE ——— */
@media(max-width:900px) {
  .stats-inner {
    grid-template-columns: repeat(2, 1fr)
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border)
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid var(--border)
  }

  .stat-item:nth-last-child(-n+2) {
    border-bottom: none
  }

  .services-head {
    grid-template-columns: 1fr
  }

  .services-featured {
    grid-template-columns: 1fr
  }

  .services-grid {
    grid-template-columns: 1fr
  }

  .process-grid {
    grid-template-columns: 1fr
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto
  }

  .diff-case {
    grid-template-columns: 1fr
  }

  .diff-case-img {
    height: 260px
  }

  .diff-case-body {
    padding: 32px 28px
  }

  .strengths-row {
    grid-template-columns: repeat(2, 1fr)
  }

  .fc-row {
    grid-template-columns: 1fr
  }

  .final-inner {
    grid-template-columns: 1fr;
    gap: 48px
  }

  .final-h {
    text-align: center
  }

  .final-p {
    text-align: center
  }

  .final-bullets {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto
  }

  .final-btns {
    justify-content: center
  }

  .foot-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px
  }
}

@media(max-width:600px) {

  .hero-btns,
  .final-btns {
    flex-direction: column;
    align-items: center
  }

  .phi-chips {
    justify-content: center
  }

  .service-card {
    padding: 36px 28px
  }

  .service-card.is-featured {
    padding: 40px 32px
  }

  .process-step {
    padding: 36px 28px
  }

  .strengths-row {
    grid-template-columns: 1fr
  }

  .diff-card {
    padding: 32px 24px
  }

  .m31-diff,
  .m31-faq {
    padding: 80px 16px
  }

  .foot-top {
    grid-template-columns: 1fr !important;
    gap: 32px
  }

  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px
  }
}



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

:root {
  --bg: #05050F;
  --bg2: #080814;
  --card: #0C0C1C;
  --card2: #10101E;
  --border: rgba(255, 255, 255, 0.07);
  --border2: rgba(255, 255, 255, 0.12);
  --purple: #7C3AED;
  --purple-l: #9D6AFF;
  --purple-xl: #C084FC;
  --purple-glow: rgba(124, 58, 237, 0.12);
  --white: #F2F2FF;
  --text: #A0A0C0;
  --muted: #5A5A78;
  --green: #10B981;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased
}

body.m31-page {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  overflow-x: hidden
}

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

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

button {
  cursor: pointer;
  font-family: inherit
}

#m31-stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .5
}

.m31-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border: 1px solid rgba(124, 58, 237, .35);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--purple-l);
  background: rgba(124, 58, 237, .07);
  margin-bottom: 24px
}

.section-h {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: 18px;
  padding-bottom: .08em;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, .6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.section-p {
  font-size: 17px;
  color: var(--text);
  line-height: 1.75;
  max-width: 540px
}

.grad-text {
  background: linear-gradient(135deg, #7C3AED 0%, #9D6AFF 40%, #C084FC 70%, #E0B0FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

/* BUTTONS */
.btn-p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--purple) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: background .2s, transform .2s, box-shadow .2s;
  white-space: nowrap
}

.btn-p:hover {
  background: #6D28D9 !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(124, 58, 237, .4) !important;
  color: #fff !important
}

.btn-p:focus,
.btn-p:active {
  background: var(--purple) !important;
  color: #fff !important;
  outline: none !important
}

.btn-s {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent !important;
  color: var(--text) !important;
  border: 1px solid var(--border2) !important;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  transition: border-color .2s, color .2s, background .2s;
  white-space: nowrap
}

.btn-s:hover {
  border-color: rgba(255, 255, 255, .25) !important;
  color: var(--white) !important;
  background: rgba(255, 255, 255, .04) !important
}

.btn-s:focus,
.btn-s:active {
  background: transparent !important;
  outline: none !important
}

/* NAV */
.m31-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  width: min(calc(100% - 32px), 1160px)
}

.m31-nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 12px 10px 20px;
  background: rgba(8, 8, 20, .88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .4), 0 0 0 1px rgba(124, 58, 237, .08)
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0
}

.nav-logo-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  image-rendering: -webkit-optimize-contrast
}

.nav-logo-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--white)
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  padding: 7px 14px;
  border-radius: 100px;
  transition: color .2s, background .2s;
  text-decoration: none;
  white-space: nowrap
}

.nav-links a:hover {
  color: var(--white) !important;
  background: rgba(255, 255, 255, .07) !important
}

.nav-links a.active-nav {
  color: var(--white) !important;
  background: rgba(255, 255, 255, .06) !important
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  background: var(--purple);
  color: #fff !important;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s, box-shadow .2s;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0
}

.nav-cta-btn:hover {
  background: #6D28D9 !important;
  box-shadow: 0 8px 24px rgba(124, 58, 237, .4) !important
}

@media(max-width:768px) {
  .nav-links {
    display: none
  }

  .m31-nav-inner {
    padding: 10px 10px 10px 16px
  }
}

/* ── CONTACT HERO ── */
.contact-hero {
  padding: 160px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero-orb {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, .12) 0%, transparent 65%);
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: orb 8s ease-in-out infinite;
}

@keyframes orb {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: .7
  }

  50% {
    transform: translate(-50%, -50%) scale(1.12);
    opacity: 1
  }
}

.contact-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border: 1px solid rgba(124, 58, 237, .35);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--purple-l);
  background: rgba(124, 58, 237, .07);
  margin-bottom: 36px
}

.contact-hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-l);
  animation: blink 2s ease infinite
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .2
  }
}

.contact-hero-h {
  font-size: clamp(40px, 6.5vw, 80px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.1;
  max-width: 820px;
  margin: 0 auto 24px;
  padding-bottom: .1em;
  background: linear-gradient(180deg, #fff 20%, rgba(255, 255, 255, .55) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-hero-sub {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--text);
  max-width: 580px;
  margin: 0 auto 52px;
  line-height: 1.8
}

.contact-hero-chips {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 0
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text);
  background: rgba(255, 255, 255, .03)
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green)
}

/* ── CONTACT MAIN ── */
.contact-main {
  padding: 0 24px 120px
}

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

/* Left column */
.contact-left {}

.contact-left-head {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: 16px;
  padding-bottom: .06em;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, .65) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-left-sub {
  font-size: 16px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 44px
}

.why-list {
  list-style: none;
  margin-bottom: 52px
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.why-item:last-child {
  border-bottom: none
}

.why-ic {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(124, 58, 237, .12), rgba(192, 132, 252, .18));
  border: 1px solid rgba(124, 58, 237, .2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-ic svg {
  width: 18px;
  height: 18px
}

.why-body {}

.why-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px
}

.why-desc {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6
}

/* Direct contact channels */
.contact-channels-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.contact-ch {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color .2s, background .2s;
  text-decoration: none;
}

.contact-ch:hover {
  border-color: rgba(124, 58, 237, .35);
  background: rgba(124, 58, 237, .04)
}

.contact-ch-ic {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(124, 58, 237, .12);
  border: 1px solid rgba(124, 58, 237, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.contact-ch-ic svg {
  width: 16px;
  height: 16px
}

.contact-ch-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px
}

.contact-ch-val {
  font-size: 14px;
  color: var(--white);
  font-weight: 500
}

/* Right: form card */
.contact-form-wrap {
  position: sticky;
  top: 100px
}

.final-card {
  background: #fff;
  border-radius: 28px;
  padding: 52px 48px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .05);
  position: relative
}

.final-card-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #111;
  margin-bottom: 10px;
  text-align: center
}

.final-card-sub {
  font-size: 14px;
  color: #888;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
  padding-bottom: 32px;
  border-bottom: 1px solid #F0F0F5
}

.fc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 0
}

.fc-row.full {
  grid-template-columns: 1fr
}

.fc-field {
  background: #fff;
  border: none;
  border-bottom: 1.5px solid #E0E0EA;
  padding: 16px 4px 12px;
  color: #111;
  font-family: inherit;
  font-size: 15px;
  transition: border-color .25s;
  width: 100%;
  outline: none
}

.fc-field::placeholder {
  color: #BBB
}

.fc-field:focus {
  border-bottom-color: #7C3AED
}

.fc-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 4px
}

.fc-label .req {
  color: #7C3AED
}

.fc-group {
  margin-bottom: 20px
}

.fc-phone-wrap {
  display: flex;
  align-items: flex-end;
  gap: 0;
  border-bottom: 1.5px solid #DDD;
  transition: border-color .2s
}

.fc-phone-wrap:focus-within {
  border-color: #7C3AED
}

.fc-flag-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 10px 14px 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  color: #111;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0
}

.fc-flag-btn svg {
  width: 10px;
  height: 10px;
  color: #AAA;
  flex-shrink: 0
}

.fc-phone-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 4px;
  font-size: 15px;
  color: #111;
  font-family: inherit;
  background: transparent
}

.fc-phone-input::placeholder {
  color: #AAA
}

.fc-flag-drop {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid #E8E8EE;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .12);
  min-width: 260px;
  z-index: 100;
  max-height: 260px;
  overflow-y: auto;
  display: none
}

.fc-flag-drop.open {
  display: block
}

.fc-flag-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: background .15s
}

.fc-flag-item:hover {
  background: #F5F5FA
}

.fc-flag-item span {
  font-size: 20px;
  flex-shrink: 0
}

.fc-flag-code {
  color: #888;
  font-size: 13px;
  margin-left: auto
}

.fc-phone-group {
  position: relative
}

.fc-submit {
  width: 100%;
  margin-top: 24px;
  padding: 16px;
  background: linear-gradient(135deg, #7C3AED, #9D6AFF 50%, #C084FC);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: -.01em;
  transition: opacity .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 8px 32px rgba(124, 58, 237, .35)
}

.fc-submit:hover {
  opacity: .92;
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(124, 58, 237, .45)
}

.fc-legal {
  font-size: 12px;
  color: #AAA;
  text-align: center;
  margin-top: 16px;
  line-height: 1.5
}

.fc-legal a {
  color: #7C3AED;
  text-decoration: underline
}

/* ── PROCESS STRIP ── */
.contact-process {
  padding: 0 24px 120px
}

.process-inner {
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(124, 58, 237, .05) 0%, rgba(8, 8, 20, .8) 100%);
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.proc-step {
  text-align: center
}

.proc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124, 58, 237, .15), rgba(192, 132, 252, .2));
  border: 1px solid rgba(124, 58, 237, .3);
  font-size: 18px;
  font-weight: 800;
  color: var(--purple-l);
  margin: 0 auto 18px;
}

.proc-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -.01em
}

.proc-desc {
  font-size: 14px;
  color: var(--text);
  line-height: 1.65
}

.proc-arrow {
  color: rgba(124, 58, 237, .4);
  flex-shrink: 0;
  align-self: flex-start;
  padding-top: 10px
}

.proc-arrow svg {
  width: 28px;
  height: 28px
}

/* ── FOOTER ── */
.m31-foot {
  background: var(--bg);
  position: relative;
  padding: 0 24px 0
}

.m31-foot::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(124, 58, 237, .6) 20%, rgba(157, 106, 255, .9) 50%, rgba(192, 132, 252, .6) 80%, transparent 100%)
}

.foot-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  padding: 72px 0 60px;
  align-items: start
}

.foot-logo {
  width: 80px;
  height: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  image-rendering: -webkit-optimize-contrast;
  display: block
}

.foot-brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 10px
}

.foot-brand-p {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 260px
}

.foot-contact-block {
  margin-bottom: 28px
}

.foot-contact-block a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text);
  margin-bottom: 8px;
  transition: color .2s
}

.foot-contact-block a:hover {
  color: var(--white)
}

.foot-contact-block svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: .5;
  fill: currentColor
}

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

.foot-socials a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: color .2s, border-color .2s, background .2s
}

.foot-socials a:hover {
  color: var(--white);
  border-color: rgba(124, 58, 237, .5);
  background: rgba(124, 58, 237, .1)
}

.foot-socials svg {
  width: 15px;
  height: 15px;
  fill: currentColor
}

.foot-col-head {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.foot-col ul {
  list-style: none
}

.foot-col li {
  margin-bottom: 12px
}

.foot-col a {
  font-size: 13.5px;
  color: var(--text);
  transition: color .2s;
  display: inline-block
}

.foot-col a:hover {
  color: var(--white)
}

.foot-careers {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .06)
}

.foot-careers-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px
}

.foot-careers a {
  font-size: 13px;
  color: var(--purple-l);
  transition: color .2s;
  display: block
}

.foot-careers a:hover {
  color: var(--purple-xl)
}

.foot-divider {
  height: 1px;
  background: rgba(255, 255, 255, .06)
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0 40px
}

.foot-copy {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5
}

.foot-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap
}

.foot-legal a {
  font-size: 12px;
  color: var(--muted);
  transition: color .2s
}

.foot-legal a:hover {
  color: var(--white)
}

.foot-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border: 1px solid rgba(124, 58, 237, .3);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--purple-l);
  background: rgba(124, 58, 237, .06)
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 1;
  transition: opacity .8s ease, transform .8s ease
}

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

.reveal-d1 {
  transition-delay: .1s
}

.reveal-d2 {
  transition-delay: .2s
}

.reveal-d3 {
  transition-delay: .3s
}

/* ── RESPONSIVE ── */
@media(max-width:1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px
  }

  .contact-form-wrap {
    position: static
  }

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

  .proc-arrow {
    display: none
  }

  .foot-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px
  }
}

@media(max-width:640px) {
  .contact-hero {
    padding: 130px 24px 60px
  }

  .final-card {
    padding: 36px 28px
  }

  .fc-row {
    grid-template-columns: 1fr
  }

  .foot-top {
    grid-template-columns: 1fr !important;
    gap: 32px
  }

  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px
  }

  .contact-process {
    padding: 0 24px 80px
  }

  .process-inner {
    padding: 40px 28px
  }

  .chip {
    font-size: 12px;
    padding: 6px 12px
  }
}



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

:root {
  --bg: #05050F;
  --purple: #7C3AED;
  --purple-l: #9D6AFF;
  --purple-xl: #C084FC;
  --white: #F2F2FF;
  --text: #A0A0C0;
}

html,
body {
  width: 100%;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

canvas#m31-stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  gap: 30px;
  background: rgba(5, 5, 15, 0.7);
  backdrop-filter: blur(10px);
  padding: 15px 30px;
  border-radius: 50px;
  border: 1px solid rgba(156, 106, 255, 0.3);
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
  padding: 5px 0;
  position: relative;
}

nav a.active-nav {
  color: var(--purple-xl);
}

nav a.active-nav::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--purple-xl));
  border-radius: 1px;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 80px;
}

.hero-title {
  font-size: clamp(40px, 10vw, 80px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-title-line1 {
  color: var(--white);
}

.grad-text {
  background: linear-gradient(90deg, var(--purple), #00D9FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 3vw, 20px);
  color: var(--text);
  max-width: 700px;
  margin: 40px auto 60px;
  line-height: 1.6;
}

/* Country chips */
.country-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 80px;
}

.chip {
  background: rgba(156, 106, 255, 0.1);
  border: 1px solid rgba(156, 106, 255, 0.3);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}

.chip:hover {
  background: rgba(156, 106, 255, 0.2);
  border-color: rgba(156, 106, 255, 0.6);
}

/* Services Section */
.section-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 60px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 100px;
}

.service-card {
  background: rgba(156, 106, 255, 0.05);
  border: 1px solid rgba(156, 106, 255, 0.2);
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s;
  cursor: pointer;
}

.service-card:hover {
  border-color: var(--purple-xl);
  box-shadow: 0 0 30px rgba(192, 132, 252, 0.3);
}

.service-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 15px;
}

.service-card-text {
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

/* Process Section */
.process-section {
  margin-bottom: 100px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  position: relative;
}

@media (min-width: 1024px) {
  .process-steps {
    display: flex;
    justify-content: space-between;
  }

  .process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--purple-l), var(--purple-l), transparent);
    z-index: 1;
  }
}

.process-step {
  background: rgba(156, 106, 255, 0.05);
  border: 1px solid rgba(156, 106, 255, 0.2);
  border-radius: 12px;
  padding: 30px;
  position: relative;
}

.process-step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-xl));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.process-step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 15px;
}

.process-step-text {
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}

/* Stats Band */
.stats-band {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(0, 217, 255, 0.05));
  border: 1px solid rgba(156, 106, 255, 0.3);
  border-radius: 12px;
  padding: 40px 20px;
  margin: 100px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(90deg, var(--purple-l), var(--purple-xl));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text);
  font-size: 14px;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 60px 20px;
  margin-bottom: 100px;
}

.cta-title {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 30px;
}

.cta-button {
  background: linear-gradient(135deg, var(--purple), var(--purple-xl));
  color: white;
  border: none;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.4);
}

/* Footer */
footer {
  background: rgba(10, 10, 20, 0.5);
  border-top: 1px solid rgba(156, 106, 255, 0.2);
  padding: 80px 0 40px;
  margin-top: 100px;
}

.foot-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.foot-col-head {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.foot-col ul {
  list-style: none;
}

.foot-col ul li {
  margin-bottom: 12px;
}

.foot-col a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}

.foot-col a:hover {
  color: var(--purple-l);
}

.foot-divider {
  height: 1px;
  background: rgba(156, 106, 255, 0.2);
  margin-bottom: 20px;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--text);
}

.foot-legal {
  display: flex;
  gap: 20px;
}

.foot-legal a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}

.foot-legal a:hover {
  color: var(--purple-l);
}

.foot-socials {
  display: flex;
  gap: 15px;
}

.foot-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: color 0.3s;
}

.foot-socials a:hover {
  color: var(--purple-xl);
}

.foot-socials svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.foot-careers {
  margin-top: 20px;
}

.foot-careers-label {
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  font-size: 13px;
}

.foot-careers a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}

.foot-careers a:hover {
  color: var(--purple-l);
}

/* Reveal Animation */
.reveal {
  opacity: 1;

  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Responsive */
@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
    padding: 12px 20px;
    gap: 15px;
    top: 10px;
  }

  nav a {
    font-size: 13px;
  }

  .hero {
    padding-top: 120px;
  }

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

  .process-steps {
    flex-direction: column;
  }

  .process-steps::before {
    display: none;
  }

  .stats-band {
    padding: 30px 15px;
    gap: 20px;
  }

  .stat-value {
    font-size: 24px;
  }

  .foot-bottom {
    flex-direction: column;
    text-align: center;
  }

  .foot-legal {
    flex-direction: column;
    gap: 10px;
  }
}



:root {
  --bg: #05050F;
  --purple: #7C3AED;
  --purple-l: #9D6AFF;
  --purple-xl: #C084FC;
  --white: #F2F2FF;
  --text: #A0A0C0;
  --cyan: #06B6D4;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Stars Canvas */
#m31-stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Main Content */
main {
  position: relative;
  z-index: 10;
}

/* Floating Pill Nav */
.floating-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(5, 5, 15, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(157, 106, 255, 0.3);
  border-radius: 50px;
  padding: 12px 20px;
  display: flex;
  gap: 30px;
  z-index: 100;
}

.floating-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.floating-nav a.active-nav {
  color: var(--purple-xl);
}

.floating-nav a.active-nav::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  border-radius: 1px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.hero-content h1 {
  font-size: 72px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-content h2 {
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 30px;
}

.hero-content .subtitle {
  font-size: 18px;
  color: var(--text);
  max-width: 600px;
  margin: 0 auto;
}

/* Section Container */
section {
  padding: 100px 20px;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  margin-bottom: 60px;
}

/* Mission/Vision Cards */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.card {
  background: rgba(124, 58, 237, 0.05);
  border: 1px solid rgba(157, 106, 255, 0.2);
  border-radius: 12px;
  padding: 40px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.card:hover {
  border-color: rgba(157, 106, 255, 0.5);
  transform: translateY(-5px);
}

.card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--purple-xl);
  margin-bottom: 20px;
}

.card p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  background: rgba(124, 58, 237, 0.05);
  border: 1px solid rgba(157, 106, 255, 0.2);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.team-card:hover {
  border-color: rgba(157, 106, 255, 0.5);
  transform: translateY(-5px);
}

.team-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-xl), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
}

.team-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--purple-xl);
  margin-bottom: 15px;
}

.team-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}

/* Numbers Section */
.numbers-section {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(6, 182, 212, 0.05));
  border: 1px solid rgba(157, 106, 255, 0.2);
  border-radius: 12px;
  padding: 60px 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--purple-xl);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 16px;
  color: var(--text);
}

/* CTA Section */
.cta-section {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 40px;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple), var(--purple-l));
  color: var(--white);
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.3);
}

/* Scroll Reveal */
.reveal {
  opacity: 1;

  transition: all 0.8s ease;
}

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

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(157, 106, 255, 0.2);
  padding: 40px 20px;
  text-align: center;
  color: var(--text);
  font-size: 14px;
}

footer a {
  color: var(--purple-xl);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 48px;
  }

  .hero-content h2 {
    font-size: 32px;
  }

  .mission-vision,
  .team-grid {
    grid-template-columns: 1fr;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    font-size: 36px;
  }
}



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

:root {
  --bg: #05050F;
  --purple: #7C3AED;
  --purple-l: #9D6AFF;
  --purple-xl: #C084FC;
  --white: #F2F2FF;
  --text: #A0A0C0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* STARS CANVAS */
#m31-stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* NAV LINK STYLES (visual-only, no structural styles that conflict with .m31-nav-inner) */
.m31-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 24px;
  transition: all 0.3s ease;
}

.m31-nav a:hover {
  color: var(--white);
}

.m31-nav a.active-nav {
  background: var(--purple);
  color: var(--white);
}

/* CONTENT WRAPPER */
.content-wrapper {
  position: relative;
  z-index: 1;
  padding-top: 100px;
}

/* HERO SECTION */
.hero {
  text-align: center;
  padding: 80px 20px;
  margin-bottom: 80px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero .grad-text {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--purple) 0%, #00D9FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero p {
  font-size: 18px;
  color: var(--text);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* FILTER TABS */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.filter-tabs button {
  background: transparent;
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: var(--text);
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.filter-tabs button:hover {
  border-color: var(--purple);
  color: var(--white);
}

.filter-tabs button.active {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

/* CASE STUDIES GRID */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  margin-bottom: 80px;
}

.case-card {
  background: rgba(124, 58, 237, 0.05);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  border-color: var(--purple);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
}

.case-banner {
  height: 160px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-xl) 100%);
  position: relative;
}

.case-banner.digital {
  background: linear-gradient(135deg, #7C3AED 0%, #00D9FF 100%);
}

.case-banner.pauta {
  background: linear-gradient(135deg, #EC4899 0%, #F59E0B 100%);
}

.case-banner.seo {
  background: linear-gradient(135deg, #06B6D4 0%, #10B981 100%);
}

.case-banner.social {
  background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
}

.case-banner.ia {
  background: linear-gradient(135deg, #A78BFA 0%, #7C3AED 100%);
}

.case-banner.ecommerce {
  background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
}

.case-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-category {
  display: inline-block;
  background: rgba(124, 58, 237, 0.2);
  color: var(--purple-l);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  width: fit-content;
}

.case-client {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.case-industry {
  font-size: 13px;
  color: var(--text);
  margin-bottom: 16px;
}

.case-challenge {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 16px;
  flex: 1;
}

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

.result-chip {
  background: rgba(124, 58, 237, 0.15);
  color: var(--purple-l);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
}

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

.testimonials h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 60px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: rgba(124, 58, 237, 0.05);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: left;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border-color: var(--purple);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
}

.quote-icon {
  font-size: 32px;
  color: var(--purple);
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 20px;
  font-style: italic;
  line-height: 1.7;
}

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

.testimonial-avatar {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-xl) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  margin-right: 10px;
}

/* CTA SECTION */
.cta-section {
  text-align: center;
  padding: 80px 20px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 16px;
  margin-bottom: 80px;
}

.cta-section h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 32px;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(90deg, var(--purple) 0%, var(--purple-xl) 100%);
  color: var(--white);
  padding: 14px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.3);
}

/* REVEAL ANIMATION */
.reveal {
  opacity: 1;

  transition: all 0.6s ease;
}

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

/* FOOTER */
.m31-footer {
  border-top: 1px solid rgba(124, 58, 237, 0.2);
  padding: 60px 20px;
  text-align: center;
  background: rgba(5, 5, 15, 0.5);
}

.m31-footer p {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 16px;
}

.m31-footer a {
  color: var(--purple);
  text-decoration: none;
}

.m31-footer a:hover {
  color: var(--purple-l);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .hero .grad-text {
    font-size: 32px;
  }

  .testimonials h2,
  .cta-section h2 {
    font-size: 28px;
  }
}



:root {
  --bg: #05050F;
  --purple: #7C3AED;
  --purple-l: #9D6AFF;
  --purple-xl: #C084FC;
  --white: #F2F2FF;
  --text: #A0A0C0;
  --cyan: #00D9FF;
}

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

html,
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--purple-l);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--cyan);
}

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

/* Navigation */
nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  background: rgba(5, 5, 15, 0.8);
  backdrop-filter: blur(10px);
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid rgba(255, 242, 255, 0.1);
  z-index: 1000;
}

nav a {
  padding: 8px 16px;
  border-radius: 24px;
  transition: all 0.3s;
  font-size: 14px;
  font-weight: 500;
}

nav a.active-nav {
  background: var(--purple);
  color: var(--white);
}

/* Canvas */
#m31-stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Content wrapper */
.content-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.blog-hero {
  padding: 120px 20px 80px;
  text-align: center;
}

.blog-hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.grad-text {
  background: linear-gradient(135deg, var(--purple-l) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-hero .subtitle {
  font-size: 16px;
  color: var(--text);
  max-width: 600px;
  margin: 30px auto 0;
  line-height: 1.8;
}

/* Featured Article */
.featured-article {
  margin: 80px 0;
  background: rgba(124, 58, 237, 0.05);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 16px;
  overflow: hidden;
}

.featured-article-banner {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-l) 50%, var(--cyan) 100%);
}

.featured-article-content {
  padding: 40px;
}

.article-category {
  display: inline-block;
  background: rgba(124, 58, 237, 0.2);
  color: var(--purple-xl);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.featured-article h2 {
  font-size: 32px;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.3;
}

.featured-article-excerpt {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.8;
}

.article-meta {
  font-size: 13px;
  color: var(--text);
  margin-bottom: 20px;
}

.featured-article a {
  display: inline-block;
  color: var(--purple-l);
  font-weight: 600;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(157, 106, 255, 0.3);
  transition: all 0.3s;
}

.featured-article a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* Category Filter */
.category-filter {
  display: flex;
  gap: 12px;
  margin: 60px 0;
  flex-wrap: wrap;
  justify-content: center;
}

.category-filter button {
  padding: 8px 16px;
  border: 1px solid rgba(124, 58, 237, 0.3);
  background: transparent;
  color: var(--text);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}

.category-filter button:first-child {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

.category-filter button:hover {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

/* Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 80px 0;
}

.article-card {
  background: rgba(124, 58, 237, 0.05);
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.3);
}

.article-card-banner {
  width: 100%;
  height: 180px;
}

.article-card-content {
  padding: 24px;
}

.article-card .article-category {
  display: inline-block;
  margin-bottom: 12px;
}

.article-card h3 {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.4;
  min-height: 52px;
}

.article-card-excerpt {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}

.article-card .article-meta {
  margin-bottom: 16px;
}

.article-card a {
  color: var(--purple-l);
  font-weight: 600;
  font-size: 14px;
}

/* Newsletter */
.newsletter-section {
  margin: 100px 0;
  padding: 60px 40px;
  background: rgba(5, 5, 15, 0.6);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-content {
  position: relative;
  z-index: 1;
}

.newsletter-section h3 {
  font-size: 28px;
  color: var(--white);
  margin-bottom: 12px;
}

.newsletter-section p {
  color: var(--text);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 8px;
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
}

.newsletter-form input::placeholder {
  color: var(--text);
}

.newsletter-form button {
  padding: 12px 28px;
  background: var(--purple);
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
}

.newsletter-form button:hover {
  background: var(--purple-l);
}

.newsletter-small {
  font-size: 12px;
  color: var(--text);
}

/* CTA Section */
.cta-section {
  margin: 100px 0 80px;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(0, 217, 255, 0.05) 100%);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 16px;
}

.cta-section h2 {
  font-size: 28px;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  padding: 14px 32px;
  background: var(--purple);
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  text-decoration: none;
}

.cta-button:hover {
  background: var(--purple-l);
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: rgba(5, 5, 15, 0.8);
  border-top: 1px solid rgba(124, 58, 237, 0.2);
  padding: 60px 20px;
  text-align: center;
  color: var(--text);
  font-size: 14px;
}

footer p {
  margin-bottom: 16px;
}

footer a {
  color: var(--purple-l);
  font-weight: 500;
}

footer a:hover {
  color: var(--cyan);
}

/* Scroll reveal */
.reveal {
  opacity: 1;

  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Responsive */
@media (max-width: 768px) {
  nav {
    padding: 10px 16px;
  }

  nav a {
    padding: 6px 12px;
    font-size: 12px;
  }

  .blog-hero {
    padding: 80px 20px 60px;
  }

  .blog-hero h1 {
    font-size: 36px;
  }

  .featured-article-content {
    padding: 24px;
  }

  .featured-article h2 {
    font-size: 24px;
  }

  .featured-article-banner {
    height: 200px;
  }

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

  .category-filter {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .newsletter-section {
    padding: 40px 24px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }

  .cta-section {
    padding: 40px 20px;
  }

  .cta-section h2 {
    font-size: 22px;
  }
}

/* ══════ SAFETY: Force reveal elements visible ══════ */
.reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* ══════ SAFETY: Force stars canvas visible ══════ */
#m31-stars {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  z-index: 0 !important;
  opacity: 0.5 !important;
}

/* ══════ NUCLEAR: Nav — zero visual on wrapper ══════ */
nav.m31-nav,
body .m31-nav,
.m31-page .m31-nav {
  position: fixed !important;
  top: 16px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 99999 !important;
  width: min(calc(100% - 32px), 1160px) !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-width: 0 !important;
  border-color: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  gap: 0 !important;
  display: block !important;
  pointer-events: auto !important;
}

/* ══════ NUCLEAR: Nav inner IS the visible pill ══════ */
nav.m31-nav .m31-nav-inner,
body .m31-nav .m31-nav-inner {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  padding: 10px 12px 10px 20px !important;
  background: rgba(8, 8, 20, .92) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  border-radius: 100px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .4) !important;
  outline: none !important;
  pointer-events: auto !important;
}

/* ══════ Logo: show real colors, no filter ══════ */
nav.m31-nav .nav-logo-img,
body .nav-logo-img {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain !important;
  filter: none !important;
  -webkit-filter: none !important;
}

/* Nav links fill center space */
.nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  flex: 1 !important;
  justify-content: center !important;
}

.m31-nav a,
.m31-nav button {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* ══════ SAFETY: All buttons and interactive elements clickable ══════ */
a.btn-p,
a.btn-s,
button,
.service-lk,
.diff-read,
.fc-submit,
.faq-q,
.services-tab,
.diff-tab,
.nav-cta {
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative;
  z-index: 1;
}

/* ══════ FOOTER: Logo SVG + Layout ══════ */
.foot-logo-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 16px !important;
}

.foot-logo-svg {
  width: 36px !important;
  height: 36px !important;
  flex-shrink: 0 !important;
}

.foot-brand .foot-brand-name {
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
}

.foot-brand-p {
  font-size: 14px !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.5) !important;
  max-width: 280px !important;
  margin-bottom: 20px !important;
}

/* Footer 4-column grid */
.foot-top {
  display: grid !important;
  grid-template-columns: 1.4fr 1fr 1fr 1fr !important;
  gap: 48px !important;
  align-items: start !important;
}

@media (max-width: 900px) {
  .foot-top {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }
}

@media (max-width: 600px) {
  .foot-top {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* Footer contact block */
.foot-contact-block {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-bottom: 20px !important;
}

.foot-contact-block a {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.55) !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}

.foot-contact-block a:hover {
  color: rgba(255, 255, 255, 0.9) !important;
}

.foot-contact-block svg {
  width: 14px !important;
  height: 14px !important;
  fill: rgba(255, 255, 255, 0.4) !important;
  flex-shrink: 0 !important;
}

/* Footer social buttons */
.foot-socials {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

.foot-socials a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  color: rgba(255, 255, 255, 0.5) !important;
  transition: border-color 0.2s, color 0.2s, background 0.2s !important;
}

.foot-socials a:hover {
  border-color: rgba(124, 58, 237, 0.5) !important;
  background: rgba(124, 58, 237, 0.1) !important;
  color: #fff !important;
}

.foot-socials svg {
  width: 16px !important;
  height: 16px !important;
  fill: currentColor !important;
}

/* Footer col headings */
.foot-col-head {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.35) !important;
  margin-bottom: 16px !important;
}

.foot-col ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.foot-col ul li a {
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.6) !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}

.foot-col ul li a:hover {
  color: #fff !important;
}

/* Footer bottom bar */
.foot-divider {
  height: 1px !important;
  background: rgba(255, 255, 255, 0.07) !important;
  margin: 40px 0 24px !important;
}

.foot-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.foot-copy {
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.3) !important;
}

.foot-legal {
  display: flex !important;
  gap: 20px !important;
}

.foot-legal a {
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.3) !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}

.foot-legal a:hover {
  color: rgba(255, 255, 255, 0.7) !important;
}

.foot-badge {
  font-size: 12px !important;
  color: rgba(124, 58, 237, 0.7) !important;
  font-weight: 500 !important;
}

/* Service cards — equal height grid */
.services-grid {
  display: grid !important;
}

.service-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.service-lk {
  margin-top: auto !important;
}

/* ══════ Language switcher ══════ */
.lang-switch {
  display: flex !important;
  align-items: center !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-radius: 20px !important;
  padding: 3px !important;
  gap: 2px !important;
  flex-shrink: 0 !important;
}

.lang-btn {
  all: unset !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  padding: 5px 10px !important;
  border-radius: 16px !important;
  color: rgba(255, 255, 255, 0.45) !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  line-height: 1 !important;
  text-align: center !important;
}

.lang-btn:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

.lang-btn.active {
  background: rgba(124, 58, 237, 0.85) !important;
  color: #fff !important;
}

/* Nav logo size override (inline wins but keep sync) */
nav.m31-nav .nav-logo-img,
body .nav-logo-img {
  width: 42px !important;
  height: 42px !important;
  object-fit: contain !important;
  filter: none !important;
  -webkit-filter: none !important;
}

/* ══════════════════════════════════════════════
   GLOBAL CTA SECTION CENTERING — applies to all pages
   Overrides any conflicting local definitions
══════════════════════════════════════════════ */
.cta-section,
div.cta-section,
section.cta-section {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  max-width: 720px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 60px 40px !important;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.cta-section h2,
.cta-section .cta-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin-bottom: 16px !important;
  line-height: 1.25 !important;
  text-align: center !important;
}

.cta-section p {
  font-size: 1.1rem !important;
  color: rgba(255, 255, 255, 0.6) !important;
  margin-bottom: 32px !important;
  line-height: 1.6 !important;
  text-align: center !important;
  max-width: 560px !important;
}

.cta-section .cta-button,
.cta-section .nav-cta-btn {
  display: inline-flex !important;
  width: auto !important;
  align-self: center !important;
  margin: 0 auto !important;
}

/* Wrapper section that contains a .cta-section div */
section:has(> div.cta-section) {
  display: flex !important;
  justify-content: center !important;
  padding: 0 20px !important;
  margin-bottom: 80px !important;
}
/* ── Footer logo: hide M31 text, center and size logo correctly ── */
.foot-brand-name,
span.foot-brand-name {
  display: none !important;
}

.foot-logo-wrap {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  margin-bottom: 16px !important;
}

.foot-logo-wrap .foot-logo-svg,
.foot-logo-wrap img {
  width: 56px !important;
  height: 56px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 !important;
}

/* ── Footer brand column: center everything ── */
.foot-brand {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.foot-brand .foot-logo-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 auto 20px auto !important;
}

.foot-brand .foot-logo-svg,
.foot-brand img.foot-logo-svg {
  width: 80px !important;
  height: 80px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
}

.foot-brand .foot-brand-p {
  text-align: center !important;
  margin: 0 auto 28px auto !important;
}

.foot-brand .foot-contact-block {
  text-align: left !important;
  align-self: flex-start !important;
  width: 100% !important;
}

/* ══════════════════════════════════════════════
   LANGUAGE TOGGLE SWITCH
   A single pill toggle: left = ES, right = EN
   Same margin from right edge as logo from left
══════════════════════════════════════════════ */
.lang-toggle-wrap {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

/* The pill track */
.lang-toggle {
  display: flex !important;
  align-items: center !important;
  cursor: pointer !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  pointer-events: auto !important;
  position: relative;
}

/* Hide the native checkbox while keeping it interactive for change event */
.lang-toggle input[type="checkbox"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 100% !important;
  height: 100% !important;
  cursor: pointer !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 5 !important;
}

/* The pill track */
.lang-toggle-track {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 72px !important;
  height: 30px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 100px !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  transition: background 0.3s ease !important;
  overflow: hidden !important;
}

/* Sliding thumb (the active indicator) */
.lang-toggle-thumb {
  position: absolute !important;
  left: 2px !important;
  width: 34px !important;
  height: 24px !important;
  background: linear-gradient(135deg, #7c3aed, #9f6ef5) !important;
  border-radius: 100px !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 1px 6px rgba(124,58,237,0.5) !important;
  z-index: 1 !important;
}

/* Labels ES and EN */
.lang-toggle-label-es,
.lang-toggle-label-en {
  position: absolute !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  transition: color 0.3s ease !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

.lang-toggle-label-es {
  left: 9px !important;
  color: #fff !important;
}

.lang-toggle-label-en {
  right: 9px !important;
  color: rgba(255, 255, 255, 0.4) !important;
}

/* CHECKED state = EN active: slide thumb right */
.lang-toggle input:checked ~ .lang-toggle-track .lang-toggle-thumb {
  transform: translateX(36px) !important;
}

.lang-toggle input:checked ~ .lang-toggle-track .lang-toggle-label-es {
  color: rgba(255, 255, 255, 0.4) !important;
}

.lang-toggle input:checked ~ .lang-toggle-track .lang-toggle-label-en {
  color: #fff !important;
}

/* Hover glow */
.lang-toggle:hover .lang-toggle-track {
  border-color: rgba(124, 58, 237, 0.5) !important;
  background: rgba(124, 58, 237, 0.12) !important;
}

/* ============ RESPONSIVE MEDIA QUERIES (TABLET & MOBILE) ============ */
@media (max-width: 1024px) {
  .process-grid, .services-grid, .diff-cases, .pricing-grid, .strengths-row, .stats-inner {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 768px) {
  .nav-hamburger {
    display: flex !important;
  }
  .nav-mobile-dropdown {
    display: flex;
  }
  .nav-links, .nav-cta-btn {
    display: none !important;
  }
  .stats-inner, .process-grid, .services-grid, .diff-cases, .pricing-grid, .strengths-row, .services-featured, .services-head, .final-inner, .foot-top {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  .services-head {
    text-align: center;
    align-items: center;
  }
  .services-head-cta {
    justify-content: center;
  }
  .hero-h {
    font-size: clamp(32px, 8vw, 42px) !important;
  }
  .hero-h2 {
    font-size: clamp(24px, 6vw, 30px) !important;
  }
  .section-h {
    font-size: clamp(26px, 6vw, 32px) !important;
  }
  .stat-n {
    font-size: 32px !important;
  }
  .final-inner {
    flex-direction: column !important;
  }
  .final-card {
    width: 100% !important;
    margin-top: 30px;
  }
  .diff-case {
    flex-direction: column !important;
  }
}

/* Hamburger & Mobile Dropdown CSS */
.nav-hamburger {
  display: none !important;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 5px;
  cursor: pointer;
}
.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
  border-radius: 2px;
}
.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile-dropdown {
  display: flex !important;
  flex-direction: column;
  background: rgba(8, 8, 20, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 16px;
  position: absolute;
  top: 100%;
  left: 16px;
  right: 16px;
  margin-top: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  pointer-events: none;
  transition: 0.3s ease;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  z-index: 99999;
}
.nav-mobile-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-mobile-dropdown a {
  padding: 14px 16px;
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-mobile-dropdown a:last-child {
  border-bottom: none;
}

/* ══════ NUCLEAR: KILL ELEMENTOR & THEME HEADERS ══════ */
header#masthead, header.elementor-header, header.site-header, div[data-elementor-type=\"header\"] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  position: absolute !important;
  z-index: -9999 !important;
}

@media (max-width: 1024px) {
  .m31-nav .m31-nav-inner .nav-links {
    display: none !important;
  }
  .m31-nav .m31-nav-inner .nav-cta-btn {
    display: none !important;
  }
  .m31-nav .m31-nav-inner #lang-switch {
    display: none !important;
  }
}

/* ══════ Homepage QA fixes: centering, spacing, responsive stability ══════ */
.m31-services .services-featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  border-radius: 20px;
  margin-bottom: 0;
}

.m31-services .service-card,
.m31-services .service-card.is-featured {
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  justify-content: flex-start;
  min-height: 100%;
  padding: 48px 36px;
  text-align: center;
}

.m31-services .service-ic {
  margin: 0 auto 24px;
}

.m31-services .service-h {
  width: 100%;
  max-width: 18ch;
  margin: 0 auto 14px;
}

.m31-services .service-tags {
  width: 100%;
  justify-content: center;
  align-items: center;
  margin-top: 0;
  margin-bottom: 20px;
}

.m31-services .service-tag {
  text-align: center;
}

.m31-services .service-p {
  width: 100%;
  max-width: 34ch;
  margin: 0 auto;
}

.m31-services .service-lk {
  justify-content: center;
  margin-top: auto !important;
  padding-top: 20px;
}

@media (max-width: 1024px) {
  .m31-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-hamburger {
    display: flex !important;
  }

  .m31-services .services-head {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 28px;
    margin-bottom: 56px;
  }

  .m31-services .services-head > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .m31-services .services-head .section-p {
    margin-left: auto;
    margin-right: auto;
  }

  .m31-services .services-head-cta {
    justify-content: center;
  }

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

  .m31-final .final-inner {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }

  .m31-final .final-left,
  .m31-final .final-card {
    width: min(100%, 760px);
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .m31-nav {
    top: 12px;
    width: min(calc(100% - 24px), 1160px);
  }

  .m31-nav-inner {
    padding: 10px 12px 10px 14px;
  }

  .nav-right-group {
    margin-left: auto;
  }

  .m31-hero,
  .m31-services,
  .m31-phi,
  .m31-diff,
  .m31-process,
  .m31-pricing,
  .m31-faq {
    padding-left: 20px;
    padding-right: 20px;
  }

  .m31-final,
  .m31-foot {
    padding-left: 20px;
    padding-right: 20px;
  }

  .m31-services .services-featured {
    grid-template-columns: 1fr;
  }

  .m31-services .service-card,
  .m31-services .service-card.is-featured {
    padding: 36px 28px;
  }

  .hero-btns,
  .final-btns {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-btns > a,
  .final-btns > a {
    width: min(100%, 320px);
    justify-content: center;
  }

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

  .final-card {
    padding: 38px 24px;
  }

  .foot-top {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .m31-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .m31-services .service-card,
  .m31-services .service-card.is-featured {
    padding: 32px 22px;
  }

  .m31-services .service-tags {
    gap: 6px;
  }

  .m31-services .service-tag {
    font-size: 10px;
    padding: 4px 9px;
  }

  .hero-sub,
  .section-p,
  .final-p {
    font-size: 15px;
  }
}

/* ══════ Final nav stability overrides ══════ */
.m31-nav {
  isolation: isolate;
}

.m31-nav-inner {
  justify-content: space-between !important;
  width: 100%;
}

.nav-links {
  min-width: 0;
}

.nav-right-group {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-left: auto;
}

.nav-hamburger {
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
}

.nav-hamburger:hover {
  border-color: rgba(124, 58, 237, 0.45);
  background: rgba(124, 58, 237, 0.1);
}

.nav-mobile-dropdown {
  display: none !important;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  width: 100%;
  margin-top: 0;
  padding: 12px;
  border-radius: 24px;
}

.nav-mobile-dropdown.open {
  display: flex !important;
}

.nav-mobile-dropdown a {
  border-radius: 16px;
  text-align: center;
}

.nav-mobile-dropdown a:hover,
.nav-mobile-dropdown a.active-nav {
  background: rgba(124, 58, 237, 0.16);
  color: var(--white);
}

.nav-links a.active-nav {
  background: rgba(255, 255, 255, 0.07) !important;
  color: var(--white) !important;
}

.nav-cta-btn.active-nav {
  background: var(--purple) !important;
  color: #fff !important;
}

body.nav-open {
  overflow: hidden;
}

@media (min-width: 981px) {
  .m31-nav .m31-nav-inner .nav-links {
    display: flex !important;
  }

  .m31-nav .m31-nav-inner .nav-cta-btn {
    display: inline-flex !important;
  }

  .m31-nav .m31-nav-inner #lang-switch {
    display: flex !important;
  }

  .nav-hamburger,
  .nav-mobile-dropdown {
    display: none !important;
  }
}

@media (max-width: 980px) {
  .m31-nav {
    width: min(calc(100% - 24px), 1160px) !important;
  }

  .m31-nav-inner {
    gap: 12px !important;
    padding: 10px 12px 10px 14px !important;
  }

  .m31-nav .m31-nav-inner .nav-links,
  .m31-nav .m31-nav-inner .nav-cta-btn {
    display: none !important;
  }

  .nav-hamburger {
    display: inline-flex !important;
  }
}

@media (max-width: 767px) {
  .m31-nav .m31-nav-inner #lang-switch {
    display: none !important;
  }

  .nav-logo-img {
    width: 38px !important;
    height: 38px !important;
  }
}

@media (max-width: 560px) {
  .stats-inner {
    grid-template-columns: 1fr !important;
  }

  .stat-item,
  .stat-item:nth-child(odd) {
    border-right: none !important;
  }

  .stat-item:not(:last-child) {
    border-bottom: 1px solid var(--border) !important;
  }
}
