//
//  ProFeature.swift
//  SportsTime
//
//  Defines features gated behind Pro subscription.
//

import Foundation

enum ProFeature: String, CaseIterable, Identifiable {
    case unlimitedTrips
    case pdfExport
    case progressTracking

    var id: String { rawValue }

    var displayName: String {
        switch self {
        case .unlimitedTrips: return "Unlimited Trips"
        case .pdfExport: return "PDF Export"
        case .progressTracking: return "Progress Tracking"
        }
    }

    var description: String {
        switch self {
        case .unlimitedTrips:
            return "Save unlimited trips and never lose your itineraries."
        case .pdfExport:
            return "Export beautiful PDF itineraries to share with friends."
        case .progressTracking:
            return "Track stadium visits, earn badges, complete your bucket list."
        }
    }

    var icon: String {
        switch self {
        case .unlimitedTrips: return "suitcase.fill"
        case .pdfExport: return "doc.fill"
        case .progressTracking: return "trophy.fill"
        }
    }
}
