ChetanSaifsAi's picture
updated commit
5818591 verified
:root {
--primary-color: #6366f1;
--secondary-color: #2c3e50;
--accent-color: #4f46e5;
--background-color: #ffffff;
--text-color: #333;
--border-color: #e5e7eb;
--hover-color: #4f46e5;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: var(--text-color);
background-color: var(--background-color);
min-height: 100vh;
}
/* Main Container */
.main-container {
min-height: 100vh;
padding: 2rem 5%;
max-width: 1400px;
margin: 0 auto;
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
padding-top: 5rem;
}
.main-title {
font-size: 2.5rem;
color: var(--text-color);
text-align: center;
margin-bottom: 0.5rem;
}
.subtitle {
text-align: center;
color: #6b7280;
margin-bottom: 2rem;
}
/* Video Generator */
.video-generator {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
background-color: white;
padding: 2rem;
border-radius: 12px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
margin-bottom: 2rem;
}
.input-section {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.text-input-container {
position: relative;
background: #f9fafb;
border-radius: 8px;
padding: 1rem;
border: 1px solid var(--border-color);
}
.video-input {
width: 100%;
min-height: 120px;
padding: 0;
background: transparent;
border: none;
resize: none;
font-size: 0.9rem;
line-height: 1.5;
color: var(--text-color);
}
.video-input:focus {
outline: none;
}
.video-input::placeholder {
color: #9ca3af;
}
.input-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.5rem;
}
.input-title {
font-size: 1rem;
color: var(--text-color);
font-weight: 500;
}
.enhance-btn {
padding: 0.5rem 1rem;
background-color: transparent;
border: 1px solid var(--border-color);
border-radius: 6px;
cursor: pointer;
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.9rem;
color: var(--text-color);
transition: all 0.3s ease;
}
.enhance-btn:hover {
background-color: #f3f4f6;
}
.char-count {
position: absolute;
bottom: 1rem;
right: 1rem;
font-size: 0.8rem;
color: #6b7280;
}
.style-buttons {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
gap: 0.5rem;
}
.style-btn {
padding: 0.5rem 1rem;
background-color: white;
border: 1px solid var(--border-color);
border-radius: 6px;
cursor: pointer;
font-size: 0.9rem;
color: var(--text-color);
transition: all 0.3s ease;
}
.style-btn:hover, .style-btn.active {
background-color: var(--primary-color);
color: white;
border-color: var(--primary-color);
}
.generate-btn {
padding: 1rem;
background-color: var(--primary-color);
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
font-size: 1rem;
font-weight: 500;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
transition: background-color 0.3s ease;
}
.generate-btn:hover {
background-color: var(--hover-color);
}
.preview-section {
display: flex;
align-items: center;
justify-content: center;
background-color: #f9fafb;
border-radius: 8px;
border: 2px dashed var(--border-color);
min-height: 300px;
}
.video-preview {
text-align: center;
color: #6b7280;
}
.preview-icon {
font-size: 3rem;
margin-bottom: 1rem;
}
/* Pro Upgrade Modal */
.upgrade-modal {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: white;
padding: 2rem;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
max-width: 500px;
width: 90%;
z-index: 1000;
text-align: center;
}
.modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
z-index: 999;
}
.upgrade-modal h2 {
font-size: 1.5rem;
margin-bottom: 1rem;
color: var(--text-color);
}
.upgrade-modal p {
color: #6b7280;
margin-bottom: 1.5rem;
}
.features-list {
text-align: left;
margin: 1.5rem 0;
}
.features-list li {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 0.75rem;
color: var(--text-color);
}
.features-list i {
color: var(--primary-color);
}
.modal-buttons {
display: flex;
gap: 1rem;
justify-content: center;
margin-top: 2rem;
}
.upgrade-btn {
padding: 0.75rem 1.5rem;
background-color: var(--primary-color);
color: white;
border: none;
border-radius: 6px;
cursor: pointer;
font-weight: 500;
transition: background-color 0.3s ease;
}
.upgrade-btn:hover {
background-color: var(--hover-color);
}
.continue-free-btn {
padding: 0.75rem 1.5rem;
background-color: transparent;
color: var(--text-color);
border: 1px solid var(--border-color);
border-radius: 6px;
cursor: pointer;
font-weight: 500;
transition: all 0.3s ease;
}
.continue-free-btn:hover {
background-color: #f3f4f6;
}
/* Responsive Design */
@media (max-width: 768px) {
.video-generator {
grid-template-columns: 1fr;
}
.style-buttons {
grid-template-columns: repeat(2, 1fr);
}
.preview-section {
min-height: 200px;
}
.modal-buttons {
flex-direction: column;
}
}
.site-header {
position: fixed;
top: 0;
left: 0;
right: 0;
background: white;
padding: 1rem 2rem;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
z-index: 100;
}
.logo-link {
display: flex;
align-items: center;
gap: 0.75rem;
text-decoration: none;
color: var(--text-color);
padding: 0.25rem;
}
.logo-icon {
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
}
.logo-icon svg {
width: 100%;
height: 100%;
}
.logo-link:hover .logo-icon svg rect {
fill: var(--hover-color);
transition: fill 0.3s ease;
}
.logo-text {
font-size: 1.25rem;
font-weight: 700;
color: var(--text-color);
letter-spacing: 0.5px;
text-transform: uppercase;
}
.website-link {
padding: 0.5rem 1rem;
background-color: var(--primary-color);
color: white;
text-decoration: none;
border-radius: 6px;
font-size: 0.9rem;
transition: background-color 0.3s ease;
}
.website-link:hover {
background-color: var(--hover-color);
}
.site-footer {
text-align: center;
padding: 2rem 1rem;
color: #6b7280;
font-size: 0.9rem;
background-color: white;
box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.05);
position: relative;
margin-top: 2rem;
border-top: 1px solid var(--border-color);
}
.footer-content {
max-width: 1400px;
margin: 0 auto;
margin-bottom: 0.5rem;
}
.footer-content .fa-heart {
color: #ef4444;
margin: 0 0.25rem;
animation: heartbeat 1.5s ease infinite;
}
.footer-link {
color: var(--primary-color);
text-decoration: none;
font-weight: 500;
transition: color 0.3s ease;
}
.footer-link:hover {
color: var(--hover-color);
}
.footer-subtext {
color: #9ca3af;
font-size: 0.85rem;
max-width: 1400px;
margin: 0 auto;
}
@keyframes heartbeat {
0% {
transform: scale(1);
}
14% {
transform: scale(1.3);
}
28% {
transform: scale(1);
}
42% {
transform: scale(1.3);
}
70% {
transform: scale(1);
}
}