@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap");

/* ─── Font weights (match React / Tailwind intent) ───
   300 = font-light   (headings, hero, lead)
   400 = regular     (body default)
   500 = font-medium (nav, buttons, card titles)
   600 = semibold    (emphasis links)
   700 = bold        (badges, uppercase labels only)
*/

:root {
  --fw-light: 300;
  --fw-body: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Barlow, ui-sans-serif, system-ui, sans-serif;
  font-weight: var(--fw-body);
  background: #fff;
  color: #171717;
  -webkit-font-smoothing: antialiased;
}

h1,
h2 {
  font-weight: var(--fw-light);
}

h3,
h4 {
  font-weight: var(--fw-medium);
}

.lead,
.hero p {
  font-weight: var(--fw-light);
}

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.serif {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
}

/* ─── Navigation ─── */
.page-home .nav {
  margin-bottom: -115px;
}

.nav {
  position: sticky;
  top: 16px;
  z-index: 50;
  margin: 18px auto;
  width: min(1200px, 95%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e5e5e5;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.page-home .nav.nav--at-top {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.page-home .nav.nav--at-top .nav-links a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: var(--fw-medium);
}

.page-home .nav.nav--at-top .nav-links a:hover,
.page-home .nav.nav--at-top .nav-links a.active {
  color: #fff;
  font-weight: var(--fw-semibold);
}

.page-home .nav.nav--at-top .btn-nav-cta {
  background: #fff;
  color: #171717;
}

.page-home .nav.nav--at-top .nav-logo {
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 14px;
  color: #525252;
  font-weight: var(--fw-medium);
  transition: color 0.2s ease;
}

.nav-links a.active,
.nav-links a:hover {
  color: #06B6D4;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: var(--fw-medium);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

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

.btn-dark {
  background: #171717;
  color: #fff;
}

.btn-dark:hover {
  background: #262626;
}

.btn-light {
  background: #fff;
  color: #171717;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: var(--fw-medium);
  cursor: pointer;
  font-family: inherit;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color:#06B6D4;
    text-decoration: none !important;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 88vh;
  background: #000;
  overflow: hidden;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}
.hero-nav {
    position: relative;
    min-height: 230px;
    background: #000;
    overflow: hidden;
}

.hero-nav video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.58;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.68));
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  padding: 160px 20px 110px;
  color: #fff;
}
.hero-inner-nav {
    position: relative;
    z-index: 2;
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
    padding: 160px 20px 30px;
    color: #fff;
}

.page-home .hero-inner {
  padding-top: 200px;
}

.hero h1 {
  font-weight: var(--fw-light);
  line-height: 1.08;
  margin: 0 0 20px;
  font-size: clamp(2rem, 7vw, 5rem);
}

.hero p {
  margin: 0 auto 34px;
  max-width: 780px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

.badge-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #06B6D4;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(1.15);
  }
}

/* ─── Sections ─── */
.section {
  padding: 90px 0;
}

.section h2 {
    font-size: clamp(1.7rem, 4.5vw, 3.6rem);
    line-height: 1.1;
    font-weight: var(--fw-light);
    margin: auto;
    margin-bottom:10px;
}

.lead {
  font-size: 1.18rem;
  color: #666;
  line-height: 1.75;
  font-weight: var(--fw-light);
}

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

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

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

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

.g5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* Cards */
.card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 38px rgba(0, 0, 0, 0.03);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: var(--fw-medium);
}

.card p {
  margin: 0;
  color: #666;
  line-height: 1.65;
  font-weight: var(--fw-light);
}

.card-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}

.dark {
  background: #171717;
  color: #fff;
}

.dark .lead,
.dark .card p {
  color: rgba(255, 255, 255, 0.72);
}

.dark .card {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.dark .card:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

.page-title {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 60px;
}

.page-title h1 {
  font-size: clamp(2rem, 6vw, 4.7rem);
  font-weight: var(--fw-light);
  line-height: 1.1;
  margin: 0 0 14px;
}

.page-title p {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.7;
  font-weight: var(--fw-light);
}

.pill {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: var(--fw-bold);
  color: #666;
}

.thumb {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #eef2ff;
  margin-bottom: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f5f5f5;
  border: 1px solid #e5e5e5;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  color: #666;
  margin-bottom: 14px;
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal-stagger].is-revealed > *:nth-child(1) {
  transition-delay: 0.05s;
}
[data-reveal-stagger].is-revealed > *:nth-child(2) {
  transition-delay: 0.1s;
}
[data-reveal-stagger].is-revealed > *:nth-child(3) {
  transition-delay: 0.15s;
}
[data-reveal-stagger].is-revealed > *:nth-child(4) {
  transition-delay: 0.2s;
}
[data-reveal-stagger].is-revealed > *:nth-child(5) {
  transition-delay: 0.25s;
}
[data-reveal-stagger].is-revealed > *:nth-child(6) {
  transition-delay: 0.3s;
}
[data-reveal-stagger].is-revealed > *:nth-child(7) {
  transition-delay: 0.35s;
}
[data-reveal-stagger].is-revealed > *:nth-child(8) {
  transition-delay: 0.4s;
}

[data-reveal-stagger].is-revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* Integrations carousel */
.integrations-section {
  position: relative;
  background: #ffffff;
  overflow-x: hidden;
  overflow-y: visible;
}

.integrations-section  video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.integrations-blob {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: rgba(6, 182, 212,0.15);
  filter: blur(100px);
  border-radius: 50%;
  pointer-events: none;
}

.integrations-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.integrations-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #67E8F9;
  background: #faf5ff;
  font-size: 12px;
  font-weight: var(--fw-semibold);
  color: #0891B2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.integrations-headline {
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  font-weight: var(--fw-bold);
  color: #0f172a;
  max-width: 900px;
  margin: 0 auto 16px;
  line-height: 1.12;
}

.integrations-sub {
  font-size: 1.125rem;
  color: #000000;
  max-width: 640px;
  margin: 0 auto 48px;
  font-weight: var(--fw-light);
  line-height: 1.65;
}

.integrations-stage {
  position: relative;
  height: 420px;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.integrations-orbit {
  position: absolute;
  width: min(80vw, 360px);
  height: min(80vw, 360px);
  border-radius: 50%;
  border: 1.5px solid rgba(42, 63, 95, 0.2);
  background: conic-gradient(from 180deg, transparent, rgb(42, 63, 95), transparent 40%);
  animation: spin-slow 30s linear infinite;
  opacity: 0.55;
}

.integrations-sphere {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  z-index: 5;
  background: radial-gradient(circle at 30% 30%, #2a2a2a, rgba(0, 0, 0, 0.5));
  box-shadow: 0 0 100px rgba(0, 0, 0, 0.85), inset 0 0 36px rgba(255, 255, 255, 0.06);
}

.integrations-items {
  position: absolute;
  inset: 0;
  z-index: 10;
}

.integration-item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 88px;
  height: 88px;
  margin-left: -44px;
  margin-top: -44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease, filter 0.35s ease,
    width 0.35s ease, height 0.35s ease, margin 0.35s ease, background 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

.integration-item.is-active {
  width: 80px;
  height: 80px;
  margin-left: -40px;
  margin-top: -40px;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
}

.integration-item .integration-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease;
}

.integration-item .integration-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18));
}

.integration-item.is-active .integration-icon {
  transform: scale(1.08);
}

.integration-item .integration-label {
  position: absolute;
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.integration-item.is-active .integration-label {
  opacity: 1;
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* AI visual grid */
.ai-visual {
  position: relative;
  aspect-ratio: 1;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  padding: 24px;
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr);
  gap: 8px;
  height: 100%;
  opacity: 0.22;
}

.ai-cell {
  background: rgb(42, 63, 95);
  border-radius: 4px;
  animation: cell-pulse 3s ease-in-out infinite;
}

.ai-cell:nth-child(3n) {
  animation-delay: 0.4s;
}
.ai-cell:nth-child(5n) {
  animation-delay: 0.8s;
}
.ai-cell:nth-child(7n) {
  animation-delay: 1.2s;
}

@keyframes cell-pulse {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(1.06);
  }
}

.ai-core {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  pointer-events: none;
}

.ai-ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgb(42, 63, 95);
  background: rgb(42, 63, 95);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  animation: ring-ping 2.5s ease-out infinite;
}

@keyframes ring-ping {
  0% {
    box-shadow: 0 0 0 0 rgb(42, 63, 95);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(129, 140, 248, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(129, 140, 248, 0);
  }
}

.ai-bars {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 12px;
}

.ai-bar {
  width: 4px;
  height: 14px;
  background: rgba(42, 63, 95,0.55);
  border-radius: 4px;
  animation: bar-bounce 0.55s ease-in-out infinite alternate;
}

.ai-bar:nth-child(2) {
  animation-delay: 0.08s;
}
.ai-bar:nth-child(3) {
  animation-delay: 0.16s;
}
.ai-bar:nth-child(4) {
  animation-delay: 0.24s;
}
.ai-bar:nth-child(5) {
  animation-delay: 0.32s;
}

@keyframes bar-bounce {
  from {
    transform: scaleY(0.45);
  }
  to {
    transform: scaleY(1.15);
  }
}

.ai-float-card {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12px;
  color: #fff;
}

.ai-float-card small {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  font-weight: var(--fw-medium);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 9px;
}

.ai-float-top {
  top: 14%;
  right: 12%;
  animation: float-y 4s ease-in-out infinite;
}

.ai-float-bot {
  bottom: 14%;
  left: 12%;
  animation: float-y 5s ease-in-out infinite 1s;
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Products ecosystem diagram */
.eco-diagram-wrap {
  position: relative;
  min-height: auto;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 40px;
  padding: 0;
  margin-bottom: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
  overflow: visible;
}

.eco-diagram-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  height: 420px;
  transform: translate(-50%, -50%);
  background: rgba(255, 237, 213, 0.35);
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
}

.eco-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 700;
  overflow: visible;
}

.eco-stage svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

.eco-diagram-wrap svg {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
}

.eco-line {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
}

.eco-line.drawn {
  animation: draw-line 2s ease forwards;
}

@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

.eco-hub {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: 28px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.eco-hub img {
  width: 56px;
  height: auto;
  object-fit: contain;
}

.eco-node {
  position: absolute;
  z-index: 6;
  width: 72px;
  height: 72px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transform: translate(-50%, -50%);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  animation: node-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.eco-node:hover {
  transform: translate(-50%, -50%) translateY(-6px);
  box-shadow: 0 18px 40px rgb(26, 43, 74,0.15);
  border-color: rgb(26, 43, 74);
}

.eco-node-icon {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.eco-node-label {
  position: absolute;
  left: 50%;
  bottom: -26px;
  transform: translateX(-50%) translateY(6px);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  background: rgba(15, 23, 42, 0.98);
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: var(--fw-semibold, 600);
  letter-spacing: 0.02em;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.eco-node:hover .eco-node-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes node-pop {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3);
  }
  to {
    opacity: 1;
  }
}

.eco-steps {
  margin-top: 28px;
  padding: 36px;
  border-radius: 32px;
  border: 1px solid #f0f0f0;
  background: #fff;
}

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

.eco-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.eco-step-num {
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: #06B6D4;
  flex-shrink: 0;
}

.eco-step p {
  margin: 0;
  font-size: 14px;
  color: #737373;
  font-weight: var(--fw-light);
  line-height: 1.6;
}

/* Ecosystem page floating cards */
.ecosystem-scene {
  position: relative;
  min-height: 640px;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 100px;
}

.eco-bg-lines {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
}

.eco-center-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 8;
  width: 160px;
  height: 160px;
  border-radius: 40px;
  background: linear-gradient(145deg, #67E8F9, #0891b2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  box-shadow: 0 24px 60px rgb(42, 63, 95, 0.35);
}

.eco-center-logo img {
  width: 100%;
  filter: brightness(0) invert(1);
}

.eco-float-card {
  position: absolute;
  z-index: 4;
  max-width: 280px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #fafafa;
  padding: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  display: flex;
  gap: 12px;
 animation: float-card 6s ease-in-out infinite;
}

.eco-float-card:nth-child(even) {
  animation-duration: 7.5s;
  animation-delay: 0.5s;
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.estimation-panel {
  display: none;
  animation: fade-in 0.5s ease;
}

.estimation-panel.is-visible {
  display: block;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-loading .btn-text {
  display: none;
}
.btn-loading .btn-spinner {
  display: inline-block !important;
}

.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Footer */
.footer {
  border-top: 1px solid #ececec;
  padding: 60px 0 20px;
  margin-top: 60px;
}

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

.footer h4 {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: var(--fw-bold);
}

.footer a,
.footer p {
  color: #666;
  font-size: 14px;
  line-height: 1.7;
  font-weight: var(--fw-light);
}

.foot-bottom {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #efefef;
  font-size: 12px;
  color: #888;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  margin-bottom: 14px;
}

label {
  display: block;
  font-size: 12px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #777;
  margin: 0 0 6px;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #ececec;
  background: #fafafa;
  font: inherit;
  font-weight: var(--fw-body);
}

textarea {
  resize: vertical;
}

/* Project detail entrance */
.detail-animate {
  animation: detail-in 0.65s ease both;
}

@keyframes detail-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1000px) {
  .g5,
  .g4,
  .g3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .eco-steps-grid {
    grid-template-columns: 1fr 1fr;
  }
  .integrations-stage {
    height: 360px;
  }
  .integrations-sphere {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 740px) {
  .g2,
  .g3,
  .g4,
  .g5,
  .form-row,
  .footer-grid,
  .eco-steps-grid {
    grid-template-columns: 1fr;
  }
  .nav {
    position: static;
    width: 92%;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .nav-links {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }
  .nav-links a {
    font-size: 13px;
  }
  .btn-nav-cta {
    width: 100%;
    text-align: center;
  }
  .integration-item {
    width: 72px;
    height: 72px;
    margin-left: -36px;
    margin-top: -36px;
  }
  .integration-item.is-active {
    width: 84px;
    height: 84px;
    margin-left: -42px;
    margin-top: -42px;
  }
  .ecosystem-scene {
    min-height: 900px;
  }
  /* stack float cards */
  .eco-float-card {
    position: relative;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    max-width: 100%;
    margin-bottom: 12px;
    animation: none;
  }
  .eco-center-logo {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: 24px auto;
  }

  .eco-node-label {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
.noBorderBgShadow{
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
