/* ═══════════════════════════════════════════════════════════
   RESOFT Landing Page — Professional Light SaaS Theme
   Inspired by premium B2B product pages (HRControl style)
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Brand Colors */
  --primary: #0891b2;
  --primary-dark: #0e7490;
  --primary-light: #22d3ee;
  --primary-50: #ecfeff;
  --primary-100: #cffafe;
  --primary-600: #0891b2;
  --primary-700: #0e7490;
  --primary-800: #155e75;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Accents */
  --emerald: #10b981;
  --emerald-50: #ecfdf5;
  --amber: #f59e0b;
  --amber-50: #fffbeb;
  --rose: #f43f5e;
  --rose-50: #fff1f2;
  --violet: #8b5cf6;
  --violet-50: #f5f3ff;
  --blue: #3b82f6;
  --blue-50: #eff6ff;

  /* Spacing & Layout */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Typography */
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.3s var(--ease);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 25px 60px rgba(0,0,0,0.12);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font);
  color: var(--gray-800);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background: var(--white);
}

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

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

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

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

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 320px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s ease;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--gray-50);
}

.dropdown-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  border-radius: var(--radius-sm);
}

.dropdown-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 2px;
}

.dropdown-item small {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-nav-login {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  background: var(--primary);
  border-radius: var(--radius-md);
  border: 1px solid var(--primary);
  transition: var(--transition);
}

.btn-nav-login:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

.btn-nav-trial {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
  background: transparent;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.btn-nav-trial:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-50);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.94rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(8, 145, 178, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(8, 145, 178, 0.4);
}

.btn-outline-dark {
  background: transparent;
  color: var(--gray-700);
  border-color: var(--gray-300);
}

.btn-outline-dark:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-50);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary-800);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding-top: 120px;
  padding-bottom: 40px;
  overflow: hidden;
  background: var(--gray-50);
}

.hero-bg-shape {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
  opacity: 0.6;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 560px;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.hero-highlight {
  color: var(--primary);
  display: block;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-subtitle strong {
  color: var(--gray-700);
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* Trust Badges */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-600);
}

.trust-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  border-radius: var(--radius-sm);
  color: var(--primary);
  flex-shrink: 0;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: perspective(1000px) rotateY(-2deg);
  transition: transform 0.5s var(--ease);
}

.hero-image-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.hero-image {
  width: 100%;
  display: block;
}

/* ═══════════════════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════════════════ */
.stats-bar {
  background: var(--white);
  padding: 48px 0;
  border-bottom: 1px solid var(--gray-200);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

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

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  display: inline;
}

.stat-suffix {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  display: block;
  font-size: 0.88rem;
  color: var(--gray-500);
  font-weight: 500;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--gray-200);
}

/* ═══════════════════════════════════════════════════════════
   SECTION COMMON
   ═══════════════════════════════════════════════════════════ */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════════════════════ */
.features-section {
  padding: 100px 0;
  background: var(--white);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 100px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row-reverse {
  direction: rtl;
}

.feature-row-reverse > * {
  direction: ltr;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 14px;
}

.feature-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.tag-dot-orange { background: var(--amber); }
.tag-dot-blue { background: var(--blue); }

.feature-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.25;
}

.feature-desc {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 24px;
  line-height: 1.7;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--gray-600);
  font-weight: 500;
}

.feature-list li svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-media {
  position: relative;
}

.feature-image {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s var(--ease);
}

.feature-image:hover {
  transform: scale(1.02);
}

/* ═══════════════════════════════════════════════════════════
   BENEFITS SECTION
   ═══════════════════════════════════════════════════════════ */
.benefits-section {
  padding: 100px 0;
  background: var(--gray-50);
}

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

.benefit-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.benefit-icon-teal { background: var(--primary-50); color: var(--primary); }
.benefit-icon-emerald { background: var(--emerald-50); color: var(--emerald); }
.benefit-icon-blue { background: var(--blue-50); color: var(--blue); }
.benefit-icon-violet { background: var(--violet-50); color: var(--violet); }
.benefit-icon-amber { background: var(--amber-50); color: var(--amber); }
.benefit-icon-rose { background: var(--rose-50); color: var(--rose); }

.benefit-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   DEMO SECTION
   ═══════════════════════════════════════════════════════════ */
.demo-section {
  padding: 100px 0;
  background: var(--white);
}

.demo-frame {
  background: var(--gray-900);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}

.demo-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--gray-800);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.demo-dots {
  display: flex;
  gap: 8px;
}

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

.demo-address-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--gray-400);
  border: 1px solid rgba(255,255,255,0.08);
}

.demo-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #34d399;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
}

.demo-tabs {
  display: flex;
  background: rgba(15, 23, 42, 0.95);
  padding: 8px;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow-x: auto;
}

.demo-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  color: var(--gray-400);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.demo-tab-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.demo-tab-btn.active {
  color: #fff;
  background: var(--primary);
}

.demo-content-window {
  min-height: 420px;
  padding: 28px;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #f1f5f9;
}

.demo-view {
  display: none;
  animation: fadeIn 0.3s ease forwards;
}

.demo-view.active {
  display: block;
}

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

/* Demo Mesas */
.demo-view-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.demo-view-header h3 {
  font-size: 1rem;
  font-weight: 700;
}

.demo-view-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.mesa-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--gray-400);
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 4px;
}

.legend-libre { background: #34d399; }
.legend-ocupada { background: #f87171; }
.legend-cobrando { background: #fbbf24; }

.tables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.table-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.table-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.2);
}

.table-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.table-libre .table-badge { background: rgba(16,185,129,0.15); color: #34d399; }
.table-ocupada .table-badge { background: rgba(239,68,68,0.15); color: #f87171; }
.table-cobrando .table-badge { background: rgba(245,158,11,0.15); color: #fbbf24; }

.table-number {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.table-meta {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* KDS */
.kds-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.kds-col {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 16px;
}

.kds-col-header {
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.kds-pending { color: #f87171; }
.kds-progress { color: #fbbf24; }
.kds-ready { color: #34d399; }

.ticket-card {
  background: rgba(30,41,59,0.8);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 10px;
  border-left: 4px solid var(--primary);
}

.ticket-urgent { border-left-color: var(--rose); }
.ticket-progress { border-left-color: var(--amber); }
.ticket-ready { border-left-color: var(--emerald); }

.ticket-header {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.86rem;
  margin-bottom: 6px;
}

.ticket-time { color: var(--gray-400); }
.ticket-time-red { color: #f87171; }
.ticket-time-green { color: #34d399; }

.ticket-item {
  font-size: 0.82rem;
  color: var(--gray-400);
  padding: 2px 0;
}

/* Caja */
.caja-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.caja-detail {
  background: rgba(30,41,59,0.8);
  padding: 24px;
  border-radius: var(--radius-md);
}

.caja-detail h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.caja-line {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
  color: var(--gray-300);
}

.caja-total {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-light);
}

.caja-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* Dashboard Metrics */
.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.metric-card {
  background: rgba(30,41,59,0.8);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.06);
}

.metric-label {
  display: block;
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.metric-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
}

.metric-green { color: #34d399; }
.metric-blue { color: #60a5fa; }
.metric-amber { color: #fbbf24; }
.metric-teal { color: var(--primary-light); }

.metric-change {
  display: block;
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════ */
.pricing-section {
  padding: 100px 0;
  background: var(--gray-50);
}

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

.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card-featured {
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(8, 145, 178, 0.15);
  transform: scale(1.03);
}

.pricing-card-featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 6px 20px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.pricing-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin-bottom: 24px;
  line-height: 1.5;
}

.pricing-price {
  margin-bottom: 28px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

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

.price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
}

.price-period {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin-left: 4px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--gray-600);
  font-weight: 500;
}

.pricing-features li svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════ */
.faq-section {
  padding: 100px 0;
  background: var(--white);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-800);
  text-align: left;
  transition: var(--transition);
}

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

.faq-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--gray-400);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 22px;
}

.faq-answer p {
  font-size: 0.94rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════ */
.cta-section {
  padding: 100px 0;
  background: var(--gray-50);
}

.cta-box {
  background: linear-gradient(135deg, var(--primary-700), var(--primary));
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.cta-box p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  margin: 0 auto 36px;
  position: relative;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding-top: 64px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  height: 28px;
  margin-bottom: 16px;
  filter: brightness(2);
}

.footer-col-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--gray-400);
  margin-bottom: 20px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  color: var(--gray-400);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: var(--white);
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--gray-400);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.82rem;
  color: var(--gray-500);
  flex-wrap: wrap;
  gap: 12px;
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

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

  .trust-badges {
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-bg-shape {
    display: none;
  }

  .feature-row,
  .feature-row-reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }

  .pricing-card-featured {
    transform: none;
  }

  .pricing-card-featured:hover {
    transform: translateY(-4px);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

@media (max-width: 768px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding-top: 100px;
  }

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

  .stats-grid {
    gap: 24px;
  }

  .stat-divider {
    display: none;
  }

  .stat-number,
  .stat-suffix {
    font-size: 1.8rem;
  }

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

  .demo-content-window {
    padding: 16px;
  }

  .tables-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-box {
    padding: 48px 24px;
  }
}

/* ═══════════════════════════════════════════════════════════
   ACETERNITY & MAGIC UI — MODERN INTERACTIVE EFFECTS
   ═══════════════════════════════════════════════════════════ */

/* 1. Lenis Smooth Scrolling */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* 2. Spotlight Glow Card Effect (Aceternity UI style) */
.spotlight-card {
  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);
}

.spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: radial-gradient(
    400px circle at var(--mouse-x, -1000px) var(--mouse-y, -1000px),
    rgba(8, 145, 178, 0.4),
    transparent 60%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.spotlight-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    500px circle at var(--mouse-x, -1000px) var(--mouse-y, -1000px),
    rgba(34, 211, 238, 0.06),
    transparent 50%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.spotlight-card:hover::after {
  opacity: 1;
}

/* 3. Magic UI Shimmer Text */
.magic-shimmer-text {
  background: linear-gradient(
    110deg,
    #0f172a 0%,
    #0f172a 35%,
    #0891b2 50%,
    #0f172a 65%,
    #0f172a 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: magic-shimmer 6s ease-in-out infinite;
}

@keyframes magic-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

/* 4. Magic UI Animated Border / Glowing Badge */
.magic-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-700);
  background: rgba(236, 254, 255, 0.85);
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(8, 145, 178, 0.2);
  box-shadow: 0 0 20px rgba(8, 145, 178, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.magic-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(8, 145, 178, 0.28);
}

.magic-badge .badge-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  position: relative;
}

.magic-badge .badge-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background-color: var(--primary);
  opacity: 0.4;
  animation: pulse-ring 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  70% {
    transform: scale(2.4);
    opacity: 0;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* 5. 3D Tilt Card (Magic UI / Aceternity) */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.15s ease-out, box-shadow 0.25s ease;
}

/* 6. Subtle Parallax Floating */
.floating-element {
  animation: float-soft 5s ease-in-out infinite;
}

.floating-element-delayed {
  animation: float-soft 6s ease-in-out 1.5s infinite;
}

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

/* 7. Grid dot pattern overlay (Aceternity Dot Background) */
.aceternity-dot-grid {
  background-image: radial-gradient(rgba(8, 145, 178, 0.12) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
}

