/* ==========================================================================
   GAGARD SOFTWARE 3.0 - STYLESHEET
   Design System & Modern Glassmorphism Aesthetic
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #070a11;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(26, 36, 56, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-bright: rgba(0, 242, 254, 0.3);

  /* Primary Neon Gradients */
  --gradient-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --gradient-accent: linear-gradient(135deg, #9d50bb 0%, #6e48aa 100%);
  --gradient-emerald: linear-gradient(135deg, #00e676 0%, #1de9b6 100%);
  --gradient-amber: linear-gradient(135deg, #ff9100 0%, #ffb300 100%);
  --gradient-dark: linear-gradient(180deg, rgba(11, 15, 25, 0.95) 0%, rgba(7, 10, 17, 0.98) 100%);

  /* Solid Colors */
  --color-cyan: #00f2fe;
  --color-blue: #4facfe;
  --color-purple: #9d50bb;
  --color-emerald: #00e676;
  --color-amber: #ffb300;

  /* Typography Colors */
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  /* Typography Specs */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows & Glows */
  --glow-cyan: 0 0 25px rgba(0, 242, 254, 0.25);
  --glow-purple: 0 0 25px rgba(157, 80, 187, 0.25);
  --shadow-panel: 0 20px 40px -15px rgba(0, 0, 0, 0.5);

  /* Layout */
  --container-width: 1240px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

/* Ambient Background Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.45;
}

.orb-1 {
  top: -100px;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.3), transparent 70%);
}

.orb-2 {
  top: 40%;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(157, 80, 187, 0.25), transparent 70%);
}

.orb-3 {
  bottom: 10%;
  left: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.2), transparent 70%);
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel);
  transition: all var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--border-glass-bright);
}

/* Gradient Text Utilities */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #040810;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.5);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

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

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

.btn-outline:hover {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
  background: rgba(0, 242, 254, 0.05);
}

.btn-glow {
  position: relative;
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  z-index: -1;
  opacity: 0.5;
  filter: blur(8px);
  transition: opacity var(--transition-fast);
}

.btn-glow:hover::after {
  opacity: 0.8;
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-xs {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

/* Section Common Layout */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-subtitle {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #ffffff;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(7, 10, 17, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: background var(--transition-fast);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 2rem;
}

.logo-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(0, 242, 254, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.25);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.brand-logo:hover .logo-wrapper {
  transform: scale(1.05);
  border-color: var(--color-cyan);
}

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

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 1px;
  color: #ffffff;
  line-height: 1.1;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--color-cyan);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

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

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

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.75rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  filter: contrast(1.1) brightness(1.05);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 10, 17, 0.35) 0%, rgba(7, 10, 17, 0.25) 50%, rgba(7, 10, 17, 0.70) 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  background: rgba(7, 10, 17, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

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

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

.badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-cyan);
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.95);
}

.hero-description {
  font-size: 1.15rem;
  color: #e2e8f0;
  margin-bottom: 2.25rem;
  max-width: 540px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
}

.stat-card {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-mono);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 35px;
  background: var(--border-glass);
}

/* Hero Visual Graphic */
.hero-visual {
  position: relative;
}

.visual-frame {
  position: relative;
  padding: 0.75rem;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* Floating Badges on Hero Image */
.floating-badge {
  position: absolute;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-radius: var(--radius-md);
  z-index: 10;
  animation: float-badge 4s ease-in-out infinite alternate;
}

.badge-top-left {
  top: 10%;
  left: -20px;
}

.badge-bottom-right {
  bottom: 8%;
  right: -15px;
  animation-delay: 2s;
}

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

.badge-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.icon-cyan { background: rgba(0, 242, 254, 0.15); color: var(--color-cyan); }
.icon-emerald { background: rgba(0, 230, 118, 0.15); color: var(--color-emerald); }
.icon-purple { background: rgba(157, 80, 187, 0.15); color: var(--color-purple); }
.icon-amber { background: rgba(255, 179, 0, 0.15); color: var(--color-amber); }

.badge-info {
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: #ffffff;
}

.badge-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SHOWCASE SECTION & PRODUCT CARDS
   ========================================================================== */
.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.tab-btn.active {
  background: var(--gradient-primary);
  color: #040810;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

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

.system-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.system-card:hover {
  transform: translateY(-8px);
}

.card-image-box {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #040810;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.system-card:hover .card-img {
  transform: scale(1.05);
}

.card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  backdrop-filter: blur(10px);
}

.tag-cyan { background: rgba(0, 242, 254, 0.85); color: #040810; }
.tag-emerald { background: rgba(0, 230, 118, 0.85); color: #040810; }
.tag-purple { background: rgba(157, 80, 187, 0.85); color: #ffffff; }
.tag-amber { background: rgba(255, 179, 0, 0.85); color: #040810; }

.card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.card-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.card-features li {
  font-size: 0.9rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-features i {
  color: var(--color-cyan);
  font-size: 1.1rem;
}

.card-footer {
  margin-top: auto;
}

/* ==========================================================================
   INTERACTIVE SIMULATOR SECTION
   ========================================================================== */
.simulator-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass-bright);
}

.simulator-header {
  background: rgba(11, 15, 25, 0.95);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-glass);
  flex-wrap: wrap;
  gap: 1rem;
}

.sim-controls {
  display: flex;
  gap: 0.5rem;
}

.sim-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.sim-dot.red { background-color: #ff5f56; }
.sim-dot.yellow { background-color: #ffbd2e; }
.sim-dot.green { background-color: #27c93f; }

.sim-selector {
  display: flex;
  gap: 0.5rem;
}

.sim-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sim-tab.active {
  background: rgba(0, 242, 254, 0.15);
  color: var(--color-cyan);
}

.sim-status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-emerald);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-emerald);
  box-shadow: 0 0 8px var(--color-emerald);
}

.simulator-body {
  padding: 2rem;
  background: rgba(7, 10, 17, 0.85);
  min-height: 420px;
}

.sim-panel {
  display: none;
}

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

.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.sim-card-interactive {
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.sim-card-interactive h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sim-actions-row {
  display: flex;
  gap: 0.75rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.sim-terminal-output {
  background: #04060a;
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  min-height: 120px;
  max-height: 160px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.log-line {
  margin-bottom: 0.35rem;
  line-height: 1.4;
}

.log-success { color: var(--color-emerald); }
.log-info { color: var(--color-cyan); }
.text-muted { color: var(--text-dim); }

/* Parking Spots Simulator */
.parking-map-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 1rem 0;
}

.park-spot {
  padding: 0.85rem 0.5rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.park-spot.free {
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: var(--color-emerald);
}

.park-spot.occupied {
  background: rgba(255, 95, 86, 0.15);
  border: 1px solid rgba(255, 95, 86, 0.4);
  color: #ff5f56;
}

.sim-stat-bar {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-glass);
}

/* POS Simulator Styles */
.product-picker-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.prod-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.prod-chip:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--color-cyan);
  color: var(--color-cyan);
}

.cart-table-wrapper {
  background: #04060a;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1rem;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.cart-table th, .cart-table td {
  padding: 0.6rem 0.8rem;
  text-align: left;
}

.cart-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);

}

.cart-total-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-glass);
}

.sim-receipt-box {
  background: #fff;
  color: #111827;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  min-height: 220px;
}

.receipt-header {
  text-align: center;
  margin-bottom: 0.75rem;
}

.receipt-hr {
  border: none;
  border-top: 1px dashed #9ca3af;
  margin: 0.5rem 0;
}

/* CRM Kanban Simulator */
.crm-kanban-sim {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.kanban-col {
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.col-header {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.kanban-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.kanban-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
}

.lead-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #ffffff;
}

.lead-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0.35rem 0 0.65rem;
}

.lead-won {
  border-color: rgba(0, 230, 118, 0.4);
  background: rgba(0, 230, 118, 0.08);
}

.won-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-emerald);
}

/* Restaurant Simulator */
.resto-sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.resto-tables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1rem 0;
}

.resto-table {
  padding: 1rem 0.5rem;
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.resto-table.free {
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: var(--color-emerald);
}

.resto-table.busy {
  background: rgba(255, 95, 86, 0.15);
  border: 1px solid rgba(255, 95, 86, 0.4);
  color: #ff5f56;
}

.kds-orders-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.kds-card {
  background: #04060a;
  border-left: 4px solid var(--color-amber);
  padding: 0.85rem;
  border-radius: var(--radius-sm);
}

.kds-card-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.kds-items {
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   ADVANTAGES SECTION
   ========================================================================== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.adv-card {
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition-smooth);
}

.adv-card:hover {
  transform: translateY(-8px);
}

.adv-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.adv-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.adv-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CUSTOM SOFTWARE SECTION (A LA MEDIDA)
   ========================================================================== */
.custom-software-section {
  position: relative;
}

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

.medida-card {
  padding: 2.25rem 1.75rem;
  text-align: left;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.medida-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-cyan);
}

.medida-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.medida-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

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

/* Banner de Cotización Directa */
.quote-callout {
  padding: 3.5rem 2.5rem;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.08) 0%, rgba(79, 172, 254, 0.04) 50%, rgba(138, 43, 226, 0.08) 100%);
  border: 1px solid rgba(0, 242, 254, 0.3);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(0, 242, 254, 0.15);
  border: 1px solid var(--color-cyan);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-cyan);
  margin-bottom: 1.25rem;
}

.quote-callout h2 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 1rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.quote-callout p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.25rem;
  line-height: 1.6;
}

.quote-callout-buttons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Form Styles para Contacto */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(7, 10, 17, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-cyan);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-form-box {
  padding: 2.5rem;
}

.contact-form-box h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

/* ==========================================================================
   MODAL DIALOGS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 2.5rem;
  border: 1px solid var(--border-glass-bright);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: #ffffff;
}

.modal-header {
  margin-bottom: 1.5rem;
}

.modal-header h2 {
  font-size: 1.75rem;
  margin-top: 0.5rem;
  color: #ffffff;
}

.modal-img {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-glass);
}

.modal-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.m-feat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 1rem;
  border-radius: var(--radius-md);
}

.m-feat i {
  font-size: 1.5rem;
  color: var(--color-cyan);
  margin-bottom: 0.5rem;
  display: block;
}

.m-feat h4 {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.m-feat p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.modal-footer {
  margin-top: 2rem;
  text-align: right;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #04060a;
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 1rem 0 1.5rem;
  max-width: 400px;
}

.system-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--color-emerald);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-emerald);
  box-shadow: 0 0 6px var(--color-emerald);
}

.footer-links h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

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

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

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Helper Utilities */
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.block { display: block; }

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM (DESKTOP, TABLET & MOBILE)
   ========================================================================== */

/* Tablets & Medium Displays (<= 1024px) */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-description {
    margin: 0 auto 2rem;
  }

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

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

  .floating-badge {
    display: none; /* Clean look on mobile preview frame */
  }

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

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

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

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

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  /* Mobile Slide-down Menu */
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(7, 10, 17, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .sim-grid, .resto-sim-grid {
    grid-template-columns: 1fr;
  }

  .crm-kanban-sim {
    grid-template-columns: 1fr;
  }

  .modal-features-grid {
    grid-template-columns: 1fr;
  }

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

  .calc-wrapper {
    padding: 1.75rem;
  }
}
