/* Narpavi Groups public landing page — distinct navy + gold marketing theme,
   deliberately separate from the app's internal orange/dark-slate theme.
   Scoped under .landing-page so it never leaks into logged-in app pages. */

.landing-page {
  --lp-navy-deep: #070c1f;
  --lp-navy: #0d1230;
  --lp-navy-light: #141a3d;
  --lp-card: #161c40;
  --lp-card-hover: #1c234d;
  --lp-gold: #d4af37;
  --lp-gold-light: #e9cd6e;
  --lp-teal: #2ec4b6;
  --lp-text: #f4f6fb;
  --lp-text-muted: #a3aacb;
  --lp-border: rgba(212, 175, 55, 0.18);

  background-color: var(--lp-navy);
  color: var(--lp-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: hidden;
}

.landing-page a {
  color: inherit;
}

.lp-navbar {
  background-color: rgba(7, 12, 31, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--lp-border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
}

.lp-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 22px;
  text-decoration: none;
  color: var(--lp-text);
}

.lp-logo-badge {
  height: 72px;
  width: 72px;
  padding: 1px;
  border-radius: 14px;
  background: #ffffff;
  object-fit: contain;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}

.lp-logo-sub {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--lp-gold);
  text-transform: uppercase;
}

.lp-btn-gold {
  background: linear-gradient(135deg, var(--lp-gold), #b8860b);
  color: var(--lp-navy-deep);
  border: none;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 10px;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35);
}

.lp-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(212, 175, 55, 0.5);
  color: var(--lp-navy-deep);
}

.lp-btn-outline {
  background: transparent;
  color: var(--lp-text);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 10px;
  transition: all 0.25s ease;
}

.lp-btn-outline:hover {
  border-color: var(--lp-gold);
  color: var(--lp-gold);
}

/* Hero */
.lp-hero {
  position: relative;
  padding: 100px 0 80px;
  background:
    radial-gradient(circle at 15% 20%, rgba(212, 175, 55, 0.12), transparent 45%),
    radial-gradient(circle at 85% 60%, rgba(46, 196, 182, 0.1), transparent 50%),
    linear-gradient(180deg, var(--lp-navy-deep) 0%, var(--lp-navy) 100%);
  overflow: hidden;
}

.lp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 30%, transparent 75%);
  pointer-events: none;
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--lp-border);
  color: var(--lp-gold-light);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.lp-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 20px 0;
}

.lp-hero h1 .lp-gold-text {
  background: linear-gradient(135deg, var(--lp-gold-light), var(--lp-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 36px;
}

.lp-hero-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--lp-gold-light);
}

.lp-hero-stat span {
  font-size: 13px;
  color: var(--lp-text-muted);
}

/* Section shells */
.lp-section {
  padding: 90px 0;
  position: relative;
}

.lp-section-alt {
  background: linear-gradient(180deg, var(--lp-navy) 0%, var(--lp-navy-light) 100%);
}

.lp-tag {
  display: inline-block;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--lp-border);
  color: var(--lp-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.lp-section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.lp-section-subtitle {
  color: var(--lp-text-muted);
  font-size: 16px;
  max-width: 640px;
}

.lp-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.05));
  color: var(--lp-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 8px 20px -6px rgba(212, 175, 55, 0.3);
}

.lp-icon-circle.teal {
  background: linear-gradient(135deg, rgba(46, 196, 182, 0.18), rgba(46, 196, 182, 0.05));
  color: var(--lp-teal);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 8px 20px -6px rgba(46, 196, 182, 0.3);
}

/* Plan highlight panels — a thin accent rule instead of a boxed card */
.lp-plan-flat {
  padding: 12px 8px 8px;
  border-top: 3px solid var(--lp-gold);
  height: 100%;
}

.lp-plan-flat.teal {
  border-top-color: var(--lp-teal);
}

.lp-plan-flat ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
}

.lp-plan-flat ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--lp-text-muted);
}

.lp-plan-flat ul li i {
  color: var(--lp-gold);
  margin-top: 3px;
  flex-shrink: 0;
}

.lp-plan-flat.teal ul li i {
  color: var(--lp-teal);
}

/* CTA footer */
.lp-cta {
  background: linear-gradient(135deg, var(--lp-navy-deep), var(--lp-navy));
  border-top: 1px solid var(--lp-border);
  text-align: center;
  padding: 90px 0;
}

.lp-footer {
  background: var(--lp-navy-deep);
  border-top: 1px solid var(--lp-border);
  padding: 32px 0;
  text-align: center;
  color: var(--lp-text-muted);
  font-size: 13px;
}

@media (max-width: 767px) {
  .lp-section {
    padding: 60px 0;
  }
  .lp-hero {
    padding: 70px 0 50px;
  }
}

/* Floating decorative blobs for depth/parallax feel */
.lp-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  animation: lp-float 10s ease-in-out infinite;
}

.lp-blob.gold {
  background: radial-gradient(circle, rgba(212, 175, 55, 0.38), transparent 70%);
}

.lp-blob.teal {
  background: radial-gradient(circle, rgba(46, 196, 182, 0.32), transparent 70%);
}

@keyframes lp-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -28px) scale(1.08); }
}

/* Scroll-reveal system */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-left { transform: translate3d(-48px, 0, 0); }
.reveal-left.is-visible { transform: none; }

.reveal-right { transform: translate3d(48px, 0, 0); }
.reveal-right.is-visible { transform: none; }

.reveal-zoom { transform: scale(0.9); }
.reveal-zoom.is-visible { transform: none; }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Flat, unboxed feature layout — icon + copy floating directly on the
   section background instead of inside a bordered card */
.lp-card-flat {
  background: transparent;
  border: none;
  padding: 8px 4px;
  box-shadow: none;
  height: 100%;
  transition: transform 0.35s ease;
}

.lp-card-flat:hover {
  transform: translateY(-6px);
}

.lp-card-flat .lp-icon-circle {
  transition: transform 0.35s ease;
}

.lp-card-flat:hover .lp-icon-circle {
  transform: translateY(-2px) scale(1.06);
}

.lp-card-flat h3, .lp-card-flat h4 {
  color: var(--lp-text);
  font-weight: 700;
}

.lp-card-flat p {
  color: var(--lp-text-muted);
  margin-bottom: 0;
}

/* Hero 3D floating orb visual */
.lp-hero-stack {
  position: relative;
  perspective: 1400px;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.lp-hero-orb {
  position: relative;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(212, 175, 55, 0.22), var(--lp-navy-deep) 72%);
  border: 1px solid var(--lp-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 30px 70px -20px rgba(212, 175, 55, 0.35), inset 0 0 40px rgba(212, 175, 55, 0.08);
  animation: lp-orb-float 6s ease-in-out infinite;
}

.lp-hero-orb::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px dashed rgba(212, 175, 55, 0.3);
  animation: lp-spin 20s linear infinite;
}

.lp-growth-chart {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  height: 90px;
}

.lp-growth-bar {
  width: 13px;
  height: var(--h);
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--lp-gold-light), var(--lp-gold));
  transform: scaleY(0);
  transform-origin: bottom;
  animation: lp-grow-bar 1.6s cubic-bezier(0.22, 0.8, 0.2, 1) forwards;
  animation-delay: var(--d);
}

.lp-growth-bar:nth-child(even) {
  background: linear-gradient(180deg, var(--lp-teal), #1a8f84);
}

.lp-growth-trend {
  font-size: 22px;
  color: var(--lp-gold-light);
  margin-top: 12px;
}

.lp-growth-label {
  display: block;
  font-size: 12px;
  color: var(--lp-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

@keyframes lp-grow-bar {
  to { transform: scaleY(1); }
}

@keyframes lp-orb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes lp-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.lp-floating-chip {
  position: absolute;
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 16px 34px -10px rgba(0, 0, 0, 0.55);
  z-index: 2;
  animation: lp-float-chip 5s ease-in-out infinite;
}

.lp-floating-chip.chip-gold {
  top: -22px;
  left: -28px;
  color: var(--lp-gold-light);
}

.lp-floating-chip.chip-teal {
  bottom: -18px;
  right: -20px;
  color: var(--lp-teal);
  animation-delay: 1.4s;
}

@keyframes lp-float-chip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 767px) {
  .lp-floating-chip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-zoom {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .lp-blob, .lp-floating-chip, .lp-hero-orb, .lp-hero-orb::before {
    animation: none;
  }
  .lp-growth-bar {
    animation: none;
    transform: scaleY(1);
  }
}
