:host {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
--primary-color: #0078D4;
--secondary-color: #7B1FA2;
--accent-color: #FF4081;
--text-color: #1E1E1E;
--text-muted: #666;
--bg-light: #F5F5F5;
--bg-alt: #FAFAFA;
--border-color: #E0E0E0;
--code-bg: #2D2D30;
--code-text: #D4D4D4;
--shadow: 0 2px 8px rgba(0,0,0,0.1);
--shadow-lg: 0 4px 16px rgba(0,0,0,0.15);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.navbar {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
color: white;
padding: 1rem 0;
box-shadow: var(--shadow);
position: sticky;
top: 0;
z-index: 1000;
}
.navbar .container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.nav-brand {
display: flex;
align-items: center;
gap: 1rem;
}
.nav-brand h1 {
font-size: 1.5rem;
font-weight: 600;
margin: 0;
}
.version {
background: rgba(255,255,255,0.2);
padding: 0.25rem 0.75rem;
border-radius: 20px;
font-size: 0.875rem;
}
.nav-links {
display: flex;
gap: 2rem;
}
.nav-links a {
color: white;
text-decoration: none;
font-weight: 500;
transition: opacity 0.3s;
}
.nav-links a:hover {
opacity: 0.8;
}
.main-content {
min-height: 100vh;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}
.section {
padding: 4rem 0;
}
.section.alt-bg {
background: var(--bg-alt);
}
h2 {
font-size: 2.5rem;
color: var(--text-color);
margin-bottom: 2rem;
text-align: center;
}
h3 {
font-size: 1.5rem;
color: var(--text-color);
margin-bottom: 1rem;
}
.hero {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
color: white;
padding: 6rem 0;
text-align: center;
}
.hero-title {
font-size: 3.5rem;
font-weight: 700;
margin-bottom: 1.5rem;
}
.hero-subtitle {
font-size: 1.25rem;
max-width: 800px;
margin: 0 auto 2rem;
opacity: 0.95;
line-height: 1.6;
}
.hero-buttons {
display: flex;
gap: 1rem;
justify-content: center;
margin-bottom: 4rem;
}
.btn {
padding: 1rem 2rem;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
font-size: 1.125rem;
transition: transform 0.3s, box-shadow 0.3s;
display: inline-block;
}
.btn:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-lg);
}
.btn-primary {
background: white;
color: var(--primary-color);
}
.btn-secondary {
background: rgba(255,255,255,0.2);
color: white;
border: 2px solid white;
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-top: 3rem;
}
.feature {
text-align: center;
padding: 2rem;
background: rgba(255,255,255,0.1);
border-radius: 12px;
backdrop-filter: blur(10px);
}
.feature-icon {
font-size: 3rem;
margin-bottom: 1rem;
}
.feature h3 {
color: white;
margin-bottom: 0.5rem;
}
.feature p {
color: rgba(255,255,255,0.9);
font-size: 0.95rem;
}
.step {
margin-bottom: 3rem;
}
.step h3 {
color: var(--primary-color);
margin-bottom: 1rem;
}
.code-block {
background: var(--code-bg);
color: var(--code-text);
padding: 1.5rem;
border-radius: 8px;
overflow-x: auto;
margin: 1rem 0;
box-shadow: var(--shadow);
}
.code-block code {
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
font-size: 0.9rem;
line-height: 1.6;
}
code {
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
background: var(--bg-light);
padding: 0.25rem 0.5rem;
border-radius: 4px;
font-size: 0.9rem;
color: var(--accent-color);
}
.controls-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
}
.control-card {
background: white;
padding: 2rem;
border-radius: 12px;
box-shadow: var(--shadow);
transition: transform 0.3s, box-shadow 0.3s;
border: 2px solid var(--border-color);
}
.control-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-lg);
border-color: var(--primary-color);
}
.control-card h3 {
color: var(--primary-color);
margin-bottom: 0.5rem;
}
.control-card p {
color: var(--text-muted);
margin-bottom: 1rem;
}
.examples-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.example-card {
background: white;
padding: 2rem;
border-radius: 12px;
box-shadow: var(--shadow);
transition: transform 0.3s, box-shadow 0.3s;
border-left: 4px solid var(--primary-color);
}
.example-card.highlight {
background: linear-gradient(135deg, #f0f7ff, #fff);
border-left: 6px solid var(--primary-color);
box-shadow: 0 4px 12px rgba(0, 120, 212, 0.2);
}
.example-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-lg);
}
.example-card.highlight:hover {
box-shadow: 0 6px 20px rgba(0, 120, 212, 0.3);
}
.example-card h3 {
color: var(--text-color);
margin-bottom: 0.75rem;
}
.example-card p {
color: var(--text-muted);
margin-bottom: 1rem;
}
.api-section {
margin-bottom: 3rem;
padding-bottom: 2rem;
border-bottom: 1px solid var(--border-color);
}
.api-section:last-child {
border-bottom: none;
}
.api-section h3 {
color: var(--primary-color);
}
.api-section p {
color: var(--text-muted);
margin-bottom: 1rem;
line-height: 1.6;
}
.architecture-diagram {
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
max-width: 600px;
margin: 2rem auto;
}
.arch-layer {
background: white;
padding: 1.5rem 3rem;
border-radius: 8px;
box-shadow: var(--shadow);
text-align: center;
width: 100%;
border: 2px solid var(--border-color);
}
.arch-layer.highlight {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
color: white;
border-color: var(--primary-color);
}
.arch-layer strong {
display: block;
font-size: 1.125rem;
margin-bottom: 0.5rem;
}
.arch-layer p {
color: var(--text-muted);
font-size: 0.9rem;
}
.arch-layer.highlight p {
color: rgba(255,255,255,0.9);
}
.arch-arrow {
font-size: 1.5rem;
color: var(--primary-color);
font-weight: bold;
}
.footer {
background: var(--text-color);
color: white;
padding: 3rem 0;
margin-top: 4rem;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
}
.footer-section h4 {
margin-bottom: 1rem;
color: white;
}
.footer-section a {
display: block;
color: rgba(255,255,255,0.8);
text-decoration: none;
margin-bottom: 0.5rem;
transition: color 0.3s;
}
.footer-section a:hover {
color: white;
}
.footer-section p {
color: rgba(255,255,255,0.7);
font-size: 0.9rem;
margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
.navbar .container {
flex-direction: column;
gap: 1rem;
}
.nav-links {
flex-wrap: wrap;
justify-content: center;
}
.hero-title {
font-size: 2.5rem;
}
.hero-subtitle {
font-size: 1.125rem;
}
.hero-buttons {
flex-direction: column;
align-items: center;
}
.features-grid,
.controls-grid,
.examples-grid {
grid-template-columns: 1fr;
}
.container {
padding: 0 1rem;
}
}