/* ==========================================================================
   Digital Signage Ultra - Landing Page Styles
   Complete, self-contained CSS for the SaaS landing page.
   ========================================================================== */

/* ==========================================================================
   NAVBAR - Dark theme for landing (matches navbar.js output)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}
.header.scrolled {
  background: rgba(9, 9, 11, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07);
  padding: 0.6rem 0;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--l-font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
  text-decoration: none;
}
.logo svg,
.logo img.logo-icon { flex-shrink: 0; width: 36px; height: 36px; }
/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}
.nav-links li { position: relative; }
.nav-link {
  display: block;
  padding: 0.5rem 0.75rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}
/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-content {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  background: #18181b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.75rem;
  padding: 0.375rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 100;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}
.nav-dropdown:hover .nav-dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.15s;
}
.nav-dropdown-item:hover {
  background: rgba(139,92,246,0.15);
  color: #fff;
}
/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
/* Buttons (navbar) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.15);
}
.btn-ghost:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.3);
}
.btn-primary {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  color: #fff;
  box-shadow: 0 2px 10px rgba(139,92,246,0.3);
}
.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(139,92,246,0.5);
  transform: translateY(-1px);
}
.btn-block { width: 100%; justify-content: center; }
/* Language selector */
.lang-selector { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.625rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 0.375rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-btn:hover { border-color: rgba(255,255,255,0.3); color: #fff; }
.lang-btn svg { width: 14px; height: 14px; opacity: 0.7; }
.lang-arrow { width: 10px !important; height: 10px !important; }
.lang-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 140px;
  background: #18181b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.5rem;
  padding: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s;
  z-index: 200;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.lang-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: none;
  border: none;
  border-radius: 0.375rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s;
}
.lang-option:hover, .lang-option.active {
  background: rgba(139,92,246,0.18);
  color: #fff;
}
.lang-code { font-weight: 600; min-width: 24px; }
.lang-name { opacity: 0.8; }
/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  display: block;
  transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(9,9,11,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.5rem;
  overflow-y: auto;
  z-index: 999;
}
.mobile-menu.active { display: block; }
.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}
.mobile-nav-links a {
  display: block;
  padding: 0.75rem 1rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.15s;
}
.mobile-nav-links a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mobile-lang-selector {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.mobile-lang-option {
  flex: 1;
  padding: 0.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.375rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
}
.mobile-lang-option:hover, .mobile-lang-option.active {
  background: rgba(139,92,246,0.2);
  border-color: rgba(139,92,246,0.4);
  color: #fff;
}
body.menu-open { overflow: hidden; }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-toggle { display: flex; }
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}

/* --------------------------------------------------------------------------
   0. DESIGN TOKENS (Custom Properties)
   -------------------------------------------------------------------------- */
:root {
  /* Colors - Primary palette */
  --l-primary: #8b5cf6;
  --l-primary-light: #a78bfa;
  --l-primary-dark: #7c3aed;
  --l-secondary: #0ea5e9;
  --l-secondary-light: #38bdf8;
  --l-secondary-dark: #0284c7;
  --l-accent-green: #10b981;
  --l-accent-green-light: #34d399;
  --l-accent-orange: #f59e0b;
  --l-accent-red: #ef4444;
  --l-accent-pink: #ec4899;
  --l-accent-cyan: #06b6d4;

  /* Neutral palette */
  --l-white: #ffffff;
  --l-gray-50: #f8fafc;
  --l-gray-100: #f1f5f9;
  --l-gray-200: #e2e8f0;
  --l-gray-300: #cbd5e1;
  --l-gray-400: #94a3b8;
  --l-gray-500: #8494aa;
  --l-gray-600: #475569;
  --l-gray-700: #334155;
  --l-gray-800: #1e293b;
  --l-gray-900: #0f172a;
  --l-gray-950: #020617;

  /* Background */
  --l-bg-dark: #09090b;
  --l-bg-dark-alt: #0f0f14;
  --l-bg-card: rgba(20, 20, 28, 0.5);
  --l-bg-glass: rgba(255, 255, 255, 0.05);
  --l-bg-glass-hover: rgba(255, 255, 255, 0.08);

  /* Borders */
  --l-border: rgba(255, 255, 255, 0.08);
  --l-border-hover: rgba(255, 255, 255, 0.15);

  /* Gradients */
  --l-gradient-primary: linear-gradient(135deg, #7c3aed, #a78bfa);
  --l-gradient-accent: linear-gradient(135deg, #8b5cf6, #ec4899);
  --l-gradient-warm: linear-gradient(135deg, #f59e0b, #ef4444);
  --l-gradient-cool: linear-gradient(135deg, #0ea5e9, #10b981);
  --l-gradient-text: linear-gradient(135deg, #c4b5fd, #a78bfa, #60a5fa);

  /* Typography */
  --l-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --l-font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Font sizes */
  --l-text-xs: 0.75rem;
  --l-text-sm: 0.875rem;
  --l-text-base: 1rem;
  --l-text-lg: 1.125rem;
  --l-text-xl: 1.25rem;
  --l-text-2xl: 1.5rem;
  --l-text-3xl: 1.875rem;
  --l-text-4xl: 2.25rem;
  --l-text-5xl: 3rem;
  --l-text-6xl: 3.75rem;
  --l-text-display: 3.5rem;

  /* Font weights */
  --l-font-normal: 400;
  --l-font-medium: 500;
  --l-font-semibold: 600;
  --l-font-bold: 700;
  --l-font-extrabold: 800;

  /* Line heights */
  --l-leading-tight: 1.15;
  --l-leading-snug: 1.3;
  --l-leading-normal: 1.5;
  --l-leading-relaxed: 1.7;

  /* Spacing scale */
  --l-space-1: 0.25rem;
  --l-space-2: 0.5rem;
  --l-space-3: 0.75rem;
  --l-space-4: 1rem;
  --l-space-5: 1.25rem;
  --l-space-6: 1.5rem;
  --l-space-8: 2rem;
  --l-space-10: 2.5rem;
  --l-space-12: 3rem;
  --l-space-16: 4rem;
  --l-space-20: 5rem;
  --l-space-24: 6rem;

  /* Border radius */
  --l-radius-sm: 0.375rem;
  --l-radius-md: 0.5rem;
  --l-radius-lg: 0.75rem;
  --l-radius-xl: 1rem;
  --l-radius-2xl: 1.5rem;
  --l-radius-full: 9999px;

  /* Shadows */
  --l-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --l-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
  --l-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.2);
  --l-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
  --l-shadow-glow: 0 0 30px rgba(139, 92, 246, 0.3);
  --l-shadow-glow-lg: 0 0 60px rgba(139, 92, 246, 0.2);

  /* Transitions */
  --l-transition-fast: 150ms ease;
  --l-transition-base: 250ms ease;
  --l-transition-slow: 400ms ease;
  --l-transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index scale */
  --l-z-behind: -1;
  --l-z-base: 0;
  --l-z-float: 10;
  --l-z-sticky: 20;
  --l-z-overlay: 30;
  --l-z-modal: 40;
  --l-z-toast: 50;
}


/* --------------------------------------------------------------------------
   1. BASE / RESET
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--l-font-body);
  font-size: var(--l-text-base);
  line-height: var(--l-leading-normal);
  color: var(--l-gray-300);
  background-color: var(--l-bg-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--l-font-heading);
  font-weight: var(--l-font-bold);
  line-height: var(--l-leading-tight);
  color: var(--l-white);
}

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

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

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}


/* --------------------------------------------------------------------------
   2. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--l-space-6);
}

.l-section {
  padding: var(--l-space-24) 0;
  position: relative;
}

.l-section--dark {
  background-color: var(--l-bg-dark);
}

.l-section--alt {
  background-color: var(--l-bg-dark-alt);
}

.l-section__header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: var(--l-space-16);
}

.l-section__header h2 {
  font-size: var(--l-text-4xl);
  margin-bottom: var(--l-space-4);
}

.l-section__header p {
  font-size: var(--l-text-lg);
  color: var(--l-gray-400);
  line-height: var(--l-leading-relaxed);
}


/* --------------------------------------------------------------------------
   3. COMMON COMPONENTS
   -------------------------------------------------------------------------- */

/* --- Label --- */
.l-label {
  display: inline-block;
  font-size: var(--l-text-xs);
  font-weight: var(--l-font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--l-primary-light);
  margin-bottom: var(--l-space-4);
  position: relative;
  padding-bottom: var(--l-space-2);
}

.l-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--l-gradient-primary);
  border-radius: var(--l-radius-full);
}

.l-section__header .l-label::after {
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
}

/* --- Gradient text --- */
.l-gradient-text {
  background: var(--l-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Buttons --- */
.l-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--l-space-2);
  padding: 0.8rem 1.8rem;
  font-family: var(--l-font-body);
  font-size: var(--l-text-base);
  font-weight: var(--l-font-semibold);
  border-radius: var(--l-radius-xl);
  transition: all var(--l-transition-base);
  position: relative;
  white-space: nowrap;
  cursor: pointer;
}

.l-btn--primary {
  background: var(--l-gradient-primary);
  color: var(--l-white);
  border: none;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.l-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
}

.l-btn--primary:active {
  transform: translateY(0);
}

.l-btn--ghost {
  background: transparent;
  color: var(--l-gray-300);
  border: 1px solid var(--l-border);
}

.l-btn--ghost:hover {
  border-color: var(--l-border-hover);
  background: var(--l-bg-glass);
  color: var(--l-white);
}

.l-btn--lg {
  padding: 1rem 2.2rem;
  font-size: var(--l-text-lg);
}

.l-btn--sm {
  padding: 0.5rem 1.2rem;
  font-size: var(--l-text-sm);
}

.l-btn--white {
  background: var(--l-white);
  color: var(--l-gray-900);
  border: none;
  box-shadow: var(--l-shadow-md);
}

.l-btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--l-shadow-lg);
}

.l-btn svg {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}

/* --- Badge / Pill --- */
.l-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--l-space-2);
  padding: 0.4rem 1rem;
  font-size: var(--l-text-sm);
  font-weight: var(--l-font-medium);
  color: var(--l-gray-300);
  background: var(--l-bg-glass);
  border: 1px solid var(--l-border);
  border-radius: var(--l-radius-full);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: var(--l-space-6);
}

.l-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--l-accent-green);
  animation: l-pulse-dot 2s ease-in-out infinite;
}

@keyframes l-pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}


/* --------------------------------------------------------------------------
   4. SCROLL REVEAL
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: transform, opacity;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

[data-reveal-scale] {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: transform, opacity;
}

[data-reveal-scale].revealed {
  opacity: 1;
  transform: scale(1);
  will-change: auto;
}

/* Stagger delays via data-delay attribute */
[data-delay="100"] { transition-delay: 100ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="400"] { transition-delay: 400ms; }
[data-delay="500"] { transition-delay: 500ms; }
[data-delay="600"] { transition-delay: 600ms; }
[data-delay="700"] { transition-delay: 700ms; }
[data-delay="800"] { transition-delay: 800ms; }


/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.l-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem; /* space for fixed nav */
  padding-bottom: var(--l-space-16);
}

/* --- Animated gradient mesh background --- */
.l-hero__mesh {
  position: absolute;
  inset: 0;
  z-index: var(--l-z-behind);
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(139, 92, 246, 0.28) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(109, 40, 217, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 60% 80%, rgba(14, 165, 233, 0.10) 0%, transparent 70%),
    var(--l-bg-dark);
  background-size: 200% 200%;
  animation: l-mesh-shift 20s ease-in-out infinite;
}

@keyframes l-mesh-shift {
  0% { background-position: 0% 0%; }
  25% { background-position: 50% 30%; }
  50% { background-position: 100% 50%; }
  75% { background-position: 30% 80%; }
  100% { background-position: 0% 0%; }
}

/* --- Grain overlay --- */
.l-hero__grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.3;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.5'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* --- Hero inner layout --- */
.l-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--l-space-12);
  align-items: center;
}

.l-hero__text {
  max-width: 580px;
}

.l-hero__title {
  font-size: clamp(2.2rem, 5vw, var(--l-text-display));
  font-weight: var(--l-font-extrabold);
  line-height: var(--l-leading-tight);
  margin-bottom: var(--l-space-6);
  letter-spacing: -0.02em;
}

.l-hero__subtitle {
  font-size: var(--l-text-lg);
  color: var(--l-gray-400);
  line-height: var(--l-leading-relaxed);
  margin-bottom: var(--l-space-8);
  max-width: 480px;
}

.l-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--l-space-4);
  margin-bottom: var(--l-space-8);
}

/* --- Hero checks --- */
.l-hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--l-space-4) var(--l-space-6);
}

.l-hero__checks li {
  display: flex;
  align-items: center;
  gap: var(--l-space-2);
  font-size: var(--l-text-sm);
  color: var(--l-gray-400);
}

.l-hero__checks li svg {
  width: 18px;
  height: 18px;
  color: var(--l-accent-green);
  flex-shrink: 0;
}

/* --- Hero visual (mockup) --- */
.l-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  overflow: hidden; /* contiene los badges flotantes con right/left negativos */
}

/* --- Browser Mockup --- */
.l-mockup {
  position: relative;
  width: 100%;
  max-width: 560px;
  border-radius: var(--l-radius-xl);
  overflow: hidden;
  background: var(--l-gray-800);
  border: 1px solid var(--l-border);
  box-shadow: var(--l-shadow-xl), var(--l-shadow-glow-lg);
}

.l-mockup__bar {
  display: flex;
  align-items: center;
  gap: var(--l-space-2);
  padding: var(--l-space-3) var(--l-space-4);
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid var(--l-border);
}

.l-mockup__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--l-gray-600);
}

.l-mockup__bar span:nth-child(1) { background: #ef4444; }
.l-mockup__bar span:nth-child(2) { background: #f59e0b; }
.l-mockup__bar span:nth-child(3) { background: #10b981; }

.l-mockup__url {
  flex: 1;
  margin-left: var(--l-space-3);
  padding: var(--l-space-1) var(--l-space-3);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--l-radius-sm);
  font-size: var(--l-text-xs);
  color: var(--l-gray-500);
}

.l-mockup__body {
  aspect-ratio: 16 / 10;
  background: var(--l-gray-900);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.l-mockup__body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Floating glassmorphic cards --- */
.l-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--l-space-3);
  padding: var(--l-space-3) var(--l-space-4);
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--l-border);
  border-radius: var(--l-radius-lg);
  box-shadow: var(--l-shadow-lg);
  z-index: var(--l-z-float);
  animation: l-float-bob 6s ease-in-out infinite;
  white-space: nowrap;
}

.l-float--top-right,
.l-float--1 {
  top: 32px;
  right: -12px;
  animation-delay: -1s;
}

.l-float--bottom-left,
.l-float--2 {
  bottom: 48px;
  left: -16px;
  animation-delay: -3s;
}

.l-float--bottom-right {
  bottom: -10px;
  right: 10px;
  animation-delay: -5s;
}

@keyframes l-float-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.l-float__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--l-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.l-float__icon--green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--l-accent-green);
}

.l-float__icon--blue {
  background: rgba(14, 165, 233, 0.15);
  color: var(--l-secondary);
}

.l-float__icon--purple {
  background: rgba(139, 92, 246, 0.15);
  color: var(--l-primary);
}

.l-float__icon--orange {
  background: rgba(245, 158, 11, 0.15);
  color: var(--l-accent-orange);
}

.l-float__icon svg {
  width: 20px;
  height: 20px;
}

.l-float__text {
  font-size: var(--l-text-sm);
  font-weight: var(--l-font-medium);
  color: var(--l-gray-300);
}

.l-float__value {
  font-size: var(--l-text-sm);
  font-weight: var(--l-font-bold);
  color: var(--l-white);
}


/* ==========================================================================
   6. SOCIAL PROOF / LOGO MARQUEE
   ========================================================================== */
.l-proof {
  padding: var(--l-space-12) 0;
  border-top: 1px solid var(--l-border);
  border-bottom: 1px solid var(--l-border);
  background: var(--l-bg-dark);
  overflow: hidden;
}

.l-proof__label {
  text-align: center;
  font-size: var(--l-text-sm);
  color: var(--l-gray-500);
  margin-bottom: var(--l-space-8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: var(--l-font-medium);
}

.l-proof__track {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.l-proof__logos {
  display: flex;
  align-items: center;
  gap: var(--l-space-16);
  width: max-content;
  animation: l-marquee 40s linear infinite;
}

.l-proof__logos:hover {
  animation-play-state: paused;
}

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

.l-proof__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 32px;
  opacity: 0.4;
  filter: grayscale(100%) brightness(2);
  transition: opacity var(--l-transition-base), filter var(--l-transition-base);
}

.l-proof__logo:hover {
  opacity: 0.8;
  filter: grayscale(0%) brightness(1);
}

.l-proof__logo img,
.l-proof__logo svg {
  height: 100%;
  width: auto;
}


/* ==========================================================================
   7. STATS SECTION
   ========================================================================== */
.l-stats {
  padding: var(--l-space-20) 0;
}

.l-stats__grid {
  display: grid;
  /* minmax(0,1fr) en lugar de 1fr: evita que las columnas se expandan por el
     contenido durante la animación del contador (causa del scroll lateral) */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--l-space-4);
}

.l-stat {
  text-align: center;
  padding: var(--l-space-4);
  min-width: 0; /* necesario para contener el texto dentro de la celda */
}

.l-stat__number {
  font-family: var(--l-font-heading);
  font-size: var(--l-text-5xl);
  font-weight: var(--l-font-extrabold);
  line-height: 1;
  margin-bottom: var(--l-space-2);
  background: var(--l-gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* tabular-nums: todos los dígitos tienen el mismo ancho → menos reflow */
  font-variant-numeric: tabular-nums;
  /* evita que el texto desborde la celda */
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
}

.l-stat__label {
  font-size: var(--l-text-sm);
  color: var(--l-gray-400);
  font-weight: var(--l-font-medium);
}


/* ==========================================================================
   8. BENTO GRID
   ========================================================================== */
.l-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--l-space-6);
}

.l-bento__card {
  position: relative;
  padding: var(--l-space-8);
  background: var(--l-bg-glass);
  border: 1px solid var(--l-border);
  border-radius: var(--l-radius-2xl);
  overflow: hidden;
  transition: transform var(--l-transition-base), border-color var(--l-transition-base), box-shadow var(--l-transition-base);
}

.l-bento__card:hover {
  transform: translateY(-4px);
  border-color: var(--l-border-hover);
  box-shadow: var(--l-shadow-lg);
}

.l-bento__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--l-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--l-space-5);
  background: rgba(139, 92, 246, 0.12);
  color: var(--l-primary-light);
}

.l-bento__icon--blue {
  background: rgba(14, 165, 233, 0.12);
  color: var(--l-secondary-light);
}

.l-bento__icon--green {
  background: rgba(16, 185, 129, 0.12);
  color: var(--l-accent-green-light);
}

.l-bento__icon--orange {
  background: rgba(245, 158, 11, 0.12);
  color: var(--l-accent-orange);
}

.l-bento__icon--red {
  background: rgba(239, 68, 68, 0.12);
  color: var(--l-accent-red);
}

.l-bento__icon--purple {
  background: rgba(139, 92, 246, 0.12);
  color: var(--l-primary-light);
}

.l-bento__icon svg {
  width: 24px;
  height: 24px;
}

.l-bento__card h3 {
  font-size: var(--l-text-xl);
  margin-bottom: var(--l-space-3);
}

.l-bento__card p {
  font-size: var(--l-text-sm);
  color: var(--l-gray-400);
  line-height: var(--l-leading-relaxed);
}

.l-bento__card-visual {
  margin-top: var(--l-space-6);
  border-radius: var(--l-radius-lg);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.l-bento__card-visual img {
  width: 100%;
  height: auto;
  display: block;
}


/* ==========================================================================
   9. USP SPLIT SECTION
   ========================================================================== */
.l-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--l-space-12);
  align-items: center;
}

.l-split__text {
  max-width: 520px;
}

.l-split__text h2 {
  font-size: var(--l-text-3xl);
  margin-bottom: var(--l-space-4);
}

.l-split__text > p {
  font-size: var(--l-text-base);
  color: var(--l-gray-400);
  margin-bottom: var(--l-space-8);
  line-height: var(--l-leading-relaxed);
}

/* --- USP Feature items --- */
.l-usp-list {
  display: flex;
  flex-direction: column;
  gap: var(--l-space-6);
}

.l-usp-item {
  display: flex;
  gap: var(--l-space-4);
}

.l-usp-item__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--l-radius-md);
  background: rgba(139, 92, 246, 0.1);
  color: var(--l-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.l-usp-item__icon svg {
  width: 20px;
  height: 20px;
}

.l-usp-item__text h4 {
  font-size: var(--l-text-base);
  font-weight: var(--l-font-semibold);
  margin-bottom: var(--l-space-1);
}

.l-usp-item__text p {
  font-size: var(--l-text-sm);
  color: var(--l-gray-400);
  line-height: var(--l-leading-relaxed);
}

/* --- Split visual (tech cards) --- */
.l-split__visual {
  display: block;
}

.l-tech-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--l-space-4);
}

@media (min-width: 640px) {
  .l-tech-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.l-tech-card {
  padding: var(--l-space-6);
  background: var(--l-bg-glass);
  border: 1px solid var(--l-border);
  border-radius: var(--l-radius-xl);
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--l-transition-base), border-color var(--l-transition-base);
}

.l-tech-card:hover {
  transform: translateY(-4px);
  border-color: var(--l-border-hover);
}

.l-tech-card__ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto var(--l-space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.1);
  border: 2px solid rgba(139, 92, 246, 0.2);
  color: var(--l-primary-light);
}

.l-tech-card__ring svg {
  width: 24px;
  height: 24px;
}

.l-tech-card h4 {
  font-size: var(--l-text-sm);
  font-weight: var(--l-font-semibold);
  margin-bottom: var(--l-space-2);
}

.l-tech-card p {
  font-size: var(--l-text-xs);
  color: var(--l-gray-500);
}

.l-tech-badge {
  display: inline-block;
  padding: var(--l-space-1) var(--l-space-3);
  font-size: var(--l-text-xs);
  font-weight: var(--l-font-medium);
  background: rgba(139, 92, 246, 0.1);
  color: var(--l-primary-light);
  border-radius: var(--l-radius-full);
  margin-top: var(--l-space-2);
}


/* ==========================================================================
   10. PLATFORMS SECTION
   ========================================================================== */
.l-platforms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--l-space-6);
}

.l-platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--l-space-8) var(--l-space-4);
  background: var(--l-bg-glass);
  border: 1px solid var(--l-border);
  border-radius: var(--l-radius-xl);
  transition: transform var(--l-transition-base), border-color var(--l-transition-base);
}

.l-platform:hover {
  transform: scale(1.05);
  border-color: var(--l-border-hover);
}

.l-platform__device {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--l-bg-glass);
  border: 1px solid var(--l-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--l-space-4);
  transition: background var(--l-transition-base);
}

.l-platform:hover .l-platform__device {
  background: rgba(139, 92, 246, 0.1);
}

.l-platform__device svg {
  width: 32px;
  height: 32px;
  color: var(--l-gray-400);
  transition: color var(--l-transition-base);
}

.l-platform:hover .l-platform__device svg {
  color: var(--l-primary-light);
}

.l-platform h3 {
  font-size: var(--l-text-base);
  font-weight: var(--l-font-semibold);
  margin-bottom: var(--l-space-1);
}

.l-platform p {
  font-size: var(--l-text-sm);
  color: var(--l-gray-500);
}


/* ==========================================================================
   11. DUO (Special Features)
   ========================================================================== */
.l-duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--l-space-8);
}

.l-duo__card {
  position: relative;
  padding: var(--l-space-10);
  background: var(--l-bg-glass);
  border: 1px solid var(--l-border);
  border-radius: var(--l-radius-2xl);
  overflow: hidden;
  transition: border-color var(--l-transition-base);
}

.l-duo__card:hover {
  border-color: var(--l-border-hover);
}

.l-duo__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--l-radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--l-space-6);
  background: rgba(139, 92, 246, 0.12);
  color: var(--l-primary-light);
}

.l-duo__icon svg {
  width: 28px;
  height: 28px;
}

.l-duo__card h3 {
  font-size: var(--l-text-2xl);
  margin-bottom: var(--l-space-3);
}

.l-duo__card > p {
  font-size: var(--l-text-base);
  color: var(--l-gray-400);
  line-height: var(--l-leading-relaxed);
  margin-bottom: var(--l-space-6);
  max-width: 500px;
}

.l-duo__list {
  display: flex;
  flex-direction: column;
  gap: var(--l-space-3);
}

.l-duo__list li {
  display: flex;
  align-items: center;
  gap: var(--l-space-3);
  font-size: var(--l-text-sm);
  color: var(--l-gray-300);
}

.l-duo__list li::before {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2310b981'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.l-duo__card-visual {
  margin-top: var(--l-space-8);
  border-radius: var(--l-radius-lg);
  overflow: hidden;
}

.l-duo__card-visual img {
  width: 100%;
  height: auto;
}


/* ==========================================================================
   12. STEPS SECTION
   ========================================================================== */
.l-steps {
  position: relative;
  max-width: 700px;
  margin-inline: auto;
  padding-left: var(--l-space-16);
}

/* Connecting line */
.l-steps::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--l-primary), var(--l-secondary), var(--l-accent-green));
  opacity: 0.3;
}

.l-step {
  position: relative;
  padding-bottom: var(--l-space-12);
}

.l-step:last-child {
  padding-bottom: 0;
}

.l-step__number {
  position: absolute;
  left: calc(-1 * var(--l-space-16) + 4px);
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--l-gradient-primary);
  color: var(--l-white);
  font-family: var(--l-font-heading);
  font-size: var(--l-text-base);
  font-weight: var(--l-font-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.l-step h3 {
  font-size: var(--l-text-xl);
  margin-bottom: var(--l-space-2);
}

.l-step p {
  font-size: var(--l-text-base);
  color: var(--l-gray-400);
  line-height: var(--l-leading-relaxed);
}

.l-step__content {
  margin-top: var(--l-space-4);
  border-radius: var(--l-radius-lg);
  overflow: hidden;
  border: 1px solid var(--l-border);
}

.l-step__content img {
  width: 100%;
  height: auto;
}

/* Scroll-driven animation enhancement */
@supports (animation-timeline: scroll()) {
  .l-steps::before {
    animation: l-line-grow linear;
    animation-timeline: view();
    animation-range: entry 0% cover 80%;
  }

  @keyframes l-line-grow {
    from { opacity: 0; clip-path: inset(0 0 100% 0); }
    to { opacity: 0.3; clip-path: inset(0 0 0% 0); }
  }

  .l-step {
    animation: l-step-in linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
  }

  @keyframes l-step-in {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
}


/* ==========================================================================
   13. INDUSTRIES SECTION
   ========================================================================== */
.l-industries {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--l-space-4);
}

.l-industry {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
  padding: var(--l-space-6);
  border-radius: var(--l-radius-xl);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.09) 0%, rgba(30, 20, 50, 0.7) 100%);
  border: 1px solid rgba(139, 92, 246, 0.18);
  overflow: hidden;
  text-decoration: none;
  transition: transform var(--l-transition-base), border-color var(--l-transition-base), box-shadow var(--l-transition-base);
}

.l-industry::before {
  content: none;
}

.l-industry:hover {
  transform: scale(1.02);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.15);
}

.l-industry:hover::before {
  content: none;
}

.l-industry img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.l-industry {
  position: relative;
  z-index: 2;
}

.l-industry__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--l-radius-md);
  background: rgba(139, 92, 246, 0.22);
  color: #c4b5fd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--l-space-3);
  border: 1px solid rgba(139, 92, 246, 0.28);
}

.l-industry__icon svg {
  width: 20px;
  height: 20px;
}

.l-industry h3 {
  font-size: var(--l-text-lg);
  margin-bottom: var(--l-space-1);
}

.l-industry p {
  font-size: var(--l-text-sm);
  color: var(--l-gray-400);
}


/* ==========================================================================
   14. PRICING SECTION
   ========================================================================== */

/* --- Pricing toggle --- */
.l-pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--l-space-4);
  margin-bottom: var(--l-space-12);
}

.l-pricing-toggle__label {
  font-size: var(--l-text-sm);
  color: var(--l-gray-400);
  font-weight: var(--l-font-medium);
}

.l-pricing-toggle__label--active {
  color: var(--l-white);
}

.l-pricing-toggle__switch {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--l-gray-700);
  border-radius: var(--l-radius-full);
  cursor: pointer;
  transition: background var(--l-transition-base);
  border: none;
  padding: 0;
}

.l-pricing-toggle__switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--l-white);
  transition: transform var(--l-transition-base);
  box-shadow: var(--l-shadow-sm);
}

.l-pricing-toggle__switch[aria-checked="true"],
.l-pricing-toggle__switch.active {
  background: var(--l-primary);
}

.l-pricing-toggle__switch[aria-checked="true"]::after,
.l-pricing-toggle__switch.active::after {
  transform: translateX(24px);
}

.l-pricing-toggle__save {
  font-size: var(--l-text-xs);
  font-weight: var(--l-font-semibold);
  color: var(--l-accent-green);
  background: rgba(16, 185, 129, 0.1);
  padding: var(--l-space-1) var(--l-space-2);
  border-radius: var(--l-radius-sm);
}

/* --- Pricing grid --- */
.l-pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--l-space-6);
  align-items: start;
}

.l-pricing__card {
  position: relative;
  padding: var(--l-space-8);
  background: var(--l-bg-glass);
  border: 1px solid var(--l-border);
  border-radius: var(--l-radius-2xl);
  transition: transform var(--l-transition-base);
}

.l-pricing__card:hover {
  transform: translateY(-4px);
}

.l-pricing__card--popular {
  background: linear-gradient(var(--l-bg-dark-alt), var(--l-bg-dark-alt)) padding-box,
              var(--l-gradient-primary) border-box;
  border: 2px solid transparent;
  box-shadow: var(--l-shadow-glow);
  z-index: 1;
}

/* Single pricing card layout */
.l-pricing--single {
  display: flex;
  justify-content: center;
}
.l-pricing__card--solo {
  max-width: 520px;
  width: 100%;
  text-align: center;
  transform: none;
}
.l-pricing__card--solo .l-pricing__amount {
  font-size: 6rem;
}
.l-pricing__highlight {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 2rem;
  color: #a5b4fc;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.l-pricing__note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--l-gray-400);
}

.l-pricing__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--l-space-1) var(--l-space-4);
  background: var(--l-gradient-primary);
  color: var(--l-white);
  font-size: var(--l-text-xs);
  font-weight: var(--l-font-bold);
  border-radius: var(--l-radius-full);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.l-pricing__name {
  font-size: var(--l-text-lg);
  font-weight: var(--l-font-semibold);
  color: var(--l-white);
  margin-bottom: var(--l-space-2);
}

.l-pricing__range {
  font-size: var(--l-text-sm);
  color: var(--l-gray-400);
  margin-bottom: var(--l-space-6);
}

.l-pricing__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--l-space-1);
  margin-bottom: var(--l-space-6);
}

.l-pricing__currency {
  font-size: var(--l-text-xl);
  font-weight: var(--l-font-bold);
  color: var(--l-white);
}

.l-pricing__amount {
  font-family: var(--l-font-heading);
  font-size: var(--l-text-5xl);
  font-weight: var(--l-font-extrabold);
  color: var(--l-white);
  line-height: 1;
}

.l-pricing__period {
  font-size: var(--l-text-sm);
  color: var(--l-gray-500);
  text-align: center;
  margin-bottom: var(--l-space-4);
}

.l-pricing__divider {
  width: 100%;
  height: 1px;
  background: var(--l-border);
  margin-bottom: var(--l-space-6);
  border: none;
}

.l-pricing__features {
  display: flex;
  flex-direction: column;
  gap: var(--l-space-3);
  margin-bottom: var(--l-space-8);
}

.l-pricing__feature {
  display: flex;
  align-items: center;
  gap: var(--l-space-3);
  font-size: var(--l-text-sm);
  color: var(--l-gray-300);
}

.l-pricing__feature svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--l-accent-green);
}

.l-pricing__feature--disabled {
  color: var(--l-gray-600);
}

.l-pricing__feature--disabled svg {
  color: var(--l-gray-600);
}

.l-pricing__card .l-btn {
  width: 100%;
}


/* ==========================================================================
   15. TESTIMONIALS SECTION
   ========================================================================== */
.l-testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--l-space-6);
}

.l-testimonial {
  padding: var(--l-space-8);
  background: var(--l-bg-glass);
  border: 1px solid var(--l-border);
  border-radius: var(--l-radius-xl);
  transition: border-color var(--l-transition-base);
}

.l-testimonial:hover {
  border-color: var(--l-border-hover);
}

.l-testimonial__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--l-space-4);
  color: var(--l-accent-orange);
}

.l-testimonial__stars svg {
  width: 18px;
  height: 18px;
}

.l-testimonial blockquote {
  font-size: var(--l-text-base);
  color: var(--l-gray-300);
  line-height: var(--l-leading-relaxed);
  margin-bottom: var(--l-space-6);
  font-style: italic;
}

.l-testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--l-space-3);
}

.l-testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--l-gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--l-text-sm);
  font-weight: var(--l-font-bold);
  color: var(--l-white);
  flex-shrink: 0;
}

.l-testimonial__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.l-testimonial__author strong {
  font-size: var(--l-text-sm);
  font-weight: var(--l-font-semibold);
  color: var(--l-white);
}

.l-testimonial__author span {
  font-size: var(--l-text-xs);
  color: var(--l-gray-500);
}


/* ==========================================================================
   16. FAQ SECTION
   ========================================================================== */
.l-faq {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--l-space-3);
}

.l-faq__item {
  border: 1px solid var(--l-border);
  border-radius: var(--l-radius-xl);
  background: var(--l-bg-glass);
  overflow: hidden;
  transition: border-color var(--l-transition-base);
}

.l-faq__item:hover {
  border-color: var(--l-border-hover);
}

.l-faq__item[open] {
  border-color: rgba(139, 92, 246, 0.2);
}

.l-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--l-space-4);
  padding: var(--l-space-5) var(--l-space-6);
  cursor: pointer;
  font-size: var(--l-text-base);
  font-weight: var(--l-font-semibold);
  color: var(--l-white);
  list-style: none;
  user-select: none;
  transition: color var(--l-transition-base);
}

.l-faq__question::-webkit-details-marker {
  display: none;
}

.l-faq__question::marker {
  content: '';
}

.l-faq__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--l-gray-500);
  transition: transform var(--l-transition-base), color var(--l-transition-base);
}

.l-faq__item[open] .l-faq__icon {
  transform: rotate(45deg);
  color: var(--l-primary-light);
}

.l-faq__answer {
  padding: 0 var(--l-space-6) var(--l-space-6);
  font-size: var(--l-text-sm);
  color: var(--l-gray-400);
  line-height: var(--l-leading-relaxed);
}

/* Smooth open/close using grid trick */
.l-faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--l-transition-base);
}

.l-faq__item[open] .l-faq__answer {
  grid-template-rows: 1fr;
}

.l-faq__answer > div {
  overflow: hidden;
}


/* ==========================================================================
   17. CTA SECTION
   ========================================================================== */
.l-cta {
  position: relative;
  padding: var(--l-space-24) 0;
  overflow: hidden;
}

.l-cta__aurora {
  position: absolute;
  inset: 0;
  z-index: var(--l-z-behind);
  background:
    radial-gradient(ellipse 80% 100% at 50% 120%, rgba(139, 92, 246, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(109, 40, 217, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(14, 165, 233, 0.1) 0%, transparent 60%),
    var(--l-bg-dark);
  background-size: 200% 200%;
  animation: l-aurora-shift 15s ease-in-out infinite alternate;
}

@keyframes l-aurora-shift {
  0% {
    background-position: 0% 100%, 0% 50%, 100% 50%, center;
  }
  33% {
    background-position: 50% 80%, 30% 60%, 70% 40%, center;
  }
  66% {
    background-position: 100% 60%, 60% 70%, 40% 30%, center;
  }
  100% {
    background-position: 50% 100%, 80% 50%, 20% 50%, center;
  }
}

.l-cta__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 650px;
  margin-inline: auto;
}

.l-cta__content h2 {
  font-size: var(--l-text-4xl);
  margin-bottom: var(--l-space-4);
}

.l-cta__content p {
  font-size: var(--l-text-lg);
  color: var(--l-gray-400);
  margin-bottom: var(--l-space-8);
  line-height: var(--l-leading-relaxed);
}

.l-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--l-space-4);
  margin-bottom: var(--l-space-6);
}

.l-cta__note {
  font-size: var(--l-text-sm);
  color: var(--l-gray-500);
}


/* ==========================================================================
   18. FOOTER
   ========================================================================== */
.l-footer {
  padding: var(--l-space-12) 0 var(--l-space-8);
  border-top: 1px solid var(--l-border);
  background: var(--l-bg-dark);
}

.l-footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--l-space-8);
}

.l-footer__top {
  display: flex;
  flex-direction: column;
  gap: var(--l-space-8);
}

.l-footer__brand {
  max-width: 280px;
}

.l-footer__brand-logo {
  display: flex;
  align-items: center;
  gap: var(--l-space-3);
  margin-bottom: var(--l-space-4);
  font-family: var(--l-font-heading);
  font-size: var(--l-text-xl);
  font-weight: var(--l-font-bold);
  color: var(--l-white);
}

.l-footer__brand-logo img,
.l-footer__brand-logo svg {
  width: 32px;
  height: 32px;
}

.l-footer__brand p {
  font-size: var(--l-text-sm);
  color: var(--l-gray-500);
  line-height: var(--l-leading-relaxed);
}

.l-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--l-space-8);
}

.l-footer__col h4 {
  font-size: var(--l-text-sm);
  font-weight: var(--l-font-semibold);
  color: var(--l-white);
  margin-bottom: var(--l-space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.l-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--l-space-3);
}

.l-footer__col a {
  font-size: var(--l-text-sm);
  color: var(--l-gray-500);
  transition: color var(--l-transition-fast);
}

.l-footer__col a:hover {
  color: var(--l-white);
}

.l-footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--l-space-4);
  padding-top: var(--l-space-8);
  border-top: 1px solid var(--l-border);
  font-size: var(--l-text-sm);
  color: var(--l-gray-500);
}

.l-footer__social {
  display: flex;
  gap: var(--l-space-4);
}

.l-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--l-bg-glass);
  border: 1px solid var(--l-border);
  color: var(--l-gray-400);
  transition: all var(--l-transition-fast);
}

.l-footer__social a:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
  color: var(--l-primary-light);
}

.l-footer__social a svg {
  width: 18px;
  height: 18px;
}


/* ==========================================================================
   19. NAVIGATION (Landing-specific)
   ========================================================================== */
.l-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--l-z-sticky);
  padding: var(--l-space-4) 0;
  transition: background var(--l-transition-base), box-shadow var(--l-transition-base), padding var(--l-transition-base);
}

.l-nav--scrolled {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--l-border);
  padding: var(--l-space-3) 0;
}

.l-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--l-space-6);
}

.l-nav__logo {
  display: flex;
  align-items: center;
  gap: var(--l-space-2);
  font-family: var(--l-font-heading);
  font-size: var(--l-text-xl);
  font-weight: var(--l-font-bold);
  color: var(--l-white);
  flex-shrink: 0;
}

.l-nav__logo img,
.l-nav__logo svg {
  width: 32px;
  height: 32px;
}

.l-nav__links {
  display: none;
  align-items: center;
  gap: var(--l-space-6);
}

.l-nav__links a {
  font-size: var(--l-text-sm);
  color: var(--l-gray-400);
  font-weight: var(--l-font-medium);
  transition: color var(--l-transition-fast);
}

.l-nav__links a:hover {
  color: var(--l-white);
}

.l-nav__actions {
  display: flex;
  align-items: center;
  gap: var(--l-space-3);
}

.l-nav__lang {
  font-size: var(--l-text-sm);
  color: var(--l-gray-400);
  background: transparent;
  border: 1px solid var(--l-border);
  border-radius: var(--l-radius-md);
  padding: var(--l-space-1) var(--l-space-2);
  cursor: pointer;
}

.l-nav__lang option {
  background: var(--l-gray-800);
  color: var(--l-white);
}

/* --- Mobile menu toggle --- */
.l-nav__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--l-gray-400);
  cursor: pointer;
}

.l-nav__toggle svg {
  width: 24px;
  height: 24px;
}

/* --- Mobile menu overlay --- */
.l-nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  top: 60px;
  z-index: var(--l-z-overlay);
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--l-space-8);
  flex-direction: column;
  gap: var(--l-space-6);
}

.l-nav__mobile.open {
  display: flex;
}

.l-nav__mobile a {
  font-size: var(--l-text-lg);
  color: var(--l-gray-300);
  padding: var(--l-space-3) 0;
  border-bottom: 1px solid var(--l-border);
  transition: color var(--l-transition-fast);
}

.l-nav__mobile a:hover {
  color: var(--l-white);
}


/* ==========================================================================
   20. ANIMATIONS & KEYFRAMES
   ========================================================================== */

/* --- Grain animation (subtle position shift) --- */
@keyframes l-grain-drift {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -1%); }
  75% { transform: translate(-1%, -3%); }
}

.l-hero__grain {
  animation: l-grain-drift 8s steps(4) infinite;
}

/* --- Shimmer effect (for skeleton / loading) --- */
@keyframes l-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.l-shimmer {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  background-size: 200% 100%;
  animation: l-shimmer 2s linear infinite;
}

/* --- Rotate (for icons on hover) --- */
@keyframes l-spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- Ping (for notification dots) --- */
@keyframes l-ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

.l-ping {
  animation: l-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}


/* ==========================================================================
   21. RESPONSIVE - TABLET (>= 768px)
   ========================================================================== */
@media (min-width: 768px) {

  /* Container */
  .container {
    padding-inline: var(--l-space-8);
  }

  /* Section headers */
  .l-section__header h2 {
    font-size: var(--l-text-5xl);
  }

  /* Hero */
  .l-hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--l-space-12);
  }

  .l-hero__title {
    font-size: clamp(2.5rem, 4vw, var(--l-text-display));
  }

  /* Stats */
  .l-stats__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .l-stat__number {
    font-size: var(--l-text-5xl);
  }

  /* Bento */
  .l-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .l-bento__card--wide {
    grid-column: span 2;
  }

  .l-bento__card--tall {
    grid-row: span 2;
  }

  /* Split */
  .l-split {
    grid-template-columns: 1fr 1fr;
  }

  /* Platforms */
  .l-platforms {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Duo */
  .l-duo {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Industries */
  .l-industries {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Pricing */
  .l-pricing {
    grid-template-columns: repeat(3, 1fr);
  }

  .l-pricing__card--popular {
    transform: scale(1.05);
  }

  .l-pricing__card--popular:hover {
    transform: scale(1.05) translateY(-4px);
  }

  /* Testimonials */
  .l-testimonials {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .l-footer__top {
    flex-direction: row;
    justify-content: space-between;
  }

  .l-footer__nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .l-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* Nav */
  .l-nav__toggle {
    display: none;
  }

  .l-nav__links {
    display: flex;
  }
}


/* ==========================================================================
   22. RESPONSIVE - DESKTOP (>= 1024px)
   ========================================================================== */
@media (min-width: 1024px) {

  /* Hero */
  .l-hero__title {
    font-size: var(--l-text-display);
  }

  /* Bento */
  .l-bento {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Platforms */
  .l-platforms {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Industries */
  .l-industries {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Testimonials */
  .l-testimonials {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Footer nav */
  .l-footer__nav {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Split - reverse layout variant */
  .l-split--reverse .l-split {
    direction: rtl;
  }

  .l-split--reverse .l-split > * {
    direction: ltr;
  }
}


/* ==========================================================================
   23. RESPONSIVE - LARGE DESKTOP (>= 1280px)
   ========================================================================== */
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }

  .l-hero__title {
    font-size: 3.75rem;
  }

  .l-stat__number {
    font-size: var(--l-text-6xl);
  }
}


/* ==========================================================================
   24. RESPONSIVE - MOBILE (< 480px)
   ========================================================================== */
@media (max-width: 479px) {
  .l-stat__number {
    font-size: 2rem;
  }

  .l-stat__label {
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   25. ACCESSIBILITY & MOTION PREFERENCES
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  [data-reveal],
  [data-reveal-scale] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Focus visible for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--l-primary);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--l-primary);
  outline-offset: 2px;
}

/* Skip to content link */
.l-skip-link {
  position: absolute;
  top: -100%;
  left: var(--l-space-4);
  padding: var(--l-space-3) var(--l-space-6);
  background: var(--l-primary);
  color: var(--l-white);
  font-weight: var(--l-font-semibold);
  border-radius: var(--l-radius-md);
  z-index: var(--l-z-toast);
  transition: top var(--l-transition-fast);
}

.l-skip-link:focus {
  top: var(--l-space-4);
}


/* ==========================================================================
   25. UTILITY CLASSES
   ========================================================================== */
.l-text-center { text-align: center; }
.l-text-left { text-align: left; }
.l-text-right { text-align: right; }

.l-mx-auto { margin-inline: auto; }

.l-mt-4 { margin-top: var(--l-space-4); }
.l-mt-8 { margin-top: var(--l-space-8); }
.l-mt-12 { margin-top: var(--l-space-12); }
.l-mb-4 { margin-bottom: var(--l-space-4); }
.l-mb-8 { margin-bottom: var(--l-space-8); }
.l-mb-12 { margin-bottom: var(--l-space-12); }

.l-hidden { display: none; }
.l-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Responsive hide/show */
@media (max-width: 767px) {
  .l-hide-mobile { display: none !important; }

  /* Hero: center CTAs and checks on mobile */
  .l-hero__ctas {
    justify-content: center;
  }

  .l-hero__checks {
    justify-content: center;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .l-hide-tablet { display: none !important; }
}
@media (min-width: 1024px) {
  .l-hide-desktop { display: none !important; }
}


/* ==========================================================================
   26. DEFINITION SECTION (AI Visibility / Definitional Content)
   ========================================================================== */
.l-section--definition {
  padding: 3rem 0;
  background: #0f0f12;
  border-top: 1px solid rgba(139,92,246,0.1);
  border-bottom: 1px solid rgba(139,92,246,0.1);
}

.l-definition {
  max-width: 820px;
  margin: 0 auto;
}

.l-definition h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.l-definition p {
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.l-definition strong {
  color: #e2e8f0;
}

.l-definition em {
  color: #a78bfa;
  font-style: normal;
}

.l-definition__link {
  display: inline-block;
  margin-top: 0.5rem;
  color: #a78bfa;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.l-definition__link:hover {
  color: #c4b5fd;
  text-decoration: underline;
}

.l-definition__note {
  font-size: 0.8rem;
  color: var(--l-gray-500);
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 0.75rem;
}
