Executive Code: Bank Audit Report
import React, { useState, useEffect } from 'react';
import {
Building2, Search, FileText, Award, Target, TrendingUp,
Users, Shield, DollarSign, CheckCircle, AlertTriangle,
Clock, Database, Globe, Star, ArrowRight, BarChart3,
Cpu, Network, Eye, Lightbulb, Brain, Play, Trophy,
BookOpen, Map, Filter, Download, MessageSquare,
Calculator, PieChart, Activity, Briefcase
} from 'lucide-react';
const EnhancedBankResearchChallenge = () => {
// Game State
const [gamePhase, setGamePhase] = useState('setup'); // setup, research, report, appendix, complete
const [selectedBank, setSelectedBank] = useState('');
const [currentSection, setCurrentSection] = useState(0);
const [researchProgress, setResearchProgress] = useState({});
const [reportData, setReportData] = useState({});
const [score, setScore] = useState(0);
const [timeStarted, setTimeStarted] = useState(null);
const [showSources, setShowSources] = useState(false);
const [showAppendix, setShowAppendix] = useState(false);
// Enhanced Research Framework with Comprehensive Question Database
const researchSections = [
{
id: 'corporate',
name: 'Corporate Structure & Fundamentals',
icon: <Building2 className="w-6 h-6" />,
color: 'bg-blue-500',
description: 'Legal structure, governance, financial fundamentals, and operational metrics',
reportInstructions: {
paragraph1: "Present comprehensive corporate structure analysis including exact legal entity name and subsidiary structure, headquarters location with complete address, primary business segments with revenue contribution percentages, current market valuation using specific methodologies (DCF, comparable company analysis, etc.), recent funding rounds with lead investors and valuations, EBITDA margins by business segment compared to industry peers, current cash position with monthly burn rate calculations, and quarterly revenue growth trends over the past 3 years with peer comparisons.",
paragraph2: "Evaluate executive leadership effectiveness with quantifiable track record metrics, board composition including independence ratios and key committee structures, strategic partnership revenue contributions as percentage of total revenue, regulatory compliance costs by jurisdiction as percentage of revenue, intellectual property portfolio valuation and remaining protection periods, ESG initiatives impact on operational costs and revenue, management compensation structure tied to performance metrics, and assessment of corporate governance changes over the past 3 years affecting shareholder value."
},
questions: [
"What is the complete legal entity name and corporate structure?",
"What is the full headquarters address including street, city, state, country?",
"Who are the founders and what is their professional background?",
"What year was the company founded and what was the origin story?",
"What is the current mission statement and how has it evolved?",
"Who is the current CEO and what is their track record?",
"What is the complete executive team composition and tenure?",
"Who comprises the board of directors and what expertise do they bring?",
"What is the current ownership structure by stakeholder type?",
"What is the employee count and how has it grown over time?",
"What major corporate pivots or strategic shifts have occurred?",
"What is the current valuation and how was it determined?",
"What funding rounds have occurred and who were the investors?",
"What is the current revenue and how is it segmented?",
"What are the EBITDA margins by business segment?",
"What is the cash position and monthly burn rate?",
"How many months of runway exist at current burn levels?",
"What strategic partnerships or alliances exist?",
"What M&A activity has the company pursued historically?",
"What geographic markets does the company operate in?",
"What is the intellectual property portfolio composition?",
"What regulatory approvals or licenses are required?",
"What is the corporate governance structure and quality?",
"What executive compensation structure exists?",
"What employee equity participation programs are in place?"
]
},
{
id: 'market',
name: 'Market Position & Competitive Analysis',
icon: <TrendingUp className="w-6 h-6" />,
color: 'bg-green-500',
description: 'Market size, competitive landscape, positioning, and growth opportunities',
reportInstructions: {
paragraph1: "Detail Total Addressable Market (TAM) size with methodology and data sources, Serviceable Addressable Market (SAM) with realistic penetration assumptions, market CAGR by segment with primary growth drivers, current market share by segment with measurement methodology, identification of top 10 competitors with their market positions and financial metrics, quantified barriers to entry including capital requirements, regulatory hurdles, and technology investments, and customer switching costs analysis by segment with supporting data.",
paragraph2: "Assess competitive dynamics including market consolidation trends over 5 years, technology disruption threats with adoption timelines and financial impact, pricing power analysis across customer segments with elasticity data, network effects strength and defensibility characteristics, geographic expansion opportunities with market size potential and entry barriers, macroeconomic sensitivity with correlation coefficients to key economic indicators, and forward-looking competitive response scenarios with market share implications."
},
questions: [
"What is the Total Addressable Market size and growth projection?",
"What is the Serviceable Addressable Market and penetration strategy?",
"What is the Serviceable Obtainable Market over the next 5 years?",
"What is the market CAGR and what drives growth acceleration?",
"What stage of the adoption curve is this market in?",
"What is the current market share and how is it measured?",
"What geographic markets offer the highest growth potential?",
"What customer segments drive the majority of market value?",
"What are the key market drivers and accelerators?",
"What regulatory changes could impact market dynamics?",
"Who are the top 5 platform competitors and their market positions?",
"Who are the top 10 pure-play specialists in this market?",
"What is the competitive intensity and how is it measured?",
"What are the barriers to entry for new competitors?",
"What switching costs exist for customers?",
"What adjacent markets represent expansion opportunities?",
"What is the total adjacent market opportunity size?",
"What cross-selling or upselling potential exists?",
"What vertical industry applications are most promising?",
"What international expansion markets are prioritized?",
"What technology disruptions threaten the current market?",
"What macroeconomic factors influence market growth?",
"What customer preference shifts are occurring?",
"What network effects exist in this market?",
"What seasonal or cyclical patterns affect demand?"
]
},
{
id: 'product',
name: 'Product Portfolio & Technology Innovation',
icon: <Network className="w-6 h-6" />,
color: 'bg-purple-500',
description: 'Product offerings, technology infrastructure, innovation pipeline, and competitive advantages',
reportInstructions: {
paragraph1: "Analyze core product portfolio including primary offerings and unique value propositions, technical differentiation factors and technology moat defensibility, core technology stack and cloud infrastructure architecture, time-to-value metrics for new customers by product tier, product gross margins by SKU with trend analysis over 3 years, R&D investment as percentage of revenue compared to industry benchmarks, API capabilities that drive platform stickiness with developer ecosystem metrics, and security certifications with compliance standards across all major product offerings.",
paragraph2: "Evaluate technology scalability including system bottlenecks and performance benchmarks, product-market fit evidence across customer segments with specific satisfaction metrics, competitive win/loss analysis revealing positioning strengths and weaknesses, Net Promoter Score (NPS) and Customer Satisfaction (CSAT) scores by product line, product development velocity compared to key competitors with release cadence analysis, innovation pipeline alignment with market evolution trends including go-to-market timelines, machine learning and AI capabilities integration, and disaster recovery with business continuity planning effectiveness."
},
questions: [
"What is the core product offering and its primary function?",
"What key features and capabilities define the product?",
"How does the product architecture enable scalability?",
"What technical differentiation exists versus competitors?",
"What proprietary technology or IP protects the product?",
"How well does the product address identified market needs?",
"What use cases and applications drive adoption?",
"What friction points exist in product adoption?",
"How does product performance compare to alternatives?",
"What is the time-to-value for new customers?",
"What is the annual R&D investment as percentage of revenue?",
"What is the development velocity and release cadence?",
"What innovation pipeline exists for future capabilities?",
"How strong and defensible is the IP portfolio?",
"What technology risks could impact product viability?",
"What is the core technology stack and architecture?",
"What cloud infrastructure and services are utilized?",
"What is the system's scalability ceiling and bottlenecks?",
"What programming languages and frameworks are used?",
"What database technologies handle data storage and retrieval?",
"What APIs and integration protocols are supported?",
"What security architecture protects against threats?",
"What monitoring and observability tools are implemented?",
"What development and deployment practices are followed?",
"What backup and disaster recovery systems exist?",
"What performance benchmarks and SLAs are maintained?",
"What machine learning or AI capabilities are integrated?",
"What data processing and analytics capabilities exist?",
"What mobile and cross-platform support is provided?",
"What technical debt exists and how is it managed?",
"What technology investments are planned for the next 2 years?",
"What technology partnerships provide competitive advantage?",
"What compliance and regulatory technology requirements are met?",
"What automation capabilities reduce operational overhead?",
"What technology risks could impact business continuity?",
"What API capabilities enable third-party integration?",
"How extensive is the integration ecosystem?",
"What partner ecosystem supports product adoption?",
"How open versus closed is the platform architecture?",
"What lock-in factors retain customers long-term?",
"What security certifications and compliance standards are met?",
"How robust is the privacy and data protection framework?",
"What enterprise-grade features are available?",
"What disaster recovery and business continuity capabilities exist?",
"How does the product roadmap align with market evolution?"
]
},
{
id: 'customer',
name: 'Customer Experience & End User Analysis',
icon: <Users className="w-6 h-6" />,
color: 'bg-orange-500',
description: 'Customer segments, satisfaction metrics, online reviews, acquisition analysis, and retention performance',
reportInstructions: {
paragraph1: "Present comprehensive customer segmentation analysis with clearly defined Ideal Customer Profile (ICP) characteristics and total addressable prospects, Customer Acquisition Cost (CAC) by channel and segment with trend analysis, Customer Lifetime Value (LTV) calculations with methodology and key assumptions, LTV/CAC ratios by customer cohort with payback period analysis, customer concentration risk assessment including top 10, 50, and 100 account revenue contribution, sales cycle length analysis correlated with deal size and customer segment, and detailed analysis of customer acquisition channels including digital marketing, referrals, and partnership effectiveness.",
paragraph2: "Analyze customer experience metrics including comprehensive online review analysis from Trustpilot, Google Reviews, Glassdoor, Better Business Bureau, and industry-specific review platforms, gross retention, net retention, and dollar-based retention rates by segment, Net Promoter Score (NPS) trends with customer advocacy indicators, customer satisfaction (CSAT) scores across all touchpoints, customer health scoring methodology and churn prediction accuracy, upsell and cross-sell performance with attachment rates by product and customer tier, seasonal patterns affecting customer behavior, customer support quality metrics including response times and resolution rates, and competitive win/loss analysis showing market share gains from specific competitors."
},
questions: [
"Who are the primary customer segments and their characteristics?",
"What is the Ideal Customer Profile and how is it defined?",
"What customer concentration risk exists in the top accounts?",
"What specific companies serve as logo references?",
"How do customer segments differ in value and profitability?",
"What is the Customer Acquisition Cost by segment?",
"What is the Customer Lifetime Value by segment?",
"What is the LTV/CAC ratio trend over time?",
"What are the gross and net retention rates?",
"What is the Net Revenue Retention rate?",
"What customer acquisition channels are most effective?",
"What is the sales cycle length by customer segment?",
"What win rates exist against primary competitors?",
"What customer proof points and case studies demonstrate value?",
"What customer satisfaction scores and metrics exist?",
"What is the Net Promoter Score and trend?",
"What organic growth indicators show customer advocacy?",
"What customer churn patterns and causes exist?",
"What expansion revenue opportunities exist within accounts?",
"What customer onboarding and success programs exist?",
"What customer support metrics indicate satisfaction levels?",
"What product usage patterns drive customer value?",
"What customer feedback drives product development priorities?",
"What customer demographics and firmographics drive targeting?",
"What seasonal or cyclical patterns affect customer behavior?",
"What are the current Trustpilot ratings and review trends?",
"What Google My Business review scores exist across all locations?",
"What Better Business Bureau ratings and complaint resolution metrics exist?",
"What Glassdoor employee satisfaction scores indicate about company culture?",
"What Consumer Affairs ratings and customer feedback patterns exist?",
"What industry-specific review platform scores and trends are documented?",
"What social media sentiment analysis reveals about brand perception?",
"What customer complaint patterns emerge from CFPB database analysis?",
"What online review response rates and quality demonstrate customer service commitment?",
"What review volume trends indicate brand awareness and engagement levels?",
"What specific customer pain points are highlighted in negative reviews?",
"What positive review themes indicate key value drivers for customers?",
"What competitor comparison themes emerge from customer review analysis?",
"What geographic review patterns show regional satisfaction differences?",
"What product/service specific review themes guide improvement priorities?",
"What customer service quality metrics emerge from review analysis?",
"What pricing and value perception themes appear in customer feedback?",
"What digital experience feedback patterns indicate technology satisfaction?",
"What accessibility and convenience themes emerge from customer reviews?",
"What customer advocacy behaviors are demonstrated through review engagement?"
]
},
{
id: 'financial',
name: 'CAMEL Financial Performance & Risk Assessment',
icon: <Shield className="w-6 h-6" />,
color: 'bg-red-500',
description: 'Comprehensive CAMEL analysis: Capital, Assets, Management, Earnings, Liquidity, and Market Sensitivity',
reportInstructions: {
paragraph1: "Provide comprehensive CAMEL financial performance analysis including current capital ratios (CET1, Tier 1, Total Capital, Leverage) versus regulatory minimums and peer quartiles, asset quality trends with classified assets (substandard, doubtful, loss) over 5 years, allowance for credit losses adequacy versus peer coverage ratios, return on assets (ROA) and return on equity (ROE) trends compared to peer quartiles, net interest margin analysis with spread compression or expansion factors, efficiency ratio trends showing operational leverage improvements or deterioration, and funding composition analysis with deposit stability metrics.",
paragraph2: "Assess comprehensive risk management framework including management team qualifications with quantifiable track record analysis, board oversight quality with independence metrics, interest rate risk exposure with asset-liability duration mismatch analysis, liquidity position with loan-to-deposit ratios and contingency funding plans, loan portfolio concentration by industry, geography, and borrower type, credit loss provisioning methodology conservatism versus peer institutions, regulatory examination ratings and enforcement actions, stress testing results under Federal Reserve adverse scenarios, and sensitivity to market risk including hedging strategy effectiveness and monitoring quality."
},
questions: [
// Capital Adequacy (10 questions)
"What are the current capital ratios (Tier 1, Total Capital, Leverage)?",
"How do capital ratios compare to regulatory minimums and peer companies?",
"What is the trend in capital ratios over the past three years?",
"What is the tangible common equity ratio?",
"How adequate are capital levels relative to the risk profile?",
"What is the quality and composition of capital?",
"How effective is the capital planning process?",
"What are management's plans for future capital needs?",
"How does the dividend policy affect capital retention?",
"What is the capacity to access additional capital?",
// Asset Quality (10 questions)
"What is the level and trend of classified assets?",
"How adequate is the allowance for loan and lease losses?",
"What are the concentrations by loan type, industry, and geography?",
"What is the quality of underwriting standards?",
"How effective is the loan review system?",
"What is the trend in past due and nonaccrual loans?",
"How do charge-off rates compare to peers?",
"What is the coverage ratio (reserves to classified assets)?",
"How effective are workout and collection procedures?",
"What is the quality of loan documentation?",
// Management Quality (10 questions)
"How qualified and experienced is senior management?",
"What is the quality of board oversight?",
"How effective is strategic planning?",
"How well does management identify and control risks?",
"What is the depth of management in key positions?",
"How effective are internal controls?",
"What is the quality of management information systems?",
"How responsive is management to supervisory concerns?",
"What is the adequacy of policies and procedures?",
"How effective is the audit function?",
// Earnings Quality (10 questions)
"What are the trends in return on assets and equity?",
"How stable and sustainable are earnings?",
"What is the quality of earnings (core vs. non-core)?",
"How do earnings ratios compare to peer institutions?",
"What is the efficiency ratio trend?",
"What is the net interest margin trend?",
"How diversified are revenue sources?",
"What is the sensitivity of earnings to interest rate changes?",
"How do fee income levels compare to peers?",
"What is the outlook for future earnings?",
// Liquidity Assessment (10 questions)
"What is the composition of funding sources?",
"How stable are deposits and funding?",
"What is the reliance on volatile funding sources?",
"How adequate are liquid assets?",
"What is the loan-to-deposit ratio trend?",
"How effective is liquidity risk management?",
"What contingency funding plans exist?",
"How adequate are lines of credit?",
"What is access to money markets?",
"How well managed are asset-liability mismatches?",
// Sensitivity to Market Risk (10 questions)
"What is the exposure to interest rate changes?",
"How effective is interest rate risk management?",
"What is the impact of rate changes on earnings and capital?",
"How adequate are hedging strategies?",
"What stress testing is performed?",
"What are foreign exchange exposures?",
"How significant are trading account positions?",
"What is the exposure to equity price risk?",
"How effective is market risk monitoring?",
"What are the risk management policies and limits?"
]
},
{
id: 'investment',
name: 'Investment Thesis & Strategic Bottom Line Assessment',
icon: <Target className="w-6 h-6" />,
color: 'bg-indigo-500',
description: 'Investment recommendation, valuation analysis, risk factors, and strategic decision framework',
reportInstructions: {
paragraph1: "Formulate clear investment thesis specifying who specifically should buy, invest in, or partner with this entity based on risk tolerance and return requirements, optimal investment timeline with specific value realization milestones, ROI expectations based on comparable transaction analysis and DCF modeling, comprehensive valuation analysis using multiple methodologies including book value, earnings multiples, and precedent transactions, scenario analysis showing probability-weighted returns under best-case, base-case, and stress scenarios, competitive positioning assessment relative to peer institutions, and detailed due diligence priorities that should be emphasized in final investment evaluation.",
paragraph2: "Outline strategic decision framework including comprehensive risk mitigation strategies addressing identified vulnerability factors, critical success metrics and monitoring framework for tracking investment performance, integration complexity and specific resource requirements for successful execution, regulatory compliance requirements affecting investment structure and ongoing oversight, competitive response scenarios and first-mover advantage sustainability, exit strategy optionality including strategic acquisition candidates, IPO readiness assessment, or dividend recapitalization opportunities with realistic timing and valuation expectations, and decision criteria framework that should determine final investment committee recommendations."
},
questions: [
"Who specifically should buy, invest in, or partner with this entity?",
"What is the optimal timeline for strategic action?",
"What risk mitigation strategies should be implemented?",
"What ROI metrics and expectations should guide decisions?",
"What are the critical milestones and success indicators?",
"What integration complexity and resource requirements exist?",
"What regulatory or compliance considerations affect decisions?",
"What competitive responses should be anticipated?",
"What exit strategies or alternatives should be considered?",
"What monitoring and governance structures are needed?",
"What due diligence priorities should be emphasized?",
"What valuation methodology best reflects strategic value?",
"What synergy opportunities justify premium valuations?",
"What implementation phases optimize value realization?",
"What decision criteria should determine go/no-go choices?",
"What is the fundamental value proposition that differentiates this entity?",
"How does this organization create and capture economic value?",
"What is the strategic positioning relative to competitive landscape?",
"What are the three critical success factors for sustained growth?",
"How sustainable and defensible is the competitive advantage?",
"What is the current inflection point or strategic challenge?",
"What regulatory or market forces create urgency for decision-making?",
"What is the investment thesis for strategic acquirers?",
"What valuation scenarios exist under different strategic outcomes?",
"What timeline constraints affect strategic decision-making?",
"What are the three primary risk factors that could derail growth?",
"How does this entity's strategy align with market evolution?",
"What strategic alternatives exist for stakeholders?",
"What is the compelling event driving strategic evaluation?",
"How does this opportunity compare to other strategic priorities?"
]
}
];
// Comprehensive Research Sources Database with Enhanced Customer Experience Focus
const researchSources = {
government: [
{
name: "FDIC BankFind Suite",
url: "https://banks.data.fdic.gov",
description: "Complete financial data for all FDIC-insured institutions with quarterly call report data"
},
{
name: "FFIEC Call Reports Central Data Repository",
url: "https://cdr.ffiec.gov/public",
description: "Detailed quarterly financial reports for all commercial banks with risk-based capital analysis"
},
{
name: "FDIC Statistics on Depository Institutions (SDI)",
url: "https://www7.fdic.gov/sdi",
description: "Comprehensive bank performance metrics, peer group analysis, and 5-year trend data"
},
{
name: "Office of the Comptroller of the Currency (OCC)",
url: "https://www.occ.gov/topics/bank-operations/index-bank-operations.html",
description: "National bank supervision data, enforcement actions, and regulatory guidance"
},
{
name: "Federal Reserve Economic Data (FRED)",
url: "https://fred.stlouisfed.org/categories/22",
description: "Banking sector statistics, interest rates, and macroeconomic indicators"
},
{
name: "CFPB Consumer Complaint Database",
url: "https://www.consumerfinance.gov/data-research/consumer-complaints",
description: "Searchable database of 3M+ verified consumer complaints with bank response data and resolution tracking"
}
],
financial: [
{
name: "SEC EDGAR Database",
url: "https://www.sec.gov/edgar/searchedgar/companysearch.html",
description: "Complete SEC filings including 10-K, 10-Q, 8-K, and proxy statements for public companies"
},
{
name: "Yahoo Finance",
url: "https://finance.yahoo.com",
description: "Real-time stock data, financial statements, analyst estimates, and peer comparison tools"
},
{
name: "Federal Reserve Bank Reports",
url: "https://www.federalreserve.gov/publications.htm",
description: "Comprehensive banking industry analysis, stress test results, and regulatory research"
},
{
name: "FINRA BrokerCheck",
url: "https://brokercheck.finra.org",
description: "Broker-dealer registration, disciplinary history, and regulatory compliance data"
},
{
name: "S&P Global Market Intelligence",
url: "https://www.spglobal.com/marketintelligence",
description: "Banking industry research, credit ratings, and financial analysis (subscription required)"
}
],
customerExperience: [
{
name: "Trustpilot Business Reviews",
url: "https://www.trustpilot.com",
description: "Customer reviews with verified purchase validation covering 120M+ reviews globally with detailed sentiment analysis"
},
{
name: "Google My Business Reviews",
url: "https://www.google.com/maps",
description: "Local branch reviews integrated with Google Maps showing customer experience by location with response tracking"
},
{
name: "Better Business Bureau (BBB)",
url: "https://www.bbb.org",
description: "Business accreditation ratings A+ to F with detailed customer complaint resolution data and response times"
},
{
name: "Consumer Affairs",
url: "https://www.consumeraffairs.com/finance/banking",
description: "Verified customer reviews with detailed rating breakdowns and complaint analysis across all banking services"
},
{
name: "Glassdoor Company Reviews",
url: "https://www.glassdoor.com",
description: "Employee satisfaction ratings, salary data, management reviews, and company culture insights affecting customer service"
},
{
name: "Yelp Business Reviews",
url: "https://www.yelp.com",
description: "Local customer reviews with photo verification and check-in data showing branch-level customer experience"
},
{
name: "J.D. Power Banking Studies",
url: "https://www.jdpower.com/business/industries/financial-services",
description: "Annual customer satisfaction surveys of 100,000+ customers across 148 institutions with detailed satisfaction metrics"
},
{
name: "Consumer Reports Banking Ratings",
url: "https://www.consumerreports.org/money/banking",
description: "Independent ratings based on surveys of 72,000+ members across 148 institutions with detailed service quality analysis"
}
],
specialized: [
{
name: "Bankrate Banking Reviews",
url: "https://www.bankrate.com/banking",
description: "Expert analysis and customer reviews of banking products with detailed feature comparisons and rate analysis"
},
{
name: "MyBankTracker Database",
url: "https://www.mybanktracker.com",
description: "Comprehensive tracking of 6,000+ banks with customer feedback, rate monitoring, and satisfaction metrics"
},
{
name: "DepositAccounts Research",
url: "https://www.depositaccounts.com",
description: "Customer reviews and rate analysis for thousands of banks and credit unions with detailed product comparisons"
},
{
name: "SNL Financial Research",
url: "https://www.spglobal.com/marketintelligence/en/campaigns/snl-financial",
description: "Institutional-grade banking research, M&A analysis, and financial performance benchmarking"
},
{
name: "American Banker Industry Analysis",
url: "https://www.americanbanker.com",
description: "Industry news, regulatory analysis, and executive interviews with performance data and market insights"
},
{
name: "WalletHub Banking Studies",
url: "https://wallethub.com/edu/best-banks",
description: "Comprehensive banking studies with customer satisfaction metrics and detailed product analysis"
},
{
name: "NerdWallet Banking Reviews",
url: "https://www.nerdwallet.com/banking",
description: "Consumer-focused banking reviews with detailed product comparisons and customer experience analysis"
},
{
name: "Credit Karma Banking Insights",
url: "https://www.creditkarma.com/banking",
description: "Consumer banking insights with user-generated reviews and financial product analysis"
}
],
socialSentiment: [
{
name: "Twitter/X Financial Services Sentiment",
url: "https://twitter.com",
description: "Real-time customer sentiment analysis and brand mention tracking for banking institutions"
},
{
name: "Reddit Banking Communities",
url: "https://www.reddit.com/r/banking",
description: "Unfiltered customer discussions and experiences with banking institutions and services"
},
{
name: "Facebook Business Page Reviews",
url: "https://www.facebook.com",
description: "Customer reviews and ratings on official bank Facebook pages with engagement metrics"
},
{
name: "LinkedIn Company Analysis",
url: "https://www.linkedin.com",
description: "Professional networking insights, employee satisfaction, and business relationship analysis"
},
{
name: "YouTube Customer Experience Videos",
url: "https://www.youtube.com",
description: "Video testimonials, reviews, and customer experience content providing detailed qualitative insights"
}
]
};
// Sample Banks for Selection
const sampleBanks = [
"JPMorgan Chase & Co.",
"Bank of America Corporation",
"Wells Fargo & Company",
"Citigroup Inc.",
"U.S. Bancorp",
"PNC Financial Services Group",
"Truist Financial Corporation",
"Goldman Sachs Group Inc.",
"Morgan Stanley",
"Capital One Financial Corporation",
"TD Bank Group",
"Fifth Third Bancorp",
"Regions Financial Corporation",
"KeyCorp",
"M&T Bank Corporation"
];
const startGame = () => {
if (!selectedBank) {
alert('Please select a bank to analyze');
return;
}
setGamePhase('research');
setTimeStarted(Date.now());
};
const completeSection = (sectionId, data) => {
setResearchProgress(prev => ({
...prev,
[sectionId]: true
}));
setReportData(prev => ({
...prev,
[sectionId]: data
}));
const completedSections = Object.keys(researchProgress).length + 1;
setScore(completedSections * 150);
if (currentSection < researchSections.length - 1) {
setCurrentSection(currentSection + 1);
} else {
setGamePhase('report');
}
};
const generateReport = () => {
setGamePhase('appendix');
const finalScore = 900 + (timeStarted ? Math.max(0, 600 - Math.floor((Date.now() - timeStarted) / 60000)) : 0);
setScore(finalScore);
};
// Setup Phase
if (gamePhase === 'setup') {
return (
<div className="max-w-7xl mx-auto p-6 bg-gradient-to-br from-blue-50 to-indigo-100 min-h-screen">
<div className="text-center mb-8">
<div className="flex items-center justify-center mb-4">
<Trophy className="w-12 h-12 text-yellow-500 mr-3" />
<h1 className="text-4xl font-bold text-gray-800">Enhanced Bank Research Challenge</h1>
</div>
<p className="text-xl text-gray-600 max-w-4xl mx-auto">
Generate institutional-grade buy-side research using 120 enhanced questions across 6 analytical frameworks.
Create consistent two-paragraph analysis per section using verified data sources and quantitative metrics
suitable for professional investment decision-making.
</p>
</div>
{showSources && (
<div className="bg-white rounded-xl shadow-xl p-8 mb-6">
<div className="flex items-center justify-between mb-4">
<h3 className="text-xl font-bold">Comprehensive Research Sources</h3>
<button
onClick={() => setShowSources(false)}
className="text-blue-600 hover:text-blue-800 text-sm flex items-center"
>
<BookOpen className="w-4 h-4 mr-1" />
Hide Sources
</button>
</div>
<div className="grid md:grid-cols-5 gap-6">
<div>
<h4 className="font-semibold text-green-700 mb-3 flex items-center">
<Database className="w-4 h-4 mr-2" />
Government & Regulatory
</h4>
{researchSources.government.map((source, idx) => (
<div key={idx} className="mb-3 p-3 bg-green-50 rounded-lg">
<div className="font-medium text-sm">{source.name}</div>
<div className="text-xs text-gray-600 break-all">{source.url}</div>
<div className="text-xs text-gray-500 mt-1">{source.description}</div>
</div>
))}
</div>
<div>
<h4 className="font-semibold text-blue-700 mb-3 flex items-center">
<BarChart3 className="w-4 h-4 mr-2" />
Financial Data
</h4>
{researchSources.financial.map((source, idx) => (
<div key={idx} className="mb-3 p-3 bg-blue-50 rounded-lg">
<div className="font-medium text-sm">{source.name}</div>
<div className="text-xs text-gray-600 break-all">{source.url}</div>
<div className="text-xs text-gray-500 mt-1">{source.description}</div>
</div>
))}
</div>
<div>
<h4 className="font-semibold text-purple-700 mb-3 flex items-center">
<MessageSquare className="w-4 h-4 mr-2" />
Customer Experience
</h4>
{researchSources.customerExperience.map((source, idx) => (
<div key={idx} className="mb-3 p-3 bg-purple-50 rounded-lg">
<div className="font-medium text-sm">{source.name}</div>
<div className="text-xs text-gray-600 break-all">{source.url}</div>
<div className="text-xs text-gray-500 mt-1">{source.description}</div>
</div>
))}
</div>
<div>
<h4 className="font-semibold text-orange-700 mb-3 flex items-center">
<Star className="w-4 h-4 mr-2" />
Specialized Analysis
</h4>
{researchSources.specialized.map((source, idx) => (
<div key={idx} className="mb-3 p-3 bg-orange-50 rounded-lg">
<div className="font-medium text-sm">{source.name}</div>
<div className="text-xs text-gray-600 break-all">{source.url}</div>
<div className="text-xs text-gray-500 mt-1">{source.description}</div>
</div>
))}
</div>
<div>
<h4 className="font-semibold text-red-700 mb-3 flex items-center">
<Users className="w-4 h-4 mr-2" />
Social Sentiment
</h4>
{researchSources.socialSentiment.map((source, idx) => (
<div key={idx} className="mb-3 p-3 bg-red-50 rounded-lg">
<div className="font-medium text-sm">{source.name}</div>
<div className="text-xs text-gray-600 break-all">{source.url}</div>
<div className="text-xs text-gray-500 mt-1">{source.description}</div>
</div>
))}
</div>
</div>
</div>
)}
<div className="bg-white rounded-xl shadow-xl p-8">
<h3 className="text-xl font-bold mb-4">Enhanced Research Framework</h3>
<div className="grid md:grid-cols-2 lg:grid-cols-3 gap-4 mb-6">
{researchSections.map((section, idx) => (
<div key={section.id} className="p-4 border rounded-lg">
<div className={`w-8 h-8 ${section.color} rounded-lg flex items-center justify-center text-white mb-3`}>
{section.icon}
</div>
<h4 className="font-semibold mb-2">{section.name}</h4>
<p className="text-sm text-gray-600 mb-2">{section.description}</p>
<div className="text-xs text-gray-500">{section.questions.length} institutional-grade questions</div>
</div>
))}
</div>
{/* Direct Claude Engagement Section */}
<div className="bg-gradient-to-r from-blue-50 to-indigo-50 border border-blue-200 rounded-xl p-6 mb-6">
<h3 className="text-lg font-bold text-blue-800 mb-3 flex items-center">
<Brain className="w-5 h-5 mr-2" />
Direct Claude Research Engagement
</h3>
<p className="text-blue-700 mb-4">
Skip the interface and directly engage Claude to perform institutional-grade research analysis using this comprehensive framework.
</p>
<div className="bg-white rounded-lg p-4 mb-4 border-l-4 border-blue-500">
<h4 className="font-semibold text-gray-800 mb-2">How to Engage Claude:</h4>
<div className="space-y-2 text-sm">
<div className="bg-gray-50 p-3 rounded-lg font-mono text-blue-600">
"Claude, could you play the research game and analyze [Company Name]?"
</div>
<div className="bg-gray-50 p-3 rounded-lg font-mono text-blue-600">
"Claude, perform the enhanced bank research challenge for [Bank Name]"
</div>
<div className="bg-gray-50 p-3 rounded-lg font-mono text-blue-600">
"Claude, conduct institutional-grade research analysis on [Institution Name] using the comprehensive framework"
</div>
</div>
</div>
<div className="grid md:grid-cols-2 gap-4 text-sm">
<div className="bg-blue-100 p-4 rounded-lg">
<h5 className="font-semibold text-blue-800 mb-2">What Claude Will Do:</h5>
<ul className="space-y-1 text-blue-700">
<li>• Conduct comprehensive web research using 230+ questions</li>
<li>• Generate exactly 12 analytical paragraphs (2 per section)</li>
<li>• Use verified data sources and quantitative metrics</li>
<li>• Include detailed customer experience analysis</li>
<li>• Provide investment-grade recommendations</li>
<li>• Cite specific sources and methodologies</li>
</ul>
</div>
<div className="bg-green-100 p-4 rounded-lg">
<h5 className="font-semibold text-green-800 mb-2">Research Output Includes:</h5>
<ul className="space-y-1 text-green-700">
<li>• Corporate structure & fundamentals analysis</li>
<li>• Market position & competitive assessment</li>
<li>• Product portfolio & technology evaluation</li>
<li>• Customer experience & online review analysis</li>
<li>• CAMEL financial performance review</li>
<li>• Investment thesis & strategic recommendations</li>
</ul>
</div>
</div>
<div className="mt-4 p-4 bg-yellow-50 border border-yellow-200 rounded-lg">
<h5 className="font-semibold text-yellow-800 mb-2 flex items-center">
<Lightbulb className="w-4 h-4 mr-2" />
Pro Tips for Best Results:
</h5>
<ul className="text-sm text-yellow-700 space-y-1">
<li>• Be specific with company names (e.g., "JPMorgan Chase & Co." not just "JPMorgan")</li>
<li>• Request specific sections if you want focused analysis</li>
<li>• Ask for peer comparisons with specific competitor names</li>
<li>• Request specific time periods for trend analysis</li>
<li>• Ask Claude to emphasize particular aspects (e.g., "focus on customer experience")</li>
</ul>
</div>
</div>
{/* Sample Prompts Section */}
<div className="bg-gray-50 rounded-lg p-6 mb-6">
<h4 className="font-semibold mb-3 flex items-center">
<MessageSquare className="w-5 h-5 mr-2 text-gray-600" />
Sample Research Prompts
</h4>
<div className="grid md:grid-cols-1 gap-3">
<div className="bg-white p-4 rounded-lg border">
<div className="font-medium text-gray-800 mb-2">Comprehensive Analysis:</div>
<div className="text-sm font-mono bg-gray-100 p-2 rounded text-blue-600">
"Claude, perform the enhanced bank research challenge for Wells Fargo & Company. Please generate the complete 12-paragraph institutional-grade analysis covering all 6 sections using the 230-question framework."
</div>
</div>
<div className="bg-white p-4 rounded-lg border">
<div className="font-medium text-gray-800 mb-2">Customer Experience Focus:</div>
<div className="text-sm font-mono bg-gray-100 p-2 rounded text-blue-600">
"Claude, analyze Bank of America's customer experience using the research framework. Focus heavily on online reviews, satisfaction metrics, and competitive positioning in customer service."
</div>
</div>
<div className="bg-white p-4 rounded-lg border">
<div className="font-medium text-gray-800 mb-2">Investment Analysis:</div>
<div className="text-sm font-mono bg-gray-100 p-2 rounded text-blue-600">
"Claude, conduct investment-grade research on U.S. Bancorp using the enhanced framework. Emphasize CAMEL analysis and provide specific buy/hold/sell recommendations with supporting rationale."
</div>
</div>
<div className="bg-white p-4 rounded-lg border">
<div className="font-medium text-gray-800 mb-2">Competitive Comparison:</div>
<div className="text-sm font-mono bg-gray-100 p-2 rounded text-blue-600">
"Claude, compare Truist Financial Corporation against PNC Financial Services using the research framework. Focus on market positioning, financial performance, and customer satisfaction metrics."
</div>
</div>
</div>
</div>
<div className="text-center">
<div className="flex justify-center space-x-4 mb-4">
<button
onClick={() => setShowSources(!showSources)}
className="px-6 py-3 bg-green-600 text-white rounded-lg hover:bg-green-700 flex items-center"
>
<Database className="w-5 h-5 mr-2" />
{showSources ? 'Hide' : 'View'} Research Sources
</button>
<button
onClick={() => setGamePhase('appendix')}
className="px-6 py-3 bg-blue-600 text-white rounded-lg hover:bg-blue-700 flex items-center"
>
<BookOpen className="w-5 h-5 mr-2" />
View Research Tools
</button>
</div>
<p className="text-sm text-gray-500">
Use the direct engagement prompts above to have Claude perform institutional-grade research analysis
</p>
</div>
</div>
</div>
);
}
// Research Phase
if (gamePhase === 'research') {
const currentSectionData = researchSections[currentSection];
return (
<div className="max-w-7xl mx-auto p-6 bg-gradient-to-br from-blue-50 to-indigo-100 min-h-screen">
<div className="bg-white rounded-xl shadow-xl p-8">
<div className="flex items-center justify-between mb-6">
<div>
<h1 className="text-2xl font-bold text-gray-800">Analyzing: {selectedBank}</h1>
<p className="text-gray-600">Section {currentSection + 1} of {researchSections.length}: {currentSectionData.name}</p>
</div>
<div className="text-right">
<div className="text-2xl font-bold text-blue-600">{score} points</div>
<div className="text-sm text-gray-500">Research Score</div>
</div>
</div>
<div className="mb-6">
<div className="flex items-center space-x-4 mb-4">
{researchSections.map((section, idx) => (
<div
key={section.id}
className={`flex items-center space-x-2 ${
idx === currentSection ? 'text-blue-600' :
researchProgress[section.id] ? 'text-green-600' : 'text-gray-400'
}`}
>
{researchProgress[section.id] ? (
<CheckCircle className="w-5 h-5" />
) : (
<div className={`w-5 h-5 ${section.color} rounded-full flex items-center justify-center text-white text-xs`}>
{idx + 1}
</div>
)}
<span className="text-sm font-medium">{section.name.split('&')[0].trim()}</span>
{idx < researchSections.length - 1 && <ArrowRight className="w-4 h-4 text-gray-300" />}
</div>
))}
</div>
<div className="w-full bg-gray-200 rounded-full h-2">
<div
className="bg-blue-500 h-2 rounded-full transition-all"
style={{ width: `${((currentSection + Object.keys(researchProgress).length) / researchSections.length) * 100}%` }}
/>
</div>
</div>
<div className="bg-gray-50 rounded-xl p-6 mb-6">
<h2 className="text-xl font-bold mb-4 flex items-center">
<div className={`w-8 h-8 ${currentSectionData.color} rounded-lg flex items-center justify-center text-white mr-3`}>
{currentSectionData.icon}
</div>
{currentSectionData.name}
</h2>
<p className="text-gray-600 mb-4">{currentSectionData.description}</p>
<h3 className="font-semibold mb-3">Institutional-Grade Research Questions ({currentSectionData.questions.length} questions):</h3>
<div className="grid md:grid-cols-1 gap-2 max-h-72 overflow-y-auto">
{currentSectionData.questions.map((question, idx) => (
<div key={idx} className="p-3 bg-white rounded-lg border">
<div className="text-sm text-gray-700">
<span className="font-medium text-blue-600">Q{idx + 1}:</span> {question}
</div>
</div>
))}
</div>
</div>
<div className="bg-yellow-50 border border-yellow-200 rounded-lg p-6 mb-6">
<h3 className="font-semibold text-yellow-800 mb-3 flex items-center">
<Lightbulb className="w-5 h-5 mr-2" />
Enhanced Report Generation Instructions for {currentSectionData.name}
</h3>
<div className="text-sm text-yellow-700 space-y-3">
<div className="bg-yellow-100 p-4 rounded-lg">
<h4 className="font-semibold mb-2">Paragraph 1 Requirements:</h4>
<p>{currentSectionData.reportInstructions.paragraph1}</p>
</div>
<div className="bg-yellow-100 p-4 rounded-lg">
<h4 className="font-semibold mb-2">Paragraph 2 Requirements:</h4>
<p>{currentSectionData.reportInstructions.paragraph2}</p>
</div>
<div className="bg-orange-100 p-4 rounded-lg">
<h4 className="font-semibold mb-2">Quality Standards:</h4>
<ul className="space-y-1">
<li>• Each paragraph must contain 5-7 sentences with specific quantitative data</li>
<li>• Include exact financial figures, percentages, dates, and peer comparisons</li>
<li>• Cite specific data sources (FDIC SDI, SEC EDGAR, etc.) for all quantitative claims</li>
<li>• Use institutional investment-grade analysis suitable for professional decision-making</li>
<li>• Avoid generic statements - every claim must be quantifiable and verifiable</li>
</ul>
</div>
</div>
</div>
<div className="text-center">
<button
onClick={() => completeSection(currentSectionData.id, `Completed enhanced research for ${currentSectionData.name}`)}
className="px-6 py-3 bg-green-600 text-white rounded-lg hover:bg-green-700 flex items-center mx-auto"
>
<CheckCircle className="w-5 h-5 mr-2" />
Complete {currentSectionData.name} Analysis
</button>
<p className="text-xs text-gray-500 mt-2">
Click after completing comprehensive two-paragraph analysis following the instructions above
</p>
</div>
</div>
</div>
);
}
// Report Generation Phase
if (gamePhase === 'report') {
return (
<div className="max-w-7xl mx-auto p-6 bg-gradient-to-br from-blue-50 to-indigo-100 min-h-screen">
<div className="bg-white rounded-xl shadow-xl p-8">
<h1 className="text-3xl font-bold text-center mb-6">Generate Institutional Research Report</h1>
<div className="text-center mb-6">
<h2 className="text-xl text-gray-600">Enhanced Buy-Side Analysis of {selectedBank}</h2>
</div>
<div className="bg-green-50 border border-green-200 rounded-lg p-6 mb-6">
<h2 className="text-xl font-bold text-green-800 mb-4 flex items-center">
<Award className="w-6 h-6 mr-2" />
Final Report Generation - Institutional Grade Standards
</h2>
<div className="text-sm text-green-700 space-y-3">
<p className="font-semibold">Create a comprehensive buy-side research report with exactly 12 analytical paragraphs (2 per section) using the enhanced question framework and specific instructions provided.</p>
<div className="bg-green-100 p-4 rounded-lg">
<h3 className="font-semibold mb-2">Report Structure Requirements:</h3>
<ul className="space-y-1">
<li>• <strong>Section 1:</strong> Corporate Structure & Fundamentals (2 paragraphs)</li>
<li>• <strong>Section 2:</strong> Market Position & Competitive Analysis (2 paragraphs)</li>
<li>• <strong>Section 3:</strong> Product Portfolio & Innovation (2 paragraphs)</li>
<li>• <strong>Section 4:</strong> Customer Analytics & Acquisition (2 paragraphs)</li>
<li>• <strong>Section 5:</strong> Financial Performance & Risk Assessment (2 paragraphs)</li>
<li>• <strong>Section 6:</strong> Investment Thesis & Strategic Outlook (2 paragraphs)</li>
</ul>
</div>
</div>
</div>
<div className="bg-blue-50 border border-blue-200 rounded-lg p-6 mb-6">
<h3 className="text-lg font-bold text-blue-800 mb-3 flex items-center">
<FileText className="w-5 h-5 mr-2" />
Critical Research Instructions for Claude
</h3>
<div className="text-sm text-blue-700 space-y-2">
<p>• Conduct comprehensive web search research using the 120 enhanced questions across all 6 sections</p>
<p>• Use multiple verified data sources: FDIC SDI, SEC EDGAR, Federal Reserve data, customer review platforms</p>
<p>• Generate exactly 2 analytical paragraphs per section following the specific requirements provided</p>
<p>• Include specific financial ratios, exact percentages, dollar amounts, and dates for all quantitative claims</p>
<p>• Compare all metrics to peer group averages and industry benchmarks with specific rankings</p>
<p>• Provide investment-grade analysis suitable for institutional decision-making and due diligence</p>
<p>• Focus on forward-looking insights, risk assessment, and actionable investment recommendations</p>
<p>• Ensure each paragraph contains 5-7 sentences with substantive quantitative analysis</p>
</div>
</div>
<div className="bg-gray-50 rounded-lg p-6 mb-6">
<h3 className="font-semibold mb-3">Research Framework Completed:</h3>
<div className="grid md:grid-cols-3 gap-3">
{researchSections.map((section) => (
<div key={section.id} className="flex items-center space-x-2 p-3 bg-white rounded-lg">
<CheckCircle className="w-5 h-5 text-green-500" />
<span className="text-sm">{section.name}</span>
</div>
))}
</div>
</div>
<div className="text-center">
<div className="flex justify-center space-x-4">
<button
onClick={generateReport}
className="px-8 py-4 bg-blue-600 text-white rounded-lg hover:bg-blue-700 flex items-center text-lg"
>
<Database className="w-6 h-6 mr-2" />
View Research Tools & Sources
</button>
<button
onClick={() => setGamePhase('complete')}
className="px-8 py-4 bg-green-600 text-white rounded-lg hover:bg-green-700 flex items-center text-lg"
>
<Trophy className="w-6 h-6 mr-2" />
Complete Research Challenge
</button>
</div>
<p className="text-sm text-gray-500 mt-3">
Generate institutional-grade research using enhanced framework and verified data sources
</p>
</div>
</div>
</div>
);
}
// Appendix Phase - Research Tools and Sources
if (gamePhase === 'appendix') {
return (
<div className="max-w-7xl mx-auto p-6 bg-gradient-to-br from-blue-50 to-indigo-100 min-h-screen">
<div className="bg-white rounded-xl shadow-xl p-8">
<div className="flex items-center justify-between mb-6">
<h1 className="text-3xl font-bold text-gray-800">Research Tools & Data Sources</h1>
<div className="flex space-x-4">
<button
onClick={() => setGamePhase('complete')}
className="px-6 py-2 bg-green-600 text-white rounded-lg hover:bg-green-700"
>
<Trophy className="w-4 h-4 inline mr-2" />
Complete Challenge
</button>
<button
onClick={() => setGamePhase('setup')}
className="px-6 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700"
>
New Research
</button>
</div>
</div>
{/* Comprehensive Data Sources */}
<div className="mb-8">
<h2 className="text-2xl font-bold mb-4 flex items-center">
<Database className="w-6 h-6 mr-2 text-green-600" />
Verified Research Data Sources
</h2>
<div className="grid md:grid-cols-4 gap-6">
{/* Government Sources */}
<div>
<h3 className="font-semibold text-green-700 mb-3 flex items-center">
<Shield className="w-4 h-4 mr-2" />
Government & Regulatory
</h3>
{researchSources.government.map((source, idx) => (
<div key={idx} className="mb-3 p-3 bg-green-50 rounded-lg">
<div className="font-medium text-sm">{source.name}</div>
<div className="text-xs text-blue-600 break-all">{source.url}</div>
<div className="text-xs text-gray-500 mt-1">{source.description}</div>
</div>
))}
</div>
{/* Financial Data */}
<div>
<h3 className="font-semibold text-blue-700 mb-3 flex items-center">
<BarChart3 className="w-4 h-4 mr-2" />
Financial Data
</h3>
{researchSources.financial.map((source, idx) => (
<div key={idx} className="mb-3 p-3 bg-blue-50 rounded-lg">
<div className="font-medium text-sm">{source.name}</div>
<div className="text-xs text-blue-600 break-all">{source.url}</div>
<div className="text-xs text-gray-500 mt-1">{source.description}</div>
</div>
))}
</div>
{/* Customer Reviews */}
<div>
<h3 className="font-semibold text-purple-700 mb-3 flex items-center">
<MessageSquare className="w-4 h-4 mr-2" />
Customer Reviews
</h3>
{researchSources.reviews.map((source, idx) => (
<div key={idx} className="mb-3 p-3 bg-purple-50 rounded-lg">
<div className="font-medium text-sm">{source.name}</div>
<div className="text-xs text-blue-600 break-all">{source.url}</div>
<div className="text-xs text-gray-500 mt-1">{source.description}</div>
</div>
))}
</div>
{/* Specialized Sources */}
<div>
<h3 className="font-semibold text-orange-700 mb-3 flex items-center">
<Star className="w-4 h-4 mr-2" />
Specialized Analysis
</h3>
{researchSources.specialized.map((source, idx) => (
<div key={idx} className="mb-3 p-3 bg-orange-50 rounded-lg">
<div className="font-medium text-sm">{source.name}</div>
<div className="text-xs text-blue-600 break-all">{source.url}</div>
<div className="text-xs text-gray-500 mt-1">{source.description}</div>
</div>
))}
</div>
</div>
</div>
{/* Enhanced Question Framework Summary */}
<div className="mb-8">
<h2 className="text-2xl font-bold mb-4 flex items-center">
<Lightbulb className="w-6 h-6 mr-2 text-blue-600" />
Enhanced Question Framework (120 Questions)
</h2>
<div className="grid md:grid-cols-3 gap-4">
{researchSections.map((section, idx) => (
<div key={section.id} className="bg-gray-50 rounded-lg p-4">
<div className="flex items-center mb-3">
<div className={`w-8 h-8 ${section.color} rounded-lg flex items-center justify-center text-white mr-3`}>
{section.icon}
</div>
<div>
<h3 className="font-semibold text-sm">{section.name}</h3>
<div className="text-xs text-gray-500">{section.questions.length} questions</div>
</div>
</div>
<p className="text-xs text-gray-600 mb-2">{section.description}</p>
<div className="text-xs text-gray-500">
Focus: {section.id === 'corporate' ? 'Structure, governance, financials' :
section.id === 'market' ? 'Competition, positioning, growth' :
section.id === 'product' ? 'Offerings, innovation, differentiation' :
section.id === 'customer' ? 'Segments, acquisition, retention' :
section.id === 'financial' ? 'Performance, risk, compliance' :
'Investment thesis, valuation, strategy'}
</div>
</div>
))}
</div>
</div>
{/* Research Methodology Guidelines */}
<div className="bg-gray-50 rounded-lg p-6">
<h3 className="text-lg font-bold mb-3">Institutional Research Methodology</h3>
<div className="grid md:grid-cols-2 gap-4 text-sm">
<div>
<h4 className="font-semibold mb-2">Data Collection Standards:</h4>
<ul className="space-y-1 text-gray-700">
<li>• Use multiple primary sources for cross-validation</li>
<li>• Verify all quantitative data with regulatory filings</li>
<li>• Focus on quarterly trends rather than point-in-time snapshots</li>
<li>• Include peer group analysis for all major metrics</li>
<li>• Cite specific data sources and collection dates</li>
<li>• Apply appropriate risk adjustments and scenario analysis</li>
</ul>
</div>
<div>
<h4 className="font-semibold mb-2">Analysis Framework:</h4>
<ul className="space-y-1 text-gray-700">
<li>• Generate exactly 2 paragraphs per section (12 total)</li>
<li>• Include 5-7 sentences per paragraph with quantitative data</li>
<li>• Apply 3-5 year historical trend analysis</li>
<li>• Include forward-looking assessments and growth projections</li>
<li>• Weight customer feedback and satisfaction data appropriately</li>
<li>• Provide actionable investment recommendations with rationale</li>
</ul>
</div>
</div>
</div>
</div>
</div>
);
}
// Completion Phase
return (
<div className="max-w-6xl mx-auto p-6 bg-gradient-to-br from-green-50 to-blue-100 min-h-screen">
<div className="text-center">
<Trophy className="w-16 h-16 text-yellow-500 mx-auto mb-4" />
<h1 className="text-4xl font-bold text-gray-800 mb-2">Enhanced Research Challenge Complete!</h1>
<p className="text-xl text-gray-600 mb-6">
Successfully completed institutional-grade buy-side research analysis for {selectedBank}
</p>
<div className="bg-white rounded-xl shadow-xl p-8 max-w-2xl mx-auto">
<h2 className="text-2xl font-bold mb-6">Final Research Score</h2>
<div className="text-6xl font-bold text-blue-600 mb-4">{score}</div>
<div className="grid grid-cols-3 gap-4 text-sm mb-6">
<div className="p-4 bg-gray-50 rounded-lg">
<div className="font-semibold">Sections Analyzed</div>
<div className="text-2xl font-bold text-green-600">{researchSections.length}/6</div>
</div>
<div className="p-4 bg-gray-50 rounded-lg">
<div className="font-semibold">Questions Addressed</div>
<div className="text-2xl font-bold text-blue-600">120</div>
</div>
<div className="p-4 bg-gray-50 rounded-lg">
<div className="font-semibold">Analysis Quality</div>
<div className="text-2xl font-bold text-purple-600">Institutional</div>
</div>
</div>
<button
onClick={() => {
setGamePhase('setup');
setSelectedBank('');
setCurrentSection(0);
setResearchProgress({});
setReportData({});
setScore(0);
setTimeStarted(null);
}}
className="mt-4 px-6 py-3 bg-blue-600 text-white rounded-lg hover:bg-blue-700"
>
Start New Enhanced Research Challenge
</button>
</div>
</div>
</div>
);
};
export default EnhancedBankResearchChallenge;