/* ==========================================================================
   ZOULE PRESTIGE ERP — LANDING PAGE STYLES
   Design System: Modern SaaS, Glassmorphism, Deep Slate & Radiant Indigo
   Author: Zoule Team
   ========================================================================== */

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

/* --- Root Variables & Design Tokens --- */
:root {
  /* Color Palette */
  --bg-dark: #070b14;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-surface: #0f172a;
  --bg-surface-elevated: #1e293b;

  /* Accents */
  --primary: #4f46e5;
  --primary-glow: rgba(79, 70, 229, 0.35);
  --primary-light: #818cf8;
  --secondary: #0ea5e9;
  --secondary-glow: rgba(14, 165, 233, 0.3);
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);
  --accent-amber: #f59e0b;

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

  /* Borders & Dividers */
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-highlight: rgba(255, 255, 255, 0.16);
  --border-primary: rgba(99, 102, 241, 0.4);

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 50px -10px var(--primary-glow);
  --shadow-glow-emerald: 0 0 40px -10px var(--accent-emerald-glow);

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

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Glow Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(circle at 20% 15%, rgba(79, 70, 229, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(14, 165, 233, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(16, 185, 129, 0.06) 0%, transparent 40%);
  pointer-events: none;
  z-index: -1;
}

/* Background Subtle Grid */
.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
}

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

p {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

/* --- Section Styling --- */
section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: var(--primary-light);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.section-tag.emerald {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--accent-emerald);
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
}

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

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 20%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-accent {
  background: linear-gradient(135deg, #818cf8 0%, #38bdf8 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--primary-glow);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(79, 70, 229, 0.55);
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border-color: var(--border-glass-highlight);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #072b14;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   1. NAVIGATION HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 0;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.85rem 0;
  box-shadow: var(--shadow-sm);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-heading);
  text-decoration: none;
}

.brand-symbol {
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-symbol {
  transform: scale(1.05);
}

.brand-name {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.brand-badge {
  font-size: 0.65rem;
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.brand-logo > .brand-badge {
  margin-left: -0.35rem;
}

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

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-link:hover {
  color: var(--text-white);
}

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

.mobile-menu-btn {
  display: none;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-glass-highlight);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  color: var(--text-white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  padding: 0;
  backdrop-filter: blur(8px);
}

.mobile-menu-btn:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 10rem;
  padding-bottom: 6rem;
  text-align: center;
  overflow: hidden;
}

.hero-badge-container {
  display: inline-flex;
  margin-bottom: 1.75rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  color: #34d399;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-glow-emerald);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 780px;
  margin: 0 auto 2.5rem auto;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.hero-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.hero-guarantee span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Hero Mockup (Mac Window Frame) */
.hero-mockup-wrapper {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
}

.hero-mockup-glow {
  position: absolute;
  top: 10%;
  left: 5%;
  right: 5%;
  bottom: 10%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(14, 165, 233, 0.2));
  filter: blur(70px);
  z-index: -1;
  border-radius: var(--radius-xl);
}

.mac-mockup {
  background: #0f172a;
  border: 1px solid var(--border-glass-highlight);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 40px rgba(99, 102, 241, 0.15);
  overflow: hidden;
}

.mac-header {
  background: #1e293b;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-glass);
}

.mac-traffic-lights {
  display: flex;
  gap: 6px;
}

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

.mac-address-bar {
  background: #0f172a;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mac-body {
  padding: 1.5rem;
  background: #070b14;
}

/* Mockup Content Layout */
.mockup-dashboard {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.25rem;
  text-align: left;
}

.mockup-sidebar {
  background: #0f172a;
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mockup-nav-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.mockup-nav-item.active {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  font-weight: 600;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.mockup-main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mockup-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.mockup-stat-card {
  background: #0f172a;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}
.mockup-stat-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
}
.mockup-stat-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-white);
  margin-top: 0.2rem;
}
.mockup-stat-tag {
  font-size: 0.7rem;
  color: #34d399;
  font-weight: 600;
}

.mockup-table-card {
  background: #0f172a;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  padding: 1.25rem;
}

.mockup-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.mockup-table-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-white);
}

.mockup-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}
.mockup-table th {
  text-align: left;
  padding: 0.4rem 0.5rem;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-glass);
  font-weight: 600;
}
.mockup-table td {
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
}
.mockup-badge-ecf {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Mockup Mobile Feed */
.mockup-mobile-feed {
  display: none;
}

.mockup-feed-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  transition: all var(--transition-fast);
}

.feed-item-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.feed-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feed-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  text-align: left;
}

.feed-item-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-item-sub {
  font-size: 0.7rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-item-sub strong {
  color: #818cf8;
}

.feed-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  flex-shrink: 0;
}

.feed-item-amount {
  font-size: 0.85rem;
  font-weight: 700;
  color: #34d399;
}

/* Floating Badges on Mockup */
.floating-chip {
  position: absolute;
  padding: 0.6rem 1.15rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-glass-highlight);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  animation: float 4s ease-in-out infinite alternate;
}
.chip-dgii {
  top: -20px;
  right: -15px;
  border-color: rgba(16, 185, 129, 0.4);
}
.chip-pos {
  bottom: 20px;
  left: -20px;
  border-color: rgba(99, 102, 241, 0.4);
  animation-delay: -2s;
}

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

/* ==========================================================================
   3. TRUST & FISCAL COMPLIANCE BAR
   ========================================================================== */
.trust-bar {
  padding: 2.5rem 0;
  background: rgba(15, 23, 42, 0.4);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.trust-title {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.trust-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.3s ease, transform 0.3s ease;
}
.trust-item:hover {
  color: var(--text-white);
  transform: translateY(-2px);
}
.trust-item svg {
  color: var(--primary-light);
  transition: transform 0.3s ease, color 0.3s ease;
}
.trust-item:hover svg {
  color: #38bdf8;
  transform: scale(1.15);
}

/* ==========================================================================
   4. AUDIENCE SWITCHER (NEGOCIOS VS CONTABLES)
   ========================================================================== */
.audience-section {
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.3) 100%);
}

.audience-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.audience-toggle {
  background: #0f172a;
  border: 1px solid var(--border-glass-highlight);
  border-radius: var(--radius-full);
  padding: 0.4rem;
  display: inline-flex;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.audience-btn {
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all var(--transition-fast);
}

.audience-btn.active {
  background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
  color: var(--text-white);
  box-shadow: 0 4px 15px var(--primary-glow);
}

.audience-view {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}
.audience-view.active {
  display: block;
}

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

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-highlight);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(99, 102, 241, 0.1);
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
}

.feature-icon-wrapper.emerald {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--accent-emerald);
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.feature-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.25rem;
}

.feature-bullet-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
}
.feature-bullet-list svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.card-top-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--primary-light);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.card-top-tag.emerald {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.card-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary-light);
  font-weight: 700;
  font-size: 0.92rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-fast);
}

.card-action-link:hover {
  color: #a5b4fc;
  transform: translateX(4px);
}

.featured-sol-card {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.15);
}

.featured-sol-card:hover {
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 15px 40px -10px rgba(16, 185, 129, 0.25);
}

/* ==========================================================================
   5. STAR MODULE SHOWCASE (INTERACTIVE)
   ========================================================================== */
.modules-section {
  padding: 6rem 0;
}

.showcase-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  backdrop-filter: blur(16px);
}

.showcase-content h3 {
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
}

.showcase-content p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.tag-badge {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

/* ==========================================================================
   5B. DEEP-DIVE DE MÓDULOS (EXHAUSTIVE SYSTEM BREAKDOWN)
   ========================================================================== */
.modules-deepdive-section {
  padding: 6.5rem 0 7.5rem 0;
  background: radial-gradient(circle at 50% 8%, rgba(56, 189, 248, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 85% 40%, rgba(99, 102, 241, 0.07) 0%, transparent 45%),
              radial-gradient(circle at 15% 70%, rgba(16, 185, 129, 0.05) 0%, transparent 45%),
              linear-gradient(180deg, #070b14 0%, #0c1322 25%, #0c1322 75%, #070b14 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
  overflow: hidden;
}

.modules-deepdive-section .container {
  max-width: 1440px;
  width: 100%;
  padding: 0 2rem;
}

.module-nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.module-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.module-nav-btn:hover {
  background: rgba(30, 41, 59, 0.9);
  color: var(--text-white);
  border-color: var(--border-glass-highlight);
}

.module-nav-btn.active {
  background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px var(--primary-glow);
}

.module-panel {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.module-panel.active {
  display: block;
}

.module-panel-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 1.5rem 0 0 0;
  backdrop-filter: none;
  box-shadow: none;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.module-panel-header {
  margin-bottom: 2rem;
}

.module-panel-header h3 {
  font-size: 2.25rem;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.module-panel-header p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.module-subfeatures-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.subfeature-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.subfeature-box:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(22, 33, 56, 0.85);
  transform: translateY(-4px);
  box-shadow: 0 12px 25px -4px rgba(56, 189, 248, 0.12), 0 6px 10px -2px rgba(0, 0, 0, 0.3);
}

.subfeature-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.subfeature-header svg {
  color: var(--primary-light);
  flex-shrink: 0;
}

.subfeature-header h4 {
  font-size: 0.98rem;
  color: var(--text-white);
  font-weight: 700;
}

.subfeature-box p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Module Visual Simulation Displays */
.module-visual-wrapper {
  background: rgba(11, 17, 33, 0.88);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.visual-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 0.85rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.visual-metric-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.visual-metric-item {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.84rem;
}

.visual-metric-item strong {
  color: var(--text-white);
  font-weight: 600;
}

.badge-tag-sm {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* Specialized Payroll (RRHH) Rows */
.rrhh-payroll-card {
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  padding: 0.95rem 1.15rem;
}

.payroll-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.payroll-card-header .emp-name {
  color: var(--text-white);
  font-size: 0.9rem;
  font-weight: 700;
}

.payroll-card-header .emp-role {
  color: #94a3b8;
  font-size: 0.76rem;
  font-weight: 500;
}

.payroll-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  background: rgba(7, 11, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
}

.payroll-metric-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.payroll-metric-col .lbl {
  font-size: 0.65rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.payroll-metric-col .val {
  font-size: 0.75rem;
  font-weight: 600;
  color: #e2e8f0;
}

.payroll-metric-col .val.deduction {
  color: #f87171;
}

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

.badge-indigo {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

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

.badge-purple {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.badge-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.showcase-visual {
  position: relative;
}

.ui-card-mockup {
  background: #0f172a;
  border: 1px solid var(--border-glass-highlight);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}

.qr-timbre-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(7, 11, 20, 0.8);
  border: 1px dashed rgba(99, 102, 241, 0.4);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1.5rem;
}

.qr-code-graphic {
  width: 90px;
  height: 90px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-timbre-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.78rem;
}
.qr-timbre-info strong {
  color: var(--text-white);
  font-size: 0.88rem;
}

/* ==========================================================================
   6. COMPARISON TABLE (ZOULE VS RESTO)
   ========================================================================== */
.comparison-section {
  padding: 6rem 0;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-glass);
}

.comparison-table th {
  background: #0b1120;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-white);
  font-weight: 700;
}

.comparison-table th.highlight, .comparison-table td.highlight {
  background: rgba(79, 70, 229, 0.08);
  border-left: 1px solid rgba(99, 102, 241, 0.25);
  border-right: 1px solid rgba(99, 102, 241, 0.25);
}

.comparison-table th.highlight {
  background: rgba(79, 70, 229, 0.2);
  color: var(--primary-light);
  font-size: 1.15rem;
}

.check-icon,
.cross-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-right: 0.35rem;
  flex-shrink: 0;
}

.check-icon {
  color: var(--accent-emerald);
}
.cross-icon {
  color: #ef4444;
}

/* ==========================================================================
   7. PRICING SECTION (BASED ON OFFICIAL TIERS)
   ========================================================================== */
.pricing-section {
  padding: 6rem 0;
  position: relative;
}

.pricing-billing-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  max-width: 100%;
}

.switch-label {
  cursor: pointer;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  user-select: none;
  transition: color var(--transition-fast);
}
.switch-label.active {
  color: var(--text-white);
}

.toggle-track {
  width: 56px;
  height: 30px;
  background: #1e293b;
  border: 1px solid var(--border-glass-highlight);
  border-radius: var(--radius-full);
  position: relative;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.toggle-thumb {
  width: 22px;
  height: 22px;
  background: var(--text-white);
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 4px;
  transition: transform var(--transition-fast);
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.toggle-track.active {
  background: var(--primary);
}
.toggle-track.active .toggle-thumb {
  transform: translateX(26px);
}

.discount-pill {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1.2;
}

/* Pricing Grid */
.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  margin: 0 auto 3.5rem auto;
  max-width: 1200px;
  width: 100%;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  flex: 0 1 350px;
  min-width: 300px;
  max-width: 370px;
  width: 100%;
  box-sizing: border-box;
}

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

/* Popular / Featured Tier */
.pricing-card.popular {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
  border: 2px solid #6366f1;
  box-shadow: 0 15px 40px -10px var(--primary-glow);
  position: relative;
  z-index: 2;
}

.pricing-card.popular:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px -10px var(--primary-glow);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #ffffff;
  padding: 0.35rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
  white-space: nowrap;
}

.plan-name {
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-white);
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  min-height: 44px;
  margin-bottom: 1.5rem;
}

.plan-price-box {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 1.75rem;
}

.plan-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
}

.plan-price {
  font-size: 3.25rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: var(--text-white);
  line-height: 1;
}

.plan-period {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-left: 0.2rem;
}

/* Quotas Box */
.plan-limits-box {
  background: rgba(10, 15, 29, 0.7);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.plan-limit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: var(--text-muted);
}
.plan-limit-row span {
  color: #94a3b8;
}
.plan-limit-row strong {
  color: var(--text-white);
  font-weight: 600;
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
  font-size: 0.9rem;
  line-height: 1.45;
  flex-grow: 1;
}

.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--text-main);
}
.plan-features-list svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Addons Banner */
.addons-banner {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid var(--border-glass-highlight);
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
  max-width: 1140px;
  margin: 0 auto;
}

.addon-col h4 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}
.addon-col p {
  font-size: 0.9rem;
}

.addon-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  color: var(--primary-light);
  font-weight: 700;
  font-size: 0.88rem;
}

/* ==========================================================================
   8. FAQ & GEO SECTION
   ========================================================================== */
.faq-section {
  padding: 6rem 0;
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-glass-highlight);
}

.faq-question {
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-white);
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  transition: transform var(--transition-fast);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer-inner {
  padding: 0 1.75rem 1.5rem 1.75rem;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ==========================================================================
   9. FINAL CALL TO ACTION (CTA)
   ========================================================================== */
.final-cta-section {
  padding: 5rem 0 8rem 0;
}

.final-cta-box {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.25) 0%, rgba(14, 165, 233, 0.15) 100%);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-xl);
  padding: 4.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.8), var(--shadow-glow);
}

.final-cta-box h2 {
  font-size: 3rem;
  margin-bottom: 1.25rem;
}

.final-cta-box p {
  font-size: 1.2rem;
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
  color: #cbd5e1;
}

.final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   10. SITE FOOTER
   ========================================================================== */
.site-footer {
  background: #04070d;
  border-top: 1px solid var(--border-glass);
  padding: 5rem 0 2.5rem 0;
  font-size: 0.92rem;
}

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

.footer-brand p {
  margin-top: 1rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-white);
  font-weight: 700;
}

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

.footer-links a {
  color: var(--text-muted);
}
.footer-links a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-dim);
  font-size: 0.82rem;
}

/* ==========================================================================
   MOBILE MENU DRAWER
   ========================================================================== */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 340px;
  height: 100vh;
  height: 100dvh;
  background: #0b1120;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -12px 0 35px rgba(0, 0, 0, 0.85);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.25rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.open {
  transform: translateX(0);
}

body.drawer-open {
  overflow: hidden;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 1.5rem;
}

.drawer-close-btn {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  width: 38px;
  height: 38px;
  color: var(--text-muted);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.drawer-close-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
}

.drawer-nav {
  margin-bottom: 2rem;
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.drawer-link {
  display: flex;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.drawer-link:hover, .drawer-link:active {
  background: rgba(99, 102, 241, 0.12);
  color: var(--text-white);
  border-color: rgba(99, 102, 241, 0.25);
  transform: translateX(4px);
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
}

.drawer-footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.4;
}

/* ==========================================================================
   FLOATING WHATSAPP WIDGET (ESTILO DOX TECHNOLOGY)
   ========================================================================== */
.floating-whatsapp-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.floating-whatsapp-tooltip {
  background: rgba(15, 23, 42, 0.95);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(51, 65, 85, 0.8);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0.95;
  transition: opacity 0.3s ease, transform 0.3s ease;
  animation: floatTooltip 3s ease-in-out infinite;
}

@keyframes floatTooltip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.floating-whatsapp-btn {
  width: 56px;
  height: 56px;
  background-color: #10b981;
  color: #ffffff;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2), 0 12px 25px -4px rgba(16, 185, 129, 0.45);
  outline: none;
  border: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.floating-whatsapp-btn:hover {
  background-color: #059669;
  transform: scale(1.1);
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.35), 0 18px 30px -4px rgba(16, 185, 129, 0.6);
}

.floating-whatsapp-btn:active {
  transform: scale(0.95);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .audience-grid {
    grid-template-columns: 1fr;
  }
  .showcase-container {
    grid-template-columns: 1fr;
    padding: 2.5rem;
  }
  .module-panel-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  /* Header & Navigation */
  .nav-links, .header-actions .btn-secondary, .header-actions .btn-sm {
    display: none !important;
  }
  .mobile-menu-btn {
    display: flex !important;
  }

  /* Section Spacings & Typography */
  section {
    padding: 4.5rem 0;
  }
  .hero-section {
    padding-top: 7.5rem;
    padding-bottom: 4.5rem;
  }
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.22;
  }
  .hero-subtitle {
    font-size: 1.02rem;
    margin-bottom: 2rem;
  }
  .section-header {
    margin-bottom: 2.5rem;
  }
  .section-title {
    font-size: 2rem;
  }

  /* Hero CTAs & Guarantees */
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin: 0 auto 2.5rem auto;
    gap: 0.85rem;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-guarantee {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    background: rgba(15, 23, 42, 0.65);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    max-width: 420px;
    margin: 0 auto 3rem auto;
    font-size: 0.82rem;
  }

  /* Dashboard Mockup */
  .mockup-dashboard {
    grid-template-columns: 1fr;
  }
  .mockup-sidebar {
    display: none;
  }
  .mockup-stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  .mockup-stat-card {
    padding: 0.75rem 0.5rem;
    text-align: center;
  }
  .mockup-stat-label {
    font-size: 0.62rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mockup-stat-val {
    font-size: 1.1rem;
    line-height: 1.2;
    margin-top: 0.15rem;
  }
  .mockup-stat-tag {
    font-size: 0.58rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .floating-chip {
    display: none;
  }
  .desktop-only-table {
    display: none;
  }
  .mockup-mobile-feed {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }
  .mockup-table-card {
    padding: 1rem 0.85rem;
  }

  /* Trust Bar */
  .trust-bar {
    padding: 3rem 0;
  }
  .trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  /* Module Tabs Horizontal Scroll (Swipe friendly) */
  .module-nav-bar {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0.25rem 1rem 0.25rem;
    margin-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .module-nav-bar::-webkit-scrollbar {
    display: none;
  }
  .module-nav-btn {
    flex-shrink: 0;
    font-size: 0.85rem;
    padding: 0.65rem 1.15rem;
    white-space: nowrap;
  }

  /* Module Cards & Panels */
  .module-panel-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0;
  }
  .module-subfeatures-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .subfeature-box {
    padding: 1.2rem 1rem;
  }
  .module-visual-wrapper {
    padding: 1.5rem 1.15rem;
  }
  .payroll-metrics-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  /* Comparison Table */
  .comparison-section {
    padding: 4.5rem 0;
  }
  .table-wrapper {
    border-radius: var(--radius-md);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .comparison-table {
    min-width: 640px;
  }
  .comparison-table th, .comparison-table td {
    padding: 1rem;
    font-size: 0.85rem;
  }

  /* Pricing Cards */
  .pricing-section {
    padding: 4.5rem 0;
  }
  .pricing-billing-switch {
    margin-bottom: 2.5rem;
    font-size: 0.88rem;
    gap: 0.75rem;
  }
  .pricing-grid {
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }
  .pricing-card {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: unset;
    width: 100%;
    padding: 2.25rem 1.5rem;
  }
  .addons-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1.75rem 1.5rem;
  }
  .addons-banner .addon-pill {
    width: 100%;
    justify-content: center;
  }

  /* FAQ Accordion */
  .faq-section {
    padding: 4.5rem 0;
  }
  .faq-question {
    padding: 1.15rem 1.25rem;
    font-size: 0.95rem;
  }

  /* Final CTA */
  .final-cta-box {
    padding: 3rem 1.5rem;
  }
  .final-cta-box h2 {
    font-size: 2rem;
  }
  .final-cta-actions {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    gap: 0.75rem;
  }
  .final-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 640px) {
  /* Ultra-compact viewport adaptations */
  .container {
    padding: 0 1rem;
  }
  section {
    padding: 3.5rem 0;
  }
  .hero-section {
    padding-top: 6.5rem;
    padding-bottom: 3.5rem;
  }
  .mac-body {
    padding: 0.85rem 0.65rem;
  }
  .mockup-stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
  }
  .mockup-stat-card {
    padding: 0.55rem 0.35rem;
  }
  .mockup-stat-label {
    font-size: 0.58rem;
  }
  .mockup-stat-val {
    font-size: 0.95rem;
  }
  .mockup-stat-tag {
    font-size: 0.55rem;
  }
  .feed-item-name {
    font-size: 0.78rem;
  }
  .feed-item-sub {
    font-size: 0.65rem;
  }
  .feed-item-amount {
    font-size: 0.8rem;
  }
  .hero-badge {
    font-size: 0.74rem;
    padding: 0.4rem 0.85rem;
    line-height: 1.35;
    text-align: center;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-subtitle {
    font-size: 0.94rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .section-subtitle {
    font-size: 0.88rem;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .trust-item {
    font-size: 0.82rem;
  }
  .feature-card {
    padding: 1.75rem 1.15rem;
  }
  .module-panel-header h3 {
    font-size: 1.45rem;
  }
  .subfeature-box {
    padding: 1rem 0.85rem;
  }
  .module-visual-wrapper {
    padding: 1.15rem 0.85rem;
  }
  .visual-metric-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.78rem;
  }
  .qr-timbre-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.65rem;
  }
  .pricing-billing-switch {
    gap: 0.65rem;
    margin-bottom: 2rem;
    font-size: 0.88rem;
    justify-content: center;
  }
  .pricing-billing-switch .billing-prefix {
    display: none;
  }
  .discount-pill {
    font-size: 0.72rem;
    padding: 0.2rem 0.55rem;
  }
  .pricing-card {
    padding: 1.85rem 1.15rem;
  }
  .plan-price {
    font-size: 2.4rem;
  }
  .plan-limits-box {
    padding: 0.85rem;
    font-size: 0.82rem;
  }
  .faq-question {
    padding: 1rem 1.15rem;
    font-size: 0.9rem;
  }
  .faq-answer-inner {
    padding: 0 1.15rem 1.15rem 1.15rem;
    font-size: 0.85rem;
  }
  .final-cta-box {
    padding: 2.25rem 1.15rem;
  }
  .final-cta-box h2 {
    font-size: 1.65rem;
  }
  .floating-whatsapp-tooltip {
    display: none;
  }
  .floating-whatsapp-container {
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .floating-whatsapp-btn {
    width: 50px;
    height: 50px;
  }
  .floating-whatsapp-btn svg {
    width: 26px;
    height: 26px;
  }
}
