/* ============================================================
   Aiinhome Technologies — Design System
   Lemon yellow + grey/black, Nunito
   ============================================================ */

:root {
  /* Color tokens */
  --lemon: #F4E409;
  --lemon-deep: #D8C900;
  --lemon-pale: #FFFAD1;
  --ink: #131417;
  --ink-soft: #202127;
  --charcoal: #34353D;
  --grey-700: #5B5D67;
  --grey-500: #82848E;
  --grey-300: #C7C8CF;
  --grey-150: #E9E9ED;
  --grey-100: #F4F4F6;
  --white: #FFFFFF;

  /* Type */
  --font: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 1px 2px rgba(19, 20, 23, 0.06), 0 8px 24px rgba(19, 20, 23, 0.06);

  --nav-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1em;
  color: var(--grey-700);
  max-width: 62ch;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

section {
  padding: 30px 0;
}

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

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head p {
  margin-bottom: 0;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--grey-700);
  margin-bottom: 14px;
}

.kicker::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--lemon);
  border-radius: 2px;
  display: inline-block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline: 3px solid var(--lemon-deep);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--lemon);
  color: var(--ink);
}

.btn--primary:hover {
  background: var(--lemon-deep);
}

.btn--dark {
  background: var(--ink);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--ink-soft);
}

.btn--outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: transparent;
}

.btn--outline-light:hover {
  border-color: var(--lemon);
  color: var(--lemon);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.88rem;
}

/* ============================= NAV ============================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grey-150);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.logo .dot {
  color: var(--lemon-deep);
}

.logo em {
  font-style: normal;
  background: var(--ink);
  color: var(--lemon);
  padding: 0 6px;
  border-radius: 6px;
  font-weight: 900;
}

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

.nav-links a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--charcoal);
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--lemon);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--ink);
}

a.nav-mp-btn {
  padding: 10px 18px;
  background: var(--lemon-pale);
  color: var(--ink);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.88rem;
  border: 2px solid var(--lemon);
  transition: all 0.2s ease;
  white-space: nowrap;
}

a.nav-mp-btn:hover,
a.nav-mp-btn.active {
  background: var(--lemon);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(244, 228, 9, 0.3);
}

.nav-mp-btn svg {
  flex: none;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 940px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--grey-150);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--grey-100);
  }

  body.nav-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-actions .btn span.full-label,
  .nav-actions .nav-mp-btn span.full-label {
    display: none;
  }

  .nav-actions .nav-mp-btn {
    padding: 8px;
    border-radius: 50%;
  }
}

/* ============================= HERO ============================= */
.hero {
  padding: 50px 0 60px;
  position: relative;
  overflow: hidden;
}

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

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

.hero h1 {
  margin-bottom: 22px;
}

.hero .lede {
  font-size: 1.15rem;
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.stat-row {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.stat-row .stat b {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--ink);
}

.stat-row .stat span {
  font-size: 0.88rem;
  color: var(--grey-700);
  font-weight: 700;
}

.hero-art {
  position: relative;
  border-radius: var(--radius-lg);
  background: transparent;
  overflow: hidden;
}

/* ============================= FEATURE ROWS ============================= */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-row.reverse .feature-art {
  order: 1;
}

@media (max-width: 880px) {

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-copy,
  .feature-row.reverse .feature-art {
    order: 0;
  }
}

.feature-art {
  border-radius: var(--radius-lg);
  background: transparent;
  overflow: hidden;
}

.feature-list {
  margin-top: 20px;
}

.feature-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--grey-150);
  font-weight: 700;
  color: var(--charcoal);
  font-size: 0.98rem;
}

.feature-list li:first-child {
  border-top: none;
}

.feature-list li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--lemon-deep);
}

.bg-tint {
  background: var(--grey-100);
}

.bg-ink {
  background: var(--ink);
  color: var(--white);
}

.bg-ink h2,
.bg-ink h3 {
  color: var(--white);
}

.bg-ink p {
  color: var(--grey-300);
}

.bg-ink .feature-list li {
  color: var(--grey-200);
  border-top-color: rgba(255, 255, 255, 0.15);
}

/* ============================= TECH STACK ============================= */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--grey-150);
  border: 1px solid var(--grey-150);
  border-radius: var(--radius-md);
  overflow: hidden;
}

@media (max-width: 820px) {
  .stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stack-card {
  background: var(--white);
  padding: 30px 26px;
}

.stack-card h4 {
  font-size: 1.52rem;
  text-transform: none;
  font-weight: 800;
  color: var(--grey-700);
  margin-bottom: 14px;
}

.stack-card ul li {
  font-weight: 700;
  color: var(--ink);
  padding: 5px 0;
  font-size: 0.95rem;
}

/* ============================= MARKETPLACE TEASER (home) ============================= */
.mp-teaser {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  color: var(--white);
}

@media (max-width: 860px) {
  .mp-teaser {
    grid-template-columns: 1fr;
    padding: 36px 26px;
  }
}

.mp-teaser h2 {
  color: var(--white);
}

.mp-teaser p {
  color: var(--grey-300);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 28px;
}

.chip {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.mp-teaser-visual {
  display: grid;
  gap: 12px;
}

.mp-mini-card {
  background: var(--ink-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mp-mini-card .tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--lemon);
  background: rgba(244, 228, 9, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  flex: none;
}

.mp-mini-card strong {
  font-size: 0.92rem;
}

/* ============================= CAREERS ============================= */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 32px;
}

.tag-pill {
  background: var(--grey-100);
  border: 1px solid var(--grey-150);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}


/* ============================= CONTACT ============================= */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

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

.contact-info-item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--grey-150);
}

.contact-info-item:first-child {
  border-top: none;
}

.contact-info-item .ic {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--lemon-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-item strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
}

.contact-info-item a,
.contact-info-item span.val {
  color: var(--grey-700);
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-form-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

@media (max-width: 600px) {
  .contact-form-card {
    padding: 28px 20px;
  }
}

.form-field {
  margin-bottom: 14px;
}

.form-field label {
  display: block;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 0.98rem;
  padding: 10px 14px;
  border: 1.5px solid var(--grey-150);
  border-radius: var(--radius-md);
  background: var(--grey-100);
  color: var(--ink);
  resize: vertical;
  transition: all 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--lemon-deep);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(244, 228, 9, 0.15);
}

.form-note {
  font-size: 0.85rem;
  color: var(--grey-500);
  margin-top: 16px;
}

/* ============================= FOOTER ============================= */
.site-footer {
  background: var(--ink);
  color: var(--grey-300);
  padding-top: 72px;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--lemon);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-grid h4 {
  color: var(--white);
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.footer-grid .logo {
  color: var(--white);
  margin-bottom: 14px;
}

.footer-grid p {
  color: var(--grey-500);
}

.footer-links li {
  padding: 7px 0;
}

.footer-links a {
  color: var(--grey-300);
  font-weight: 600;
  font-size: 0.94rem;
}

.footer-links a:hover {
  color: var(--lemon);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 0.85rem;
  color: var(--grey-500);
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================= MARKETPLACE PAGE ============================= */
.mp-hero {
  padding: 15px 0 10px;
  text-align: center;
}

.mp-hero .kicker {
  justify-content: center;
}

.mp-hero h1 {
  max-width: 800px;
  margin: 0 auto 18px;
}

.mp-hero p {
  max-width: 620px;
  margin: 0 auto;
}

.mp-search-wrap {
  max-width: 640px;
  margin: 36px auto 0;
}

.mp-search {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 2px solid var(--grey-300);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  border-radius: 999px;
  padding: 6px 8px 6px 22px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mp-search:focus-within {
  border-color: var(--lemon-deep);
  background: var(--white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.mp-search svg {
  flex: none;
  color: var(--grey-500);
}

.mp-search input {
  flex: 1;
  border: none;
  background: none;
  font-family: var(--font);
  font-size: 1rem;
  padding: 12px 0;
  color: var(--ink);
  min-width: 0;
}

.mp-search input:focus {
  outline: none;
}

.mp-search .btn {
  flex: none;
}

.mp-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 28px 4px 8px;
}

.filter-chip {
  flex: none;
  border: 1.5px solid var(--grey-150);
  background: var(--white);
  color: var(--charcoal);
  font-weight: 700;
  font-size: 0.87rem;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.filter-chip:hover {
  border-color: var(--grey-300);
}

.filter-chip.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.mp-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 8px 0 22px;
  flex-wrap: wrap;
  gap: 8px;
}

.mp-count {
  font-weight: 700;
  color: var(--grey-700);
  font-size: 0.92rem;
}

.mp-clear {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  border-bottom: 2px solid var(--lemon);
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  padding: 0 0 2px;
  font-family: var(--font);
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding-bottom: 40px;
}

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

.agent-card {
  border: 1.5px solid var(--grey-150);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.agent-card:hover {
  border-color: var(--grey-300);
  box-shadow: var(--shadow-card);
}

.agent-card.open {
  border-color: var(--ink);
}

.agent-card-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 22px 18px;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font);
}

.agent-avatar {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--lemon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.05rem;
}

.agent-card-body-top {
  flex: 1;
  min-width: 0;
}

.agent-cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--grey-700);
  background: var(--grey-100);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.agent-card-head h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.agent-card-head .summary {
  font-size: 0.92rem;
  color: var(--grey-700);
  margin-bottom: 0;
}

.agent-chevron {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--grey-150);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.15s ease;
  margin-top: 2px;
}

.agent-card.open .agent-chevron {
  transform: rotate(180deg);
  background: var(--lemon);
  border-color: var(--lemon);
}

.agent-card-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.agent-card.open .agent-card-detail {
  max-height: 1400px;
}

.agent-card-detail-inner {
  padding: 0 22px 26px 84px;
}

@media (max-width: 480px) {
  .agent-card-detail-inner {
    padding-left: 22px;
  }
}

.agent-card-detail-inner p {
  font-size: 0.93rem;
  margin-bottom: 12px;
}

.agent-card-detail-inner h4 {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink);
  margin: 16px 0 10px;
}

.cap-list li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 0.9rem;
  color: var(--charcoal);
  font-weight: 600;
}

.cap-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lemon-deep);
}

.agent-card-detail-inner .btn {
  margin-top: 14px;
}

.mp-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--grey-500);
  display: none;
}

.mp-empty.show {
  display: block;
}

.mp-page-header-band {
  background: var(--grey-100);
  border-bottom: 1px solid var(--grey-150);
}

/* ============================= SVG ANIMATIONS ============================= */
@keyframes radarSpin {
  100% {
    transform: rotate(360deg);
  }
}

.radar-spin {
  animation: radarSpin 6s linear infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.8);
  }

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

.radar-dots circle {
  animation: pulseDot 2s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}

.radar-dots circle:nth-child(2) {
  animation-delay: 0.4s;
}

.radar-dots circle:nth-child(3) {
  animation-delay: 0.8s;
}

.radar-dots circle:nth-child(4) {
  animation-delay: 1.2s;
}

@keyframes growBar {
  0% {
    transform: scaleY(0);
  }

  20%,
  80% {
    transform: scaleY(1);
  }

  100% {
    transform: scaleY(0);
  }
}

.bar-chart-bars rect {
  transform-origin: bottom;
  transform-box: fill-box;
  animation: growBar 4s ease-in-out infinite;
}

.bar-chart-bars rect:nth-child(1) {
  animation-delay: 0.1s;
}

.bar-chart-bars rect:nth-child(2) {
  animation-delay: 0.2s;
}

.bar-chart-bars rect:nth-child(3) {
  animation-delay: 0.3s;
}

.bar-chart-bars rect:nth-child(4) {
  animation-delay: 0.4s;
}

.bar-chart-bars rect:nth-child(5) {
  animation-delay: 0.5s;
}

.bar-chart-bars rect:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes drawLineAnim {
  0% {
    stroke-dashoffset: 1000;
  }

  30%,
  70% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: 1000;
  }
}

.bar-chart-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLineAnim 4s ease-in-out infinite;
  animation-delay: 0.8s;
}

@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  20%,
  80% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.phone-items rect {
  transform-box: fill-box;
  animation: slideUpFade 3s ease-in-out infinite;
}

.phone-items rect:nth-child(2) {
  animation-delay: 0.2s;
}

.phone-items rect:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes pulseBtn {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.phone-btn {
  animation: pulseBtn 1.5s infinite;
}

@keyframes marchingAnts {
  to {
    stroke-dashoffset: -24;
  }
}

.node-line {
  animation: marchingAnts 1s linear infinite;
}

.fintech-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLineAnim 4s ease-in-out infinite;
}

.fintech-dots circle {
  opacity: 0;
  animation: pulseDot 4s ease-in-out infinite;
}

.fintech-dots circle:nth-child(1) {
  animation-delay: 1.5s;
}

.fintech-dots circle:nth-child(2) {
  animation-delay: 2s;
}

/* ============================= SCROLL ANIMATIONS ============================= */
[data-animate] {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="fade-up"] {
  transform: translateY(40px);
}

[data-animate="fade-in"] {
  transform: translateY(0);
}

[data-animate="fade-left"] {
  transform: translateX(-40px);
}

[data-animate="fade-right"] {
  transform: translateX(40px);
}

[data-animate="zoom-in"] {
  transform: scale(0.95);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

.form-row {
  display: flex;
  gap: 14px;
}

.form-row .form-field {
  flex: 1;
}

@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

/* ============================= PARTNERSHIP BG ============================= */
.bg-partnership {
  background-image: linear-gradient(rgba(19, 20, 23, 0.85), rgba(19, 20, 23, 0.85)), url('../images/it-partnership-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 100px 0;
}

.bg-partnership .kicker {
  color: var(--grey-300);
}

/* ============================= TEASER BG OVERRIDE ============================= */
.mp-teaser {
  background-image: linear-gradient(rgba(19, 20, 23, 0.75), rgba(19, 20, 23, 0.85)), url('../images/ai-teaser-bg.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ============================= FINTECH BG ANIMATION ============================= */
.bg-animated-grid {
  position: relative;
  overflow: hidden;
}

.bg-animated-grid::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background-image:
    linear-gradient(rgba(244, 228, 9, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 228, 9, 0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: bgGridScroll 25s linear infinite;
  z-index: 0;
  pointer-events: none;
  transform: rotate(15deg);
}

.bg-animated-grid::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, var(--ink) 75%);
  z-index: 1;
  pointer-events: none;
}

.bg-animated-grid .container {
  position: relative;
  z-index: 2;
}

@keyframes bgGridScroll {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 100px 100px;
  }
}

/* ============================= FINTECH BG IMAGE ============================= */
.bg-fintech-image {
  background-image: linear-gradient(rgba(19, 20, 23, 0.8), rgba(19, 20, 23, 0.9)), url('../images/fintech1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 50px 0;
}