ReplyFlow / app /static /css /styles.css
nvikou's picture
Initial commit
582520a verified
Raw History Blame Contribute Delete
8.66 kB
/* ReplyFlow design system */
:root {
--bg0: #0f1c1a;
--bg1: #16302b;
--bg2: #1e3d36;
--ink: #f3f0e8;
--muted: #b7c4bf;
--line: rgba(243, 240, 232, 0.12);
--accent: #d4a24c;
--accent-2: #7ec8b4;
--danger: #e07a5f;
--ok: #7ec8b4;
--card: rgba(22, 48, 43, 0.72);
--shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
--radius: 18px;
--font-display: "Syne", sans-serif;
--font-body: "Manrope", sans-serif;
}
* {
box-sizing: border-box;
}
html,
body {
margin: 0;
padding: 0;
min-height: 100%;
}
body {
font-family: var(--font-body);
color: var(--ink);
background:
radial-gradient(1200px 700px at 10% -10%, #2a5a4e 0%, transparent 55%),
radial-gradient(900px 600px at 100% 0%, #3a2f18 0%, transparent 50%),
linear-gradient(160deg, var(--bg0), #122421 45%, #0c1614);
background-attachment: fixed;
}
a {
color: var(--accent-2);
text-decoration: none;
}
a:hover {
color: var(--accent);
}
.shell {
width: min(1120px, calc(100% - 2rem));
margin: 0 auto;
}
.topbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 1.25rem 0;
}
.brand {
display: flex;
align-items: center;
gap: 0.75rem;
font-family: var(--font-display);
font-weight: 700;
letter-spacing: -0.03em;
font-size: 1.35rem;
color: var(--ink);
}
.brand-mark {
width: 2rem;
height: 2rem;
border-radius: 0.55rem;
background:
linear-gradient(135deg, var(--accent), #f0d29a),
var(--accent);
box-shadow: 0 0 0 4px rgba(212, 162, 76, 0.15);
animation: pulse-mark 3.2s ease-in-out infinite;
}
@keyframes pulse-mark {
0%,
100% {
transform: scale(1);
}
50% {
transform: scale(1.06);
}
}
.nav {
display: flex;
align-items: center;
gap: 0.85rem;
flex-wrap: wrap;
}
.nav a {
color: var(--muted);
font-size: 0.95rem;
}
.hero {
min-height: calc(100vh - 5.5rem);
display: grid;
align-items: end;
padding: 2rem 0 4rem;
position: relative;
overflow: hidden;
}
.hero-copy {
max-width: 38rem;
position: relative;
z-index: 2;
animation: rise 0.9s ease both;
}
@keyframes rise {
from {
opacity: 0;
transform: translateY(18px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.hero h1 {
font-family: var(--font-display);
font-size: clamp(2.8rem, 7vw, 5.2rem);
line-height: 0.95;
letter-spacing: -0.045em;
margin: 0 0 1rem;
}
.hero p {
color: var(--muted);
font-size: 1.1rem;
line-height: 1.55;
margin: 0 0 1.6rem;
max-width: 32rem;
}
.cta-row {
display: flex;
gap: 0.75rem;
flex-wrap: wrap;
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.4rem;
border: 0;
border-radius: 999px;
padding: 0.85rem 1.25rem;
font: inherit;
font-weight: 600;
cursor: pointer;
transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover {
transform: translateY(-1px);
}
.btn-primary {
background: linear-gradient(135deg, var(--accent), #e8c078);
color: #1a1408;
}
.btn-ghost {
background: transparent;
color: var(--ink);
border: 1px solid var(--line);
}
.hero-visual {
position: absolute;
inset: 8% 0 auto auto;
width: min(48vw, 520px);
height: min(62vh, 560px);
border-radius: 28% 48% 36% 54% / 42% 30% 55% 40%;
background:
linear-gradient(145deg, rgba(126, 200, 180, 0.35), transparent 55%),
linear-gradient(320deg, rgba(212, 162, 76, 0.4), transparent 50%),
#214940;
filter: blur(0.2px);
animation: morph 12s ease-in-out infinite;
z-index: 1;
}
@keyframes morph {
0%,
100% {
border-radius: 28% 48% 36% 54% / 42% 30% 55% 40%;
transform: translateY(0) rotate(0deg);
}
50% {
border-radius: 48% 28% 54% 36% / 30% 48% 36% 52%;
transform: translateY(12px) rotate(4deg);
}
}
.section {
padding: 3.5rem 0;
border-top: 1px solid var(--line);
}
.section h2 {
font-family: var(--font-display);
font-size: clamp(1.8rem, 3vw, 2.4rem);
letter-spacing: -0.03em;
margin: 0 0 0.6rem;
}
.section > p {
color: var(--muted);
margin: 0 0 1.5rem;
max-width: 40rem;
}
.feature-list {
display: grid;
gap: 1rem;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.feature {
padding: 1.1rem 0;
border-top: 1px solid var(--line);
}
.feature h3 {
margin: 0 0 0.35rem;
font-size: 1.05rem;
}
.feature p {
margin: 0;
color: var(--muted);
line-height: 1.5;
font-size: 0.95rem;
}
.panel {
background: var(--card);
border: 1px solid var(--line);
border-radius: var(--radius);
box-shadow: var(--shadow);
backdrop-filter: blur(10px);
}
.chat-layout {
display: grid;
grid-template-columns: 1fr;
gap: 1rem;
padding: 1rem 0 2rem;
}
@media (min-width: 900px) {
.chat-layout {
grid-template-columns: 1.5fr 0.9fr;
align-items: start;
}
}
.chat-panel {
display: flex;
flex-direction: column;
min-height: 70vh;
}
.chat-header {
padding: 1rem 1.1rem;
border-bottom: 1px solid var(--line);
display: flex;
justify-content: space-between;
gap: 1rem;
align-items: center;
}
.chat-header h1 {
margin: 0;
font-family: var(--font-display);
font-size: 1.35rem;
}
.messages {
flex: 1;
overflow-y: auto;
padding: 1rem;
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.bubble {
max-width: 85%;
padding: 0.85rem 1rem;
border-radius: 1rem;
line-height: 1.45;
white-space: pre-wrap;
animation: rise 0.35s ease both;
}
.bubble.user {
align-self: flex-end;
background: rgba(212, 162, 76, 0.22);
border: 1px solid rgba(212, 162, 76, 0.35);
}
.bubble.assistant {
align-self: flex-start;
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--line);
}
.composer {
display: flex;
gap: 0.6rem;
padding: 0.9rem;
border-top: 1px solid var(--line);
}
.composer input {
flex: 1;
border: 1px solid var(--line);
background: rgba(0, 0, 0, 0.25);
color: var(--ink);
border-radius: 999px;
padding: 0.85rem 1rem;
font: inherit;
}
.composer input:focus {
outline: 1px solid rgba(212, 162, 76, 0.55);
}
.side-stack {
display: grid;
gap: 1rem;
}
.side-card {
padding: 1rem 1.1rem;
}
.side-card h2 {
margin: 0 0 0.75rem;
font-size: 1rem;
font-family: var(--font-display);
}
.kv {
display: grid;
gap: 0.45rem;
font-size: 0.92rem;
}
.kv div {
display: flex;
justify-content: space-between;
gap: 1rem;
border-bottom: 1px dashed var(--line);
padding-bottom: 0.35rem;
}
.kv span:last-child {
color: var(--muted);
text-align: right;
}
.slots {
display: grid;
gap: 0.5rem;
}
.slot-btn {
text-align: left;
border: 1px solid var(--line);
background: rgba(0, 0, 0, 0.2);
color: var(--ink);
border-radius: 12px;
padding: 0.7rem 0.8rem;
cursor: pointer;
font: inherit;
}
.slot-btn:hover {
border-color: rgba(126, 200, 180, 0.6);
}
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
gap: 0.85rem;
margin: 1rem 0 1.5rem;
}
.stat {
padding: 1rem;
}
.stat .label {
color: var(--muted);
font-size: 0.85rem;
}
.stat .value {
font-family: var(--font-display);
font-size: 1.8rem;
margin-top: 0.25rem;
}
.table-wrap {
overflow-x: auto;
}
table {
width: 100%;
border-collapse: collapse;
font-size: 0.92rem;
}
th,
td {
text-align: left;
padding: 0.7rem 0.55rem;
border-bottom: 1px solid var(--line);
vertical-align: top;
}
th {
color: var(--muted);
font-weight: 600;
}
.badge {
display: inline-block;
padding: 0.15rem 0.5rem;
border-radius: 999px;
border: 1px solid var(--line);
font-size: 0.75rem;
color: var(--muted);
}
.badge.ok {
color: var(--ok);
border-color: rgba(126, 200, 180, 0.4);
}
.badge.warn {
color: var(--danger);
border-color: rgba(224, 122, 95, 0.45);
}
.footer {
padding: 2rem 0 3rem;
color: var(--muted);
font-size: 0.9rem;
border-top: 1px solid var(--line);
}
@media (max-width: 720px) {
.hero-visual {
opacity: 0.35;
width: 70vw;
height: 40vh;
}
.topbar {
flex-direction: column;
align-items: flex-start;
}
}