:root {
--primary-color: #6366f1;
--secondary-color: #4f46e5;
--text-color: #1f2937;
--light-text: #6b7280;
--background: #f3f4f6;
--white: #ffffff;
--card-bg: #ffffff;
--border-color: #e5e7eb;
--code-bg: #f9fafb;
}
:root[class~="dark"] {
--primary-color: #60A5FA;
--secondary-color: #A78BFA;
--text-color: #F9FAFB;
--light-text: #D1D5DB;
--background: #111827;
--white: #1F2937;
--card-bg: #1F2937;
--border-color: #374151;
--code-bg: #111827;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
color: var(--text-color);
line-height: 1.5;
background-color: var(--background);
transition: background-color 0.3s ease;
}
.gradient-text {
background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero-pattern {
background-color: var(--background);
background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.nav-link {
color: var(--light-text);
transition: color 0.2s ease;
position: relative;
}
.nav-link:hover {
color: var(--text-color);
}
.nav-link::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -4px;
left: 0;
background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
transition: width 0.3s ease;
}
.nav-link:hover::after {
width: 100%;
}
.feature-card {
background: var(--card-bg);
border-radius: 0.5rem;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
transition: transform 0.2s ease, box-shadow 0.2s ease;
border: 1px solid var(--border-color);
}
.feature-card:hover {
transform: translateY(-2px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.btn {
padding: 0.75rem 2rem;
border-radius: 0.5rem;
font-weight: 500;
transition: all 0.2s ease;
position: relative;
overflow: hidden;
}
.btn::after {
content: '';
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: -100%;
background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
transition: left 0.5s ease;
}
.btn:hover::after {
left: 100%;
}
.btn-primary {
background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
color: var(--white);
}
.btn-primary:hover {
background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
}
.btn-outline {
border: 2px solid var(--primary-color);
color: var(--primary-color);
}
.btn-outline:hover {
background: rgba(59, 130, 246, 0.1);
}
pre {
background: var(--code-bg);
border-radius: 0.375rem;
padding: 1rem;
overflow-x: auto;
border: 1px solid var(--border-color);
position: relative;
}
.copy-button {
position: absolute;
top: 0.5rem;
right: 0.5rem;
padding: 0.25rem 0.5rem;
background: var(--card-bg);
border: 1px solid var(--border-color);
border-radius: 0.25rem;
color: var(--light-text);
font-size: 0.875rem;
transition: all 0.2s ease;
}
.copy-button:hover {
background: var(--primary-color);
color: var(--white);
}
code {
font-family: 'Fira Code', 'Consolas', monospace;
font-size: 0.875rem;
color: var(--text-color);
}
.doc-section {
margin-bottom: 4rem;
padding: 2rem;
background: var(--card-bg);
border-radius: 0.5rem;
border: 1px solid var(--border-color);
}
.api-endpoint {
background: var(--code-bg);
border-left: 4px solid var(--primary-color);
padding: 1rem;
margin: 1rem 0;
border-radius: 0 0.375rem 0.375rem 0;
}
.enterprise-feature {
border-left: 4px solid var(--secondary-color);
}
@keyframes pulse {
0% { opacity: 1; }
50% { opacity: 0.5; }
100% { opacity: 1; }
}
.loading {
animation: pulse 1.5s ease-in-out infinite;
}
@media print {
.nav-link, .mobile-menu-button, .theme-toggle {
display: none;
}
body {
color: black;
background: white;
}
.gradient-text {
color: black;
-webkit-text-fill-color: initial;
}
a[href]::after {
content: " (" attr(href) ")";
}
}
@media (max-width: 768px) {
.container {
padding-left: 1rem;
padding-right: 1rem;
}
.mobile-menu {
display: block;
}
.desktop-menu {
display: none;
}
h1 {
font-size: 2rem;
}
.feature-card {
margin-bottom: 1rem;
}
}
@media (prefers-reduced-motion: reduce) {
* {
animation: none !important;
transition: none !important;
}
}
:focus {
outline: 2px solid var(--primary-color);
outline-offset: 2px;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
line-height: 1.6;
color: var(--text-color);
background-color: var(--background);
}
header {
background-color: white;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 100;
}
nav {
max-width: 1200px;
margin: 0 auto;
padding: 1rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
display: flex;
align-items: center;
gap: 0.5rem;
}
.logo img {
height: 2.5rem;
}
.logo span {
font-size: 1.5rem;
font-weight: bold;
color: var(--primary-color);
}
nav ul {
display: flex;
gap: 2rem;
list-style: none;
}
nav a {
text-decoration: none;
color: var(--text-color);
font-weight: 500;
transition: color 0.2s;
}
nav a:hover {
color: var(--primary-color);
}
.hero {
text-align: center;
padding: 4rem 1rem;
background: linear-gradient(135deg, #f0f7ff 0%, #e6e6ff 100%);
}
.hero h1 {
font-size: 3rem;
margin-bottom: 1rem;
color: var(--text-color);
}
.hero p {
font-size: 1.25rem;
color: #4b5563;
max-width: 600px;
margin: 0 auto 2rem;
}
.cta-buttons {
display: flex;
gap: 1rem;
justify-content: center;
}
.primary-button {
background-color: var(--primary-color);
color: white;
padding: 0.75rem 1.5rem;
border-radius: 0.375rem;
text-decoration: none;
font-weight: 500;
transition: background-color 0.2s;
}
.primary-button:hover {
background-color: var(--secondary-color);
}
.secondary-button {
background-color: white;
color: var(--primary-color);
padding: 0.75rem 1.5rem;
border-radius: 0.375rem;
text-decoration: none;
font-weight: 500;
border: 1px solid var(--primary-color);
transition: background-color 0.2s;
}
.secondary-button:hover {
background-color: #f3f4f6;
}
.features {
padding: 4rem 1rem;
max-width: 1200px;
margin: 0 auto;
}
.features h2 {
text-align: center;
font-size: 2.25rem;
margin-bottom: 3rem;
color: var(--text-color);
}
.feature-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}
.feature-card {
background: white;
padding: 2rem;
border-radius: 0.5rem;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.2s;
}
.feature-card:hover {
transform: translateY(-4px);
}
.feature-card h3 {
font-size: 1.25rem;
margin-bottom: 1rem;
color: var(--text-color);
}
.feature-card p {
color: #6b7280;
}
footer {
background-color: #f3f4f6;
padding: 4rem 1rem 2rem;
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
}
.footer-section h4 {
font-size: 1.125rem;
margin-bottom: 1rem;
color: var(--text-color);
}
.footer-section ul {
list-style: none;
}
.footer-section a {
text-decoration: none;
color: #6b7280;
transition: color 0.2s;
}
.footer-section a:hover {
color: var(--primary-color);
}
.footer-bottom {
text-align: center;
margin-top: 3rem;
padding-top: 2rem;
border-top: 1px solid #e5e7eb;
color: #6b7280;
}
@media (max-width: 768px) {
nav ul {
display: none;
}
.hero h1 {
font-size: 2.25rem;
}
.hero p {
font-size: 1rem;
}
.cta-buttons {
flex-direction: column;
align-items: center;
}
.feature-grid {
grid-template-columns: 1fr;
}
}