:root {
  --blue-900: #1e3a8a;
  --blue-800: #1e40af;
  --orange-400: #fb923c;
  --orange-300: #fdba74;
  --slate-700: #334155;
  --slate-500: #64748b;
  --cloud: #f8fafc;
  --line-on-dark: rgb(255 255 255 / 12%);
  --nav-h: 4.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, sans-serif;
  color: var(--slate-700);
  background: var(--cloud);
}

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

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

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

button {
  font: inherit;
}

.site-main {
  min-height: calc(100vh - var(--nav-h));
}

.page-spacer {
  height: var(--nav-h);
}

.home-intro {
  max-width: 72rem;
  padding: 6rem 1.5rem;
  margin: 0 auto;
  text-align: center;
}

.home-intro h1 {
  margin: 0 0 1rem;
  color: #0f172a;
  font-size: clamp(2rem, 5vw, 4rem);
}

.home-intro p {
  color: var(--slate-500);
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  background: var(--blue-900);
  border-bottom: 1px solid var(--line-on-dark);
  transition: transform 0.35s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px -12px rgb(0 0 0 / 35%);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.navbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  height: var(--nav-h);
  padding: 0 1.25rem;
  margin: 0 auto;
}

.navbar-left,
.logo,
.desktop-links,
.nav-item,
.nav-btn,
.navbar-right {
  display: flex;
  align-items: center;
}

.navbar-left {
  gap: 2.25rem;
}

.logo {
  flex-shrink: 0;
  gap: 0.5rem;
}

.logo img {
  width: auto;
  height: 2.5rem;
}

.desktop-links {
  display: none;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
  height: 100%;
}

.nav-btn {
  position: relative;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  color: rgb(255 255 255 / 82%);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 0.375rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-btn:hover,
.nav-btn:focus-visible {
  color: #fff;
  background: rgb(255 255 255 / 6%);
}

.nav-btn.active {
  color: var(--orange-300);
  background: rgb(255 255 255 / 6%);
}

.nav-btn::after {
  position: absolute;
  right: 0.875rem;
  bottom: -1px;
  left: 0.875rem;
  height: 2px;
  content: "";
  background: var(--orange-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-btn.active::after {
  transform: scaleX(1);
}

.chevron {
  width: 15px;
  height: 15px;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

.nav-btn.active .chevron,
.mobile-accordion-btn.open .chevron {
  color: var(--orange-300);
  transform: rotate(180deg);
}

.navbar-right {
  display: none;
  gap: 0.5rem;
}

.link-help {
  padding: 0.5rem 0.875rem;
  color: rgb(255 255 255 / 82%);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 0.375rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.link-help:hover {
  color: #fff;
  background: rgb(255 255 255 / 6%);
}

.btn-cta {
  padding: 0.5rem 1.25rem;
  color: #1a1a1a;
  font-size: 0.9375rem;
  font-weight: 700;
  white-space: nowrap;
  background: var(--orange-400);
  border-radius: 9999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-cta:hover {
  background: var(--orange-300);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: block;
  padding: 0.375rem;
  color: #fff;
  cursor: pointer;
  background: none;
  border: 0;
}

.mobile-toggle .icon-close {
  display: none;
}

.mobile-toggle.open .icon-menu {
  display: none;
}

.mobile-toggle.open .icon-close {
  display: block;
}

.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 20rem;
  padding: 0.5rem;
  visibility: hidden;
  background: var(--blue-800);
  border: 1px solid var(--line-on-dark);
  border-top: 2px solid var(--orange-400);
  border-radius: 0 0 0.5rem 0.5rem;
  box-shadow: 0 16px 32px -12px rgb(0 0 0 / 40%);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav-item.open .dropdown-panel {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.dd-link {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: 0.375rem;
  transition: background 0.15s ease;
}

.dd-link:hover,
.dd-link:focus-visible {
  background: rgb(255 255 255 / 8%);
}

.dd-title,
.dd-desc {
  display: block;
}

.dd-title {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
}

.dd-desc {
  margin-top: 0.125rem;
  color: rgb(255 255 255 / 55%);
  font-size: 0.8125rem;
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  color: #fff;
  background: var(--blue-900);
  border-top: 1px solid var(--line-on-dark);
  transition: max-height 0.3s ease;
}

.mobile-menu.open {
  max-height: 80vh;
  overflow-y: auto;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 1280px;
  padding: 0.75rem 1.25rem 1.25rem;
  margin: 0 auto;
}

.mobile-accordion-item {
  border-bottom: 1px solid var(--line-on-dark);
}

.mobile-accordion-item:last-of-type {
  border-bottom: 0;
}

.mobile-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 0.25rem;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.mobile-submenu {
  max-height: 0;
  padding-left: 0.5rem;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.mobile-submenu.open {
  max-height: 20rem;
  padding-bottom: 0.5rem;
}

.mobile-submenu a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: rgb(255 255 255 / 60%);
  font-size: 0.875rem;
}

.mobile-submenu a:hover {
  color: var(--orange-300);
}

.mobile-menu-footer-link {
  padding: 0.75rem 0.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.mobile-menu-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.mobile-btn-outline,
.mobile-btn-solid {
  flex: 1;
  padding: 0.625rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  border-radius: 9999px;
}

.mobile-btn-outline {
  color: #fff;
  border: 1px solid rgb(255 255 255 / 25%);
}

.mobile-btn-solid {
  color: #1a1a1a;
  font-weight: 700;
  background: var(--orange-400);
}

.site-footer {
  width: 100%;
  padding: 3rem 0 1.5rem;
  color: #fff;
  background: var(--blue-900);
}

.footer-container {
  max-width: 1280px;
  padding: 0 1.25rem;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.footer-brand {
  grid-column: span 2;
}

.footer-brand img {
  width: auto;
  height: 2.25rem;
  margin-bottom: 0.75rem;
}

.footer-brand .tagline {
  max-width: 20rem;
  margin-bottom: 1rem;
  color: rgb(255 255 255 / 55%);
  font-size: 0.8125rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: rgb(255 255 255 / 70%);
  font-size: 0.8125rem;
}

.footer-social a:hover,
.footer-contact a:hover,
.footer-links a:hover {
  color: var(--orange-300);
}

.footer-col h2 {
  margin: 0 0 0.9rem;
  color: rgb(255 255 255 / 90%);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-contact,
.footer-links,
.footer-payment-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: rgb(255 255 255 / 75%);
  font-size: 0.875rem;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.75rem;
  color: rgb(255 255 255 / 45%);
  font-size: 0.8125rem;
}

.footer-payment-list {
  margin: 0 0 0.75rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-badges span {
  padding: 0.25rem 0.625rem;
  color: rgb(255 255 255 / 70%);
  font-size: 0.75rem;
  background: rgb(255 255 255 / 8%);
  border-radius: 0.25rem;
}

.footer-bottom {
  padding: 1.5rem 1.25rem 0;
  margin-top: 2.5rem;
  color: rgb(255 255 255 / 40%);
  font-size: 0.75rem;
  text-align: center;
  border-top: 1px solid var(--line-on-dark);
}

.footer-bottom a {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }
}

@media (min-width: 1024px) {
  .navbar-row {
    padding: 0 2rem;
  }

  .desktop-links,
  .navbar-right {
    display: flex;
  }

  .mobile-toggle,
  .mobile-menu {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   Legal pages
   ========================================================= */
.legal-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #fff;
}

.legal-content {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  padding: 4rem 1rem;
  margin: 0 auto;
  color: #374151;
  line-height: 1.75;
}

.legal-content h1 {
  margin: 0 0 1.5rem;
  color: #111827;
  font-size: clamp(2rem, 5vw, 2.5rem);
  line-height: 1.2;
}

.legal-content h2 {
  margin: 2rem 0 0.75rem;
  color: #111827;
  font-size: clamp(1.35rem, 3vw, 1.5rem);
  line-height: 1.3;
}

.legal-content p {
  margin: 0 0 1rem;
}

.legal-content ul {
  padding-left: 1.5rem;
  margin: 0 0 1rem;
  list-style: disc;
}

.legal-content li + li {
  margin-top: 0.5rem;
}

.legal-content a {
  color: #2563eb;
  font-weight: 500;
}

.legal-content a:hover {
  text-decoration: underline;
}

.animated-grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background-image:
    linear-gradient(rgb(37 99 235 / 8%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(37 99 235 / 8%) 1px, transparent 1px);
  background-position: 0 0;
  background-size: 3rem 3rem;
  mask-image: linear-gradient(to bottom, rgb(0 0 0 / 90%), transparent 92%);
  animation: legal-grid-drift 18s linear infinite;
}

.animated-grid-glow {
  position: absolute;
  width: 28rem;
  height: 28rem;
  background: rgb(59 130 246 / 10%);
  border-radius: 50%;
  filter: blur(70px);
  animation: legal-glow-float 12s ease-in-out infinite alternate;
}

.animated-grid-glow-one {
  top: -12rem;
  left: -8rem;
}

.animated-grid-glow-two {
  right: -10rem;
  bottom: 5%;
  background: rgb(99 102 241 / 8%);
  animation-delay: -5s;
}

@keyframes legal-grid-drift {
  to { background-position: 3rem 3rem; }
}

@keyframes legal-glow-float {
  from { transform: translate3d(0, 0, 0) scale(0.95); }
  to { transform: translate3d(3rem, 2rem, 0) scale(1.08); }
}

@media (min-width: 640px) {
  .legal-content {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .legal-content {
    padding-right: 2rem;
    padding-left: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animated-grid,
  .animated-grid-glow {
    animation: none;
  }
}

/* =========================================================
   Homepage
   ========================================================= */
.home-page {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(#f9fafb, #fff);
}

.home-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  margin-right: auto;
  margin-left: auto;
}

.hero-section {
  position: relative;
  width: 100%;
  min-height: 38rem;
  overflow: hidden;
}

.hero-backgrounds,
.hero-background,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-background.active {
  opacity: 1;
}

.hero-overlay {
  background:
    linear-gradient(to bottom, transparent, rgb(15 23 42 / 20%), rgb(15 23 42 / 10%)),
    linear-gradient(135deg, rgb(15 23 42), rgb(49 46 129 / 30%), rgb(15 23 42 / 35%));
}

.hero-content {
  display: grid;
  align-items: center;
  min-height: 38rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero-copy {
  max-width: 42rem;
}

.hero-copy h1 {
  max-width: 42rem;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
}

.hero-copy > p {
  max-width: 36rem;
  margin: 1.25rem 0 0;
  color: #d1d5db;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
}

.hero-actions,
.developer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  transition: color 0.2s ease, background 0.2s ease, border 0.2s ease, transform 0.2s ease;
}

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

.button-primary {
  color: #fff;
  background: #4f46e5;
  box-shadow: 0 10px 25px -8px rgb(99 102 241 / 70%);
}

.button-primary:hover {
  background: #4338ca;
}

.button-outline-light {
  color: #fff;
  background: rgb(255 255 255 / 3%);
  border-width: 2px;
  border-color: #fff;
  backdrop-filter: blur(4px);
}

.button-outline-light:hover {
  background: rgb(255 255 255 / 12%);
}

.hero-stats,
.hero-stat-with-avatars,
.hero-stat {
  display: flex;
  align-items: center;
}

.hero-stats {
  gap: 1rem;
  padding-top: 1.5rem;
}

.hero-stat-with-avatars {
  gap: 0.75rem;
}

.hero-stat,
.hero-stat-with-avatars > div:last-child {
  flex-direction: column;
  align-items: flex-start;
}

.hero-stat strong,
.hero-stat-with-avatars strong {
  color: #fff;
  font-size: 1.1rem;
}

.hero-stat span,
.hero-stat-with-avatars span:not(.avatar) {
  color: #9ca3af;
  font-size: 0.75rem;
}

.hero-stat-divider {
  width: 1px;
  height: 2.5rem;
  background: #374151;
}

.avatar-stack {
  display: flex;
}

.avatar {
  width: 2rem;
  height: 2rem;
  margin-left: -0.45rem;
  border: 2px solid #1e293b;
  border-radius: 50%;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar-blue { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.avatar-green { background: linear-gradient(135deg, #4ade80, #16a34a); }
.avatar-purple { background: linear-gradient(135deg, #c084fc, #9333ea); }

.hero-cards {
  position: relative;
  display: none;
  height: 31.25rem;
}

.isometric-card {
  position: absolute;
  color: #fff;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 45%);
  animation: float-fall 6s ease-in-out var(--float-delay) infinite alternate;
}

.isometric-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgb(255 255 255 / 10%);
  border-radius: inherit;
  backdrop-filter: blur(4px);
}

.dashboard-card {
  top: 0;
  right: 0;
  width: 20rem;
  height: 13rem;
  background: linear-gradient(135deg, #3b82f6, #2563eb, #1d4ed8);
}

.success-card {
  top: 6rem;
  right: 8rem;
  width: 18rem;
  height: 12rem;
  background: linear-gradient(135deg, #22c55e, #16a34a, #15803d);
}

.payout-card {
  right: 4rem;
  bottom: 0;
  width: 16rem;
  height: 11rem;
  background: linear-gradient(135deg, #fb923c, #f97316, #ea580c);
}

.glass-card-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 1.5rem;
}

.card-topline,
.card-topline > span,
.card-metrics > div {
  display: flex;
  align-items: center;
}

.card-topline {
  justify-content: space-between;
  color: rgb(255 255 255 / 80%);
  font-size: 0.875rem;
  font-weight: 500;
}

.card-icon {
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: #fff;
  background: rgb(255 255 255 / 20%);
  border-radius: 0.5rem;
  backdrop-filter: blur(8px);
}

.card-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.card-status {
  padding: 0.25rem 0.5rem;
  color: #fff;
  background: rgb(255 255 255 / 20%);
  border-radius: 0.25rem;
}

.card-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: rgb(255 255 255 / 80%);
  font-size: 0.875rem;
}

.card-metrics > div {
  justify-content: space-between;
  color: #fff;
}

.card-value {
  color: #fff;
  font-size: 1.5rem;
}

.card-value-small {
  font-size: 1.25rem;
}

.metric-line {
  display: block;
  height: 0.5rem;
  background: rgb(255 255 255 / 30%);
  border-radius: 9999px;
}

.metric-line-50 { width: 50%; }
.metric-line-60 { width: 60%; }
.metric-line-75 { width: 75%; }
.metric-line-80 { width: 80%; }
.metric-line-85 { width: 85%; }

.floating-orb {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgb(0 0 0 / 25%);
  animation: soft-pulse 2s ease-in-out infinite;
}

.floating-orb-purple {
  top: 2.5rem;
  left: 2.5rem;
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #c084fc, #9333ea);
}

.floating-orb-orange {
  bottom: 5rem;
  left: 0;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #fdba74, #fb923c);
  animation-delay: 0.15s;
}

@keyframes float-fall {
  0% { opacity: 0; transform: translateY(-2rem) rotate(var(--rotate-start)); }
  20% { opacity: 1; }
  55% { transform: translateY(0) rotate(var(--rotate-mid)); }
  100% { opacity: 1; transform: translateY(0.75rem) rotate(var(--rotate-end)); }
}

@keyframes soft-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.78; }
}

.needs-section,
.how-section,
.products-section,
.developers-section,
.why-section {
  width: 100%;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.needs-section {
  background: linear-gradient(#fff, #f9fafb);
}

.section-heading {
  max-width: 42rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-heading h2,
.why-section h2 {
  margin: 0 0 0.75rem;
  color: #111827;
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  line-height: 1.2;
}

.section-heading p {
  margin: 0;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.6;
}

.needs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.need-card {
  display: flex;
  aspect-ratio: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  color: #fff;
  text-align: center;
  background: #1d4ed8;
  border: 2px solid #3b82f6;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgb(30 64 175 / 18%);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.need-card:hover {
  box-shadow: 0 25px 40px rgb(30 64 175 / 28%);
  transform: translateY(-0.5rem);
}

.need-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.5rem;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.need-card:hover .need-icon {
  transform: scale(1.1);
}

.need-icon svg {
  width: 1rem;
  height: 1rem;
}

.need-icon-blue { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.need-icon-orange { background: linear-gradient(135deg, #fb923c, #f97316); }
.need-icon-green { background: linear-gradient(135deg, #4ade80, #22c55e); }
.need-icon-purple { background: linear-gradient(135deg, #c084fc, #a855f7); }

.need-card h3 {
  margin: 0;
  font-size: clamp(0.72rem, 2.6vw, 1rem);
}

.need-card p {
  display: none;
  margin: 0.5rem 0;
  color: #dbeafe;
  font-size: 0.75rem;
}

.need-card a {
  display: none;
  align-items: center;
  color: #bfdbfe;
  font-size: 0.75rem;
  font-weight: 600;
}

.how-section {
  background: #fdba74;
}

.steps-grid {
  display: grid;
  gap: 2rem;
}

.step-card {
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  background: #111827;
  border-radius: 50%;
}

.step-card h3 {
  margin: 0 0 0.75rem;
  color: #111827;
  font-size: 1.2rem;
}

.step-card p {
  max-width: 25rem;
  margin: 0 auto;
  color: #4b5563;
  line-height: 1.6;
}

.products-section {
  position: relative;
  background: url("/static/images/paymentsbg1.jpg") center / cover no-repeat;
}

.products-overlay {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 18%);
  backdrop-filter: blur(3px);
}

.section-heading-light h2 {
  color: #fff;
}

.section-heading-light p {
  color: #e5e7eb;
}

.products-grid {
  display: grid;
  gap: 1rem;
}

.product-card {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #f3f4f6;
  box-shadow: 0 10px 20px rgb(0 0 0 / 14%);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 20px 35px rgb(0 0 0 / 20%);
  transform: translateY(-0.2rem);
}

.product-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.25rem;
  color: #2563eb;
  background: #dbeafe;
  transition: transform 0.2s ease;
}

.product-card:hover .product-icon {
  transform: scale(1.1);
}

.product-card h3 {
  margin: 0 0 0.75rem;
  color: #111827;
  font-size: 1.2rem;
}

.product-card > p {
  margin: 0 0 1rem;
  color: #4b5563;
  line-height: 1.6;
}

.product-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.product-card li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #4b5563;
  font-size: 0.875rem;
}

.product-card li svg {
  flex-shrink: 0;
  color: #16a34a;
}

.product-card > a {
  color: #2563eb;
  font-weight: 600;
}

.developers-section {
  color: #fff;
  background: linear-gradient(135deg, #111827, #1f2937, #111827);
}

.developers-grid {
  display: grid;
  align-items: center;
  gap: 3rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  color: #60a5fa;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgb(59 130 246 / 10%);
  border: 1px solid rgb(59 130 246 / 20%);
  border-radius: 9999px;
}

.developers-copy h2 {
  margin: 1rem 0;
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.15;
}

.developers-copy > p {
  margin: 0;
  color: #d1d5db;
  font-size: 1.05rem;
  line-height: 1.7;
}

.developer-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.developer-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #e5e7eb;
}

.developer-benefits svg {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: #4ade80;
}

.button-docs-primary {
  color: #fff;
  background: #2563eb;
  box-shadow: 0 10px 20px rgb(37 99 235 / 20%);
}

.button-docs-primary:hover {
  background: #1d4ed8;
}

.button-docs-outline {
  color: #fff;
  border-color: #4b5563;
}

.button-docs-outline:hover {
  background: #1f2937;
}

.api-terminal {
  position: relative;
  display: none;
  overflow: visible;
  background: #030712;
  border: 1px solid #374151;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px rgb(0 0 0 / 35%);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  color: #9ca3af;
  font-size: 0.875rem;
  background: #1f2937;
  border-bottom: 1px solid #374151;
  border-radius: 0.75rem 0.75rem 0 0;
}

.terminal-dots {
  display: flex;
  gap: 0.5rem;
}

.terminal-dots i {
  width: 0.75rem;
  height: 0.75rem;
  background: #ef4444;
  border-radius: 50%;
}

.terminal-dots i:nth-child(2) { background: #fdba74; }
.terminal-dots i:nth-child(3) { background: #22c55e; }

.terminal-code {
  padding: 1.5rem;
  margin: 0;
  overflow-x: auto;
  color: #d1d5db;
  font: 0.78rem/1.7 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.code-comment { color: #6b7280; }
.code-purple { color: #c084fc; }
.code-orange { color: #fdba74; }
.code-green { color: #4ade80; }
.code-blue { color: #60a5fa; }

.success-badge {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  background: #22c55e;
  border-radius: 9999px;
  box-shadow: 0 10px 20px rgb(0 0 0 / 20%);
}

.why-section {
  background: #fff;
}

.why-section h2 {
  margin-bottom: 3rem;
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.why-card {
  text-align: center;
}

.why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
}

.why-icon-blue { color: #2563eb; background: #dbeafe; }
.why-icon-green { color: #16a34a; background: #dcfce7; }
.why-icon-purple { color: #9333ea; background: #f3e8ff; }
.why-icon-orange { color: #ea580c; background: #ffedd5; }

.why-card h3 {
  margin: 0 0 0.5rem;
  color: #111827;
  font-size: 1rem;
}

.why-card p {
  margin: 0;
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.55;
}

/* IntersectionObserver states. Content remains visible if JavaScript fails. */
.has-home-animations [data-reveal] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: 0ms;
}

.has-home-animations [data-reveal="slide-up"] { transform: translateY(2.5rem); }
.has-home-animations [data-reveal="scale"] { transform: scale(0.75); }
.has-home-animations [data-reveal="left"] { transform: translateX(-5rem); }
.has-home-animations [data-reveal="right"] { transform: translateX(5rem); }
.has-home-animations [data-reveal="up"] { transform: translateY(2.5rem); }
.has-home-animations [data-reveal="bounce"] { transform: translateY(5rem); }

.has-home-animations .reveal-section.is-visible [data-reveal] {
  opacity: 1;
  transform: none;
  transition-delay: var(--reveal-delay, 0ms);
}

.has-home-animations .reveal-section.is-visible [data-reveal="bounce"] {
  animation: bounce-drop 0.8s cubic-bezier(0.22, 1.35, 0.36, 1) var(--reveal-delay, 0ms) both;
}

@keyframes bounce-drop {
  0% { opacity: 0; transform: translateY(-5rem) scale(0.9); }
  65% { opacity: 1; transform: translateY(0.75rem) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (min-width: 640px) {
  .home-container {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }

  .button {
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
  }

  .hero-stats {
    gap: 2rem;
  }

  .avatar {
    width: 2.5rem;
    height: 2.5rem;
  }

  .hero-stat strong,
  .hero-stat-with-avatars strong {
    font-size: 1.25rem;
  }

  .need-card {
    padding: 1.5rem;
  }

  .need-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.75rem;
  }

  .need-icon svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .need-card p,
  .need-card a {
    display: flex;
  }
}

@media (min-width: 768px) {
  .steps-grid,
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .api-terminal {
    display: block;
  }
}

@media (min-width: 1024px) {
  .home-container {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .hero-content,
  .developers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
  }

  .hero-content {
    min-height: 43rem;
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .hero-cards {
    display: block;
  }

  .needs-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .need-card {
    padding: 2.5rem;
  }

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

@media (prefers-color-scheme: dark) {
  .home-page,
  .needs-section,
  .why-section {
    background: #0f172a;
  }

  .section-heading h2,
  .why-section h2,
  .why-card h3 {
    color: #fff;
  }

  .section-heading p,
  .why-card p {
    color: #cbd5e1;
  }

  .how-section {
    background: rgb(251 146 60 / 12%);
  }

  .step-number {
    background: #f97316;
  }

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

  .step-card p {
    color: #cbd5e1;
  }

  .products-overlay {
    background: rgb(0 0 0 / 42%);
  }

  .product-card {
    background: #1e293b;
    border-color: #334155;
  }

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

  .product-card > p,
  .product-card li {
    color: #cbd5e1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .isometric-card,
  .floating-orb,
  .has-home-animations .reveal-section.is-visible [data-reveal="bounce"] {
    animation: none;
  }

  .hero-background {
    transition: none;
  }

  .has-home-animations [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
