553 lines
17 KiB
HTML
553 lines
17 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=1920, height=1080">
|
|
<title>Stripe MCP - Full Flow Animation</title>
|
|
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
|
|
<style>
|
|
:root {
|
|
--bg-primary: #0f0f1a;
|
|
--bg-secondary: #1a1a2e;
|
|
--bg-tertiary: #252542;
|
|
--text-primary: #FFFFFF;
|
|
--text-secondary: #A0A0B8;
|
|
--text-muted: #6B6B80;
|
|
--border-default: rgba(255,255,255,0.1);
|
|
--border-subtle: rgba(255,255,255,0.05);
|
|
--accent-gradient: linear-gradient(135deg, #667eea, #764ba2);
|
|
--stripe-purple: #635BFF;
|
|
}
|
|
|
|
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
|
|
body {
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
|
|
background:
|
|
radial-gradient(ellipse at 30% 20%, rgba(99, 91, 255, 0.1) 0%, transparent 50%),
|
|
radial-gradient(ellipse at 70% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
|
|
var(--bg-primary);
|
|
width: 1920px;
|
|
height: 1080px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.chat-window {
|
|
width: 1400px;
|
|
height: 850px;
|
|
background: var(--bg-secondary);
|
|
border-radius: 20px;
|
|
box-shadow: 0 25px 80px rgba(0,0,0,0.5);
|
|
display: flex;
|
|
flex-direction: column;
|
|
border: 1px solid var(--border-default);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.chat-header {
|
|
height: 56px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 24px;
|
|
background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
}
|
|
|
|
.window-controls { display: flex; gap: 8px; }
|
|
.window-dot { width: 12px; height: 12px; border-radius: 50%; }
|
|
.window-dot-red { background: #ff5f56; }
|
|
.window-dot-yellow { background: #ffbd2e; }
|
|
.window-dot-green { background: #27ca40; }
|
|
|
|
.chat-header-title { font-size: 14px; font-weight: 500; color: var(--text-secondary); }
|
|
|
|
.chat-header-avatar {
|
|
width: 32px; height: 32px; border-radius: 50%;
|
|
background: var(--accent-gradient);
|
|
display: flex; align-items: center; justify-content: center;
|
|
}
|
|
|
|
.chat-messages {
|
|
flex: 1;
|
|
padding: 32px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Messages */
|
|
.message-user {
|
|
align-self: flex-end;
|
|
max-width: 70%;
|
|
padding: 16px 24px;
|
|
background: var(--accent-gradient);
|
|
color: var(--text-primary);
|
|
border-radius: 20px;
|
|
border-bottom-right-radius: 6px;
|
|
font-size: 15px;
|
|
line-height: 1.5;
|
|
opacity: 0;
|
|
animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
|
}
|
|
|
|
.message-user.delay-1 { animation-delay: 0.3s; }
|
|
|
|
.message-ai-container {
|
|
display: flex;
|
|
gap: 16px;
|
|
align-items: flex-start;
|
|
opacity: 0;
|
|
animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
|
}
|
|
|
|
.message-ai-container.delay-1 { animation-delay: 0.8s; }
|
|
.message-ai-container.delay-2 { animation-delay: 2.8s; }
|
|
|
|
.ai-avatar {
|
|
width: 40px; height: 40px; border-radius: 50%;
|
|
background: var(--accent-gradient);
|
|
display: flex; align-items: center; justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.ai-avatar svg { width: 22px; height: 22px; }
|
|
|
|
.ai-content { flex: 1; display: flex; flex-direction: column; gap: 12px; }
|
|
|
|
.message-ai-text {
|
|
background: rgba(255,255,255,0.05);
|
|
color: var(--text-primary);
|
|
padding: 16px 24px;
|
|
border-radius: 20px;
|
|
border-bottom-left-radius: 6px;
|
|
font-size: 15px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* Option buttons */
|
|
.options-grid {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.option-btn {
|
|
padding: 12px 20px;
|
|
background: var(--bg-tertiary);
|
|
border: 1px solid var(--border-default);
|
|
border-radius: 12px;
|
|
color: var(--text-primary);
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
opacity: 0;
|
|
animation: fadeIn 0.4s ease forwards;
|
|
}
|
|
|
|
.option-btn:nth-child(1) { animation-delay: 1.2s; }
|
|
.option-btn:nth-child(2) { animation-delay: 1.35s; }
|
|
.option-btn:nth-child(3) { animation-delay: 1.5s; }
|
|
|
|
.option-btn.selected {
|
|
background: var(--stripe-purple);
|
|
border-color: var(--stripe-purple);
|
|
animation: selectPulse 0.5s ease forwards;
|
|
animation-delay: 2.2s;
|
|
}
|
|
|
|
.option-icon {
|
|
width: 24px; height: 24px; border-radius: 6px;
|
|
display: flex; align-items: center; justify-content: center;
|
|
font-size: 12px; font-weight: 700; color: white;
|
|
}
|
|
|
|
.option-icon.stripe { background: var(--stripe-purple); }
|
|
.option-icon.qb { background: #2CA01C; }
|
|
.option-icon.ghl { background: #FF6B35; }
|
|
|
|
/* Processing message */
|
|
.processing-text {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.spinner {
|
|
width: 18px; height: 18px;
|
|
border: 2px solid var(--border-default);
|
|
border-top-color: var(--stripe-purple);
|
|
border-radius: 50%;
|
|
animation: spin 0.8s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* Stripe Embed with center-grow animation */
|
|
.stripe-embed-wrapper {
|
|
display: flex;
|
|
justify-content: center;
|
|
opacity: 0;
|
|
animation: embedAppear 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
|
animation-delay: 3.5s;
|
|
}
|
|
|
|
.stripe-embed {
|
|
background: #FFFFFF;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 20px rgba(99, 91, 255, 0.15), 0 0 0 1px rgba(99, 91, 255, 0.2);
|
|
transform: scale(0.7);
|
|
animation: embedGrow 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
|
|
animation-delay: 3.8s;
|
|
width: 580px;
|
|
}
|
|
|
|
@keyframes slideUp {
|
|
from { opacity: 0; transform: translateY(30px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; transform: scale(0.95); }
|
|
to { opacity: 1; transform: scale(1); }
|
|
}
|
|
|
|
@keyframes selectPulse {
|
|
0% { transform: scale(1); }
|
|
50% { transform: scale(1.05); }
|
|
100% { transform: scale(1); }
|
|
}
|
|
|
|
@keyframes embedAppear {
|
|
from { opacity: 0; transform: translateY(20px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
@keyframes embedGrow {
|
|
from { transform: scale(0.7); }
|
|
to { transform: scale(1); }
|
|
}
|
|
|
|
@keyframes rowFadeIn {
|
|
from { opacity: 0; transform: translateX(-10px); }
|
|
to { opacity: 1; transform: translateX(0); }
|
|
}
|
|
|
|
/* Stripe styles */
|
|
.stripe-header {
|
|
padding: 14px 18px;
|
|
border-bottom: 1px solid #E3E8EE;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.stripe-logo {
|
|
background: #635BFF;
|
|
color: white;
|
|
font-weight: 700;
|
|
font-size: 12px;
|
|
padding: 5px 10px;
|
|
border-radius: 5px;
|
|
letter-spacing: -0.3px;
|
|
}
|
|
|
|
.stripe-title { font-size: 14px; font-weight: 600; color: #1A1F36; }
|
|
.stripe-subtitle { font-size: 11px; color: #697386; margin-top: 1px; }
|
|
|
|
.stripe-stat-row {
|
|
display: flex;
|
|
gap: 28px;
|
|
padding: 14px 18px;
|
|
background: #F6F9FC;
|
|
border-bottom: 1px solid #E3E8EE;
|
|
}
|
|
|
|
.stripe-stat { display: flex; flex-direction: column; gap: 3px; }
|
|
.stripe-stat-value { font-size: 20px; font-weight: 600; color: #1A1F36; }
|
|
.stripe-stat-value.success { color: #30B566; }
|
|
.stripe-stat-label { font-size: 10px; color: #697386; text-transform: uppercase; letter-spacing: 0.5px; }
|
|
|
|
.stripe-table { width: 100%; border-collapse: collapse; font-size: 12px; }
|
|
|
|
.stripe-table th {
|
|
text-align: left;
|
|
padding: 10px 18px;
|
|
font-size: 10px;
|
|
font-weight: 500;
|
|
color: #697386;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
background: #F6F9FC;
|
|
border-bottom: 1px solid #E3E8EE;
|
|
}
|
|
|
|
.stripe-table td {
|
|
padding: 11px 18px;
|
|
border-bottom: 1px solid #E3E8EE;
|
|
color: #1A1F36;
|
|
}
|
|
|
|
.stripe-table tr:last-child td { border-bottom: none; }
|
|
|
|
.stripe-table tbody tr {
|
|
opacity: 0;
|
|
animation: rowFadeIn 0.4s ease forwards;
|
|
}
|
|
.stripe-table tbody tr:nth-child(1) { animation-delay: 4.2s; }
|
|
.stripe-table tbody tr:nth-child(2) { animation-delay: 4.35s; }
|
|
.stripe-table tbody tr:nth-child(3) { animation-delay: 4.5s; }
|
|
|
|
.stripe-status {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 3px 8px;
|
|
border-radius: 4px;
|
|
font-size: 10px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.stripe-status.success { background: #D7F7E0; color: #0E6245; }
|
|
.stripe-status.pending { background: #FFF8E6; color: #9C6F19; }
|
|
|
|
.stripe-status-dot {
|
|
width: 5px; height: 5px; border-radius: 50%; background: currentColor;
|
|
}
|
|
|
|
.stripe-customer { display: flex; flex-direction: column; gap: 1px; }
|
|
.stripe-customer-email { color: #1A1F36; font-weight: 500; font-size: 12px; }
|
|
.stripe-customer-id { font-size: 10px; color: #697386; font-family: monospace; }
|
|
|
|
.stripe-date { color: #697386; font-size: 11px; }
|
|
|
|
/* Input */
|
|
.chat-input-container {
|
|
padding: 16px 24px 24px;
|
|
border-top: 1px solid var(--border-subtle);
|
|
}
|
|
|
|
.chat-input {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
background: var(--bg-primary);
|
|
border: 1px solid var(--border-default);
|
|
border-radius: 16px;
|
|
padding: 12px 16px;
|
|
}
|
|
|
|
.chat-input input {
|
|
flex: 1;
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
font-size: 14px;
|
|
outline: none;
|
|
}
|
|
|
|
.chat-input-send {
|
|
width: 36px; height: 36px; border-radius: 10px;
|
|
background: var(--accent-gradient);
|
|
border: none;
|
|
display: flex; align-items: center; justify-content: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.chat-input-send svg { width: 18px; height: 18px; fill: white; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="chat-window">
|
|
|
|
<div class="chat-header">
|
|
<div class="window-controls">
|
|
<span class="window-dot window-dot-red"></span>
|
|
<span class="window-dot window-dot-yellow"></span>
|
|
<span class="window-dot window-dot-green"></span>
|
|
</div>
|
|
<span class="chat-header-title">AI Assistant</span>
|
|
<div class="chat-header-avatar">
|
|
<svg width="16" height="16" viewBox="0 0 24 24" fill="white">
|
|
<circle cx="12" cy="8" r="4"/>
|
|
<path d="M12 14c-6 0-8 3-8 5v1h16v-1c0-2-2-5-8-5z"/>
|
|
</svg>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="chat-messages">
|
|
|
|
<!-- User asks question -->
|
|
<div class="message-user delay-1">
|
|
How can we make some money today?
|
|
</div>
|
|
|
|
<!-- AI offers options -->
|
|
<div class="message-ai-container delay-1">
|
|
<div class="ai-avatar">
|
|
<svg viewBox="0 0 24 24" fill="white">
|
|
<path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"/>
|
|
</svg>
|
|
</div>
|
|
|
|
<div class="ai-content">
|
|
<div class="message-ai-text">
|
|
I can help with that! Here are a few options:
|
|
</div>
|
|
|
|
<div class="options-grid">
|
|
<div class="option-btn selected">
|
|
<span class="option-icon stripe">S</span>
|
|
Collect failed payments
|
|
</div>
|
|
<div class="option-btn">
|
|
<span class="option-icon qb">QB</span>
|
|
Send overdue invoices
|
|
</div>
|
|
<div class="option-btn">
|
|
<span class="option-icon ghl">G</span>
|
|
Follow up cold leads
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- AI processes selection -->
|
|
<div class="message-ai-container delay-2">
|
|
<div class="ai-avatar">
|
|
<svg viewBox="0 0 24 24" fill="white">
|
|
<path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"/>
|
|
</svg>
|
|
</div>
|
|
|
|
<div class="ai-content">
|
|
<div class="message-ai-text">
|
|
<div class="processing-text">
|
|
<span class="spinner"></span>
|
|
Connecting to Stripe and finding recovery opportunities...
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Embed with shrink-then-grow animation -->
|
|
<div class="stripe-embed-wrapper">
|
|
<div class="stripe-embed">
|
|
<div class="stripe-header">
|
|
<span class="stripe-logo">stripe</span>
|
|
<div>
|
|
<div class="stripe-title">Payment Recovery</div>
|
|
<div class="stripe-subtitle">Opportunities found • 3 customers</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="stripe-stat-row">
|
|
<div class="stripe-stat">
|
|
<span class="stripe-stat-value success">$1,247</span>
|
|
<span class="stripe-stat-label">Recoverable</span>
|
|
</div>
|
|
<div class="stripe-stat">
|
|
<span class="stripe-stat-value">3</span>
|
|
<span class="stripe-stat-label">Customers</span>
|
|
</div>
|
|
<div class="stripe-stat">
|
|
<span class="stripe-stat-value">87%</span>
|
|
<span class="stripe-stat-label">Success Rate</span>
|
|
</div>
|
|
</div>
|
|
|
|
<table class="stripe-table">
|
|
<thead>
|
|
<tr>
|
|
<th>Customer</th>
|
|
<th>Amount</th>
|
|
<th>Status</th>
|
|
<th>Last Attempt</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<div class="stripe-customer">
|
|
<span class="stripe-customer-email">john@example.com</span>
|
|
<span class="stripe-customer-id">cus_Nk4...x8J</span>
|
|
</div>
|
|
</td>
|
|
<td><strong>$449.00</strong></td>
|
|
<td>
|
|
<span class="stripe-status pending">
|
|
<span class="stripe-status-dot"></span>
|
|
Ready to retry
|
|
</span>
|
|
</td>
|
|
<td class="stripe-date">Jan 24</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<div class="stripe-customer">
|
|
<span class="stripe-customer-email">sarah@company.co</span>
|
|
<span class="stripe-customer-id">cus_Pk9...m2L</span>
|
|
</div>
|
|
</td>
|
|
<td><strong>$299.00</strong></td>
|
|
<td>
|
|
<span class="stripe-status success">
|
|
<span class="stripe-status-dot"></span>
|
|
Card updated
|
|
</span>
|
|
</td>
|
|
<td class="stripe-date">Jan 25</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<div class="stripe-customer">
|
|
<span class="stripe-customer-email">mike@startup.io</span>
|
|
<span class="stripe-customer-id">cus_Qj3...p7K</span>
|
|
</div>
|
|
</td>
|
|
<td><strong>$499.00</strong></td>
|
|
<td>
|
|
<span class="stripe-status pending">
|
|
<span class="stripe-status-dot"></span>
|
|
Ready to retry
|
|
</span>
|
|
</td>
|
|
<td class="stripe-date">Jan 23</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="chat-input-container">
|
|
<div class="chat-input">
|
|
<input type="text" placeholder="Type a message...">
|
|
<button class="chat-input-send">
|
|
<svg viewBox="0 0 24 24">
|
|
<path d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"/>
|
|
</svg>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|