* { margin: 0; padding: 0; box-sizing: border-box; } :root { --bg-primary: #ffffff; --bg-secondary: #f7f7f8; --text-primary: #2d2d2d; --text-secondary: #6e6e80; --border-color: #d9d9e3; --hover-bg: #f0f0f0; --input-bg: #ffffff; --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04); --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1); } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; } /* Header */ .header { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); position: fixed; top: 0; left: 0; right: 0; z-index: 100; } .nav-container { max-width: 48rem; margin: 0 auto; padding: 1rem 1rem; display: flex; justify-content: space-between; align-items: center; } .nav-left { display: flex; align-items: center; gap: 0.5rem; } .logo { width: 20px; height: 20px; color: var(--text-primary); } .brand-name { font-size: 1rem; font-weight: 600; } .mobile-menu-btn { background: none; border: 1px solid var(--border-color); color: var(--text-primary); cursor: pointer; padding: 0.5rem; border-radius: 0.375rem; transition: all 0.2s; background: var(--bg-primary); } .mobile-menu-btn:hover { background: var(--hover-bg); } /* Main Content */ .main { flex: 1; padding-top: 4rem; display: flex; flex-direction: column; align-items: center; min-height: 100vh; padding-bottom: 4rem; } .hero-section { text-align: center; padding: 3rem 1rem 2rem; width: 100%; } .hero-title { font-size: 3rem; font-weight: 600; color: var(--text-primary); letter-spacing: -0.01em; } /* Examples Section */ .examples-section { width: 100%; max-width: 768px; padding: 0 1rem 2rem; } .examples-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0.75rem; margin-bottom: 2rem; } .example-card { background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: 0.75rem; padding: 1rem 1rem 1rem 1.25rem; display: flex; align-items: center; gap: 0.875rem; cursor: pointer; transition: all 0.15s ease; } .example-card:hover { background: var(--bg-secondary); } .example-card svg:first-child { color: var(--text-secondary); flex-shrink: 0; } .example-card span { flex: 1; font-size: 0.875rem; color: var(--text-primary); } .arrow-icon { color: var(--text-secondary); opacity: 0; transition: opacity 0.15s ease; } .example-card:hover .arrow-icon { opacity: 1; } /* Input Section */ .input-section { width: 100%; max-width: 768px; padding: 2rem 1rem 0; margin-top: auto; } .input-container { width: 100%; } .input-wrapper { position: relative; background: var(--input-bg); border: 1px solid var(--border-color); border-radius: 0.75rem; display: flex; align-items: flex-end; transition: all 0.2s; box-shadow: var(--shadow-sm); } .input-wrapper:focus-within { border-color: var(--text-secondary); box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05); } .message-input { flex: 1; background: transparent; border: none; outline: none; padding: 0.75rem 3rem 0.75rem 1rem; color: var(--text-primary); font-size: 1rem; resize: none; min-height: 44px; max-height: 200px; line-height: 1.5; font-family: inherit; } .message-input::placeholder { color: var(--text-secondary); } .attach-button, .send-button { background: none; border: none; color: var(--text-secondary); cursor: pointer; padding: 0.5rem; border-radius: 0.375rem; transition: all 0.2s; display: flex; align-items: center; justify-content: center; } .attach-button { position: absolute; left: 0.5rem; bottom: 0.5rem; } .send-button { position: absolute; right: 0.5rem; bottom: 0.5rem; color: var(--text-primary); opacity: 0.3; transition: all 0.2s; } .send-button:active { transform: scale(0.95); } .message-input:focus ~ .send-button, .message-input:not(:placeholder-shown) ~ .send-button { opacity: 1; } .disclaimer { text-align: center; font-size: 0.75rem; color: var(--text-secondary); margin-top: 1rem; } /* Footer */ .footer { padding: 1rem; text-align: center; border-top: 1px solid var(--border-color); background: var(--bg-secondary); } .footer a { color: var(--text-secondary); text-decoration: none; transition: color 0.2s; } .footer a:hover { text-decoration: underline; } /* Responsive Design */ @media (max-width: 768px) { .hero-title { font-size: 2.5rem; } .examples-grid { grid-template-columns: 1fr; gap: 0.5rem; } .input-wrapper { box-shadow: none; } } @media (max-width: 480px) { .nav-container { padding: 1rem 0.75rem; } .hero-title { font-size: 2rem; } .message-input { padding: 0.75rem 2.5rem 0.75rem 0.75rem; } .attach-button { left: 0.25rem; } .send-button { right: 0.25rem; } } /* Transitions */ * { transition: border-color 0.2s, background-color 0.2s; } /* Dark mode support */ @media (prefers-color-scheme: dark) { :root { --bg-primary: #0a0a0a; --bg-secondary: #111111; --text-primary: #ffffff; --text-secondary: #a1a1aa; --border-color: #27272a; --hover-bg: #1a1a1a; } }