:root {
    /* Primary brand colors */
    --primary-color: #ffcc00; /* Yellow from logo */
    --secondary-color: #4caf50; /* Green from logo */
    --accent-color: #0078ff; /* Blue accent */

    /* Light mode colors */
    --light-bg: #ffffff;
    --light-bg-alt: #f8f9fa;
    --light-text: #333333;
    --light-text-secondary: #666666;
    --light-border: #e0e0e0;

    /* Dark mode colors */
    --dark-bg: #121212;
    --dark-bg-alt: #1e1e1e;
    --dark-text: #e0e0e0;
    --dark-text-secondary: #aaaaaa;
    --dark-border: #333333;

    /* Current theme colors (defaults to light) */
    --bg-color: var(--light-bg);
    --bg-alt-color: var(--light-bg-alt);
    --text-color: var(--light-text);
    --text-secondary-color: var(--light-text-secondary);
    --border-color: var(--light-border);

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;

    /* Border radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: var(--dark-bg);
        --bg-alt-color: var(--dark-bg-alt);
        --text-color: var(--dark-text);
        --text-secondary-color: var(--dark-text-secondary);
        --border-color: var(--dark-border);
    }
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

code {
    font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
    background-color: var(--bg-alt-color);
    padding: 0.2em 0.4em;
    border-radius: var(--border-radius-sm);
    font-size: 0.9em;
}

/* Header styles */
.site-header {
    background-color: var(--bg-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: var(--spacing-md) 0;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.logo img {
    margin-right: var(--spacing-sm);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: var(--spacing-lg);
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 101;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition-normal);
}

/* Hero section */
.hero {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.1), rgba(76, 175, 80, 0.1));
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-secondary-color);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.hero-badges img {
    height: 20px;
}

.hero-image {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pulse-animation {
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-text);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--dark-text);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--dark-text);
    transform: translateY(-2px);
}

/* Quick start section */
.quick-start {
    padding: var(--spacing-xl) 0;
}

.terminal {
    background-color: #1e1e1e;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: var(--spacing-lg);
}

.terminal-header {
    background-color: #323232;
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    align-items: center;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
    background-color: #ff5f56;
}

.terminal-button:nth-child(2) {
    background-color: #ffbd2e;
}

.terminal-button:nth-child(3) {
    background-color: #27c93f;
}

.terminal-title {
    margin-left: auto;
    margin-right: auto;
    color: #ddd;
    font-size: 0.8rem;
}

.terminal-body {
    padding: var(--spacing-md);
    font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
    color: #f8f8f8;
    line-height: 1.6;
}

.terminal-body p {
    margin-bottom: var(--spacing-sm);
}

.prompt {
    color: var(--primary-color);
    margin-right: var(--spacing-sm);
}

.comment {
    color: #6a9955;
}

/* Features section */
.features {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-alt-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.feature-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

/* Commands section */
.commands {
    padding: var(--spacing-xl) 0;
}

.commands-table-wrapper {
    overflow-x: auto;
    margin-top: var(--spacing-lg);
}

.commands-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.commands-table th,
.commands-table td {
    padding: var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.commands-table th {
    background-color: var(--primary-color);
    color: var(--dark-text);
    font-weight: 600;
}

.commands-table tr:last-child td {
    border-bottom: none;
}

.commands-table tr:nth-child(even) {
    background-color: var(--bg-alt-color);
}

/* Performance section */
.performance {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-alt-color);
}

.performance-table-wrapper {
    overflow-x: auto;
    margin-top: var(--spacing-lg);
}

.performance-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.performance-table th,
.performance-table td {
    padding: var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.performance-table th {
    background-color: var(--primary-color);
    color: var(--dark-text);
    font-weight: 600;
}

.performance-table tr:last-child td {
    border-bottom: none;
}

.performance-table tr:nth-child(even) {
    background-color: var(--bg-color);
}

.speedup {
    color: var(--secondary-color);
    font-weight: 600;
}

/* CTA section */
.cta {
    padding: var(--spacing-xl) 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.1), rgba(76, 175, 80, 0.1));
}

.cta h2 {
    margin-top: 0;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

/* Integrations section */
.integrations {
    padding: var(--spacing-xl) 0;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.integration-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--text-color);
}

.integration-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.integration-card img {
    height: 60px;
    margin-bottom: var(--spacing-md);
}

.integration-card h3 {
    margin-bottom: var(--spacing-sm);
}

.learn-more {
    margin-top: var(--spacing-md);
    color: var(--accent-color);
    font-weight: 500;
}

/* Documentation section */
.documentation {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-alt-color);
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.docs-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.docs-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.docs-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.docs-card p {
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.docs-link {
    color: var(--accent-color);
    font-weight: 500;
    display: inline-block;
    transition: transform var(--transition-fast);
}

.docs-link:hover {
    transform: translateX(5px);
}

/* Footer styles */
.site-footer {
    background-color: var(--bg-alt-color);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    margin-right: var(--spacing-sm);
}

.footer-logo span {
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-column h4 {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: var(--spacing-sm);
}

.footer-column a {
    color: var(--text-secondary-color);
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary-color);
    font-size: 0.9rem;
}

/* Responsive styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: var(--spacing-lg);
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-badges {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right var(--transition-normal);
        box-shadow: var(--shadow-lg);
        z-index: 100;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: var(--spacing-md) 0;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: var(--spacing-sm);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .feature-card {
        padding: var(--spacing-md);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
