mirror of https://github.com/kortix-ai/suna.git
373 lines
6.6 KiB
CSS
373 lines
6.6 KiB
CSS
:root {
|
|
--primary-color: #2563eb;
|
|
--secondary-color: #1e40af;
|
|
--text-color: #1f2937;
|
|
--light-text: #6b7280;
|
|
--background: #ffffff;
|
|
--section-bg: #f3f4f6;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
.scroll-top {
|
|
position: fixed;
|
|
bottom: 2rem;
|
|
right: 2rem;
|
|
background: var(--primary-color);
|
|
color: white;
|
|
width: 45px;
|
|
height: 45px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transition: all 0.3s ease;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.scroll-top.visible {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
}
|
|
|
|
.scroll-top:hover {
|
|
transform: translateY(-3px);
|
|
background: var(--secondary-color);
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
|
line-height: 1.6;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 2rem;
|
|
}
|
|
|
|
.header {
|
|
position: fixed;
|
|
width: 100%;
|
|
background: var(--background);
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
z-index: 1000;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.header.scrolled {
|
|
transform: translateY(-100%);
|
|
}
|
|
|
|
.header:hover {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.nav {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 1rem 2rem;
|
|
}
|
|
|
|
.logo {
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
gap: 2rem;
|
|
list-style: none;
|
|
}
|
|
|
|
.nav-links a {
|
|
text-decoration: none;
|
|
color: var(--text-color);
|
|
font-weight: 500;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.nav-links a:hover {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.mobile-nav-toggle {
|
|
display: none;
|
|
}
|
|
|
|
.hero {
|
|
padding: 8rem 0 4rem;
|
|
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
|
|
background-size: 200% 200%;
|
|
color: white;
|
|
text-align: center;
|
|
animation: gradientMove 10s ease infinite;
|
|
}
|
|
|
|
@keyframes gradientMove {
|
|
0% { background-position: 0% 50%; }
|
|
50% { background-position: 100% 50%; }
|
|
100% { background-position: 0% 50%; }
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: 3rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.hero p {
|
|
font-size: 1.25rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.cta-button {
|
|
padding: 1rem 2rem;
|
|
font-size: 1.1rem;
|
|
background: white;
|
|
color: var(--primary-color);
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.cta-button:hover {
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.features {
|
|
padding: 4rem 0;
|
|
background: var(--section-bg);
|
|
}
|
|
|
|
.features h2 {
|
|
text-align: center;
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.feature-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
gap: 2rem;
|
|
}
|
|
|
|
.feature-card {
|
|
background: white;
|
|
padding: 2rem;
|
|
border-radius: 10px;
|
|
text-align: center;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
transition: all 0.3s ease;
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
animation: fadeInUp 0.6s ease forwards;
|
|
}
|
|
|
|
@keyframes fadeInUp {
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.feature-card:hover {
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
.feature-icon {
|
|
font-size: 2.5rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.contact {
|
|
padding: 4rem 0;
|
|
}
|
|
|
|
.contact h2 {
|
|
text-align: center;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.contact-form {
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.contact-form input,
|
|
.contact-form textarea {
|
|
padding: 0.8rem;
|
|
border: 2px solid #ddd;
|
|
border-radius: 5px;
|
|
font-size: 1rem;
|
|
transition: all 0.3s ease;
|
|
outline: none;
|
|
}
|
|
|
|
.contact-form input:focus,
|
|
.contact-form textarea:focus {
|
|
border-color: var(--primary-color);
|
|
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
|
|
}
|
|
|
|
.contact-form input:hover,
|
|
.contact-form textarea:hover {
|
|
border-color: var(--primary-color);
|
|
}
|
|
|
|
.contact-form textarea {
|
|
height: 150px;
|
|
resize: vertical;
|
|
}
|
|
|
|
.submit-button {
|
|
padding: 1rem;
|
|
background: var(--primary-color);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.submit-button:hover {
|
|
background: var(--secondary-color);
|
|
}
|
|
|
|
.testimonials {
|
|
padding: 4rem 0;
|
|
background: var(--section-bg);
|
|
}
|
|
|
|
.testimonials h2 {
|
|
text-align: center;
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.testimonial-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 2rem;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 2rem;
|
|
}
|
|
|
|
.testimonial-card {
|
|
background: white;
|
|
padding: 2rem;
|
|
border-radius: 10px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.testimonial-text {
|
|
font-style: italic;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.testimonial-author {
|
|
font-weight: bold;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.footer {
|
|
background: var(--text-color);
|
|
color: white;
|
|
padding: 2rem 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.social-links {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 1.5rem;
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
.social-links a {
|
|
color: white;
|
|
text-decoration: none;
|
|
font-size: 1.5rem;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.social-links a:hover {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.nav-links {
|
|
display: none;
|
|
position: fixed;
|
|
top: 70px;
|
|
left: 0;
|
|
right: 0;
|
|
background: var(--background);
|
|
flex-direction: column;
|
|
padding: 2rem;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
text-align: center;
|
|
transform: translateY(-100%);
|
|
opacity: 0;
|
|
transition: transform 0.3s ease, opacity 0.3s ease;
|
|
}
|
|
|
|
.nav-links.active {
|
|
display: flex;
|
|
transform: translateY(0);
|
|
opacity: 1;
|
|
}
|
|
|
|
.mobile-nav-toggle {
|
|
display: block;
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mobile-nav-toggle span {
|
|
display: block;
|
|
width: 25px;
|
|
height: 3px;
|
|
background: var(--text-color);
|
|
margin: 5px 0;
|
|
transition: 0.3s;
|
|
position: relative;
|
|
}
|
|
|
|
.mobile-nav-toggle.active span:nth-child(1) {
|
|
transform: rotate(45deg) translate(5px, 5px);
|
|
}
|
|
|
|
.mobile-nav-toggle.active span:nth-child(2) {
|
|
opacity: 0;
|
|
}
|
|
|
|
.mobile-nav-toggle.active span:nth-child(3) {
|
|
transform: rotate(-45deg) translate(7px, -6px);
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
.feature-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
} |