/* ==========================================================================
   PenaCerdas - Modern SaaS Landing Page Design System
   Separation of Concerns: Modular stylesheet for marketing & landing page
   ========================================================================== */

:root {
  --lp-primary: #4f46e5;
  --lp-primary-hover: #4338ca;
  --lp-primary-light: #eef2ff;
  --lp-dark: #0f172a;
  --lp-dark-sub: #1e293b;
  --lp-slate: #334155;
  --lp-muted: #64748b;
  --lp-bg-alt: #f8fafc;
  --lp-border: #e2e8f0;
}

body.landing-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--lp-slate);
  background-color: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 1. Navbar Modern */
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.2s ease;
}

.landing-nav .nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--lp-slate);
  padding: 0.5rem 0.85rem;
  transition: color 0.15s ease;
}

.landing-nav .nav-link:hover {
  color: var(--lp-primary);
}

/* 2. Hero Section */
.hero-section {
  position: relative;
  padding: 5.5rem 0 4.5rem;
  background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.08) 0%, transparent 60%),
              radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background: var(--lp-primary-light);
  color: var(--lp-primary);
  border: 1px solid rgba(79, 70, 229, 0.18);
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.18;
  color: var(--lp-dark);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--lp-muted);
  max-width: 680px;
  margin: 0 auto 2rem;
}

/* 3. Feature Showcase Cards */
.feature-card {
  background: #ffffff;
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.icon-purple {
  background: #eef2ff;
  color: #4f46e5;
}

.icon-amber {
  background: #fffbeb;
  color: #d97706;
}

.icon-emerald {
  background: #ecfdf5;
  color: #059669;
}

.icon-sky {
  background: #f0f9ff;
  color: #0284c7;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--lp-dark);
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--lp-muted);
  margin-bottom: 0;
}

/* 4. Workflow Step Cards */
.step-card {
  background: #ffffff;
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  transition: all 0.2s ease;
  height: 100%;
}

.step-card:hover {
  border-color: var(--lp-primary);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.06);
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lp-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

/* 5. Pricing Cards (Consistent with SaaS Orders) */
.pricing-card-lp {
  background: #ffffff;
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card-lp:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.pricing-card-lp.popular {
  border: 2px solid var(--lp-primary) !important;
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.12);
}

.pricing-badge-floating {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.pricing-rc-strip {
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1rem 0;
}

/* 6. Accordion FAQ */
.accordion-lp .accordion-item {
  border: 1px solid var(--lp-border);
  border-radius: 12px !important;
  margin-bottom: 0.85rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.accordion-lp .accordion-button {
  font-weight: 600;
  font-size: 1rem;
  color: var(--lp-dark);
  background: #ffffff;
  padding: 1.15rem 1.35rem;
  border: none;
}

.accordion-lp .accordion-button:not(.collapsed) {
  background-color: var(--lp-primary-light);
  color: var(--lp-primary);
  box-shadow: none;
}

.accordion-lp .accordion-body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--lp-muted);
  padding: 1rem 1.35rem 1.25rem;
  background: #ffffff;
}

/* 7. CTA Strip & Footer */
.cta-banner {
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
  border-radius: 20px;
  padding: 3.5rem 2rem;
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(79, 70, 229, 0.25);
}

.landing-footer {
  background: #0b1120;
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.landing-footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
}

.landing-footer a:hover {
  color: #ffffff;
}

/* 8. Floating WhatsApp Button */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  z-index: 1040;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.whatsapp-float-btn:hover {
  background-color: #128c7e;
  color: #ffffff;
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.35rem;
  }
  .hero-section {
    padding: 3.5rem 0 2.5rem;
  }
}
