Spaces:
Sleeping
Sleeping
| /* Reset and Base Styles */ | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| :root { | |
| /* Geist Color System */ | |
| --color-bg: #ffffff; | |
| --color-bg-secondary: #fafafa; | |
| --color-text: #000000; | |
| --color-text-secondary: #666666; | |
| --color-text-tertiary: #888888; | |
| --color-border: #e5e7eb; | |
| --color-border-hover: #d1d5db; | |
| --color-hover: #f5f5f5; | |
| --color-primary: #000000; | |
| /* Spacing */ | |
| --spacing-xs: 0.25rem; | |
| --spacing-sm: 0.5rem; | |
| --spacing-md: 1rem; | |
| --spacing-lg: 1.5rem; | |
| --spacing-xl: 2rem; | |
| --spacing-2xl: 3rem; | |
| /* Border Radius */ | |
| --radius-sm: 0.375rem; | |
| --radius-md: 0.5rem; | |
| --radius-lg: 0.75rem; | |
| --radius-xl: 1rem; | |
| --radius-full: 9999px; | |
| } | |
| body { | |
| font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', | |
| 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; | |
| -webkit-font-smoothing: antialiased; | |
| -moz-osx-font-smoothing: grayscale; | |
| background-color: var(--color-bg); | |
| color: var(--color-text); | |
| line-height: 1.5; | |
| font-size: 14px; | |
| } | |
| /* Top Navigation */ | |
| .top-nav { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| padding: var(--spacing-md) var(--spacing-2xl); | |
| border-bottom: 1px solid var(--color-border); | |
| background-color: var(--color-bg); | |
| position: sticky; | |
| top: 0; | |
| z-index: 100; | |
| height: 60px; | |
| } | |
| .nav-left { | |
| display: flex; | |
| align-items: center; | |
| gap: var(--spacing-2xl); | |
| } | |
| .logo { | |
| display: flex; | |
| align-items: center; | |
| text-decoration: none; | |
| color: var(--color-text); | |
| font-size: 16px; | |
| font-weight: 600; | |
| } | |
| .nav-links { | |
| display: flex; | |
| align-items: center; | |
| gap: var(--spacing-lg); | |
| } | |
| .nav-link { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.25rem; | |
| padding: var(--spacing-sm) var(--spacing-md); | |
| color: var(--color-text-secondary); | |
| text-decoration: none; | |
| font-size: 13px; | |
| font-weight: 500; | |
| border: none; | |
| background: none; | |
| cursor: pointer; | |
| transition: color 0.15s ease; | |
| border-radius: var(--radius-md); | |
| } | |
| .nav-link:hover { | |
| color: var(--color-text); | |
| background-color: var(--color-hover); | |
| } | |
| .nav-link.dropdown svg { | |
| width: 12px; | |
| height: 12px; | |
| margin-left: 2px; | |
| } | |
| .nav-right { | |
| display: flex; | |
| align-items: center; | |
| gap: var(--spacing-md); | |
| } | |
| .btn-secondary { | |
| padding: 0.4rem 0.875rem; | |
| border: 1px solid var(--color-border); | |
| background: var(--color-bg); | |
| color: var(--color-text); | |
| font-size: 13px; | |
| font-weight: 500; | |
| border-radius: var(--radius-md); | |
| cursor: pointer; | |
| transition: all 0.15s ease; | |
| } | |
| .btn-secondary:hover { | |
| background: var(--color-hover); | |
| border-color: var(--color-border-hover); | |
| } | |
| .btn-primary { | |
| padding: 0.4rem 0.875rem; | |
| border: 1px solid var(--color-border); | |
| background: var(--color-bg); | |
| color: var(--color-text); | |
| font-size: 13px; | |
| font-weight: 500; | |
| border-radius: var(--radius-md); | |
| cursor: pointer; | |
| transition: all 0.15s ease; | |
| } | |
| .btn-primary:hover { | |
| background: var(--color-hover); | |
| border-color: var(--color-border-hover); | |
| } | |
| /* Main Container */ | |
| .main-container { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: var(--spacing-2xl); | |
| } | |
| /* Hero Section */ | |
| .hero { | |
| text-align: center; | |
| padding: 4rem 0 5rem 0; | |
| position: relative; | |
| } | |
| .hero-watermark { | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| transform: translate(-50%, -50%); | |
| font-size: 240px; | |
| font-weight: 700; | |
| color: rgba(0, 0, 0, 0.02); | |
| letter-spacing: -0.05em; | |
| z-index: 0; | |
| pointer-events: none; | |
| user-select: none; | |
| } | |
| .hero-title { | |
| font-size: 48px; | |
| font-weight: 600; | |
| margin-bottom: var(--spacing-md); | |
| letter-spacing: -0.03em; | |
| line-height: 1.1; | |
| position: relative; | |
| z-index: 1; | |
| } | |
| .hero-subtitle { | |
| font-size: 16px; | |
| color: var(--color-text-secondary); | |
| margin-bottom: var(--spacing-2xl); | |
| font-weight: 400; | |
| position: relative; | |
| z-index: 1; | |
| } | |
| /* Input Container */ | |
| .input-container { | |
| display: flex; | |
| align-items: center; | |
| max-width: 600px; | |
| margin: 0 auto; | |
| padding: 0.5rem; | |
| border: 1px solid var(--color-border); | |
| border-radius: var(--radius-xl); | |
| background: var(--color-bg); | |
| transition: all 0.15s ease; | |
| position: relative; | |
| z-index: 1; | |
| } | |
| .input-container:hover { | |
| border-color: var(--color-border-hover); | |
| } | |
| .input-container:focus-within { | |
| border-color: var(--color-text); | |
| box-shadow: 0 0 0 1px var(--color-text); | |
| } | |
| .add-btn { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| width: 32px; | |
| height: 32px; | |
| border: none; | |
| background: transparent; | |
| border-radius: var(--radius-md); | |
| cursor: pointer; | |
| flex-shrink: 0; | |
| transition: background 0.15s ease; | |
| color: var(--color-text-secondary); | |
| } | |
| .add-btn:hover { | |
| background: var(--color-hover); | |
| color: var(--color-text); | |
| } | |
| .add-btn svg { | |
| width: 18px; | |
| height: 18px; | |
| stroke-width: 2; | |
| } | |
| .main-input { | |
| flex: 1; | |
| padding: 0.5rem var(--spacing-md); | |
| border: none; | |
| background: transparent; | |
| font-size: 14px; | |
| color: var(--color-text); | |
| outline: none; | |
| } | |
| .main-input::placeholder { | |
| color: var(--color-text-tertiary); | |
| } | |
| .upload-btn { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| width: 32px; | |
| height: 32px; | |
| border: none; | |
| background: transparent; | |
| border-radius: var(--radius-md); | |
| cursor: pointer; | |
| flex-shrink: 0; | |
| transition: background 0.15s ease; | |
| color: var(--color-text-secondary); | |
| } | |
| .upload-btn:hover { | |
| background: var(--color-hover); | |
| color: var(--color-text); | |
| } | |
| .upload-btn svg { | |
| width: 18px; | |
| height: 18px; | |
| stroke-width: 2; | |
| } | |
| /* Community Section */ | |
| .community { | |
| margin-top: 3rem; | |
| } | |
| .community-header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: flex-start; | |
| margin-bottom: var(--spacing-xl); | |
| } | |
| .community-title { | |
| font-size: 20px; | |
| font-weight: 600; | |
| margin-bottom: 0.25rem; | |
| letter-spacing: -0.01em; | |
| } | |
| .community-subtitle { | |
| font-size: 14px; | |
| color: var(--color-text-secondary); | |
| font-weight: 400; | |
| } | |
| .browse-all { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.25rem; | |
| padding: var(--spacing-sm) var(--spacing-md); | |
| color: var(--color-text-secondary); | |
| text-decoration: none; | |
| font-size: 13px; | |
| font-weight: 500; | |
| border-radius: var(--radius-md); | |
| transition: all 0.15s ease; | |
| } | |
| .browse-all:hover { | |
| color: var(--color-text); | |
| background: var(--color-hover); | |
| } | |
| .browse-all svg { | |
| width: 14px; | |
| height: 14px; | |
| } | |
| /* Template Grid */ | |
| .template-grid { | |
| display: grid; | |
| grid-template-columns: repeat(3, 1fr); | |
| gap: var(--spacing-lg); | |
| } | |
| @media (max-width: 1024px) { | |
| .template-grid { | |
| grid-template-columns: repeat(2, 1fr); | |
| } | |
| } | |
| @media (max-width: 640px) { | |
| .template-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| } | |
| /* Template Card */ | |
| .template-card { | |
| border: 1px solid var(--color-border); | |
| border-radius: var(--radius-lg); | |
| overflow: hidden; | |
| transition: all 0.2s ease; | |
| cursor: pointer; | |
| background: var(--color-bg); | |
| } | |
| .template-card:hover { | |
| box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); | |
| transform: translateY(-2px); | |
| border-color: var(--color-border-hover); | |
| } | |
| .template-preview { | |
| width: 100%; | |
| aspect-ratio: 16 / 10; | |
| overflow: hidden; | |
| background: var(--color-bg-secondary); | |
| position: relative; | |
| } | |
| .preview-content { | |
| width: 100%; | |
| height: 100%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| padding: var(--spacing-xl); | |
| position: relative; | |
| } | |
| /* Preview Styles - Matching v0.dev examples */ | |
| .preview-1 { | |
| background: linear-gradient(135deg, #f5f3f0 0%, #e8e6e3 100%); | |
| flex-direction: column; | |
| text-align: center; | |
| } | |
| .preview-1 h3 { | |
| font-size: 14px; | |
| margin-bottom: var(--spacing-md); | |
| max-width: 200px; | |
| font-weight: 500; | |
| color: #1a1a1a; | |
| } | |
| .preview-mockup { | |
| background: white; | |
| border-radius: var(--radius-md); | |
| padding: var(--spacing-md); | |
| width: 180px; | |
| box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); | |
| } | |
| .mockup-header { | |
| height: 8px; | |
| background: #e5e7eb; | |
| border-radius: 4px; | |
| margin-bottom: 0.75rem; | |
| } | |
| .mockup-content { | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .mockup-text { | |
| height: 6px; | |
| background: #e5e7eb; | |
| border-radius: 3px; | |
| margin-bottom: 0.5rem; | |
| } | |
| .mockup-text.short { | |
| width: 60%; | |
| } | |
| .mockup-button { | |
| height: 24px; | |
| background: #000; | |
| border-radius: 4px; | |
| margin-top: 0.5rem; | |
| } | |
| .preview-2 { | |
| background: #000; | |
| color: white; | |
| flex-direction: column; | |
| } | |
| .gallery-item { | |
| width: 140px; | |
| height: 90px; | |
| background: linear-gradient(135deg, #666 0%, #333 100%); | |
| border-radius: var(--radius-md); | |
| margin-bottom: var(--spacing-md); | |
| position: relative; | |
| } | |
| .gallery-text { | |
| font-size: 14px; | |
| font-weight: 600; | |
| } | |
| .preview-3 { | |
| background: #000; | |
| color: white; | |
| flex-direction: column; | |
| } | |
| .ai-badge { | |
| position: absolute; | |
| top: var(--spacing-md); | |
| right: var(--spacing-md); | |
| background: rgba(255, 255, 255, 0.15); | |
| backdrop-filter: blur(10px); | |
| padding: 0.25rem 0.75rem; | |
| border-radius: var(--radius-full); | |
| font-size: 11px; | |
| font-weight: 600; | |
| letter-spacing: 0.5px; | |
| } | |
| .preview-3 h3 { | |
| font-size: 20px; | |
| text-align: center; | |
| font-weight: 600; | |
| } | |
| .preview-4 { | |
| background: linear-gradient(135deg, #10b981 0%, #3b82f6 50%, #8b5cf6 100%); | |
| color: white; | |
| flex-direction: column; | |
| text-align: center; | |
| } | |
| .gradient-bg { | |
| position: absolute; | |
| inset: 0; | |
| background: linear-gradient(135deg, #10b981 0%, #3b82f6 50%, #8b5cf6 100%); | |
| opacity: 0.95; | |
| } | |
| .preview-4 h3 { | |
| position: relative; | |
| z-index: 1; | |
| font-size: 18px; | |
| margin-bottom: var(--spacing-md); | |
| max-width: 200px; | |
| font-weight: 600; | |
| } | |
| .preview-btn { | |
| position: relative; | |
| z-index: 1; | |
| padding: var(--spacing-sm) var(--spacing-lg); | |
| background: white; | |
| color: #000; | |
| border: none; | |
| border-radius: var(--radius-md); | |
| font-weight: 600; | |
| font-size: 13px; | |
| cursor: pointer; | |
| transition: transform 0.15s ease; | |
| } | |
| .preview-btn:hover { | |
| transform: scale(1.05); | |
| } | |
| .preview-5 { | |
| background: #0a0a0a; | |
| } | |
| .dashboard-mockup { | |
| width: 100%; | |
| height: 100%; | |
| background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%); | |
| border-radius: var(--radius-md); | |
| padding: var(--spacing-md); | |
| border: 1px solid #333; | |
| } | |
| .chart-area { | |
| width: 100%; | |
| height: 60%; | |
| background: linear-gradient(180deg, rgba(34, 197, 94, 0.25) 0%, rgba(34, 197, 94, 0) 100%); | |
| border-radius: var(--radius-sm); | |
| margin-top: var(--spacing-xl); | |
| } | |
| .preview-6 { | |
| background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); | |
| color: white; | |
| } | |
| .preview-6 h3 { | |
| font-size: 18px; | |
| text-align: center; | |
| max-width: 180px; | |
| font-weight: 600; | |
| } | |
| /* Template Info */ | |
| .template-info { | |
| display: flex; | |
| align-items: center; | |
| gap: var(--spacing-md); | |
| padding: var(--spacing-md); | |
| background: var(--color-bg); | |
| } | |
| .template-avatar { | |
| width: 28px; | |
| height: 28px; | |
| border-radius: var(--radius-full); | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| flex-shrink: 0; | |
| } | |
| .template-details { | |
| flex: 1; | |
| min-width: 0; | |
| } | |
| .template-name { | |
| font-size: 13px; | |
| font-weight: 500; | |
| margin-bottom: 0.25rem; | |
| white-space: nowrap; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| color: var(--color-text); | |
| } | |
| .template-stats { | |
| display: flex; | |
| align-items: center; | |
| gap: var(--spacing-md); | |
| } | |
| .stat { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.25rem; | |
| font-size: 12px; | |
| color: var(--color-text-tertiary); | |
| } | |
| .stat svg { | |
| width: 13px; | |
| height: 13px; | |
| } | |
| /* Responsive Design */ | |
| @media (max-width: 768px) { | |
| .nav-links { | |
| display: none; | |
| } | |
| .top-nav { | |
| padding: var(--spacing-md); | |
| } | |
| .hero-title { | |
| font-size: 32px; | |
| } | |
| .hero-subtitle { | |
| font-size: 14px; | |
| } | |
| .main-container { | |
| padding: var(--spacing-xl) var(--spacing-md); | |
| } | |
| .hero { | |
| padding: var(--spacing-2xl) 0; | |
| } | |
| .community-header { | |
| flex-direction: column; | |
| gap: var(--spacing-md); | |
| } | |
| } | |
| @media (max-width: 480px) { | |
| .nav-right { | |
| gap: var(--spacing-sm); | |
| } | |
| .btn-secondary, | |
| .btn-primary { | |
| padding: 0.35rem 0.75rem; | |
| font-size: 12px; | |
| } | |
| .hero-title { | |
| font-size: 28px; | |
| } | |
| .input-container { | |
| padding: 0.375rem; | |
| } | |
| } | |