/* Variables CSS */
:root {
  --bg-main: #0B0F19; /* Very deep dark blue/black */
  --bg-secondary: #131A2A;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  
  --primary: #3B82F6;
  --primary-hover: #2563EB;
  --secondary: #22D3EE;
  
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  
  --red: #EF4444;
  --amber: #F59E0B;
  --green: #10B981;
  
  --font-main: 'Outfit', sans-serif;
  
  --transition: all 0.3s ease;
}

/* Reset Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

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

/* Glassmorphism Classes */
.glass-panel, .glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
}

/* Layout Classes */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.w-100 { width: 100%; }

/* Utilities */
.text-gradient {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-red { color: var(--red); }
.text-amber { color: var(--amber); }
.text-green { color: var(--green); }

.icon-lg { width: 32px; height: 32px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  font-weight: 600;
  border-radius: 999px;
  padding: 12px 24px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(59, 130, 246, 0.4);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(16px);
  padding: 15px 0;
  border-bottom: 1px solid var(--glass-border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-icon {
  color: var(--primary);
}

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

.nav-links a {
  font-weight: 500;
  color: var(--text-main);
}

.nav-links a:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: var(--bg-main);
  padding: 20px;
  flex-direction: column;
  gap: 20px;
  z-index: 999;
  border-bottom: 1px solid var(--glass-border);
}

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

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -100px;
  right: -100px;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--secondary);
  bottom: 0;
  left: -100px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(34, 211, 238, 0.1);
  color: var(--secondary);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-text h1 {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Mockup Dashboard Hero */
.main-dashboard {
  padding: 24px;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

.main-dashboard:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
  font-weight: 600;
}

.dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: var(--red); }
.dot.amber { background: var(--amber); }
.dot.green { background: var(--green); }

.dashboard-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(0,0,0,0.2);
  border-radius: 16px;
}

.stat-info h3 {
  font-size: 1.5rem;
  line-height: 1;
}
.stat-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Base Sections */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Benefits Section */
.benefit-card {
  padding: 32px;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.06);
}

.icon-box {
  width: 48px;
  height: 48px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.benefit-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

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

/* Workflow Section */
.workflow-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.workflow-content h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.step-item {
  display: flex;
  gap: 24px;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.step-text h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

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

/* Mockup Device (Kiosk simulation) */
.device-mockup {
  padding: 40px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen-content {
  text-align: center;
  width: 100%;
}

.screen-content h4 {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.emojis {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.emoji-btn {
  width: 80px;
  height: 80px;
  background: var(--bg-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.emoji-btn:hover {
  transform: scale(1.1);
}

/* Pricing/Planes */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.pricing-header {
  margin-bottom: 30px;
}

.pricing-header h3 {
  font-size: 2rem;
  margin-bottom: 8px;
}

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

.pricing-features {
  flex-grow: 1;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-featured {
  position: relative;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.1) 0%, rgba(255,255,255,0.03) 100%);
  border-color: rgba(59, 130, 246, 0.3);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* CTA Section / Contact */
.cta-box {
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-box p {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  display: flex;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.input-glass {
  flex: 1;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 0 24px;
  color: var(--text-main);
  font-family: inherit;
  outline: none;
}

.input-glass::placeholder { color: var(--text-muted); }

.input-glass:focus {
  border-color: var(--primary);
}

/* Footer */
.footer {
  padding: 80px 0 24px;
  border-top: 1px solid var(--glass-border);
}

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

.footer-brand p {
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 300px;
}

.footer h4 {
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.footer-links, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a, .footer-contact a {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover, .footer-contact a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
}

/* Utilities para animaciones de revelado */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

.reveal-delay { transition-delay: 200ms; }
.reveal-delay-1 { transition-delay: 150ms; }
.reveal-delay-2 { transition-delay: 300ms; }

/* Scroll to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-hover);
  transform: translateY(-5px);
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
    flex-direction: column;
  }
  .workflow-wrapper {
    grid-template-columns: 1fr;
  }
  .workflow-visual { margin-bottom: 40px; }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  
  .hero-text h1 { font-size: 2.8rem; }
  .hero { padding-top: 100px; }
  
  .contact-form {
    flex-direction: column;
  }
  .input-glass { padding: 16px 24px; }
}
