@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-primary: #0F172A;
  --bg-secondary: #1E293B;
  --bg-card: rgba(30,41,59,.55);
  --accent: #F59E0B;
  --accent-hover: #FBBF24;
  --cta: #8B5CF6;
  --cta-hover: #7C3AED;
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border: rgba(148,163,184,.12);
  --glass: rgba(15,23,42,.6);
  --glass-border: rgba(248,250,252,.08);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --shadow-glow: 0 0 60px rgba(139,92,246,.15);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body.landing-body {
  font-family: var(--font) !important;
  background: var(--bg-primary) !important;
  color: var(--text-primary) !important;
  line-height: 1.6 !important;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── ADMINLTE/METRONIC OVERRIDES ── */
body.landing-body,
body.landing-body .ln-section,
body.landing-body .ln-footer,
body.landing-body .ln-hero {
  background-color: var(--bg-primary) !important;
  color: var(--text-primary) !important;
}
body.landing-body .ln-section[style*="background"] {
  background-color: var(--bg-secondary) !important;
}
body.landing-body h1,
body.landing-body h2,
body.landing-body h3,
body.landing-body h4,
body.landing-body h5 {
  color: var(--text-primary) !important;
}
body.landing-body p {
  color: var(--text-secondary) !important;
}
body.landing-body a:not(.ln-nav-cta) {
  color: inherit;
}
body.landing-body .ln-section-title {
  color: var(--text-primary) !important;
}
body.landing-body .ln-price-amount {
  color: var(--text-primary) !important;
}
body.landing-body .ln-logo-text {
  color: var(--text-primary) !important;
}
body.landing-body .ln-feature-card,
body.landing-body .ln-testimonial,
body.landing-body .ln-price-card {
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
}
body.landing-body .ln-security-bar {
  background: rgba(15,23,42,.6) !important;
}
body.landing-body .ln-final-cta {
  background: linear-gradient(160deg, rgba(139,92,246,.12), rgba(245,158,11,.08), var(--bg-card)) !important;
}
body.landing-body .ln-footer {
  background: var(--bg-primary) !important;
}
body.landing-body .ln-footer h4 {
  color: var(--text-primary) !important;
}
body.landing-body .card,
body.landing-body .app-blank {
  background: transparent !important;
}

/* ── NAV ── */
.ln-nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 16px 0;
  background: rgba(15,23,42,.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all .3s ease;
}
.ln-nav.scrolled { padding: 10px 0; background: rgba(15,23,42,.92); }
.ln-nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.ln-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.ln-logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--cta), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; color: #fff;
}
.ln-logo-text { font-size: 18px; font-weight: 700; color: var(--text-primary); }
.ln-logo-text span { color: var(--accent); }

.ln-nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.ln-nav-links a {
  color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color .2s;
}
.ln-nav-links a:hover { color: var(--text-primary); }
.ln-nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px; border-radius: 10px; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: all .25s ease; cursor: pointer; border: none;
}
.ln-btn-primary { background: var(--cta); color: #fff; }
.ln-btn-primary:hover { background: var(--cta-hover); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(139,92,246,.35); }
.ln-btn-outline { background: transparent; color: var(--text-primary); border: 1px solid var(--border); }
.ln-btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.ln-btn-accent { background: var(--accent); color: var(--bg-primary); }
.ln-btn-accent:hover { background: var(--accent-hover); transform: translateY(-1px); }
.ln-btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 12px; }

.ln-mobile-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 24px; cursor: pointer; }

/* ── HERO ── */
.ln-hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 120px 24px 80px; overflow: hidden;
}
.ln-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(139,92,246,.18), transparent),
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(245,158,11,.1), transparent),
    var(--bg-primary);
}
.ln-hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(248,250,252,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248,250,252,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
}
.ln-hero-inner {
  position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.ln-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 500;
  background: rgba(139,92,246,.12); color: var(--cta); border: 1px solid rgba(139,92,246,.2);
  margin-bottom: 24px; width: fit-content;
}
.ln-hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cta); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.ln-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.1; margin-bottom: 20px; letter-spacing: -.02em; }
.ln-hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--cta));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.ln-hero-desc { font-size: 18px; color: var(--text-secondary); margin-bottom: 36px; max-width: 500px; line-height: 1.7; }
.ln-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.ln-hero-stats { display: flex; gap: 40px; }
.ln-hero-stat { text-align: left; }
.ln-hero-stat-value { font-size: 28px; font-weight: 800; color: var(--accent); }
.ln-hero-stat-label { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* Hero Visual */
.ln-hero-visual { position: relative; display: flex; justify-content: center; }
.ln-hero-mockup {
  position: relative;
  width: 100%; max-width: 480px;
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  padding: 28px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glow);
}
.ln-mockup-header { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.ln-mockup-dots { display: flex; gap: 6px; }
.ln-mockup-dots span { width: 10px; height: 10px; border-radius: 50%; }
.ln-mockup-dots span:nth-child(1) { background: #EF4444; }
.ln-mockup-dots span:nth-child(2) { background: #F59E0B; }
.ln-mockup-dots span:nth-child(3) { background: #22C55E; }
.ln-mockup-title { font-size: 13px; color: var(--text-muted); margin-left: auto; }

.ln-mockup-item {
  display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 12px;
  background: rgba(15,23,42,.5); border: 1px solid var(--glass-border);
  margin-bottom: 10px; transition: transform .2s, border-color .2s;
}
.ln-mockup-item:hover { transform: translateX(4px); border-color: rgba(139,92,246,.3); }
.ln-mockup-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.ln-mockup-icon.purple { background: rgba(139,92,246,.15); color: var(--cta); }
.ln-mockup-icon.amber { background: rgba(245,158,11,.15); color: var(--accent); }
.ln-mockup-icon.green { background: rgba(34,197,94,.15); color: #22C55E; }
.ln-mockup-icon.blue { background: rgba(59,130,246,.15); color: #3B82F6; }
.ln-mockup-item-info { flex: 1; min-width: 0; }
.ln-mockup-item-name { font-size: 14px; font-weight: 600; }
.ln-mockup-item-sub { font-size: 12px; color: var(--text-muted); }
.ln-mockup-item-badge {
  padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 600;
  background: rgba(34,197,94,.12); color: #22C55E; white-space: nowrap;
}

.ln-hero-float {
  position: absolute; padding: 12px 18px; border-radius: 12px;
  background: var(--bg-card); border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px); font-size: 13px; font-weight: 500;
  display: flex; align-items: center; gap: 8px;
  animation: float-y 6s ease-in-out infinite;
}
.ln-hero-float.top-right { top: -10px; right: -20px; }
.ln-hero-float.bottom-left { bottom: 20px; left: -30px; }
@keyframes float-y { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ── SECTION SHARED ── */
.ln-section { padding: 100px 24px; position: relative; }
.ln-section-inner { max-width: 1200px; margin: 0 auto; }
.ln-section-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.ln-section-label {
  display: inline-block; font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--cta); margin-bottom: 12px;
}
.ln-section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; margin-bottom: 16px; line-height: 1.15; }
.ln-section-subtitle { font-size: 16px; color: var(--text-secondary); line-height: 1.7; }

/* ── FEATURES ── */
.ln-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ln-feature-card {
  padding: 32px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--glass-border);
  transition: all .3s ease; position: relative; overflow: hidden;
}
.ln-feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--cta), transparent);
  opacity: 0; transition: opacity .3s;
}
.ln-feature-card:hover { transform: translateY(-4px); border-color: rgba(139,92,246,.2); }
.ln-feature-card:hover::before { opacity: 1; }
.ln-feature-icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.ln-feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.ln-feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ── HOW IT WORKS ── */
.ln-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.ln-steps::before {
  content: ''; position: absolute; top: 40px; left: 15%; right: 15%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cta), var(--accent), transparent);
  opacity: .3;
}
.ln-step { text-align: center; position: relative; z-index: 1; }
.ln-step-num {
  width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--cta), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: #fff;
}
.ln-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.ln-step p { font-size: 14px; color: var(--text-secondary); max-width: 280px; margin: 0 auto; }

/* ── DUAL PRODUCT ── */
.ln-dual { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.ln-dual-card {
  padding: 40px; border-radius: 20px; position: relative; overflow: hidden;
  border: 1px solid var(--glass-border); transition: all .3s;
}
.ln-dual-card:hover { transform: translateY(-4px); }
.ln-dual-card.vault { background: linear-gradient(160deg, rgba(139,92,246,.1), var(--bg-card)); }
.ln-dual-card.finance { background: linear-gradient(160deg, rgba(245,158,11,.1), var(--bg-card)); }
.ln-dual-card-icon { font-size: 40px; margin-bottom: 20px; }
.ln-dual-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.ln-dual-card p { font-size: 15px; color: var(--text-secondary); margin-bottom: 24px; line-height: 1.7; }
.ln-dual-list { list-style: none; }
.ln-dual-list li {
  display: flex; align-items: center; gap: 10px; padding: 8px 0;
  font-size: 14px; color: var(--text-secondary);
}
.ln-dual-list li::before {
  content: '✓'; width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.vault .ln-dual-list li::before { background: rgba(139,92,246,.15); color: var(--cta); }
.finance .ln-dual-list li::before { background: rgba(245,158,11,.15); color: var(--accent); }

/* ── PRICING ── */
.ln-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ln-price-card {
  padding: 36px; border-radius: var(--radius); background: var(--bg-card);
  border: 1px solid var(--glass-border); text-align: center; transition: all .3s;
  position: relative;
}
.ln-price-card.popular {
  border-color: var(--cta); background: linear-gradient(160deg, rgba(139,92,246,.08), var(--bg-card));
}
.ln-price-card.popular::after {
  content: 'Popular'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px; border-radius: 50px; font-size: 12px; font-weight: 700;
  background: var(--cta); color: #fff;
}
.ln-price-card:hover { transform: translateY(-4px); }
.ln-price-name { font-size: 16px; font-weight: 600; color: var(--text-secondary); margin-bottom: 12px; }
.ln-price-amount { font-size: 42px; font-weight: 800; margin-bottom: 4px; }
.ln-price-amount span { font-size: 16px; font-weight: 400; color: var(--text-muted); }
.ln-price-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; }
.ln-price-features { list-style: none; text-align: left; margin-bottom: 32px; }
.ln-price-features li { padding: 8px 0; font-size: 14px; color: var(--text-secondary); display: flex; align-items: center; gap: 8px; }
.ln-price-features li::before { content: '✓'; color: var(--accent); font-weight: 700; font-size: 13px; }

/* ── TESTIMONIALS ── */
.ln-testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ln-testimonial {
  padding: 32px; border-radius: var(--radius); background: var(--bg-card);
  border: 1px solid var(--glass-border);
}
.ln-testimonial-stars { color: var(--accent); font-size: 14px; margin-bottom: 16px; letter-spacing: 2px; }
.ln-testimonial p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.ln-testimonial-author { display: flex; align-items: center; gap: 12px; }
.ln-testimonial-avatar {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--cta), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; color: #fff;
}
.ln-testimonial-name { font-size: 14px; font-weight: 600; }
.ln-testimonial-role { font-size: 12px; color: var(--text-muted); }

/* ── CTA FINAL ── */
.ln-final-cta {
  text-align: center; padding: 80px 40px; border-radius: 24px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(139,92,246,.12), rgba(245,158,11,.08), var(--bg-card));
  border: 1px solid var(--glass-border);
}
.ln-final-cta h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 16px; }
.ln-final-cta p { font-size: 16px; color: var(--text-secondary); margin-bottom: 32px; max-width: 500px; margin-inline: auto; }
.ln-final-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
.ln-footer {
  padding: 60px 24px 30px; border-top: 1px solid var(--glass-border);
  margin-top: 40px;
}
.ln-footer-inner { max-width: 1200px; margin: 0 auto; }
.ln-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.ln-footer-brand p { font-size: 14px; color: var(--text-muted); margin-top: 12px; line-height: 1.7; max-width: 280px; }
.ln-footer h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em; }
.ln-footer-links { list-style: none; }
.ln-footer-links li { margin-bottom: 10px; }
.ln-footer-links a { font-size: 14px; color: var(--text-muted); text-decoration: none; transition: color .2s; }
.ln-footer-links a:hover { color: var(--text-primary); }
.ln-footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--glass-border); }
.ln-footer-bottom p { font-size: 13px; color: var(--text-muted); }

/* ── SECURITY BANNER ── */
.ln-security-bar {
  display: flex; justify-content: center; gap: 40px; padding: 20px; flex-wrap: wrap;
  background: rgba(15,23,42,.4); border-radius: 16px; margin-top: 60px;
  border: 1px solid var(--glass-border);
}
.ln-security-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.ln-security-item svg { width: 18px; height: 18px; color: var(--accent); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .ln-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .ln-hero-desc { margin-inline: auto; }
  .ln-hero-actions { justify-content: center; }
  .ln-hero-stats { justify-content: center; }
  .ln-hero-visual { margin-top: 40px; }
  .ln-hero-float { display: none; }
  .ln-features-grid, .ln-pricing-grid, .ln-testimonials-grid { grid-template-columns: 1fr 1fr; }
  .ln-dual { grid-template-columns: 1fr; }
  .ln-steps { grid-template-columns: 1fr; gap: 32px; }
  .ln-steps::before { display: none; }
  .ln-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .ln-nav-links { display: none; }
  .ln-mobile-toggle { display: block; }
  .ln-features-grid, .ln-pricing-grid, .ln-testimonials-grid { grid-template-columns: 1fr; }
  .ln-footer-grid { grid-template-columns: 1fr; }
  .ln-hero-stats { flex-direction: column; gap: 16px; }
  .ln-security-bar { gap: 20px; }
}

/* ── ANIMATIONS ── */
@media (prefers-reduced-motion: no-preference) {
  .ln-animate { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
  .ln-animate.visible { opacity: 1; transform: translateY(0); }
  .ln-animate.delay-1 { transition-delay: .1s; }
  .ln-animate.delay-2 { transition-delay: .2s; }
  .ln-animate.delay-3 { transition-delay: .3s; }
}
