/* ==========================================================================
   FrankPass PRO - Luxury Developer-Grade Modern Aesthetic CSS (v1789185778)
   Theme Support: Day (Slate-50) & Night (Slate-950) with Glassmorphism
   WCAG 2.1 AA Compliant | Zero Hardcoded Breaking Colors
   ========================================================================== */

:root, [data-theme="dark"] {
  --fp-bg: #020617; /* slate-950 */
  --fp-surface: rgba(15, 23, 42, 0.75); /* slate-900 / 75 */
  --fp-surface-solid: #0f172a;
  --fp-card-bg: rgba(30, 41, 59, 0.45); /* slate-800 / 45 */
  --fp-card-hover: rgba(30, 41, 59, 0.75);
  --fp-border: rgba(51, 65, 85, 0.6); /* slate-700 / 60 */
  --fp-border-subtle: rgba(51, 65, 85, 0.35);
  --fp-text-main: #f8fafc; /* slate-50 */
  --fp-text-muted: #94a3b8; /* slate-400 */
  --fp-text-dim: #64748b; /* slate-500 */
  --fp-accent: #3b82f6; /* blue-500 */
  --fp-accent-indigo: #6366f1; /* indigo-500 */
  --fp-accent-emerald: #10b981; /* emerald-500 */
  --fp-accent-glow: rgba(59, 130, 246, 0.25);
  --fp-pill-bg: rgba(59, 130, 246, 0.12);
  --fp-pill-border: rgba(59, 130, 246, 0.3);
  --fp-glass-blur: blur(16px);
  --fp-shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --fp-shadow-glow: 0 0 25px rgba(59, 130, 246, 0.35);
}

[data-theme="light"] {
  --fp-bg: #f8fafc; /* slate-50 */
  --fp-surface: rgba(255, 255, 255, 0.95);
  --fp-surface-solid: #ffffff;
  --fp-card-bg: #ffffff;
  --fp-card-hover: #ffffff;
  --fp-border: #e2e8f0; /* slate-200 */
  --fp-border-subtle: #f1f5f9; /* slate-100 */
  --fp-text-main: #0f172a; /* slate-900 */
  --fp-text-muted: #475569; /* slate-600 */
  --fp-text-dim: #94a3b8; /* slate-400 */
  --fp-accent: #2563eb; /* blue-600 */
  --fp-accent-indigo: #4f46e5;
  --fp-accent-emerald: #059669;
  --fp-accent-glow: rgba(37, 99, 235, 0.12);
  --fp-pill-bg: rgba(37, 99, 235, 0.08);
  --fp-pill-border: rgba(37, 99, 235, 0.2);
  --fp-glass-blur: blur(16px);
  --fp-shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
  --fp-shadow-glow: 0 0 25px rgba(37, 99, 235, 0.15);
}

body.landing-page-body {
  background-color: var(--fp-bg);
  color: var(--fp-text-main);
  font-family: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Typography Utilities */
.fp-tracking-tight {
  letter-spacing: -0.035em;
}
.fp-leading-snug {
  line-height: 1.18;
}

/* Glassmorphism Card Utility */
.fp-glass-card {
  background: var(--fp-card-bg);
  backdrop-filter: var(--fp-glass-blur);
  -webkit-backdrop-filter: var(--fp-glass-blur);
  border: 1px solid var(--fp-border);
  border-radius: 18px;
  box-shadow: var(--fp-shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.fp-glass-card:hover {
  border-color: var(--fp-accent);
  transform: translateY(-2px);
}

/* Pill Badge Utility */
.fp-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--fp-pill-bg);
  border: 1px solid var(--fp-pill-border);
  color: var(--fp-accent);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Buttons */
.fp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--fp-accent) 0%, var(--fp-accent-indigo) 100%);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.9rem 1.85rem;
  border-radius: 12px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35);
  transition: all 0.2s ease;
}
.fp-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.45);
}

.fp-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--fp-surface);
  backdrop-filter: var(--fp-glass-blur);
  color: var(--fp-text-main) !important;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.9rem 1.75rem;
  border-radius: 12px;
  border: 1px solid var(--fp-border);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.fp-btn-secondary:hover {
  border-color: var(--fp-accent);
  background: var(--fp-card-hover);
}

/* Floating Controls Guard */
.desktop-floating-dock {
  position: fixed !important;
  bottom: 28px !important;
  right: 28px !important;
  z-index: 9990 !important;
  display: none;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 900px) {
  .desktop-floating-dock {
    display: flex !important;
  }
}

.landing-mobile-bar {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background: var(--fp-surface);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--fp-border);
  padding: 10px 16px env(safe-area-inset-bottom, 10px);
  display: flex;
  gap: 12px;
  box-sizing: border-box;
}
@media (min-width: 900px) {
  .landing-mobile-bar {
    display: none !important;
  }
}
