Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>ProfileToPractice | AI Website Builder for Therapists</title> | |
| <!-- Icons --> | |
| <script src="https://unpkg.com/lucide@latest"></script> | |
| <!-- Fonts --> | |
| <link rel="preconnect" href="https://fonts.googleapis.com"> | |
| <link rel="preconnect" href="https://fonts.gstatic.com"> | |
| <link href="https://fonts.googleapis.com/css2?family=Inter:wght=300;400;500;600;700&family=Merriweather:wght=300;400;700&display=swap" rel="stylesheet"> | |
| <style> | |
| /* --- CSS VARIABLES & RESET --- */ | |
| :root { | |
| --primary: #2A4D5F; /* Deep Slate Blue */ | |
| --primary-light: #42687a; | |
| --accent: #D4AF37; /* Gold/Brass for premium feel */ | |
| --bg-app: #F7F9FC; | |
| --bg-white: #FFFFFF; | |
| --bg-soft: #EFF2F5; | |
| --text-main: #1A2026; | |
| --text-muted: #6B7280; | |
| --border: #E5E7EB; | |
| --success: #10B981; | |
| --warning: #F59E0B; | |
| --radius: 12px; | |
| --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05); | |
| --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); | |
| --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); | |
| --font-ui: 'Inter', sans-serif; | |
| --font-body: 'Inter', sans-serif; | |
| --font-serif: 'Merriweather', serif; | |
| } | |
| * { box-sizing: box-sizing; margin: 0; padding: 0; outline: none; } | |
| body { | |
| font-family: --font-ui; | |
| background-color: var(--bg-app); | |
| color: var(--text-main); | |
| line-height: 1.5; | |
| -webkit-font-smoothing: antialiased; | |
| overflow-x: hidden; /* Prevent horizontal scroll on app */ | |
| } | |
| /* --- UTILITIES --- */ | |
| .hidden { display: none ; } | |
| .flex { display: flex; } | |
| .flex-col { display: flex; flex-direction: column; } | |
| .items-center { align-items: center; } | |
| .justify-between { justify-content: space-between; } | |
| .justify-center { justify-content: center; } | |
| .gap-2 { gap: 0.5rem; } | |
| .gap-4 { gap: 1rem; } | |
| .w-full { width: 100%; } | |
| .h-full { height: 100%; } | |
| .text-center { text-align: center; } | |
| .font-serif { font-family: var(--font-serif); } | |
| .text-primary { color: var(--primary); } | |
| .text-muted { color: var(--text-muted); } | |
| .font-bold { font-weight: 700; } | |
| .uppercase { text-transform: uppercase; } | |
| .tracking-wide { letter-spacing: 0.05em; } | |
| /* --- BUTTONS --- */ | |
| .btn { | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| padding: 0.75rem 1.5rem; | |
| font-size: 0.95rem; | |
| font-weight: 500; | |
| border-radius: var(--radius); | |
| cursor: pointer; | |
| transition: all 0.2s ease; | |
| border: 1px solid transparent; | |
| gap: 0.5rem; | |
| } | |
| .btn-primary { | |
| background-color: var(--primary); | |
| color: white; | |
| box-shadow: var(--shadow-md); | |
| } | |
| .btn-primary:hover { | |
| background-color: var(--primary-light); | |
| transform: translateY(-1px); | |
| } | |
| .btn-outline { | |
| background-color: transparent; | |
| border-color: var(--border); | |
| color: var(--text-main); | |
| } | |
| .btn-outline:hover { | |
| border-color: var(--primary); | |
| color: var(--primary); | |
| } | |
| .btn-sm { padding: 0.4rem 0.8rem; font-size: 0.85rem; } | |
| /* --- LAYOUT STRUCTURE --- */ | |
| #app-container { | |
| min-height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| /* --- HEADER --- */ | |
| header { | |
| background: var(--bg-white); | |
| border-bottom: 1px solid var(--border); | |
| padding: 1rem 2rem; | |
| position: sticky; | |
| top: 0; | |
| z-index: 50; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| } | |
| .logo { | |
| font-weight: 700; | |
| font-size: 1.2rem; | |
| color: var(--primary); | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| } | |
| .anycoder-link { | |
| font-size: 0.8rem; | |
| color: var(--text-muted); | |
| text-decoration: none; | |
| border: 1px solid var(--border); | |
| padding: 0.2rem 0.6rem; | |
| border-radius: 4px; | |
| transition: color 0.2s; | |
| } | |
| .anycoder-link:hover { color: var(--primary); border-color: var(--primary); } | |
| /* --- VIEW: LANDING PAGE --- */ | |
| .view-landing { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| padding: 4rem 1rem; | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| animation: fadeIn 0.6s ease-out; | |
| } | |
| .hero-title { | |
| font-size: 3.5rem; | |
| line-height: 1.1; | |
| font-weight: 700; | |
| color: var(--text-main); | |
| max-width: 900px; | |
| text-align: center; | |
| margin-bottom: 1.5rem; | |
| } | |
| .hero-subtitle { | |
| font-size: 1.25rem; | |
| color: var(--text-muted); | |
| max-width: 600px; | |
| text-align: center; | |
| margin-bottom: 3rem; | |
| } | |
| .input-card { | |
| background: var(--bg-white); | |
| padding: 2rem; | |
| border-radius: var(--radius); | |
| box-shadow: var(--shadow-lg); | |
| width: 100%; | |
| max-width: 600px; | |
| border: 1px solid var(--border); | |
| } | |
| .input-group { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 1rem; | |
| } | |
| .url-input { | |
| padding: 1rem; | |
| border: 1px solid var(--border); | |
| border-radius: 8px; | |
| font-size: 1rem; | |
| width: 100%; | |
| transition: border-color 0.2s; | |
| } | |
| .url-input:focus { border-color: var(--primary); outline: none; } | |
| .features-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | |
| gap: 2rem; | |
| margin-top: 4rem; | |
| width: 100%; | |
| } | |
| .feature-card { | |
| background: var(--bg-white); | |
| padding: 2rem; | |
| border-radius: var(--radius); | |
| border: 1px solid var(--border); | |
| } | |
| .feature-icon { | |
| color: var(--primary); | |
| margin-bottom: 1rem; | |
| } | |
| /* --- VIEW: GENERATION LOADING --- */ | |
| .view-loading { | |
| flex: 1; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| background: var(--bg-white); | |
| } | |
| .loader-container { | |
| width: 100%; | |
| max-width: 500px; | |
| padding: 2rem; | |
| } | |
| .loader-header { | |
| display: flex; | |
| align-items: center; | |
| gap: 1rem; | |
| margin-bottom: 2rem; | |
| } | |
| .loader-steps { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 1rem; | |
| } | |
| .step { | |
| display: flex; | |
| align-items: center; | |
| gap: 1rem; | |
| opacity: 0.3; | |
| transition: opacity 0.3s, color 0.3s; | |
| font-size: 1rem; | |
| } | |
| .step.active { opacity: 1; color: var(--primary); font-weight: 600; } | |
| .step.completed { opacity: 1; color: var(--success); } | |
| .step-icon { width: 20px; height: 20px; } | |
| /* --- VIEW: VERIFICATION --- */ | |
| .view-verification { | |
| flex: 1; | |
| background: var(--bg-app); | |
| padding: 2rem; | |
| display: flex; | |
| flex-direction: column; | |
| max-width: 1000px; | |
| margin: 0 auto; | |
| } | |
| .verify-header { | |
| margin-bottom: 2rem; | |
| text-align: center; | |
| } | |
| .verify-grid { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 1.5rem; | |
| } | |
| .verify-card { | |
| background: var(--bg-white); | |
| padding: 1.5rem; | |
| border-radius: var(--radius); | |
| border: 1px solid var(--border); | |
| position: relative; | |
| } | |
| .verify-card.warning { border-left: 4px solid var(--warning); } | |
| .verify-card.confident { border-left: 4px solid var(--success); } | |
| .verify-label { | |
| font-size: 0.8rem; | |
| text-transform: uppercase; | |
| color: var(--text-muted); | |
| margin-bottom: 0.5rem; | |
| font-weight: 600; | |
| } | |
| .verify-input { | |
| width: 100%; | |
| border: none; | |
| background: transparent; | |
| font-size: 1.1rem; | |
| font-family: var(--font-ui); | |
| padding: 0.5rem; | |
| border-bottom: 1px solid var(--border); | |
| } | |
| .verify-input:focus { border-bottom: 1px solid var(--primary); } | |
| .badge { | |
| display: inline-block; | |
| padding: 0.2rem 0.6rem; | |
| border-radius: 4px; | |
| font-size: 0.75rem; | |
| font-weight: 600; | |
| margin-top: 0.5rem; | |
| } | |
| .badge-success { background: #E6FFFA; color: var(--success); } | |
| .badge-warning { background: #FFF7ED; color: var(--warning); } | |
| /* --- VIEW: EDITOR --- */ | |
| .view-editor { | |
| display: flex; | |
| height: 100vh; | |
| overflow: hidden; | |
| } | |
| /* Left: Website Preview */ | |
| .editor-preview { | |
| flex: 1; | |
| background: #e5e7eb; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| padding: 2rem; | |
| position: relative; | |
| } | |
| .website-frame { | |
| background: white; | |
| width: 100%; | |
| max-width: 900px; | |
| height: 100%; | |
| max-height: 800px; | |
| border-radius: 8px; | |
| box-shadow: var(--shadow-lg); | |
| overflow: hidden; | |
| display: flex; | |
| flex-direction: column; | |
| position: relative; | |
| } | |
| /* The Generated Website Styles */ | |
| .site-content { | |
| font-family: var(--font-body); | |
| color: #333; | |
| overflow-y: auto; | |
| height: 100%; | |
| } | |
| .site-nav { | |
| padding: 1.5rem 2rem; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| border-bottom: 1px solid #eee; | |
| } | |
| .site-hero { | |
| padding: 4rem 2rem; | |
| background: #FDFBF7; /* Warm paper */ | |
| text-align: center; | |
| } | |
| .site-hero h1 { | |
| font-family: var(--font-serif); | |
| font-size: 2.5rem; | |
| color: var(--primary); | |
| margin-bottom: 1rem; | |
| } | |
| .site-section { | |
| padding: 3rem 2rem; | |
| border-bottom: 1px solid #eee; | |
| } | |
| .site-section h2 { | |
| font-family: var(--font-serif); | |
| font-size: 1.8rem; | |
| margin-bottom: 1.5rem; | |
| color: var(--text-main); | |
| } | |
| .site-grid { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 2rem; | |
| } | |
| .site-card { | |
| padding: 1.5rem; | |
| background: #f9f9f9; | |
| border-radius: 6px; | |
| } | |
| .site-btn { | |
| background: var(--primary); | |
| color: white; | |
| padding: 0.8rem 1.5rem; | |
| border-radius: 4px; | |
| text-decoration: none; | |
| display: inline-block; | |
| margin-top: 1rem; | |
| } | |
| /* Right: Chat Panel */ | |
| .editor-chat { | |
| width: 400px; | |
| background: var(--bg-white); | |
| border-left: 1px solid var(--border); | |
| display: flex; | |
| flex-direction: column; | |
| box-shadow: -5px 0 15px rgba(0,0,0,0.05); | |
| z-index: 20; | |
| } | |
| .chat-header { | |
| padding: 1rem; | |
| border-bottom: 1px solid var(--border); | |
| background: var(--bg-soft); | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| } | |
| .chat-messages { | |
| flex: 1; | |
| padding: 1rem; | |
| overflow-y: auto; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 1rem; | |
| background: #fafafa; | |
| } | |
| .message { | |
| max-width: 85%; | |
| padding: 0.8rem 1rem; | |
| border-radius: 8px; | |
| font-size: 0.9rem; | |
| line-height: 1.4; | |
| } | |
| .message.ai { | |
| background: white; | |
| border: 1px solid var(--border); | |
| color: var(--text-main); | |
| border-left: 3px solid var(--primary); | |
| } | |
| .message.user { | |
| background: var(--primary); | |
| color: white; | |
| align-self: flex-end; | |
| } | |
| .chat-input-area { | |
| padding: 1rem; | |
| border-top: 1px solid var(--border); | |
| background: white; | |
| } | |
| .chat-input { | |
| width: 100%; | |
| padding: 0.8rem; | |
| border: 1px solid var(--border); | |
| border-radius: 6px; | |
| resize: none; | |
| font-family: var(--font-ui); | |
| margin-bottom: 0.5rem; | |
| } | |
| .suggested-actions { | |
| display: flex; | |
| gap: 0.5rem; | |
| flex-wrap: wrap; | |
| margin-top: 0.5rem; | |
| } | |
| .action-chip { | |
| background: var(--bg-soft); | |
| border: 1px solid var(--border); | |
| padding: 0.3rem 0.6rem; | |
| border-radius: 4px; | |
| font-size: 0.75rem; | |
| cursor: pointer; | |
| color: var(--text-muted); | |
| transition: all 0.2s; | |
| } | |
| .action-chip:hover { | |
| background: var(--primary); | |
| color: white; | |
| border-color: var(--primary); | |
| } | |
| /* Animations */ | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(10px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| /* Responsive */ | |
| @media (max-width: 768px) { | |
| .hero-title { font-size: 2.5rem; } | |
| .verify-grid { grid-template-columns: 1fr; } | |
| .view-editor { flex-direction: column; } | |
| .editor-chat { width: 100%; height: 40%; border-top: 1px solid var(--border); } | |
| .editor-preview { height: 60%; padding: 0; } | |
| .website-frame { max-height: 100%; border-radius: 0; } | |
| } | |
| </style> | |
| </body> |