/* ==========================================================================
   MuralVivo - High-Conversion SaaS Landing Page Styles
   ========================================================================== */

:root {
  --lp-bg: #07090e;
  --lp-surface: rgba(17, 24, 39, 0.7);
  --lp-surface-hover: rgba(30, 41, 59, 0.85);
  --lp-border: rgba(255, 255, 255, 0.08);
  --lp-border-glow: rgba(99, 102, 241, 0.35);

  --lp-primary: #6366f1;
  --lp-primary-glow: #818cf8;
  --lp-accent-pink: #ec4899;
  --lp-accent-gold: #f59e0b;
  --lp-accent-cyan: #06b6d4;

  --lp-gradient-hero: linear-gradient(135deg, #6366f1 0%, #ec4899 50%, #f59e0b 100%);
  --lp-gradient-glow: radial-gradient(circle at 50% -20%, rgba(99, 102, 241, 0.25) 0%, rgba(236, 72, 153, 0.15) 35%, transparent 70%);

  --lp-text-title: #f8fafc;
  --lp-text-body: #94a3b8;
  --lp-text-muted: #64748b;

  --lp-radius-sm: 8px;
  --lp-radius-md: 16px;
  --lp-radius-lg: 24px;
  --lp-radius-xl: 32px;
}

body.landing-page {
  background-color: var(--lp-bg);
  color: var(--lp-text-title);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  background-image: var(--lp-gradient-glow);
  background-attachment: fixed;
}

/* ==========================================================================
   Landing Header
   ========================================================================== */

.lp-navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 9, 14, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--lp-border);
}

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.lp-nav-link {
  color: var(--lp-text-body);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.lp-nav-link:hover {
  color: #fff;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.lp-hero-section {
  padding: 5rem 1.5rem 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 9999px;
  color: var(--lp-primary-glow);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero-gradient-text {
  background: var(--lp-gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--lp-text-body);
  max-width: 780px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn-hero-primary {
  padding: 1rem 2.25rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 9999px;
  background: var(--lp-gradient-hero);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
  transition: transform 0.25s, box-shadow 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 35px rgba(236, 72, 153, 0.5);
}

.btn-hero-secondary {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* Hero Live Mockup Showcase */
.hero-mockup-wrap {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--lp-radius-xl);
  padding: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(99, 102, 241, 0.3), rgba(236, 72, 153, 0.2));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8), 0 0 60px rgba(99, 102, 241, 0.2);
}

.hero-screen-inner {
  border-radius: calc(var(--lp-radius-xl) - 8px);
  background: #0f172a;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-screen-header {
  height: 38px;
  background: #090d16;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 0.5rem;
  border-bottom: 1px solid var(--lp-border);
}

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

.hero-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  min-height: 280px;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 80%);
}

.showcase-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--lp-radius-md);
  padding: 0.75rem;
  text-align: left;
  transform: translateY(0);
  transition: transform 0.3s;
}

.showcase-card:hover {
  transform: translateY(-5px);
}

.showcase-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--lp-radius-sm);
  margin-bottom: 0.5rem;
}

/* Floating Phone Mockup Over Hero */
.floating-mobile-mockup {
  position: absolute;
  bottom: -40px;
  right: -20px;
  width: 210px;
  background: #000;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(236, 72, 153, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: floatPhone 4s ease-in-out infinite;
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.mobile-notch {
  width: 50px;
  height: 12px;
  background: #1e293b;
  border-radius: 9999px;
  margin-bottom: 8px;
}

.mobile-inner-screen {
  background: #111827;
  width: 100%;
  border-radius: 26px;
  padding: 0.75rem 0.5rem;
}

/* ==========================================================================
   Pain vs Solution Comparison (Los Dolores del Anfitrión)
   ========================================================================== */

.lp-pain-section {
  padding: 5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-tag {
  text-align: center;
  color: var(--lp-accent-gold);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.section-heading {
  text-align: center;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 3.5rem;
  color: #fff;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .comparison-grid { grid-template-columns: 1fr; }
  .floating-mobile-mockup { display: none; }
}

.comparison-box {
  border-radius: var(--lp-radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--lp-border);
}

.box-pain {
  background: rgba(239, 68, 68, 0.04);
  border-color: rgba(239, 68, 68, 0.2);
}

.box-solution {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15);
}

.box-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.pain-item, .solution-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.5;
}

.pain-icon { color: #f87171; font-weight: 900; }
.solution-icon { color: #34d399; font-weight: 900; }

/* ==========================================================================
   Features / 3-Step Process
   ========================================================================== */

.lp-steps-section {
  padding: 5rem 1.5rem;
  background: rgba(15, 23, 42, 0.4);
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
}

.steps-container {
  max-width: 1100px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step-card {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-lg);
  padding: 2rem;
  transition: transform 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: var(--lp-border-glow);
}

.step-number-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lp-gradient-hero);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.step-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.step-desc {
  color: var(--lp-text-body);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   Pricing Section (Pase 24 Horas)
   ========================================================================== */

.lp-pricing-section {
  padding: 6rem 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.pricing-card-wrap {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
}

.pricing-card-popular {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 2px solid var(--lp-primary);
  border-radius: var(--lp-radius-xl);
  padding: 3rem 2.5rem;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(99, 102, 241, 0.25);
  text-align: left;
}

.pricing-badge-popular {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lp-gradient-hero);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.35rem 1.25rem;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.5);
}

.plan-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.plan-desc {
  color: var(--lp-text-body);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--lp-border);
}

.price-currency {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
}

.price-amount {
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.price-period {
  color: var(--lp-accent-gold);
  font-weight: 700;
  font-size: 1rem;
}

.plan-benefits-list {
  list-style: none;
  margin-bottom: 2.5rem;
}

.plan-benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: #f1f5f9;
  margin-bottom: 1rem;
}

.plan-benefit-item svg {
  color: #10b981;
  flex-shrink: 0;
}

/* ==========================================================================
   Checkout & Registration Modal (Multi-tenant Event Creation)
   ========================================================================== */

dialog.checkout-modal {
  margin: auto;
  padding: 2.25rem;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--lp-radius-xl);
  color: #fff;
  max-width: 520px;
  width: 90vw;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(99, 102, 241, 0.3);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.checkout-step-success {
  display: none;
  text-align: center;
}

.checkout-step-success.active {
  display: block;
}

.private-link-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-md);
  padding: 1rem;
  margin: 1.25rem 0;
  word-break: break-all;
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--lp-primary-glow);
}

/* ==========================================================================
   Landing Footer
   ========================================================================== */

.lp-footer {
  padding: 3rem 2rem;
  background: #04060a;
  border-top: 1px solid var(--lp-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--lp-text-muted);
}

.lp-footer a {
  color: var(--lp-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.lp-footer a:hover {
  color: #fff;
}
