/* ==========================================================================
   BIPP PAITA LANDING PAGE - ULTRA-PRO DESIGN SYSTEM & STYLES
   ========================================================================== */

:root {
  /* Core Colors */
  --bg-landing: #FAFAFA;
  --bg-card: #FFFFFF;
  --brand-orange: #FF5500;
  --brand-orange-hover: #E04A00;
  --brand-orange-light: #FFF0EB;
  --brand-orange-soft: #FFDFCC;
  --brand-gradient: linear-gradient(135deg, #FF6A26 0%, #FF5500 100%);
  
  --text-dark: #111827;
  --text-slate: #374151;
  --text-muted: #6B7280;
  --border-light: #E5E7EB;
  
  /* Typography & Effects */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-handwriting: 'Kalam', cursive;
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.04);
  --shadow-phone: 0 25px 60px rgba(0, 0, 0, 0.08);
  --shadow-orange: 0 10px 25px rgba(255, 85, 0, 0.28);
}

/* Reset & Global */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-landing);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  transition: transform 0.2s ease;
}

button:active {
  transform: scale(0.98);
}

a {
  text-decoration: none;
  color: inherit;
}

.landing-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

/* Ambient Glow Orbs */
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,107,53,0.3) 0%, rgba(255,80,24,0) 70%);
  top: -100px;
  right: -100px;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,184,0,0.22) 0%, rgba(255,80,24,0) 70%);
  top: 900px;
  left: -200px;
}

/* Text Gradient Utility */
.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  width: 100%;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(250, 247, 242, 0.90);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon.small {
  width: 32px;
  height: 32px;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-slate);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--brand-orange);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-pill {
  background-color: #ECFDF5;
  color: #16A34A;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #DCFCE7;
}

.green-dot {
  width: 7px;
  height: 7px;
  background-color: #16A34A;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #16A34A;
}

.btn-login {
  background: white;
  border: 1.5px solid var(--border-light);
  color: var(--text-dark);
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-login:hover {
  border-color: var(--text-dark);
  background: #F8FAFC;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 40px 0 70px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-text-col {
  max-width: 580px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--brand-orange-light);
  color: var(--brand-orange);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 24px;
  border: none;
  letter-spacing: 0.05em;
}

.hero-headline {
  font-size: clamp(3.2rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.text-orange {
  color: var(--brand-orange);
}

.hero-subtext {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-slate);
  margin-bottom: 32px;
  font-weight: 500;
}

.hero-email-form {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  max-width: 480px;
}

.email-input {
  flex: 1;
  padding: 16px 20px;
  border-radius: 100px;
  border: 1px solid var(--border-light);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
  background: white;
}

.email-input:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 4px var(--brand-orange-light);
}

.btn-primary-orange {
  background-color: var(--brand-orange);
  color: white;
  padding: 16px 28px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-orange);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
}

.btn-primary-orange:hover {
  background-color: var(--brand-orange-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(255, 85, 0, 0.35);
}

.btn-primary-orange:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 4px 8px rgba(255, 85, 0, 0.2);
}

.hero-social-proof {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Visual & Phone Mockup */
.hero-visual-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: flex;
  justify-content: center;
}

/* Organic backdrop blob */
.hero-blob {
  position: absolute;
  width: 380px;
  height: 480px;
  background: linear-gradient(135deg, #FF6A38 0%, #FF5018 100%);
  border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  z-index: 1;
  top: 40px;
  opacity: 0.9;
  filter: blur(2px);
}

/* Floating food imagery */
.floating-food {
  position: absolute;
  z-index: 10;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
  border: 4px solid white;
}

.food-top {
  top: 10px;
  right: -20px;
  animation: floatSlow 6s ease-in-out infinite;
}

.food-bottom {
  bottom: 30px;
  left: -20px;
  animation: floatSlow 6s ease-in-out infinite 3s;
}

.floating-food img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Smartphone mockup */
.phone-mockup {
  position: relative;
  z-index: 5;
  width: 290px;
  height: 580px;
  background: white;
  border-radius: 40px;
  box-shadow: var(--shadow-phone);
  border: 10px solid #1E293B;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-speaker {
  width: 80px;
  height: 16px;
  background: #1E293B;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  margin: 0 auto;
  position: relative;
  z-index: 20;
}

.phone-header {
  padding: 14px 16px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-brand {
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-logo-dot {
  width: 22px;
  height: 22px;
  background: var(--brand-orange);
  color: white;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 11px;
}

.phone-app-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.phone-location {
  background: #F1F5F9;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-slate);
}

.phone-search-bar {
  margin: 8px 16px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 0.78rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-categories {
  display: flex;
  gap: 8px;
  padding: 6px 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.phone-categories::-webkit-scrollbar {
  display: none;
}

.phone-cat-item {
  background: #F1F5F9;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--text-slate);
  transition: all 0.2s ease;
}

.phone-cat-item.active {
  background: var(--brand-orange);
  color: white;
}

.phone-cards {
  padding: 8px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  overflow-y: auto;
}

.phone-store-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #F1F5F9;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  transition: transform 0.2s;
}

.phone-store-card.fade-in {
  animation: fadeIn 0.3s ease-in-out;
}

.phone-store-card .card-img {
  height: 90px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.card-badge-open {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(22, 163, 74, 0.9);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

.phone-store-card .card-details {
  padding: 10px;
}

.phone-store-card .card-title {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--text-dark);
}

.phone-store-card .card-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.phone-bottom-nav {
  height: 52px;
  background: white;
  border-top: 1px solid #F1F5F9;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #94A3B8;
  font-size: 0.65rem;
  font-weight: 600;
}

.nav-tab.active {
  color: var(--brand-orange);
}

/* ==========================================================================
   ECOSISTEMA BIPP SECTION
   ========================================================================== */
.ecosistema-section {
  padding: 80px 0;
  background-color: var(--bg-landing);
}

.ecosistema-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  margin-bottom: 50px;
}

.section-header.center {
  text-align: center;
}

.section-tag {
  background-color: transparent;
  color: var(--brand-orange);
  border: 1px solid var(--brand-orange-soft);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.1;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-slate);
  max-width: 600px;
  margin: 0 auto;
}

.ecosistema-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.eco-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 40px 32px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.eco-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.eco-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--brand-orange);
  margin-bottom: 24px;
  line-height: 1;
}

.eco-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.eco-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}



/* ==========================================================================
   INTERACTIVE CALCULATOR SECTION
   ========================================================================== */
.calc-section {
  padding: 80px 0;
  background: white;
  border-y: 1px solid var(--border-light);
}

.calc-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.calc-header {
  text-align: center;
  margin-bottom: 40px;
}

.calc-badge {
  display: inline-block;
  background: var(--brand-orange-light);
  color: var(--brand-orange);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.calc-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.calc-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.calc-card {
  background: #FFFBF7;
  border: 1.5px solid #FDD8C0;
  border-radius: 32px;
  padding: 40px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
}

.calc-slider-group {
  margin-bottom: 36px;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.calc-label strong {
  font-size: 1.5rem;
  color: var(--brand-orange);
  font-weight: 800;
}

#salesRange {
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: #E2E8F0;
  outline: none;
  accent-color: var(--brand-orange);
  cursor: pointer;
}

.calc-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.result-box {
  padding: 24px;
  border-radius: 20px;
  text-align: center;
}

.result-box.other-apps {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}

.result-box.bipp-app {
  background: #FFF2EC;
  border: 2px solid var(--brand-orange);
}

.res-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-slate);
  margin-bottom: 8px;
}

.res-amount {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.res-amount.negative {
  color: #EF4444;
}

.res-amount.positive {
  color: #16A34A;
}

.res-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.res-sub strong {
  color: var(--brand-orange);
}

.calc-cta {
  text-align: center;
}

.calc-cta button {
  width: 100%;
  max-width: 420px;
  justify-content: center;
}

/* ==========================================================================
   FEATURE SPLIT SECTIONS (Usuarios, Locales, Repartidores)
   ========================================================================== */
.feature-split-section {
  padding: 100px 0;
  background-color: var(--bg-landing);
}

.feature-split-section.bg-alt {
  background-color: #FAF8F5;
}

.split-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-reverse .split-content {
  order: 2;
}

.split-reverse .split-image-col {
  order: 1;
}

.feature-tag {
  display: inline-block;
  background-color: transparent;
  color: var(--brand-orange);
  border: 1px solid var(--brand-orange-soft);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.feature-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 36px;
}

.feature-checks {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.f-check-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.f-check-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--brand-orange);
  color: var(--brand-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-top: 2px;
}

.f-check-text h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.f-check-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.split-image-col img {
  width: 100%;
  height: auto;
  border-radius: 32px;
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

.stat-mini-cards {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.stat-mini-card {
  flex: 1;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-mini-card strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--brand-orange);
  margin-bottom: 4px;
}

.stat-mini-card span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-slate);
}

.btn-black {
  background: var(--text-dark);
  color: white;
  border: 1px solid var(--text-dark);
}
.btn-black:hover {
  background: #000;
}

/* ==========================================================================
   FAQ ACCORDION SECTION
   ========================================================================== */
.faq-section {
  padding: 80px 0;
  background-color: var(--bg-landing);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-badge {
  display: inline-block;
  background: var(--brand-orange-light);
  color: var(--brand-orange);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.faq-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.faq-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item.active {
  border-color: var(--brand-orange-soft);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--brand-orange);
  font-weight: 800;
}

.faq-answer {
  padding: 0 28px 24px;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

/* ==========================================================================
   COMING SOON BANNER
   ========================================================================== */
.banner-section {
  padding: 40px 0 80px;
}

.banner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 56px;
  background-color: #FFF5ED;
  border: 1.5px solid #FDD8C0;
  border-radius: 32px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-orange);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.banner-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.banner-description {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.banner-graphic-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.script-text {
  font-family: var(--font-handwriting);
  font-size: 2.2rem;
  color: var(--brand-orange);
  transform: rotate(-4deg);
  margin-bottom: 16px;
  line-height: 1.1;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-section {
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-landing);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--brand-orange);
}

.dot-separator {
  color: #CBD5E1;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-socials a {
  color: var(--text-slate);
  transition: color 0.2s;
}

.footer-socials a:hover {
  color: var(--brand-orange);
}

/* ==========================================================================
   MODAL OVERLAY FOR WA / LEAD FORM
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: white;
  width: 100%;
  max-width: 440px;
  border-radius: 28px;
  padding: 36px 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #F1F5F9;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-badge {
  display: inline-block;
  background: var(--brand-orange-light);
  color: var(--brand-orange);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.modal-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.modal-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--border-light);
  font-size: 0.92rem;
  font-family: inherit;
  margin-bottom: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.modal-input:focus {
  border-color: var(--brand-orange);
}

.btn-primary-orange.full-width {
  width: 100%;
  justify-content: center;
  padding: 16px;
  margin-top: 6px;
}

/* Animations */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: translate(0, 0);
}

.fade-up {
  transform: translateY(40px);
}

.fade-left {
  transform: translateX(40px);
}

.fade-right {
  transform: translateX(-40px);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text-col {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-email-form {
    justify-content: center;
  }

  .ecosistema-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }



  .split-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .split-reverse .split-content {
    order: 1;
  }

  .split-reverse .split-image-col {
    order: 2;
  }

  .banner-container {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    text-align: center;
  }

  .banner-description {
    margin: 0 auto 24px;
  }

  .calc-results-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .footer-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .feature-title {
    font-size: 2.2rem;
  }

  .feature-split-section {
    padding: 60px 0;
  }

  .stat-mini-cards {
    flex-direction: column;
  }

  .hero-headline {
    font-size: 2.8rem;
  }

  .hero-section {
    padding: 20px 0 40px;
  }

  .ecosistema-section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .feature-title {
    font-size: 1.8rem;
  }

  .hero-email-form {
    flex-direction: column;
    width: 100%;
  }

  .modal-card {
    padding: 24px 20px;
    border-radius: 24px;
  }
}
