:root {
--bg-main: #0f172a;
--bg-card: #1e293b;
--border-color: #334155;
--text-main: #f8fafc;
--text-muted: #94a3b8;
--primary: #3b82f6;
--primary-hover: #2563eb;
--accent: #10b981;
--code-bg: #090d16;
--font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: var(--bg-main);
color: var(--text-main);
font-family: var(--font-sans);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
.navbar {
border-bottom: 1px solid var(--border-color);
background: rgba(15, 23, 42, 0.85);
backdrop-filter: blur(12px);
position: sticky;
top: 0;
z-index: 100;
}
.nav-container {
max-width: 1100px;
margin: 0 auto;
padding: 1rem 1.5rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.brand {
display: flex;
align-items: center;
gap: 0.5rem;
text-decoration: none;
color: inherit;
transition: opacity 0.15s ease;
}
.brand:hover {
opacity: 0.9;
}
.logo-icon {
font-size: 1.4rem;
}
.brand-name {
font-size: 1.25rem;
font-weight: 700;
letter-spacing: -0.02em;
color: var(--text-main);
}
.badge {
background: var(--border-color);
color: var(--text-muted);
font-size: 0.75rem;
padding: 0.15rem 0.5rem;
border-radius: 9999px;
font-weight: 500;
}
.nav-links {
display: flex;
gap: 1.25rem;
align-items: center;
}
.nav-links a {
color: var(--text-muted);
text-decoration: none;
font-size: 0.9rem;
transition: color 0.15s ease;
}
.nav-links a:hover {
color: var(--text-main);
}
.content-wrapper {
max-width: 1100px;
margin: 0 auto;
padding: 3rem 1.5rem 6rem;
}
.hero {
text-align: center;
padding: 3rem 0 4rem;
}
.hero-badge {
display: inline-block;
background: rgba(59, 130, 246, 0.15);
color: #93c5fd;
border: 1px solid rgba(59, 130, 246, 0.3);
font-size: 0.75rem;
font-weight: 700;
padding: 0.25rem 0.75rem;
border-radius: 9999px;
letter-spacing: 0.05em;
margin-bottom: 1.5rem;
}
.hero-title {
font-size: 2.75rem;
font-weight: 800;
letter-spacing: -0.03em;
line-height: 1.15;
margin-bottom: 1.25rem;
max-width: 850px;
margin-left: auto;
margin-right: auto;
}
.hero-subtitle {
color: var(--text-muted);
font-size: 1.15rem;
max-width: 720px;
margin: 0 auto 2rem;
}
.hero-actions {
display: flex;
gap: 1rem;
justify-content: center;
}
.btn-primary {
background: var(--primary);
color: #fff;
padding: 0.75rem 1.5rem;
border-radius: 8px;
font-weight: 600;
text-decoration: none;
transition: background 0.15s ease;
}
.btn-primary:hover {
background: var(--primary-hover);
}
.btn-secondary {
background: var(--bg-card);
color: var(--text-main);
border: 1px solid var(--border-color);
padding: 0.75rem 1.5rem;
border-radius: 8px;
font-weight: 600;
text-decoration: none;
transition: background 0.15s ease;
}
.btn-secondary:hover {
background: #273549;
}
.grid-features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 1.5rem;
margin: 3rem 0;
}
.card {
background: var(--bg-card);
border: 1px solid var(--border-color);
padding: 1.75rem;
border-radius: 12px;
}
.card-icon {
font-size: 1.75rem;
margin-bottom: 0.75rem;
}
.card h3 {
font-size: 1.15rem;
margin-bottom: 0.5rem;
letter-spacing: -0.01em;
}
.card p {
color: var(--text-muted);
font-size: 0.9rem;
}
.section {
margin: 4rem 0;
}
.section h2 {
font-size: 1.75rem;
letter-spacing: -0.02em;
margin-bottom: 0.75rem;
}
.section > p {
color: var(--text-muted);
margin-bottom: 1.5rem;
}
.code-block {
background: var(--code-bg);
border: 1px solid var(--border-color);
border-radius: 8px;
overflow: hidden;
margin: 1.5rem 0;
}
.code-header {
background: #111827;
border-bottom: 1px solid var(--border-color);
padding: 0.5rem 1rem;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 0.8rem;
color: var(--text-muted);
}
.btn-copy {
background: var(--bg-card);
color: var(--text-main);
border: 1px solid var(--border-color);
padding: 0.2rem 0.6rem;
border-radius: 4px;
font-size: 0.75rem;
cursor: pointer;
}
.btn-copy:hover {
background: #334155;
}
pre {
padding: 1.25rem;
overflow-x: auto;
font-family: var(--font-mono);
font-size: 0.88rem;
line-height: 1.5;
}
code {
font-family: var(--font-mono);
}
.api-card {
background: var(--bg-card);
border: 1px solid var(--border-color);
padding: 1.25rem;
border-radius: 8px;
margin-bottom: 1rem;
display: flex;
align-items: flex-start;
gap: 1rem;
}
.badge-method {
font-family: var(--font-mono);
font-weight: 700;
font-size: 0.75rem;
padding: 0.2rem 0.5rem;
border-radius: 4px;
}
.badge-method.get {
background: rgba(16, 185, 129, 0.2);
color: #34d399;
border: 1px solid rgba(16, 185, 129, 0.4);
}
.badge-method.post {
background: rgba(59, 130, 246, 0.2);
color: #60a5fa;
border: 1px solid rgba(59, 130, 246, 0.4);
}
.api-endpoint {
font-family: var(--font-mono);
font-weight: 600;
font-size: 1rem;
min-width: 100px;
}
.api-card p {
color: var(--text-muted);
font-size: 0.9rem;
margin: 0;
}
.footer {
border-top: 1px solid var(--border-color);
background: #090d16;
padding: 2.5rem 1.5rem;
text-align: center;
color: var(--text-muted);
font-size: 0.85rem;
}
.footer-container {
max-width: 1100px;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.footer a {
color: var(--primary);
text-decoration: none;
}
.footer a:hover {
text-decoration: underline;
}
@media (max-width: 768px) {
.hero-title {
font-size: 2rem;
}
.nav-links a {
display: none;
}
.api-card {
flex-direction: column;
gap: 0.5rem;
}
}
.preview-body svg,
.preview-body img,
.diagram-preview svg,
.diagram-preview img {
max-width: 100%;
height: auto;
border-radius: 8px;
background-color: #ffffff !important;
color: #0f172a;
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
border: 1px solid rgba(255, 255, 255, 0.1);
padding: 1.5rem;
}
.doc-table {
width: 100%;
border-collapse: collapse;
margin: 1.5rem 0;
font-size: 0.9rem;
}
.doc-table th, .doc-table td {
padding: 0.75rem 1rem;
text-align: left;
border-bottom: 1px solid var(--border-color);
}
.doc-table th {
background: #111827;
color: var(--text-main);
font-weight: 600;
}
.doc-table tr:hover {
background: rgba(255, 255, 255, 0.02);
}
.callout-warning {
background: rgba(245, 158, 11, 0.1);
border-left: 4px solid #f59e0b;
padding: 1rem 1.25rem;
border-radius: 4px;
margin: 1.5rem 0;
color: #fde68a;
}
.callout-info {
background: rgba(59, 130, 246, 0.1);
border-left: 4px solid #3b82f6;
padding: 1rem 1.25rem;
border-radius: 4px;
margin: 1.5rem 0;
color: #bfdbfe;
}
.breadcrumb {
margin-bottom: 1.25rem;
}
.breadcrumb ol {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0.5rem;
list-style: none;
padding: 0;
margin: 0;
font-size: 0.85rem;
color: var(--text-muted);
}
.breadcrumb li {
display: flex;
align-items: center;
gap: 0.5rem;
}
.breadcrumb a {
color: var(--primary);
text-decoration: none;
transition: color 0.15s ease;
}
.breadcrumb a:hover {
text-decoration: underline;
color: var(--primary-hover);
}
.breadcrumb .separator {
color: var(--border-color);
user-select: none;
}
.breadcrumb [aria-current="page"] {
color: var(--text-main);
font-weight: 600;
}
.subnav-motores {
background: rgba(30, 41, 59, 0.6);
border: 1px solid var(--border-color);
border-radius: 10px;
padding: 0.6rem 0.8rem;
margin-bottom: 2rem;
display: flex;
align-items: center;
gap: 0.5rem;
overflow-x: auto;
scrollbar-width: thin;
}
.subnav-title {
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--text-muted);
font-weight: 700;
white-space: nowrap;
margin-right: 0.3rem;
}
.subnav-pills {
display: flex;
gap: 0.4rem;
align-items: center;
list-style: none;
margin: 0;
padding: 0;
}
.motor-pill {
display: inline-flex;
align-items: center;
gap: 0.35rem;
padding: 0.35rem 0.7rem;
font-size: 0.8rem;
font-weight: 500;
border-radius: 6px;
text-decoration: none;
color: var(--text-muted);
background: rgba(15, 23, 42, 0.6);
border: 1px solid transparent;
white-space: nowrap;
transition: all 0.15s ease;
}
.motor-pill:hover {
color: var(--text-main);
border-color: var(--border-color);
background: rgba(51, 65, 85, 0.5);
}
.motor-pill.active {
background: var(--primary);
color: #ffffff;
font-weight: 600;
border-color: var(--primary-hover);
box-shadow: 0 0 10px rgba(59, 130, 246, 0.35);
}
.motor-pagination {
display: flex;
justify-content: space-between;
gap: 1rem;
margin-top: 3.5rem;
padding-top: 2rem;
border-top: 1px solid var(--border-color);
}
.pagination-btn {
display: inline-flex;
flex-direction: column;
gap: 0.25rem;
padding: 0.75rem 1.25rem;
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: 8px;
text-decoration: none;
color: var(--text-main);
transition: all 0.15s ease;
min-width: 180px;
}
.pagination-btn.prev {
align-items: flex-start;
}
.pagination-btn.next {
align-items: flex-end;
margin-left: auto;
}
.pagination-btn:hover {
border-color: var(--primary);
background: rgba(30, 41, 59, 0.9);
transform: translateY(-1px);
}
.pagination-label {
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--text-muted);
}
.pagination-title {
font-size: 0.95rem;
font-weight: 600;
color: var(--primary);
}
.site-footer {
border-top: 1px solid var(--border-color);
background: #090d16;
padding: 2.5rem 1.5rem;
margin-top: 4rem;
text-align: center;
font-size: 0.85rem;
line-height: 1.6;
}
.footer-canonical {
max-width: 1100px;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 0.5rem;
align-items: center;
justify-content: center;
}
.footer-line-identity {
font-weight: 500;
}
.footer-line-metadata {
color: var(--text-muted);
font-size: 0.8rem;
}
.site-footer a {
color: var(--primary);
text-decoration: none;
}
.site-footer a:hover {
text-decoration: underline;
}
.example-result {
margin-top: 1rem;
background: #0d1117;
border: 1px solid var(--border-color);
border-radius: 8px;
padding: 1rem;
text-align: center;
}
.example-result-title {
font-size: 0.8rem;
color: var(--text-muted);
text-align: left;
margin-bottom: 0.75rem;
font-family: var(--font-mono);
text-transform: uppercase;
letter-spacing: 0.05em;
}
.example-result img {
max-width: 100%;
height: auto;
border-radius: 6px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
background-color: #ffffff;
}