* {
  box-sizing: border-box;
}

:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-300: #cbd5e1;
  --blue: #2563eb;
  --indigo: #4f46e5;
  --purple: #9333ea;
  --pink: #db2777;
  --green: #16a34a;
  --cyan: #06b6d4;
  --orange: #f97316;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--slate-900);
  background: #fff;
}

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

img,
svg {
  display: block;
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow .3s ease, background .3s ease;
  transform: translateZ(0);
}

.nav.scrolled {
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 18px 40px rgba(37, 99, 235, .08);
}

.nav-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 76px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  transition: transform .3s ease, box-shadow .3s ease;
}

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

.brand:hover .brand-mark {
  transform: scale(1.04);
  box-shadow: none;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(90deg, var(--blue), var(--indigo), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  position: relative;
  padding: 10px 22px;
  border-radius: 12px;
  color: var(--slate-700);
  font-weight: 650;
  overflow: hidden;
  transition: color .25s ease, transform .25s ease;
}

.nav-link:hover {
  color: var(--blue);
  background: linear-gradient(90deg, #eff6ff, #eef2ff);
}

.nav-link.active {
  color: #fff;
  background: linear-gradient(90deg, var(--blue), var(--indigo), var(--purple));
  box-shadow: 0 12px 25px rgba(37, 99, 235, .25);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--slate-900);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, .55), transparent 36%),
    radial-gradient(circle at 80% 70%, rgba(147, 51, 234, .50), transparent 38%),
    linear-gradient(135deg, #020617, #172554 46%, #581c87);
}

.hero.compact {
  min-height: 0;
  padding: 128px 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(2, 6, 23, .54), rgba(2, 6, 23, .68)), url("../images/tech-background.svg");
  background-size: cover;
  background-position: center;
  opacity: .92;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(950px, 100%);
  margin: 0 auto;
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  margin: 0 0 26px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero.compact h1 {
  font-size: clamp(42px, 6vw, 64px);
}

.gradient-text {
  background: linear-gradient(90deg, #fff, #dbeafe, #f3e8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-text.accent {
  background-image: linear-gradient(90deg, #60a5fa, #c084fc, #f472b6);
}

.hero p {
  width: min(760px, 100%);
  margin: 0 auto 42px;
  color: var(--slate-300);
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.65;
}

.hero-actions,
.logo-row,
.region-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 32px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(90deg, var(--blue), var(--indigo), var(--purple));
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(79, 70, 229, .28);
  transition: transform .25s ease, box-shadow .25s ease;
}

.button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 22px 50px rgba(147, 51, 234, .38);
}

.button.secondary {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: none;
  backdrop-filter: blur(16px);
}

.trusted {
  margin-top: 76px;
}

.logo-row {
  gap: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--blue);
  background: #dbeafe;
  font-size: 14px;
  font-weight: 800;
}

.eyebrow.dark {
  color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(14px);
}

.overline {
  margin: 0 0 24px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.partner-logo {
  width: 132px;
  height: 42px;
  object-fit: contain;
  opacity: 1;
  transition: opacity .25s ease, transform .25s ease;
}

.partner-logo:hover {
  opacity: 1;
}

.logo-block {
  width: 180px;
  height: 78px;
  display: grid;
  place-items: center;
  padding: 16px 22px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 12px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 36px rgba(2, 6, 23, .18);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.logo-block:hover {
  transform: translateY(-3px) scale(1.03);
  background: #fff;
  border-color: #fff;
}

.mica-logo {
  color: #173b9a;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: .02em;
}

.logo-block .partner-logo[alt="Visa"] {
  transform: translateY(-1px);
}

.section {
  padding: 120px 0;
}

.section.light {
  background: linear-gradient(135deg, #f8fafc, #fff 45%, #eff6ff);
}

.section.dark {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #1d4ed8, #4f46e5, #7e22ce);
}

.section.deep {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #172554, #312e81);
}

.section.dark::before,
.section.deep::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, rgba(15, 23, 42, .34), rgba(30, 64, 175, .14), rgba(88, 28, 135, .28)), url("../images/tech-background.svg");
  background-size: cover;
  background-position: center;
  opacity: .82;
}

.section.deep::before {
  opacity: .88;
}

.section.dark > .container,
.section.deep > .container,
.cta > .container,
.hero-content {
  position: relative;
  z-index: 2;
}

.section-title {
  width: min(720px, 100%);
  margin: 0 auto 70px;
  text-align: center;
}

.section-title h2,
.split h2 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.12;
}

.section-title p,
.split p {
  margin: 0;
  color: var(--slate-600);
  font-size: 20px;
  line-height: 1.65;
}

.section.dark .section-title p,
.section.deep .section-title p,
.section.deep p {
  color: var(--slate-300);
}

.grid {
  display: grid;
  gap: 28px;
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

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

.card {
  position: relative;
  min-height: 100%;
  padding: 34px;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #fff;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
}

.dark-card {
  overflow: visible;
}

.dark-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
  box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
}

.card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .14);
}

.dark-card {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .11);
  color: #fff;
  backdrop-filter: blur(16px);
}

.dark-card:hover {
  background: rgba(255, 255, 255, .18);
}

.card h3 {
  margin: 0 0 18px;
  color: #0f172a;
  font-size: 28px;
  line-height: 1.28;
  font-weight: 900;
}

.card p {
  margin: 0;
  color: var(--slate-600);
  font-size: 20px;
  line-height: 1.65;
}

.dark-card p {
  color: var(--slate-300);
}

.dark-card h3 {
  color: #fff;
}

.icon-box {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  margin: 0 auto 34px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  transition: transform .3s ease;
}

.icon-box svg {
  width: 38px;
  height: 38px;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-box img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.card:hover .icon-box,
.contact-method:hover .icon-box {
  transform: scale(1.08) rotate(3deg);
}

.g-purple { background: linear-gradient(135deg, var(--purple), var(--pink)); }
.g-indigo { background: linear-gradient(135deg, var(--indigo), var(--blue)); }
.g-pink { background: linear-gradient(135deg, var(--pink), #f43f5e); }
.g-green { background: linear-gradient(135deg, var(--green), #10b981); }
.g-orange { background: linear-gradient(135deg, var(--orange), #f59e0b); }
.g-yellow { background: linear-gradient(135deg, #eab308, var(--orange)); }

.advantage {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.advantage .icon-box {
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: 14px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, .18);
}

.advantage .icon-box svg {
  width: 34px;
  height: 34px;
}

.advantage p {
  color: #fff;
  font-size: 18px;
}

.cta {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, #0f172a, #1e293b, #0f172a);
}

.cta h2 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 54px);
}

.cta p {
  width: min(700px, 100%);
  margin: 0 auto 40px;
  color: var(--slate-300);
  font-size: 20px;
  line-height: 1.65;
}

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

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat {
  text-align: center;
}

.stat .icon-box {
  border-radius: 24px;
}

.stat .icon-box svg {
  width: 36px;
  height: 36px;
}

.stat-value {
  margin-bottom: 6px;
  font-size: 42px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.region {
  padding: 15px 26px;
  border-radius: 16px;
  color: var(--slate-900);
  background: rgba(255, 255, 255, .95);
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 18px 35px rgba(2, 6, 23, .2);
  transition: transform .25s ease;
}

.region:hover {
  transform: scale(1.06);
}

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

.form {
  display: grid;
  gap: 22px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  color: var(--slate-900);
  font: inherit;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 56px;
  background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%230f172a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 22px center;
  background-size: 22px 22px;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.success {
  display: none;
  padding: 42px 28px;
  border: 2px solid #22c55e;
  border-radius: 24px;
  text-align: center;
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}

.success.show {
  display: block;
  animation: pop .45s ease both;
}

.success h3 {
  margin: 14px 0 8px;
  color: #15803d;
  font-size: 30px;
}

.success p {
  margin: 0;
  color: #16a34a;
}

.contact-method {
  display: flex;
  gap: 20px;
  padding: 28px;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}

.contact-method:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, .12);
}

.contact-method .icon-box {
  width: 76px;
  height: 76px;
  margin: 0;
  border-radius: 22px;
  flex: 0 0 auto;
}

.contact-method .icon-box img {
  width: 64px;
  height: 64px;
}

.contact-method .media-icon {
  background: transparent;
}

.contact-method .email-icon svg {
  width: 56px;
  height: 56px;
}

.contact-method h3 {
  margin: 0 0 8px;
}

.contact-method a {
  font-size: 18px;
  font-weight: 850;
  color: var(--blue);
}

.contact-method p {
  margin: 8px 0 0;
  color: var(--slate-600);
}

.footer {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #020617, #0f172a, #020617);
}

.footer .brand-mark {
  width: 64px;
  height: 44px;
}

.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0 44px;
}

.footer h3 {
  margin: 0 0 20px;
}

.footer p,
.footer a {
  color: var(--slate-300);
}

.footer a:hover {
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 0;
  color: #fff;
  background: transparent;
  transition: transform .25s ease;
}

.social img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.social:hover {
  transform: scale(1.16);
}

.copyright {
  padding: 24px 0;
  border-top: 1px solid rgba(148, 163, 184, .18);
  color: #94a3b8;
  text-align: center;
  font-size: 14px;
}

.float-a,
.float-b,
.float-c {
  position: absolute;
  border-radius: 999px;
  filter: blur(45px);
  opacity: .35;
  pointer-events: none;
  animation: drift 18s ease-in-out infinite;
  will-change: transform;
}

.float-a {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 5%;
  background: var(--blue);
}

.float-b {
  width: 390px;
  height: 390px;
  right: 6%;
  bottom: 8%;
  background: var(--purple);
  animation-duration: 15s;
  animation-delay: 1s;
}

.float-c {
  width: 320px;
  height: 320px;
  left: 24%;
  bottom: -70px;
  background: var(--pink);
  animation-duration: 20s;
  animation-delay: 2s;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, 30px) scale(1.08); }
  66% { transform: translate(-35px, -30px) scale(.95); }
}

@keyframes pop {
  from { opacity: 0; transform: scale(.9); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 920px) {
  .grid.three,
  .grid.four,
  .grid.two,
  .split,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 36px, 1180px);
  }

  .nav-inner {
    min-height: 92px;
  }

  .nav {
    background: rgba(255, 255, 255, .96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .brand-mark {
    width: 76px;
    height: 52px;
  }

  .menu-button {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
  }

  .nav-links {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 92px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .16);
  }

  .nav.open .nav-links {
    display: flex;
  }

  .nav-link {
    display: block;
  }

  .brand-name {
    font-size: clamp(20px, 6vw, 30px);
  }

  .hero,
  .hero.compact {
    min-height: auto;
    padding: 74px 0 58px;
  }

  .float-a,
  .float-b,
  .float-c {
    animation: none;
    filter: blur(34px);
    opacity: .22;
  }

  .reveal {
    transform: translateY(16px);
    transition-duration: .45s;
  }

  .hero-content {
    padding: 54px 0 24px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 68px);
  }

  .hero p {
    font-size: clamp(20px, 5vw, 27px);
    line-height: 1.55;
    margin-bottom: 34px;
  }

  .hero-actions {
    width: 100%;
    gap: 14px;
  }

  .section,
  .cta {
    padding: 76px 0;
  }

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

  .button {
    width: auto;
    max-width: 100%;
    min-width: min(280px, 100%);
    min-height: 54px;
    padding: 0 26px;
  }

  .hero-actions .button {
    width: min(100%, 420px);
  }

  .contact-method {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 22px;
    border-radius: 20px;
  }

  .contact-method .icon-box {
    width: 58px;
    height: 58px;
    border-radius: 16px;
  }

  .contact-method .icon-box img {
    width: 52px;
    height: 52px;
  }

  .contact-method .email-icon svg {
    width: 38px;
    height: 38px;
  }

  .contact-method h3 {
    margin-bottom: 4px;
    font-size: 22px;
    line-height: 1.2;
  }

  .contact-method a {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: clamp(16px, 4.5vw, 20px);
    line-height: 1.25;
  }

  .contact-method p {
    margin-top: 6px;
    font-size: 16px;
    line-height: 1.45;
  }

  .contact-method > div {
    min-width: 0;
  }

  .trusted {
    margin-top: 58px;
  }

  .logo-row {
    gap: 12px;
  }

  .logo-block {
    width: calc(50% - 6px);
    height: 72px;
    padding: 14px 16px;
  }

  .partner-logo {
    width: 118px;
    height: 38px;
  }

  .footer-inner {
    gap: 30px;
    padding: 48px 0 32px;
    text-align: center;
  }

  .footer .brand {
    justify-content: center;
    flex-direction: column;
    gap: 8px;
  }

  .footer .brand-mark {
    width: 86px;
    height: 58px;
  }

  .footer p {
    max-width: 320px;
    margin: 16px auto 0;
  }

  .footer-links {
    justify-items: center;
  }

  .socials {
    justify-content: center;
    gap: 10px;
  }

  .social {
    width: 36px;
    height: 36px;
  }

  .social img {
    width: 28px;
    height: 28px;
  }

  .copyright {
    padding: 20px 0;
    line-height: 1.5;
  }
}
