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

:root {
    --bg-dark: #0a0e0f;
    --bg-darker: #050708;
    --bg-card: #141b1e;
    --lemon: #f4e04d;
    --lemon-dark: #d4c03d;
    --green: #4af626;
    --green-dark: #3ad616;
    --text: #e0e0e0;
    --text-dim: #8a9ba8;
    --border: #1f2d35;
    --highlight: #2a3f4a;
}

body {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: var(--bg-darker);
    border-bottom: 2px solid var(--lemon);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(244, 224, 77, 0.1);
}

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

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

.logo .lemon {
    font-size: 2rem;
    animation: rotate 3s ease-in-out infinite;
}

@keyframes rotate {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--lemon);
    text-shadow: 0 0 10px rgba(244, 224, 77, 0.5);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--lemon);
    background: var(--highlight);
    border-color: var(--lemon);
}

.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.terminal-window {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.terminal-header {
    background: var(--bg-darker);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn-close {
    background: #ff5f56;
}

.btn-minimize {
    background: #ffbd2e;
}

.btn-maximize {
    background: #27c93f;
}

.terminal-title {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.terminal-body {
    padding: 1.5rem;
    background: var(--bg-card);
}

.terminal-output {
    color: var(--green);
    font-size: 0.95rem;
    line-height: 1.8;
    white-space: pre-wrap;
}

.prompt {
    color: var(--lemon);
    font-weight: bold;
}

.command-typed {
    color: var(--green);
}

.highlight {
    color: var(--lemon);
    font-weight: bold;
}

.dim {
    color: var(--text-dim);
}

.yellow {
    color: var(--lemon);
    font-weight: bold;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-content {
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    color: var(--lemon);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(244, 224, 77, 0.3);
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--lemon);
    color: var(--bg-dark);
    border-color: var(--lemon);
}

.btn-primary:hover {
    background: var(--lemon-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 224, 77, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--green);
    border-color: var(--green);
}

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

.section {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
}

.section-title {
    font-size: 2.5rem;
    color: var(--lemon);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-dim);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--lemon);
    box-shadow: 0 0 0 3px rgba(244, 224, 77, 0.1);
}

.search-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

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

.command-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.command-card:hover {
    border-color: var(--lemon);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(244, 224, 77, 0.1);
}

.command-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.command-name {
    font-size: 1.4rem;
    color: var(--green);
    font-weight: bold;
}

.command-category {
    background: var(--highlight);
    color: var(--lemon);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.command-description {
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.command-usage {
    background: var(--bg-darker);
    padding: 0.75rem;
    border-radius: 4px;
    border-left: 3px solid var(--lemon);
    margin-bottom: 0.75rem;
}

.command-usage code {
    color: var(--green);
    font-family: inherit;
}

.command-details {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
}

.card h3 {
    color: var(--lemon);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border);
}

.code-block {
    background: var(--bg-darker);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
}

.code-header {
    background: var(--highlight);
    padding: 0.5rem 1rem;
    color: var(--lemon);
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border);
}

.code-block pre {
    padding: 1rem;
    overflow-x: auto;
}

.code-block code {
    color: var(--green);
    font-family: inherit;
    font-size: 0.9rem;
}

.targets-grid {
    display: grid;
    gap: 1rem;
}

.target-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--bg-darker);
    border-radius: 4px;
    border-left: 3px solid var(--green);
}

.target-item code {
    color: var(--lemon);
    font-weight: bold;
    min-width: 120px;
}

.target-item span {
    color: var(--text-dim);
}

.boot-steps,
.contribute-steps {
    list-style: none;
    counter-reset: step-counter;
}

.boot-steps li,
.contribute-steps li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.boot-steps li::before,
.contribute-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--lemon);
    color: var(--bg-dark);
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
}

.contribute-steps li code {
    display: block;
    background: var(--bg-darker);
    padding: 0.5rem;
    margin-top: 0.5rem;
    border-radius: 4px;
    color: var(--green);
}

.hardware-list {
    list-style: none;
}

.hardware-list li {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: var(--bg-darker);
    border-radius: 4px;
    border-left: 3px solid var(--green);
}

.hw-label {
    color: var(--lemon);
    font-weight: bold;
    display: inline-block;
    min-width: 80px;
}

.ideas-list {
    list-style: none;
}

.ideas-list li {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: var(--bg-darker);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.ideas-list li:hover {
    background: var(--highlight);
    transform: translateX(5px);
}

.learning-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.learning-tag {
    background: var(--highlight);
    color: var(--lemon);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--border);
}

.mt-2 {
    margin-top: 2rem;
}

.footer {
    background: var(--bg-darker);
    border-top: 2px solid var(--lemon);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-brand .lemon {
    font-size: 2.5rem;
}

.footer-brand h3 {
    color: var(--lemon);
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.footer-brand p {
    color: var(--text-dim);
}

.footer-links h4,
.footer-info h4 {
    color: var(--lemon);
    margin-bottom: 1rem;
}

.dev-name {
    color: var(--text);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-link {
    color: var(--green);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--lemon);
    transform: translateX(5px);
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-info a {
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-info a:hover {
    color: var(--lemon);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
}

.footer-bottom p {
    margin: 0.5rem 0;
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

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

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

    .terminal-output {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.4rem;
    }

    .nav {
        font-size: 0.9rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .terminal-output {
        font-size: 0.75rem;
    }
}
