@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ==========================================================================
   DESIGN SYSTEM - NEXTFOOD.PE LANDING PAGE
   ========================================================================== */


:root {
  /* Colors */
  --bg-deep: #F8FAFC; /* Slate 50 */
  --bg-darker: #F1F5F9; /* Slate 100 */
  --bg-ink: #111827;
  --bg-card: rgba(255, 255, 255, 0.45);
  --bg-card-hover: rgba(255, 255, 255, 0.65);
  
  --primary: #7C3AED; /* Violet-600 */
  --primary-glow: rgba(124, 58, 237, 0.08);
  --secondary: #DB2777; /* Pink-600 */
  
  --emerald: #059669; /* Success / SUNAT */
  --emerald-glow: rgba(5, 150, 105, 0.08);
  
  --amber: #D97706; /* Culinary/POS */
  --amber-glow: rgba(217, 119, 6, 0.08);
  
  --sky: #0284c7; /* Delivery/Online */
  --sky-glow: rgba(2, 132, 199, 0.08);

  --text-pure: #0F172A; /* Slate 900 */
  --text-main: #334155; /* Slate 700 */
  --text-muted: #64748B; /* Slate 500 */
  --text-dark: #94A3B8; /* Slate 400 */
  
  --border: rgba(255, 255, 255, 0.60);
  --border-dark: rgba(15, 23, 42, 0.04);
  --border-hover: rgba(15, 23, 42, 0.12);
  --border-purple: rgba(124, 58, 237, 0.15);
  
  /* Shadows */
  --shadow-glass: 0 10px 30px 0 rgba(15, 23, 42, 0.03), inset 0 1px 0 0 rgba(255, 255, 255, 0.70);
  --shadow-glass-hover: 0 20px 40px 0 rgba(15, 23, 42, 0.06), inset 0 1px 0 0 rgba(255, 255, 255, 0.90);
  
  /* Fonts */
  --font-title: 'Sora', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Layout */
  --max-width: 1280px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  background:
    linear-gradient(180deg, rgba(241, 245, 249, 0.7) 0%, rgba(248, 250, 252, 1) 36rem),
    var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Background */
body::before {
  content: '';
  position: absolute;
  top: 5%;
  left: 10%;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: -2;
  pointer-events: none;
  filter: blur(80px);
}

body::after {
  content: '';
  position: absolute;
  top: 45%;
  right: 5%;
  width: 45vw;
  height: 45vw;
  max-width: 500px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: -2;
  pointer-events: none;
  filter: blur(80px);
}

.glow-orb-3 {
  position: absolute;
  bottom: 15%;
  left: 5%;
  width: 35vw;
  height: 35vw;
  max-width: 400px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: -2;
  pointer-events: none;
  filter: blur(80px);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Typography Utility Classes */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--text-pure);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

h1 {
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-weight: 800;
  letter-spacing: -0.025em;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 7rem 0;
  position: relative;
}

.text-center { text-align: center; }

/* Grid / Flex Layout Helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* Glassmorphism Styles */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  outline: 1px solid var(--border-dark);
  border-radius: 24px;
  box-shadow: var(--shadow-glass);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}

.glass-nav {
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(15, 23, 42, 0.02);
}

/* Glow Orbs (Modern Glassmorphic Backgrounds) */
.glow-orb-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.glow-orb {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  pointer-events: none;
  mix-blend-mode: multiply;
  will-change: transform, opacity;
  animation: floatOrb 25s ease-in-out infinite alternate;
}

.glow-orb-primary {
  background: radial-gradient(circle, var(--primary) 0%, rgba(124, 58, 237, 0) 70%);
  top: -200px;
  right: -100px;
}

.glow-orb-secondary {
  background: radial-gradient(circle, var(--secondary) 0%, rgba(219, 39, 119, 0) 70%);
  bottom: -150px;
  left: -150px;
  animation-delay: -6s;
}

.glow-orb-emerald {
  background: radial-gradient(circle, var(--emerald) 0%, rgba(5, 150, 105, 0) 70%);
  top: 40%;
  right: -150px;
  animation-delay: -12s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); opacity: 0.20; }
  50% { transform: translate(50px, -50px) scale(1.15); opacity: 0.35; }
  100% { transform: translate(-30px, 30px) scale(0.90); opacity: 0.20; }
}

/* Gradient Texts & Badges */
.gradient-text {
  background: linear-gradient(135deg, var(--text-pure) 30%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: #c084fc;
  margin-bottom: 1.5rem;
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
}

/* Eyebrow Tag (Custom Designer Layout) */
.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-title);
}

.eyebrow-tag::before {
  content: '';
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  display: inline-block;
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-title);
  border: 2px solid transparent;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
  color: #ffffff;
  box-shadow: 0 8px 25px -4px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 35px -6px rgba(219, 39, 119, 0.5);
  filter: brightness(1.05);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s;
  opacity: 0;
}

.btn-primary:hover::after {
  opacity: 1;
  left: 125%;
  transition: all 0.75s ease;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-pure);
  border: 2px solid var(--border);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 24px -6px rgba(124, 58, 237, 0.15);
}

.btn-secondary:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
  border-radius: 10px;
}

/* Animations & Hover Cards */
.hover-card {
  transition: var(--transition);
}
.hover-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.08);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 0;
  transition: var(--transition);
}

.navbar-scrolled {
  padding: 0.85rem 0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--text-pure);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-pe {
  color: var(--primary);
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-pure);
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-pure);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding-top: 8.75rem;
  padding-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 1.02fr);
  gap: 3.25rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: left;
}

.hero h1 {
  font-size: clamp(3rem, 5.2vw, 4.8rem);
  line-height: 1.02;
  margin-bottom: 1.35rem;
  text-align: left;
  max-width: 780px;
}

.hero p {
  font-size: 1.15rem;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  max-width: 640px;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.hero-proof-points {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 760px;
}

.hero-metric {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.hero-metric strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-pure);
  margin-bottom: 0.4rem;
}

.hero-metric span {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.hero-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 470px;
}

.hero-media-panel {
  position: relative;
  width: min(100%, 540px);
  min-height: 470px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media-panel::before {
  display: none;
}

.hero-cover-image {
  width: min(100%, 460px);
  height: auto;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
  display: block;
  animation: float 6s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

.hero-floating-card {
  position: absolute;
  width: 188px;
  padding: 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
  z-index: 2;
}

.hero-floating-card span,
.hero-floating-card small {
  display: block;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-floating-card strong {
  display: block;
  color: var(--text-pure);
  font-family: var(--font-title);
  font-size: 1.25rem;
  margin: 0.15rem 0;
}

.hero-card-sales {
  left: 1.3rem;
  bottom: 2.1rem;
}

.hero-card-sunat {
  right: 1.1rem;
  top: 2.1rem;
  border-left: 4px solid var(--emerald);
}

/* Float Animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

/* ==========================================================================
   BUSINESS TYPES & OUTCOMES
   ========================================================================== */
.business-strip {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(241, 245, 249, 0.78)),
    var(--bg-deep);
}

.business-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  gap: 2.5rem;
  align-items: center;
}

.business-heading span {
  display: block;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.business-heading h2 {
  font-size: 1.7rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 520px;
}

.business-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.business-type {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 0.75rem;
  border-right: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.business-type:last-child {
  border-right: 0;
}

.business-type:hover {
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.08), rgba(255, 255, 255, 0.6));
}

.business-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(124, 58, 237, 0.14);
  box-shadow: 0 12px 26px rgba(124, 58, 237, 0.1);
  font-size: 1.35rem;
  transition: var(--transition);
}

.business-type:hover .business-icon {
  transform: translateY(-4px) scale(1.04);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(219, 39, 119, 0.1));
}

.business-type strong {
  color: var(--text-pure);
  font-family: var(--font-title);
  font-size: 0.98rem;
  line-height: 1.2;
}

.outcomes-section {
  padding-top: 6rem;
  padding-bottom: 5rem;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.outcome-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.04);
}

.outcome-number {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 58, 237, 0.08);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.outcome-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}

.outcome-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   INTERACTIVE SIMULATOR (THE HEART OF NEXTFOOD)
   ========================================================================== */
.simulator-section {
  padding: 4rem 0;
}

.simulator-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}

.sim-pane-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-pure);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

/* Products Panel */
.pos-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pos-product-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
}

.pos-product-card:hover {
  background: rgba(139, 92, 246, 0.05);
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-3px);
}

.pos-product-emoji {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.pos-product-name {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-pure);
}

.pos-product-price {
  font-size: 0.85rem;
  color: var(--amber);
  font-weight: 700;
}

/* Loyalty VIP Selector */
.vip-selector-container {
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.vip-selector-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.vip-selector-options {
  display: flex;
  gap: 0.75rem;
}

.vip-option-btn {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.6rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.vip-option-btn.active[data-vip="classic"] {
  background: rgba(100, 116, 139, 0.12);
  border-color: #64748b;
  color: #334155;
}

.vip-option-btn.active[data-vip="gold"] {
  background: rgba(217, 119, 6, 0.12);
  border-color: #d97706;
  color: #b45309;
}

.vip-option-btn.active[data-vip="vip"] {
  background: rgba(219, 39, 119, 0.12);
  border-color: #db2777;
  color: #9d174d;
}

/* Order Cart Pane */
.cart-pane {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--border-purple);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.05);
}

.cart-items-container {
  flex-grow: 1;
  overflow-y: auto;
  max-height: 200px;
  margin-bottom: 1rem;
  padding-right: 0.25rem;
}

.cart-empty-state {
  color: var(--text-dark);
  text-align: center;
  font-size: 0.85rem;
  margin: 3rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

.cart-item-info {
  font-weight: 600;
  color: var(--text-pure);
}

.cart-item-qty {
  color: var(--primary);
  margin-right: 0.5rem;
}

.cart-item-remove {
  background: none;
  border: none;
  color: rgba(239, 68, 68, 0.6);
  cursor: pointer;
  margin-left: 0.75rem;
  font-size: 0.9rem;
  transition: var(--transition);
}

.cart-item-remove:hover {
  color: rgb(239, 68, 68);
}

/* Ticket totals */
.cart-summary {
  background: rgba(15, 23, 42, 0.015);
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.summary-row.total {
  border-top: 1px dashed var(--border);
  padding-top: 0.5rem;
  margin-top: 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-pure);
}

.summary-row.loyalty {
  color: #6D28D9;
  font-weight: 600;
  background: rgba(124, 58, 237, 0.05);
  padding: 0.35rem;
  border-radius: 4px;
}

/* SUNAT Realtime Simulation Action */
.sunat-simulation-trigger {
  width: 100%;
}

/* Simulation Output screen */
.simulation-screen-modal {
  display: none;
  background: rgba(248, 250, 252, 0.96);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  border-radius: 15px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(8px);
}

.simulation-screen-modal.active {
  display: flex;
  animation: fadeIn 0.3s ease-out;
}

/* Loading animation for SUNAT digital signature */
.sunat-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(5, 150, 105, 0.1);
  border-radius: 50%;
  border-top-color: var(--emerald);
  animation: spin 0.8s linear infinite;
  margin-bottom: 1rem;
}

.sunat-success-check {
  font-size: 3rem;
  color: var(--emerald);
  margin-bottom: 0.75rem;
  animation: pulseGlow 2s infinite alternate;
}

/* Virtual Ticket Styling */
.virtual-ticket {
  background: #ffffff;
  color: #1f2937;
  padding: 1.25rem;
  border-radius: 4px;
  font-family: 'Courier New', Courier, monospace;
  text-align: left;
  font-size: 0.75rem;
  width: 100%;
  max-width: 280px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
  position: relative;
  overflow: hidden;
  margin: 1rem 0;
}

.virtual-ticket::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background-image: linear-gradient(135deg, #ffffff 25%, transparent 25%), linear-gradient(225deg, #ffffff 25%, transparent 25%);
  background-position: bottom left;
  background-size: 8px 16px;
  background-repeat: repeat-x;
}

.ticket-header {
  text-align: center;
  border-bottom: 1px dashed #9ca3af;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}

.ticket-header h4 {
  color: #111827;
  font-size: 0.95rem;
  font-family: 'Courier New', Courier, monospace;
}

.ticket-details {
  margin-bottom: 0.5rem;
}

.ticket-items {
  border-bottom: 1px dashed #9ca3af;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.2rem;
}

.ticket-total {
  font-weight: 800;
  font-size: 0.85rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   FEATURE TABS SECTION
   ========================================================================== */
.features-section {
  background: var(--bg-darker);
}

.section-header {
  max-width: 600px;
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Tabs Navigation */
.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.9rem 1.6rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-pure);
}

.tab-btn.active {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--primary);
  color: var(--text-pure);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}

/* Tab Panels */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.5s ease-out;
}

.tab-content-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.feature-info h3 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.feature-info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.feature-list-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Feature Showcase Box (Visual mockups of software) */
.feature-showcase-visual {
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border);
}

.kds-board {
  background: #f1f5f9;
  height: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.kds-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.kds-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  flex-grow: 1;
}

.kds-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
}

.kds-card.bar {
  border-left: 3px solid var(--sky);
}

.kds-card.kitchen {
  border-left: 3px solid var(--amber);
}

.kds-card-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.kds-items {
  font-size: 0.8rem;
  color: var(--text-pure);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.kds-timer {
  font-size: 0.75rem;
  font-weight: bold;
  background: rgba(239, 68, 68, 0.08);
  color: #ef4444;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  align-self: flex-start;
}

/* Inventory flow mockup */
.inventory-stock-visual {
  background: #ffffff;
  height: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.inventory-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.inventory-table th, .inventory-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.inventory-table th {
  color: var(--text-muted);
  font-weight: 600;
}

.stock-indicator {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.stock-ok {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
}

.stock-low {
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
}

/* Tab Showcase Mockups */
.showcase-loyalty-mockup {
  background: #111827;
  height: 100%;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.showcase-sunat-mockup {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  padding: 2rem;
}

/* Contact Person Image */
.contact-person-img {
  max-height: 260px;
  width: auto;
  display: block;
  margin-top: 1.5rem;
  border-radius: 12px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.1));
}

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */
.pricing-section {
  position: relative;
  overflow: hidden;
}

.pricing-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.pricing-toggle-label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-muted);
}

.pricing-toggle-label.active {
  color: var(--text-pure);
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.05);
  transition: .4s;
  border-radius: 34px;
  border: 1px solid var(--border);
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-pure);
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

.pricing-discount-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-weight: 700;
  margin-left: 0.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow, border-color;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 22px 45px rgba(124, 58, 237, 0.15), 0 0 0 1px rgba(124, 58, 237, 0.2);
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 15px 35px rgba(139, 92, 246, 0.12);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card.popular:hover {
  transform: translateY(-10px);
  border-color: rgba(219, 39, 119, 0.6);
  box-shadow: 0 22px 45px rgba(219, 39, 119, 0.18), 0 0 0 1px rgba(219, 39, 119, 0.3);
}

.pricing-card.popular::before {
  content: 'MÁS ELEGIDO';
  position: absolute;
  top: 20px;
  right: -35px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.35rem 3rem;
  transform: rotate(45deg);
  letter-spacing: 0.1em;
}

.plan-name {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.plan-price-box {
  margin-bottom: 2rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.plan-price {
  font-size: 3.25rem;
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--text-pure);
  line-height: 1;
  transition: var(--transition);
}

.plan-currency {
  font-size: 1.5rem;
  font-weight: 700;
}

.plan-period {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.plan-features-list {
  list-style: none;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.plan-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.plan-feature-item svg {
  color: var(--emerald);
  flex-shrink: 0;
}

.plan-feature-item.disabled {
  color: var(--text-dark);
  text-decoration: line-through;
}

.plan-feature-item.disabled svg {
  color: var(--text-dark);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  background: var(--bg-darker);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border-radius: 20px;
  border: 1px solid var(--border);
  outline: 1px solid var(--border-dark);
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-glass);
}

.faq-item:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 15px 35px rgba(124, 58, 237, 0.06), var(--shadow-glass-hover);
}

.faq-item.active {
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 15px 35px rgba(124, 58, 237, 0.08), var(--shadow-glass-hover);
}

.faq-question {
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  cursor: pointer;
  user-select: none;
}

.faq-question h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-pure);
  transition: color 0.3s ease;
}

.faq-item:hover .faq-question h4 {
  color: var(--primary);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 2rem;
  color: var(--text-main);
  font-size: 0.98rem;
  line-height: 1.65;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: rgba(124, 58, 237, 0.1);
  color: var(--primary);
}

.faq-item.active .faq-answer {
  padding-bottom: 1.75rem;
  /* max-height is set programmatically via JS */
}

/* ==========================================================================
   WAITLIST / CONTACT
   ========================================================================== */
.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-section-split {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 520px;
}

.contact-person-large-container {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%); /* Centered vertically with the card */
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, rgba(219, 39, 119, 0.05) 100%);
  border: 2px solid rgba(124, 58, 237, 0.25);
  box-shadow: 0 15px 45px rgba(124, 58, 237, 0.22), inset 0 0 20px rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden; /* Circular mask crop */
}

.contact-person-large {
  height: 105%; /* Fits nicely inside the circular orb */
  width: auto;
  max-width: 110%;
  object-fit: contain;
  display: block;
  transform: translateY(2%);
}

.contact-card-wrapper {
  width: 62%; /* Positioned on the right, taking 62% of the space */
  padding: 4.5rem 4rem;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.contact-card-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.contact-info-panel h2 {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.contact-info-panel p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-benefits {
  font-size: 0.88rem;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.form-input {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: var(--text-pure);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.1);
}

.form-message {
  font-size: 0.85rem;
  display: none;
  animation: fadeIn 0.3s ease-out;
}

.form-message.success {
  color: var(--emerald);
}

.form-message.error {
  display: block;
  color: #ef4444;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-darker);
  padding: 5rem 0 2.5rem 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary-glow);
  border-color: var(--primary);
  color: var(--text-pure);
  transform: translateY(-2px);
}

.footer-column h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link {
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--text-pure);
}

.footer-bottom {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero h1 {
    font-size: 3.4rem;
    text-align: center;
  }
  .hero p { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-proof-points { justify-content: center; }
  .hero-image-container { min-height: auto; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .outcomes-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.popular { order: -1; }
  .simulator-container { grid-template-columns: 1fr; }
  .business-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .business-heading h2 {
    margin: 0 auto;
  }
  .business-rail {
    grid-template-columns: repeat(5, minmax(110px, 1fr));
    overflow-x: auto;
  }
  
  .contact-section-split {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }
  .contact-person-large-container {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: 0 auto;
    width: 320px;
    height: 320px;
    display: flex;
  }
  .contact-card-wrapper {
    width: 100%;
    padding: 3.5rem 2.5rem;
  }
}

@media (max-width: 768px) {
  .section { padding: 4.5rem 0; }
  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  
  .navbar { padding: 1rem 0; }
  .logo { font-size: 1.35rem; }
  
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(248, 250, 252, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 1.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  }
  
  .nav-links.active {
    display: flex;
    animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .mobile-menu-btn { display: block; }
  
  .hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
  }
  .hero h1 { font-size: 2.65rem; text-align: center; }
  .hero p {
    font-size: 1.1rem;
    text-align: center;
    margin: 0 auto 2.5rem auto;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    justify-content: center;
    margin-bottom: 2rem;
  }
  .hero-actions .btn { width: 100%; }
  .hero-metrics {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .hero-media-panel {
    width: 100%;
    min-height: 420px;
    border-radius: 20px;
  }
  .hero-cover-image {
    width: min(100%, 340px);
    height: auto;
    margin: 0 auto;
  }
  .hero-floating-card {
    width: 165px;
    padding: 0.85rem;
  }
  .hero-card-sales {
    left: 0.75rem;
    bottom: 1.25rem;
  }
  .hero-card-sunat {
    right: 0.75rem;
    top: 1.25rem;
  }
  
  .tab-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    border-radius: 10px;
  }
  
  .tab-content-grid { grid-template-columns: 1fr; gap: 2rem; }
  
  /* Mockup Visual Adjustments */
  .feature-showcase-visual { height: 320px; }
  
  .showcase-loyalty-mockup {
    padding: 1.25rem;
    background: #111827;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .showcase-sunat-mockup {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
  }
  
  /* Simulator adjustments on mobile */
  .simulator-container {
    padding: 1.25rem;
    gap: 1.5rem;
    max-width: 100%;
  }
  
  .pos-input-pane, .cart-pane {
    min-width: 0;
    width: 100%;
  }
  
  .sim-pane-title {
    justify-content: center;
    text-align: center;
  }
  
  .vip-selector-label {
    text-align: center;
  }
  
  .pos-products-grid {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
    justify-content: flex-start;
    width: 100%;
  }
  
  @media (min-width: 600px) {
    .pos-products-grid {
      justify-content: center;
    }
  }
  
  .pos-products-grid::-webkit-scrollbar {
    height: 4px;
  }
  .pos-products-grid::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.02);
  }
  .pos-products-grid::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.2);
    border-radius: 4px;
  }
  
  .pos-product-card {
    flex: 0 0 120px;
    scroll-snap-align: start;
    min-height: 110px;
    padding: 0.75rem 0.5rem;
  }
  
  .vip-selector-options {
    display: flex;
    flex-direction: row !important;
    gap: 0.5rem;
    width: 100%;
  }
  
  .vip-option-btn {
    flex: 1;
    min-width: 0;
    padding: 0.55rem 0.25rem;
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .contact-section-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .contact-person-large-container {
    display: none;
  }
  .contact-card-wrapper { padding: 2.5rem 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  .container {
    width: 94%;
    padding: 0 0.5rem;
  }
  .hero h1 { font-size: 2.25rem; }
  .hero-actions .btn { padding-left: 1rem; padding-right: 1rem; }
  .hero-media-panel {
    min-height: 360px;
    padding: 1rem;
  }
  .hero-cover-image {
    width: min(100%, 280px);
    height: auto;
  }
  .hero-floating-card {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 0.75rem;
  }
  .hero-media-panel {
    flex-direction: column;
  }
  .business-strip {
    padding: 2rem 0;
  }
  .business-rail {
    grid-template-columns: repeat(2, 1fr);
    overflow: hidden;
  }
  .business-type {
    min-height: 118px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .business-type:nth-child(2n) {
    border-right: 0;
  }
  .business-type:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }
  .visual-ticket {
    width: 240px;
    padding: 1rem;
  }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Showcase Visual Ticket (Receipt Mockup) */
.visual-ticket-wrapper {
  perspective: 1000px;
}

.visual-ticket {
  background: #ffffff;
  color: #1e293b;
  padding: 1.5rem;
  width: 280px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.75rem;
  border-top: 4px solid var(--primary);
  position: relative;
  transform: rotateX(5deg) rotateY(-5deg) rotateZ(1deg);
  transition: var(--transition);
}

.visual-ticket:hover {
  transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.03);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.visual-ticket::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background-image: linear-gradient(135deg, #ffffff 25%, transparent 25%), linear-gradient(225deg, #ffffff 25%, transparent 25%);
  background-position: bottom left;
  background-size: 6px 12px;
  background-repeat: repeat-x;
}

.visual-ticket .ticket-header {
  text-align: center;
  border-bottom: 1px dashed #cbd5e1;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}

.visual-ticket .ticket-header h4 {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.visual-ticket .ticket-info {
  font-size: 0.65rem;
  color: #64748b;
  line-height: 1.3;
}

.visual-ticket .ticket-badge {
  display: inline-block;
  border: 1px solid #0f172a;
  padding: 0.15rem 0.5rem;
  font-weight: bold;
  font-size: 0.7rem;
  margin: 0.4rem 0;
  color: #0f172a;
}

.visual-ticket .ticket-number {
  font-weight: bold;
  font-size: 0.7rem;
  color: #334155;
}

.visual-ticket .ticket-body {
  border-bottom: 1px dashed #cbd5e1;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}

.visual-ticket .ticket-item-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.3rem;
  color: #334155;
}

.visual-ticket .ticket-totals {
  margin-top: 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 0.5rem;
}

.visual-ticket .ticket-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.2rem;
  color: #475569;
}

.visual-ticket .grand-total {
  font-weight: bold;
  font-size: 0.85rem;
  color: #0f172a;
  border-top: 1px dashed #cbd5e1;
  padding-top: 0.3rem;
  margin-top: 0.3rem;
}

.visual-ticket .ticket-footer {
  text-align: center;
  padding-bottom: 0.5rem;
}

.visual-ticket .sunat-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.65rem;
  margin-bottom: 0.75rem;
}

.visual-ticket .sunat-check-icon {
  stroke: #059669;
}

.visual-ticket .ticket-qr-placeholder {
  display: inline-block;
  width: 48px;
  height: 48px;
  background: radial-gradient(circle, #0f172a 10%, transparent 11%), 
              radial-gradient(circle, #0f172a 10%, transparent 11%),
              repeating-linear-gradient(45deg, transparent, transparent 4px, #0f172a 4px, #0f172a 8px);
  background-size: 8px 8px, 8px 8px, 100% 100%;
  background-position: 0 0, 4px 4px, 0 0;
  border: 1px solid #cbd5e1;
  padding: 2px;
  margin-bottom: 0.5rem;
}

.visual-ticket .ticket-thanks {
  font-size: 0.65rem;
  color: #64748b;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-float svg {
  fill: #ffffff;
}

.whatsapp-float:hover {
  transform: scale(1.12) translateY(-4px);
  box-shadow: 0 16px 30px rgba(37, 211, 102, 0.6);
}

/* Pulse animation to draw attention */
.whatsapp-float::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  z-index: -1;
  opacity: 0.4;
  animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 52px;
    height: 52px;
  }
  .logo-img {
    height: 30px;
  }
}

/* Features Grid Section (Inspired by restaurant.pe layout, adapted to NextFood colors) */
.features-grid-section {
  background: var(--bg-darker);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.bento-col-2 {
  grid-column: span 2;
}

.bento-row-2 {
  grid-row: span 2;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  outline: 1px solid var(--border-dark);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: var(--shadow-glass);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 20px 48px rgba(124, 58, 237, 0.08), var(--shadow-glass-hover);
}

.feature-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.06);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover .feature-card-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.25);
  transform: scale(1.05);
}

.feature-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-pure);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .bento-col-2 {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .bento-col-2, .bento-row-2 {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ==========================================================================
   SCROLL REVEAL UTILITIES
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
