/* ==========================================================================
   ProtonERP — Corporate Executive Light Theme Design System
   Modern, Clean, High-Contrast Light Theme for Corporate Software Sales
   ========================================================================== */

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

:root {
  /* Clean Executive Light Color Palette */
  --bg-body: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F1F5F9;
  --bg-input: #FFFFFF;
  
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --primary-light: #EFF6FF;
  --primary-border: #BFDBFE;
  
  --accent-teal: #0D9488;
  --accent-teal-light: #CCFBF1;
  
  --accent-emerald: #059669;
  --accent-emerald-light: #D1FAE5;
  
  --accent-purple: #7C3AED;
  --accent-purple-light: #F3E8FF;

  --accent-amber: #D97706;
  
  --text-main: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  
  --border-light: #E2E8F0;
  --border-subtle: #CBD5E1;
  --border-strong: #94A3B8;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  --shadow-subtle: 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
  
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .font-heading {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
}

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

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

.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
}

/* TOP ANNOUNCEMENT BAR */
.top-bar {
  background: linear-gradient(90deg, #1E40AF 0%, #2563EB 50%, #0D9488 100%);
  color: white;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  position: relative;
  z-index: 1001;
}

.top-bar-link {
  color: #FDE047;
  text-decoration: underline;
  margin-left: 8px;
  font-weight: 700;
}

/* NAVBAR (LIGHT THEME) */
.navbar {
  position: fixed;
  top: 35px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

body.no-top-bar .navbar {
  top: 0;
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  padding: 10px 0;
  top: 0;
}

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

.logo-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  padding: 2px 0;
  transition: var(--transition-fast);
}

.logo-brand:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.logo-brand:hover .brand-logo-img {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.2));
}

.brand-logo-img {
  height: 44px;
  width: auto;
  display: block;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), filter 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-brand-logo {
  height: 60px;
  width: auto;
  display: inline-block;
  margin-bottom: 16px;
  filter: drop-shadow(0 8px 24px rgba(37, 99, 235, 0.15));
}

.footer-brand-logo {
  height: 52px;
  width: auto;
  display: block;
  margin-bottom: 12px;
}

.mockup-brand-logo {
  height: 26px;
  width: auto;
  vertical-align: middle;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-body);
  transition: var(--transition-fast);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

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

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

/* KEYFRAME ANIMATIONS */
@keyframes cta-shimmer {
  0% { transform: translateX(-120%) rotate(25deg); }
  100% { transform: translateX(220%) rotate(25deg); }
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
  70% { transform: scale(1); box-shadow: 0 0 0 12px rgba(37, 99, 235, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

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

@keyframes number-bump {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); color: var(--primary); }
  100% { transform: scale(1); }
}

/* BUTTONS WITH SHIMMER & SPRING INTERACTION */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition-spring);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.btn:active {
  transform: scale(0.96) !important;
}

.btn-primary {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: rotate(25deg);
  pointer-events: none;
  animation: cta-shimmer 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  background: white;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
}

.btn-secondary:hover {
  border-color: var(--primary-border);
  background: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

/* HERO SECTION */
.hero {
  padding: 160px 0 80px;
  background: radial-gradient(100% 100% at 50% 0%, rgba(239, 246, 255, 0.8) 0%, rgba(248, 250, 252, 1) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: white;
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: var(--shadow-subtle);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.2px;
  margin-bottom: 24px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 50%, #0D9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

/* HERO MOCKUP CARD — FRIENDLY 3D REINTERPRETATION (FLOWORA / MODERN STYLE) */
.hero-mockup-wrap {
  position: relative;
  max-width: 1160px;
  margin: 30px auto 40px;
  perspective: 1400px;
  padding: 10px 10px 40px 10px;
}

.hero-mockup-3d {
  background: white;
  border-radius: 24px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 30px 80px -15px rgba(15, 23, 42, 0.12), 0 15px 35px -10px rgba(37, 99, 235, 0.12);
  transform: rotateX(5deg) rotateY(-7deg) rotateZ(1deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
  overflow: hidden;
  text-align: left;
  position: relative;
  z-index: 2;
}

.hero-mockup-3d:hover {
  transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.015);
  box-shadow: 0 45px 100px -20px rgba(37, 99, 235, 0.22), 0 20px 40px -10px rgba(15, 23, 42, 0.08);
}

/* Floating 3D Orbs & Badges */
.orb-3d-glow {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #60A5FA, #2563EB, #1D4ED8);
  filter: blur(2px);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.4);
  z-index: 1;
  animation: float-gentle 6s ease-in-out infinite;
}

.floating-badge-top {
  position: absolute;
  top: -18px;
  right: 40px;
  z-index: 10;
  background: white;
  border: 1px solid var(--primary-border);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.18);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  animation: float-gentle 5s ease-in-out infinite;
}

.floating-badge-bottom {
  position: absolute;
  bottom: -32px;
  left: -25px;
  z-index: 10;
  background: white;
  border: 1px solid var(--accent-emerald-light);
  box-shadow: 0 12px 30px rgba(5, 150, 105, 0.18);
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  animation: float-gentle 6s ease-in-out 1s infinite;
}

/* 3D Card Internal Components */
.kpi-pills-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.kpi-pill-card {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  padding: 14px 16px;
  border-radius: 16px;
  transition: var(--transition-fast);
}

.kpi-pill-card:hover {
  background: white;
  border-color: var(--primary-border);
  box-shadow: var(--shadow-subtle);
  transform: translateY(-2px);
}

.kpi-pill-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kpi-pill-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}

.kpi-pill-sub {
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 2px;
}
.kpi-pill-sub.green { color: var(--accent-emerald); }
.kpi-pill-sub.blue { color: var(--primary); }
.kpi-pill-sub.purple { color: var(--accent-purple); }

/* Friendly Split Layout inside 3D Card */
.mockup-grid-split {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
}

.mockup-widget-card {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 20px;
}

.table-preview-friendly {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.table-preview-friendly th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-weight: 700;
  padding: 8px 12px;
  text-align: left;
}

.table-preview-friendly td {
  background: white;
  padding: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.table-preview-friendly td:first-child {
  border-left: 1px solid var(--border-light);
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.table-preview-friendly td:last-child {
  border-right: 1px solid var(--border-light);
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-status-green { background: #D1FAE5; color: #059669; }
.badge-status-blue { background: #EFF6FF; color: #2563EB; }
.badge-status-purple { background: #F3E8FF; color: #7C3AED; }

.mockup-header {
  background: #F1F5F9;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-light);
}

.mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.mockup-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.mockup-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 400px;
}

.mockup-sidebar {
  background: #F8FAFC;
  border-right: 1px solid var(--border-light);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup-nav-item {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
}
.mockup-nav-item.active {
  background: var(--primary-light);
  color: var(--primary);
}

.mockup-main {
  padding: 24px;
  background: white;
}

.mockup-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.mockup-kpi-card {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  padding: 16px;
  border-radius: var(--radius-md);
}

.mockup-kpi-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.mockup-kpi-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 4px 0;
  font-variant-numeric: tabular-nums;
}

.mockup-kpi-sub {
  font-size: 0.78rem;
  color: var(--accent-emerald);
  font-weight: 700;
}

.mockup-chart-box {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
}

.mockup-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 700;
}

.chart-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
}

.mockup-chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 180px;
  padding-top: 20px;
  border-bottom: 2px solid var(--border-light);
}

.chart-bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  width: 20%;
}

.bar-fill {
  width: 100%;
  max-width: 48px;
  border-radius: 6px 6px 0 0;
  transition: height 0.5s ease;
}

.bar-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 600;
}

.bar-val {
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
}

/* STATS COUNTER STRIP (Flowora / Maven Style) */
.stats-strip {
  background: white;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-card {
  padding: 16px;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

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

/* POS ROADMAP SPECIAL FEATURE CARD */
.pos-section {
  background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
  padding: 80px 0;
}

.pos-roadmap-card {
  background: white;
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.pos-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #FEF3C7;
  color: #D97706;
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.pos-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-main);
}

.pos-desc {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.pos-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pos-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
}

.pos-item-icon {
  width: 24px;
  height: 24px;
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
}

/* BENEFITS SECTION */
.section {
  padding: 90px 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

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

.card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-spring);
}

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

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.card-icon.blue { background: #EFF6FF; color: #2563EB; }
.card-icon.emerald { background: #ECFDF5; color: #059669; }
.card-icon.purple { background: #F3E8FF; color: #7C3AED; }
.card-icon.teal { background: #CCFBF1; color: #0D9488; }
.card-icon.amber { background: #FEF3C7; color: #D97706; }

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* PAGE HEADERS (SUBPAGAS) */
.page-header {
  padding: 140px 0 60px;
  background: white;
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.page-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto;
}

/* SIMULATOR ROI STYLING */
.simulator-box {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.sim-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sim-control-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sim-label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.95rem;
}

.sim-val-badge {
  color: var(--primary);
  font-weight: 800;
  background: var(--primary-light);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
}

.sim-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--border-light);
  outline: none;
  cursor: pointer;
  accent-color: var(--primary);
}

.sim-results {
  background: linear-gradient(135deg, #1E40AF, #1D4ED8);
  border-radius: var(--radius-md);
  padding: 32px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sim-res-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}

/* WORKFLOW STYLING */
.workflow-box {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.workflow-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
}

.workflow-tab {
  flex: 1;
  padding: 14px;
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  transition: var(--transition-fast);
  color: var(--text-muted);
}

.workflow-tab.active {
  background: var(--primary-light);
  border-color: var(--primary-border);
  color: var(--primary);
}

.workflow-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
}

/* PRICING STYLING */
.pricing-switch-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}

.toggle-switch {
  width: 52px;
  height: 28px;
  background: var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 3px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.toggle-switch.active {
  background: var(--primary);
}

.toggle-circle {
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-switch.active .toggle-circle {
  transform: translateX(24px);
}

.discount-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-emerald);
  background: var(--accent-emerald-light);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.price-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-subtle);
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card.popular {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-hover);
}

.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
}

.price-plan-name {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

.price-amount-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.price-currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
}

.price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.price-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 0.9rem;
  flex: 1;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* MODAL STYLING */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

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

.modal-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 500px;
  padding: 36px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #F1F5F9;
  border: none;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus {
  background: white;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* FOOTER (LIGHT THEME) */
.footer {
  background: white;
  border-top: 1px solid var(--border-light);
  padding: 70px 0 30px;
}

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

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--text-main);
}

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

.footer-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* SCROLL REVEAL & STAGGER ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.reveal-scale {
  transform: scale(0.94) translateY(20px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

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

/* ANIMATED BADGES & LOGO MOTION */
.hero-brand-logo {
  animation: float-gentle 6s ease-in-out infinite;
  will-change: transform;
}

.hero-pill {
  animation: float-gentle 5s ease-in-out 0.5s infinite;
  transition: var(--transition-spring);
}

.hero-pill:hover {
  transform: scale(1.05);
  border-color: var(--primary);
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4);
  animation: pulse-ring 2s infinite;
  margin-right: 6px;
}

.pulse-dot-amber {
  background-color: #D97706;
  animation: pulse-ring 2s infinite;
}

/* ENHANCED CARD HOVER EFFECTS */
.card, .module-card, .pricing-card, .stat-card, .pos-roadmap-card {
  transition: var(--transition-spring);
  will-change: transform, box-shadow;
}

.card:hover, .module-card:hover, .stat-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-border);
}

.pricing-card.popular:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 25px 50px -10px rgba(37, 99, 235, 0.25);
}

.pos-roadmap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px -10px rgba(37, 99, 235, 0.15);
  border-color: var(--primary);
}

/* ACCESSIBILITY & REDUCED MOTION SUPPORT */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .simulator-box { grid-template-columns: 1fr; }
  .mockup-body { grid-template-columns: 1fr; }
  .mockup-sidebar { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .pos-roadmap-card { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .top-bar { font-size: 0.78rem; padding: 6px 10px; }
  .navbar { top: 32px; }
  .nav-links { display: none; }
  .hero-title { font-size: 2.2rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .workflow-nav { flex-direction: column; }
  .workflow-content { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PRICING & ROI SIMULATOR ENHANCEMENT STYLES
   ========================================================================== */

/* Price Card Interactive Styling & Recommendations */
.price-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.08);
  border-color: var(--primary-border);
}

.price-card.popular {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  box-shadow: 0 10px 30px -8px rgba(37, 99, 235, 0.15);
}

.price-card.popular:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 45px -10px rgba(37, 99, 235, 0.25);
}

/* Slider-selected Active Highlight Effect */
.price-card.active-recommend {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3), 0 22px 45px -10px rgba(37, 99, 235, 0.25) !important;
  transform: translateY(-8px) scale(1.03) !important;
  z-index: 5;
}

.popular-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--primary), #1D4ED8);
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Custom Styled Range Sliders */
.sim-slider, input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #E2E8F0;
  outline: none;
  transition: background 0.2s ease;
}

.sim-slider::-webkit-slider-thumb, input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid white;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.sim-slider::-webkit-slider-thumb:hover, input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.45);
}

.sim-slider::-webkit-slider-thumb:active, input[type="range"]::-webkit-slider-thumb:active {
  transform: scale(1.1);
  background: #1D4ED8;
}

/* FAQ Accordion Interactive Styling */
.faq-item {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.active {
  background: white;
  border-color: var(--primary-border);
  box-shadow: var(--shadow-subtle);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-arrow {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 24px 20px 24px;
}

/* Visual Cost Breakdown Donut & Progress Bars in ROI Simulator */
.roi-visual-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: var(--radius-xl);
  padding: 32px;
  color: white;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  position: relative;
  overflow: hidden;
}

.roi-visual-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(37,99,235,0.25) 0%, rgba(37,99,235,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.roi-bar-wrapper {
  margin: 16px 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  height: 14px;
  display: flex;
  overflow: hidden;
  padding: 2px;
  gap: 2px;
}

.roi-bar-segment {
  height: 100%;
  border-radius: 6px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: width;
}

.roi-bar-devengado { background: #3B82F6; }
.roi-bar-pila { background: #10B981; }
.roi-bar-provisiones { background: #F59E0B; }

/* Number Counter Transition */
.num-animated {
  transition: color 0.2s ease;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   INNOVATIVE MODULES SHOWCASE STYLES (modulos.html)
   ========================================================================== */

/* Category Filter Pills */
.module-filter-pill {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: white;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.module-filter-pill:hover {
  border-color: var(--primary-border);
  color: var(--primary);
  transform: translateY(-2px);
}

.module-filter-pill.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.4);
}

/* Search Bar Input */
.module-search-box {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}

.module-search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: white;
  font-size: 0.95rem;
  color: var(--text-main);
  box-shadow: var(--shadow-subtle);
  outline: none;
  transition: all 0.2s ease;
}

.module-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.module-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
  pointer-events: none;
}

/* Live Preview Interactive Canvas */
.module-live-canvas {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: var(--radius-xl);
  padding: 36px;
  color: white;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  margin-bottom: 48px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.module-live-canvas::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.card-module-selected {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25), 0 20px 40px -10px rgba(37, 99, 235, 0.2) !important;
  transform: translateY(-6px) scale(1.02) !important;
}

/* ==========================================================================
   ENHANCED ADVANTAGE CARDS STYLES (index.html)
   ========================================================================== */
.advantage-card-enhanced {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.advantage-card-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: background 0.3s ease;
}

.advantage-card-enhanced:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px -10px rgba(15, 23, 42, 0.1);
  border-color: var(--primary-border);
}

.advantage-card-enhanced.card-blue:hover::before { background: linear-gradient(90deg, #2563EB, #60A5FA); }
.advantage-card-enhanced.card-emerald:hover::before { background: linear-gradient(90deg, #059669, #34D399); }
.advantage-card-enhanced.card-teal:hover::before { background: linear-gradient(90deg, #0D9488, #2DD4BF); }
.advantage-card-enhanced.card-purple:hover::before { background: linear-gradient(90deg, #7C3AED, #A78BFA); }
.advantage-card-enhanced.card-amber:hover::before { background: linear-gradient(90deg, #D97706, #FBBF24); }

.advantage-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

.advantage-icon-wrap.icon-blue { background: #EFF6FF; color: #2563EB; }
.advantage-icon-wrap.icon-emerald { background: #ECFDF5; color: #059669; }
.advantage-icon-wrap.icon-teal { background: #F0FDFA; color: #0D9488; }
.advantage-icon-wrap.icon-purple { background: #F3E8FF; color: #7C3AED; }
.advantage-icon-wrap.icon-amber { background: #FEF3C7; color: #D97706; }



