Spaces:
Running
Running
/* Base Styles */ | |
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lora:ital,wght@0,400..700;1,400..700&family=Roboto:ital,wght@0,100..900;1,100..900&family=Romanesco&display=swap"); | |
:root { | |
/*--primary-color: #4f46e5; | |
--primary-dark: #4338ca; | |
--secondary-color: #10b981; | |
--dark-blue: #0a192f; | |
--dark-blue-light: #112240; | |
--dark-blue-lighter: #1d3557; | |
--text-color: #e6f1ff; | |
--text-light: #a8b2d1; | |
--text-lightest: #ccd6f6; | |
--background-dark: #0a192f; | |
--background-card: #112240; | |
--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2); | |
--border-radius: 8px; | |
--highlight-color: #64ffda; | |
/* 0c042c | |
d1c10a | |
*/ | |
--primary-color: #4f46e5; | |
--primary-dark: #4338ca; | |
--secondary-color: #10b981; | |
--dark-blue: #0c042c; | |
--dark-blue-light: #1a0d51; | |
--dark-blue-lighter: #2b2059; | |
--text-color: #e6f1ff; | |
--text-light: #a8b2d1; | |
--text-lightest: #ccd6f6; | |
--background-dark: #0c042c; | |
--background-card: #08031e; | |
--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2); | |
--border-radius: 8px; | |
--highlight-color: #64ffda; | |
--code-bg: #0d1b2a; | |
} | |
* { | |
margin: 0; | |
padding: 0; | |
box-sizing: border-box; | |
} | |
html::-webkit-scrollbar { | |
width: 12px; | |
} | |
html::-webkit-scrollbar-track { | |
background: var(--background-card); | |
} | |
html::-webkit-scrollbar-thumb { | |
background-color: var(--highlight-color); | |
border-radius: var(--border-radius); | |
} | |
html::-webkit-scrollbar-thumb:hover { | |
background-color: var(--secondary-color); | |
} | |
body { | |
font-family: "Inter", sans-serif; | |
color: var(--text-color); | |
line-height: 1.6; | |
background-color: var(--dark-blue); | |
scrollbar-color: red; | |
scrollbar-color: blue; | |
} | |
.container { | |
max-width: 1200px; | |
margin: 0 auto; | |
padding: 0 20px; | |
} | |
a { | |
text-decoration: none; | |
color: inherit; | |
} | |
ul { | |
list-style: none; | |
} | |
img { | |
max-width: 100%; | |
height: auto; | |
border-radius: var(--border-radius); | |
} | |
.btn-primary { | |
background-color: var(--primary-color); | |
color: white; | |
padding: 12px 24px; | |
border-radius: var(--border-radius); | |
font-weight: 500; | |
display: inline-block; | |
transition: background-color 0.3s ease; | |
border: none; | |
cursor: pointer; | |
} | |
.btn-primary:hover { | |
background-color: var(--primary-dark); | |
} | |
.btn-secondary { | |
background-color: transparent; | |
color: var(--highlight-color); | |
padding: 12px 24px; | |
border-radius: var(--border-radius); | |
font-weight: 500; | |
display: inline-block; | |
border: 1px solid var(--highlight-color); | |
transition: background-color 0.3s ease; | |
cursor: pointer; | |
} | |
.btn-secondary:hover { | |
background-color: rgba(100, 255, 218, 0.1); | |
} | |
.section-header { | |
text-align: center; | |
margin-bottom: 60px; | |
} | |
.section-header h2 { | |
font-size: 2.5rem; | |
margin-bottom: 16px; | |
color: var(--text-lightest); | |
} | |
.underline { | |
height: 4px; | |
width: 70px; | |
background-color: var(--highlight-color); | |
margin: 0 auto; | |
} | |
/* Header Styles */ | |
header { | |
background-color: var(--dark-blue); | |
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); | |
position: sticky; | |
top: 0; | |
z-index: 100; | |
} | |
nav { | |
padding: 20px 0; | |
} | |
.logo a { | |
font-size: 2.5rem; | |
font-family: 'Romanesco'; | |
font-weight: 700; | |
color: var(--highlight-color); | |
} | |
/* Hero Section */ | |
.hero { | |
padding: 80px 0; | |
background-image: linear-gradient(to bottom, var(--dark-blue), var(--dark-blue-light)); | |
} | |
.hero .container { | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
text-align: center; | |
} | |
.hero-content h1 { | |
font-size: 3.5rem; | |
line-height: 1.2; | |
margin-bottom: 24px; | |
color: var(--text-lightest); | |
} | |
.hero-content p { | |
font-size: 1.25rem; | |
color: var(--text-light); | |
margin-bottom: 32px; | |
max-width: 800px; | |
} | |
.reasons { | |
padding: 100px 0; | |
background-color: var(--dark-blue-light); | |
} | |
.reasons-grid { | |
display: grid; | |
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | |
gap: 30px; | |
} | |
.reason-card { | |
background-color: var(--background-card); | |
padding: 30px; | |
border-radius: var(--border-radius); | |
box-shadow: var(--shadow); | |
border: 1px solid rgba(255, 255, 255, 0.1); | |
transition: transform 0.3s ease; | |
} | |
.reason-card:hover { | |
transform: translateY(-5px); | |
border-color: var(--highlight-color); | |
} | |
.reason-icon { | |
font-size: 2.5rem; | |
margin-bottom: 20px; | |
color: var(--highlight-color); | |
} | |
.reason-card h3 { | |
font-size: 1.5rem; | |
margin-bottom: 16px; | |
color: var(--text-lightest); | |
} | |
.reason-card p { | |
color: var(--text-light); | |
} | |
/* Steps Section */ | |
.steps { | |
padding: 100px 0; | |
background-color: var(--dark-blue); | |
} | |
.steps-container { | |
max-width: 800px; | |
margin: 0 auto; | |
} | |
.step { | |
display: flex; | |
margin-bottom: 50px; | |
position: relative; | |
} | |
.step:last-child { | |
margin-bottom: 0; | |
} | |
.step-number { | |
flex-shrink: 0; | |
width: 50px; | |
height: 50px; | |
border-radius: 50%; | |
background-color: var(--primary-color); | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
font-size: 1.5rem; | |
font-weight: 700; | |
margin-right: 30px; | |
position: relative; | |
z-index: 2; | |
} | |
.step-content { | |
padding-top: 5px; | |
} | |
.step-content h3 { | |
font-size: 1.5rem; | |
margin-bottom: 16px; | |
color: var(--text-lightest); | |
} | |
.step-content p { | |
color: var(--text-light); | |
} | |
.step-line { | |
position: absolute; | |
top: 50px; | |
left: 25px; | |
width: 2px; | |
height: calc(100% - 0px); | |
background-color: var(--primary-color); | |
z-index: 1; | |
} | |
.upload { | |
padding: 100px 0; | |
background-color: var(--dark-blue-light); | |
} | |
.upload-container { | |
max-width: 800px; | |
margin: 0 auto; | |
} | |
.upload-box { | |
background-color: var(--background-card); | |
padding: 40px; | |
border-radius: var(--border-radius); | |
box-shadow: var(--shadow); | |
border: 2px dashed rgba(255, 255, 255, 0.2); | |
text-align: center; | |
transition: border-color 0.3s ease; | |
} | |
.upload-box:hover { | |
border-color: var(--highlight-color); | |
} | |
.upload-icon { | |
font-size: 3rem; | |
margin-bottom: 20px; | |
color: var(--highlight-color); | |
} | |
.upload-text { | |
margin-bottom: 30px; | |
} | |
.upload-text h3 { | |
font-size: 1.5rem; | |
margin-bottom: 10px; | |
color: var(--text-lightest); | |
} | |
.upload-text p { | |
color: var(--text-light); | |
} | |
.file-input-container { | |
margin-bottom: 30px; | |
} | |
.file-input-label { | |
background-color: var(--dark-blue-lighter); | |
color: var(--text-lightest); | |
padding: 12px 24px; | |
border-radius: var(--border-radius); | |
cursor: pointer; | |
display: inline-block; | |
transition: background-color 0.3s ease; | |
} | |
.file-input-label:hover { | |
background-color: var(--dark-blue); | |
} | |
.file-input { | |
display: none; | |
} | |
.file-name { | |
margin-top: 10px; | |
color: var(--text-light); | |
font-size: 0.9rem; | |
} | |
/* Image Preview */ | |
.image-preview-container { | |
margin: 20px 0; | |
display: none; | |
} | |
.image-preview { | |
max-width: 100%; | |
max-height: 300px; | |
border-radius: var(--border-radius); | |
border: 1px solid rgba(255, 255, 255, 0.2); | |
} | |
.prompt-container { | |
margin-bottom: 30px; | |
text-align: left; | |
} | |
.prompt-label { | |
display: block; | |
margin-bottom: 10px; | |
color: var(--text-lightest); | |
font-weight: 500; | |
} | |
.prompt-input { | |
width: 100%; | |
padding: 12px 16px; | |
background-color: var(--dark-blue-lighter); | |
border: 1px solid rgba(255, 255, 255, 0.1); | |
border-radius: var(--border-radius); | |
color: var(--text-color); | |
font-family: "Inter", sans-serif; | |
font-size: 1rem; | |
resize: vertical; | |
min-height: 100px; | |
transition: border-color 0.3s ease; | |
} | |
.prompt-input:focus { | |
outline: none; | |
border-color: var(--highlight-color); | |
} | |
.prompt-input::placeholder { | |
color: var(--text-light); | |
opacity: 0.7; | |
} | |
.loading-container { | |
display: none; | |
margin: 30px 0; | |
text-align: center; | |
} | |
.loading-spinner { | |
display: inline-block; | |
width: 50px; | |
height: 50px; | |
border: 3px solid rgba(100, 255, 218, 0.3); | |
border-radius: 50%; | |
border-top-color: var(--highlight-color); | |
animation: spin 1s ease-in-out infinite; | |
} | |
@keyframes spin { | |
to { | |
transform: rotate(360deg); | |
} | |
} | |
.loading-text { | |
margin-top: 15px; | |
color: var(--text-light); | |
} | |
.results { | |
padding: 100px 0; | |
background-color: var(--dark-blue); | |
display: none; | |
} | |
.results-container { | |
max-width: 800px; | |
margin: 0 auto; | |
} | |
.results-box { | |
background-color: var(--background-card); | |
padding: 40px; | |
border-radius: var(--border-radius); | |
box-shadow: var(--shadow); | |
border: 1px solid rgba(255, 255, 255, 0.1); | |
} | |
.results-header { | |
display: flex; | |
align-items: center; | |
margin-bottom: 30px; | |
padding-bottom: 20px; | |
border-bottom: 1px solid rgba(255, 255, 255, 0.1); | |
} | |
.results-title h3 { | |
font-size: 1.5rem; | |
color: var(--text-lightest); | |
} | |
.results-content { | |
margin-bottom: 30px; | |
color: var(--text-light); | |
line-height: 1.8; | |
} | |
.results-image-container { | |
margin-bottom: 30px; | |
text-align: center; | |
} | |
.results-image { | |
max-width: 100%; | |
max-height: 300px; | |
border-radius: var(--border-radius); | |
border: 1px solid rgba(255, 255, 255, 0.2); | |
} | |
.results-chart-container { | |
margin-bottom: 30px; | |
text-align: center; | |
background-color: white; | |
padding: 20px; | |
border-radius: var(--border-radius); | |
} | |
.results-chart { | |
max-width: 100%; | |
max-height: 400px; | |
border-radius: var(--border-radius); | |
} | |
.results-code-container { | |
margin-bottom: 30px; | |
} | |
.results-code-header { | |
display: flex; | |
justify-content: space-between; | |
align-items: center; | |
margin-bottom: 15px; | |
} | |
.results-code-title { | |
font-size: 1.2rem; | |
color: var(--text-lightest); | |
} | |
.results-code { | |
background-color: var(--code-bg); | |
padding: 20px; | |
border-radius: var(--border-radius); | |
overflow-x: auto; | |
font-family: monospace; | |
font-size: 0.9rem; | |
line-height: 1.5; | |
color: var(--text-light); | |
border: 1px solid rgba(255, 255, 255, 0.1); | |
} | |
.results-code pre { | |
margin: 0; | |
white-space: pre-wrap; | |
} | |
.results-actions { | |
display: flex; | |
justify-content: flex-end; | |
gap: 15px; | |
} | |
footer { | |
background-color: var(--dark-blue-lighter); | |
color: var(--text-color); | |
padding: 80px 0 30px; | |
} | |
.footer-content { | |
margin-bottom: 60px; | |
} | |
.footer-logo a { | |
font-size: 2rem; | |
font-family: 'Romanesco'; | |
margin-bottom: 8px; | |
color: var(--highlight-color); | |
} | |
.footer-logo p { | |
color: var(--text-light); | |
} | |
.footer-bottom { | |
text-align: center; | |
padding-top: 30px; | |
border-top: 1px solid rgba(255, 255, 255, 0.1); | |
color: var(--text-light); | |
} | |
@media (max-width: 768px) { | |
.section-header h2 { | |
font-size: 2rem; | |
} | |
.hero-content h1 { | |
font-size: 2.5rem; | |
} | |
.step { | |
flex-direction: column; | |
} | |
.step-number { | |
margin-bottom: 20px; | |
margin-right: 0; | |
} | |
.step-line { | |
display: none; | |
} | |
.footer-content { | |
flex-direction: column; | |
gap: 40px; | |
} | |
.footer-links { | |
flex-wrap: wrap; | |
gap: 30px; | |
} | |
} |