/* ==========================================================================
   INTERLOGICAL.NET - MODERN DESIGN SYSTEM 2026 (WHITE / LIGHT DESIGN)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Inter:wght@300;400;500;600;700&family=Fira+Code:wght@400;600&display=swap');

:root {
  /* Clean White Palette (Default Theme) */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #eef2f6;
  --bg-surface: #ffffff;
  --bg-surface-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.92);
  
  --border-color: #e2e8f0;
  --border-glow: rgba(110, 86, 248, 0.35);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;

  --accent-primary: #6e56f8;
  --accent-secondary: #0284c7;
  --accent-pink: #ec4899;
  --accent-emerald: #10b981;
  --accent-amber: #d97706;

  --gradient-brand: linear-gradient(135deg, #6e56f8 0%, #0284c7 100%);
  --gradient-hero: radial-gradient(circle at 50% 0%, rgba(110, 86, 248, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  --gradient-glow: radial-gradient(circle at 50% 50%, rgba(2, 132, 199, 0.08) 0%, rgba(255, 255, 255, 0) 70%);

  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 20px -5px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 30px -10px rgba(15, 23, 42, 0.08), 0 0 20px rgba(110, 86, 248, 0.06);
  --shadow-glow: 0 0 30px rgba(110, 86, 248, 0.2);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --font-mono: 'Fira Code', monospace;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Optional Dark Theme Variables */
[data-theme="dark"] {
  --bg-primary: #0b0f19;
  --bg-secondary: #13192b;
  --bg-tertiary: #182035;
  --bg-surface: #1a2238;
  --bg-surface-hover: #222c48;
  --bg-glass: rgba(19, 25, 43, 0.85);

  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(110, 86, 248, 0.4);

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-secondary: #00d2ff;

  --gradient-hero: radial-gradient(circle at 50% 0%, rgba(110, 86, 248, 0.25) 0%, rgba(11, 15, 25, 0) 70%);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 0 30px rgba(110, 86, 248, 0.15);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Gradient Text */
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(110, 86, 248, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(110, 86, 248, 0.45);
}

.btn-outline {
  background: var(--bg-surface);
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  background: rgba(110, 86, 248, 0.06);
  transform: translateY(-2px);
}

.btn i {
  transition: transform var(--transition-fast);
}

.btn:hover i {
  transform: translateX(3px);
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: rgba(110, 86, 248, 0.08);
  color: var(--accent-primary);
  border: 1px solid rgba(110, 86, 248, 0.2);
}

/* Header & Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.logo img {
  height: 38px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.nav-dropdown-icon {
  font-size: 0.75rem;
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover .nav-dropdown-icon,
.nav-dropdown.open .nav-dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  transform: translateY(8px);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 200px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 1100;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.9rem;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
  text-decoration: none;
}

.dropdown-item i {
  color: var(--accent-primary);
  font-size: 0.9rem;
  width: 16px;
  text-align: center;
}

.dropdown-item:hover {
  background: rgba(110, 86, 248, 0.08);
  color: var(--accent-primary);
}

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

.theme-toggle {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  background: var(--bg-surface-hover);
  color: var(--accent-primary);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* HERO SECTION */
.hero {
  position: relative;
  padding: 160px 0 100px 0;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.4;
  pointer-events: none;
}

.hero-glow-1 {
  width: 450px;
  height: 450px;
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  bottom: -50px;
  right: -50px;
  background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  pointer-events: none;
}

.badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: rgba(110, 86, 248, 0.08);
  color: var(--text-main);
  border: 1px solid rgba(110, 86, 248, 0.25);
  box-shadow: 0 4px 12px rgba(110, 86, 248, 0.08);
}

.pulse-indicator {
  position: relative;
  display: inline-flex;
  width: 10px;
  height: 10px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--accent-emerald);
}

.pulse-indicator::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--accent-emerald);
  animation: pulse-ring 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.7); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.4rem;
  font-weight: 800;
  margin: 1.2rem 0;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  max-width: 620px;
  line-height: 1.65;
}

/* Shimmer Button */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 70%
  );
  transform: rotate(30deg);
  animation: shimmer 4s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(30deg); }
  20%, 100% { transform: translateX(100%) rotate(30deg); }
}

.icon-move {
  transition: transform var(--transition-fast);
}

.btn-shimmer:hover .icon-move {
  transform: translateX(4px);
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Stat Cards */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.stat-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-md);
}

.stat-card h3 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.stat-card p {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Code Window Visual */
.hero-visual {
  position: relative;
}

.code-window {
  background: #0f172a;
  color: #f8fafc;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.4), 0 0 30px rgba(110, 86, 248, 0.2);
  overflow: hidden;
  font-family: var(--font-mono);
  animation: float 6s ease-in-out infinite;
}

.code-header {
  background: #1e293b;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-dots {
  display: flex;
  gap: 0.45rem;
}

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

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

.code-title {
  font-size: 0.8rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.code-body {
  padding: 1.5rem;
  font-size: 0.88rem;
  line-height: 1.7;
}

.code-body pre {
  margin: 0;
  white-space: pre-wrap;
}

.code-keyword { color: #c084fc; font-weight: 600; }
.code-var { color: #38bdf8; }
.code-prop { color: #f472b6; }
.code-str { color: #34d399; }

.floating-tech-badges {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: #cbd5e1;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    margin-top: 2rem;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

/* SECTION STYLES */
.section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
  padding-top: 1.5rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin: 0.75rem 0;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* SECTION SEPARATORS & FLOW */
.section[style*="background: var(--bg-secondary)"],
.section-secondary {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-integrations {
  background: var(--bg-tertiary) !important;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/* SERVICES GRID & CARDS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: var(--border-glow);
  box-shadow: 0 20px 40px -15px rgba(110, 86, 248, 0.18), 0 0 25px rgba(2, 132, 199, 0.12);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(110, 86, 248, 0.12) 0%, rgba(2, 132, 199, 0.15) 100%);
  border: 1px solid rgba(110, 86, 248, 0.25);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.4rem;
  box-shadow: 0 4px 14px rgba(110, 86, 248, 0.1);
  transition: transform var(--transition-normal), background var(--transition-normal);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-3deg);
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(110, 86, 248, 0.35);
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 1.35rem;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 0.45rem;
}

.feature-list li i {
  color: var(--accent-emerald);
  font-size: 0.82rem;
  background: rgba(16, 185, 129, 0.1);
  padding: 3px;
  border-radius: 50%;
}

/* PRODUCTS CATALOG & CARDS */
.products-filter {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-full);
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gradient-brand);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(110, 86, 248, 0.3);
}

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

.product-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.product-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: var(--border-glow);
  box-shadow: 0 20px 40px -15px rgba(110, 86, 248, 0.18), 0 0 25px rgba(2, 132, 199, 0.12);
}

.product-image {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--accent-primary);
  border: 1px solid rgba(110, 86, 248, 0.3);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .product-badge {
  background: rgba(19, 25, 43, 0.9);
  color: var(--accent-secondary);
  border-color: rgba(0, 210, 255, 0.3);
}

.product-body {
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body h3 {
  font-size: 1.38rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.product-body p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 1.25rem;
  flex: 1;
  line-height: 1.6;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-color);
}

/* ABOUT & TRAYECTORIA SECTION */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}

.about-intro h2 {
  font-size: 2.6rem;
  font-weight: 800;
  margin: 1.2rem 0 1rem 0;
  line-height: 1.2;
}

.about-lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.about-trust-box {
  display: flex;
  gap: 1.2rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  margin-bottom: 2rem;
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.trust-text h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.trust-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.about-metrics-pills {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

/* Pillars Grid */
.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition-normal);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 15px 30px -10px rgba(110, 86, 248, 0.18);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 1.2rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.pillar-icon.gradient-purple { background: linear-gradient(135deg, #6e56f8 0%, #8b5cf6 100%); }
.pillar-icon.gradient-blue { background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%); }
.pillar-icon.gradient-emerald { background: linear-gradient(135deg, #10b981 0%, #34d399 100%); }
.pillar-icon.gradient-pink { background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%); }

.pillar-content h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pillar-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 992px) {
  .about-wrapper {
    grid-template-columns: 1fr;
  }
  .about-pillars-grid {
    grid-template-columns: 1fr;
  }
}

.product-price {
  font-weight: 700;
  color: var(--accent-primary);
  font-size: 0.9rem;
}

/* HARDWARE / IOT SECTION */
.hardware-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.hardware-content h3 {
  font-size: 2rem;
  margin: 1rem 0;
}

.hardware-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-surface);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.spec-item i {
  color: var(--accent-primary);
  font-size: 1.2rem;
}

/* INTEGRATIONS GRID */
.section-integrations {
  background: var(--bg-tertiary) !important;
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem;
}

.integration-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.integration-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  background: var(--bg-surface-hover);
  box-shadow: 0 10px 25px -5px rgba(110, 86, 248, 0.15);
}

.integration-card i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--accent-primary);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color var(--transition-fast);
}

.integration-card:hover i {
  transform: scale(1.22) rotate(-5deg);
}

.integration-card h4 {
  font-size: 0.9rem;
}

/* BLOG SECTION */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.blog-card-body {
  padding: 1.75rem;
}

.blog-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* CONTACT FORM & FOOTER */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
}

.contact-info h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact-methods {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-method-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: rgba(110, 86, 248, 0.08);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(110, 86, 248, 0.15);
  background: #ffffff;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
footer {
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #f8fafc;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 0 30px 0;
  margin-top: 90px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-logo,
.footer-brand .logo img {
  height: 80px !important;
  max-height: 100px !important;
  width: auto !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: #94a3b8;
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.dev-logos-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.dev-logo {
  max-height: 38px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.dev-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

.footer-col h4 {
  color: #ffffff;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: #cbd5e1;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: #38bdf8;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.85rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

/* CLIENT LOGOS SLIDER SECTION */
.clients-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 2rem;
  padding: 1.25rem 3.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.clients-slider-track {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.75rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.75rem 0.5rem;
  width: 100%;
}

.clients-slider-track::-webkit-scrollbar {
  display: none;
}

.client-logo-item {
  flex: 0 0 95px;
  width: 95px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.6rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

[data-theme="dark"] .client-logo-item {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.client-logo-item img {
  max-height: 26px;
  max-width: 78px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.85);
  mix-blend-mode: multiply;
  transition: all 0.3s ease;
}

[data-theme="dark"] .client-logo-item img {
  filter: grayscale(100%) brightness(2) contrast(1.1);
  mix-blend-mode: normal;
}

.client-logo-item:hover {
  transform: translateY(-4px) scale(1.04);
  border-color: var(--accent-primary);
  box-shadow: 0 8px 20px rgba(110, 86, 248, 0.15);
}

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

.clients-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.clients-slider-btn:hover {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

.clients-slider-btn.prev {
  left: 0.75rem;
}

.clients-slider-btn.next {
  right: 0.75rem;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hardware-box {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-dropdown {
    width: 100%;
    text-align: center;
  }
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0.5rem 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown.open .dropdown-menu {
    transform: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* PROMO BANNER SOLUCIONESAPP.SHOP */
.promo-banner-link {
  display: block;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.promo-banner-link:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 20px 45px -10px rgba(110, 86, 248, 0.3);
  border-color: var(--border-glow);
}

.promo-banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  transition: filter var(--transition-normal);
}

.promo-banner-link:hover .promo-banner-img {
  filter: brightness(1.05);
}

/* Espaciado ajustado para el banner y sección subsiguiente */
#productos {
  padding-bottom: 40px;
}

.promo-banner-wrapper {
  margin-top: 2.5rem;
  margin-bottom: 0;
}

#electronica {
  padding-top: 60px;
}
