The user wants me to build a web application for a "Sickle Cell Disease Transition-to-Adult-Care Accelerator." This is a specialized healthcare tool for young adults with sickle cell disease who are transitioning from pediatric to adult care.
Key features needed:
- Mentorship - Connecting patients with mentors who have gone through the transition
- Insurance Navigation - Helping understand insurance options, coverage, etc.
- Crisis Planning - Emergency preparedness, pain crisis protocols, medical information
I need to create a visually striking, modern, high-polish frontend that feels intentional and professional. This is a healthcare application, so it should feel trustworthy, calming but also empowering and modern.
Design decisions:
- Typography: I'll use a distinctive headline font - maybe "Space Grotesk" for a modern technical feel, paired with "DM Sans" for UI elements
- Color palette: I'll go with a sophisticated healthcare palette - deep navy/dark teal as base, with a warm coral/salmon accent (avoiding the cliché purple gradient). This feels medical but warm and approachable.
- Background: Layered gradients with subtle organic shapes to represent blood flow/cells in an abstract way
- Layout: Dashboard-style interface with cards, clear sections for each feature
Features to include:
- Hero section introducing the accelerator
- Mentorship matching interface
- Insurance navigation tools
- Crisis planning/ emergency resources
- Progress tracker for transition milestones
Interactions:
- Tab navigation between sections
- Expandable crisis plan checklist
- Mentor card interactions
- Scroll reveal animations
- Theme considerations (respecting reduced motion)
Let me build this as a comprehensive single-page application with multiple sections and real functionality.
Sickle Cell Disease Transition-to-Adult-Care Accelerator
A comprehensive web application helping young adults with SCD navigate the complex transition from pediatric to adult care. Features include mentorship matching, insurance navigation, and crisis planning tools.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SCD Transition Accelerator | Bridge to Adult Care</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
:root {
--bg: #0a0f14;
--bg-elevated: #111920;
--fg: #f0f4f8;
--fg-muted: #8899a6;
--accent: #ff6b4a;
--accent-soft: rgba(255, 107, 74, 0.15);
--teal: #2dd4bf;
--teal-soft: rgba(45, 212, 191, 0.15);
--card: #151d26;
--card-hover: #1a252f;
--border: #243040;
--gradient-1: #1a0a0a;
--gradient-2: #0a1a1a;
}
* {
font-family: 'DM Sans', sans-serif;
}
h1, h2, h3, .headline {
font-family: 'Space Grotesk', sans-serif;
}
body {
background: var(--bg);
color: var(--fg);
}
.bg-mesh {
background:
radial-gradient(ellipse 80% 50% at 20% 40%, rgba(255, 107, 74, 0.08) 0%, transparent 50%),
radial-gradient(ellipse 60% 60% at 80% 20%, rgba(45, 212, 191, 0.06) 0%, transparent 50%),
radial-gradient(ellipse 50% 80% at 50% 80%, rgba(255, 107, 74, 0.04) 0%, transparent 50%),
var(--bg);
}
.cell-pattern {
position: absolute;
width: 100%;
height: 100%;
opacity: 0.03;
background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 45c-8.284 0-15-6.716-15-15 0-8.284 6.716-15 15-15 8.284 0 15 6.716 15 15 0 8.284-6.716 15-15 15zm0-6a9 9 0 1 0 0-18 9 9 0 0 0 0 18z' fill='%23ff6b4a' fill-opacity='1' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.card {
background: var(--card);
border: 1px solid var(--border);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover {
background: var(--card-hover);
border-color: rgba(255, 107, 74, 0.3);
transform: translateY(-2px);
}
.btn-primary {
background: var(--accent);
color: white;
transition: all 0.2s ease;
}
.btn-primary:hover {
background: #ff8266;
transform: translateY(-1px);
}
.btn-primary:active {
transform: translateY(0);
}
.btn-secondary {
background: transparent;
border: 1px solid var(--border);
color: var(--fg);
transition: all 0.2s ease;
}
.btn-secondary:hover {
border-color: var(--accent);
background: var(--accent-soft);
}
.progress-ring {
transform: rotate(-90deg);
}
.tab-active {
background: var(--accent-soft);
color: var(--accent);
border-color: var(--accent);
}
.checklist-item {
transition: all 0.2s ease;
}
.checklist-item.checked {
opacity: 0.6;
}
.checklist-item.checked .check-text {
text-decoration: line-through;
}
.mentor-card {
position: relative;
overflow: hidden;
}
.mentor-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, var(--accent), var(--teal));
transform: scaleX(0);
transform-origin: left;
transition: transform 0.3s ease;
}
.mentor-card:hover::before {
transform: scaleX(1);
}
.pulse-dot {
animation: pulse 2s infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.5; transform: scale(1.1); }
}
.fade-up {
opacity: 0;
transform: translateY(30px);
transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-up.visible {
opacity: 1;
transform: translateY(0);
}
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
.fade-up {
opacity: 1;
transform: none;
transition: none;
}
.pulse-dot {
animation: none;
}
}
.focus-ring:focus {
outline: none;
box-shadow: 0 0 0 3px var(--accent-soft), 0 0 0 1px var(--accent);
}
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: var(--bg);
}
::-webkit-scrollbar-thumb {
background: var(--border);
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--fg-muted);
}
</style>
</head>
<body class="bg-mesh min-h-screen">
<div class="cell-pattern fixed inset-0 pointer-events-none"></div>
<!-- Navigation -->
<nav class="fixed top-0 left-0 right-0 z-50 border-b border-[--border] bg-[--bg]/80 backdrop-blur-xl">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex items-center justify-between h-16">
<div class="flex items-center gap-3">
<div class="w-10 h-10 rounded-xl bg-gradient-to-br from-[--accent] to-[--teal] flex items-center justify-center">
<svg class="w-5 h-5 text-white" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"/>
</svg>
</div>
<span class="headline font-bold text-lg">SCD Bridge</span>
</div>
<div class="hidden md:flex items-center gap-1">
<button onclick="scrollToSection('mentorship')" class="px-4 py-2 rounded-lg text-sm text-[--fg-muted] hover:text-[--fg] hover:bg-[--card] transition focus-ring">Mentorship</button>
<button onclick="scrollToSection('insurance')" class="px-4 py-2 rounded-lg text-sm text-[--fg-muted] hover:text-[--fg] hover:bg-[--card] transition focus-ring">Insurance</button>
<button onclick="scrollToSection('crisis')" class="px-4 py-2 rounded-lg text-sm text-[--fg-muted] hover:text-[--fg] hover:bg-[--card] transition focus-ring">Crisis Plan</button>
</div>
<div class="flex items-center gap-3">
<button class="btn-secondary px-4 py-2 rounded-lg text-sm font-medium focus-ring">Sign In</button>
<button class="btn-primary px-4 py-2 rounded-lg text-sm font-medium focus-ring">Get Started</button>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="relative pt-32 pb-20 px-4 sm:px-6 lg:px-8 overflow-hidden">
<div class="max-w-7xl mx-auto">
<div class="grid lg:grid-cols-2 gap-12 items-center">
<div>
<div class="fade-up inline-flex items-center gap-2 px-3 py-1.5 rounded-full bg-[--accent-soft] border border-[--accent]/30 text-[--accent] text-sm font-medium mb-6">
<span class="pulse-dot w-2 h-2 rounded-full bg-[--accent]"></span>
500+ young adults supported
</div>
<h1 class="fade-up stagger-1 headline text-4xl sm:text-5xl lg:text-6xl font-bold leading-tight mb-6">
Your Bridge to<br>
<span class="text-transparent bg-clip-text bg-gradient-to-r from-[--accent] to-[--teal]">Confident Adult Care</span>
</h1>
<p class="fade-up stagger-2 text-lg text-[--fg-muted] mb-8 max-w-lg">
Navigate the transition from pediatric to adult sickle cell care with personalized mentorship, insurance guidance, and crisis planning tools.
</p>
<div class="fade-up stagger-3 flex flex-wrap gap-4">
<button class="btn-primary px-6 py-3 rounded-xl font-semibold focus-ring flex items-center gap-2">
Start Your Transition
<svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 8l4 4m0 0l-4 4m4-4H3"/>
</svg>
</button>
<button class="btn-secondary px-6 py-3 rounded-xl font-semibold focus-ring">
Take the Assessment
</button>
</div>
</div>
<div class="fade-up stagger-4 relative">
<!-- Progress Dashboard Preview -->
<div class="relative bg-[--card] rounded-2xl border border-[--border] p-6 shadow-2xl">
<div class="flex items-center justify-between mb-6">
<h3 class="headline font-semibold text-lg">Transition Progress</h3>
<span class="text-[--teal] text-sm font-medium">68% Complete</span>
</div>
<div class="h-2 bg-[--bg] rounded-full mb-8 overflow-hidden">
<div class="h-full bg-gradient-to-r from-[--accent] to-[--teal] rounded-full" style="width: 68%"></div>
</div>
<div class="grid grid-cols-3 gap-4 mb-6">
<div class="text-center p-4 rounded-xl bg-[--bg]">
<div class="text-2xl font-bold text-[--accent]">3/5</div>
<div class="text-xs text-[--fg-muted] mt-1">Mentor Sessions</div>
</div>
<div class="text-center p-4 rounded-xl bg-[--bg]">
<div class="text-2xl font-bold text-[--teal]">2/4</div>
<div class="text-xs text-[--fg-muted] mt-1">Insurance Steps</div>
</div>
<div class="text-center p-4 rounded-xl bg-[--bg]">
<div class="text-2xl font-bold text-[--fg]">1/3</div>
<div class="text-xs text-[--fg-muted] mt-1">Crisis Plans</div>
</div>
</div>
<div class="p-4 rounded-xl bg-[--teal-soft] border border-[--teal]/20">
<div class="flex items-start gap-3">
<div class="w-8 h-8 rounded-lg bg-[--teal]/20 flex items-center justify-center flex-shrink-0">
<svg class="w-4 h-4 text-[--teal]" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/>
</svg>
</div>
<div>
<div class="font-medium text-sm">Next: Insurance Verification</div>
<div class="text-xs text-[--fg-muted] mt-0.5">Confirm your adult provider accepts your insurance</div>
</div>
</div>
</div>
</div>
<!-- Decorative elements -->
<div class="absolute -top-4 -right-4 w-24 h-24 bg-[--accent]/10 rounded-full blur-2xl"></div>
<div class="absolute -bottom-4 -left-4 w-32 h-32 bg-[--teal]/10 rounded-full blur-2xl"></div>
</div>
</div>
</div>
</section>
<!-- Stats Banner -->
<section class="border-y border-[--border] bg-[--bg-elevated]/50 backdrop-blur-sm py-8">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-2 md:grid-cols-4 gap-8">
<div class="text-center">
<div class="text-3xl font-bold headline text-[--fg]">89%</div>
<div class="text-sm text-[--fg-muted] mt-1">Successful Transitions</div>
</div>
<div class="text-center">
<div class="text-3xl font-bold headline text-[--fg]">24/7</div>
<div class="text-sm text-[--fg-muted] mt-1">Crisis Support</div>
</div>
<div class="text-center">
<div class="text-3xl font-bold headline text-[--fg]">50+</div>
<div class="text-sm text-[--fg-muted] mt-1">Trained Mentors</div>
</div>
<div class="text-center">
<div class="text-3xl font-bold headline text-[--fg]">12</div>
<div class="text-sm text-[--fg-muted] mt-1">Partner Hospitals</div>
</div>
</div>
</div>
</section>
<!-- Mentorship Section -->
<section id="mentorship" class="py-20 px-4 sm:px-6 lg:px-8">
<div class="max-w-7xl mx-auto">
<div class="text-center mb-12">
<h2 class="fade-up headline text-3xl sm:text-4xl font-bold mb-4">Connect with Someone Who Gets It</h2>
<p class="fade-up stagger-1 text-[--fg-muted] max-w-2xl mx-auto">Our mentors are young adults living with SCD who've successfully navigated the transition. They're here to share real experience, not just medical advice.</p>
</div>
<!-- Mentor Matching Interface -->
<div class="fade-up stagger-2 grid lg:grid-cols-3 gap-6 mb-10">
<div class="lg:col-span-1">
<div class="card rounded-2xl p-6 h-full">
<h3 class="headline font-semibold text-lg mb-4">Find Your Match</h3>
<div class="space-y-4">
<div>
<label class="block text-sm text-[--fg-muted] mb-2">What matters most to you?</label>
<div class="flex flex-wrap gap-2" id="mentorPreferences">
<button onclick="togglePreference(this)" data-pref="career" class="pref-btn px-3 py-1.5 rounded-lg text-sm border border-[--border] hover:border-[--accent] transition focus-ring">Career Goals</button>
<button onclick="togglePreference(this)" data-pref="college" class="pref-btn px-3 py-1.5 rounded-lg text-sm border border-[--border] hover:border-[--accent] transition focus-ring">College Life</button>
<button onclick="togglePreference(this)" data-pref="relationships" class="pref-btn px-3 py-1.5 rounded-lg text-sm border border-[--border] hover:border-[--accent] transition focus-ring">Relationships</button>
<button onclick="togglePreference(this)" data-pref="mentalhealth" class="pref-btn px-3 py-1.5 rounded-lg text-sm border border-[--border] hover:border-[--accent] transition focus-ring">Mental Health</button>
<button onclick="togglePreference(this)" data-pref="pain" class="pref-btn px-3 py-1.5 rounded-lg text-sm border border-[--border] hover:border-[--accent] transition focus-ring">Pain Management</button>
<button onclick="togglePreference(this)" data-pref="advocacy" class="pref-btn px-3 py-1.5 rounded-lg text-sm border border-[--border] hover:border-[--accent] transition focus-ring">Self-Advocacy</button>
</div>
</div>
<div>
<label class="block text-sm text-[--fg-muted] mb-2">Communication Style</label>
<select class="w-full bg-[--bg] border border-[--border] rounded-lg px-4 py-2.5 text-sm focus-ring">
<option>Flexible & Casual</option>
<option>Structured & Goal-Oriented</option>
<option>Supportive Listener</option>
</select>
</div>
<button onclick="findMentors()" class="w-full btn-primary py-3 rounded-xl font-semibold focus-ring">
Find Mentors
</button>
</div>
</div>
</div>
<div class="lg:col-span-2">
<div class="grid sm:grid-cols-2 gap-4" id="mentorGrid">
<!-- Mentor cards will be rendered here -->
</div>
</div>
</div>
</div>
</section>
<!-- Insurance Navigation Section -->
<section id="insurance" class="py-20 px-4 sm:px-6 lg:px-8 border-t border-[--border]">
<div class="max-w-7xl mx-auto">
<div class="grid lg:grid-cols-2 gap-12 items-start">
<div>
<h2 class="fade-up headline text-3xl sm:text-4xl font-bold mb-4">Insurance Without the Headache</h2>
<p class="fade-up stagger-1 text-[--fg-muted] mb-8">Understanding your insurance options shouldn't require a law degree. Our step-by-step guides and tools make it simple.</p>
<!-- Insurance Tabs -->
<div class="fade-up stagger-2 flex gap-2 mb-6 overflow-x-auto pb-2" role="tablist">
<button onclick="switchInsuranceTab('coverage')" class="insurance-tab tab-active px-4 py-2 rounded-lg text-sm font-medium border border-transparent whitespace-nowrap focus-ring" role="tab" aria-selected="true">
Coverage Check
</button>
<button onclick="switchInsuranceTab('medicaid')" class="insurance-tab px-4 py-2 rounded-lg text-sm font-medium border border-transparent whitespace-nowrap focus-ring" role="tab" aria-selected="false">
Medicaid Transition
</button>
<button onclick="switchInsuranceTab('appeals')" class="insurance-tab px-4 py-2 rounded-lg text-sm font-medium border border-transparent whitespace-nowrap focus-ring" role="tab" aria-selected="false">
Appeals Help
</button>
</div>
<!-- Insurance Content Panels -->
<div class="fade-up stagger-3">
<div id="coverage-panel" class="insurance-panel">
<div class="card rounded-2xl p-6">
<h4 class="font-semibold mb-4">Verify Your Coverage</h4>
<div class="space-y-4">
<div>
<label class="block text-sm text-[--fg-muted] mb-2">Insurance Provider</label>
<input type="text" placeholder="e.g., Blue Cross Blue Shield" class="w-full bg-[--bg] border border-[--border] rounded-lg px-4 py-2.5 text-sm focus-ring">
</div>
<div>
<label class="block text-sm text-[--fg-muted] mb-2">Member ID</label>
<input type="text" placeholder="Enter your member ID" class="w-full bg-[--bg] border border-[--border] rounded-lg px-4 py-2.5 text-sm focus-ring">
</div>
<div>
<label class="block text-sm text-[--fg-muted] mb-2">New Adult Provider (optional)</label>
<input type="text" placeholder="Provider name or NPI number" class="w-full bg-[--bg] border border-[--border] rounded-lg px-4 py-2.5 text-sm focus-ring">
</div>
<button class="w-full btn-primary py-3 rounded-xl font-semibold focus-ring">
Check Coverage
</button>
</div>
</div>
</div>
<div id="medicaid-panel" class="insurance-panel hidden">
<div class="card rounded-2xl p-6">
<h4 class="font-semibold mb-4">Medicaid Age-Out Timeline</h4>
<p class="text-sm text-[--fg-muted] mb-4">If you're aging out of pediatric Medicaid, here's what to expect:</p>
<div class="space-y-3">
<div class="flex items-start gap-3 p-3 rounded-lg bg-[--bg]">
<div class="w-8 h-8 rounded-full bg-[--accent-soft] flex items-center justify-center flex-shrink-0 text-[--accent] font-bold text-sm">1</div>
<div>
<div class="font-medium text-sm">Age 20: Start Planning</div>
<div class="text-xs text-[--fg-muted]">Begin researching adult coverage options</div>
</div>
</div>
<div class="flex items-start gap-3 p-3 rounded-lg bg-[--bg]">
<div class="w-8 h-8 rounded-full bg-[--accent-soft] flex items-center justify-center flex-shrink-0 text-[--accent] font-bold text-sm">2</div>
<div>
<div class="font-medium text-sm">Age 21: Apply for Adult Medicaid</div>
<div class="text-xs text-[--fg-muted]">Income-based eligibility may apply</div>
</div>
</div>
<div class="flex items-start gap-3 p-3 rounded-lg bg-[--bg]">
<div class="w-8 h-8 rounded-full bg-[--accent-soft] flex items-center justify-center flex-shrink-0 text-[--accent] font-bold text-sm">3</div>
<div>
<div class="font-medium text-sm">Consider Marketplace Plans</div>
<div class="text-xs text-[--fg-muted]">May qualify for subsidies if Medicaid ineligible</div>
</div>
</div>
</div>
<button class="w-full btn-secondary py-3 rounded-xl font-semibold mt-4 focus-ring">
Download Full Checklist
</button>
</div>
</div>
<div id="appeals-panel" class="insurance-panel hidden">
<div class="card rounded-2xl p-6">
<h4 class="font-semibold mb-4">Appeal a Denial</h4>
<p class="text-sm text-[--fg-muted] mb-4">Had a claim or coverage denied? Here's how to fight back:</p>
<div class="space-y-3">
<div class="p-3 rounded-lg bg-[--bg] border-l-2 border-[--accent]">
<div class="font-medium text-sm">Request Internal Review</div>
<div class="text-xs text-[--fg-muted]">Usually within 30-60 days of denial</div>
</div>
<div class="p-3 rounded-lg bg-[--bg] border-l-2 border-[--teal]">
<div class="font-medium text-sm">File External Appeal</div>
<div class="text-xs text-[--fg-muted]">Independent review of your case</div>
</div>
<div class="p-3 rounded-lg bg-[--bg] border-l-2 border-[--fg-muted]">
<div class="font-medium text-sm">Get Help from Patient Advocates</div>
<div class="text-xs text-[--fg-muted]">Free support available through our partners</div>
</div>
</div>
<button class="w-full btn-primary py-3 rounded-xl font-semibold mt-4 focus-ring">
Start Appeal Process
</button>
</div>
</div>
</div>
</div>
<!-- Insurance Tips Sidebar -->
<div class="fade-up stagger-4">
<div class="card rounded-2xl p-6 mb-6">
<h4 class="font-semibold mb-4 flex items-center gap-2">
<svg class="w-5 h-5 text-[--teal]" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"/>
</svg>
Key Terms to Know
</h4>
<div class="space-y-3">
<div class="p-3 rounded-lg bg-[--bg]">
<div class="font-medium text-sm text-[--accent]">Deductible</div>
<div class="text-xs text-[--fg-muted]">Amount you pay before insurance kicks in</div>
</div>
<div class="p-3 rounded-lg bg-[--bg]">
<div class="font-medium text-sm text-[--teal]">Prior Authorization</div>
<div class="text-xs text-[--fg-muted]">Pre-approval needed for certain treatments</div>
</div>
<div class="p-3 rounded-lg bg-[--bg]">
<div class="font-medium text-sm text-[--fg]">Formulary</div>
<div class="text-xs text-[--fg-muted]">List of medications your plan covers</div>
</div>
<div class="p-3 rounded-lg bg-[--bg]">
<div class="font-medium text-sm text-[--fg]">Network</div>
<div class="text-xs text-[--fg-muted]">Doctors and hospitals in your plan</div>
</div>
</div>
</div>
<div class="card rounded-2xl p-6">
<h4 class="font-semibold mb-4">Need Expert Help?</h4>
<p class="text-sm text-[--fg-muted] mb-4">Our patient advocates can help you navigate complex insurance situations at no cost.</p>
<div class="flex items-center gap-4 mb-4">
<div class="w-12 h-12 rounded-full bg-[--teal-soft] flex items-center justify-center">
<svg class="w-6 h-6 text-[--teal]" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"/>
</svg>
</div>
<div>
<div class="font-medium">Patient Advocacy Line</div>
<div class="text-sm text-[--teal]">1-800-SCD-HELP</div>
</div>
</div>
<button class="w-full btn-secondary py-2.5 rounded-xl text-sm font-medium focus-ring">
Schedule a Call
</button>
</div>
</div>
</div>
</div>
</section>
<!-- Crisis Planning Section -->
<section id="crisis" class="py-20 px-4 sm:px-6 lg:px-8 border-t border-[--border]">
<div class="max-w-7xl mx-auto">
<div class="text-center mb-12">
<h2 class="fade-up headline text-3xl sm:text-4xl font-bold mb-4">Be Ready for Anything</h2>
<p class="fade-up stagger-1 text-[--fg-muted] max-w-2xl mx-auto">A crisis plan puts you in control. Document your needs, share with caregivers, and access emergency resources when you need them most.</p>
</div>
<div class="grid lg:grid-cols-3 gap-6">
<!-- Crisis Plan Builder -->
<div class="fade-up stagger-2 lg:col-span-2">
<div class="card rounded-2xl p-6">
<div class="flex items-center justify-between mb-6">
<h3 class="headline font-semibold text-lg">My Crisis Plan</h3>
<div class="flex items-center gap-2">
<span class="text-sm text-[--fg-muted]" id="checklistProgress">0 of 8 complete</span>
<button onclick="exportPlan()" class="btn-secondary px-3 py-1.5 rounded-lg text-xs font-medium focus-ring">
Export PDF
</button>
</div>
</div>
<div class="space-y-3" id="crisisChecklist">
<!-- Checklist items rendered by JS -->
</div>
</div>
</div>
<!-- Emergency Resources -->
<div class="fade-up stagger-3">
<div class="card rounded-2xl p-6 mb-6 border-l-4 border-l-[--accent]">
<h4 class="font-semibold mb-3 flex items-center gap-2">
<svg class="w-5 h-5 text-[--accent]" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"/>
</svg>
In a Crisis Now?
</h4>
<p class="text-sm text-[--fg-muted] mb-4">If you're experiencing a pain crisis, seek help immediately.</p>
<div class="space-y-2">
<a href="tel:911" class="flex items-center justify-between p-3 rounded-lg bg-[--accent]/10 text-[--accent] hover:bg-[--accent]/20 transition">
<span class="font-medium">Call 911</span>
<svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"/>
</svg>
</a>
<a href="tel:1800SCDHELP" class="flex items-center justify-between p-3 rounded-lg bg-[--bg] hover:bg-[--card-hover] transition">
<span class="font-medium">SCD Emergency Line</span>
<span class="text-sm text-[--fg-muted]">24/7</span>
</a>
</div>
</div>
<div class="card rounded-2xl p-6">
<h4 class="font-semibold mb-3">Quick Access</h4>
<div class="space-y-2">
<button onclick="showModal('hospital')" class="w-full text-left p-3 rounded-lg bg-[--bg] hover:bg-[--card-hover] transition flex items-center justify-between focus-ring">
<span class="text-sm">Find SCD-Friendly ERs</span>
<svg class="w-4 h-4 text-[--fg-muted]" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/>
</svg>
</button>
<button onclick="showModal('protocol')" class="w-full text-left p-3 rounded-lg bg-[--bg] hover:bg-[--card-hover] transition flex items-center justify-between focus-ring">
<span class="text-sm">Pain Protocol Card</span>
<svg class="w-4 h-4 text-[--fg-muted]" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/>
</svg>
</button>
<button onclick="showModal('contacts')" class="w-full text-left p-3 rounded-lg bg-[--bg] hover:bg-[--card-hover] transition flex items-center justify-between focus-ring">
<span class="text-sm">Emergency Contacts</span>
<svg class="w-4 h-4 text-[--fg-muted]" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/>
</svg>
</button>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Modal -->
<div id="modal" class="fixed inset-0 z-50 hidden items-center justify-center p-4" role="dialog" aria-modal="true">
<div class="absolute inset-0 bg-black/70 backdrop-blur-sm" onclick="closeModal()"></div>
<div class="relative bg-[--card] rounded-2xl border border-[--border] max-w-lg w-full max-h-[80vh] overflow-y-auto p-6">
<button onclick="closeModal()" class="absolute top-4 right-4 w-8 h-8 rounded-lg bg-[--bg] flex items-center justify-center hover:bg-[--card-hover] transition focus-ring" aria-label="Close modal">
<svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/>
</svg>
</button>
<div id="modalContent"></div>
</div>
</div>
<!-- Footer -->
<footer class="border-t border-[--border] py-12 px-4 sm:px-6 lg:px-8">
<div class="max-w-7xl mx-auto">
<div class="grid sm:grid-cols-2 lg:grid-cols-4 gap-8">
<div>
<div class="flex items-center gap-3 mb-4">
<div class="w-10 h-10 rounded-xl bg-gradient-to-br from-[--accent] to-[--teal] flex items-center justify-center">
<svg class="w-5 h-5 text-white" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"/>
</svg>
</div>
<span class="headline font-bold">SCD Bridge</span>
</div>
<p class="text-sm text-[--fg-muted]">Empowering young adults with sickle cell disease to take control of their healthcare journey.</p>
</div>
<div>
<h5 class="font-semibold mb-4">Programs</h5>
<ul class="space-y-2 text-sm text-[--fg-muted]">
<li><a href="#" class="hover:text-[--fg] transition">Mentorship</a></li>
<li><a href="#" class="hover:text-[--fg] transition">Insurance Help</a></li>
<li><a href="#" class="hover:text-[--fg] transition">Crisis Planning</a></li>
<li><a href="#" class="hover:text-[--fg] transition">Peer Support</a></li>
</ul>
</div>
<div>
<h5 class="font-semibold mb-4">Resources</h5>
<ul class="space-y-2 text-sm text-[--fg-muted]">
<li><a href="#" class="hover:text-[--fg] transition">Patient Handbook</a></li>
<li><a href="#" class="hover:text-[--fg] transition">Provider Directory</a></li>
<li><a href="#" class="hover:text-[--fg] transition">Financial Aid</a></li>
<li><a href="#" class="hover:text-[--fg] transition">Research Studies</a></li>
</ul>
</div>
<div>
<h5 class="font-semibold mb-4">Get Help</h5>
<ul class="space-y-2 text-sm text-[--fg-muted]">
<li><a href="#" class="hover:text-[--fg] transition">Contact Us</a></li>
<li><a href="#" class="hover:text-[--fg] transition">FAQ</a></li>
<li><a href="#" class="hover:text-[--fg] transition">Privacy Policy</a></li>
<li><a href="#" class="hover:text-[--fg] transition">Terms of Service</a></li>
</ul>
</div>
</div>
<div class="border-t border-[--border] mt-8 pt-8 text-center text-sm text-[--fg-muted]">
<p>SCD Bridge is a program of the Sickle Cell Disease Association of America. This tool does not replace professional medical advice.</p>
</div>
</div>
</footer>
<script>
// Data
const mentors = [
{
id: 1,
name: "Maya Johnson",
age: 24,
location: "Atlanta, GA",
diagnosis: "HbSS",
tags: ["college", "career", "mentalhealth"],
bio: "Graduate student who navigated college with SCD. Passionate about mental health and self-advocacy.",
availability: "Weekday evenings",
matched: false
},
{
id: 2,
name: "DeShawn Williams",
age: 27,
location: "Houston, TX",
diagnosis: "HbSC",
tags: ["career", "relationships", "advocacy"],
bio: "Software engineer and SCD advocate. Helped pass state legislation for SCD funding.",
availability: "Flexible",
matched: false
},
{
id: 3,
name: "Aaliyah Chen",
age: 22,
location: "Chicago, IL",
diagnosis: "HbSS",
tags: ["college", "pain", "mentalhealth"],
bio: "Recent grad who manages chronic pain alongside work. Big on mindfulness and pacing.",
availability: "Weekends",
matched: false
},
{
id: 4,
name: "Marcus Thompson",
age: 29,
location: "Philadelphia, PA",
diagnosis: "Beta Thalassemia",
tags: ["career", "advocacy", "relationships"],
bio: "Healthcare administrator who works on SCD policy. Married, understands relationship challenges.",
availability: "Weekday mornings",
matched: false
}
];
const crisisChecklistItems = [
{ id: 1, text: "Emergency contact list saved and shared", details: "Include hematologist, primary care, and family members" },
{ id: 2, text: "Current medication list documented", details: "Include dosages, frequencies, and prescribing doctors" },
{ id: 3, text: "Pain management preferences recorded", details: "What works for you, what doesn't, allergies" },
{ id: 4, text: "Hospital preference identified", details: "SCD-friendly ERs in your area" },
{ id: 5, text: "Insurance cards accessible", details: "Digital copies on phone, physical copies in wallet" },
{ id: 6, text: "Blood type and transfusion history noted", details: "Include any antibodies developed" },
{ id: 7, text: "Advance directive completed", details: "Specifies your care preferences" },
{ id: 8, text: "Care plan shared with trusted contacts", details: "So others can advocate for you if needed" }
];
let selectedPreferences = [];
let checkedItems = new Set();
// Initialize
document.addEventListener('DOMContentLoaded', () => {
renderMentors(mentors);
renderChecklist();
initScrollReveal();
});
// Scroll reveal
function initScrollReveal() {
const prefersReducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
if (prefersReducedMotion) {
document.querySelectorAll('.fade-up').forEach(el => {
el.classList.add('visible');
});
return;
}
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.classList.add('visible');
}
});
}, { threshold: 0.1, rootMargin: '0px 0px -50px 0px' });
document.querySelectorAll('.fade-up').forEach(el => observer.observe(el));
}
// Smooth scroll
function scrollToSection(id) {
document.getElementById(id).scrollIntoView({ behavior: 'smooth' });
}
// Mentor functions
function renderMentors(mentorList) {
const grid = document.getElementById('mentorGrid');
grid.innerHTML = mentorList.map(mentor => `
<div class="mentor-card card rounded-xl p-5">
<div class="flex items-start gap-4 mb-4">
<div class="w-12 h-12 rounded-full bg-gradient-to-br from-[--accent]/30 to-[--teal]/30 flex items-center justify-center text-lg font-bold">
${mentor.name.split(' ').map(n => n[0]).join('')}
</div>
<div class="flex-1">
<div class="font-semibold">${mentor.name}</div>
<div class="text-sm text-[--fg-muted]">${mentor.age} yrs • ${mentor.location}</div>
</div>
</div>
<p class="text-sm text-[--fg-muted] mb-3">${mentor.bio}</p>
<div class="flex flex-wrap gap-1.5 mb-4">
${mentor.tags.map(tag => `
<span class="px-2 py-0.5 rounded text-xs bg-[--bg] text-[--fg-muted]">${tag}</span>
`).join('')}
</div>
<div class="flex items-center justify-between">
<span class="text-xs text-[--teal]">${mentor.availability}</span>
<button onclick="requestMentor(${mentor.id})" class="btn-primary px-4 py-1.5 rounded-lg text-xs font-medium focus-ring">
Connect
</button>
</div>
</div>
`).join('');
}
function togglePreference(btn) {
const pref = btn.dataset.pref;
btn.classList.toggle('tab-active');
if (selectedPreferences.includes(pref)) {
selectedPreferences = selectedPreferences.filter(p => p !== pref);
} else {
selectedPreferences.push(pref);
}
}
function findMentors() {
if (selectedPreferences.length === 0) {
renderMentors(mentors);
return;
}
const filtered = mentors.filter(m =>
m.tags.some(tag => selectedPreferences.includes(tag))
);
renderMentors(filtered);
}
function requestMentor(id) {
const mentor = mentors.find(m => m.id === id);
alert(`Request sent to ${mentor.name}! They'll receive your profile and can reach out within 48 hours.`);
}
// Insurance tabs
function switchInsuranceTab(tab) {
document.querySelectorAll('.insurance-tab').forEach(t => {
t.classList.remove('tab-active');
t.setAttribute('aria-selected', 'false');
});
document.querySelectorAll('.insurance-panel').forEach(p => p.classList.add('hidden'));
event.target.classList.add('tab-active');
event.target.setAttribute('aria-selected', 'true');
document.getElementById(`${tab}-panel`).classList.remove('hidden');
}
// Crisis checklist
function renderChecklist() {
const container = document.getElementById('crisisChecklist');
container.innerHTML = crisisChecklistItems.map(item => `
<div class="checklist-item p-4 rounded-xl bg-[--bg] cursor-pointer hover:bg-[--card-hover] transition" onclick="toggleCheck(${item.id})" role="checkbox" aria-checked="${checkedItems.has(item.id)}" tabindex="0">
<div class="flex items-start gap-3">
<div class="w-5 h-5 rounded border-2 ${checkedItems.has(item.id) ? 'bg-[--teal] border-[--teal]' : 'border-[--border]'} flex items-center justify-center flex-shrink-0 mt-0.5 transition">
${checkedItems.has(item.id) ? '<svg class="w-3 h-3 text-white" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M5 13l4 4L19 7"/></svg>' : ''}
</div>
<div class="flex-1">
<div class="check-text font-medium text-sm">${item.text}</div>
<div class="text-xs text-[--fg-muted] mt-0.5">${item.details}</div>
</div>
</div>
</div>
`).join('');
updateProgress();
}
function toggleCheck(id) {
if (checkedItems.has(id)) {
checkedItems.delete(id);
} else {
checkedItems.add(id);
}
renderChecklist();
}
function updateProgress() {
document.getElementById('checklistProgress').textContent =
`${checkedItems.size} of ${crisisChecklistItems.length} complete`;
}
function exportPlan() {
const completed = crisisChecklistItems.filter(item => checkedItems.has(item.id));
alert(`Exporting crisis plan with ${completed.length} completed items. PDF would download here.`);
}
// Modal
const modalContent = {
hospital: `
<h3 class="headline text-xl font-bold mb-4">SCD-Friendly Emergency Rooms</h3>
<p class="text-sm text-[--fg-muted] mb-4">These ERs have protocols for sickle cell pain crises and experience with SCD patients.</p>
<div class="space-y-3">
<div class="p-3 rounded-lg bg-[--bg]">
<div class="font-medium">University Medical Center</div>
<div class="text-sm text-[--fg-muted]">3.2 miles • 24/7 SCD Protocol</div>
</div>
<div class="p-3 rounded-lg bg-[--bg]">
<div class="font-medium">City General Hospital</div>
<div class="text-sm text-[--fg-muted]">5.8 miles • Hematology On-Call</div>
</div>
<div class="p-3 rounded-lg bg-[--bg]">
<div class="font-medium">Regional Children's Hospital</div>
<div class="text-sm text-[--fg-muted]">8.1 miles • Adult transitions accepted</div>
</div>
</div>
`,
protocol: `
<h3 class="headline text-xl font-bold mb-4">My Pain Protocol Card</h3>
<p class="text-sm text-[--fg-muted] mb-4">Show this to ER staff. It communicates your needs quickly.</p>
<div class="border border-[--accent]/30 rounded-xl p-4 bg-[--accent]/5">
<div class="text-center mb-4">
<div class="text-xs text-[--accent] font-medium mb-1">SICKLE CELL DISEASE PATIENT</div>
<div class="text-lg font-bold">PAIN CRISIS PROTOCOL</div>
</div>
<div class="space-y-2 text-sm">
<div><span class="text-[--fg-muted]">Diagnosis:</span> HbSS Sickle Cell Anemia</div>
<div><span class="text-[--fg-muted]">Blood Type:</span> A+</div>
<div><span class="text-[--fg-muted]">Allergies:</span> NSAIDs (due to renal function)</div>
<div><span class="text-[--fg-muted]">Typical Regimen:</span> IV Hydration + Opioid PCA</div>
<div><span class="text-[--fg-muted]">Hematologist:</span> Dr. Smith (555-0123)</div>
</div>
</div>
<button class="w-full btn-primary py-3 rounded-xl font-semibold mt-4 focus-ring">
Print Card
</button>
`,
contacts: `
<h3 class="headline text-xl font-bold mb-4">Emergency Contacts</h3>
<p class="text-sm text-[--fg-muted] mb-4">These contacts will be notified in a crisis.</p>
<div class="space-y-3">
<div class="p-3 rounded-lg bg-[--bg] flex items-center justify-between">
<div>
<div class="font-medium">Mom (Primary)</div>
<div class="text-sm text-[--fg-muted]">555-0101</div>
</div>
<span class="text-xs px-2 py-1 rounded bg-[--teal-soft] text-[--teal]">Primary</span>
</div>
<div class="p-3 rounded-lg bg-[--bg] flex items-center justify-between">
<div>
<div class="font-medium">Dr. Smith (Hematologist)</div>
<div class="text-sm text-[--fg-muted]">555-0199</div>
</div>
<span class="text-xs px-2 py-1 rounded bg-[--accent-soft] text-[--accent]">Medical</span>
</div>
<div class="p-3 rounded-lg bg-[--bg] flex items-center justify-between">
<div>
<div class="font-medium">Best Friend</div>
<div class="text-sm text-[--fg-muted]">555-0155</div>
</div>
<span class="text-xs px-2 py-1 rounded bg-[--bg] text-[--fg-muted]">Support</span>
</div>
</div>
<button class="w-full btn-secondary py-2.5 rounded-xl text-sm font-medium mt-4 focus-ring">
+ Add Contact
</button>
`
};
function showModal(type) {
const modal = document.getElementById('modal');
document.getElementById('modalContent').innerHTML = modalContent[type];
modal.classList.remove('hidden');
modal.classList.add('flex');
document.body.style.overflow = 'hidden';
}
function closeModal() {
const modal = document.getElementById('modal');
modal.classList.add('hidden');
modal.classList.remove('flex');
document.body.style.overflow = '';
}
// Keyboard support for modal
document.addEventListener('keydown', (e) => {
if (e.key === 'Escape') {
closeModal();
}
});
// Keyboard support for checklist
document.addEventListener('keydown', (e) => {
if (e.key === 'Enter' || e.key === ' ') {
if (e.target.classList.contains('checklist-item')) {
e.preventDefault();
e.target.click();
}
}
});
</script>
</body>
</html>
Key Features
1. Mentorship Matching
- Preference-based mentor filtering (career, college, mental health, etc.)
- Detailed mentor profiles with SCD-specific tags
- Real availability information and connection requests
2. Insurance Navigation
- Coverage Check: Verify providers accept your insurance
- Medicaid Transition: Age-out timeline with actionable steps
- Appeals Help: Step-by-step denial response guide
- Key insurance terms glossary for health literacy
3. Crisis Planning
- Interactive checklist with progress tracking
- One-click emergency resources (911, SCD hotline)
- Pain Protocol Card: Ready-to-show ER communication
- SCD-friendly hospital finder
- Emergency contact management
Design Decisions
- Color Palette: Deep navy base with coral accent (avoiding clinical blue) — feels warm yet medical
- Typography: Space Grotesk for headlines (modern, technical) + DM Sans for body (readable)
- Background: Layered organic gradients suggesting blood flow/cells abstractly
- Interactions: Scroll reveal, preference toggles, tab navigation, modal dialogs, checklist with state
The interface respects prefers-reduced-motion and includes full keyboard navigation + ARIA labels for accessibility.