import type { ProductPage, ProductPageCustomSection } from "@/lib/db/schema";

/**
 * Default content for each product landing page — the text/image set that
 * lives in source today. Used as the seed for the product_pages table and as
 * a render-time fallback when a product row has an empty field.
 */
export type ProductPageDefaults = Omit<ProductPage, "updatedAt" | "updatedBy">;

const emptyCustomSections: ProductPageCustomSection[] = [];

const atlas: ProductPageDefaults = {
  slug: "atlas",
  heroEyebrow: "Orthopaedic Atlas · Live",
  heroTitle: "Orthopaedic Atlas",
  heroTagline: "7 body regions · 36 conditions · surgeon-reviewed",
  heroDescription:
    "An orthopaedic atlas of body regions and conditions — overview, epidemiology, imaging, classification, management, and outcomes, reviewed by practising surgeons.",
  heroImagePath: "/photos/global-health/banaadir-hospital-1.jpg",
  heroImageAlt:
    "Clinical team at Banaadir Hospital — a site in the OrthoGlobe Atlas network",
  heroPrimaryCtaLabel: "Explore the Atlas",
  heroPrimaryCtaHref: "/products/atlas/regions",
  heroSecondaryCtaLabel: "Join OrthoGlobe",
  heroSecondaryCtaHref: "/join",
  accessRailTagline:
    "The Atlas is open to everyone — members get linked studies, saved bookmarks, and multicentre outcome data.",
  accessRailMembersOnly: false,
  accessTiles: [
    { href: "/products/atlas/regions", label: "Regions", description: "Browse 7 anatomical regions.", iconName: "MapPinned" },
    { href: "/products/atlas/conditions", label: "Conditions", description: "36 surgeon-reviewed entries.", iconName: "Layers" },
    { href: "/clinical", label: "Workforce", description: "Density by country & training.", iconName: "Stethoscope" },
    { href: "/studies", label: "Linked studies", description: "PubMed evidence by region.", iconName: "BookOpen" },
  ],
  sectionEyebrow: "What it shows",
  sectionHeading: "A 28-fold gap in orthopaedic capacity, on a single map.",
  sectionBody:
    "The Global Orthopaedic Atlas visualises surgeon density, training programs, and resource availability country by country — turning scattered workforce data into a clear, evidence-led picture of where orthopaedic care is concentrated and where it is missing.",
  showcaseImagePath: "/photos/surgery/orif-surgery.jpg",
  showcaseImageAlt:
    "Orthopaedic surgical team performing an open reduction internal fixation procedure",
  showcaseEyebrow: "Global Orthopaedic Atlas",
  showcaseCaption:
    "Mapping every surgeon, every training centre, every country.",
  features: [
    { title: "Surgeon density by country", body: "An interactive map of orthopaedic surgeons per 100,000 population across 30+ tracked countries, from Switzerland at 4.2 down to Afghanistan at 0.02.", iconName: "MapPinned" },
    { title: "Capacity categories", body: "Every country is classified from High Capacity (>=2.0 per 100k) through Upper-Middle, Lower-Middle, and Critical Shortage (<0.1 per 100k) so gaps are visible at a glance.", iconName: "BarChart3" },
    { title: "Training program registry", body: "Residency sites, fellowships, and regional training hubs — from Mayo Clinic and the Royal National Orthopaedic Hospital to COSECSA and AIIMS Delhi.", iconName: "GraduationCap" },
    { title: "Country detail panels", body: "Click into any country for surgeon headcount, number of training programs, density metrics, and the collaborative context behind the number.", iconName: "Target" },
    { title: "Transparent methodology", body: "WHO workforce statistics, national medical council registries, peer-reviewed literature, and OrthoGlobe network ground-truthing — every source documented and versioned.", iconName: "FileText" },
    { title: "Advocacy-ready", body: "Built to make the case — high-income countries average 2.8 surgeons per 100k, low-income nations less than 0.1. A 28-fold gap, on a single screen.", iconName: "TrendingUp" },
  ],
  audienceHeading: "Built for everyone closing the global orthopaedic gap.",
  audienceBody: "",
  audiences: [
    { title: "Global surgery advocates", body: "Hard numbers behind the case for investment in orthopaedic capacity, training, and workforce development." },
    { title: "Training program leads", body: "A shared view of where residencies, fellowships, and regional hubs already exist — and where they do not." },
    { title: "Researchers & policymakers", body: "Country-level workforce data with transparent sources and a documented, peer-reviewed methodology." },
  ],
  faqs: [
    { question: "What exactly does the Atlas map?", answer: "Orthopaedic surgical capacity country by country — surgeon density per 100,000 population, number of training programs, and notable training centers. The first edition tracks 30+ countries ranging from 4.2 surgeons per 100k (Switzerland) down to 0.02 (Afghanistan)." },
    { question: "Where does the data come from?", answer: "WHO Global Health Workforce Statistics, national medical council registries (GMC, ABOS, and equivalents), published literature indexed in PubMed, Embase and WHO Global Index Medicus, professional society data, and ground-truth verification by the OrthoGlobe collaborative network." },
    { question: "How are capacity categories defined?", answer: "Four bands: High Capacity (>=2.0 surgeons per 100k), Upper-Middle (0.5-2.0), Lower-Middle (0.1-0.5), and Critical Shortage (<0.1). Thresholds are derived from the published distribution and reviewed against SICOT, ISAKOS, and WHO Global Surgery Unit benchmarks." },
    { question: "Is the methodology peer-reviewed?", answer: "Yes. The analytical framework is documented in a full methodology paper covering numerator and denominator definitions, cross-source validation, expert ground-truthing, temporal standardisation, and a quality score for every country entry." },
    { question: "Will it be free?", answer: "Yes. The Atlas is open-access — built as a shared advocacy and research resource for the global orthopaedic community, not a paywalled product." },
  ],
  ctaTitle: "Explore the Atlas today.",
  ctaBody:
    "Browse the full regional map now. Vetted OrthoGlobe members can contribute country-level corrections and help shape which metrics we map next.",
  ctaPrimaryLabel: "Browse regions",
  ctaPrimaryHref: "/products/atlas/regions",
  ctaSecondaryLabel: "Join OrthoGlobe",
  ctaSecondaryHref: "/join",
  customSections: emptyCustomSections,
};

const consentiq: ProductPageDefaults = {
  slug: "consentiq",
  heroEyebrow: "ConsentIQ · Live",
  heroTitle: "ConsentIQ",
  heroTagline: "16 procedures · 321-leaflet consent library",
  heroDescription:
    "A procedure-aware surgical consent builder backed by a 321-leaflet library with genuine clinical risk/benefit/alternative/recovery content, printable draft documents, and option steps.",
  heroImagePath: "/photos/consent/doctor-talking-patient.jpg",
  heroImageAlt: "Clinician and patient discussing informed consent",
  heroPrimaryCtaLabel: "Explore procedures",
  heroPrimaryCtaHref: "/products/consentiq/library",
  heroSecondaryCtaLabel: "Join OrthoGlobe",
  heroSecondaryCtaHref: "/join",
  accessRailTagline:
    "Procedure-aware consent builder with a 321-leaflet library. Members get saving, PDF export, and hospital-letterhead customisation.",
  accessRailMembersOnly: false,
  accessTiles: [
    { href: "/products/consentiq/procedures", label: "Procedures", description: "16 surgical pathways.", iconName: "BookOpenCheck" },
    { href: "/products/consentiq/library", label: "Library", description: "321 consent leaflets.", iconName: "Library" },
    { href: "/products/consentiq/templates", label: "Templates", description: "Section-by-section anatomy.", iconName: "FileText" },
    { href: "/products/consentiq/builder/total-knee-replacement", label: "Builder", description: "Procedure-aware wizard.", iconName: "Wand2" },
  ],
  sectionEyebrow: "Consent done properly",
  sectionHeading: "321 evidence-based orthopaedic consent leaflets.",
  sectionBody:
    "Existing orthopaedic consent resources are outdated, inconsistent, and written for lawyers rather than patients. ConsentIQ is the replacement — a clinician-reviewed library of plain-language leaflets, built on NHS patient information and peer-reviewed complication data, that patients can actually understand.",
  showcaseImagePath: "/photos/consent/doctor-talking-patient.jpg",
  showcaseImageAlt:
    "Doctor in conversation with a patient during an informed consent discussion",
  showcaseEyebrow: "ConsentIQ",
  showcaseCaption: "Written for the patient in the room, not the lawyer in the drawer.",
  features: [
    { title: "321 procedure leaflets", body: "A full library of clinician-reviewed patient consent leaflets covering every major orthopaedic subspecialty — from arthroscopy to complex reconstruction, paediatric to tumour surgery.", iconName: "FileText" },
    { title: "13 body regions", body: "Leaflets are organised across 13 anatomical regions and subspecialties so patients and clinicians can find the right form in seconds, not minutes.", iconName: "Layers" },
    { title: "Standardised 12-section template", body: "Every leaflet follows the same structure: what the procedure involves, why it may be recommended, non-operative alternatives, risks with contextualised frequencies, anaesthetic, recovery, warning signs, and FAQs.", iconName: "ListChecks" },
    { title: "Plain-language, patient-first", body: "Written at a reading level patients actually understand — replacing the legalistic, anxiety-inducing leaflets that leave people less informed, not more.", iconName: "MessageSquare" },
    { title: "PubMed-cited complication rates", body: "Every risk is cross-referenced with published complication rates from peer-reviewed literature and PubMed systematic reviews — not anecdote, not template boilerplate.", iconName: "ShieldCheck" },
    { title: "Transparent methodology", body: "Built through systematic review of NHS patient information leaflets from leading UK orthopaedic centres, with a published methodology and data sources page you can audit.", iconName: "BookMarked" },
  ],
  audienceHeading:
    "For the patient who signs, and the surgeon who explains.",
  audienceBody: "",
  audiences: [
    { title: "Patients", body: "A consent leaflet you can read before the clinic visit and bring back with informed questions — not a form you sign in a hurry." },
    { title: "Consultants & trainees", body: "A consistent, evidence-backed reference for the risks, benefits, and alternatives you are expected to discuss for every procedure." },
    { title: "Governance & risk leads", body: "A versioned, citable library with a documented methodology — useful when consent quality is questioned or audited." },
  ],
  faqs: [
    { question: "How many procedures does ConsentIQ cover?", answer: "321 orthopaedic procedures at launch, organised across 13 body regions and subspecialties — every major area of orthopaedic surgery is represented in the 2026 edition." },
    { question: "How were the leaflets built?", answer: "Through systematic review of NHS patient information leaflets from leading UK orthopaedic centres, cross-referenced with published complication rates from peer-reviewed literature and PubMed systematic reviews. Every leaflet is then reviewed by practising orthopaedic surgeons before release." },
    { question: "What is in each leaflet?", answer: "A rigorous, standardised 12-section template: what the procedure involves, why it may be recommended, non-operative alternatives, risks with contextualised frequencies, anaesthetic considerations, recovery timeline, warning signs to watch for, and FAQs written for patients." },
    { question: "Is this a medical device or a legal document?", answer: "Neither. ConsentIQ is educational information to support the consent discussion between a patient and their treating surgeon — not a substitute for it. No liability is accepted for clinical decisions; those remain with the treating clinician." },
    { question: "Can I adapt a leaflet for my institution?", answer: "Yes. Leaflets are downloadable and designed to be adapted — you can add institutional branding, local pathways, and any mandatory clauses before printing. Attribution to ConsentIQ / OrthoGlobe must be preserved." },
    { question: "Will it be free for members?", answer: "Vetted OrthoGlobe members get full access as part of membership. The library itself is open so patients can find and read their leaflet before surgery, the way consent information should work." },
  ],
  ctaTitle: "Open the leaflet library.",
  ctaBody:
    "Browse ConsentIQ procedures now. Vetted OrthoGlobe members get full access and a voice in which procedures we expand next.",
  ctaPrimaryLabel: "Browse procedures",
  ctaPrimaryHref: "/products/consentiq/library",
  ctaSecondaryLabel: "Join OrthoGlobe",
  ctaSecondaryHref: "/join",
  customSections: emptyCustomSections,
};

const orthoprep: ProductPageDefaults = {
  slug: "orthoprep",
  heroEyebrow: "OrthoPrep · Live",
  heroTitle: "OrthoPrep",
  heroTagline: "1,575 FRCS-style SBAs across basic sciences and clinical sub-specialties",
  heroDescription:
    "A vetted FRCS-aligned SBA question bank with 1,575 Single Best Answer questions across 22 parts and 468 chapters — covering orthopaedic basic sciences, trauma, paediatrics, upper and lower limb, spine, and more, with full surgeon-written explanations and an interactive quiz mode.",
  heroImagePath: "/photos/imaging/hip-replacement-xray.jpg",
  heroImageAlt:
    "Post-operative hip replacement X-ray — the style of clinical imaging covered in the OrthoPrep question bank",
  heroPrimaryCtaLabel: "Start a quiz",
  heroPrimaryCtaHref: "/products/orthoprep/quiz",
  heroSecondaryCtaLabel: "Join OrthoGlobe",
  heroSecondaryCtaHref: "/join",
  accessRailTagline:
    "1,575 FRCS-style SBAs. Members get the interactive quiz mode, progress history, and topic-mastery stats.",
  accessRailMembersOnly: false,
  accessTiles: [
    { href: "/products/orthoprep/question-bank", label: "Question bank", description: "1,575 SBAs across 22 parts.", iconName: "BookOpenCheck" },
    { href: "/products/orthoprep/quiz", label: "Quiz mode", description: "Timed & mixed sessions.", iconName: "ListChecks" },
    { href: "/products/orthoprep/stats", label: "Your stats", description: "Accuracy & topic mastery.", iconName: "BarChart3" },
    { href: "/products/orthoprep/quiz/history", label: "History", description: "Past sessions & reviews.", iconName: "History" },
  ],
  sectionEyebrow: "Board-exam focused",
  sectionHeading: "Train on exam-calibrated questions, not internet lists.",
  sectionBody:
    "OrthoPrep is a surgeon-written 1,575-question SBA bank with a spaced-repetition engine, topic mastery tracking, and timed mock exams — built for candidates who want to walk in on exam day prepared, not just revised.",
  showcaseImagePath: "/photos/imaging/spine-lumbar-lateral-xray.jpg",
  showcaseImageAlt:
    "Lateral lumbar spine X-ray — typical clinical imaging reviewed in FRCS revision",
  showcaseEyebrow: "OrthoPrep · 1,575 SBAs",
  showcaseCaption: "Revision calibrated to how examiners actually ask questions.",
  features: [
    { title: "Vetted question bank", body: "A large bank of board-style questions covering FRCS, EBOT, and equivalent orthopaedic exams — every item reviewed by senior surgeons.", iconName: "BookOpenCheck" },
    { title: "Spaced-repetition engine", body: "An SRS scheduler shows you the questions you are most likely to forget, when you are most likely to forget them.", iconName: "History" },
    { title: "Topic mastery tracking", body: "Break your performance down by sub-specialty and topic so you can target weak areas instead of guessing at them.", iconName: "BarChart3" },
    { title: "Timed mock exams", body: "Full-length timed mocks mirror the pressure of the real paper so you arrive on exam day with a trained clock, not just trained answers.", iconName: "Timer" },
    { title: "Worked explanations", body: "Every question has a full explanation linked to the underlying evidence and classification system, not just a one-line answer key.", iconName: "MessageSquare" },
    { title: "Built by Prof. Mohamed A. Imam", body: "OrthoPrep is led by Prof. Mohamed A. Imam and a senior faculty of examiners — the people whose feedback you would want anyway.", iconName: "ShieldCheck" },
  ],
  audienceHeading: "Built for candidates who plan to pass first time.",
  audienceBody: "",
  audiences: [
    { title: "FRCS candidates", body: "The intensive run-up to the FRCS (Tr & Orth) exam — calibrated to how examiners actually ask questions." },
    { title: "EBOT candidates", body: "European board-style questions and mocks for candidates preparing for EBOT and equivalent pan-European exams." },
    { title: "International trainees", body: "Trainees in any system who want world-class, surgeon-reviewed revision material for orthopaedic board preparation." },
  ],
  faqs: [
    { question: "Which exams does OrthoPrep target?", answer: "FRCS (Tr & Orth), EBOT, and other orthopaedic board-level exams. The question style, difficulty, and blueprint coverage are calibrated accordingly." },
    { question: "How does the spaced-repetition system work?", answer: "Each question you answer is scheduled for review based on your recall difficulty. Weak items come back sooner, strong ones space out — so your revision time goes where it matters." },
    { question: "Are the questions written or curated?", answer: "Written. Every item is authored and reviewed by senior orthopaedic surgeons, with the source evidence cited in the explanation." },
    { question: "Can I take a full mock under timed conditions?", answer: "Yes. Timed mocks simulate the length and pressure of the real exam, with a post-exam breakdown of performance by topic." },
    { question: "How is my progress reported?", answer: "A personal dashboard shows accuracy, time per question, and topic mastery so you can see at a glance where you are ready and where you need more work." },
    { question: "Is there a free tier for members?", answer: "Vetted OrthoGlobe members get significant access as part of membership. Full exam-mode access is planned as a paid tier to fund ongoing question writing." },
  ],
  ctaTitle: "Start training with OrthoPrep.",
  ctaBody:
    "The FRCS Basic Sciences bank is open now. Jump into a quiz or browse the full question bank by part.",
  ctaPrimaryLabel: "Start a quiz",
  ctaPrimaryHref: "/products/orthoprep/quiz",
  ctaSecondaryLabel: "Browse bank",
  ctaSecondaryHref: "/products/orthoprep/question-bank",
  customSections: emptyCustomSections,
};

const academy: ProductPageDefaults = {
  slug: "academy",
  heroEyebrow: "OrthoGlobe Academy · Live",
  heroTitle: "OrthoGlobe Academy",
  heroTagline: "3 surgeon-led courses · curriculum expanding through 2026",
  heroDescription:
    "The OrthoGlobe Academy publishes surgeon-led courses built and reviewed by practising orthopaedic surgeons. The opening catalogue includes the Chertsey FRCS Course, the London Shoulder Masterclass, and Advanced MSK for Primary Care; more titles publish through 2026.",
  heroImagePath: "/photos/training/anatomage-table.jpg",
  heroImageAlt:
    "Trainees learning around an Anatomage virtual dissection table",
  heroPrimaryCtaLabel: "Browse courses",
  heroPrimaryCtaHref: "/products/academy/courses",
  heroSecondaryCtaLabel: "Join OrthoGlobe",
  heroSecondaryCtaHref: "/join",
  accessRailTagline:
    "Surgeon-led orthopaedic courses. Members enrol, track lesson progress, and receive CPD certificates.",
  accessRailMembersOnly: true,
  accessTiles: [
    { href: "/products/academy/courses", label: "All courses", description: "Browse the catalogue.", iconName: "LayoutList" },
    { href: "/products/academy/courses/chertsey-frcs-course", label: "Chertsey FRCS", description: "Featured intensive course.", iconName: "GraduationCap" },
    { href: "/account", label: "My learning", description: "Enrolments & progress.", iconName: "User" },
    { href: "/products/academy/courses/london-shoulder-masterclass", label: "Shoulder masterclass", description: "Advanced upper-limb course.", iconName: "Clock" },
  ],
  sectionEyebrow: "Learn from faculty who operate",
  sectionHeading: "Orthopaedic e-learning, built by surgeons.",
  sectionBody:
    "OrthoGlobe Academy is a home for structured orthopaedic courses, case-based learning, and CPD-accredited modules — delivered by the surgeons whose teaching you would travel to hear.",
  showcaseImagePath: "/photos/training/anatomage-table.jpg",
  showcaseImageAlt:
    "Trainees gathered around an Anatomage virtual dissection table",
  showcaseEyebrow: "OrthoGlobe Academy",
  showcaseCaption:
    "Structured orthopaedic learning, taught by surgeons who operate.",
  features: [
    { title: "Structured courses", body: "Short-form orthopaedic courses grouped into coherent learning paths — from generalist foundations to sub-specialist deep dives.", iconName: "BookMarked" },
    { title: "Video lessons", body: "High-quality recorded sessions from OrthoGlobe faculty, with case discussions, operative technique, and examinable frameworks.", iconName: "Video" },
    { title: "Case-based learning", body: "Work through real anonymised cases with interactive decision points — the way you actually learn on the firm.", iconName: "Briefcase" },
    { title: "Quizzes and assessments", body: "Module quizzes that test applied understanding, not just recall, with immediate feedback linked to evidence.", iconName: "ListChecks" },
    { title: "CPD-accredited certificates", body: "Completed courses issue CPD-accredited certificates you can use for revalidation and portfolio building.", iconName: "Award" },
    { title: "Taught by OrthoGlobe faculty", body: "Courses are built and delivered by Prof. Mohamed A. Imam and an international faculty of practising orthopaedic surgeons.", iconName: "GraduationCap" },
  ],
  audienceHeading:
    "A home for everyone teaching and learning orthopaedics.",
  audienceBody: "",
  audiences: [
    { title: "Trainees", body: "A structured, surgeon-taught curriculum to supplement your rotation — from foundation years through fellowship." },
    { title: "Consultants", body: "CPD-accredited courses in sub-specialist topics, delivered by people who do the operation every week." },
    { title: "Allied MSK clinicians", body: "Physios, advanced practitioners, and GPs with a musculoskeletal interest can train alongside their surgical colleagues." },
  ],
  faqs: [
    { question: "What courses will be available at launch?", answer: "The opening catalogue covers foundational orthopaedic topics and a rotating slate of sub-specialist masterclasses. Catalogue details are confirmed as faculty modules are locked." },
    { question: "Is Academy CPD-accredited?", answer: "Yes. Completed courses issue CPD-accredited certificates suitable for revalidation and portfolio use." },
    { question: "Who teaches the courses?", answer: "OrthoGlobe Academy is led by Prof. Mohamed A. Imam and an international faculty of practising orthopaedic surgeons and allied specialists." },
    { question: "Can I learn at my own pace?", answer: "Yes. Academy is structured around short modules you can complete in sittings that fit around clinical work, with progress saved as you go." },
    { question: "Is there a free tier for members?", answer: "Vetted OrthoGlobe members get access to a core set of courses. Premium masterclasses and in-person cadaveric courses are offered as paid upgrades." },
    { question: "Can I get a team or institutional licence?", answer: "Institutional licensing for training programmes and NHS trusts is planned. Mention it in your application if you would like to pilot for your department." },
  ],
  ctaTitle: "Open the Academy catalogue.",
  ctaBody:
    "Twelve structured orthopaedic courses are live now — from arthroscopy and fracture management through paediatrics, spine, and sports.",
  ctaPrimaryLabel: "Browse courses",
  ctaPrimaryHref: "/products/academy/courses",
  ctaSecondaryLabel: "Join OrthoGlobe",
  ctaSecondaryHref: "/join",
  customSections: emptyCustomSections,
};

const research: ProductPageDefaults = {
  slug: "research",
  heroEyebrow: "Research Portal · In production",
  heroTitle: "A clinician-first research platform.",
  heroTagline: "Multicentre ortho studies, EDC, ePROMs and audit trail",
  heroDescription:
    "Run multicentre orthopaedic studies with confidence. EDC, ePROMs, audit trail, GDPR, and investigator workflow in one place — built for the way surgeons actually run registries and cohorts.",
  heroImagePath: "/photos/research/biomech-force-plates.jpg",
  heroImageAlt:
    "Biomechanics laboratory force plates used for gait analysis and orthopaedic research",
  heroPrimaryCtaLabel: "Join OrthoGlobe",
  heroPrimaryCtaHref: "/join",
  heroSecondaryCtaLabel: "See planned studies",
  heroSecondaryCtaHref: "/products/research/studies",
  accessRailTagline:
    "Investigator-led EDC for multicentre orthopaedic studies. Membership required to enrol as a site PI or sub-investigator.",
  accessRailMembersOnly: true,
  accessTiles: [
    { href: "/products/research/studies", label: "Active studies", description: "Browse multicentre protocols.", iconName: "FlaskConical" },
    { href: "/studies", label: "Live journals", description: "PubMed feed for the field.", iconName: "ListChecks" },
    { href: "/account", label: "My investigator", description: "Sites, CRFs, outstanding items.", iconName: "ClipboardList" },
    { href: "/contact", label: "Propose a study", description: "Pitch a protocol to OrthoGlobe.", iconName: "FileText" },
  ],
  sectionEyebrow: "Platform",
  sectionHeading: "The boring parts, done right.",
  sectionBody:
    "Clinical research lives or dies on the unglamorous bits: audit, access control, export fidelity, and whether the form submits when the wi-fi is patchy in a side room. We start there.",
  showcaseImagePath: "/photos/surgery/joint-replacement-vietnam.jpg",
  showcaseImageAlt:
    "Orthopaedic joint replacement surgery being performed in Vietnam",
  showcaseEyebrow: "Research Portal",
  showcaseCaption:
    "Multicentre orthopaedic research, run from one shared platform.",
  features: [
    { title: "Purpose-built EDC", body: "Electronic data capture designed for investigator-led orthopaedic registries and prospective cohorts — not a rebadged generic form tool.", iconName: "ClipboardList" },
    { title: "ePROMs that patients finish", body: "KOOS, HOOS, DASH, Oxford scores and EQ-5D, delivered by secure link and surfaced alongside clinician-entered data on one timeline.", iconName: "MessageSquare" },
    { title: "ALCOA-C audit trail", body: "Every change on every field is timestamped and attributable, with old and new values preserved at the database trigger level.", iconName: "ShieldCheck" },
    { title: "GDPR-first by design", body: "Row-level security, per-field access scoping, column-level encryption for direct identifiers, and per-subject export. UK and EU hosting.", iconName: "Lock" },
    { title: "Investigator workflow", body: "Delegation logs, site activation, training records, and study-scoped RBAC — the admin scaffolding real multicentre studies need.", iconName: "Users" },
    { title: "Exports that match the field", body: "Long and wide CSV, REDCap-compatible dictionaries, and CDISC ODM-XML — so data lands in your statistician's tool of choice.", iconName: "Download" },
  ],
  audienceHeading: "Stand up a study in a week, not a quarter.",
  audienceBody:
    "Define your case report forms in a declarative schema, add sites, invite collaborators from the OrthoGlobe member directory, and start capturing data. No IT procurement cycle.",
  audiences: [
    { title: "Principal investigators", body: "Run a registry or prospective cohort without building the infrastructure first — forms, auditability, exports come in the box." },
    { title: "Site investigators", body: "A lightweight investigator workflow with delegation logs, training records, and the paperwork a monitor actually looks at." },
    { title: "Research coordinators", body: "ePROM links, visit schedules, and query resolution without emailing spreadsheets between sites." },
  ],
  faqs: [
    { question: "What does the Research Portal actually do at launch?", answer: "A browseable directory of active and planned OrthoGlobe collaborative studies with phase, eligibility, sites, investigators, and protocol documents — plus an EDC preview with visit-based forms. Submissions open once membership review is complete." },
    { question: "Who can run a study?", answer: "Vetted OrthoGlobe members can propose studies for review. Approved protocols get a study page, an EDC instance, and collaborator invites across the network." },
    { question: "How does the EDC handle audit and compliance?", answer: "ALCOA-C audit trail at the database-trigger level, row-level access control, per-field encryption for direct identifiers, and exportable audit logs for monitors and regulators." },
    { question: "Where is data hosted?", answer: "UK and EU hosting with GDPR-first defaults. Country-scoped hosting is available for protocols with cross-border data restrictions." },
  ],
  ctaTitle: "Bring your study to OrthoGlobe.",
  ctaBody:
    "The collaborative runs investigator-led orthopaedic studies under a single brand, with shared infrastructure and a pre-vetted member base.",
  ctaPrimaryLabel: "Apply for membership",
  ctaPrimaryHref: "/join",
  ctaSecondaryLabel: "",
  ctaSecondaryHref: "",
  customSections: emptyCustomSections,
};

const store: ProductPageDefaults = {
  slug: "store",
  heroEyebrow: "OrthoGlobe Store · In production",
  heroTitle: "Curated orthopaedic books, instruments, and digital tools.",
  heroTagline: "Surgeon-curated books, instruments, and digital resources — 2026",
  heroDescription:
    "The OrthoGlobe Store will offer a small, faculty-vetted catalogue of the books, instruments, and digital subscriptions our network actually uses. We are signing publisher and distributor partners now and will open the catalogue when the first wave of products is ready to ship and support.",
  heroImagePath: "/photos/surgery/surgical-instruments-tray.jpg",
  heroImageAlt:
    "Surgical instruments laid out on a tray ready for an orthopaedic procedure",
  heroPrimaryCtaLabel: "Join OrthoGlobe",
  heroPrimaryCtaHref: "/join",
  heroSecondaryCtaLabel: "See all OrthoGlobe initiatives",
  heroSecondaryCtaHref: "/products",
  accessRailTagline:
    "Surgeon-curated books, instruments, and digital subscriptions. Members get member pricing and exclusive editions.",
  accessRailMembersOnly: false,
  accessTiles: [
    { href: "/products/store", label: "All products", description: "Browse the catalogue.", iconName: "ShoppingBag" },
    { href: "/products/store?category=books", label: "Books", description: "Textbooks & revision titles.", iconName: "BookMarked" },
    { href: "/products/store?category=instruments", label: "Instruments", description: "Clinical & teaching tools.", iconName: "Wrench" },
    { href: "/products/store?category=digital", label: "Digital", description: "Subscriptions & licences.", iconName: "Laptop" },
  ],
  sectionEyebrow: "What to expect",
  sectionHeading: "Five curated shelves at launch.",
  sectionBody:
    "We will not list a product until we have negotiated supply, vetted the quality, and confirmed we can support it. Until then, here is the shape of the catalogue.",
  showcaseImagePath: null,
  showcaseImageAlt: null,
  showcaseEyebrow: "",
  showcaseCaption: "",
  features: [
    { title: "Books", body: "Authoritative textbooks, atlases, and exam-focused revision titles, hand-picked for trainees, fellows, and consultants.", iconName: "BookMarked" },
    { title: "Instruments", body: "Practical clinical and teaching tools used every day on the ward and in skills sessions — educational use, not for the operative theatre.", iconName: "Wrench" },
    { title: "Surgical guides", body: "Concise operative aides-memoire, fracture classification references, and pocket guides to keep beside the light box.", iconName: "FileText" },
    { title: "Digital", body: "OrthoGlobe subscription products — question banks, Atlas access, Academy bundles, and team licences.", iconName: "Laptop" },
    { title: "Apparel & branding", body: "Small-batch OrthoGlobe merchandise and conference-ready accessories for the collaborative community.", iconName: "ShoppingBag" },
  ],
  audienceHeading: "",
  audienceBody: "",
  audiences: [],
  faqs: [],
  ctaTitle: "Want to be told when the store opens?",
  ctaBody:
    "Vetted OrthoGlobe members get first access — and member pricing — when the catalogue goes live.",
  ctaPrimaryLabel: "Apply for membership",
  ctaPrimaryHref: "/join",
  ctaSecondaryLabel: "",
  ctaSecondaryHref: "",
  customSections: emptyCustomSections,
};

export const productPageDefaults: ProductPageDefaults[] = [
  atlas,
  consentiq,
  orthoprep,
  academy,
  research,
  store,
];

export const PRODUCT_PAGE_SLUGS = productPageDefaults.map((p) => p.slug);

export function getDefaults(slug: string): ProductPageDefaults | undefined {
  return productPageDefaults.find((p) => p.slug === slug);
}
