/* === FinTrack Pro - Landing Styles === */

/* --- TOKENS --- */
:root {
  --lp-bg: #0f172a;
  --lp-accent: #16a34a;
  --lp-text: #f8fafc;
  --lp-muted: #94a3b8;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.15);
}

/* --- RESET --- */
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(circle at top right, #064e3b, #0f172a 50%);
  color: var(--lp-text);
  min-height: 100vh;
  padding: 0;
  overflow-x: hidden;
}
button { background: none; border: none; cursor: pointer; font-family: inherit; color: inherit; }
a { text-decoration: none; color: inherit; }

/* --- PWA BANNER --- */
.mobile-install-banner {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #1e293b;
  border-bottom: 1px solid #334155;
  padding: 12px 16px;
  z-index: 1000;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.banner-icon { width: 40px; height: 40px; background: rgba(22, 163, 74, 0.15); color: #16a34a; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.banner-content { flex: 1; }
.banner-title { font-size: 14px; font-weight: 700; color: #f8fafc; margin-bottom: 2px; }
.banner-desc { font-size: 11px; color: #94a3b8; }
.banner-actions { display: flex; gap: 8px; }
.btn-banner-close { color: #64748b; padding: 4px; }
.btn-banner-install { background: #16a34a; color: white; padding: 6px 12px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; }
@media (max-width: 768px) { .mobile-install-banner.active { display: flex; } }

/* --- LANDING UI --- */
.lp-nav { padding: 24px; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: bold; font-size: 20px; color: var(--lp-accent); }
.lp-hero { max-width: 1200px; margin: 60px auto 20px auto; padding: 0 24px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.lp-badge { background: rgba(22, 163, 74, 0.1); color: #4ade80; padding: 8px 16px; border-radius: var(--radius-full); font-size: 14px; font-weight: 600; border: 1px solid rgba(22, 163, 74, 0.2); margin-bottom: 24px; display: inline-block; }
.lp-title { font-size: clamp(40px, 8vw, 72px); font-weight: 800; line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.02em; }
.lp-title span { background: linear-gradient(to right, #4ade80, #16a34a); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.lp-subtitle { font-size: clamp(18px, 4vw, 20px); color: var(--lp-muted); max-width: 600px; margin-bottom: 40px; line-height: 1.6; }
.lp-cta-group { display: flex; gap: 16px; }
.lp-btn { padding: 12px 28px; border-radius: var(--radius-md); font-weight: 700; font-size: 15px; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; }
.lp-btn-primary { background: linear-gradient(135deg, #16a34a 0%, #15803d 100%); color: white !important; box-shadow: 0 4px 15px rgba(22, 163, 74, 0.3); }
.lp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(22, 163, 74, 0.4); filter: brightness(1.1); }
.lp-btn-primary.lg { padding: 16px 40px; font-size: 18px; }
.lp-features { padding: 40px 24px; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.lp-feature-card { padding: 32px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: var(--radius-lg); backdrop-filter: blur(8px); transition: transform 0.2s; }
.lp-feature-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.05); border-color: rgba(22, 163, 74, 0.3); }
.lp-feature-icon { width: 48px; height: 48px; background: rgba(22, 163, 74, 0.15); color: var(--lp-accent); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.lp-feature-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.lp-feature-desc { color: var(--lp-muted); line-height: 1.6; }

@media (max-width: 640px) {
  .lp-cta-group { flex-direction: column; width: 100%; }
  .lp-btn { width: 100%; }
}
