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

:root {
    --bg: #0a0a0f;
    --text: #f0f0f5;
    --text-secondary: rgba(240, 240, 245, 0.5);
    --accent: #64ffda;
    --accent-secondary: #05d9e8;
    --glass-bg: rgba(15, 15, 25, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.content {
    text-align: center;
    max-width: 560px;
}

.badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(100, 255, 218, 0.08);
    border: 1px solid rgba(100, 255, 218, 0.2);
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.title {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(2.75rem, 8vw, 4.5rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    color: var(--text);
    text-shadow: 0 0 80px rgba(100, 255, 218, 0.3);
}

.tagline {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.install-section {
    margin-bottom: 3rem;
}

.install-box {
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.875rem 1rem 0.875rem 1.25rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.install-box:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.prompt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    color: var(--text-secondary);
    user-select: none;
}

.install-box code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text);
    letter-spacing: -0.01em;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.copy-btn:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--glass-border);
}

.copy-btn .icon-copy,
.copy-btn .icon-check {
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.copy-btn .icon-check {
    position: absolute;
    opacity: 0;
    transform: scale(0.8);
    color: var(--accent);
}

.copy-btn.copied .icon-copy {
    opacity: 0;
    transform: scale(0.8);
}

.copy-btn.copied .icon-check {
    opacity: 1;
    transform: scale(1);
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    justify-content: center;
    list-style: none;
}

.features li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 450;
    color: var(--text-secondary);
    padding: 0.5rem 0.875rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.features li:hover {
    color: var(--text);
    border-color: var(--glass-border-hover);
    transform: translateY(-1px);
}

.features li svg {
    opacity: 0.5;
    flex-shrink: 0;
}

.features li:hover svg {
    opacity: 0.8;
}

footer {
    position: fixed;
    bottom: 0;
    right: 0;
    display: flex;
    gap: 0.25rem;
    z-index: 10;
    padding: 1.5rem;
}

footer a {
    color: var(--text-secondary);
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem;
    border-radius: 8px;
}

footer a:hover {
    color: var(--text);
    transform: translateY(-2px);
}

/* Subtle entrance animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content {
    animation: fadeUp 0.6s ease-out;
}

.badge {
    animation: fadeUp 0.6s ease-out 0.05s both;
}

.title {
    animation: fadeUp 0.6s ease-out 0.1s both;
}

.tagline {
    animation: fadeUp 0.6s ease-out 0.15s both;
}

.install-section {
    animation: fadeUp 0.6s ease-out 0.2s both;
}

.features {
    animation: fadeUp 0.6s ease-out 0.25s both;
}

footer {
    animation: fadeUp 0.6s ease-out 0.3s both;
}

/* Mobile */
@media (max-width: 640px) {
    main {
        padding: 1.5rem;
    }

    .badge {
        font-size: 0.65rem;
        padding: 0.35rem 0.75rem;
    }

    .tagline {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .install-box {
        padding: 0.75rem 0.875rem 0.75rem 1rem;
        gap: 0.75rem;
    }

    .prompt,
    .install-box code {
        font-size: 0.85rem;
    }

    .copy-btn {
        padding: 0.4rem;
    }

    .features {
        gap: 0.5rem;
    }

    .features li {
        font-size: 0.75rem;
        padding: 0.4rem 0.7rem;
        gap: 0.4rem;
    }

    .features li svg {
        width: 14px;
        height: 14px;
    }

    footer {
        padding: 1rem;
    }
}

/* Very small screens */
@media (max-width: 380px) {
    .title {
        font-size: 2.25rem;
    }

    .install-box {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }

    .install-box .prompt {
        display: none;
    }
}
