/* Custom Gigstack Styles */
/* Geist Font for Headings */
@import url('https://fonts.cdnfonts.com/css/geist');

/* =================================
   SMOOTH PAGE TRANSITIONS
   ================================= */

/* Page fade-in on load */
body {
  animation: pageLoad 0.4s ease-out;
}

@keyframes pageLoad {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Link transition class for page navigation */
.page-transition {
  animation: pageFadeOut 0.3s ease-in forwards;
}

@keyframes pageFadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Apply Geist to all headings */
h1, h2, h3, h4, h5, h6,
.heading-style-h1,
.heading-style-h2,
.heading-style-h3,
.h3-heading-17,
.h2-heading-2,
.ps-title,
.hero-heading,
.section-title {
  font-family: 'Geist', sans-serif !important;
}

/* =================================
   ANIMATIONS - Design System
   ================================= */

/* Fade Up Animation */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Delays */
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }
.fade-up-delay-6 { transition-delay: 0.6s; }
.fade-up-delay-7 { transition-delay: 0.7s; }
.fade-up-delay-8 { transition-delay: 0.8s; }

/* =================================
   HOW IT WORKS - Step Animations
   ================================= */

/* Step 1: Link Icon Animation */
@keyframes linkPulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.1) rotate(-5deg); }
  50% { transform: scale(1) rotate(0deg); }
  75% { transform: scale(1.1) rotate(5deg); }
}

.how-link-icon {
  animation: linkPulse 2s ease-in-out infinite;
  transform-origin: center;
}

/* Step 2: Toggle Animation */
@keyframes toggleSwitch {
  0%, 30% { background: #f5f5f5; }
  40%, 90% { background: #044737; }
  100% { background: #f5f5f5; }
}

@keyframes toggleKnob {
  0%, 30% { transform: translateX(0); }
  40%, 90% { transform: translateX(12px); }
  100% { transform: translateX(0); }
}

.how-config-toggle.animated {
  animation: toggleSwitch 3s ease-in-out infinite;
}

.how-config-toggle.animated::after {
  animation: toggleKnob 3s ease-in-out infinite;
}

.how-config-toggle.animated.delay-1 {
  animation-delay: 0.5s;
}
.how-config-toggle.animated.delay-1::after {
  animation-delay: 0.5s;
}

.how-config-toggle.animated.delay-2 {
  animation-delay: 1s;
}
.how-config-toggle.animated.delay-2::after {
  animation-delay: 1s;
}

/* Step 3: Check Animation */
@keyframes checkPop {
  0%, 20% { transform: scale(0); opacity: 0; }
  30% { transform: scale(1.2); opacity: 1; }
  40%, 75% { transform: scale(1); opacity: 1; }
  85% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0); opacity: 0; }
}

.how-payment-check.animated {
  animation: checkPop 3s ease-in-out infinite;
}

.how-payment-check.animated svg {
  stroke: #1a1a1a;
}

/* Step 4: CFDI Stamp Animation */
@keyframes stampPop {
  0%, 15% { transform: scale(0) rotate(-10deg); opacity: 0; }
  25% { transform: scale(1.15) rotate(0deg); opacity: 1; }
  35%, 70% { transform: scale(1) rotate(0deg); opacity: 1; }
  80% { transform: scale(1.05) rotate(0deg); opacity: 1; }
  95%, 100% { transform: scale(0) rotate(10deg); opacity: 0; }
}

.how-invoice-stamp.animated {
  background: #cef17b;
  color: #044737;
  animation: stampPop 4s ease-in-out infinite;
}

.how-invoice-stamp.animated svg {
  stroke: #044737;
}

/* Tag Styles - Light Background */
.hero-tag,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Geist Mono', monospace;
  background: #fff;
  color: #1a1a1a;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 12px;
  border: 1px solid #e5e5e5;
  letter-spacing: -0.01em;
}

/* Tag Link */
a.tag-link {
  text-decoration: none;
  transition: all 0.2s ease;
}

a.tag-link:hover {
  background: #f5f5f5;
}

/* Tag Styles - Dark Background */
.hero-tag-dark,
.section-tag-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Geist Mono', monospace;
  background: #2a2a2a;
  color: #fff;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 12px;
  border: none;
  letter-spacing: -0.01em;
}

/* Eyebrow/Label styles for existing Webflow classes */
.eyebrow-wrapper,
.eyebrow-label {
  font-family: 'Geist Mono', monospace !important;
}

/* Ensure Inter for body text */
body,
p,
.text-size-medium,
.text-size-medium-3,
.paragraph-regular-4 {
  font-family: 'Inter', sans-serif;
}

/* Russo One for logo */
.text-block-100 {
  font-family: 'Russo One', sans-serif !important;
}

/* ==================== PRIMARY BUTTON ==================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  color: #fff !important;
  padding: 10px 16px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  width: fit-content;
  line-height: 1.4;
}

.btn-primary:hover {
  background: #000;
  color: #fff !important;
}

/* Button size variations */
.btn-primary.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

.btn-primary.btn-lg {
  padding: 18px 36px;
  font-size: 16px;
}

/* Button style variations */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: #141414 !important;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #e5e5e5;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #f5f5f5;
  border-color: #d5d5d5;
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: #141414 !important;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #141414;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: #141414;
  color: #fff !important;
  transform: translateY(-2px);
}

/* Sticky Navigation */
.navigation-component {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  background: #fff !important;
  transition: box-shadow 0.3s ease, padding 0.3s ease !important;
  box-shadow: none !important;
}

.navigation-component .navigation-5 {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}

.navigation-component.scrolled {
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08) !important;
}

/* Hero Section Styles - Match Colombia */
.hero-section.hero {
  background: #fafafa !important;
  padding-top: 60px !important;
  padding-bottom: 40px !important;
}

.hero---container {
  padding-top: 0 !important;
}

/* Remove shadow/background from dashboard image */
.hero_image-main-2.shadow,
.hero_image-main-2 {
  box-shadow: none !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
}

.hero_image-wrapper-3 {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  margin-top: -20px !important;
  padding-bottom: 120px !important;
  transform: perspective(1000px) rotateX(25deg) scale(0.6);
  transform-origin: center top;
  transition: transform 0.1s ease-out;
  position: relative;
}

.hero_image-wrapper-3 img {
  border-radius: 24px !important;
}

.hero_image-wrapper-3::after {
  content: '';
  position: absolute;
  bottom: 120px;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, transparent 0%, #f5f5f5 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease-out;
  border-radius: 0 0 24px 24px;
}

.hero_image-wrapper-3.grown::after {
  opacity: 1;
}

.hero_image-wrapper-3.grown {
  transform: perspective(1000px) rotateX(0deg) scale(1.1);
}

.hero-heading {
  font-family: 'Geist', sans-serif !important;
  font-size: 65px !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  color: #111 !important;
  letter-spacing: -0.02em !important;
}

.hero_content.hero .text-size-medium-3 {
  color: #666 !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
  margin-top: 20px !important;
  text-align: center !important;
}

.hero_content.hero .max-width-medium {
  margin-left: auto !important;
  margin-right: auto !important;
}

.hero_content.hero .max-width-medium {
  margin-top: 0 !important;
}

.hero_content.hero .spacer-large {
  margin-top: 28px !important;
  display: flex !important;
  justify-content: center !important;
  gap: 12px !important;
}

/* Section headings to match Colombia style */
.h3-heading-17.hero-heading,
.h2-heading-33.hero-heading {
  font-family: 'Geist', sans-serif !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
}

.h3-heading-17.hero-heading.small {
  font-size: 42px !important;
}

/* Subtitle text colors */
.text-size-medium-3 {
  color: #666;
  line-height: 1.6;
}

/* Logo section background */
.logos_testimonials {
  background: #fafafa !important;
  padding-bottom: 40px !important;
}

/* Hide sections below logos (temporary) */
.funcionalidades,
.section-regular-44,
.section-large-31._2,
.section-10,
.logo-section,
.section-regular-43,
.section-large-31,
.carrusel,
.section-large-50 {
  display: none !important;
}

/* ==================== FEATURES GRID SECTION ==================== */
.features-grid-section {
  background: #fff;
  padding: 80px 24px;
}

.features-grid-container {
  max-width: 1200px;
  margin: 0 auto;
}

.features-grid-header {
  text-align: center;
  margin-bottom: 48px;
}

.features-grid-title {
  font-family: 'Geist', sans-serif !important;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.15;
  color: #111;
  margin: 0;
  letter-spacing: -0.02em;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.feature-card {
  background: #fafafa;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  border: 1px solid #ebebeb;
}

/* Featured card - spans full width */
.feature-card.featured {
  grid-column: 1 / -1;
  flex-direction: row;
  min-height: 320px;
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  border: 2px solid #e5e5e5;
}

.feature-card.featured .feature-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 40px;
}

.feature-card.featured .feature-card-visual {
  flex: 1.2;
  margin-top: 0;
  height: auto;
  min-height: 260px;
}

.feature-card-content {
  flex: 0 0 auto;
}

.feature-card-title {
  font-family: 'Geist', sans-serif !important;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  color: #111;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
  min-height: 62px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.feature-card-description {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  margin: 0 0 24px 0;
}

.feature-card-visual {
  margin-top: auto;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #e5e5e5;
  height: 180px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

/* Feature Card Visual Variants */
.feature-card-visual.invoice-visual {
  padding: 0;
  overflow: hidden;
}

.invoice-preview {
  background: #fff;
  padding: 20px;
  height: 100%;
}

.invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.invoice-logo {
  width: 32px;
  height: 32px;
  background: #1a1a1a;
  border-radius: 6px;
}

.invoice-badge {
  background: #cef17b;
  color: #044737;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}

.invoice-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13px;
  color: #666;
  border-bottom: 1px dashed #f0f0f0;
}

.invoice-row:last-child {
  border-bottom: none;
  font-weight: 600;
  color: #111;
}

.invoice-row span:first-child {
  color: #999;
}

/* Portal Visual */
.portal-visual {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.portal-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
}

.portal-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  color: #044737;
  justify-content: center;
  font-size: 16px;
}

.portal-icon.blue { background: #f4f7f2; }
.portal-icon.green { background: #ceedb2; }
.portal-icon.purple { background: #cef17b; }

.portal-text {
  font-size: 13px;
  font-weight: 500;
  color: #333;
}

.portal-text span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #888;
  margin-top: 2px;
}

/* Conciliation Visual */
.conciliation-visual {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.conciliation-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
}

.conciliation-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  color: #044737;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.conciliation-icon.income { background: #ceedb2; }
.conciliation-icon.sat { background: #f4f7f2; }
.conciliation-icon.match { background: #cef17b; }

.conciliation-text {
  flex: 1;
  font-size: 12px;
  color: #666;
}

.conciliation-amount {
  font-size: 12px;
  font-weight: 600;
  color: #111;
}

.conciliation-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: #cef17b;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #044737;
  margin-top: 4px;
}

/* Gray Theme Styles - Clean UI Mockups */
.invoice-badge-gray {
  background: #f0f0f0;
  color: #333;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.invoice-row.total {
  background: #f8f8f8;
  margin: 8px -20px -20px -20px;
  padding: 12px 20px;
  border-bottom: none;
}

/* Portal Gray Theme - Compact */
.portal-visual-compact {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
}

.portal-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #f5f5f5;
  border-radius: 8px;
  margin-bottom: 12px;
  color: #999;
  font-size: 12px;
}

.portal-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.portal-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.portal-list-item:last-child {
  border-bottom: none;
}

.portal-list-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.portal-list-icon {
  width: 24px;
  height: 24px;
  background: #f5f5f5;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.portal-list-name {
  font-size: 12px;
  font-weight: 500;
  color: #333;
}

.portal-list-tag {
  font-size: 10px;
  color: #999;
  background: #f5f5f5;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Conciliation Gray Theme */
.conciliation-visual-gray {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.conciliation-row-gray {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
}

.conciliation-icon-gray {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  color: #666;
  flex-shrink: 0;
}

.conciliation-label {
  flex: 1;
  font-size: 12px;
  color: #666;
}

.conciliation-value {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.conciliation-match {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  background: #f5f5f5;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #333;
  margin-top: 4px;
}

/* Featured Card Visual - Dashboard Mockup */
.featured-visual {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  height: 100%;
}

.featured-mockup {
  display: flex;
  height: 100%;
}

.mockup-sidebar {
  width: 140px;
  background: #fafafa;
  border-right: 1px solid #eee;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
}

.sidebar-item.active {
  background: #fff;
  color: #111;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.mockup-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.mockup-title {
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

.mockup-badge-accent {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #cef17b;
  color: #044737;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}

.mockup-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup-row {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  background: #fafafa;
  border-radius: 8px;
  gap: 12px;
}

.row-doc {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #333;
}

.row-amount {
  font-size: 12px;
  font-weight: 600;
  color: #111;
  min-width: 70px;
  text-align: right;
}

.row-status {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.row-status.success {
  background: #cef17b;
  color: #044737;
}

/* Responsive */
@media (max-width: 991px) {
  .features-grid-title {
    font-size: 36px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    min-height: auto;
    padding: 28px;
  }

  .feature-card.featured {
    flex-direction: column;
  }

  .feature-card.featured .feature-card-content {
    padding-right: 0;
    padding-bottom: 24px;
  }

  .feature-card.featured .feature-card-visual {
    min-height: 280px;
  }

  .feature-card-title {
    font-size: 24px;
    min-height: auto;
  }

  .mockup-sidebar {
    width: 120px;
    padding: 12px 8px;
  }

  .sidebar-item {
    font-size: 11px;
    padding: 8px 10px;
  }
}

@media (max-width: 767px) {
  .features-grid-section {
    padding: 60px 16px;
  }

  .features-grid-header {
    margin-bottom: 32px;
  }

  .features-grid-title {
    font-size: 28px;
  }

  .feature-card {
    padding: 24px;
  }

  .feature-card-title {
    font-size: 22px;
  }

  .feature-card-visual {
    min-height: 160px;
  }

  .feature-card.featured .feature-card-visual {
    min-height: 240px;
  }

  .mockup-sidebar {
    display: none;
  }

  .mockup-content {
    padding: 16px;
  }

  .mockup-row {
    padding: 10px 12px;
  }

  .row-doc {
    font-size: 11px;
  }

  .row-amount {
    font-size: 11px;
    min-width: 60px;
  }
}

/* ==================== STACKING CARDS SECTION ==================== */
.stacking-cards-section {
  padding: 40px 24px 80px;
  margin-top: 80px;
  background: #fff;
}

.stacking-cards-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.stack-card {
  background: #fafafa;
  border-radius: 24px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 500px;
  border: 1px solid #f0f0f0;
  /* Sticky stacking effect */
  position: sticky;
  top: 100px;
  margin-bottom: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Stacking order with z-index and slight scale reduction */
.stack-card:nth-child(1) {
  z-index: 1;
}

.stack-card:nth-child(2) {
  z-index: 2;
}

.stack-card:nth-child(3) {
  z-index: 3;
}

.stack-card:nth-child(4) {
  z-index: 4;
}

.stack-card-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stack-card-tag {
  display: inline-block;
  font-family: 'Geist Mono', monospace;
  background: #fff;
  color: #1a1a1a;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #e5e5e5;
  width: fit-content;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stack-card-title {
  font-family: 'Geist', sans-serif !important;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.1;
  color: #111;
  letter-spacing: -0.02em;
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}

.stack-card-description {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  max-width: 420px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}

.stack-card-content .btn-primary {
  margin-top: 8px;
  width: fit-content !important;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
}

/* Animate in when card is in view */
.stack-card.in-view .stack-card-tag,
.stack-card.in-view .stack-card-title,
.stack-card.in-view .stack-card-description,
.stack-card.in-view .stack-card-content .btn-primary {
  opacity: 1;
  transform: translateY(0);
}

/* Card Visual/Animation Area */
.stack-card-visual {
  background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
  border-radius: 20px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Visual variations */
.stack-card-visual.green-gradient {
  background: linear-gradient(135deg, #f4f7f2 0%, #ceedb2 100%);
}

.stack-card-visual.blue-gradient {
  background: linear-gradient(135deg, #f4f7f2 0%, #ceedb2 100%);
}

.stack-card-visual.purple-gradient {
  background: linear-gradient(135deg, #ceedb2 0%, #cef17b 100%);
}

/* Gray Theme Visual - Clean UI Mockups */
.stack-card-visual.gray-theme {
  background: #fff;
  padding: 30px;
  border: 1px solid #e5e5e5;
}

.stack-visual-mockup {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Invoice Mockup */
.mockup-invoice {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.mockup-invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.mockup-logo {
  width: 32px;
  height: 32px;
  background: #1a1a1a;
  border-radius: 6px;
}

.mockup-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f5f5f5;
  color: #333;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 100px;
}

.mockup-invoice-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 13px;
  color: #666;
  border-bottom: 1px dashed #f0f0f0;
}

.mockup-invoice-row:last-child {
  border-bottom: none;
}

.mockup-invoice-row span:first-child {
  color: #999;
}

.mockup-invoice-row span:last-child {
  font-weight: 500;
  color: #333;
}

.mockup-invoice-row.total {
  background: #fafafa;
  margin: 12px -24px -24px -24px;
  padding: 16px 24px;
  border-radius: 0 0 12px 12px;
  border-bottom: none;
}

.mockup-invoice-row.total span:last-child {
  font-weight: 600;
  color: #111;
}

/* Transaction Carousel Animation - Mexico */
.stack-card-visual.no-padding {
  padding: 0;
  border: none;
}

.transaction-carousel {
  width: 90%;
  height: 90%;
  overflow: hidden;
  position: relative;
  min-height: 280px;
  background: #fff;
  border-radius: 16px;
  border: none;
  margin: 5%;
}

.transaction-track {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s ease;
}

.transaction-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  margin: 5px 0;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.4s ease;
  opacity: 0.4;
  transform: scale(1);
}

.transaction-item.active {
  opacity: 1;
}

.tx-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.tx-icon svg {
  width: 16px;
  height: 16px;
}

.tx-icon.pending {
  background: #f3f4f6;
  color: #9ca3af;
}

.tx-icon.success {
  background: #e5e5e5;
  color: #333;
}

.tx-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tx-name {
  font-size: 13px;
  font-weight: 500;
  color: #111;
}

.tx-amount {
  font-size: 12px;
  color: #888;
}

.tx-status {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tx-status.pending {
  background: #f3f4f6;
  color: #6b7280;
}

.tx-status.success {
  background: #cef17b;
  color: #044737;
}

/* Portal Animation */
.portal-animation-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: #fff;
  border-radius: 16px;
  margin: 5%;
  width: 90%;
  height: 90%;
  box-sizing: border-box;
  position: relative;
}

.portal-screen {
  width: 400px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  overflow: hidden;
  border: 1px solid #e5e5e5;
}

.portal-browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}

.browser-dots {
  display: flex;
  gap: 4px;
}

.browser-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ddd;
}

.browser-url-bar {
  font-size: 9px;
  color: #999;
  background: #f0f0f0;
  padding: 3px 8px;
  border-radius: 4px;
  flex: 1;
}

.portal-body {
  padding: 20px 16px;
  text-align: center;
}

.portal-logo-area {
  width: 36px;
  height: 36px;
  background: #e5e5e5;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #888;
}

.portal-welcome {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  margin: 0 0 16px;
}

.portal-form-area {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-input-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.form-input-row.double {
  flex-direction: row;
  gap: 10px;
}

.form-input-half {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.input-label {
  font-size: 9px;
  color: #888;
  font-weight: 500;
}

.input-field {
  width: 100%;
  height: 28px;
  background: #f8f9fa;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 0 8px;
  font-size: 10px;
  color: #333;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.input-field .typing-text {
  font-family: 'Geist Mono', monospace;
}

.input-field .cursor {
  animation: blink 1s infinite;
  color: #044737;
  font-weight: 300;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.input-placeholder {
  width: 100%;
  height: 32px;
  background: #f5f5f5;
  border-radius: 6px;
}

.btn-placeholder {
  width: 100%;
  height: 36px;
  background: #e0e0e0;
  border-radius: 6px;
  margin-top: 6px;
}

/* Floating Invoice */
.floating-invoice {
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  width: 120px;
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border: 1px solid #e5e5e5;
  opacity: 0;
}

.floating-invoice.visible {
  animation: floatIn 0.4s ease forwards;
}

@keyframes floatIn {
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

.invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.invoice-title {
  font-size: 10px;
  font-weight: 700;
  color: #333;
}

.invoice-badge {
  display: flex;
  align-items: center;
  gap: 3px;
  background: #cef17b;
  color: #044737;
  font-size: 8px;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 4px;
}

.invoice-line {
  height: 4px;
  background: #f0f0f0;
  border-radius: 2px;
  margin-bottom: 6px;
}

.invoice-line.short {
  width: 60%;
}

.invoice-amount {
  font-size: 14px;
  font-weight: 700;
  color: #044737;
  text-align: right;
  margin-top: 8px;
}

/* Social Proof */
.portal-social-proof {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fafafa;
  padding: 8px 14px;
  border-radius: 20px;
}

.proof-avatars {
  display: flex;
}

.proof-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ddd 0%, #bbb 100%);
  margin-left: -6px;
  border: 2px solid #fff;
}

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

.proof-stars {
  display: flex;
  gap: 1px;
}

.proof-stars svg {
  width: 12px;
  height: 12px;
}

.proof-text {
  font-size: 10px;
  font-weight: 600;
  color: #666;
}

/* Conciliation Animation */
.conciliation-animation-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px 30px;
  background: #fff;
  border-radius: 16px;
  margin: 5%;
  width: 90%;
  height: 90%;
  box-sizing: border-box;
  position: relative;
}

.concil-card {
  background: #fafafa;
  border-radius: 12px;
  padding: 20px;
  width: 160px;
  text-align: center;
  border: 1px solid #f0f0f0;
}

.concil-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.concil-icon-circle {
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e5e5;
}

.concil-card-label {
  font-size: 12px;
  font-weight: 600;
  color: #555;
}

.concil-amount {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
  min-width: 120px;
  text-align: center;
}

.concil-card:last-of-type .concil-amount {
  color: #044737;
}

.concil-sublabel {
  font-size: 10px;
  color: #999;
}

.concil-match-icon {
  opacity: 0.5;
}

.concil-badge {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: #cef17b;
  color: #044737;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  opacity: 0;
  transition: background 0.3s ease, color 0.3s ease;
}

.concil-badge.calculating {
  background: #e5e5e5;
  color: #888;
}

.concil-badge.conciliado {
  background: #cef17b;
  color: #044737;
}

.concil-badge .badge-icon {
  display: none;
}

.concil-badge.conciliado .badge-icon {
  display: flex;
}

.concil-badge.visible {
  animation: badgeIn 0.4s ease forwards;
}

@keyframes badgeIn {
  to {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}

/* PPD Flow Animation - Card 4 */
.ppd-flow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: #fff;
  border-radius: 16px;
  margin: 5%;
  width: 90%;
  height: 90%;
  box-sizing: border-box;
}

.ppd-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f5f5f5;
  border: none;
  border-radius: 12px;
  padding: 16px 24px;
  min-width: 260px;
  opacity: 0;
  transform: translateY(-10px);
}

.ppd-step.visible {
  animation: stepFadeIn 0.4s ease forwards;
}

@keyframes stepFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ppd-step.completed {
  background: #f5f5f5;
}

.ppd-step-icon {
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ppd-step-icon svg {
  stroke: #333;
}

.ppd-step-icon.done svg {
  stroke: #333;
}

.ppd-step-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ppd-step-number {
  font-size: 14px;
  font-weight: 600;
  color: #888;
}

.ppd-step-text {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.ppd-step.pending .ppd-step-text {
  color: #aaa;
}

.ppd-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  opacity: 0;
  margin: 4px 0;
}

.ppd-connector.visible {
  animation: connectorFadeIn 0.3s ease forwards;
}

@keyframes connectorFadeIn {
  to {
    opacity: 1;
  }
}

/* Integrations Section */
.integrations-section {
  background: #141414;
  padding: 100px 24px;
  overflow: hidden;
}

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

.integrations-header {
  text-align: center;
  margin-bottom: 60px;
}

.integrations-title {
  font-family: 'Geist', sans-serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.integrations-description {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
  margin: 0 auto 24px;
}

/* Integrations Carousel */
.integrations-carousel-wrapper {
  margin-top: 60px;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.carousel-row {
  overflow: hidden;
  margin-bottom: 24px;
}

.carousel-track {
  display: flex;
  gap: 32px;
  width: max-content;
}

.carousel-right {
  animation: scrollRight 30s linear infinite;
}

.carousel-left {
  animation: scrollLeft 30s linear infinite;
}

@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.carousel-logo {
  flex-shrink: 0;
  width: 120px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
}

.carousel-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.carousel-logo:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

.integrations-cta {
  text-align: center;
  margin-top: 48px;
}

.integrations-btn.button-secondary-13 {
  background: #fff !important;
  color: #141414 !important;
  border: none !important;
}

.integrations-btn.button-secondary-13:hover {
  background: #f0f0f0 !important;
}

/* How It Works Section */
.how-it-works-section {
  background: #fff;
  padding: 100px 24px;
}

.how-it-works-container {
  max-width: 1200px;
  margin: 0 auto;
}

.how-it-works-header {
  text-align: left;
  margin-bottom: 60px;
}

.how-it-works-header .hero-tag {
  margin-bottom: 24px;
}

.how-it-works-title {
  font-family: 'Geist', sans-serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.1;
  color: #111;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 700px;
}

.how-it-works-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  color: #666;
  margin: 16px 0 0 0;
  font-weight: 400;
}

.how-it-works-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}

.how-step-card {
  background: #fafafa;
  border-radius: 20px;
  padding: 28px;
  width: 260px;
  flex-shrink: 0;
}

.how-step-label {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: #9ca3af;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 8px;
}

.how-step-title {
  font-family: 'Geist', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin: 0 0 20px;
}

.how-step-illustration {
  background: #f5f5f5;
  border-radius: 12px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.how-step-badge {
  display: inline-block;
  background: #fff;
  color: #374151;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  margin-top: 16px;
}

.how-step-arrow {
  display: flex;
  align-items: center;
  padding-top: 100px;
  flex-shrink: 0;
}

/* Step 1 - Connect illustration */
.how-illus-window {
  width: 100px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.how-illus-bar {
  background: #f3f4f6;
  padding: 6px 8px;
  display: flex;
  gap: 4px;
}

.how-illus-bar span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d1d5db;
}

.how-illus-content {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-illus-float-card {
  position: absolute;
  right: 20px;
  bottom: 20px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Step 2 - Config illustration */
.how-illus-config {
  width: 120px;
}

.how-config-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.how-config-row:last-child {
  margin-bottom: 0;
}

.how-config-label {
  width: 50px;
  height: 8px;
  background: #d1d5db;
  border-radius: 4px;
}

.how-config-label.short {
  width: 35px;
}

.how-config-toggle {
  width: 32px;
  height: 18px;
  background: #f5f5f5;
  border-radius: 9px;
  position: relative;
}

.how-config-toggle::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: all 0.2s ease;
}

.how-config-toggle.on {
  background: #cef17b;
}

.how-config-toggle.on::after {
  left: 16px;
}

/* Step 3 - Payment illustration */
.how-illus-payment {
  position: relative;
}

.how-payment-card {
  background: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}

.how-payment-icon {
  width: 36px;
  height: 36px;
  background: #f3f4f6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-payment-amount {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

.how-payment-check {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Step 4 - Invoice illustration */
.how-illus-invoice {
  position: relative;
}

.how-invoice-doc {
  width: 80px;
  background: #fff;
  border-radius: 6px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.how-invoice-header {
  width: 30px;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  margin-bottom: 12px;
}

.how-invoice-line {
  width: 100%;
  height: 4px;
  background: #f3f4f6;
  border-radius: 2px;
  margin-bottom: 6px;
}

.how-invoice-line.short {
  width: 60%;
}

.how-invoice-line:last-child {
  margin-bottom: 0;
}

.how-invoice-stamp {
  position: absolute;
  bottom: -10px;
  right: -20px;
  background: #cef17b;
  color: #044737;
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 1100px) {
  .how-it-works-steps {
    flex-wrap: wrap;
    gap: 24px;
  }

  .how-step-arrow {
    display: none;
  }

  .how-step-card {
    width: calc(50% - 12px);
  }
}

@media (max-width: 600px) {
  .how-step-card {
    width: 100%;
  }

  .how-it-works-title {
    font-size: 32px;
  }
}

/* New Portal Mockup with Browser */
.portal-mockup-new {
  width: 90%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border: 1px solid #e5e5e5;
  margin: 5%;
}

.portal-browser {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}

.browser-dots {
  display: flex;
  gap: 4px;
}

.browser-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ddd;
}

.browser-dots span:first-child { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:last-child { background: #28ca41; }

.browser-url {
  flex: 1;
  text-align: center;
  font-size: 9px;
  color: #888;
  background: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #e5e5e5;
  max-width: 200px;
  margin: 0 auto;
}

.portal-content {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.portal-header-new {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.portal-logo-placeholder {
  width: 24px;
  height: 24px;
  background: #1a1a1a;
  border-radius: 4px;
}

.portal-title {
  font-size: 11px;
  font-weight: 600;
  color: #111;
}

.portal-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.field-label {
  font-size: 9px;
  color: #888;
  font-weight: 500;
}

.field-input {
  height: 26px;
  background: #f5f5f5;
  border-radius: 4px;
  border: 1px solid #e5e5e5;
}

.form-button {
  background: #1a1a1a;
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  text-align: center;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.portal-testimonial {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding-left: 14px;
  border-left: 1px solid #f0f0f0;
}

.testimonial-faces {
  display: flex;
}

.face-circle {
  width: 18px;
  height: 18px;
  background: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  margin-left: -5px;
  border: 2px solid #fff;
}

.face-circle:first-child {
  margin-left: 0;
}

.face-circle svg {
  width: 10px;
  height: 10px;
}

.testimonial-stars {
  display: flex;
  gap: 1px;
  color: #fbbf24;
}

.testimonial-stars svg {
  width: 8px;
  height: 8px;
}

.testimonial-text {
  font-size: 9px;
  color: #888;
}

/* Portal Mockup */
.mockup-portal {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.portal-url-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #f5f5f5;
  border-radius: 8px;
  margin-bottom: 16px;
  color: #666;
  font-size: 12px;
}

.portal-preview-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.portal-preview-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
  color: #333;
}

.portal-preview-item:last-child {
  border-bottom: none;
}

.preview-icon {
  width: 28px;
  height: 28px;
  background: #f5f5f5;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.preview-tag {
  margin-left: auto;
  font-size: 10px;
  color: #999;
  background: #f5f5f5;
  padding: 4px 8px;
  border-radius: 4px;
}

/* Conciliation Mockup */
.mockup-conciliation {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.conciliation-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fafafa;
  border-radius: 8px;
}

.concil-icon {
  width: 28px;
  height: 28px;
  background: #f0f0f0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.concil-label {
  flex: 1;
  font-size: 12px;
  color: #666;
}

.concil-value {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.conciliation-match-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  background: #cef17b;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #044737;
  margin-top: 4px;
}

/* Dashboard Mockup */
.dashboard-mockup {
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.dash-sidebar {
  width: 120px;
  background: #fafafa;
  border-right: 1px solid #f0f0f0;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 11px;
  color: #666;
}

.dash-nav-item.active {
  background: #fff;
  color: #111;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.dash-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.dash-title {
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

.dash-badge-accent {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #cef17b;
  color: #044737;
  font-size: 9px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 100px;
}

.dash-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dash-row {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  background: #fafafa;
  border-radius: 6px;
  gap: 10px;
}

.dash-doc {
  flex: 1;
  font-size: 11px;
  color: #333;
}

.dash-amount {
  font-size: 11px;
  font-weight: 600;
  color: #111;
  min-width: 55px;
  text-align: right;
}

.dash-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #cef17b;
  color: #044737;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Floating elements for animations */
.visual-float-card {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}

.visual-float-card .v-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  color: #044737;
  justify-content: center;
  font-size: 18px;
}

.visual-float-card .v-icon.green { background: #ceedb2; }
.visual-float-card .v-icon.blue { background: #f4f7f2; }
.visual-float-card .v-icon.orange { background: #cef17b; }
.visual-float-card .v-icon.purple { background: #ceedb2; }

.visual-float-card .v-text {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
}

.visual-float-card .v-subtext {
  font-size: 11px;
  color: #888;
}

/* Animation keyframes for floating cards */
.visual-float-card:nth-child(1) {
  top: 40px;
  left: 30px;
  animation: floatV1 4s ease-in-out infinite;
}

.visual-float-card:nth-child(2) {
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  animation: floatV2 4s ease-in-out infinite 0.5s;
}

.visual-float-card:nth-child(3) {
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: floatV3 4s ease-in-out infinite 1s;
}

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

@keyframes floatV2 {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 10px)); }
}

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

/* Connection lines */
.visual-line {
  position: absolute;
  width: 2px;
  background: #e5e5e5;
  height: 40px;
}

.visual-line.line1 {
  top: 100px;
  left: 120px;
}

.visual-line.line2 {
  top: 180px;
  right: 140px;
}

/* ==================== RESPONSIVE STYLES ==================== */

/* Tablet */
@media (max-width: 991px) {
  .hero-heading {
    font-size: 48px !important;
  }

  .hero_content.hero .text-size-medium-3 {
    font-size: 16px !important;
  }

  .hero_image-wrapper-3 {
    padding-bottom: 80px !important;
  }

  .navigation-component .navigation-5 {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  /* Stacking Cards Tablet */
  .stack-card {
    padding: 40px;
    gap: 40px;
    min-height: 450px;
    top: 80px;
  }

  .stack-card-title {
    font-size: 36px;
  }

  .stack-card-visual {
    height: 320px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  /* Navigation */
  .navigation-component .navigation-5 {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Hide country selector on mobile - show in hamburger menu */
  .country-selector {
    display: none !important;
  }

  /* Hero Section */
  .hero-section.hero {
    padding-top: 40px !important;
    padding-bottom: 20px !important;
  }

  .hero---container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Hero Content - full width on mobile */
  .hero_content {
    max-width: 100% !important;
    width: 100% !important;
  }

  .hero_content.hero .max-width-medium,
  .max-width-medium {
    max-width: 100% !important;
    width: 100% !important;
  }

  .hero_content.hero {
    max-width: 100% !important;
    padding: 0 !important;
  }

  /* Hero Heading - full width and larger */
  .hero-heading {
    font-size: 48px !important;
    line-height: 1.1 !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .heading-style-h1.hero-heading,
  .h2.hero-heading {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Hero Tag */
  .hero-tag,
  .section-tag {
    font-size: 12px !important;
    padding: 6px 14px !important;
    margin-bottom: 8px !important;
  }

  /* Hero Subtitle */
  .hero_content.hero .text-size-medium-3 {
    font-size: 15px !important;
    margin-top: 16px !important;
  }

  /* Buttons spacing */
  .hero_content.hero .spacer-large {
    margin-top: 20px !important;
  }

  /* Dashboard Image */
  .hero_image-wrapper-3 {
    margin-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: -50px !important;
    transform: perspective(1000px) rotateX(15deg) scale(0.75) !important;
  }

  .hero_image-wrapper-3 img {
    border-radius: 12px !important;
  }

  /* Logos Section */
  .logos_testimonials {
    padding-top: 0 !important;
    padding-bottom: 30px !important;
  }

  .hero-section.hero {
    padding-bottom: 0 !important;
  }

  /* Footer adjustments */
  .footer_component {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Stacking Cards Mobile */
  .stacking-cards-section {
    padding: 40px 16px;
  }

  .stacking-cards-container {
    gap: 0;
  }

  .stack-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 32px;
    min-height: auto;
    top: 70px;
    margin-bottom: 24px;
  }

  .stack-card-title {
    font-size: 28px;
  }

  .stack-card-description {
    font-size: 15px;
  }

  .stack-card-visual {
    height: 280px;
    order: -1;
  }

  .visual-float-card {
    padding: 12px 16px;
  }

  .visual-float-card .v-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .visual-float-card .v-text {
    font-size: 12px;
  }

  .visual-float-card .v-subtext {
    font-size: 10px;
  }
}

/* Small Mobile */
@media (max-width: 479px) {
  .hero---container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .hero_content.hero {
    padding: 0 !important;
  }

  /* Hero Heading - full width and larger */
  .hero-heading {
    font-size: 38px !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .heading-style-h1.hero-heading,
  .h2.hero-heading {
    max-width: 100% !important;
  }

  .hero_content.hero .text-size-medium-3 {
    font-size: 14px !important;
  }

  .hero-tag,
  .section-tag {
    font-size: 11px !important;
    padding: 5px 12px !important;
  }

  .hero_image-wrapper-3 {
    padding-bottom: 0 !important;
    transform: perspective(1000px) rotateX(10deg) scale(0.8) !important;
  }

  /* Buttons stack vertically on small screens */
  .button-group,
  .buttons-wrapper,
  .spacer-large._2-buttons {
    flex-direction: column !important;
    gap: 12px !important;
  }

  .button-primary-12,
  .button-secondary-13 {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* =================================
   API HERO - Dark Theme (Landing API)
   ================================= */

.hero-api-dark {
  background: #0a0a0a;
  padding: 80px 24px 100px;
}

.hero-api-dark-container {
  max-width: 1000px;
  margin: 0 auto;
}

.hero-api-dark-content {
  text-align: center;
  margin-bottom: 48px;
}

.hero-api-dark-title {
  font-family: 'Geist', sans-serif !important;
  font-size: 52px;
  font-weight: 500;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.03em;
  margin: 16px 0 24px;
}

.hero-api-dark-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 auto 32px;
  max-width: 600px;
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 8px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  height: 40px;
}

.btn-outline-dark:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.hero-api-image-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-api-bg-image {
  width: 100%;
  height: 650px;
  object-fit: cover;
  display: block;
}

.hero-api-image-wrapper .hero-api-code-window {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 650px;
  margin: 0;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.hero-api-code-window .code-title {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  margin-left: auto;
  font-family: 'Inter', sans-serif;
}

@media (max-width: 768px) {
  .hero-api-bg-image {
    height: 400px;
  }

  .hero-api-image-wrapper .hero-api-code-window {
    width: 95%;
  }
}

/* API Trusted By Section */
.api-trusted-section {
  background: #0a0a0a;
  padding: 80px 24px;
}

.api-trusted-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.api-trusted-title {
  font-family: 'Geist', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.api-trusted-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 48px;
}

.api-trusted-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 60px;
  align-items: center;
  justify-items: center;
}

.api-trusted-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.api-trusted-logo img {
  max-height: 32px;
  max-width: 140px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.api-trusted-logo img:hover {
  opacity: 1;
}

.api-trusted-logo.grayscale img {
  filter: grayscale(100%);
}

@media (max-width: 768px) {
  .api-trusted-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 40px;
  }

  .api-trusted-title {
    font-size: 20px;
  }
}

/* API Features Section */
.api-features-section {
  background: #0a0a0a;
  padding: 100px 24px;
}

.api-features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.api-features-header {
  margin-bottom: 60px;
}

.api-features-label {
  font-family: 'Geist Mono', monospace;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-bottom: 16px;
}

.api-features-title {
  font-family: 'Geist', sans-serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 500;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
}

.api-features-title .text-muted {
  color: rgba(255, 255, 255, 0.4);
}

.api-feature-block {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.api-feature-visual {
  position: relative;
}

.api-feature-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #1a1a1a;
  padding: 32px;
}

.api-feature-image-wrapper .api-feature-code-window {
  background: #0f0f0f;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.api-feature-code-window .code-header {
  background: #27272a;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #3f3f46;
}

.api-feature-code-window .code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.api-feature-code-window .code-dot.red { background: #ef4444; }
.api-feature-code-window .code-dot.yellow { background: #eab308; }
.api-feature-code-window .code-dot.green { background: #22c55e; }

.api-feature-code-window .code-content {
  padding: 16px;
  font-family: 'Inconsolata', monospace;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  overflow-x: auto;
}

.api-feature-content {
  padding: 20px 0;
}

.api-feature-name {
  font-family: 'Geist', sans-serif;
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.api-feature-description {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 24px;
}

.api-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 12px 24px;
  background: #fff;
  color: #0a0a0a;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.api-feature-link:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .api-feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .api-feature-name {
    font-size: 24px;
  }
}

.hero-api-code-window {
  background: #18181b;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

.hero-api-code-window .code-header {
  background: #27272a;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #3f3f46;
}

.hero-api-code-window .code-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.hero-api-code-window .code-dot.red { background: #ef4444; }
.hero-api-code-window .code-dot.yellow { background: #eab308; }
.hero-api-code-window .code-dot.green { background: #22c55e; }

.hero-api-code-window .code-content {
  padding: 24px;
  font-family: 'Inconsolata', 'Monaco', monospace;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  overflow-x: auto;
}

@media (max-width: 768px) {
  .hero-api-dark {
    padding: 60px 16px 60px;
  }

  .hero-api-dark-title {
    font-size: 36px;
  }

  .hero-api-dark-subtitle {
    font-size: 16px;
  }

  .hero-api-code-window .code-content {
    font-size: 12px;
    padding: 16px;
  }
}

/* =================================
   API SECTION - Dark Theme
   ================================= */

.api-section {
  background: #141414;
  padding: 100px 0;
  overflow: hidden;
}

.api-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 60px;
  max-width: 800px;
}

.api-header .hero-tag-dark {
  margin-bottom: 16px;
}

.api-header .integrations-title {
  text-align: left;
  margin: 0;
}

.api-header .max-width-small-4 {
  margin: 20px 0 24px 0;
  max-width: 600px;
}

.api-header .paragraph-regular-40.white {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.btn-api-docs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cef17b;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-api-docs:hover {
  color: #fff;
}

.btn-api-docs::after {
  content: '→';
  transition: transform 0.2s ease;
}

.btn-api-docs:hover::after {
  transform: translateX(4px);
}

/* Carousel Wrapper */
.api-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.api-carousel-wrapper {
  position: relative;
  cursor: none;
}

/* Custom Drag Cursor */
.drag-cursor {
  position: fixed;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.drag-cursor span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
}

.drag-cursor.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.drag-cursor.dragging {
  transform: translate(-50%, -50%) scale(0.9);
  background: rgba(255, 255, 255, 0.25);
}

.api-carousel {
  display: flex;
  gap: 24px;
  padding-left: 5%;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  user-select: none;
}

.api-carousel.dragging {
  transition: none;
  cursor: grabbing;
}

.api-carousel.dragging .api-feature-card {
  pointer-events: none;
}

/* API Feature Cards */
.api-feature-card {
  flex-shrink: 0;
  width: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.api-feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.api-card-illustration {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 5%;
  margin-bottom: 24px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.api-card-title {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  margin-top: 4px;
  font-family: 'Geist', sans-serif;
}

.api-card-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.5;
}

/* Code Block Styling */
.api-code-block {
  background: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  max-height: 100%;
}

.code-header {
  background: #2a2a2a;
  padding: 8px 12px;
  display: flex;
  gap: 5px;
}

.code-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.code-dot.red { background: #ff5f56; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green { background: #27ca40; }

.code-content {
  padding: 12px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 10px;
  line-height: 1.4;
  white-space: pre;
  overflow: hidden;
}

/* Visual Block Styling */
.api-visual-block {
  width: 100%;
}

/* Validation List */
.validation-icon {
  text-align: center;
  margin-bottom: 8px;
}

.validation-icon svg {
  width: 28px;
  height: 28px;
}

.validation-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.validation-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.validation-item.valid::before {
  content: '✓';
  color: rgba(255, 255, 255, 0.6);
  font-weight: bold;
}

/* Catalog Grid */
.catalog-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.catalog-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  border-left: 3px solid rgba(255, 255, 255, 0.3);
}

.catalog-code {
  color: rgba(255, 255, 255, 0.8);
  font-family: monospace;
  font-size: 10px;
  font-weight: 600;
}

.catalog-name {
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
}

/* Currency Simple Display */
.currency-simple {
  text-align: center;
  width: 100%;
}

.currency-from {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  font-family: 'Geist', sans-serif;
}

.currency-from span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 400;
  margin-left: 4px;
}

.currency-icon {
  color: rgba(255, 255, 255, 0.4);
  font-size: 16px;
  margin: 8px 0;
}

.currency-to {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  font-weight: 600;
  font-family: 'Geist', sans-serif;
}

.currency-to span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 400;
  margin-left: 4px;
}

.currency-rate {
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
  margin-top: 8px;
}

/* Browser Mockup - Dark Theme */
.browser-mockup {
  background: #252525;
  border-radius: 8px;
  width: 100%;
  overflow: hidden;
}

.browser-header {
  background: #1a1a1a;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #333;
}

.browser-dots {
  display: flex;
  gap: 4px;
}

.browser-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.browser-dots .dot.red { background: #ff5f56; }
.browser-dots .dot.yellow { background: #ffbd2e; }
.browser-dots .dot.green { background: #27ca40; }

.browser-url {
  color: #888;
  font-size: 9px;
  font-family: 'Inter', sans-serif;
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin: 0;
}

.browser-content {
  padding: 12px;
  text-align: center;
}

.portal-avatar {
  width: 28px;
  height: 28px;
  background: #3a3a3a;
  border-radius: 50%;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #ccc;
}

.portal-title {
  color: #aaa;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 10px;
}

.portal-field {
  height: 20px;
  background: #3a3a3a;
  border-radius: 4px;
  margin-bottom: 6px;
}

.portal-row {
  display: flex;
  gap: 6px;
}

.portal-field.small {
  flex: 1;
  margin-bottom: 6px;
}

.portal-button {
  height: 24px;
  background: #4a4a4a;
  border-radius: 4px;
}

/* Payment Flow */
.payment-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.payment-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.payment-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(206, 241, 123, 0.2);
}

.payment-icon.invoice {
  background: rgba(206, 241, 123, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23cef17b' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'%3E%3C/path%3E%3Cpath d='M14 2v6h6'%3E%3C/path%3E%3Cpath d='M16 13H8'%3E%3C/path%3E%3Cpath d='M16 17H8'%3E%3C/path%3E%3Cpath d='M10 9H8'%3E%3C/path%3E%3C/svg%3E") center no-repeat;
}

.payment-icon.money {
  background: rgba(206, 241, 123, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23cef17b' stroke-width='2'%3E%3Cline x1='12' y1='1' x2='12' y2='23'%3E%3C/line%3E%3Cpath d='M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6'%3E%3C/path%3E%3C/svg%3E") center no-repeat;
}

.payment-icon.complement {
  background: rgba(206, 241, 123, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23cef17b' stroke-width='2'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'%3E%3C/path%3E%3Cpolyline points='22 4 12 14.01 9 11.01'%3E%3C/polyline%3E%3C/svg%3E") center no-repeat;
}

.payment-step span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
}

.payment-arrow {
  width: 20px;
  height: 2px;
  background: rgba(206, 241, 123, 0.3);
  position: relative;
}

.payment-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  border: 4px solid transparent;
  border-left-color: rgba(206, 241, 123, 0.3);
}

/* API CTA */
.api-cta {
  margin-top: 60px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.api-cta h3 {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: 'Geist', sans-serif;
}

.api-cta p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.api-cta-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.api-btn-outline.button-secondary-13 {
  background: transparent !important;
  color: #fff !important;
  border: none !important;
}

.api-btn-outline.button-secondary-13:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

/* API Section Responsive */
@media (max-width: 991px) {
  .api-section {
    padding: 80px 0;
  }

  .api-cta {
    flex-direction: column;
    text-align: center;
  }

  .api-cta-buttons {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .api-section {
    padding: 60px 0;
  }

  .api-feature-card {
    width: 300px;
  }

  .api-cta {
    padding: 24px 16px;
  }

  .api-cta-buttons {
    flex-direction: column;
  }

  .api-cta-buttons .button-secondary-13 {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 479px) {
  .api-feature-card {
    width: 280px;
  }

  .api-header-content h2 {
    font-size: 32px !important;
  }
}

/* =================================
   BUSINESS TYPES SECTION
   ================================= */

.business-types-section {
  background: #fff;
  padding: 100px 24px;
}

.business-types-header {
  max-width: 600px;
  margin-bottom: 60px;
}

.business-types-header .hero-tag {
  margin-bottom: 16px;
}

.business-types-title {
  font-family: 'Geist', sans-serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.15;
  color: #111;
  letter-spacing: -0.02em;
  margin: 0 0 20px 0;
}

.business-types-desc {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.business-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.business-type-card {
  background: #f8f8f8;
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.business-type-card:hover {
  background: #f4f4f4;
  border-color: #e5e5e5;
  transform: translateY(-2px);
}

.business-type-icon {
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #141414;
  border: 1px solid #e5e5e5;
}

.business-type-icon svg {
  width: 22px;
  height: 22px;
}

.business-type-name {
  font-family: 'Geist', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #141414;
  margin: 0 0 8px 0;
}

.business-type-description {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* Business Types Responsive */
@media (max-width: 991px) {
  .business-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .business-types-section {
    padding: 60px 16px;
  }

  .business-types-title {
    font-size: 32px;
  }

  .business-types-grid {
    grid-template-columns: 1fr;
  }
}

/* =================================
   CASE STUDIES SECTION
   ================================= */

.case-studies-section {
  background: #fff;
  padding: 100px 24px;
}

.case-studies-header {
  text-align: center;
  margin-bottom: 60px;
}

.case-studies-header .hero-tag {
  margin-bottom: 16px;
}

.case-studies-title {
  font-family: 'Geist', sans-serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.15;
  color: #111;
  margin: 0 auto;
  max-width: 700px;
}

.case-studies-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.case-study-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: #f8f8f8;
  border-radius: 24px;
  padding: 48px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  min-height: 380px;
}

.case-study-card:hover {
  background: #f4f4f4;
  border-color: #e0e0e0;
  transform: translateY(-4px);
}

.case-study-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case-study-logo {
  height: 28px;
  margin-bottom: 8px;
}

.case-study-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
}

.case-study-title {
  font-family: 'Geist', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #141414;
  line-height: 1.2;
  margin: 0;
}

.case-study-desc {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.case-study-metrics {
  display: flex;
  gap: 48px;
  margin-top: 40px;
}

.case-metric {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.metric-value {
  font-family: 'Geist', sans-serif;
  font-size: 40px;
  font-weight: 600;
  color: #141414;
}

.metric-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #888;
}

.case-study-image {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border-radius: 16px;
  overflow: hidden;
}

.case-study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.case-study-card:hover .case-study-image img {
  transform: scale(1.03);
}

/* Mini Testimonials Row */
.mini-testimonials-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.mini-testimonial-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 24px;
}

.mini-testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.mini-testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.mini-testimonial-avatar.logo {
  border-radius: 8px;
  object-fit: contain;
  background: #f5f5f5;
  padding: 4px;
}

.mini-testimonial-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mini-testimonial-name {
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #141414;
  margin: 0;
}

.mini-testimonial-role {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #888;
}

.mini-testimonial-quote {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 991px) {
  .mini-testimonials-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .mini-testimonial-card {
    padding: 20px;
  }

  .mini-testimonial-quote {
    font-size: 14px;
  }
}

/* Case Studies Responsive */
@media (max-width: 991px) {
  .case-study-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px;
    min-height: auto;
  }

  .case-study-image {
    min-height: 220px;
    order: -1;
  }
}

@media (max-width: 767px) {
  .case-studies-section {
    padding: 60px 16px;
  }

  .case-studies-header h2 {
    font-size: 32px !important;
  }

  .case-study-card {
    padding: 24px;
  }

  .case-study-title {
    font-size: 22px;
  }

  .case-study-metrics {
    gap: 24px;
    flex-wrap: wrap;
  }

  .metric-value {
    font-size: 28px;
  }

  .case-study-image {
    min-height: 180px;
  }

  .case-study-description {
    font-size: 14px;
  }
}

@media (max-width: 479px) {
  .case-study-card {
    padding: 20px;
  }

  .case-study-metrics {
    gap: 20px;
  }

  .metric-item {
    min-width: 45%;
  }
}

/* =================================
   TESTIMONIALS GRID - Grid Positioning
   ================================= */

/* Cards that span 2 rows in the grid */
#w-node-testimonial-1,
#w-node-testimonial-2,
#w-node-testimonial-feature {
  grid-area: span 2 / span 1 / span 2 / span 1;
}

/* Responsive testimonials grid */
@media (max-width: 991px) {
  .testimonial-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  #w-node-testimonial-1,
  #w-node-testimonial-2,
  #w-node-testimonial-feature {
    grid-area: auto;
  }
}

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

/* =================================
   FAQ SECTION - Accordion Style
   ================================= */

.faq-section {
  background: #fff;
  padding: 80px 24px 100px;
}

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

.faq-header {
  margin-bottom: 50px;
  text-align: center;
}

.faq-title {
  font-family: 'Geist', sans-serif !important;
  font-size: 48px !important;
  font-weight: 500 !important;
  line-height: 1.15 !important;
  color: #111 !important;
  margin: 0 auto 0 auto !important;
  padding: 0 !important;
  text-align: center !important;
  display: block;
  width: 100%;
}

.faq-list {
  max-width: 650px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-subtitle {
  display: none;
}

.faq-item {
  background: #F7F7F7 !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  border-radius: 6px;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: transparent;
  border: none !important;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  gap: 12px;
  box-shadow: none !important;
  outline: none !important;
}

.faq-answer {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question-text {
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #111;
  line-height: 1.4;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: #888;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-icon::before {
  width: 12px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.active .faq-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.faq-item.active .faq-icon::after {
  transform: translate(-50%, -50%) rotate(45deg);
  opacity: 1;
}

.faq-answer-content {
  padding: 0 18px 16px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question:hover .faq-question-text {
  color: #333;
}

/* =================================
   FINAL CTA SECTION
   ================================= */

.final-cta-section {
  background: #fff;
  padding: 40px 24px 100px;
}

.final-cta-container {
  max-width: 1000px;
  margin: 0 auto;
}

.final-cta-card {
  background: #141414;
  border-radius: 24px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.final-cta-title {
  font-family: 'Geist', sans-serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 32px;
}

.final-cta-button {
  display: inline-block;
  background: #cef17b;
  color: #141414;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.final-cta-button:hover {
  background: #d8f590;
  transform: translateY(-2px);
}

/* CTA Responsive */
@media (max-width: 991px) {
  .final-cta-card {
    padding: 60px 40px;
  }

  .final-cta-title {
    font-size: 40px;
  }
}

@media (max-width: 767px) {
  .final-cta-section {
    padding: 30px 16px 60px;
  }

  .final-cta-card {
    padding: 50px 24px;
    border-radius: 16px;
  }

  .final-cta-title {
    font-size: 28px;
  }

  .final-cta-subtitle {
    font-size: 14px;
  }

  .final-cta-tag {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* FAQ Responsive */
@media (max-width: 991px) {
  .faq-title {
    font-size: 40px;
  }
}

@media (max-width: 767px) {
  .faq-section {
    padding: 60px 16px 80px;
  }

  .faq-title {
    font-size: 32px;
  }

  .faq-header {
    margin-bottom: 40px;
  }

  .faq-list {
    gap: 10px;
  }

  .faq-question {
    padding: 14px 16px;
  }

  .faq-question-text {
    font-size: 15px;
  }

  .faq-answer-content {
    padding: 0 16px 14px 16px;
    font-size: 13px;
  }
}

/* =================================
   STANDARDIZED MOBILE TYPOGRAPHY & SPACING
   ================================= */

/* Tablet - 991px */
@media (max-width: 991px) {
  .integrations-title,
  .how-it-works-title,
  .business-types-title,
  .faq-title,
  .final-cta-title,
  .case-studies-title {
    font-size: 40px !important;
  }

  .integrations-section,
  .how-it-works-section,
  .business-types-section,
  .case-studies-section,
  .api-section,
  .faq-section,
  .final-cta-section {
    padding: 80px 24px !important;
  }
}

/* Mobile - 767px */
@media (max-width: 767px) {
  .integrations-title,
  .how-it-works-title,
  .business-types-title,
  .faq-title,
  .final-cta-title,
  .case-studies-title {
    font-size: 38px !important;
  }

  .integrations-section,
  .how-it-works-section,
  .business-types-section,
  .case-studies-section,
  .api-section,
  .faq-section,
  .final-cta-section {
    padding: 64px 20px !important;
  }

  .how-it-works-subtitle,
  .business-types-desc,
  .integrations-description,
  .final-cta-subtitle,
  .case-study-description,
  .api-section .text-size-medium-3 {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  /* Standardized header margins */
  .integrations-header,
  .how-it-works-header,
  .business-types-header,
  .case-studies-header,
  .api-header,
  .faq-header {
    margin-bottom: 40px !important;
  }
}

/* Small Mobile - 479px */
@media (max-width: 479px) {
  .integrations-title,
  .how-it-works-title,
  .business-types-title,
  .faq-title,
  .final-cta-title,
  .case-studies-title {
    font-size: 32px !important;
  }

  .integrations-section,
  .how-it-works-section,
  .business-types-section,
  .case-studies-section,
  .api-section,
  .faq-section,
  .final-cta-section {
    padding: 54px 20px !important;
  }

  .final-cta-card {
    padding: 40px 20px;
  }

  .case-study-title {
    font-size: 20px;
  }

  .metric-value {
    font-size: 28px;
  }

  .how-it-works-subtitle,
  .business-types-desc,
  .integrations-description,
  .final-cta-subtitle,
  .case-study-description,
  .api-section .text-size-medium-3 {
    font-size: 14px !important;
  }

  /* Standardized header margins */
  .integrations-header,
  .how-it-works-header,
  .business-types-header,
  .case-studies-header,
  .api-header,
  .faq-header {
    margin-bottom: 32px !important;
  }
}

/* ============================================
   Hero Startups - Intercom Style
   ============================================ */

.hero-startups {
  background: #fff !important;
  padding: 40px 60px 80px !important;
  min-height: auto;
  display: flex;
  align-items: flex-start;
}

.hero-startups-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* Tag - usa las clases de index */
.hero-startups .hero-tag-wrapper {
  margin-bottom: 32px;
}

.hero-startups .hero-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-family: 'Geist Mono', monospace !important;
  background: #fff !important;
  color: #1a1a1a !important;
  padding: 8px 20px !important;
  border-radius: 100px !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  border: 1px solid #e5e5e5 !important;
  letter-spacing: -0.01em !important;
}

/* Título grande estilo Intercom */
.hero-startups-title {
  font-family: 'Geist', Georgia, serif !important;
  font-size: 55px;
  font-weight: 500;
  line-height: 1.05;
  color: #111;
  margin: 0 0 32px 0;
  letter-spacing: -0.02em;
  max-width: 480px;
}

/* Descripción */
.hero-startups-description {
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  margin: 0 0 40px 0;
  max-width: 520px;
}

/* Botones alineados a la izquierda */
.hero-startups-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
}

/* Visual derecha: Imagen de fondo + animación de factura */
.hero-startups-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 680px;
}

.visual-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

/* Factura animada */
.startup-invoice {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: invoiceAppear 0.6s ease forwards;
  opacity: 0;
  z-index: 2;
}

@keyframes invoiceAppear {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.startup-invoice-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #fafafa;
  border-bottom: 1px solid #e5e5e5;
}

.invoice-logo {
  width: 40px;
  height: 40px;
  background: #e5e5e5;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
}

.invoice-title {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.invoice-type {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.invoice-folio {
  font-size: 11px;
  color: #9ca3af;
  font-family: 'Geist Mono', monospace;
}

.invoice-sat-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: #f3f4f6;
  color: #374151;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  opacity: 0;
  transform: scale(0.8);
  animation: satBadgeAppear 0.4s ease 2.8s forwards;
}

@keyframes satBadgeAppear {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.startup-invoice-body {
  padding: 20px;
}

.invoice-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
  animation: rowTypeIn 0.4s ease forwards;
  opacity: 0;
  transform: translateX(-10px);
}

.invoice-row:nth-child(1) { animation-delay: 0.8s; }
.invoice-row:nth-child(2) { animation-delay: 1.3s; }
.invoice-row:nth-child(3) { animation-delay: 1.8s; }
.invoice-row:nth-child(4) { animation-delay: 2.3s; }

@keyframes rowTypeIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.invoice-row:last-child {
  border-bottom: none;
}

.invoice-row.total {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 2px solid #e5e5e5;
  border-bottom: none;
}

.invoice-label {
  font-size: 13px;
  color: #9ca3af;
}

.invoice-value {
  font-size: 13px;
  font-weight: 500;
  color: #4b5563;
}

.invoice-row.total .invoice-value {
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

.startup-invoice-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #f9fafb;
  border-top: 1px solid #e5e5e5;
  opacity: 0;
  animation: footerFadeIn 0.4s ease 2.6s forwards;
}

@keyframes footerFadeIn {
  to {
    opacity: 1;
  }
}

.invoice-qr {
  width: 45px;
  height: 45px;
  background:
    linear-gradient(90deg, #d1d5db 2px, transparent 2px),
    linear-gradient(#d1d5db 2px, transparent 2px);
  background-size: 6px 6px;
  border-radius: 4px;
  opacity: 0.6;
}

.invoice-sello {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.invoice-sello span {
  font-size: 11px;
  color: #9ca3af;
}

.invoice-sello code {
  font-size: 10px;
  color: #6b7280;
  font-family: 'Geist Mono', monospace;
}

/* Toast de notificación */
.startup-toast {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  animation: toastSlideIn 0.5s ease 3s forwards;
  opacity: 0;
  transform: translateY(-20px);
  z-index: 3;
}

@keyframes toastSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.toast-icon {
  width: 32px;
  height: 32px;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
}

.toast-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toast-title {
  font-size: 13px;
  font-weight: 600;
  color: #111;
}

.toast-text {
  font-size: 11px;
  color: #6b7280;
}

/* Badge de flujo */
.startup-flow-badge {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.95);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: #374151;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  animation: badgeSlideUp 0.5s ease 3.5s forwards;
  opacity: 0;
  z-index: 3;
}

@keyframes badgeSlideUp {
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.flow-dot {
  width: 8px;
  height: 8px;
  background: #6b7280;
  border-radius: 50%;
}

/* Responsive - Tablet */
@media (max-width: 991px) {
  .hero-startups {
    padding: 60px 24px 80px !important;
    min-height: auto;
  }

  .hero-startups-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-startups-title {
    font-size: 48px;
  }

  .hero-startups-visual {
    order: -1;
    min-height: 450px;
  }

  .startup-invoice {
    width: 280px;
  }

  .startup-toast {
    top: 10px;
    right: 10px;
    padding: 10px 12px;
  }

  .startup-flow-badge {
    font-size: 11px;
    padding: 8px 14px;
  }

  .hero-startups-content {
    text-align: center;
  }

  .hero-startups-buttons {
    justify-content: center;
  }

  .hero-startups .hero-tag-wrapper {
    text-align: center;
  }
}

/* Responsive - Mobile */
@media (max-width: 479px) {
  .hero-startups {
    padding: 40px 20px 60px !important;
  }

  .hero-startups-title {
    font-size: 36px;
  }

  .hero-startups-description {
    font-size: 16px;
  }

  .hero-startups-visual {
    min-height: 380px;
  }

  .startup-invoice {
    width: 260px;
  }

  .startup-toast {
    display: none;
  }

  .startup-flow-badge {
    font-size: 10px;
    padding: 6px 12px;
    bottom: 12px;
  }

  .hero-startups-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-startups-buttons a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* =================================
   CLIENTS LOGO CAROUSEL
   ================================= */

.clients-carousel-section {
  background: #fff;
  padding: 48px 24px;
  overflow: hidden;
}

.clients-carousel-container {
  max-width: 1200px;
  margin: 0 auto;
}

.clients-carousel-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #888;
  text-align: center;
  margin: 0 0 32px 0;
}

.clients-carousel-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.clients-carousel-track {
  display: flex;
  gap: 48px;
  animation: scrollClients 30s linear infinite;
  width: max-content;
}

.client-logo {
  flex-shrink: 0;
  width: 120px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scrollClients {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* =================================
   ENTERPRISE HERO - HALSA STYLE
   ================================= */

.hero-enterprise {
  background: #fafafa;
  padding: 40px 24px 100px;
}

.hero-enterprise-container {
  max-width: 1280px;
  margin: 0 auto;
  background: #fff;
  border-radius: 32px;
  padding: 60px 40px 40px;
  position: relative;
  overflow: visible;
}

.hero-enterprise-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}


.hero-enterprise-title {
  font-family: 'Geist', sans-serif !important;
  font-size: 55px;
  font-weight: 500;
  line-height: 1.1;
  color: #141414;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}

.hero-enterprise-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  margin: 0 auto 32px;
  max-width: 600px;
}


/* Trust Section */
.hero-enterprise-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-enterprise-avatars {
  display: flex;
  align-items: center;
}

.hero-enterprise-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -10px;
  object-fit: cover;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.hero-enterprise-rating {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.hero-enterprise-stars {
  display: flex;
  gap: 2px;
  color: #888;
}

.hero-enterprise-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hero-enterprise-trust-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #666;
}

/* Cards Grid */
.hero-enterprise-cards {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 16px;
  margin-top: 20px;
  padding-bottom: 60px;
  transform: translateY(80px);
}

/* Dashboard Card */
.hero-card-dashboard {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  text-align: left;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.hero-card-info h4 {
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #141414;
  margin: 0 0 2px;
}

.hero-card-info span {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #888;
}

.hero-card-metrics {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.hero-metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-metric-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #444;
}

.hero-metric-bar-container {
  flex: 1;
  margin: 0 12px;
  height: 8px;
  background: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
}

.hero-metric-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 0.6s ease;
}

.hero-metric-bar.green { background: linear-gradient(90deg, #044737, #0a6b52); }
.hero-metric-bar.lime { background: linear-gradient(90deg, #9acd32, #b8e668); }
.hero-metric-bar.teal { background: linear-gradient(90deg, #20b2aa, #5fd3cd); }
.hero-metric-bar.gray { background: linear-gradient(90deg, #1a1a1a, #333); }

.hero-metric-bar.animated {
  transition: width 0.8s ease-out;
}

.hero-metric-bar.animated.animate-1 { transition-delay: 0s; }
.hero-metric-bar.animated.animate-2 { transition-delay: 0.2s; }
.hero-metric-bar.animated.animate-3 { transition-delay: 0.4s; }
.hero-metric-bar.animated.animate-4 { transition-delay: 0.6s; }

.hero-card-avatar.grayscale {
  filter: grayscale(100%);
}

.hero-metric-value {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #141414;
}

.hero-metric-icon {
  color: #ccc;
  font-size: 12px;
}

.hero-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #fafafa;
  border-radius: 10px;
  border: 1px solid #f0f0f0;
}

.hero-stat-icon {
  color: #666;
}

.hero-stat-item span {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #444;
}

.hero-card-cta {
  margin-top: 16px;
}

.hero-card-cta h5 {
  font-family: 'Geist', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #141414;
  margin: 0 0 6px;
}

.hero-card-cta p {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* Image Cards */
.hero-card-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 400px;
}

.hero-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 8s ease-out;
  animation: slowZoom 20s ease-in-out infinite alternate;
}

.hero-card-image:hover img {
  transform: scale(1.1);
}

@keyframes slowZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}

/* Score Overlay - Glass Effect */
.hero-card-score {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(20, 20, 30, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-card-score.glass {
  background: rgba(30, 30, 40, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-score-number {
  font-family: 'Geist', sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.hero-score-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.hero-score-title {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

.hero-score-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.hero-score-stat {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}

.hero-score-stat svg {
  width: 12px;
  height: 12px;
  opacity: 0.6;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-enterprise-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    transform: translateY(40px);
  }

  .hero-card-image {
    min-height: 300px;
  }

  .hero-enterprise-container {
    padding: 40px 24px 24px;
    border-radius: 24px;
  }
}

@media (max-width: 768px) {
  .hero-enterprise {
    padding: 0 16px 40px;
  }

  .hero-enterprise-container {
    padding: 32px 20px 20px;
  }

  .hero-enterprise-title {
    font-size: 32px;
  }

  .hero-enterprise-subtitle {
    font-size: 16px;
  }


  .hero-enterprise-trust {
    flex-direction: column;
    gap: 12px;
  }

  .hero-enterprise-rating {
    align-items: center;
  }

  .hero-card-dashboard {
    padding: 20px;
  }

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

/* =================================
   FEATURES PROBLEMS SECTION
   ================================= */

.features-problems {
  background: #f5f5f5;
  padding: 100px 24px 80px;
}

.features-problems-container {
  max-width: 1200px;
  margin: 0 auto;
}

.features-problems-header {
  text-align: center;
  margin-bottom: 60px;
}

.features-problems-title {
  font-family: 'Geist', sans-serif !important;
  font-size: 52px;
  font-weight: 500;
  line-height: 1.1;
  color: #141414;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.features-problems-subtitle {
  font-size: 18px;
  color: #525252;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.features-problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.feature-problem-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  border: 1px solid #e5e5e5;
  transition: box-shadow 0.3s ease;
}

.feature-problem-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.feature-problem-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  min-height: 200px;
}

.feature-problem-content {
  margin-top: auto;
}

.feature-problem-title {
  font-family: 'Geist', sans-serif !important;
  font-size: 20px;
  font-weight: 500;
  color: #141414;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.feature-problem-description {
  font-size: 16px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* Visual 1: Centralized - hub with connected icons */
.tools-visual {
  position: relative;
  width: 220px;
  height: 200px;
}

.tool-icon {
  position: absolute;
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e5e5;
}

.tool-icon svg {
  width: 24px;
  height: 24px;
  fill: #333;
}

/* nth-child starts at 2 because tools-lines is child 1 */
.tool-icon:nth-child(2) { top: 0; left: 50%; transform: translateX(-50%); }
.tool-icon:nth-child(3) { top: 40px; left: 0; }
.tool-icon:nth-child(4) { top: 40px; right: 0; left: auto; }
.tool-icon:nth-child(5) { top: 100px; left: 0; }
.tool-icon:nth-child(6) { top: 100px; right: 0; left: auto; }
.tool-icon:nth-child(7) { bottom: 0; left: 50%; transform: translateX(-50%); }

.tools-lines {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.tools-lines svg {
  width: 100%;
  height: 100%;
}

/* Visual 2: Priority Clarity - speech bubbles */
.clarity-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.clarity-bubbles {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.clarity-bubble {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.clarity-question {
  font-family: 'Geist', serif;
  font-style: italic;
  font-size: 18px;
  color: #888;
  margin-top: 16px;
}

/* Visual 3: No Progress - line chart */
.progress-visual {
  width: 100%;
  max-width: 280px;
}

.progress-chart {
  position: relative;
}

.progress-chart svg {
  width: 100%;
  height: auto;
}

.progress-times {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding: 0 10px;
}

.progress-time {
  font-size: 12px;
  color: #999;
}

/* Bottom Banner */
.features-problems-banner {
  background: #fff;
  border-radius: 16px;
  padding: 32px 40px;
  text-align: center;
  border: 1px solid #e5e5e5;
}

.features-problems-banner p {
  font-size: 18px;
  color: #525252;
  margin: 0;
  line-height: 1.6;
}

.features-problems-banner strong {
  color: #141414;
}

/* Responsive */
@media (max-width: 992px) {
  .features-problems-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .features-problems-title {
    font-size: 38px;
  }

  .feature-problem-card {
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .features-problems {
    padding: 60px 16px 50px;
  }

  .features-problems-title {
    font-size: 32px;
  }

  .features-problems-subtitle {
    font-size: 16px;
  }

  .feature-problem-card {
    padding: 24px;
  }

  .features-problems-banner {
    padding: 24px 20px;
  }

  .features-problems-banner p {
    font-size: 16px;
  }
}

/* =================================
   FEATURES SECTION ANIMATIONS
   ================================= */

/* Card entrance animations */
.feature-problem-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-problem-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-problem-card:nth-child(1) { transition-delay: 0s; }
.feature-problem-card:nth-child(2) { transition-delay: 0.15s; }
.feature-problem-card:nth-child(3) { transition-delay: 0.3s; }

/* Header animations */
.features-problems-header {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.features-problems-header.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Banner animation */
.features-problems-banner {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: 0.5s;
}

.features-problems-banner.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== CARD 1: Hub Animation ====== */
.center-hub {
  transform: scale(0);
  transform-origin: 110px 100px;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: 0.3s;
}

.connect-line {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.6s ease;
}

.connect-line:nth-child(1) { transition-delay: 0.5s; }
.connect-line:nth-child(2) { transition-delay: 0.6s; }
.connect-line:nth-child(3) { transition-delay: 0.7s; }
.connect-line:nth-child(4) { transition-delay: 0.8s; }
.connect-line:nth-child(5) { transition-delay: 0.9s; }
.connect-line:nth-child(6) { transition-delay: 1.0s; }

.feature-problem-card.visible .center-hub {
  transform: scale(1);
}

.feature-problem-card.visible .connect-line {
  stroke-dashoffset: 0;
}

.tool-icon {
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-problem-card.visible .tool-icon:nth-child(2) { opacity: 1; transform: scale(1); transition-delay: 0.6s; }
.feature-problem-card.visible .tool-icon:nth-child(3) { opacity: 1; transform: scale(1); transition-delay: 0.7s; }
.feature-problem-card.visible .tool-icon:nth-child(4) { opacity: 1; transform: scale(1); transition-delay: 0.8s; }
.feature-problem-card.visible .tool-icon:nth-child(5) { opacity: 1; transform: scale(1); transition-delay: 0.9s; }
.feature-problem-card.visible .tool-icon:nth-child(6) { opacity: 1; transform: scale(1); transition-delay: 1.0s; }
.feature-problem-card.visible .tool-icon:nth-child(7) { opacity: 1; transform: scale(1); transition-delay: 1.1s; }

/* ====== CARD 2: Bubbles Pop In ====== */
.clarity-bubble {
  opacity: 0;
  transform: translateY(10px) scale(0.8);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-problem-card.visible .clarity-bubbles:nth-child(1) .clarity-bubble:nth-child(1) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.4s;
}

.feature-problem-card.visible .clarity-bubbles:nth-child(1) .clarity-bubble:nth-child(2) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.6s;
}

.feature-problem-card.visible .clarity-bubbles:nth-child(2) .clarity-bubble {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.8s;
}

.clarity-question {
  opacity: 0;
  transition: opacity 0.5s ease;
  transition-delay: 1s;
}

.feature-problem-card.visible .clarity-question {
  opacity: 1;
}

/* ====== CARD 3: Line Draw Animation ====== */
.progress-line {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transition: stroke-dashoffset 1.2s ease-out;
  transition-delay: 0.3s;
}

.feature-problem-card.visible .progress-line {
  stroke-dashoffset: 0;
}

.progress-endpoint {
  opacity: 0;
  transform: scale(0);
  transform-origin: 245px 30px;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: 1.4s;
}

.feature-problem-card.visible .progress-endpoint {
  opacity: 1;
  transform: scale(1);
}

.progress-times {
  opacity: 0;
  transition: opacity 0.4s ease;
  transition-delay: 0.2s;
}

.feature-problem-card.visible .progress-times {
  opacity: 1;
}

/* =================================
   ERP BRIDGE SECTION
   ================================= */

.erp-bridge-section {
  background: #fff;
  padding: 100px 24px;
}

.erp-bridge-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

/* Visual - Split into 2 columns 50/50 */
.erp-bridge-visual {
  display: grid;
  grid-template-columns: 50% 50%;
  height: 520px;
  border-radius: 16px;
  overflow: hidden;
}

/* Column 1: Landscape + Stack */
.erp-bridge-col-left {
  position: relative;
  overflow: hidden;
}

.erp-bridge-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.erp-bridge-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(100,100,100,0.2) 0%, rgba(40,40,40,0.4) 100%);
  z-index: 1;
}

/* Glass Circles */
.erp-glass-circles {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 3;
}

.erp-glass-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.erp-glass-circle img {
  max-width: 65px;
  max-height: 35px;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.2);
}

.erp-glass-circle span {
  font-family: 'Geist', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.erp-bridge-shadow {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80%;
  height: 70%;
  background: radial-gradient(ellipse at bottom left, rgba(0, 0, 0, 0.5) 0%, transparent 70%);
  z-index: 2;
  pointer-events: none;
}

.erp-bridge-stack-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  perspective: 1000px;
  z-index: 3;
}

.erp-bridge-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: rotateY(-18deg) rotateX(5deg);
  transform-style: preserve-3d;
}

.erp-bridge-card {
  background: rgba(255, 255, 255, 0.97);
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  position: relative;
}

/* Blurred text effect */
.erp-bridge-card::before {
  position: absolute;
  right: calc(100% + 15px);
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  filter: blur(1.5px);
  white-space: nowrap;
}

.erp-bridge-card:nth-child(1)::before { content: 'Proceso manual'; }
.erp-bridge-card:nth-child(2)::before { content: 'Excel complejo'; }
.erp-bridge-card:nth-child(3)::before { content: 'Portal SAT'; }
.erp-bridge-card:nth-child(4)::before { content: 'Emails perdidos'; }
.erp-bridge-card:nth-child(5)::before { content: 'Notas en papel'; }
.erp-bridge-card:nth-child(6)::before { content: 'Datos dispersos'; }
.erp-bridge-card:nth-child(7)::before { content: 'Llamadas diarias'; }
.erp-bridge-card:nth-child(8)::before { content: 'Validar uno a uno'; }

/* Column 2: Light bg + Pills Carousel */
.erp-bridge-col-right {
  position: relative;
  background: linear-gradient(180deg, #f8f8f8 0%, #f0f0f0 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Carousel container */
.erp-bridge-carousel {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* Workflow Pills Track */
.erp-bridge-pills-track {
  display: flex;
  gap: 12px;
  animation: scrollPills 20s linear infinite;
  width: max-content;
}

@keyframes scrollPills {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.erp-bridge-pill {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 100px;
  padding: 12px 20px;
  font-family: 'Geist', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

/* Right Content */
.erp-bridge-content {
  max-width: 500px;
}

.erp-bridge-title {
  font-family: 'Geist', sans-serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.15;
  color: #141414;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.erp-bridge-desc {
  font-size: 17px;
  color: #525252;
  line-height: 1.65;
  margin: 0 0 36px;
}

.erp-bridge-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.erp-bridge-trust {
  display: flex;
  align-items: center;
  gap: 12px;
}

.erp-bridge-avatars {
  display: flex;
}

.erp-bridge-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-left: -10px;
}

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

.erp-bridge-trust-text {
  font-size: 14px;
  color: #525252;
}

.erp-bridge-trust-text strong {
  color: #141414;
}

/* Responsive */
@media (max-width: 900px) {
  .erp-bridge-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .erp-bridge-visual {
    height: 400px;
  }

  .erp-bridge-pills-track {
    gap: 10px;
  }

  .erp-bridge-title {
    font-size: 34px;
  }
}

@media (max-width: 600px) {
  .erp-bridge-section {
    padding: 60px 16px;
  }

  .erp-bridge-visual {
    height: 320px;
    grid-template-columns: 50% 50%;
  }

  .erp-bridge-stack {
    transform: rotateY(-12deg) rotateX(3deg);
    gap: 5px;
  }

  .erp-bridge-card {
    padding: 10px 16px;
    font-size: 12px;
  }

  .erp-bridge-card::before {
    display: none;
  }

  .erp-bridge-pill {
    padding: 10px 14px;
    font-size: 11px;
  }

  .erp-bridge-pills-track {
    gap: 8px;
  }

  .erp-bridge-title {
    font-size: 28px;
  }

  .erp-bridge-desc {
    font-size: 15px;
  }

  .erp-bridge-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* =================================
   API BENEFITS SECTION - Cards Grid
   ================================= */

.api-benefits-section {
  background: #0a0a0a;
  padding: 100px 24px;
}

.api-benefits-container {
  max-width: 1200px;
  margin: 0 auto;
}

.api-benefits-header {
  text-align: center;
  margin-bottom: 60px;
}

.api-benefits-title {
  font-family: 'Geist', sans-serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 500;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 16px 0 0;
}

.api-benefits-title .text-muted {
  color: rgba(255, 255, 255, 0.4);
}

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

.api-benefit-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.api-benefit-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.api-benefit-illustration {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.api-benefit-title {
  font-family: 'Geist', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
}

.api-benefit-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  margin: 0;
}

/* Benefit Illustrations */
.api-benefit-illustration .api-code-block {
  width: 100%;
  font-size: 11px;
}

.api-benefit-illustration .code-content {
  font-size: 10px;
  line-height: 1.5;
  padding: 12px;
}

/* Validation Visual */
.api-benefit-illustration .validation-list {
  width: 100%;
}

/* Catalog Grid Visual */
.api-benefit-illustration .catalog-grid {
  width: 100%;
}

/* Currency Visual */
.api-benefit-illustration .currency-simple {
  width: 100%;
}

/* Webhook Visual */
.webhook-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.webhook-event {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border-left: 3px solid #cef17b;
}

.webhook-dot {
  width: 8px;
  height: 8px;
  background: #cef17b;
  border-radius: 50%;
  animation: webhookPulse 2s ease-in-out infinite;
}

.webhook-event:nth-child(2) .webhook-dot {
  animation-delay: 0.3s;
}

.webhook-event:nth-child(3) .webhook-dot {
  animation-delay: 0.6s;
}

@keyframes webhookPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1); }
}

.webhook-text {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
}

/* Update Visual */
.update-visual {
  text-align: center;
  width: 100%;
}

.update-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: rgba(206, 241, 123, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cef17b;
}

.update-icon svg {
  width: 24px;
  height: 24px;
}

.update-text {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.update-version {
  font-family: 'Geist', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

.update-subtext {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}

/* CTA Button */
.api-benefits-cta {
  text-align: center;
  margin-top: 48px;
}

/* Responsive */
@media (max-width: 991px) {
  .api-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .api-benefits-section {
    padding: 60px 16px;
  }

  .api-benefits-grid {
    grid-template-columns: 1fr;
  }

  .api-benefits-header {
    margin-bottom: 40px;
  }

  .api-benefit-card {
    padding: 20px;
  }

  .api-benefit-illustration {
    min-height: 140px;
  }
}

/* =================================
   API STACKING CARDS - Dark Theme
   ================================= */

.api-stacking-cards-section {
  padding: 80px 24px 120px;
  background: #0a0a0a;
}

.api-stacking-cards-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.api-stack-card {
  background: #141414;
  border-radius: 24px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* Sticky stacking effect */
  position: sticky;
  top: 100px;
  margin-bottom: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Stacking order with z-index */
.api-stack-card:nth-child(1) { z-index: 1; }
.api-stack-card:nth-child(2) { z-index: 2; }
.api-stack-card:nth-child(3) { z-index: 3; }
.api-stack-card:nth-child(4) { z-index: 4; }

.api-stack-card-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.api-stack-card-tag {
  display: inline-block;
  font-family: 'Geist Mono', monospace;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: fit-content;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.api-stack-card-title {
  font-family: 'Geist', sans-serif !important;
  font-size: 44px;
  font-weight: 500;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}

.api-stack-card-description {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  max-width: 420px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}

.api-stack-card-content .button-primary-12 {
  margin-top: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s, background 0.2s ease, color 0.2s ease;
}

/* Animate in when card is in view */
.api-stack-card.in-view .api-stack-card-tag,
.api-stack-card.in-view .api-stack-card-title,
.api-stack-card.in-view .api-stack-card-description,
.api-stack-card.in-view .button-primary-12 {
  opacity: 1;
  transform: translateY(0);
}

/* Card Visual Area */
.api-stack-card-visual {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px;
}

/* Code Window */
.api-stack-code-window {
  background: #0f0f0f;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  width: 100%;
}

.api-stack-code-window .code-header {
  background: #1a1a1a;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.api-stack-code-window .code-title {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  margin-left: auto;
  font-family: 'Geist Mono', monospace;
}

.api-stack-code-window .code-content {
  padding: 20px;
  font-family: 'Inconsolata', 'Monaco', monospace;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  overflow-x: auto;
}

/* Validation Visual */
.api-validation-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.validation-check-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 18px;
  transition: all 0.3s ease;
}

.validation-check-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.validation-check-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.validation-check-icon.valid {
  background: rgba(206, 241, 123, 0.15);
  color: #cef17b;
}

.validation-check-icon.processing {
  background: rgba(255, 255, 255, 0.1);
}

.validation-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.validation-check-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.validation-check-label {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.validation-check-value {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Geist Mono', monospace;
}

.validation-badge {
  font-size: 11px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 100px;
  flex-shrink: 0;
}

.validation-badge.valid {
  background: rgba(206, 241, 123, 0.15);
  color: #cef17b;
}

.validation-badge.processing {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

.validation-check-item.processing {
  opacity: 0.7;
}

/* Catalog Visual */
.api-catalog-visual {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.catalog-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 14px 18px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

.catalog-search-bar svg {
  opacity: 0.5;
}

.catalog-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.catalog-result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px 18px;
  transition: all 0.2s ease;
}

.catalog-result-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.catalog-result-code {
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  color: #cef17b;
  font-weight: 500;
  min-width: 80px;
}

.catalog-result-name {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.catalog-footer {
  text-align: center;
  padding-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* Webhook Visual */
.api-webhook-visual {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.webhook-event-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px 18px;
  transition: all 0.3s ease;
}

.webhook-event-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.webhook-event-item.incoming {
  background: rgba(206, 241, 123, 0.05);
  border-color: rgba(206, 241, 123, 0.2);
}

.webhook-event-dot {
  width: 10px;
  height: 10px;
  background: #cef17b;
  border-radius: 50%;
  flex-shrink: 0;
}

.webhook-event-dot.pulse {
  animation: webhookPulse 1.5s ease-in-out infinite;
}

.webhook-event-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.webhook-event-type {
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  color: #fff;
  font-weight: 500;
}

.webhook-event-time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.webhook-event-status {
  font-size: 11px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 100px;
  flex-shrink: 0;
}

.webhook-event-status.success {
  background: rgba(206, 241, 123, 0.15);
  color: #cef17b;
}

.webhook-event-status.pending {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 991px) {
  .api-stack-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
    min-height: auto;
    position: relative;
    top: 0;
  }

  .api-stack-card-title {
    font-size: 36px;
  }

  .api-stack-card-visual {
    min-height: 320px;
  }
}

@media (max-width: 600px) {
  .api-stacking-cards-section {
    padding: 60px 16px 80px;
  }

  .api-stack-card {
    padding: 24px;
    margin-bottom: 24px;
    border-radius: 16px;
  }

  .api-stack-card-title {
    font-size: 28px;
  }

  .api-stack-card-description {
    font-size: 15px;
  }

  .api-stack-card-visual {
    min-height: 280px;
    padding: 16px;
  }

  .api-stack-code-window .code-content {
    font-size: 11px;
    padding: 14px;
  }

  .validation-check-item {
    padding: 12px 14px;
  }

  .validation-check-label {
    font-size: 13px;
  }

  .validation-badge {
    padding: 4px 8px;
    font-size: 10px;
  }
}

/* =================================
   API BENEFITS GRID SECTION
   ================================= */

.api-benefits-grid-section {
  background: #0a0a0a;
  padding: 100px 24px;
}

.api-benefits-grid-container {
  max-width: 1200px;
  margin: 0 auto;
}

.api-benefits-grid-header {
  margin-bottom: 60px;
}

.api-benefits-label {
  font-family: 'Geist Mono', monospace;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-bottom: 16px;
}

.api-benefits-grid-title {
  font-family: 'Geist', sans-serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 500;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 700px;
}

.api-benefits-grid-title .text-muted {
  color: rgba(255, 255, 255, 0.4);
}

.api-benefits-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.api-benefit-grid-card {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}

.api-benefit-grid-card:hover {
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.1);
}

.api-benefit-grid-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.8);
}

.api-benefit-grid-icon svg {
  width: 24px;
  height: 24px;
}

.api-benefit-grid-title {
  font-family: 'Geist', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.api-benefit-grid-desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .api-benefits-grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .api-benefits-grid-section {
    padding: 60px 16px;
  }

  .api-benefits-grid-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .api-benefits-grid-header {
    margin-bottom: 40px;
  }

  .api-benefit-grid-card {
    padding: 24px;
  }

  .api-benefit-grid-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
  }

  .api-benefit-grid-title {
    font-size: 17px;
  }

  .api-benefit-grid-desc {
    font-size: 14px;
  }
}

/* =================================
   API TESTIMONIALS SECTION
   ================================= */

.api-testimonials-section {
  background: #0a0a0a;
  padding: 100px 24px;
}

.api-testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
}

.api-testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.api-testimonials-title {
  font-family: 'Geist', sans-serif;
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 500;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 16px 0 0;
}

/* Grid V2 - Cards con imagen de fondo */
.api-testimonials-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.api-testimonial-card-v2 {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  height: 520px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.api-testimonial-card-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.1) 100%);
}

.api-testimonial-quote-card {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
}

.api-testimonial-quote-text {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #111;
  line-height: 1.5;
  margin: 0 0 16px;
}

.api-testimonial-company {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #111;
  letter-spacing: 0.5px;
  margin: 0 0 20px;
}

.api-testimonial-metric-block {
  border-top: 1px solid #e5e5e5;
  padding-top: 16px;
}

.api-testimonial-metric-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  color: #666;
  margin: 0 0 4px;
}

.api-testimonial-metric-value {
  font-family: 'Geist', sans-serif;
  font-size: 36px;
  font-weight: 500;
  color: #111;
  margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .api-testimonials-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .api-testimonial-card-v2 {
    height: 480px;
  }
}

@media (max-width: 767px) {
  .api-testimonials-grid-v2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .api-testimonial-card-v2 {
    height: 450px;
  }
}

@media (max-width: 600px) {
  .api-testimonials-section {
    padding: 60px 16px;
  }

  .api-testimonials-header {
    margin-bottom: 40px;
  }

  .api-testimonial-card-v2 {
    height: 400px;
  }

  .api-testimonial-quote-card {
    padding: 18px;
  }

  .api-testimonial-quote-text {
    font-size: 15px;
  }

  .api-testimonial-metric-value {
    font-size: 28px;
  }
}

/* =================================
   API DEVELOPER TOOLS SECTION
   ================================= */

.api-dev-tools-section {
  background: #0f0f0f;
  padding: 100px 24px;
}

.api-dev-tools-container {
  max-width: 1200px;
  margin: 0 auto;
}

.api-dev-tools-header {
  text-align: center;
  margin-bottom: 60px;
}

.api-dev-tools-title {
  font-family: 'Geist', sans-serif;
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 500;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 16px 0 20px;
}

.api-dev-tools-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.api-dev-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.api-dev-tool-card {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.api-dev-tool-mockup {
  padding: 32px 32px 0;
  background: linear-gradient(180deg, #1a1a1a 0%, #141414 100%);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.api-dev-tool-content {
  padding: 28px 32px 32px;
}

.api-dev-tool-title {
  font-family: 'Geist', sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  margin: 0 0 10px;
}

.api-dev-tool-desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.55;
  margin: 0;
}

/* Code Block Mockup */
.api-dev-code-block {
  background: #0a0a0a;
  border-radius: 12px 12px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  overflow: hidden;
  min-height: 280px;
}

.api-dev-code-tabs {
  display: flex;
  gap: 0;
  background: #1a1a1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.api-dev-tab {
  padding: 12px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
}

.api-dev-tab.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border-bottom-color: #cef17b;
}

.api-dev-code-content {
  padding: 20px;
  font-family: 'Inconsolata', 'Monaco', monospace;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  overflow-x: auto;
}

.api-dev-code-content .code-comment {
  color: rgba(255, 255, 255, 0.4);
}

.api-dev-code-content .code-keyword {
  color: #c792ea;
}

.api-dev-code-content .code-string {
  color: #c3e88d;
}

.api-dev-code-content .code-number {
  color: #f78c6c;
}

/* Sandbox Mockup */
.api-dev-sandbox {
  background: #0a0a0a;
  border-radius: 12px 12px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  overflow: hidden;
  min-height: 280px;
}

.api-sandbox-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #1a1a1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.api-sandbox-dots {
  display: flex;
  gap: 6px;
}

.api-sandbox-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.api-sandbox-dots span:nth-child(1) { background: #ff5f56; }
.api-sandbox-dots span:nth-child(2) { background: #ffbd2e; }
.api-sandbox-dots span:nth-child(3) { background: #27ca40; }

.api-sandbox-url {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.api-sandbox-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.api-sandbox-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
}

.api-sandbox-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.api-sandbox-value {
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  color: #fff;
}

.api-sandbox-badge {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.api-sandbox-badge.success {
  background: rgba(206, 241, 123, 0.15);
  color: #cef17b;
}

.api-sandbox-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.api-sandbox-btn {
  flex: 1;
  padding: 12px 16px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.2s ease;
}

.api-sandbox-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.api-sandbox-btn.primary {
  background: #cef17b;
  color: #0a0a0a;
}

.api-sandbox-btn.primary:hover {
  background: #d8f590;
}

/* Responsive */
@media (max-width: 991px) {
  .api-dev-tools-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .api-dev-tools-section {
    padding: 60px 16px;
  }

  .api-dev-tools-header {
    margin-bottom: 40px;
  }

  .api-dev-tool-mockup {
    padding: 24px 24px 0;
  }

  .api-dev-tool-content {
    padding: 24px;
  }

  .api-dev-tool-title {
    font-size: 20px;
  }

  .api-dev-code-content {
    font-size: 11px;
    padding: 16px;
  }

  .api-dev-code-block,
  .api-dev-sandbox {
    min-height: 240px;
  }
}

/* =================================
   API CONOCE GIGSTACK SECTION
   ================================= */

.api-conoce-section {
  background: #0a0a0a;
  padding: 100px 24px;
}

.api-conoce-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.api-conoce-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 48px;
  text-align: left;
  max-width: 950px;
  margin: 0 auto;
}

.api-conoce-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .api-conoce-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 40px;
  }
}

@media (max-width: 600px) {
  .api-conoce-section {
    padding: 60px 16px;
  }

  .api-conoce-features-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .api-conoce-container h2 {
    font-size: 32px !important;
  }
}

/* =================================
   INTEGRATIONS CAROUSEL SECTION
   ================================= */

/* =================================
   INTEGRATIONS HERO - FLOW ANIMATION
   ================================= */

.integrations-hero-section {
  background: #fff;
  padding: 80px 24px 20px;
  overflow: hidden;
  position: relative;
}

/* Floating Icons */
.hero-floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.floating-icon-wrapper {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

.floating-icon-wrapper svg {
  width: 24px;
  height: 24px;
  stroke: #9ca3af;
  opacity: 0.6;
}

.floating-icon-wrapper.float-pos-1 {
  top: 15%;
  left: 8%;
  animation-delay: 0s;
}

.floating-icon-wrapper.float-pos-2 {
  top: 25%;
  left: 18%;
  animation-delay: 1s;
}

.floating-icon-wrapper.float-pos-3 {
  top: 10%;
  right: 15%;
  animation-delay: 0.5s;
}

.floating-icon-wrapper.float-pos-4 {
  top: 30%;
  right: 8%;
  animation-delay: 1.5s;
}

.floating-icon-wrapper.float-pos-5 {
  bottom: 30%;
  left: 12%;
  animation-delay: 2s;
}

.floating-icon-wrapper.float-pos-6 {
  bottom: 25%;
  right: 12%;
  animation-delay: 2.5s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

@media (max-width: 768px) {
  .hero-floating-icons {
    display: none;
  }
}

.integrations-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.integrations-hero-title {
  font-family: 'Geist', sans-serif !important;
  font-size: 55px;
  font-weight: 500;
  line-height: 1.15;
  color: #111;
  letter-spacing: -0.02em;
  margin: 0 0 20px 0;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.integrations-hero-title .highlight {
  color: #044737;
}

.integrations-hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  max-width: 580px;
  margin: 0 auto 0 auto;
}

/* Integration Flow Container */
.integration-flow-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 400px;
  margin: 0 auto;
}

/* SVG Lines */
.integration-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.flow-line {
  fill: none;
  stroke: #e0e0e0;
  stroke-width: 2.5;
  stroke-linecap: round;
}


/* Logo containers */
.flow-logo {
  position: absolute;
  width: 70px;
  height: 70px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.flow-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
}

/* Center logo */
.flow-logo-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  z-index: 3;
}

.center-logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(206, 241, 123, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.center-logo-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #044737 0%, #033528 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(4, 71, 55, 0.3);
}

.center-logo-icon span {
  font-family: 'Russo One', sans-serif;
  font-size: 36px;
  color: #cef17b;
  margin-top: -4px;
}


/* Responsive */
@media (max-width: 768px) {
  .integrations-hero-title {
    font-size: 32px;
  }

  .integration-flow-container {
    height: 300px;
  }

  .flow-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
  }

  .flow-logo img {
    width: 28px;
    height: 28px;
  }

  .center-logo-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
  }

  .center-logo-icon span {
    font-size: 28px;
    margin-top: -3px;
  }
}

/* Old carousel styles - keep for reference */
.integrations-carousel-section {
  background: #fff;
  padding: 80px 24px 60px;
  overflow: hidden;
  position: relative;
}

/* Reduce space for integration cards section */
.integrations-cards-section {
  padding-top: 0 !important;
  margin-top: 0 !important;
  padding-bottom: 40px !important;
}

.integrations-cards-section .section-regular-2 {
  padding-top: 40px !important;
}

.integrations-cards-section .container-large-4 {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 80px !important;
}

.integrations-cards-section .grid-three-column-3 {
  gap: 14px !important;
}

/* Integration Filter Tabs - Shadcn Style */
.integration-filter-tabs {
  display: inline-flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 40px;
  background: #f4f4f5;
  padding: 4px;
  border-radius: 8px;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

.integrations-cards-section .container-large-4 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.integration-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #71717a;
  padding: 8px 16px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.integration-tab:hover {
  color: #18181b;
}

.integration-tab.active {
  background: #fff;
  color: #18181b;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.integration-tab svg {
  display: none;
}

/* Hide cards based on filter */
.integration-card-4[data-category="erps"] {
  display: none;
}

.integration-cards-section[data-active-filter="erps"] .integration-card-4[data-category="pasarelas"] {
  display: none !important;
}

.integration-cards-section[data-active-filter="erps"] .integration-card-4[data-category="erps"] {
  display: grid !important;
}

/* =================================
   INTEGRATION CARDS - NEW DESIGN
   ================================= */

.integration-card-4 {
  background: #fff !important;
  border: 1px solid #e8e8e8 !important;
  border-radius: 14px !important;
  padding: 24px !important;
  display: grid !important;
  grid-template-rows: auto auto 1fr auto !important;
  gap: 0 !important;
  min-height: 260px !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
}

.integration-card-4:hover {
  border-color: #ddd !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
}

/* Hide the original title row with icon + button together */
.integration-card-4 .integration-title {
  display: contents !important;
}

/* Icon styling - row 1 */
.integration-card-4 .integration-icon-2 {
  width: 48px !important;
  height: 48px !important;
  background: #fff !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px !important;
  border: none !important;
  margin-bottom: 16px !important;
  grid-row: 1 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08) !important;
}

.integration-card-4 .integration-icon-2 img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* Content div - rows 2 and 3 */
.integration-card-4 > div:last-child {
  display: contents !important;
}

/* Title styling - row 2 */
.integration-card-4 .subheading-large-2 {
  font-family: 'Inter', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #111 !important;
  margin-bottom: 12px !important;
  grid-row: 2 !important;
}

/* Description styling - row 3 */
.integration-card-4 .paragraph-regular-2 {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: #888 !important;
  margin-bottom: 20px !important;
  grid-row: 3 !important;
}

/* Button styling - row 4 */
.integration-card-4 .integration-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
  background: #f0f0f0 !important;
  color: #111 !important;
  padding: 6px 12px !important;
  border-radius: 100px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border: none !important;
  width: fit-content !important;
  transition: all 0.2s ease !important;
  grid-row: 4 !important;
  align-self: start !important;
  margin-top: 4px !important;
}

.integration-card-4 .integration-button:hover {
  background: #e5e5e5 !important;
}

.integration-card-4 .integration-button .integration-button-arrow {
  display: none !important;
}

/* Add + before button text */
.integration-card-4 .integration-button > div:first-child::before {
  content: "+ " !important;
  font-weight: 600 !important;
}

.integrations-carousel-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Title */
.integrations-carousel-title {
  font-family: 'Geist', sans-serif !important;
  font-size: 55px;
  font-weight: 500;
  line-height: 1.15;
  color: #111;
  letter-spacing: -0.02em;
  margin: 0 0 20px 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.integrations-carousel-title .highlight {
  color: #044737;
  display: inline;
}

/* Subtitle */
.integrations-carousel-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  max-width: 580px;
  margin: 0 auto 50px auto;
}

/* Carousel Wrapper */
.integrations-carousel-wrapper {
  position: relative;
  margin-top: 32px;
}

/* Fade edges */
.integrations-carousel-wrapper::before,
.integrations-carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 180px;
  z-index: 10;
  pointer-events: none;
}

.integrations-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, #141414 0%, transparent 100%);
}

.integrations-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(270deg, #141414 0%, transparent 100%);
}

/* Carousel Row */
.integrations-carousel-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  width: max-content;
}

/* Animation Left */
.integrations-carousel-row.scroll-left {
  animation: scrollLeft 35s linear infinite;
}

/* Animation Right */
.integrations-carousel-row.scroll-right {
  animation: scrollRight 35s linear infinite;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Pause on hover */
.integrations-carousel-wrapper:hover .integrations-carousel-row {
  animation-play-state: paused;
}

/* Integration Icon */
.integration-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #f8f8f8;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.integration-icon-circle:hover {
  background: #f0f0f0;
  border-color: #ddd;
  transform: scale(1.08);
}

.integration-icon-circle img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 6px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.integration-icon-circle:hover img {
  filter: grayscale(0%);
  opacity: 1;
}


/* Responsive */
@media (max-width: 768px) {
  .integrations-carousel-section {
    padding: 60px 16px 80px;
  }

  .integrations-carousel-title {
    font-size: 32px;
  }

  .integrations-carousel-subtitle {
    font-size: 16px;
    margin-bottom: 36px;
  }

  .integration-icon-circle {
    width: 64px;
    height: 64px;
  }

  .integration-icon-circle img {
    width: 32px;
    height: 32px;
  }

  .integrations-carousel-row {
    gap: 14px;
    margin-bottom: 14px;
  }

  .integrations-carousel-wrapper::before,
  .integrations-carousel-wrapper::after {
    width: 60px;
  }
}

@media (max-width: 480px) {
  .integrations-carousel-title {
    font-size: 26px;
  }

  .integration-icon-circle {
    width: 56px;
    height: 56px;
  }

  .integration-icon-circle img {
    width: 28px;
    height: 28px;
  }
}

/* =================================
   INTEGRATION BENEFITS SECTION
   ================================= */
.integration-benefits-section {
  background: #fafafa;
  padding: 80px 24px 100px;
}

.integration-benefits-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.benefits-left {
  padding-right: 40px;
}

.benefits-title {
  font-family: 'Geist', sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
  color: #141414;
  margin: 0 0 24px 0;
  letter-spacing: -0.02em;
}

.benefits-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #555;
  margin: 0 0 48px 0;
  max-width: 480px;
}

.benefits-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.benefit-feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #141414;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.benefit-feature-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #141414;
  margin: 8px 0 0 0;
}

.benefit-feature-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* Right column */
.benefits-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefits-testimonial-card {
  background: #eee;
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.benefits-quote {
  font-family: 'Geist', sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.3;
  color: #141414;
  margin: 0;
}

.benefits-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #141414;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  width: fit-content;
}

.benefits-cta-btn:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
}

.benefits-image-card {
  background: url('https://images.unsplash.com/photo-1473773508845-188df298d2d1?w=800&q=80') center/cover no-repeat;
  border-radius: 16px;
  padding: 24px;
  overflow: hidden;
}

.benefits-dashboard-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 900px) {
  .integration-benefits-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .benefits-left {
    padding-right: 0;
  }

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

  .benefits-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .integration-benefits-section {
    padding: 60px 20px;
  }

  .benefits-title {
    font-size: 28px;
  }

  .benefits-quote {
    font-size: 22px;
  }

  .benefits-testimonial-card {
    padding: 28px;
  }
}

/* =================================
   INTEGRATIONS PAGE - RESPONSIVE
   ================================= */

/* Tablet - 991px */
@media (max-width: 991px) {
  .integrations-hero-section {
    padding: 60px 20px 20px;
  }

  .integrations-hero-title {
    font-size: 42px;
    max-width: 500px;
  }

  .integrations-hero-subtitle {
    font-size: 16px;
    max-width: 480px;
  }

  .integrations-cards-section .container-large-4 {
    padding: 0 40px !important;
  }

  .integrations-cards-section .grid-three-column-3 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .integration-filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 100%;
    justify-content: flex-start;
  }

  .integration-filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .integration-tab {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* Mobile - 767px */
@media (max-width: 767px) {
  .integrations-hero-section {
    padding: 40px 16px 20px;
  }

  .integrations-hero-title {
    font-size: 32px;
    max-width: 100%;
  }

  .integrations-hero-subtitle {
    font-size: 15px;
    max-width: 100%;
    padding: 0 10px;
  }

  .integrations-cards-section {
    padding-bottom: 60px !important;
  }

  .integrations-cards-section .section-regular-2 {
    padding-top: 30px !important;
  }

  .integrations-cards-section .container-large-4 {
    padding: 0 16px !important;
  }

  .integrations-cards-section .grid-three-column-3 {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .integration-filter-tabs {
    margin-bottom: 24px;
    padding: 3px;
    gap: 2px;
  }

  .integration-tab {
    padding: 6px 12px;
    font-size: 13px;
  }

  .integration-card-4 {
    padding: 20px !important;
    min-height: auto !important;
  }

  .integration-card-4 .integration-icon-2 {
    width: 44px !important;
    height: 44px !important;
    margin-bottom: 14px !important;
  }

  .integration-card-4 .subheading-large-2 {
    font-size: 15px !important;
    margin-bottom: 10px !important;
  }

  .integration-card-4 .paragraph-regular-2 {
    font-size: 13px !important;
    margin-bottom: 16px !important;
  }

  .integration-card-4 .integration-button {
    padding: 5px 10px !important;
    font-size: 11px !important;
  }

  /* Benefits section mobile */
  .integration-benefits-section {
    padding: 50px 16px 60px;
  }

  .benefits-title {
    font-size: 26px;
    margin-bottom: 16px;
  }

  .benefits-subtitle {
    font-size: 15px;
    margin-bottom: 32px;
  }

  .benefits-features {
    gap: 24px;
  }

  .benefit-icon {
    width: 42px;
    height: 42px;
  }

  .benefit-icon svg {
    width: 22px;
    height: 22px;
  }

  .benefit-feature-title {
    font-size: 15px;
  }

  .benefit-feature-text {
    font-size: 13px;
  }

  .benefits-quote {
    font-size: 20px;
  }

  .benefits-testimonial-card {
    padding: 24px;
    gap: 20px;
  }

  .benefits-cta-btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .benefits-image-card {
    padding: 16px;
  }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
  .integrations-hero-section {
    padding: 30px 12px 16px;
  }

  .integrations-hero-title {
    font-size: 26px;
  }

  .integrations-hero-subtitle {
    font-size: 14px;
  }

  .integrations-cards-section .container-large-4 {
    padding: 0 12px !important;
  }

  .integration-filter-tabs {
    margin-bottom: 20px;
  }

  .integration-tab {
    padding: 5px 10px;
    font-size: 12px;
  }

  .integration-card-4 {
    padding: 16px !important;
  }

  .integration-card-4 .integration-icon-2 {
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 12px !important;
    padding: 6px !important;
  }

  .integration-card-4 .subheading-large-2 {
    font-size: 14px !important;
    margin-bottom: 8px !important;
  }

  .integration-card-4 .paragraph-regular-2 {
    font-size: 12px !important;
    margin-bottom: 14px !important;
    line-height: 1.45 !important;
  }

  .benefits-title {
    font-size: 24px;
  }

  .benefits-subtitle {
    font-size: 14px;
  }

  .benefits-quote {
    font-size: 18px;
  }

  .benefits-testimonial-card {
    padding: 20px;
  }

  .benefits-cta-btn {
    padding: 10px 20px;
    font-size: 13px;
    width: 100%;
    text-align: center;
  }

  /* CTA section mobile adjustments */
  .final-cta-section {
    padding: 30px 12px 50px !important;
  }

  .final-cta-card {
    padding: 40px 20px !important;
    border-radius: 14px !important;
  }

  .final-cta-title {
    font-size: 24px !important;
  }

  .final-cta-subtitle {
    font-size: 13px !important;
  }

  .final-cta-tag {
    font-size: 11px !important;
    padding: 5px 10px !important;
  }

  .integrations-btn.button-secondary-13 {
    padding: 12px 24px !important;
    font-size: 14px !important;
  }
}
