Pratikd-110924's picture
Initial upload
40b61a9 verified
Raw
History Blame Contribute Delete
6.6 kB
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');
:root {
--bg-dark: #050b14;
--glass-bg: rgba(20, 25, 40, 0.6);
--glass-border: rgba(255, 255, 255, 0.08);
--primary: #8b5cf6; /* Violet */
--accent: #ec4899; /* Pink */
--blue: #3b82f6; /* Blue */
--text: #f8fafc;
--text-muted: #94a3b8;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'DM Sans', sans-serif;
}
body {
background-color: var(--bg-dark);
color: var(--text);
min-height: 100vh;
overflow-x: hidden;
display: flex;
flex-direction: column;
align-items: center;
}
/* --- Animated Blobs --- */
.blob {
position: absolute;
border-radius: 50%;
filter: blur(90px);
z-index: -1;
opacity: 0.5;
animation: float 10s infinite alternate;
}
.blob-1 { top: -10%; left: -10%; width: 500px; height: 500px; background: var(--primary); }
.blob-2 { bottom: -10%; right: -10%; width: 400px; height: 400px; background: var(--blue); animation-delay: -5s; }
.blob-3 { top: 40%; left: 40%; width: 300px; height: 300px; background: var(--accent); opacity: 0.3; }
@keyframes float {
0% { transform: translate(0, 0); }
100% { transform: translate(40px, 60px); }
}
/* --- Navbar --- */
.navbar {
width: 100%;
padding: 1.5rem 3rem;
display: flex;
justify-content: space-between;
align-items: center;
backdrop-filter: blur(5px);
z-index: 10;
}
.logo { font-size: 1.5rem; font-weight: 700; }
.highlight { color: var(--primary); }
.sub-text { color: var(--text-muted); font-size: 0.9rem; letter-spacing: 1px; }
/* --- Main Layout --- */
.container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 80vh;
width: 100%;
gap: 3rem;
padding: 2rem;
}
/* --- Glass Card --- */
.glass-card {
background: var(--glass-bg);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid var(--glass-border);
border-radius: 24px;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
padding: 3rem;
width: 100%;
max-width: 700px;
text-align: center;
transition: transform 0.3s ease;
}
.glass-card:hover {
border-color: rgba(255, 255, 255, 0.15);
}
.title {
font-size: 2.5rem;
margin-bottom: 0.5rem;
background: linear-gradient(to right, #fff, #94a3b8);
-webkit-background-clip: text; /* Vendor prefix for Chrome/Safari */
background-clip: text; /* Standard property */
color: transparent; /* Essential for the gradient to show */
}
.subtitle { color: var(--text-muted); margin-bottom: 2rem; }
/* --- Upload Area --- */
.upload-area {
border: 2px dashed rgba(255, 255, 255, 0.1);
border-radius: 16px;
padding: 2.5rem;
transition: all 0.3s ease;
background: rgba(0, 0, 0, 0.2);
}
.upload-area.active {
border-color: var(--primary);
background: rgba(139, 92, 246, 0.1);
transform: scale(1.02);
}
.icon-box { font-size: 3rem; color: var(--text-muted); margin-bottom: 1rem; }
.upload-area input { display: none; }
.card-actions {
margin-top: 1.5rem;
display: flex;
justify-content: center;
gap: 1rem;
}
/* --- Buttons --- */
.btn-primary, .btn-secondary {
padding: 0.8rem 1.5rem;
border-radius: 12px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
font-size: 0.95rem;
}
.btn-primary {
background: linear-gradient(135deg, var(--primary), var(--blue));
color: white;
box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}
.btn-primary:hover { box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6); transform: translateY(-2px); }
.btn-secondary {
background: transparent;
border: 1px solid rgba(255,255,255,0.2);
color: white;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); }
/* --- Feature Navigation (Neon Buttons) --- */
.feature-nav {
display: flex;
gap: 2rem;
flex-wrap: wrap;
justify-content: center;
}
.glow-btn {
background: rgba(15, 23, 42, 0.6);
border: 1px solid var(--glass-border);
color: white;
padding: 1rem 2rem;
border-radius: 50px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
display: flex;
align-items: center;
gap: 10px;
transition: all 0.3s ease;
backdrop-filter: blur(10px);
}
.pink-glow:hover {
border-color: var(--accent);
box-shadow: 0 0 20px rgba(236, 72, 153, 0.5), inset 0 0 10px rgba(236, 72, 153, 0.2);
transform: translateY(-3px);
text-shadow: 0 0 8px rgba(236, 72, 153, 0.8);
}
.blue-glow:hover {
border-color: var(--blue);
box-shadow: 0 0 20px rgba(59, 130, 246, 0.5), inset 0 0 10px rgba(59, 130, 246, 0.2);
transform: translateY(-3px);
text-shadow: 0 0 8px rgba(59, 130, 246, 0.8);
}
/* --- Chat Section --- */
.chat-wrapper {
width: 100%;
display: flex;
justify-content: center;
padding-bottom: 3rem;
}
.chat-interface {
max-width: 600px;
height: 500px;
display: flex;
flex-direction: column;
}
.chat-header {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid rgba(255,255,255,0.1);
padding-bottom: 1rem;
margin-bottom: 1rem;
}
.status-badge {
background: rgba(34, 197, 94, 0.2);
color: #4ade80;
padding: 4px 10px;
border-radius: 20px;
font-size: 0.8rem;
border: 1px solid rgba(34, 197, 94, 0.3);
}
.chat-box { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 1rem; }
.message { padding: 1rem; border-radius: 12px; max-width: 80%; font-size: 0.95rem; line-height: 1.5; }
.bot-message { background: rgba(255,255,255,0.05); align-self: flex-start; }
.input-group {
display: flex;
gap: 10px;
margin-top: 1rem;
background: rgba(0,0,0,0.3);
padding: 8px;
border-radius: 50px;
border: 1px solid rgba(255,255,255,0.1);
}
.input-group input {
flex: 1;
background: transparent;
border: none;
color: white;
padding-left: 15px;
outline: none;
}
.send-icon {
background: var(--primary);
border: none;
width: 40px; height: 40px;
border-radius: 50%;
color: white;
cursor: pointer;
transition: 0.3s;
}
.send-icon:hover { transform: scale(1.1); }