mirror of https://github.com/kortix-ai/suna.git
251 lines
4.3 KiB
CSS
251 lines
4.3 KiB
CSS
:root {
|
|
--primary-color: #2563eb;
|
|
--secondary-color: #1e40af;
|
|
--text-color: #1f2937;
|
|
--light-text: #6b7280;
|
|
--background: #ffffff;
|
|
--section-bg: #f3f4f6;
|
|
--transition: all 0.3s ease;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Inter', -apple-system, 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);
|
|
padding: 1rem 0;
|
|
transition: var(--transition);
|
|
z-index: 1000;
|
|
}
|
|
|
|
header.scrolled {
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
nav {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 2rem;
|
|
}
|
|
|
|
.logo {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
list-style: none;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.nav-links a {
|
|
text-decoration: none;
|
|
color: var(--text-color);
|
|
font-weight: 500;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.nav-links a:hover {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.mobile-menu {
|
|
display: none;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mobile-menu span {
|
|
width: 24px;
|
|
height: 2px;
|
|
background: var(--text-color);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
#hero {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
|
|
padding: 2rem;
|
|
}
|
|
|
|
.hero-content {
|
|
text-align: center;
|
|
max-width: 800px;
|
|
}
|
|
|
|
.hero-content h1 {
|
|
font-size: 3.5rem;
|
|
margin-bottom: 1rem;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.hero-content p {
|
|
font-size: 1.25rem;
|
|
color: var(--light-text);
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.cta-button {
|
|
padding: 1rem 2rem;
|
|
background: var(--primary-color);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.cta-button:hover {
|
|
background: var(--secondary-color);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
section {
|
|
padding: 6rem 0;
|
|
}
|
|
|
|
section:nth-child(even) {
|
|
background: var(--section-bg);
|
|
}
|
|
|
|
h2 {
|
|
font-size: 2.5rem;
|
|
margin-bottom: 3rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.feature-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
gap: 2rem;
|
|
}
|
|
|
|
.feature-card {
|
|
background: white;
|
|
padding: 2rem;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
|
|
transition: var(--transition);
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
|
|
.feature-card.animate {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.feature-card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.feature-card h3 {
|
|
font-size: 1.5rem;
|
|
margin-bottom: 1rem;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.contact-form {
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.contact-form input,
|
|
.contact-form textarea {
|
|
padding: 1rem;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 8px;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.contact-form textarea {
|
|
min-height: 150px;
|
|
resize: vertical;
|
|
}
|
|
|
|
footer {
|
|
background: var(--text-color);
|
|
color: white;
|
|
padding: 2rem 0;
|
|
text-align: center;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.mobile-menu {
|
|
display: flex;
|
|
}
|
|
|
|
.nav-links {
|
|
position: fixed;
|
|
top: 70px;
|
|
left: 0;
|
|
right: 0;
|
|
background: var(--background);
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 2rem;
|
|
gap: 1.5rem;
|
|
transform: translateY(-150%);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.nav-links.active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.mobile-menu.active span:nth-child(1) {
|
|
transform: rotate(45deg) translate(5px, 5px);
|
|
}
|
|
|
|
.mobile-menu.active span:nth-child(2) {
|
|
opacity: 0;
|
|
}
|
|
|
|
.mobile-menu.active span:nth-child(3) {
|
|
transform: rotate(-45deg) translate(5px, -5px);
|
|
}
|
|
|
|
.hero-content h1 {
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
section {
|
|
padding: 4rem 0;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 2rem;
|
|
}
|
|
} |