/* 
  SaaS Clean Design System
  Rediseño Premium para Fundación Colombia Productiva
*/

:root {
  /* Logo-Derived Color Palette (Refined for UI) */
  --co-yellow: #FFCD00; 
  --co-blue: #003087;   
  --co-red: #C8102E;    
  
  /* Modern UI Palette */
  --primary-blue: #2563EB;
  --primary-hover: #1D4ED8;
  --navy-dark: #0B1120;
  --navy-light: #1E293B;
  
  /* Accents */
  --accent-gold: #F59E0B;
  --accent-teal: #0D9488;
  
  /* Backgrounds */
  --bg-color: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-alt: #F1F5F9;
  
  /* Text Colors */
  --text-dark: #0F172A;
  --text-main: #334155;
  --text-muted: #64748B;
  
  --border-light: #E2E8F0;

  /* Typography */
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  
  /* Shadows & Effects */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.3);
  
  --trans: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-md: 12px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
}

h2 { font-size: 2.8rem; margin-bottom: 1rem; font-weight: 700; letter-spacing: -0.02em; }
p { font-size: 1.125rem; }

.highlight-blue { color: var(--primary-blue); }
.highlight-text { 
  color: var(--navy-dark);
  font-weight: 800;
  display: inline-block;
  position: relative;
}
.highlight-text::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(245, 158, 11, 0.3);
  z-index: -1;
  border-radius: 4px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--trans);
  text-decoration: none;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: white;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: var(--bg-color);
  color: var(--navy-dark);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background-color: var(--bg-soft);
  border-color: #CBD5E1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background-color: transparent;
}
.btn-outline:hover {
  background-color: var(--primary-blue);
  color: white;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}
.btn-outline-light:hover {
  border-color: white;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-block { width: 100%; display: block; }

/* --- Navbar --- */
.header-wrapper {
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--trans);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; gap: 2rem;}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: var(--trans);
}

@media (max-width: 768px) {
  .logo-img {
    height: 40px;
  }
}
.logo-stack { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text { 
  font-family: var(--font-heading); 
  font-size: 1.25rem; 
  font-weight: 800; 
  color: var(--navy-dark);
  letter-spacing: -0.5px;
}
.logo-subtext {
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--primary-blue);
  font-weight: 700;
}

.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { 
  text-decoration: none; 
  color: var(--text-main); 
  font-weight: 500; 
  font-size: 0.95rem; 
  transition: var(--trans); 
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-blue);
  transition: var(--trans);
}
.nav-links a:hover { 
  color: var(--primary-blue); 
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-actions { display: flex; gap: 1rem; align-items: center; }

.menu-btn {
  display: none;
  background: none; border: none; font-size: 2rem; color: var(--text-dark); cursor: pointer;
}

/* --- Mobile Nav --- */
.mobile-nav {
  position: fixed; top: 0; right: -100%; width: 100%; max-width: 350px;
  height: 100vh; background: white; z-index: 1000;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  padding: 4rem 2rem; display: flex; flex-direction: column; gap: 1.5rem;
  transition: var(--trans);
}
.mobile-nav.active { right: 0; }
.close-mobile-nav {
  position: absolute; top: 20px; right: 20px;
  background: var(--bg-soft); border: none; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; cursor: pointer;
}
.mobile-nav a.mobile-link { text-decoration: none; font-family: var(--font-heading); font-size: 1.5rem; color: var(--text-dark); font-weight: 700; border-bottom: 1px solid var(--border-light); padding-bottom: 1rem; }

/* --- Hero Section (Premium Dark Theme) --- */
.hero {
  padding: 8rem 0 6rem;
  background: linear-gradient(135deg, var(--navy-dark) 0%, #1e1b4b 100%);
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.15) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5rem;
}

.hero-content { flex: 1.1; }

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: #93C5FD;
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
}

.hero h1 { 
  font-size: 4rem; 
  margin-bottom: 1.5rem; 
  color: white; 
  font-weight: 800; 
  letter-spacing: -0.03em; 
  line-height: 1.1;
}

.text-colombia-flag {
  background: linear-gradient(135deg, #60A5FA, #3B82F6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #93C5FD;
  font-weight: 600;
  margin-bottom: 2rem;
  font-family: var(--font-heading);
}

.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #94A3B8;
}

.bullet-icon {
  font-size: 1.4rem;
  color: #60A5FA;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 2px;
}

.hero-buttons { display: flex; gap: 1rem; margin-bottom: 2.5rem; }

.hero-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #94A3B8;
  margin-bottom: 2rem;
}

.rating-stars {
  color: #F59E0B;
  font-size: 1.1rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #94A3B8;
}

.stat-item i {
  font-size: 1.5rem;
  color: #60A5FA;
}

.stat-item strong {
  color: white;
  font-size: 1.15rem;
  display: block;
}

/* --- Hero 3-Card Visuals Grid --- */
.hero-graphics { flex: 1; position: relative; min-width: 0; }

.hero-visuals-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
  width: 100%;
}

.visual-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* ── CARD 1: Dashboard Slideshow ── */
.v-card-dashboard {
  grid-column: 1;
  grid-row: 1;
  height: 270px;
  display: flex;
  flex-direction: column;
}

.vcard-browser-bar {
  height: 26px;
  background: rgba(203, 213, 225, 0.15);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 8px;
  flex-shrink: 0;
}

.dash-slide-dots {
  display: flex;
  gap: 5px;
  margin-left: auto;
}

.sdot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 0.3s;
}

.sdot.active { background: #60a5fa; }

.dashboard-slideshow {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.dash-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.dash-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Inventory slide items */
.mock-inv-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-inv-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 5px;
  background: white;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  font-size: 0.6rem;
}

.inv-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.inv-dot.green { background: #10b981; }
.inv-dot.orange { background: #f59e0b; }
.inv-dot.red-dot { background: #ef4444; }

.inv-name { flex: 1; color: var(--text-dark); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inv-qty { color: var(--text-muted); font-weight: 600; font-size: 0.58rem; }

/* Transactions slide */
.mock-txn-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-txn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 5px;
  background: white;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  font-size: 0.58rem;
}

.txn-time { color: var(--text-muted); width: 42px; flex-shrink: 0; }
.txn-desc { flex: 1; color: var(--text-dark); font-weight: 500; }
.txn-val { font-weight: 700; }

/* ── CARD 2: Phone Video Recording ── */
.v-card-phone {
  grid-column: 2;
  grid-row: 1;
  height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
}

.phone-frame-wrap {
  position: relative;
  width: 120px;
  height: 240px;
  background: #0f172a;
  border: 6px solid #1e293b;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 20px rgba(37,99,235,0.25);
}

.phone-notch-mini {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 12px;
  background: #1e293b;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  z-index: 20;
}

.phone-video-screen {
  width: 100%; height: 100%;
  position: relative; background: #000; overflow: hidden;
}

.vid-frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}
.vid-frame.active { opacity: 1; z-index: 2; }

.vid-overlay {
  position: absolute; inset: 0;
  z-index: 10; pointer-events: none;
}

/* Camera corner brackets */
.cam-corner { position: absolute; width: 14px; height: 14px; }
.cam-corner.tl { top:14px; left:10px; border-top:2px solid rgba(255,255,255,0.85); border-left:2px solid rgba(255,255,255,0.85); border-top-left-radius:2px; }
.cam-corner.tr { top:14px; right:10px; border-top:2px solid rgba(255,255,255,0.85); border-right:2px solid rgba(255,255,255,0.85); border-top-right-radius:2px; }
.cam-corner.bl { bottom:22px; left:10px; border-bottom:2px solid rgba(255,255,255,0.85); border-left:2px solid rgba(255,255,255,0.85); border-bottom-left-radius:2px; }
.cam-corner.br { bottom:22px; right:10px; border-bottom:2px solid rgba(255,255,255,0.85); border-right:2px solid rgba(255,255,255,0.85); border-bottom-right-radius:2px; }

.rec-badge {
  position: absolute; top:16px; right:12px;
  background: rgba(0,0,0,0.55);
  border-radius: 4px; padding: 2px 5px;
  display: flex; align-items: center; gap: 4px;
  font-size: 0.5rem; font-weight: 700; color: white;
  letter-spacing: 0.5px; font-family: var(--font-heading);
}

.rec-dot {
  width: 6px; height: 6px;
  background: #ef4444; border-radius: 50%;
  animation: blink 1.2s ease-in-out infinite;
}

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

.vid-timer {
  position: absolute; top:16px; left:12px;
  font-size: 0.5rem; font-weight: 700; color: white;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  font-family: monospace; letter-spacing: 1px;
}

.focus-ring {
  position: absolute; top:50%; left:50%;
  transform: translate(-50%, -50%);
  width: 34px; height: 34px;
  border: 1.5px solid rgba(255,255,255,0.55);
  border-radius: 4px;
  animation: focusPulse 3s ease-in-out infinite;
}

@keyframes focusPulse {
  0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%,-50%) scale(1.12); opacity: 0.25; }
}

.vid-bottom-bar {
  position: absolute; bottom: 20px; left:10px; right:10px;
  display: flex; justify-content: space-between;
}

.vid-label {
  display: flex; align-items: center; gap: 2px;
  font-size: 0.45rem; color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 3px rgba(0,0,0,0.8); font-weight: 600;
}

.vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.55) 100%);
}

/* ── CARD 3: Services Infinite Scroll ── */
.v-card-services {
  grid-column: 1 / -1;
  grid-row: 2;
  padding: 6px 0 10px;
}

.svc-scroll-header {
  padding: 6px 14px 6px;
  font-size: 0.65rem; font-weight: 700;
  color: rgba(255,255,255,0.4);
  display: flex; align-items: center; gap: 5px;
  letter-spacing: 0.8px; text-transform: uppercase;
}

.svc-scroll-wrapper {
  width: 100%; overflow: hidden;
  position: relative; padding: 4px 0;
}

.svc-scroll-wrapper::before,
.svc-scroll-wrapper::after {
  content: ''; position: absolute; top:0; height:100%; width:50px; z-index:2; pointer-events:none;
}
.svc-scroll-wrapper::before { left:0; background:linear-gradient(to right, rgba(11,17,32,0.9), transparent); }
.svc-scroll-wrapper::after { right:0; background:linear-gradient(to left, rgba(11,17,32,0.9), transparent); }

.svc-scroll-track {
  display: flex; gap: 8px;
  width: max-content;
  animation: svc-scroll 28s linear infinite;
  padding: 2px 0;
}

.svc-scroll-track:hover { animation-play-state: paused; }

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

.svc-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 4px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; min-width: 78px;
  cursor: pointer; transition: all 0.2s ease;
}

.svc-item:hover {
  background: rgba(37,99,235,0.25);
  border-color: rgba(96,165,250,0.5);
  transform: translateY(-3px);
}

.svc-item i { font-size: 1.3rem; color: #93c5fd; }

.svc-item span {
  font-size: 0.58rem; color: rgba(255,255,255,0.75);
  text-align: center; font-weight: 600;
  line-height: 1.2; white-space: nowrap;
}

/* Floating Badge – kept for potential future use */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}


/* Laptop mock browser window */

.mock-browser-header {
  height: 24px;
  background: #cbd5e1;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
  border-bottom: 1px solid #cbd5e1;
}

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

.mock-browser-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.mock-browser-dots .dot.red { background: #ef4444; }
.mock-browser-dots .dot.yellow { background: #f59e0b; }
.mock-browser-dots .dot.green { background: #10b981; }

.mock-browser-bar {
  background: white;
  font-size: 0.6rem;
  padding: 1px 8px;
  border-radius: 4px;
  flex: 1;
  text-align: center;
  color: #94a3b8;
  max-width: 200px;
  margin: 0 auto;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mock-dashboard {
  flex: 1;
  display: flex;
  font-size: 0.7rem;
  background: #f1f5f9;
}

.mock-sidebar {
  width: 65px;
  background: var(--navy-dark);
  color: #94a3b8;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-logo {
  color: white;
  font-weight: 800;
  font-size: 0.65rem;
  margin-bottom: 8px;
  text-align: center;
}

.mock-menu-item {
  padding: 3px 5px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.55rem;
  display: flex;
  align-items: center;
  gap: 3px;
  transition: 0.2s;
}

.mock-menu-item.active, .mock-menu-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.mock-main {
  flex: 1;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #cbd5e1;
  padding-bottom: 3px;
}

.mock-title {
  font-weight: 700;
  color: var(--navy-dark);
  font-size: 0.7rem;
}

.mock-user {
  font-size: 0.55rem;
  color: var(--text-muted);
}

.mock-metrics {
  display: flex;
  gap: 6px;
}

.mock-card {
  flex: 1;
  background: white;
  padding: 5px 6px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  display: flex;
  flex-direction: column;
}

.card-label {
  font-size: 0.5rem;
  color: var(--text-muted);
}

.card-val {
  font-size: 0.75rem;
  font-weight: 700;
}

.text-green { color: #10b981; }
.text-orange { color: #f59e0b; }

.mock-chart-container {
  background: white;
  padding: 6px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chart-title {
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--navy-dark);
}

.mock-chart-bars {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 42px;
  padding-top: 3px;
  border-bottom: 1px solid #e2e8f0;
}

.mock-bar {
  width: 12%;
  background: #93c5fd;
  border-top-left-radius: 1px;
  border-top-right-radius: 1px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  height: 100%;
}

.mock-bar.active {
  background: var(--primary-blue);
}

.mock-bar span {
  font-size: 0.4rem;
  color: var(--text-muted);
  position: absolute;
  bottom: -10px;
}

/* Scaling the dashboard layout to fit smaller screen dimensions in mobile cards */
@media (max-width: 768px) {
  .laptop-mockup .laptop-screen {
    transform: scale(0.77);
    transform-origin: top left;
    width: 130%;
    height: 130%;
  }
}

@media (max-width: 480px) {
  .laptop-mockup .laptop-screen {
    transform: scale(0.64);
    transform-origin: top left;
    width: 156%;
    height: 156%;
  }
}

/* --- About Section --- */
.about-section { padding: 8rem 0; background: var(--bg-color); }
.about-container { display: flex; align-items: center; gap: 6rem; }
.about-reverse { flex-direction: row-reverse; }
.about-text { flex: 1; }
.about-text h2 { font-size: 3rem; margin-bottom: 1.5rem; }
.about-text p { color: var(--text-muted); margin-bottom: 2rem; font-size: 1.15rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--primary-blue); font-weight: 600; text-decoration: none; font-size: 1.05rem;
}
.link-arrow i { transition: transform 0.2s ease; font-size: 1.3rem; }
.link-arrow:hover i { transform: translateX(5px); }

.about-features { flex: 1.2; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.feature-item {
  background: var(--bg-soft); padding: 2rem; border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--trans);
}
.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  background: white;
}
.f-icon { 
  font-size: 2rem; 
  margin-bottom: 1.5rem; 
  width: 56px; height: 56px;
  background: #EFF6FF;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.text-blue { color: var(--primary-blue); }
.text-yellow { color: var(--accent-gold); background: #FEF3C7; }
.feature-item h4 { font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--navy-dark); }
.feature-item p { color: var(--text-muted); font-size: 0.95rem; margin: 0; line-height: 1.5; }

/* --- SaaS Solutions Tabbed --- */
.solutions-section { padding: 8rem 0; background: var(--bg-soft); }
.section-title { text-align: center; max-width: 650px; margin: 0 auto 4rem; }
.section-title p { color: var(--text-muted); margin-top: 1rem; }

.category-tabs {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 3rem;
  background: white; padding: 8px; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); width: fit-content; margin-left: auto; margin-right: auto;
  border: 1px solid var(--border-light);
}
.tab-btn {
  background: transparent; border: none; padding: 0.75rem 1.5rem; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 500; color: var(--text-muted); cursor: pointer; transition: var(--trans); font-size: 0.95rem;
}
.tab-btn:hover { color: var(--navy-dark); }
.tab-btn.active { background: var(--primary-blue); color: white; box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2); font-weight: 600; }

.tab-pane { display: none; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.tab-pane.active { display: block; }

.solutions-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem;
}

.solution-card {
  background: white; padding: 2rem; border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--trans);
  box-shadow: var(--shadow-sm);
}
.solution-card:hover {
  border-color: #BFDBFE;
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
}
.icon-box {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.5rem;
}

/* Premium Monochromatic / Soft Accents for Icons */
.pastel-blue { background: #EFF6FF; color: var(--primary-blue); }
.pastel-yellow { background: #FFF7ED; color: var(--accent-gold); }
.pastel-red { background: #F0FDF4; color: #16A34A; } /* Swapped red to a fresh green for positivity */

.solution-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--navy-dark); }
.solution-card p { font-size: 0.95rem; color: var(--text-muted); margin: 0; }

/* --- CTA Banner --- */
.cta-banner { padding: 4rem 0 8rem; background: var(--bg-soft); }
.cta-bg {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #1E3A8A 100%);
  border-radius: var(--radius-xl); padding: 5rem 3rem; text-align: center; color: white;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.cta-bg::before {
  content: ''; position: absolute; top: 0; right: 0; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%; transform: translate(30%, -30%);
}
.cta-content { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
.cta-content h2 { color: white; margin-bottom: 1rem; font-size: 2.5rem; }
.cta-content p { color: #DBEAFE; margin-bottom: 2.5rem; font-size: 1.15rem; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; }
.cta-actions .btn-primary { background: white; color: var(--primary-blue); }
.cta-actions .btn-primary:hover { background: var(--bg-soft); transform: translateY(-2px); }

/* --- Footer --- */
footer { background: white; padding: 4rem 0 2rem; border-top: 1px solid var(--border-light); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand p { margin-top: 1.5rem; color: var(--text-muted); max-width: 300px; font-size: 0.95rem;}
.footer-links h4 { margin-bottom: 1.5rem; font-size: 1.05rem; color: var(--navy-dark); }
.footer-links a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 0.75rem; font-size: 0.95rem; transition: var(--trans); }
.footer-links a:hover { color: var(--primary-blue); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border-light); padding-top: 2rem;
  color: var(--text-muted); font-size: 0.9rem;
}
.social-icons i { font-size: 1.3rem; margin-left: 1rem; cursor: pointer; transition: color 0.2s; color: var(--text-muted); }
.social-icons i:hover { color: var(--primary-blue); }

/* --- Aliados Section --- */
.aliados-section { padding: 4rem 0 6rem; background: white; overflow: hidden; }
.aliados-carousel-wrapper { width: 100%; overflow: hidden; position: relative; padding: 2rem 0; }
.aliados-carousel-wrapper::before,
.aliados-carousel-wrapper::after {
    content: ''; position: absolute; top: 0; width: 100px; height: 100%; z-index: 2; pointer-events: none;
}
.aliados-carousel-wrapper::before { left: 0; background: linear-gradient(to right, white, transparent); }
.aliados-carousel-wrapper::after { right: 0; background: linear-gradient(to left, white, transparent); }

.aliados-carousel-track {
    display: flex; gap: 4rem; width: max-content;
    animation: scroll-left 40s linear infinite;
    align-items: center;
}

.aliados-carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 2rem)); }
}

.aliado-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 1rem; width: 180px;
    animation: float 5s ease-in-out infinite;
}
.aliado-item:nth-child(even) { animation-delay: -2.5s; }

.aliado-item img {
    max-width: 120px; height: 90px; object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.05));
    transition: var(--trans);
}
.aliado-item:hover img { transform: scale(1.1); filter: grayscale(0%); }
.aliado-item p {
    font-size: 0.85rem; color: var(--text-muted); text-align: center; font-weight: 600; text-transform: capitalize;
    margin: 0; line-height: 1.2;
}

/* --- Floating Lead Btn --- */
.floating-lead-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--trans);
}

.floating-lead-btn::before {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid #25D366; opacity: 0; animation: ripple 2s infinite;
}

@keyframes ripple {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

.floating-lead-btn:hover {
  background-color: #128C7E;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-container { flex-direction: column; text-align: center; gap: 3rem; }
  .hero-buttons { justify-content: center; }
  .hero-visuals-grid { grid-template-columns: 1.5fr 1fr; }
  .about-container, .about-container.about-reverse { flex-direction: column; text-align: center; }
  .about-features { text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem;}
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .menu-btn { display: block; }
  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 1.05rem; }
  .hero-visuals-grid {
    grid-template-columns: 1fr 1fr;
  }
  .v-card-dashboard { height: 220px; }
  .v-card-phone { height: 220px; }
  .phone-frame-wrap { width: 95px; height: 190px; }
  .cta-bg { padding: 3rem 1.5rem; }
  .cta-actions { flex-direction: column; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .about-features { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-visuals-grid {
    grid-template-columns: 1fr;
  }
  .v-card-phone {
    grid-column: 1;
    grid-row: 2;
    height: 200px;
  }
  .v-card-dashboard {
    grid-column: 1;
    grid-row: 1;
    height: 200px;
  }
  .v-card-services {
    grid-row: 3;
  }
  .phone-frame-wrap { width: 90px; height: 180px; }
}

