/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0d0d0d;
    --bg-card: #141417;
    --border: #2a2a2e;
    --text: #e5e5e5;
    --text-muted: #888;
    --accent: #e63946;
    --link: #4ecdc4;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'JetBrains Mono', monospace;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 920px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

/* Header */
.header {
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo-badge {
    background: #1a1a1f;
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text);
}

.social-link {
    color: var(--text-muted);
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s;
}

.social-link:hover {
    color: var(--text);
    background: var(--border);
}

/* Hero */
.hero {
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.hero-description {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.hero-origin {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.hero-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}



@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 280px;
    }
}

/* Buttons */
.btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: opacity 0.2s;
    font-family: var(--font);
}

.btn:hover {
    opacity: 0.85;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-secondary {
    background: #1f1f24;
    color: var(--text);
    border: 1px solid var(--border);
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 20px;
}

.card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--accent);
}

/* Grid */
.grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 640px) {
    .grid-two {
        grid-template-columns: 1fr;
    }
}

/* Install Section */
.install-method {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.install-link {
    font-size: 14px;
    color: var(--text-muted);
    margin: 16px 0;
}

.install-link a {
    color: var(--link);
    text-decoration: none;
}

.install-link a:hover {
    text-decoration: underline;
}

.install-alt {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* Code Block */
.code-block {
    background: #0a0a0c;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 14px 16px;
    overflow-x: auto;
}

.code-block code {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--text);
}

/* Why Section */
.why-description {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.why-description strong {
    color: var(--text);
}

/* Feature List */
.feature-list {
    list-style: disc;
    padding-left: 20px;
}

.feature-list li {
    color: var(--text-muted);
    font-size: 14px;
    padding: 3px 0;
}

/* Quick Links */
.quick-links {
    list-style: disc;
    padding-left: 20px;
}

.quick-links li {
    padding: 4px 0;
}

.quick-links a {
    color: var(--link);
    text-decoration: none;
    font-size: 14px;
}

.quick-links a:hover {
    text-decoration: underline;
}

/* Use Cases */
.use-cases {
    list-style: disc;
    padding-left: 20px;
}

.use-cases li {
    color: var(--text-muted);
    font-size: 14px;
    padding: 4px 0;
}

/* Footer */
.footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer p {
    color: var(--text-muted);
    font-size: 13px;
}

/* Selection */
::selection {
    background: var(--accent);
    color: #fff;
}

/* Terminal Demo */
.terminal-demo {
    margin-bottom: 40px;
}

.terminal {
    background: #0a0a0c;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #1a1a1f;
    border-bottom: 1px solid var(--border);
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27ca40;
}

.terminal-title {
    flex: 1;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.terminal-body {
    padding: 20px;
    min-height: 180px;
    font-family: var(--mono);
    font-size: 14px;
    line-height: 1.8;
}

.terminal-line {
    display: flex;
    gap: 10px;
    min-height: 24px;
}

.prompt {
    color: var(--link);
    font-weight: 600;
}

.command {
    color: var(--text);
}

.output {
    color: #22c55e;
    padding-left: 20px;
}

.cursor {
    color: var(--text);
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Showcase Section */
.showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.05), rgba(230, 57, 70, 0.05));
    border: 1px solid var(--border);
    border-radius: 16px;
}

.showcase-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.showcase-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--link);
}

.showcase-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.showcase-features {
    list-style: none;
}

.showcase-features li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text);
}

@media (max-width: 768px) {
    .showcase {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .showcase-image {
        order: -1;
        text-align: center;
    }

    .showcase-image img {
        max-width: 260px;
    }
}