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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    min-height: 100vh;
    line-height: 1.6;
}

.landing-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.hero {
    text-align: center;
    margin-bottom: 3rem;
}

.logo {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #e74c3c, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.25rem;
    color: #a0a0a0;
    margin-bottom: 1rem;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}

.feature:hover {
    transform: translateY(-4px);
    border-color: rgba(231, 76, 60, 0.5);
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.75rem;
}

.feature h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.feature p {
    font-size: 0.9rem;
    color: #a0a0a0;
}

.voice-commands, .install-section, .requirements, .robot-behaviors, .api-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #f39c12;
}

.voice-commands p {
    color: #a0a0a0;
    margin-bottom: 1rem;
}

.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.command-group h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #e74c3c;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #d0d0d0;
    font-size: 0.9rem;
}

li::before {
    content: "\2192";
    position: absolute;
    left: 0;
    color: #e74c3c;
}

/* Robot Behaviors */
.behaviors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
}

.behavior {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
}

.behavior-state {
    font-size: 0.75rem;
    font-weight: 600;
    color: #f39c12;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.behavior-action {
    font-size: 0.85rem;
    color: #d0d0d0;
}

/* Installation */
code {
    display: block;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.85rem;
    color: #27ae60;
    overflow-x: auto;
    margin-top: 0.5rem;
}

code.inline {
    display: inline;
    padding: 0.2rem 0.5rem;
    margin: 0;
}

.install-section p {
    color: #a0a0a0;
    margin-bottom: 0.5rem;
}

.alt-install {
    margin-top: 1rem;
}

/* API Section */
.api-section p {
    color: #a0a0a0;
    margin-bottom: 1rem;
}

.api-endpoints {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.endpoint {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    font-size: 0.85rem;
}

.method {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    min-width: 45px;
    text-align: center;
}

.method.get {
    background: rgba(39, 174, 96, 0.2);
    color: #27ae60;
}

.method.post {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
}

.method.ws {
    background: rgba(155, 89, 182, 0.2);
    color: #9b59b6;
}

.path {
    font-family: 'Monaco', 'Menlo', monospace;
    color: #f39c12;
}

.desc {
    color: #a0a0a0;
    margin-left: auto;
}

/* Footer */
.landing-footer {
    text-align: center;
    padding-top: 2rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-footer p {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.landing-footer a {
    color: #e74c3c;
    text-decoration: none;
}

.landing-footer a:hover {
    text-decoration: underline;
}

.license {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

@media (max-width: 600px) {
    .logo {
        font-size: 4rem;
    }

    h1 {
        font-size: 1.75rem;
    }

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

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

    .behaviors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .endpoint {
        flex-wrap: wrap;
    }

    .desc {
        width: 100%;
        margin-left: 0;
        margin-top: 0.25rem;
    }
}
