/* ==========================================================================
   TECNO INFORMÁTICA - MODERN DESIGN SYSTEM & STYLESHEET
   Tecnología, Soporte IT & Automatización con Agentes de Inteligencia Artificial
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Brand Palette (Honoring Original Logo: Electric Blue & Dynamic Crimson) */
  --tecno-blue: #0265d2;
  --tecno-blue-light: #3895ff;
  --tecno-blue-glow: rgba(2, 101, 210, 0.45);
  --tecno-red: #ea212d;
  --tecno-red-light: #ff4552;
  --tecno-red-glow: rgba(234, 33, 45, 0.45);

  /* Cyber & Futuristic Accents */
  --accent-cyan: #00e5ff;
  --accent-cyan-glow: rgba(0, 229, 255, 0.4);
  --accent-emerald: #10b981;
  --accent-purple: #8b5cf6;
  --accent-amber: #f59e0b;

  /* Surfaces & Backgrounds */
  --bg-body: #060911;
  --bg-elevated: #0b1120;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(22, 33, 58, 0.9);
  --bg-input: rgba(11, 17, 32, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(56, 149, 255, 0.2);
  --border-hover: rgba(0, 229, 255, 0.5);

  /* Typography Colors */
  --text-main: #f8fafc;
  --text-body: #94a3b8;
  --text-muted: #64748b;
  --text-highlight: #ffffff;

  /* Layout & Sizing */
  --container-max: 1240px;
  --header-height: 84px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Dynamic Ambient Glow Background Animation */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: floatGlow 18s infinite alternate ease-in-out;
}

.glow-orb-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(2, 101, 210, 0.5), transparent 70%);
  top: -100px;
  left: -100px;
  animation-duration: 22s;
}

.glow-orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(234, 33, 45, 0.3), transparent 70%);
  top: 40%;
  right: -150px;
  animation-duration: 26s;
  animation-delay: -5s;
}

.glow-orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.35), transparent 70%);
  bottom: -100px;
  left: 30%;
  animation-duration: 20s;
  animation-delay: -10s;
}

@keyframes floatGlow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
  100% { transform: translate(-40px, 70px) scale(0.95); }
}

/* Ambient Grid Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-highlight);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

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

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-body);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--tecno-blue-light);
}

/* Layout Utilities */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 60px auto;
}

/* Modern Professional Badges (No Emojis) */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
}

.badge-ai {
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.35);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
}

.badge-brand {
  background: rgba(2, 101, 210, 0.15);
  color: var(--tecno-blue-light);
  border: 1px solid rgba(56, 149, 255, 0.3);
}

.badge-hot {
  background: rgba(234, 33, 45, 0.15);
  color: var(--tecno-red-light);
  border: 1px solid rgba(234, 33, 45, 0.3);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin-bottom: 16px;
}

.section-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, #93c5fd 60%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title .gradient-brand {
  background: linear-gradient(135deg, var(--tecno-blue-light) 0%, #ffffff 40%, var(--tecno-red-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* Glass Card Base with Modern Shimmer Border */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.05), transparent 70%);
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(2, 101, 210, 0.2);
}

/* SVG Icon Wrapper Styles */
.svg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.svg-icon svg {
  width: 100%;
  height: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--tecno-blue) 0%, #1e40af 50%, var(--tecno-red) 100%);
  background-size: 200% 200%;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(2, 101, 210, 0.4);
}

.btn-primary:hover {
  background-position: 100% 100%;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(234, 33, 45, 0.45);
}

.btn-cyan {
  background: linear-gradient(135deg, #0284c7, var(--accent-cyan));
  color: #060911;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.35);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 229, 255, 0.55);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.55);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-highlight);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   MODERN SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Pulse animation on status indicators */
.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  animation: live-pulse 2s infinite;
}

@keyframes live-pulse {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(6, 9, 17, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  background: rgba(6, 9, 17, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(56, 149, 255, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.brand-symbol-img {
  height: 48px;
  width: auto;
  border-radius: 6px;
  filter: drop-shadow(0 2px 10px rgba(2, 101, 210, 0.35));
  transition: transform var(--transition-fast);
}

.brand-logo-link:hover .brand-symbol-img {
  transform: scale(1.03);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--text-body);
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  transition: color var(--transition-fast);
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--tecno-blue-light), var(--accent-cyan));
  transition: width var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-highlight);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-highlight);
  padding: 8px;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 70px 0 90px 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title .highlight-ai {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #38bdf8 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: 1.18rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--text-highlight);
  display: flex;
  align-items: center;
  gap: 2px;
}

.metric-number span {
  color: var(--accent-cyan);
}

.metric-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Interactive Hero Preview Card */
.hero-visual {
  position: relative;
}

.hero-dashboard-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 149, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 35px rgba(2, 101, 210, 0.2);
  backdrop-filter: blur(20px);
}

.card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #34d399;
  font-family: 'JetBrains Mono', monospace;
}

.dashboard-feed {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feed-item {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.feed-item:hover {
  transform: translateX(4px);
  background: rgba(30, 41, 59, 0.8);
}

.feed-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feed-icon.icon-bot { background: rgba(0, 229, 255, 0.15); color: var(--accent-cyan); }
.feed-icon.icon-net { background: rgba(56, 149, 255, 0.15); color: var(--tecno-blue-light); }
.feed-icon.icon-sec { background: rgba(234, 33, 45, 0.15); color: var(--tecno-red-light); }

.feed-text h5 {
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.feed-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.feed-tag {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  white-space: nowrap;
}

.hero-glow-back {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(2, 101, 210, 0.25) 0%, rgba(234, 33, 45, 0.1) 40%, transparent 70%);
  filter: blur(70px);
  z-index: -1;
  pointer-events: none;
}

/* ==========================================================================
   AGENTS SHOWCASE: FLORENCIA & NEO (NEW HIGH-IMPACT SECTION)
   ========================================================================== */
.agents-showcase-section {
  background: linear-gradient(180deg, rgba(8, 12, 22, 0.8) 0%, rgba(11, 17, 32, 0.95) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.agents-banner-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 229, 255, 0.1);
  overflow: hidden;
}

.agents-photo-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.agents-photo-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-smooth);
}

.agents-photo-box:hover .agents-photo-img {
  transform: scale(1.03);
}

.agents-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(0deg, rgba(6, 9, 17, 0.95) 0%, rgba(6, 9, 17, 0) 100%);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
}

.agents-grid-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.agent-profile-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.agent-profile-card.card-florencia {
  border-top: 3px solid var(--accent-cyan);
}

.agent-profile-card.card-neo {
  border-top: 3px solid var(--tecno-blue-light);
}

.agent-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.agent-badge-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
}

.agent-role-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.pill-florencia {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.pill-neo {
  background: rgba(56, 149, 255, 0.15);
  color: var(--tecno-blue-light);
  border: 1px solid rgba(56, 149, 255, 0.3);
}

.agent-specialties-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 28px 0;
}

.agent-specialties-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-main);
}

.agent-specialties-list li svg {
  width: 18px;
  height: 18px;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   AI ADVANTAGES & VALUE SECTION
   ========================================================================== */
.ai-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}

.ai-card {
  padding: 34px;
}

.ai-card-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(2, 101, 210, 0.2), rgba(0, 229, 255, 0.2));
  border: 1px solid rgba(0, 229, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
}

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

.ai-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.ai-card p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 18px;
}

.feature-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-main);
}

.feature-check-list li svg {
  color: var(--accent-cyan);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ==========================================================================
   INTERACTIVE ROI & TIME SAVINGS CALCULATOR
   ========================================================================== */
.calculator-box {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(11, 17, 32, 0.95));
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 229, 255, 0.1);
  margin-top: 50px;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.calc-group label {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.calc-value-badge {
  color: var(--accent-cyan);
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.05rem;
  font-weight: 700;
}

.range-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-cyan);
  cursor: pointer;
  box-shadow: 0 0 12px var(--accent-cyan);
  transition: transform 0.1s;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-results-card {
  background: rgba(2, 101, 210, 0.1);
  border: 1px solid rgba(56, 149, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  position: relative;
}

.calc-results-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.calc-big-stat {
  font-family: 'Outfit', sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
}

.calc-big-stat span {
  color: var(--accent-cyan);
}

.calc-sub-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sub-stat-item h4 {
  font-size: 1.35rem;
  color: var(--tecno-blue-light);
  margin-bottom: 4px;
}

.sub-stat-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   AI AGENT INTERACTIVE DEMO (SIMULATOR)
   ========================================================================== */
.demo-section-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.agent-selector-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.agent-select-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.agent-select-btn.active {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

.demo-chat-container {
  background: #0d1322;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 229, 255, 0.15);
  display: flex;
  flex-direction: column;
  height: 540px;
}

.chat-top-header {
  background: rgba(17, 24, 39, 0.95);
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-agent-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agent-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tecno-blue), var(--accent-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
  color: #060911;
}

.agent-avatar svg {
  width: 22px;
  height: 22px;
}

.agent-details h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.agent-details span {
  font-size: 0.75rem;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 5px;
}

.chat-body-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat-bubble {
  max-width: 82%;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.5;
  animation: fadeInMsg 0.3s ease forwards;
}

@keyframes fadeInMsg {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.bubble-bot {
  background: rgba(30, 41, 59, 0.85);
  color: var(--text-main);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.bubble-user {
  background: linear-gradient(135deg, var(--tecno-blue), #1e40af);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 15px rgba(2, 101, 210, 0.3);
}

.chat-quick-queries {
  padding: 10px 16px;
  background: rgba(11, 17, 32, 0.7);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
}

.quick-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.2);
  color: var(--text-body);
  font-size: 0.76rem;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quick-pill:hover {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.chat-form-area {
  padding: 14px 18px;
  background: rgba(15, 23, 42, 0.95);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 10px;
}

.chat-input {
  flex: 1;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.chat-input:focus {
  border-color: var(--accent-cyan);
}

.chat-send-btn {
  background: linear-gradient(135deg, var(--tecno-blue), var(--accent-cyan));
  color: #060911;
  border: none;
  border-radius: var(--radius-md);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.chat-send-btn:hover {
  transform: scale(1.05);
}

/* ==========================================================================
   SERVICES SECTION (FULL SUITE)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 28px;
}

.service-card {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-box svg {
  width: 26px;
  height: 26px;
}

.service-icon-box.icon-blue {
  background: rgba(2, 101, 210, 0.18);
  color: var(--tecno-blue-light);
  border: 1px solid rgba(56, 149, 255, 0.3);
}

.service-icon-box.icon-red {
  background: rgba(234, 33, 45, 0.18);
  color: var(--tecno-red-light);
  border: 1px solid rgba(234, 33, 45, 0.3);
}

.service-icon-box.icon-cyan {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.service-icon-box.icon-purple {
  background: rgba(139, 92, 246, 0.18);
  color: var(--accent-purple);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 24px;
}

.service-features-mini {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 26px;
}

.service-features-mini li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features-mini li::before {
  content: '•';
  color: var(--accent-cyan);
  font-weight: bold;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--tecno-blue-light);
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.service-link:hover {
  color: var(--accent-cyan);
  gap: 12px;
}

/* ==========================================================================
   PORTFOLIO & LIVE SYSTEMS SHOWCASE
   ========================================================================== */
.portfolio-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.portfolio-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.portfolio-tab-btn:hover, .portfolio-tab-btn.active {
  background: rgba(2, 101, 210, 0.2);
  border-color: var(--tecno-blue-light);
  color: #ffffff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.portfolio-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.status-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-live {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-lab {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.portfolio-icon-tag {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.portfolio-icon-tag svg {
  width: 20px;
  height: 20px;
}

.portfolio-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.portfolio-card p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 24px;
}

.portfolio-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-cyan);
  transition: transform var(--transition-fast);
}

.portfolio-action-btn:hover {
  transform: translateX(4px);
  text-decoration: underline;
}

/* ==========================================================================
   TRUST & 30 YEARS OF EXPERIENCE SECTION
   ========================================================================== */
.trust-section {
  background: linear-gradient(180deg, rgba(11, 17, 32, 0.6) 0%, rgba(6, 9, 17, 0.9) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.trust-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.trust-stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  text-align: center;
}

.trust-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.trust-stat-num.blue { color: var(--tecno-blue-light); }
.trust-stat-num.red { color: var(--tecno-red-light); }
.trust-stat-num.cyan { color: var(--accent-cyan); }
.trust-stat-num.green { color: #34d399; }

.trust-stat-label {
  font-size: 0.9rem;
  color: var(--text-body);
  font-weight: 600;
}

.trust-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.trust-highlight-card {
  padding: 28px;
}

.trust-highlight-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

/* ==========================================================================
   CONTACT & DIRECT QUOTE SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
}

.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-card-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(2, 101, 210, 0.15);
  border: 1px solid rgba(56, 149, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tecno-blue-light);
  flex-shrink: 0;
}

.contact-icon-bubble svg {
  width: 22px;
  height: 22px;
}

.contact-item-text h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.contact-item-text p, .contact-item-text a {
  font-size: 0.92rem;
  color: var(--text-body);
}

.contact-item-text a:hover {
  color: var(--accent-cyan);
}

.contact-form-card {
  padding: 38px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-input, .form-select, .form-textarea {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  color: #ffffff;
  font-size: 0.92rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #03060c;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px 0;
  position: relative;
  z-index: 2;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-links li a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   FLOATING WHATSAPP INTERACTIVE WIDGET
   ========================================================================== */
.floating-whatsapp-wrap {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
}

.whatsapp-bubble-trigger {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  transition: transform var(--transition-fast);
  border: none;
  position: relative;
}

.whatsapp-bubble-trigger:hover {
  transform: scale(1.1);
}

.whatsapp-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: wa-wave 2s infinite;
  pointer-events: none;
}

@keyframes wa-wave {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.whatsapp-modal {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 320px;
  background: #0d1424;
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  display: none;
  flex-direction: column;
  gap: 12px;
  animation: fadeInModal 0.25s ease forwards;
}

.whatsapp-modal.open {
  display: flex;
}

@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.wa-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-modal-header h4 {
  font-size: 0.95rem;
}

.wa-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
}

.wa-quick-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wa-option-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 500;
  text-align: left;
  transition: all var(--transition-fast);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-option-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #25d366;
}

.wa-option-btn:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: #25d366;
  color: #ffffff;
}

/* ==========================================================================
   MOBILE MENU DRAWER & RESPONSIVENESS
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 9, 17, 0.96);
  backdrop-filter: blur(25px);
  z-index: 2000;
  display: none;
  flex-direction: column;
  padding: 30px 24px;
  justify-content: space-between;
}

.mobile-drawer.open {
  display: flex;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-close-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 40px 0;
}

.drawer-links a {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer-links a svg {
  width: 20px;
  height: 20px;
  color: var(--accent-cyan);
}

.drawer-links a:hover {
  color: var(--accent-cyan);
}

/* Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-metrics {
    max-width: 500px;
    margin: 0 auto;
  }

  .agents-banner-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .agents-grid-duo {
    grid-template-columns: 1fr;
  }

  .demo-section-wrap {
    grid-template-columns: 1fr;
  }

  .calculator-grid {
    grid-template-columns: 1fr;
  }

  .trust-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-highlights-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .desktop-nav, .nav-cta-group {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .section {
    padding: 60px 0;
  }

  .calculator-box {
    padding: 24px;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .services-grid, .portfolio-grid {
    grid-template-columns: 1fr;
  }
}
