import SwiftUI struct OnboardingView: View { @Binding var onboardingCompleted: Bool @State private var currentPage = 0 private let pages: [OnboardingPage] = [ OnboardingPage( icon: "chart.pie.fill", title: "Track Your Investments", description: "Monitor all your investment sources in one place. Stocks, bonds, real estate, crypto, and more.", color: .appPrimary ), OnboardingPage( icon: "chart.line.uptrend.xyaxis", title: "Visualize Your Growth", description: "Beautiful charts show your portfolio evolution, allocation, and performance over time.", color: .positiveGreen ), OnboardingPage( icon: "bell.badge.fill", title: "Never Miss an Update", description: "Set reminders to track your investments regularly. Monthly, quarterly, or custom schedules.", color: .appWarning ), OnboardingPage( icon: "icloud.fill", title: "Sync Everywhere", description: "Your data syncs automatically via iCloud across all your Apple devices.", color: .appSecondary ) ] var body: some View { VStack { // Pages TabView(selection: $currentPage) { ForEach(0..