receptionist-app / style.css
mukul-chauhan-methdai's picture
Rebrand HF Space landing page to MethdAI design system
54b6d55
/* MethdAI Receptionist — Space landing page styles
* Palette + typography aligned with methdai.com (slate-900 base,
* blue-500 primary, purple/lime accents, system fonts).
*/
:root {
/* Brand */
--bg: #0f172a;
--bg-2: #101331;
--surface: #1e293b;
--surface-2: #1e293bcc;
--border: #334155;
--border-soft: #1e293b;
--text: #f8fafc;
--text-muted: #94a3b8;
--text-dim: #64748b;
--primary: #3b82f6;
--primary-hover: #2563eb;
--primary-soft: #60a5fa;
--primary-glow: #3b82f633;
--purple: #8b5cf6;
--purple-soft: #a78bfa;
--lime: #84cc16;
--lime-soft: #a3e635;
--orange: #fb923c;
/* Radii */
--r-sm: 0.5rem;
--r-md: 0.75rem;
--r-lg: 1rem;
--r-xl: 1.5rem;
--r-pill: 9999px;
/* Shadows */
--shadow-card: 0 1px 0 0 #ffffff0a inset, 0 10px 40px -10px #00000080;
--shadow-glow: 0 0 0 1px var(--primary-glow), 0 20px 60px -20px var(--primary-glow);
}
* { box-sizing: border-box; }
html, body {
margin: 0;
padding: 0;
background: var(--bg);
color: var(--text);
font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
font-size: 16px;
line-height: 1.55;
-webkit-font-smoothing: antialiased;
}
body {
background:
radial-gradient(1200px 600px at 12% -10%, #1e3a8a26 0%, transparent 60%),
radial-gradient(800px 500px at 90% 0%, #8b5cf61a 0%, transparent 60%),
var(--bg);
background-attachment: fixed;
min-height: 100vh;
}
a { color: var(--primary-soft); text-decoration: none; }
a:hover { color: var(--text); }
/* ------------------------------------------------------------------ */
/* Hero */
/* ------------------------------------------------------------------ */
.hero {
max-width: 1180px;
margin: 0 auto;
padding: 56px 24px 72px;
}
.topline {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 56px;
}
.brand {
display: flex;
align-items: center;
gap: 12px;
}
.brand-logo {
width: 36px;
height: 36px;
border-radius: var(--r-sm);
object-fit: contain;
}
.brand .logo {
font-size: 28px;
line-height: 1;
}
.brand-name {
font-size: 1.05rem;
font-weight: 600;
letter-spacing: -0.01em;
color: var(--text);
}
.pill {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
border-radius: var(--r-pill);
background: var(--surface-2);
border: 1px solid var(--border);
color: var(--text-muted);
font-size: 0.85rem;
font-weight: 500;
backdrop-filter: blur(8px);
}
.pill::before {
content: "";
width: 6px;
height: 6px;
border-radius: var(--r-pill);
background: var(--lime);
box-shadow: 0 0 8px var(--lime);
}
.hero-grid {
display: grid;
grid-template-columns: 1.05fr 0.95fr;
gap: 48px;
align-items: center;
}
@media (max-width: 900px) {
.hero-grid { grid-template-columns: 1fr; }
}
.hero-copy .eyebrow {
display: inline-block;
text-transform: uppercase;
letter-spacing: 0.12em;
color: var(--primary-soft);
font-size: 0.78rem;
font-weight: 600;
margin: 0 0 16px;
}
.hero-copy h1 {
margin: 0 0 18px;
font-size: clamp(2rem, 4vw, 3rem);
line-height: 1.08;
letter-spacing: -0.025em;
font-weight: 700;
color: var(--text);
}
.hero-copy h1 .accent {
background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.live-demo-badge {
display: inline-flex;
align-items: center;
gap: 6px;
margin-left: 10px;
padding: 4px 12px;
border-radius: var(--r-pill);
background: #3b82f61a;
border: 1px solid #3b82f640;
color: var(--primary-soft);
font-size: 0.85rem;
font-weight: 500;
vertical-align: middle;
}
.lede {
color: var(--text-muted);
font-size: 1.02rem;
margin: 12px 0;
max-width: 56ch;
}
.hero-actions {
display: flex;
gap: 12px;
margin: 28px 0 24px;
flex-wrap: wrap;
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 12px 22px;
border-radius: var(--r-md);
font-weight: 600;
font-size: 0.95rem;
cursor: pointer;
transition: all 0.18s ease;
text-decoration: none;
border: 1px solid transparent;
}
.btn.primary {
background: var(--primary);
color: #fff;
}
.btn.primary:hover {
background: var(--primary-hover);
transform: translateY(-1px);
box-shadow: var(--shadow-glow);
}
.btn.ghost {
background: transparent;
color: var(--text);
border-color: var(--border);
}
.btn.ghost:hover {
border-color: var(--primary-soft);
color: var(--text);
}
.hero-badges {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 12px;
}
.hero-badges span {
padding: 6px 12px;
border-radius: var(--r-pill);
background: var(--surface-2);
border: 1px solid var(--border);
color: var(--text-muted);
font-size: 0.8rem;
}
.hero-visual {
position: relative;
}
.glass-card {
background: linear-gradient(180deg, #ffffff08 0%, #ffffff03 100%);
border: 1px solid var(--border);
border-radius: var(--r-xl);
padding: 16px;
backdrop-filter: blur(20px);
box-shadow: var(--shadow-card);
}
.hero-gif {
display: block;
width: 100%;
border-radius: var(--r-lg);
object-fit: cover;
}
.caption {
margin: 14px 4px 4px;
color: var(--text-muted);
font-size: 0.85rem;
}
.video-embed-wrapper {
margin-top: 14px;
position: relative;
padding-top: 56.25%;
border-radius: var(--r-lg);
overflow: hidden;
background: #000;
}
.video-embed-wrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}
.video-link {
margin: 10px 4px 0;
font-size: 0.85rem;
color: var(--text-muted);
}
/* ------------------------------------------------------------------ */
/* Section base */
/* ------------------------------------------------------------------ */
.section {
max-width: 1180px;
margin: 0 auto;
padding: 72px 24px;
}
.section-header {
text-align: center;
max-width: 720px;
margin: 0 auto 48px;
}
.section-header .eyebrow {
display: inline-block;
text-transform: uppercase;
letter-spacing: 0.12em;
color: var(--purple-soft);
font-size: 0.78rem;
font-weight: 600;
margin: 0 0 12px;
}
.section-header h2 {
margin: 0 0 14px;
font-size: clamp(1.5rem, 3vw, 2.25rem);
letter-spacing: -0.02em;
font-weight: 700;
}
.section-header .intro {
color: var(--text-muted);
font-size: 1.02rem;
margin: 0 auto;
max-width: 56ch;
}
/* ------------------------------------------------------------------ */
/* Features */
/* ------------------------------------------------------------------ */
.feature-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 16px;
}
.feature-card {
padding: 24px;
border-radius: var(--r-lg);
background: linear-gradient(180deg, #ffffff06 0%, #ffffff02 100%);
border: 1px solid var(--border);
transition: all 0.2s ease;
}
.feature-card:hover {
border-color: #3b82f680;
transform: translateY(-2px);
box-shadow: 0 12px 40px -16px #3b82f633;
}
.feature-card .icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: var(--r-md);
background: #3b82f61a;
font-size: 1.4rem;
margin-bottom: 14px;
}
.feature-card h3 {
margin: 0 0 8px;
font-size: 1.05rem;
font-weight: 600;
letter-spacing: -0.01em;
}
.feature-card p {
margin: 0;
color: var(--text-muted);
font-size: 0.93rem;
line-height: 1.55;
}
/* ------------------------------------------------------------------ */
/* Story */
/* ------------------------------------------------------------------ */
.story-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}
@media (max-width: 800px) {
.story-grid { grid-template-columns: 1fr; }
}
.story-card {
padding: 32px;
border-radius: var(--r-xl);
background: linear-gradient(180deg, #ffffff06 0%, #ffffff02 100%);
border: 1px solid var(--border);
}
.story-card.secondary {
background: linear-gradient(135deg, #3b82f614 0%, #8b5cf614 100%);
border-color: #3b82f640;
}
.story-card .eyebrow {
text-transform: uppercase;
letter-spacing: 0.12em;
color: var(--primary-soft);
font-size: 0.78rem;
font-weight: 600;
}
.story-card.secondary .eyebrow {
color: var(--purple-soft);
}
.story-card h3 {
margin: 12px 0 16px;
font-size: 1.25rem;
font-weight: 600;
letter-spacing: -0.01em;
}
.story-list {
list-style: none;
padding: 0;
margin: 0;
}
.story-list li {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 10px 0;
color: var(--text-muted);
font-size: 0.96rem;
border-bottom: 1px solid var(--border-soft);
}
.story-list li:last-child { border-bottom: 0; }
.story-list li span {
font-size: 1.1rem;
line-height: 1;
flex-shrink: 0;
}
.story-text {
margin: 0 0 18px;
color: var(--text-muted);
}
.chips {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.chip {
padding: 6px 12px;
border-radius: var(--r-pill);
background: #ffffff0d;
border: 1px solid var(--border);
color: var(--text);
font-size: 0.82rem;
}
/* ------------------------------------------------------------------ */
/* Install block */
/* ------------------------------------------------------------------ */
.install {
max-width: 1180px;
margin: 0 auto;
padding: 0 24px 72px;
}
.install-card {
padding: 36px;
border-radius: var(--r-xl);
background: linear-gradient(135deg, #3b82f60d 0%, #8b5cf60d 100%);
border: 1px solid var(--border);
}
.install-card h3 {
margin: 0 0 12px;
font-size: 1.35rem;
font-weight: 600;
letter-spacing: -0.01em;
}
.install-card p {
margin: 0 0 18px;
color: var(--text-muted);
}
pre.code {
margin: 0;
padding: 16px 20px;
border-radius: var(--r-md);
background: #00000040;
border: 1px solid var(--border);
color: var(--text);
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
font-size: 0.88rem;
overflow-x: auto;
}
/* ------------------------------------------------------------------ */
/* Footer */
/* ------------------------------------------------------------------ */
.footer {
border-top: 1px solid var(--border-soft);
padding: 32px 24px;
text-align: center;
color: var(--text-dim);
font-size: 0.88rem;
}
.footer p { margin: 0; max-width: 720px; margin-left: auto; margin-right: auto; }
.footer a { color: var(--text-muted); }
.footer a:hover { color: var(--text); }