DATABASE_URL="postgresql://shieldai:shieldai_dev@localhost:5432/shieldai"
REDIS_URL="redis://localhost:6379"
PORT=3000
LOG_LEVEL=info
HIBP_API_KEY=""
RESEND_API_KEY=""
AWS_REGION="us-east-1"

# Datadog APM Configuration
DD_SERVICE="shieldai-api"
DD_ENV="development"
DD_VERSION="0.1.0"
DD_TRACE_ENABLED="true"
DD_TRACE_SAMPLE_RATE="1.0"
DD_LOGS_INJECTION="true"
DD_AGENT_HOST="localhost"
DD_AGENT_PORT="8126"
DD_API_KEY=""
DD_SITE="datadoghq.com"

# Sentry Error Tracking
SENTRY_DSN=""
SENTRY_ENVIRONMENT="development"
SENTRY_RELEASE="0.1.0"
SENTRY_TRACES_SAMPLE_RATE="0.1"

# Google Analytics 4
GA4_MEASUREMENT_ID=""
GA4_API_SECRET=""

# Mixpanel Product Analytics
MIXPANEL_TOKEN=""
MIXPANEL_API_SECRET=""
ANALYTICS_ENV="development"

# ============================================
# Push Notifications Configuration
# ============================================

# Firebase Cloud Messaging (FCM) - Android
FCM_PROJECT_ID=""
FCM_CLIENT_EMAIL=""
FCM_PRIVATE_KEY=""

# Apple Push Notification Service (APNs) - iOS
APNS_KEY_ID=""
APNS_TEAM_ID=""
APNS_BUNDLE_ID=""
APNS_KEY=""

# Twilio - SMS (optional)
TWILIO_ACCOUNT_SID=""
TWILIO_AUTH_TOKEN=""
TWILIO_MESSAGING_SERVICE_SID=""

# Notification Rate Limits
PUSH_RATE_LIMIT=100
EMAIL_RATE_LIMIT=60
SMS_RATE_LIMIT=30
RATE_LIMIT_WINDOW_SECONDS=60

# Frontend Environment Variables (Vite)
# Add these to packages/web/.env or your frontend .env files:
# VITE_MIXPANEL_TOKEN=<same-as-backend-token>
# VITE_GA_MEASUREMENT_ID=<same-as-backend-id>
# VITE_META_PIXEL_ID=""
# VITE_LINKEDIN_PARTNER_ID=""
